]> sourceware.org Git - glibc.git/blame - ChangeLog
benchmark inputs for sinh and cosh
[glibc.git] / ChangeLog
CommitLineData
b19221b9
SP
12013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2
ce641152
SP
3 * benchtests/cosh-inputs: New inputs.
4 * benchtests/sinh-inputs: Likewise.
5
b19221b9
SP
6 * benchtests/acos-inputs: Add more inputs.
7 * benchtests/asin-inputs: Likewise.
8
030a4976 92013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10
030a4976 11 [BZ #16375]
9dcc8f11
VS
12 * manual/arith.texi: Fix spelling.
13 * manual/charset.texi: Likewise.
14 * manual/errno.texi: Likewise.
15 * manual/filesys.texi: Likewise.
16 * manual/lang.texi: Likewise.
17 * manual/llio.texi: Likewise.
18 * manual/locale.texi: Likewise.
19 * manual/message.texi: Likewise.
20 * manual/resource.texi: Likewise.
21 * manual/search.texi: Likewise.
22 * manual/setjmp.texi: Likewise.
23 * manual/stdio.texi: Likewise.
24 * manual/string.texi: Likewise.
25 * manual/sysinfo.texi: Likewise.
26 * manual/time.texi: Likewise.
27
11520a57
CD
282013-12-27 Carlos O'Donell <carlos@redhat.com>
29
30 * po/sl.po: New file.
31
471103ae
MF
322013-12-27 Mike Frysinger <vapier@gentoo.org>
33
34 * .gitignore: Add core/.gdbinit/.gdb_history.
35
6c9642ed
AM
362013-12-27 Allan McRae <allan@archlinux.org>
37
38 [BZ #16369]
39 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41
3f637079
BM
422013-12-24 Brooks Moses <bmoses@google.com>
43
44 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45 all compilers that claim C++98 compliance, not just GCC.
46 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47 Likewise.
48
abc26e99
MK
492013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
50
51 * NEWS: Restore accidentally deleted bug-fix entries.
52
362b47fe
MK
532013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
54 Ondřej Bílka <neleai@seznam.cz>
55
56 [BZ #15073]
57 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 58 have_lock.
362b47fe 59
b9bcbbcb
OB
602013-12-23 Ondřej Bílka <neleai@seznam.cz>
61
62 [BZ #12986]
63 * manual/stdio.texi (String Input Conversions): Clarify that character
64 classes are not supported.
65
fb55fcd2
AZ
662013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67
68 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69
ef7344f0
JM
702013-12-22 Joseph Myers <joseph@codesourcery.com>
71
4f40e4b3
JM
72 [BZ #16337]
73 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
74 Calculate results for small negative arguments directly rather
75 than using reflection formula with special underflow handling.
76
ef7344f0
JM
77 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
78 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
79 sysdeps/unix/bsd/bsd4.4/syscalls.list.
80 (fchflags): Likewise.
81 (revoke): Likewise.
82 (setlogin): Likewise.
83 (sigaltstack): Likewise.
84 (wait4): Likewise.
85 (sigblock): Remove.
86 (sigsetmask): Likewise.
87 (wait3): Likewise.
88 (waitpid): Likewise.
89 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
90 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
91 file.
92 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
93 * sysdeps/unix/bsd/Makefile: ... here.
94 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
95 * sysdeps/unix/bsd/Versions: ... here.
96 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
97 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
98 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
99 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
100 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
101 * sysdeps/unix/bsd/sigblock.c: ... here.
102 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
103 * sysdeps/unix/bsd/sigsetmask.c: ... here.
104 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
105 * sysdeps/unix/bsd/sigvec.c: ... here.
106 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
107 * sysdeps/unix/bsd/tcdrain.c: ... here.
108 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
109 * sysdeps/unix/bsd/tcgetattr.c: ... here.
110 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
111 * sysdeps/unix/bsd/tcsetattr.c: ... here.
112 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
113 * sysdeps/unix/bsd/wait.c: ... here.
114 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
115 * sysdeps/unix/bsd/wait3.c: ... here.
116 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
117 * sysdeps/unix/bsd/waitpid.c: ... here.
118
5b0626b9
JM
1192013-12-21 Joseph Myers <joseph@codesourcery.com>
120
121 [BZ #16356]
122 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
123 round-to-nearest for [!USE_AS_EXPM1L].
124 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
125 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
126 more tests of exp and exp10. Expect some exp10 tests to miss
127 exceptions or fail in directed rounding modes.
128 * math/auto-libm-test-out: Regenerated.
129 * math/libm-test.inc (exp10_tonearest_test_data): New array.
130 (exp10_test_tonearest): New function.
131 (exp10_towardzero_test_data): New array.
132 (exp10_test_towardzero): New function.
133 (exp10_downward_test_data): New array.
134 (exp10_test_downward): New function.
135 (exp10_upward_test_data): New array.
136 (exp10_test_upward): New function.
137 (main): Call the new functions.
138 * sysdeps/i386/fpu/libm-test-ulps: Update.
139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
140
7fda5682
JM
1412013-12-20 Joseph Myers <joseph@codesourcery.com>
142
31e3a405
JM
143 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
144 asinh, atan, atan2, atanh, cbrt, cos and cosh.
145 * math/auto-libm-test-out: Regenerated.
146 * math/libm-test.inc (acosh_test_data): Add more tests.
147 (atanh_test_data): Likewise.
148 (ceil_test_data): Likewise.
149 (copysign_test_data): Likewise.
150 * sysdeps/i386/fpu/libm-test-ulps: Update.
151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
152
85bff96a
JM
153 * timezone/checktab.awk: Update from tzcode 2013i.
154 * timezone/private.h: Likewise.
155 * timezone/scheck.c: Likewise.
156 * timezone/tzfile.h: Likewise.
157 * timezone/tzselect.ksh: Likewise.
158 * timezone/zdump.c: Likewise.
159 * timezone/zic.c: Likewise.
160
b7867a3b
JM
161 * math/auto-libm-test-in: Add tests of cpow.
162 * math/auto-libm-test-out: Regenerated.
163 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
164 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
165 mpc_cc_c.
166 (func_calc_desc): Add mpc_cc_c union field.
167 (test_functions): Add cpow.
168 (special_fill_2pi): New function.
169 (special_real_inputs): Add 2pi.
170 (calc_generic_results): Handle mpc_cc_c.
171 * sysdeps/i386/fpu/libm-test-ulps: Update.
172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
173
7fda5682
JM
174 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
175 csqrt, ctan and ctanh.
176 * math/auto-libm-test-out: Regenerated.
177 * math/libm-test.inc (TEST_COND_x86_64): New macro.
178 (TEST_COND_x86): Likewise.
179 (ccos_test_data): Use AUTO_TESTS_c_c.
180 (ccosh_test_data): Likewise.
181 (cexp_test_data): Likewise.
182 (clog_test_data): Likewise.
183 (csqrt_test_data): Likewise.
184 (ctan_test_data): Likewise.
185 (ctan_tonearest_test_data): Likewise.
186 (ctan_towardzero_test_data): Likewise.
187 (ctan_downward_test_data): Likewise.
188 (ctan_upward_test_data): Likewise.
189 (ctanh_test_data): Likewise.
190 (ctanh_tonearest_test_data): Likewise.
191 (ctanh_towardzero_test_data): Likewise.
192 (ctanh_downward_test_data): Likewise.
193 (ctanh_upward_test_data): Likewise.
194 * math/gen-auto-libm-tests.c (func_calc_method): Add value
195 mpc_c_c.
196 (func_calc_desc): Add mpc_c_c union field.
197 (FUNC_mpc_c_c): New macro.
198 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
199 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
200 ctanh.
201 (special_fill_min_subnorm_p120): New function.
202 (special_real_inputs): Add min_subnorm_p120.
203 (calc_generic_results): Handle mpc_c_c.
204 * sysdeps/i386/fpu/libm-test-ulps: Update.
205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
206
5ff8d60e
SP
2072013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
208
392dd2de
SP
209 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
210 do_sin_slow): New functions.
211 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
212 cslow2, csloww1, csloww2): Use the new functions.
213
84ba214c
SP
214 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
215 Use M to change sign of result instead of X. Assume X is
216 positive.
217 (csloww1): Likewise.
218 (__sin): Adjust.
219 (__cos): Adjust.
220
975195e4
SP
221 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
222 arguments A and DA.
223 (__sin): Adjust.
224 (__cos): Likewise.
225
5ff8d60e
SP
226 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
227 (__cos): Likewise.
228 (sloww1): Don't adjust sign of DX.
229 (csloww1): Likewise.
230 (sloww2): Use X directly and don't adjust sign of DX.
231 (csloww2): Likewise.
232
eb983568
JM
2332013-12-19 Joseph Myers <joseph@codesourcery.com>
234
64a17f1a
JM
235 * math/auto-libm-test-in: Add tests of cabs and carg.
236 * math/auto-libm-test-out: Regenerated.
237 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
238 (carg_test_data): Likewise.
239 * math/gen-auto-libm-tests.c (func_calc_method): Add value
240 mpc_c_f.
241 (func_calc_desc): Add mpc_c_f union field.
242 (test_functions): Add cabs and carg.
243 (calc_generic_results): Handle mpc_c_f.
244
eb983568
JM
245 * sysdeps/powerpc/powerpc32/libgcc-compat.S
246 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
247 as a macro and a compat symbol.
248 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
249 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
250 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
251 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
252 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
253 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
254 not use .hidden.
255 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
256 Likewise.
257 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
258 Likewise.
259 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
260 Likewise.
261 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
262 Likewise.
263 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
264 Likewise.
265 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
266 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
267 from GLIBC_2.3.2.
268
6eeb678a
AZ
2692013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
270
271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
272
063b2acb
PP
2732013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
274
275 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
276 (__signal_safe_memalign, __signal_safe_free): Use it.
277 (__signal_safe_realloc): Likewise.
278
6f6fc482
JM
2792013-12-19 Joseph Myers <joseph@codesourcery.com>
280
21fea2e2
JM
281 * manual/texinfo.tex: Update to version 2013-11-26.10 with
282 trailing whitespace removed.
283 * scripts/config.guess: Update to version 2013-11-29.
284 * scripts/config.sub: Update to version 2013-10-01.
285
6f6fc482
JM
286 * math/auto-libm-test-in: Add tests of sincos.
287 * math/auto-libm-test-out: Regenerated.
288 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
289 * math/gen-auto-libm-tests.c (func_calc_method): Add value
290 mpfr_f_11.
291 (func_calc_desc): Add mpfr_f_11 union field.
292 (test_functions): Add sincos.
293 (calc_generic_results): Handle mpfr_f_11.
294 * sysdeps/i386/fpu/libm-test-ulps: Update.
295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
296
83f5c32d
AS
2972013-12-19 Andreas Schwab <schwab@suse.de>
298
299 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
300 CALL_MCOUNT.
301 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
302 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
303 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
304
c688b419
JM
3052013-12-19 Joseph Myers <joseph@codesourcery.com>
306
335ee092
JM
307 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
308 * sysdeps/i386/fpu/libm-test-ulps: Update.
309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
310
f88acd39
JM
311 [BZ #16293]
312 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
313 round-to-nearest mode when using frndint.
314 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
315 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
316 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
317 Likewise.
318 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
319 sinh test to fail.
320 * math/auto-libm-test-out: Regenerated.
321 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
322 (TEST_COND_x86): Likewise.
323 (expm1_tonearest_test_data): New array.
324 (expm1_test_tonearest): New function.
325 (expm1_towardzero_test_data): New array.
326 (expm1_test_towardzero): New function.
327 (expm1_downward_test_data): New array.
328 (expm1_test_downward): New function.
329 (expm1_upward_test_data): New array.
330 (expm1_test_upward): New function.
331 (main): Run the new test functions.
332 * sysdeps/i386/fpu/libm-test-ulps: Update.
333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
334
c688b419
JM
335 * include/features.h: Update comment documenting feature test
336 macros. Mention _DEFAULT_SOURCE in comment.
337 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
338 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
339 _BSD_SOURCE and _SVID_SOURCE.
340 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
341 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
342 !_SVID_SOURCE]: Likewise.
343 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
344 (__USE_POSIX_IMPLICITLY): Define.
345 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
346 (_POSIX_SOURCE): Undefine and redefine.
347 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
348 (_POSIX_C_SOURCE): Likewise.
349 * manual/creature.texi (_DEFAULT_SOURCE): Document.
350 (Feature Test Macros): Update documentation of default features.
351
9f6e964c
RS
3522013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
353
354 * benchtests/Makefile: Add bench-strtok.
355 * benchtests/bench-strtok.c: New file: strtok benchtest.
356
ee0a148a
AM
3572013-12-19 Allan McRae <allan@archlinux.org>
358
359 * manual/install.texi: Suppress menu for plain text output.
360 * INSTALL: Regenerated.
361
1f33d36a
PP
3622013-12-18 Andrew Hunter <ahh@google.com>
363
364 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
365 (__signal_safe_malloc, __signal_safe_free): Likewise.
366 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
367 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
368 (__signal_safe_memalign, __signal_safe_malloc): New function.
369 (__signal_safe_free, __signal_safe_realloc): Likewise.
370 (__signal_safe_calloc): Likewise.
371 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
372 functions.
373 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
374
35e8f7ab
PP
3752013-12-18 Andrew Hunter <ahh@google.com>
376
377 * elf/Versions (ld): Add _dl_clear_dtv.
378 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
379 * elf/dl-tls.c (_dl_clear_dtv): New function.
380 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
381
69a17d9d
PP
3822013-12-18 Andrew Hunter <ahh@google.com>
383
384 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
385 (_dl_unmask_signals): Likewise.
386 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
387 (_dl_unmask_all_signals): Likewise.
388 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
389 (_dl_unmask_all_signals): Likewise.
390 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
391 (_dl_unmask_signals): Likewise.
392
b9ab448f
BM
3932013-12-18 Brooks Moses <bmoses@google.com>
394
395 [BZ #15846]
396 * misc/getauxval.c: Include errno.h.
397 (__getauxval): Set errno to ENOENT if the requested type is not
398 found.
399 * misc/sys/auxv.h (getauxval): Document that it may set errno;
400 don't declare with __attribute_const__.
401 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
402 * manual/startup.texi: Document that getauxval sets errno.
403
23776487
JM
4042013-12-18 Joseph Myers <joseph@codesourcery.com>
405
f889953b
JM
406 * math/auto-libm-test-in: Add tests of jn and yn.
407 * math/auto-libm-test-out: Regenerated.
408 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
409 (yn_test_data): Likewise.
410 * math/gen-auto-libm-tests.c (func_calc_method): Add value
411 mpfr_if_f.
412 (func_calc_desc): Add mpfr_if_f union field.
413 (FUNC_mpfr_if_f): New macro.
414 (test_functions): Add jn and yn.
415 (calc_generic_results): Assert type of second input for
416 mpfr_ff_f. Handle mpfr_if_f.
417 (output_for_one_input_case): Disable all checking for arguments
418 fitting floating-point types in case of an integer argument.
419 * sysdeps/i386/fpu/libm-test-ulps: Update.
420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
421
23776487
JM
422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
423 Don't expect fegetround reference in libm.so.
424
cb756c6d
MS
4252013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
426
427 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
428 $(config-cflags-nofma).
429
2dec468f
JM
4302013-12-18 Joseph Myers <joseph@codesourcery.com>
431
5953eb3a
JM
432 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
433 * math/auto-libm-test-out: Regenerated.
434
2dec468f
JM
435 [BZ #16338]
436 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
437 to determine exponent and adjust argument to have exponent of -1.
438 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
439 log2.
440 * math/auto-libm-test-out: Regenerated.
441 * sysdeps/i386/fpu/libm-test-ulps: Update.
442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
443
4d84e6ad
OB
4442013-12-18 Ondřej Bílka <neleai@seznam.cz>
445
446 * manual/probes.texi: Remove cases when per-thread arenas are
447 disabled.
448
1818483b
AS
4492013-12-18 Andreas Schwab <schwab@suse.de>
450
451 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
452 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
453 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
454 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
455 * sysdeps/i386/i686/multiarch/Makefile: Update.
456 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
457
25de95bf
JM
4582013-12-17 Joseph Myers <joseph@codesourcery.com>
459
460 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
461 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
462
674762d9
PE
4632013-12-17 Paul Eggert <eggert@cs.ucla.edu>
464
0748546f
PE
465 Support TZ transition times < 00:00:00.
466 This is needed for version-3 tz-format files; it supports time
467 stamps past 2037 for America/Godthab (the only entry in the tz
468 database for which this change is relevant).
469 * manual/time.texi (TZ Variable): Document transition times
470 from -167:59:59 through -00:00:01.
471 * time/tzset.c (tz_rule): Time of day is now signed.
472 (__tzset_parse_tz): Parse negative time of day.
473
4480e934
PE
474 Document TZ transition times >= 25:00:00.
475 * manual/time.texi (TZ Variable): Document transition times from
476 25:00:00 through 167:59:59. These are already supported, and this
477 support will help with version-3 tz-format files.
478
69947401
PE
479 * manual/time.texi (TZ Variable): Modernize North America example
480 to reflect current (i.e., 2007-and-later) daylight saving rules.
481
674762d9
PE
482 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
483
7011c262
JM
4842013-12-17 Joseph Myers <joseph@codesourcery.com>
485
2fc6557e
JM
486 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
487 * sysdeps/unix/bsd/bits/stat.h: Likewise.
488 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
489 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
490 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
491 * sysdeps/unix/bsd/bsdstat.h: Likewise.
492 * sysdeps/unix/bsd/clock.c: Likewise.
493 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
494 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
495 * sysdeps/unix/bsd/init-posix.c: Likewise.
496 * sysdeps/unix/bsd/poll.c: Likewise.
497 * sysdeps/unix/bsd/ptsname.c: Likewise.
498 * sysdeps/unix/bsd/seekdir.c: Likewise.
499 * sysdeps/unix/bsd/setegid.c: Likewise.
500 * sysdeps/unix/bsd/seteuid.c: Likewise.
501 * sysdeps/unix/bsd/setgid.c: Likewise.
502 * sysdeps/unix/bsd/setrgid.c: Likewise.
503 * sysdeps/unix/bsd/setruid.c: Likewise.
504 * sysdeps/unix/bsd/setsid.c: Likewise.
505 * sysdeps/unix/bsd/setuid.c: Likewise.
506 * sysdeps/unix/bsd/sigaction.c: Likewise.
507 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
508 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
509 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
510 * sysdeps/unix/bsd/telldir.c: Likewise.
511 * sysdeps/unix/bsd/times.c: Likewise.
512 * sysdeps/unix/bsd/usleep.c: Likewise.
513
029c7b25
JM
514 * misc/Makefile (install-lib): Remove libbsd-compat.a.
515 ($(objpfx)libbsd-compat.a): Remove rule.
516
7011c262
JM
517 * include/features.h (__FAVOR_BSD): Do not define.
518 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
519 features conflicting with POSIX.
520 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
521 (_BSD_SOURCE): Remove description of not being a subset of other
522 feature test macros.
523 * manual/job.texi (getpgrp): Do not document BSD version.
524 (getpgid): Do not document by reference to BSD getpgrp.
525 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
526 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
527 * signal/signal.h [__FAVOR_BSD]: Likewise.
528 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
529 instead of making contents conditional on [__FAVOR_BSD].
530 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
531
affb6f78
AZ
5322013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
533
534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
535
c88769dd
JM
5362013-12-17 Joseph Myers <joseph@codesourcery.com>
537
6432a540
JM
538 [BZ #16314]
539 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
540 values below 2**-450, not 2**-500.
541 * math/auto-libm-test-in: Don't allow spurious underflow from
542 hypot.
543 * math/auto-libm-test-out: Regenerated.
544
c88769dd
JM
545 [BZ #16316]
546 [BZ #16330]
547 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
548 values of ha and hb and sort them after adjusting subnormal
549 arguments.
550 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
551 Likewise.
552 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
553 values of ea and eb and sort them after adjusting subnormal
554 arguments.
555 * math/auto-libm-test-in: Do not expect some hypot tests of
556 subnormals to fail. Add more hypot tests.
557 * math/auto-libm-test-out: Regenerated.
558
29618f6b
KK
5592013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
560
561 [BZ #13304]
562 * sysdeps/sh/s_fma.c: New file.
563 * sysdeps/sh/s_fmaf.c: New file.
564 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
565 version.
566 * sysdeps/sh/Implies: Add sh/soft-fp.
567
eacfdfbf
RM
5682013-12-16 Roland McGrath <roland@hack.frob.com>
569
570 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
571 level of indirection to members `objname', `errstring', `malloced'.
572 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
573 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
574 it as the __longjmp argument (just pass 1 instead).
575 (_dl_catch_error): Initialize C with argument pointers and address of
576 volatile local ERRCODE rather than copying values out of C at return.
577
ff362e5b
JM
5782013-12-16 Joseph Myers <joseph@codesourcery.com>
579
580 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
581 * math/auto-libm-test-out: Regenerated.
582 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
583 (hypot_test_data): Likewise.
584 (pow_test_data): Likewise.
585 (pow_tonearest_test_data): Likewise.
586 * math/gen-auto-libm-tests.c (func_calc_method): Add value
587 mpfr_ff_f.
588 (func_calc_desc): Add mpfr_ff_f union field.
589 (FUNC_mpfr_ff_f): New macro.
590 (test_functions): Add atan2, hypot and pow.
591 (special_fill_min): New function.
592 (special_fill_minus_min): Likewise.
593 (special_fill_min_subnorm): Likewise.
594 (special_fill_minus_min_subnorm): Likewise.
595 (special_real_inputs): Add min, -min, min_subnorm and
596 -min_subnorm.
597 (calc_generic_results): Handle mpfr_ff_f.
598 * sysdeps/i386/fpu/libm-test-ulps: Update.
599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
600
5764c27f
WN
6012013-12-16 Will Newton <will.newton@linaro.org>
602
603 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
604 (Aligned Memory Blocks): Add documentation for aligned_alloc
605 and suggest it as an alternative to posix_memalign.
606 (Hooks for Malloc): Document __memalign_hook is also called
607 for aligned_alloc. (Summary of Malloc): Add summary for
608 aligned alloc. Document __memalign_hook is also called
609 for aligned_alloc.
610
0a096e44
WN
6112013-12-16 Will Newton <will.newton@linaro.org>
612
613 * manual/memory.texi (Malloc Examples): Clarify default
614 alignment documentation. Suggest posix_memalign rather
615 than memalign or valloc.
616 (Aligned Memory Blocks): Remove suggestion to use memalign
617 or valloc. Remove obsolete comment about BSD.
618 Document memalign errno values and mark the function obsolete.
619 Document posix_memalign returned error codes. Mark valloc
620 as obsolete. (Hooks for Malloc): __memalign_hook is also
621 called for posix_memalign and valloc.
622 (Summary of Malloc): Add posix_memalign to function summary.
623 __memalign_hook is also called for posix_memalign and valloc.
624
8d561986
SP
6252013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
626
627 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
628 TAYLOR_SIN.
629 (__sin): Adjust.
630 (__cos): Likewise.
631 (sloww): Use mynumber union. Expand ternary operator into
632 if-else statements.
633 (cslow): use mynumber union.
634
73616a74
AM
6352013-12-16 Allan McRae <allan@archlinux.org>
636
9e8ac24b
AM
637 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
638 * configure: Regenerated.
639
6f8e37eb
AM
640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
641
8894bad3
AM
642 [BZ #14120]
643 * configure.ac: Added --enable-maintainer-mode. Check for
644 autoconf when enabled.
645 * configure: Regenerated.
646
73616a74
AM
647 * nscd/nscd.service: New file.
648 * nscd/nscd.tmpfiles: New file.
649
584b18eb
OB
6502013-12-14 Ondřej Bílka <neleai@seznam.cz>
651
652 [BZ #12100]
653 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
654 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
655 * sysdeps/x86_64/multiarch/strstr.c: ... here.
656 (strstr): Add __strstr_sse2_unaligned ifunc.
657 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
658 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
659 (strcasestr): Remove __strcasestr_sse42 ifunc.
660 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
663
8a5c7897
KK
6642013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
665
666 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
667 * sysdeps/sh/bits/fenv.h: ... here.
668 * sysdeps/sh/sh4/fpu/bits: Remove directory.
669
fd712ef3
AZ
6702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671
672 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
673
42fcb46c
AZ
6742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675
676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
677 hypotf multiarch implementations.
678 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
679 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
680 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
681 multiarch hypot for PPC64.
682 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
683 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
684 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
685 multiarch hypotf for PPC64.
686
83efded4
AZ
6872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688
689 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
690 modff multiarch implementations.
691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
694 multiarch modf for PPC64.
695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
698 multiarch modff for PPC64.
699
43e246d2
AZ
7002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
701
702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
703 and logl multiarch implementations.
704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
707 multiarch logb for PPC64.
708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
711 multiarch logb for PPC64.
712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
715 multiarch logb for PPC64.
716
8fdad123
AZ
7172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718
719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
720 isinff multiarch implementation.
721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
722 file.
723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
725 multiarch isinf for PPC64.
726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
727 file.
728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
729 multiarch isinff for PPC64.
730
1481d706
AZ
7312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
732
733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
734 finitef multiarch implementation.
735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
736 file.
737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
739 multiarch finite for PPC64.
740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
741 file.
742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
743 multiarch finitef for PPC64.
744
5ccd5fc8
AZ
7452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
746
747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
748 lrint multiarch implementation.
749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
750 file.
751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
753 multiarch llrint for PPC64.
754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
755 multiarch lrint for PPC64.
756
2568f3fa
AZ
7572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
758
759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
760 copysignf multiarch implementation.
761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
762 file.
763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
764 file.
765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
766 multiarch copysign for PPC64.
767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
768 multiarch copysignf for PPC64.
769
1cb341fd
AZ
7702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
771
772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
773 multiarch implementation.
774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
775 file.
776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
777 file.
778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
779 file.
780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
781 file.
782 multiarch llround for PPC64.
783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
784 multiarch trunc for PPC64.
785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
786 multiarch truncf for PPC64.
787
59a3e194
AZ
7882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
789
790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
791 multiarch implementation.
792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
793 file.
794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
795 file.
796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
797 file.
798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
799 file.
800 multiarch llround for PPC64.
801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
802 multiarch round for PPC64.
803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
804 multiarch roundf for PPC64.
805
357fd3b4
AZ
8062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
807
808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
809 multiarch implementation.
810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
811 file.
812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
813 file.
814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
815 file.
816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
817 file.
818 multiarch llround for PPC64.
819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
820 multiarch floor for PPC64.
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
822 multiarch floorf for PPC64.
823
96770f12
AZ
8242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
825
826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
827 multiarch implementation.
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
829 file.
830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
831 file.
832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
833 file.
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
835 file.
836 multiarch llround for PPC64.
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
838 multiarch ceil for PPC64.
839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
840 multiarch ceilf for PPC64.
841
c3627f6e
AZ
8422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
843
844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
845 multiarch implementation.
846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
847 file.
848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
849 file.
850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
851 file.
852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
853 multiarch llround for PPC64.
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
855 multiarch lround for PPC64.
856
b2284ad7
AZ
8572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
858
859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
860 multiarch implementation.
861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
864 file.
865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
868 multiarch isnan for PPC64.
869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
870 multiarch isnanf for PPC64.
871
69bbc63d
AZ
8722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
873
874 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
875 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
876 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
877 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
878 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
880
c24517c9
AZ
8812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
882
883 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
884 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
887
a52374e8
AZ
8882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
889
890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
891 multiarch implementations.
892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
893 (__libc_ifunc_impl_list): Likewise.
894 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
895 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
896 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
897 multiarch stpcpy for PPC64.
898
7f5ec113
AZ
8992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
900
901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
902 multiarch implementations.
903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
904 (__libc_ifunc_impl_list): Likewise.
905 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
906 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
907 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
908 multiarch strcpy for PPC64.
909
e28bcd42
AZ
9102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
911
912 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
913 redefine function name.
914 (_wordcopy_fwd_dest_aligned): Likewise.
915 (_wordcopy_bwd_aligned): Likewise.
916 (_wordcopy_bwd_dest_aligned): Likewise.
917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
918 multiarch implementations.
919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
920 (__libc_ifunc_impl_list): Likewise.
921 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
922 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
923 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
924 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
925 multiarch wcscpy for PPC64.
926
92cacfce
AZ
9272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
928
929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
930 multiarch implementations.
931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
932 (__libc_ifunc_impl_list): Likewise.
933 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
934 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
935 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
936 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
937 multiarch wcscpy for PPC64.
938
7b714620
AZ
9392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
940
941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
942 multiarch implementations.
943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
944 (__libc_ifunc_impl_list): Likewise.
945 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
946 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
947 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
948 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
949 multiarch wcsrchr for PPC64.
950
16fd2ae3
AZ
9512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
952
953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
954 multiarch implementations.
955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
956 (__libc_ifunc_impl_list): Likewise.
957 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
958 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
959 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
960 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
961 multiarch wcschr for PPC64.
962
9ee2969b
AZ
9632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964
965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
966 multiarch implementations.
967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
968 (__libc_ifunc_impl_list): Likewise.
969 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
970 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
971 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
972 multiarch strchrnul for PPC64.
973
372dc060
AZ
9742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
975
976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
977 implementations.
978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
979 (__libc_ifunc_impl_list): Likewise.
980 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
981 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
982 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
983 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
984 strchr for PPC64.
985
24c2c3b9
AZ
9862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
987
988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
989 implementations.
990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
991 (__libc_ifunc_impl_list): Likewise.
992 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
993 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
994 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
995 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
996 strncmp for PPC64.
997
1c92d9a0
AZ
9982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
999
1000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1001 multiarch implementations.
1002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1003 (__libc_ifunc_impl_list): Likewise.
1004 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1005 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1006 strncasecmp for PPC64.
1007 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1008 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1009 multiarch strncasecmp_l for PPC64.
1010
17de3ee3
AZ
10112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1012
1013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1014 multiarch implementations.
1015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1016 (__libc_ifunc_impl_list): Likewise.
1017 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1018 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1019 multiarch strcasecmp for PPC64.
1020 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1021 file.
1022 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1023 multiarch strcasecmp_l for PPC64.
1024
62982bf9
AZ
10252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1026
1027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1028 implementations.
1029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1030 (__libc_ifunc_impl_list): Likewise.
1031 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1032 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1033 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1034 strnlen for PPC64.
1035
a65f4904
AZ
10362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037
1038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1039 implementations.
1040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1041 (__libc_ifunc_impl_list): Likewise.
1042 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1043 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1044 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1045 strlen for PPC64.
1046
1fd005ad
AZ
10472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048
1049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1050 implementations.
1051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1052 (__libc_ifunc_impl_list): Likewise.
1053 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1054 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1055 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1056 rawmemrchr for PPC64.
1057
cd05ba91
AZ
10582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1059
1060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1061 implementation.
1062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1063 (__libc_ifunc_impl_list): Likewise.
1064 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1065 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1066 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1067 memrchr for PPC64.
1068
870f8676
AZ
10692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1070
1071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1072 implementation.
1073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1074 (__libc_ifunc_impl_list): Likewise.
1075 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1076 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1077 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1078 memchr for PPC64.
1079
f00be62b
AZ
10802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1081
1082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1083 implementation.
1084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1085 (__libc_ifunc_impl_list): Likewise.
1086 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1087 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1088 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1089 mempcpy for PPC64.
1090
8a29a3d0
AZ
10912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1092
1093 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1094 avoid cretion of __bzero symbol.
1095 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1096 Likewise.
1097 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1098 Likewise.
1099 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1100 Likewise.
1101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1102 multiarch implementations.
1103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1104 (__libc_ifunc_impl_list): Likewise.
1105 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1106 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1107 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1108 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1109 bzero for PPC32.
1110 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1111 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1112 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1113 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1114 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1115 memset for PPC64.
1116 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1117
07253fcf
AZ
11182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1119
1120 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1122 implementations.
1123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1124 (__libc_ifunc_impl_list): Likewise.
1125 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1126 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1127 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1128 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1129 memcmp for PPC64.
1130
b5beafbc
AZ
11312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1132
1133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1134 multiarch for POWER/PPC64.
1135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1136 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1137 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1138 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1139 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1140 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1141 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1142 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1143 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1144 memcpy for PPC64.
1145
5e6a4d4b
AZ
11462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1147
1148 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1149 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1150 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1151 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1152 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1153 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1154 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1155 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1156 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1157 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1158 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1159 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1160 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1161 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1162 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1170
ddfab6dc
KK
11712013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1172
1173 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1174
19b5525e
SP
11752013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1176
1177 * benchtests/Makefile (bench): Add exp2 and log2.
1178 (LDLIBS-bench-exp2): Add -lm.
1179 (LDLIBS-bench-log2): Likewise.
1180 * benchtests/exp2-inputs: New inputs file.
1181 * benchtests/log2-inputs: New inputs file.
1182 * benchtests/log-inputs: Add new inputs.
1183 * benchtests/tan-inputs: Likewise.
1184
196f7f5d
SP
11852013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1186
7a74607f
SP
1187 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1188 definition...
1189 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1190 csloww1, csloww2): ... from here.
1191
196f7f5d
SP
1192 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1193 instead of structures.
1194 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1195 (POLYNOMIAL): Likewise.
1196 (TAYLOR_SLOW): Likewise.
1197 (__sin): Likewise.
1198 (__cos): Likewise.
1199 (slow1): Likewise.
1200 (slow2): Likewise.
1201 (sloww): Likewise.
1202 (sloww1); Likewise.
1203 (sloww2): Likewise.
1204 (bsloww1): Likewise.
1205 (bsloww2): Likewise.
1206 (cslow2): Likewise.
1207 (csloww): Likewise.
1208 (csloww1): Likewise.
1209 (csloww2): Likewise.
1210
0dfa665c
OB
12112013-12-10 Ondřej Bílka <neleai@seznam.cz>
1212
1213 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1214 (__malloc_assert, __libc_realloc, __libc_calloc,
1215 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1216 memcpy and memset.
1217 * malloc/hooks.c (realloc_check): Likewise.
1218
5782a80f
OB
12192013-12-10 Ondřej Bílka <neleai@seznam.cz>
1220
1221 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1222 * malloc/arena.c: Remove PER_THREAD conditional.
1223 [!PER_THREAD]: Remove code.
1224 (ptmalloc_unlock_all2): Likewise.
1225 (ptmalloc_init): Likewise.
1226 (_int_new_arena): Likewise.
1227 (arena_get2): Likewise.
1228 * malloc/hooks.c (__malloc_get_state): Likewise.
1229 (__malloc_set_state): Likewise.
1230 * malloc/malloc.c: Likewise.
1231 (struct malloc_state): Likewise.
1232 (struct malloc_par): Likewise.
1233 (__libc_realloc): Likewise.
1234 (__libc_mallopt): Likewise.
1235
aeb95445
AZ
12362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1237
1238 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1239
e8349efd
OB
12402013-12-09 Ondřej Bílka <neleai@seznam.cz>
1241
1242 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1243 macro to a function. Check for zero perturb_byte.
1244 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1245
f3eeb3fc
OB
12462013-12-09 Ondřej Bílka <neleai@seznam.cz>
1247
1248 * malloc/malloc.c: (force_reg): Remove.
1249 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1250 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1251 force_reg by atomic_forced_read.
1252 * malloc/arena.c (ptmalloc_init): Likewise.
1253 * malloc/hooks.c (top_check): Likewise.
1254
be2f9009
AZ
12552013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1256
1257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1258
e7b914bd
MT
12592013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1260
1261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1262
9f0be4f8
JM
12632013-12-08 Joseph Myers <joseph@codesourcery.com>
1264
1265 * math/auto-libm-test-in: Add tests of lgamma.
1266 * math/auto-libm-test-out: Regenerated.
1267 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1268 (M_LOG_2_SQRT_PIl): Likewise.
1269 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1270 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1271 mpfr_f_f1.
1272 (func_calc_desc): Add mpfr_f_f1 union field.
1273 (ARGS1): New macro.
1274 (ARGS2): Likewise.
1275 (ARGS3): Likewise.
1276 (ARGS4): Likewise.
1277 (RET1): Likewise.
1278 (RET2): Likewise.
1279 (CALC): Likewise.
1280 (FUNC): Likewise.
1281 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1282 (test_functions): Add lgamma.
1283 (calc_generic_results): Handle mpfr_f_f1.
1284 * sysdeps/i386/fpu/libm-test-ulps: Update.
1285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1286
24eeafdb
AZ
12872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288
1289 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1290 __mpn_add_n for PowerPC64/POWER7.
1291 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1292 __mpn_sub_n for PowerPC64/POWER7.
1293
4a2c0fd4
AZ
12942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
1296 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1297 __mpn_addmul_1 for PowerPC64.
1298 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1299 __mpn_submul_1 for PowerPC64.
1300 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1301 for PowerPC64.
1302 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1303 for PowerPC64.
1304
4b5b548c
FS
13052013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1306
1307 [BZ #15089]
1308 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1309
0a3ac0aa
AZ
13102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311
1312 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1313
ccdc8438
AZ
13142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315
1316 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1317 add multiarch folders.
1318 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1319 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1320 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1321 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1322 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1323 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1324 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1325 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1326 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1327 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1328 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1335
2e973d99
AZ
13362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1337
1338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1339 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1341 New file.
1342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1343 New file.
1344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1345 multiarch __ieee754_hypot for PowerPC32.
1346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1347 New file.
1348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1349 New file.
1350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1351 multiarch __ieee754_hypotf for PowerPC32.
1352
2d9470b2
AZ
13532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1354
1355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1356 long_double_symbol only if __logbl is defined.
1357 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1358 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1359 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1360 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1362 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1363 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1364 path for implementation.
1365 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1366 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1368 logb, and logbl multiarch implementations for PowerPC32.
1369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1370 file.
1371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1372 file.
1373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1374 multiarch logb for PowerPC32.
1375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1376 file.
1377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1378 file.
1379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1380 multiarch logbf for PowerPC32.
1381 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1383 file.
1384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1385 multiarch logbl implementation for PowerPC32.
1386
5212ffce
AZ
13872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388
1389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1390 and modff multiarch implementations.
1391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1392 New file.
1393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1394 New file.
1395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1396 multiarch modf for PowerPC32.
1397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1398 New file.
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1400 New file.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1402 multiarch modff for PowerPC32.
1403
79dccf31
AZ
14042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1405
1406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1407 and lrintf multiarch implementations.
1408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1409 New file.
1410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1411 New file.
1412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1413 multiarch lrint for PowerPC32.
1414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1415 file: multiarch lrintf for PowerPC32.
1416
deb66480
AZ
14172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418
1419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1420 and lroundf multiarch implementations.
1421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1422 New file.
1423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1424 New file.
1425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1426 New file.
1427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1428 multiarch lround for PowerPC32.
1429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1430 file: multiarch lroundf for PowerPC32.
1431
264b036b
AZ
14322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1433
1434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1435 copysign and copysignf multiarch implementations.
1436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1437 New file.
1438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1439 New file.
1440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1441 file: multiarch copysign for PowerPC32.
1442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1443 file: multiarch copysignf for PowerPC32.
1444
d47db6c9
AZ
14452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446
1447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1448 and truncf multiarch implementations.
1449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1450 New file.
1451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1452 file.
1453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1454 multiarch trunc for PowerPC32.
1455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1456 New file.
1457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1458 New file.
1459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1460 multiarch truncf for PowerPC32.
1461
ddb60b5a
AZ
14622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1463
1464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1465 and roundf multiarch implementations.
1466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1467 New file.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1469 file.
1470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1471 multiarch round for PowerPC32.
1472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1473 New file.
1474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1475 New file.
1476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1477 multiarch roundf for PowerPC32.
1478
bedcf49b
AZ
14792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1480
1481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1482 and floorf multiarch implementations.
1483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1484 New file.
1485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1486 file.
1487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1488 multiarch floor for PowerPC32.
1489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1490 New file.
1491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1492 New file.
1493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1494 multiarch floorf for PowerPC32.
1495
35ae5b40
AZ
14962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1497
1498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1499 and ceilf multiarch implementations.
1500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1501 New file.
1502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1503 file.
1504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1505 multiarch ceil for PowerPC32.
1506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1507 New file.
1508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1509 file.
1510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1511 multiarch ceilf for PowerPC32.
1512
ae1a4cd9
AZ
15132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1514
1515 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1516 is defined.
1517 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1518 FINITEF is defined.
1519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1520 and finitef multiarch implementations.
1521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1522 New file.
1523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1524 file.
1525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1526 multiarch finite for PowerPC32.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1528 New file.
1529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1530 file: multiarch finitef for PowerPC32.
1531
64fffd65
AZ
15322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1533
1534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1535 and isinff multiarch implementations.
1536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1537 file.
1538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1539 file.
1540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1541 multiarch isinf for PowerPC32.
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1543 New file.
1544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1545 multiarch isinff for PowerPC32.
1546
8e4e7ba2
AZ
15472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1548
1549 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1550 alias when __isnan is defined.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1552 and isnanf multiarch implementations.
1553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1554 file.
1555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1556 file.
1557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1558 file.
1559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1560 file.
1561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1562 multiarch isnan for PowerPC32.
1563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1564 New file.
1565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1566 New file.
1567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1568 multiarch isnanf for PowerPC32.
1569
ddba588e
AZ
15702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1571
1572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1573 and sqrtf multiarch implementations.
1574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1575 file.
1576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1577 file.
1578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1579 multiarch sqrt for PowerPC32.
1580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1581 file.
1582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1583 file.
1584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1585 multiarch sqrtf for PowerPC32.
1586
0f96a2f0
AZ
15872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1588
1589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1590 and llroundf multiarch implementations.
1591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1592 New file.
1593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1594 New file.
1595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1596 New file.
1597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1598 file: multiarch llround for PowerPC32.
1599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1600 file: multiarch llroundf for PowerPC32.
1601
c9b5d79e
AZ
16022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603
1604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1605 multiarch PowerPC32 fpu implementations.
1606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1607 New file.
1608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1609 New file.
1610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1611 multiarch llrint for PowerPC32.
1612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1613 New file.
1614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1615 New file.
1616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1617 file.
1618
9cbb3aab
AZ
16192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1620
1621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1622
ea5a72f8
AZ
16232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624
1625 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1626 file.
1627 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1628 file.
1629 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1630 file.
1631 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1632 multiarch wordcopy for PPC32.
1633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1634 wordcopy objects.
1635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1636 (__libc_ifunc_impl_list): Likewise.
1637 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1638 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1639 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1640 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1641 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1642 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1643
93be09e7
AZ
16442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1645
1646 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1648 file.
1649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1650 file.
1651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1652 file.
1653 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1654 multiarch wcscpy for PPC32.
1655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1656 multiarch objects.
1657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1658 (__libc_ifunc_impl_list): Likewise.
1659 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1660 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1661 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1662 sysdeps/powerpc/power6/wcscpy.c.
1663
bb04e529
AZ
16642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1665
1666 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1668 file.
1669 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1670 file.
1671 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1672 file.
1673 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1674 multiarch wcsrchr for PPC32.
1675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1676 multiarch objects.
1677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1678 (__libc_ifunc_impl_list): Likewise.
1679 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1680 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1681 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1682 sysdeps/powerpc/power6/wcsrchr.c.
1683
05b5cd1c
AZ
16842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1685
1686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1687 file.
1688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1689 file.
1690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1692 multiarch wcschr for PPc32.
1693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1694 multiarch objects.
1695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1696 (__libc_ifunc_impl_list): Likewise.
1697 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1698 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1699 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1700 sysdeps/powerpc/power6/wcschr.c.
1701
ba964147
AZ
17022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1703
1704 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1706 file.
1707 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1708 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1709 file: multiarch strchr for PPC32.
1710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1711 multiarch objects.
1712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1713 (__libc_ifunc_impl_list): Likewise.
1714
31c81aaa
AZ
17152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1716
1717 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1718 name.
1719 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1720 file.
1721 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1722 file.
1723 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1724 multiarch strchrnul for PPC32.
1725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1726 multiarch objects.
1727 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1728 (__libc_ifunc_impl_list): Likewise.
1729
0d0607d9
AZ
17302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731
1732 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1733 file.
1734 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1735 multiarch strncasecmp for PPC32.
1736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1737 file.
1738 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1739 multiarch strncasecmp_l for PPC32.
1740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1741 strncasecmp multiarch objects.
1742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1743 (__libc_ifunc_impl_list): Likewise.
1744
4dfd5c86
AZ
17452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746
1747 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1748 file.
1749 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1750 multiarch strncasecmp for PPC32.
1751 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1752 New file.
1753 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1754 multiarch strcasecmp_l for PPC32.
1755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1756 multiarch objects.
1757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1758 (__libc_ifunc_impl_list): Likewise.
1759
a19e01a3
AZ
17602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1761
1762 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1763 file.
1764 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1765 file.
1766 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1767 multiarch strncmp for PPC32.
1768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1769 multiarch objects.
1770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1771 (__libc_ifunc_impl_list): Likewise.
1772
ae9cf7a2
AZ
17732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774
1775 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1776 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1777 file.
1778 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1779 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1781 multiarch objects.
1782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1783 (__libc_ifunc_impl_list): Likewise.
1784
3148bb7d
AZ
17852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1786
1787 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1788 file.
1789 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1790 file.
1791 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1793 multiarch objects.
1794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1795 (__libc_ifunc_impl_list): Likewise.
1796
7af8b946
AZ
17972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798
1799 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1800 file.
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1802 file.
1803 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1804 multiarch rawmemchr for PPC32.
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1806 multiarch objects.
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1808 (__libc_ifunc_impl_list): Likewise.
1809
03a6aa6a
AZ
18102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1811
1812 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1813 file.
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1815 file.
1816 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1817 file: memrchr multiarch for PPC32.
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1819 multiarch objects.
1820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1821 (__libc_ifunc_impl_list): Likewise.
1822
1c62e6d9
AZ
18232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1824
1825 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1826 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1827 file.
1828 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1830 multiarch memchr for PPC32.
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1832 multiarch objects.
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1834 (__libc_ifunc_impl_list): Likewise.
1835
87da8bdb
AZ
18362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1837
1838 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1839 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1840 file.
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1842 file.
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1844 file: multiarch mempcpy for PPC32.
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1846 multiarch objects.
1847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1848 (__libc_ifunc_impl_list): Likewise.
1849
20ed4714
AZ
18502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1851
1852 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1854 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1856 multiarch bzero for PPC32.
1857 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1858 file.
1859 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1860 file.
1861 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1862 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1863 file: multiarch memset for PPC32.
1864 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1866 memset multiarch objects.
1867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1868 (__libc_ifunc_impl_list): Likewise.
1869
ab3e3a46
AZ
18702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1871
1872 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1873 file.
1874 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1875 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1876 memcmp for PPC32.
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1879 multiarch objects.
1880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1881 (__libc_ifunc_impl_list): Likewise.
1882
930de6f0
AZ
18832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1884
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1886 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1888 file.
1889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1890 file.
1891 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1892 file.
1893 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1894 multiarch memcpy for PPC32.
1895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1896 multiarch objects.
1897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1898 (__libc_ifunc_impl_list): Likewise.
1899
4c628e00
AZ
19002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1901
1902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1903 support multiarch for POWER/PPC32.
1904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1905 Likewise.
1906 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1908 Implies file to make multiarch folder appers before the fpu and
1909 default folder for power4 configuration.
1910
f4479220
SP
19112013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1912
1913 * scripts/bench.pl: Append volatile keyword to type.
1914
8517800f
KK
19152013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1916
1917 * sysdeps/sh/sotruss-lib.c: New file.
1918 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1919
180138f1
AZ
19202013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1921
1922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1923
bbf37bdc
JM
19242013-12-05 Joseph Myers <joseph@codesourcery.com>
1925
e47cc4e0
JM
1926 [BZ #6810]
1927 * math/w_tgamma.c: Include <errno.h>.
1928 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1929 * math/w_tgammaf.c: Include <errno.h>.
1930 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1931 * math/w_tgammal.c: Include <errno.h>.
1932 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1933 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1934 underflow. Add more tgamma tests.
1935 * math/auto-libm-test-out: Regenerated.
1936 * sysdeps/i386/fpu/libm-test-ulps: Update.
1937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1938
bbf37bdc
JM
1939 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1940 sin, sinh, tan, tanh, tgamma, y0 and y1.
1941 * math/auto-libm-test-out: Regenerated.
1942 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1943 (TEST_COND_x86): Likewise.
1944 (M_E2l): Remove macro.
1945 (M_E3l): Likewise.
1946 (M_2_SQRT_PIl): Likewise.
1947 (M_SQRT_PIl): Likewise.
1948 (M_1_DIV_El): Likewise.
1949 (log_test_data): Use AUTO_TESTS_f_f.
1950 (log10_test_data): Likewise.
1951 (log1p_test_data): Likewise.
1952 (log2_test_data): Likewise.
1953 (sin_test_data): Likewise.
1954 (sin_tonearest_test_data): Likewise.
1955 (sin_towardzero_test_data): Likewise.
1956 (sin_downward_test_data): Likewise.
1957 (sin_upward_test_data): Likewise.
1958 (sinh_test_data): Likewise.
1959 (sinh_tonearest_test_data): Likewise.
1960 (sinh_towardzero_test_data): Likewise.
1961 (sinh_downward_test_data): Likewise.
1962 (sinh_upward_test_data): Likewise.
1963 (tan_test_data): Likewise.
1964 (tan_tonearest_test_data): Likewise.
1965 (tan_towardzero_test_data): Likewise.
1966 (tan_downward_test_data): Likewise.
1967 (tan_upward_test_data): Likewise.
1968 (tanh_test_data): Likewise.
1969 (tgamma_test_data): Likewise.
1970 (y0_test_data): Likewise.
1971 (y1_test_data): Likewise.
1972 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1973 (special_real_inputs): Add pi/4.
1974 * sysdeps/i386/fpu/libm-test-ulps: Update.
1975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1976
eb5ad6b9
AZ
19772013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1978
1979 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1980 "longjmp_target" static probes.
1981 (__longjmp): Rename to __longjmp_symbol.
1982 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1983 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1984 on which longjmp to generate.
1985 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1986 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1987 probe.
1988 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1989 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1990 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1991 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1992 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1993 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1995 __longjmp_symbol based on which __longjmp to generate.
1996 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1997 probe.
1998 (setjmp): Rename to setjmp_symbol.
1999 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2000 (_setjmp): Rename to _setjmp_symbol.
2001 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2002 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2003 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2004 which setjmp to generate.
2005 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2006 "longjmp_target" static probes.
2007
d136c6dc
SP
20082013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2009
9298ecba
SP
2010 * benchtests/README: Add note about output arguments.
2011 * benchtests/bench-sincos.c: Remove file.
2012 * benchtests/sincos-inputs: New file.
2013 * scripts/bench.pl: Identify output arguments and define
2014 static variables for them.
2015
232983e9
SP
2016 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2017
d136c6dc
SP
2018 [BZ #15941]
2019 * Makefile (INSTALL): Add install-plain.texi as the primary
2020 dependency.
2021 * manual/install-plain.texi: New file.
2022 * manual/install.texi: Include node directive only for
2023 non-plaintext output.
2024
699ff837
JM
20252013-12-04 Joseph Myers <joseph@codesourcery.com>
2026
ab07cea8
JM
2027 * stdlib/longlong.h: Update from GCC.
2028
699ff837
JM
2029 [BZ #6807]
2030 [BZ #15901]
2031 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2032 * math/w_j0f.c (y0f): Likewise.
2033 * math/w_j0l.c (__y0l): Likewise.
2034 * math/w_j1.c (y1): Likewise.
2035 * math/w_j1f.c (y1f): Likewise.
2036 * math/w_j1l.c (__y1l): Likewise
2037 * math/w_jn.c (yn): Likewise.
2038 * math/w_jnf.c (ynf): Likewise.
2039 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2040 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2041 value for Bessel function domain errors outside _SVID_ mode.
2042 Adjust sign of return value for yn (negative integer, 0).
2043 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2044 by zero in return for negative x and set sign appropriately for
2045 negative n.
2046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2047 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2048 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2049 expectations in error cases.
2050 (y1_test_data): Likewise.
2051 (yn_test_data): Likewise.
2052 * sysdeps/i386/fpu/libm-test-ulps: Update.
2053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2054
5b118558
UW
20552013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2056
2057 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2058 "64" to "64-v1". Add "64-v2".
2059 (abi-64-options): Rename to ...
2060 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2061 (abi-64-condition): Rename to ...
2062 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2063 (abi-64-ld-soname): Rename to ...
2064 (abi-64-v1-ld-soname): ... this.
2065 (abi-64-v2-options): Define.
2066 (abi-64-v2-condition): Likewise.
2067 (abi-64-v2-ld-soname): Likewise.
2068 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2069 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2073
61cd8fe4
UW
20742013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2075 Alan Modra <amodra@gmail.com>
2076
2077 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2078 New versions for use with the ELFv2 ABI.
2079 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2080 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2081 declaration.
2082 (struct La_ppc64v2_retval): Likewise.
2083 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2084 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2085 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2086 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2087 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2088 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2089 Do not save or restore CR.
2090 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2091 (_dl_profile_resolve): Do no save or restore CR. Support extended
2092 return values for ELFv2 ABI. Fix location of FPR return registers.
2093 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2094 updated values for _CALL_ELF == 2.
2095 (La_regs, La_retval, int_retval): Likewise.
2096
8b8a692c
UW
20972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2098
2099 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2100 (FRAME_MIN_SIZE_PARM): Likewise.
2101 (FRAME_BACKCHAIN): Likewise.
2102 (FRAME_CR_SAVE): Likewise.
2103 (FRAME_LR_SAVE): Likewise.
2104 (FRAME_TOC_SAVE): Likewise.
2105 (FRAME_PARM_SAVE): Likewise.
2106 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2107 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2108 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2109 (call_mcount_parm_offset): New macro.
2110 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2111 (PROF): Use symbolic stack frame offsets.
2112 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2113 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2114 Redefine in terms of FRAME_MIN_SIZE.
2115 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2116 (_dl_profile_resolve): Likewise. Update comment.
2117 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2118 symbols stack frame offsets.
2119 (__sigsetjmp): Likewise.
2120 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2121 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2122 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2123 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2124
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2126 (FRAME_BACKCHAIN): Remove.
2127 (FRAME_CR_SAVE): Likewise.
2128 (FRAME_LR_SAVE): Likewise.
2129 (FRAME_COMPILER_DW): Likewise.
2130 (FRAME_LINKER_DW): Likewise.
2131 (FRAME_TOC_SAVE): Likewise.
2132 (FRAME_PARM_SAVE): Likewise.
2133 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2134 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2135 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2137 (CHECK_SP): Use symbolic stack frame offsets.
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2139 zone" instead of caller's parameter save area for temp storage.
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2141 Likewise. Also, use symbolic stack frame offsets.
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2143 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2144 our own stack frame instead of the caller's.
2145 (__socket): Use symbolic stack frame offsets.
2146
122b66de
UW
21472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2148 Alan Modra <amodra@gmail.com>
2149
2150 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2151 Define.
2152 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2153 PPC64_LOCAL_ENTRY_OFFSET): Define.
2154 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2155 New function.
2156 (elf_machine_fixup_plt): Call it.
2157 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2158 reloc arguments.
2159 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2160 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2161 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2162 r2 before calling target.
2163
696caf1d
UW
21642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2165 Alan Modra <amodra@gmail.com>
2166
2167 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2168 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2169 versions of macros to support ELFv2 ABI.
2170 (LOCALENTRY): New macro.
2171 (ENTRY, EALIGN): Use it.
2172 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2173 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2174 fall through into ENTRY entry point.
2175 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2176 Only define if _CALL_ELF != 2.
2177
2178 (elf_machine_matches_host): Verify ABI version matches.
2179 (RTLD_START): Use LOCALENTRY.
2180 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2181 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2182 (PLT_ENTRY_WORDS): New macro.
2183 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2184 (elf_machine_runtime_setup): Support ELFv2 ABI.
2185 (elf_machine_fixup_plt): Likewise.
2186 (elf_machine_plt_conflict): Likewise.
2187 (resolve_ifunc): Likewise.
2188 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2190 Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2192 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2194 (makecontext): Support ELFv2 ABI.
2195 * elf/elf.h (EF_PPC64_ABI): Define.
2196
d31beafa
UW
21972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2198
2199 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2200 New assembler macro.
2201 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2202 [ASSEMBLER] (ENTRY): ... but instead here ...
2203 [ASSEMBLER] (EALIGN): ... and here.
2204 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2205 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2206 [!ASSEMBLER] (ENTRY_2): Use it.
2207 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2208 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2209 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2210 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2211 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2213 Use PPC64_LOAD_FUNCPTR.
2214
b525166b
UW
22152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2216
2217 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2218
7ec07d9a
AM
22192013-12-04 Alan Modra <amodra@gmail.com>
2220
2221 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2222 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2223 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2224 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2225
2226 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2227 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2228 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2229 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2230 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2231 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2232
5162e7dd
UW
22332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2234
2235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2236 (__makecontext): Fix incorrect CFI when backtracing out of
2237 context created via makecontext.
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2239 (__setcontext): Fix incorrect CFI during switch to new context.
2240 (__novec_setcontext): Likewise.
2241
19e3372b
OB
22422013-12-04 Ondřej Bílka <neleai@seznam.cz>
2243
2244 [BZ #4772]
2245 * time/strptime_l.c (__strptime_internal): Allow modifiers
2246 in strptime.
2247 * time/tst-strptime.c (day_tests): Add testcase.
2248
2249
ecaf142d
SP
22502013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2251
2252 * scripts/bench.pl: Skip over blank lines.
2253
fbf964ae
PE
22542013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2255
2256 [BZ #926]
2257 * manual/time.texi (Calendar Time): Clarify what timezone functions
2258 use.
2259
fa60a674
AZ
22602013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2261
2262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2263
d674f0ef
OB
22642013-12-04 Ondřej Bílka <neleai@seznam.cz>
2265
2266 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2267 implementation.
2268 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2269 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2270 * debug/memset_chk.c (__memset_chk): Likewise.
2271 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2272 * debug/strncpy_chk.c: Likewise.
2273
17dea188
JM
22742013-12-03 Joseph Myers <joseph@codesourcery.com>
2275
749008ff
JM
2276 [BZ #15268]
2277 [BZ #15425]
2278 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2279 (__ieee754_exp): For possibly underflowing results, check size of
2280 result and force underflow exception if required.
2281 * math/auto-libm-test-in: Add more tests of exp.
2282 * math/auto-libm-test-out: Regenerated.
2283 * sysdeps/i386/fpu/libm-test-ulps: Update.
2284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2285
17dea188
JM
2286 [BZ #16283]
2287 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2288 * math/w_exp2f.c (__exp2f): Likewise.
2289 * math/w_exp2l.c (__exp2l): Likewise.
2290 * math/auto-libm-test-in: Do not allow missing errno on exp2
2291 underflow.
2292 * math/auto-libm-test-out: Regenerated.
2293
b20de2c3
OB
22942013-12-03 Ondřej Bílka <neleai@seznam.cz>
2295
2296 [BZ #16274]
2297 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2298 handle filename validation.
2299 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2300 (do_open): Delete.
2301
d8e2dbe3
JM
23022013-12-03 Joseph Myers <joseph@codesourcery.com>
2303
34e16df5
JM
2304 [BZ #6786]
2305 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2306 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2307 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2308 <float.h>.
2309 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2311 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2313 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2314 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2315 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2316 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2317 Add more erfc tests.
2318 * math/auto-libm-test-out: Regenerated.
2319 * sysdeps/i386/fpu/libm-test-ulps: Update.
2320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2321
d8e2dbe3
JM
2322 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2323 exp2, expm1, j0 and j1.
2324 * math/auto-libm-test-out: Regenerated.
2325 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2326 (erfc_test_data): Likewise.
2327 (exp_test_data): Likewise.
2328 (exp_tonearest_test_data): Likewise.
2329 (exp_towardzero_test_data): Likewise.
2330 (exp_downward_test_data): Likewise.
2331 (exp_upward_test_data): Likewise.
2332 (exp10_test_data): Likewise.
2333 (exp2_test_data): Likewise.
2334 (expm1_test_data): Likewise.
2335 (j0_test_data): Likewise.
2336 (j1_test_data): Likewise.
2337 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2338 (input_flag_type): Add flag_xfail_rounding.
2339 (input_flags): Add xfail-rounding.
2340 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2341 (output_for_one_input_case): Handle flag_xfail_rounding.
2342 * sysdeps/i386/fpu/libm-test-ulps: Update.
2343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2344
18d14251
AJ
23452013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2346
3d2e6075 2347 [BZ #16289]
18d14251
AJ
2348 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2349 division by 0.
2350
520d437b
SP
23512013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2352
2353 [BZ #16195]
2354 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2355 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2356 (STAP_PROBE0): New macro.
2357 (STAP_PROBE1): Likewise.
2358 (STAP_PROBE2): Likewise.
2359 (STAP_PROBE3): Likewise.
2360 (STAP_PROBE4): Likewise.
2361
416e0145
OB
23622013-12-02 Ondřej Bílka <neleai@seznam.cz>
2363
2364 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2365
9d17796a
SE
23662013-12-02 Steve Ellcey <sellcey@mips.com>
2367
2368 * benchtests/Makefile (bench): Add sqrt.
2369 (LDLIBS-bench-sqrt): New.
2370 * benchtests/sqrt-input: New.
2371
f524d6a8
PS
23722013-12-02 Pavel Simerda <psimerda@redhat.com>
2373
639a0ef8
PS
2374 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2375 (GAIH_EAI): Likewise.
2376 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2377 (gaih_inet): Likewise.
2378 (getaddrinfo): Don't use GAIH_EAI.
2379
f524d6a8
PS
2380 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2381 (struct gaih): Remove definition.
2382
df3aedaf
SP
23832013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2384
2385 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2386 Use HERRNOP directly.
2387
1ab19dec
AZ
23882013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2389
b42ad38d 2390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2391
176b0c79
JM
23922013-11-30 Joseph Myers <joseph@codesourcery.com>
2393
2394 * math/gen-auto-libm-tests.c (test_functions): Add more
2395 single-argument functions.
2396 (special_fill_pi_2): New function.
2397 (special_fill_minus_pi_2): Likewise.
2398 (special_fill_pi_6): Likewise.
2399 (special_fill_minus_pi_6): Likewise.
2400 (special_fill_pi_3): Likewise.
2401 (special_fill_2pi_3): Likewise.
2402 (special_fill_e): Likewise.
2403 (special_fill_1_e): Likewise.
2404 (special_fill_e_minus_1): Likewise.
2405 (special_real_inputs): Add more special inputs.
2406 (output_for_one_input_case): Do not require ERANGE on underflow to
2407 zero if round-to-nearest result does not underflow to zero, unless
2408 exact results required.
2409 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2410 atan, atanh, cbrt, cos and cosh.
2411 * math/auto-libm-test-out: Regenerated.
2412 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2413 (acos_tonearest_test_data): Likewise.
2414 (acos_towardzero_test_data): Likewise.
2415 (acos_downward_test_data): Likewise.
2416 (acos_upward_test_data): Likewise.
2417 (acosh_test_data): Likewise.
2418 (asin_test_data): Likewise.
2419 (asin_tonearest_test_data): Likewise.
2420 (asin_towardzero_test_data): Likewise.
2421 (asin_upward_test_data): Likewise.
2422 (asinh_test_data): Likewise.
2423 (atan_test_data): Likewise.
2424 (atanh_test_data): Likewise.
2425 (cbrt_test_data): Likewise.
2426 (cos_test_data): Likewise.
2427 (cos_tonearest_test_data): Likewise.
2428 (cos_towardzero_test_data): Likewise.
2429 (cos_downward_test_data): Likewise.
2430 (cos_upward_test_data): Likewise.
2431 (cosh_test_data): Likewise.
2432 (cosh_tonearest_test_data): Likewise.
2433 (cosh_towardzero_test_data): Likewise.
2434 (cosh_downward_test_data): Likewise.
2435 (cosh_upward_test_data): Likewise.
2436 * sysdeps/i386/fpu/libm-test-ulps: Update.
2437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2438
ffb536d0
JM
24392013-11-29 Joseph Myers <joseph@codesourcery.com>
2440
2a77a467
JM
2441 [BZ #6787]
2442 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2443 * math/w_exp10f.c (__exp10f): Likewise.
2444 * math/w_exp10l.c (__exp10l): Likewise.
2445 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2446 errno settings in existing tests.
2447
ea3bc4e8
JM
2448 [BZ #14032]
2449 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2450 precision control set to double precision.
2451 * sysdeps/i386/fpu/w_sqrt.c: New file.
2452 * math/auto-libm-test-in: Add more tests.
2453 * math/auto-libm-test-out: Update.
2454
0712c9d8
JM
2455 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2456 (sqrt_test_tonearest): New function.
2457 (sqrt_towardzero_test_data): New variable.
2458 (sqrt_test_towardzero): New function.
2459 (sqrt_downward_test_data): New variable.
2460 (sqrt_test_downward): New function.
2461 (sqrt_upward_test_data): New variable.
2462 (sqrt_test_upward): New function.
2463 (main): Call the new functions.
2464
ffb536d0
JM
2465 * math/gen-auto-libm-tests.c: New file.
2466 * math/auto-libm-test-in: Likewise.
2467 * math/auto-libm-test-out: New generated file.
2468 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2469 variables.
2470 (%beautify): Add generated representations of zero.
2471 (top level): Set $auto_input and call parse_auto_input.
2472 (beautify): Remove trailing "f" from hex float constants.
2473 (parse_args): Handle XFAIL_TEST.
2474 (convert_condition): New function.
2475 (or_value): Likewise.
2476 (or_cond_value): Likewise.
2477 (generate_testfile): Handle AUTO_TESTS_* lines.
2478 (parse_auto_input): New function.
2479 * math/libm-test.inc (XFAIL_TEST): New macro.
2480 (ERRNO_UNCHANGED): Update value.
2481 (ERRNO_EDOM): Likewise.
2482 (ERRNO_ERANGE): Likewise.
2483 (IGNORE_RESULT): Likewise.
2484 (TEST_COND_flt_32): New macro.
2485 (TEST_COND_dbl_64): Likewise.
2486 (TEST_COND_ldbl_96_intel): Likewise.
2487 (TEST_COND_ldbl_96_m68k): Likewise.
2488 (TEST_COND_ldbl_128): Likewise.
2489 (TEST_COND_ldbl_128ibm): Likewise.
2490 (TEST_COND_long32): Likewise.
2491 (TEST_COND_long64): Likewise.
2492 (TEST_COND_before_rounding): Likewise.
2493 (TEST_COND_after_rounding): Likewise.
2494 (enable_test): Handle XFAIL_TEST flag.
2495 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2496 with finite results.
2497 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2498 auto-libm-test-out.
2499
acd98a8e
AK
25002013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2501 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2502
2503 [BZ #16214]
2504 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2505 __tls_get_addr_internal instead of __tls_get_offset in order to
2506 avoid GOT pointer dependency. Make rtld export
2507 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2508 __tls_get_addr since we are a __tls_get_offset platform.
2509 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2510 GOT pointer being set up before.
2511 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2512
3c1c46a6
JM
25132013-11-28 Joseph Myers <joseph@codesourcery.com>
2514
7475aef5
JM
2515 * manual/math.texi (Errors in Math Functions): Document accuracy
2516 goals.
2517
8bca7cd8
JM
2518 [BZ #15004]
2519 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2520 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2521 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2522 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2523 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2525 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2526 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2529 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2530 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2531 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2535
91a1f3fe
JM
2536 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2537 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2538 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2539 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2540 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2541 Likewise.
2542 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2543 Likewise.
2544 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2545 Likewise.
2546 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2547 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2548 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2549 atomic-feupdateenv and flt-rounds.
2550 * sysdeps/powerpc/nofpu/Versions (libc): Add
2551 __atomic_feholdexcept, __atomic_feclearexcept,
2552 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2553 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2554 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2555 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2556 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2557 here.
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2559 Update.
2560
c5df7609
JM
2561 * manual/arith.texi (FP Exceptions): Document that exceptions may
2562 not be raised when matherr is used.
2563 (Math Error Reporting): Document overflow in directed rounding
2564 modes. Document that errno may not be set when finite values are
2565 returned on overflow. Document intent to set errno on underflow
2566 only for underflow to zero.
2567
3c1c46a6
JM
2568 [BZ #16271]
2569 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2570 round-to-nearest then adjust result for other rounding modes.
2571 * include/fenv.h (fegetround): Use libm_hidden_proto.
2572 * math/fegetround.c (fegetround): Use libm_hidden_def.
2573 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2574 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2575 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2577 Likewise.
2578 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2579 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2580 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2581 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2582
5a4c6d53
SP
25832013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2584
2585 [BZ #16077]
2586 * nss/Versions (libnss_files): Add
2587 _nss_files_gethostbyname3_r.
2588 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2589 New function.
2590 (HOST_DB_LOOKUP): Remove macro.
2591 (_nss_files_gethostbyname_r): Implement function without the
2592 HOST_DB_LOOKUP macro.
2593 (_nss_files_gethostbyname2_r): Likewise.
2594
897b98ba
OB
25952013-11-28 Ondřej Bílka <neleai@seznam.cz>
2596
2597 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2598
6f476861
UB
25992013-11-26 Uros Bizjak <ubizjak@gmail.com>
2600
2601 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2602 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2603 warning.
2604
bd12ab55
AZ
26052013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2606
2607 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2608 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2609 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2610 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2611 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2612 __fe_nomask_env_priv and attribute_hidden.
2613 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2614 (libc_feupdateenv_test_ppc): Likewise.
2615 (libc_feresetround_ppc): Likewise.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2617 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2618 compat_symbol macro.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2620 (__fe_nomask_env): Likewise.
2621 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2622
52bb6543
OB
26232013-11-26 Ondřej Bílka <neleai@seznam.cz>
2624
2625 * string/Makefile: Remove ifunc tests.
2626 * string/test-string.h: Define TEST_IFUNC.
2627 * string/test-bcopy-ifunc.c: Remove.
2628 * string/test-bzero-ifunc.c: Likewise.
2629 * string/test-memccpy-ifunc.c: Likewise.
2630 * string/test-memchr-ifunc.c: Likewise.
2631 * string/test-memcmp-ifunc.c: Likewise.
2632 * string/test-memcpy-ifunc.c: Likewise.
2633 * string/test-memmem-ifunc.c: Likewise.
2634 * string/test-memmove-ifunc.c: Likewise.
2635 * string/test-mempcpy-ifunc.c: Likewise.
2636 * string/test-memrchr-ifunc.c: Likewise.
2637 * string/test-memset-ifunc.c: Likewise.
2638 * string/test-rawmemchr-ifunc.c: Likewise.
2639 * string/test-stpcpy-ifunc.c: Likewise.
2640 * string/test-stpncpy-ifunc.c: Likewise.
2641 * string/test-strcasecmp-ifunc.c: Likewise.
2642 * string/test-strcasestr-ifunc.c: Likewise.
2643 * string/test-strcat-ifunc.c: Likewise.
2644 * string/test-strchr-ifunc.c: Likewise.
2645 * string/test-strchrnul-ifunc.c: Likewise.
2646 * string/test-strcmp-ifunc.c: Likewise.
2647 * string/test-strcpy-ifunc.c: Likewise.
2648 * string/test-strcspn-ifunc.c: Likewise.
2649 * string/test-strlen-ifunc.c: Likewise.
2650 * string/test-strncasecmp-ifunc.c: Likewise.
2651 * string/test-strncat-ifunc.c: Likewise.
2652 * string/test-strncmp-ifunc.c: Likewise.
2653 * string/test-strncpy-ifunc.c: Likewise.
2654 * string/test-strnlen-ifunc.c: Likewise.
2655 * string/test-strpbrk-ifunc.c: Likewise.
2656 * string/test-strrchr-ifunc.c: Likewise.
2657 * string/test-strspn-ifunc.c: Likewise.
2658 * string/test-strstr-ifunc.c: Likewise.
2659
ab260039 26602013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2661
2662 * benchtests/Makefile: Remove ifunc tests.
2663 * benchtests/bench-string.h: Define TEST_IFUNC.
2664 * benchtests/bench-bcopy-ifunc.c: Remove.
2665 * benchtests/bench-bzero-ifunc.c: Likewise.
2666 * benchtests/bench-memccpy-ifunc.c: Likewise.
2667 * benchtests/bench-memchr-ifunc.c: Likewise.
2668 * benchtests/bench-memcmp-ifunc.c: Likewise.
2669 * benchtests/bench-memcpy-ifunc.c: Likewise.
2670 * benchtests/bench-memmem-ifunc.c: Likewise.
2671 * benchtests/bench-memmove-ifunc.c: Likewise.
2672 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2673 * benchtests/bench-memrchr-ifunc.c: Likewise.
2674 * benchtests/bench-memset-ifunc.c: Likewise.
2675 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2676 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2677 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2678 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2679 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2680 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2681 * benchtests/bench-strcat-ifunc.c: Likewise.
2682 * benchtests/bench-strchr-ifunc.c: Likewise.
2683 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2684 * benchtests/bench-strcmp-ifunc.c: Likewise.
2685 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2686 * benchtests/bench-strcpy-ifunc.c: Likewise.
2687 * benchtests/bench-strcspn-ifunc.c: Likewise.
2688 * benchtests/bench-strlen-ifunc.c: Likewise.
2689 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2690 * benchtests/bench-strncat-ifunc.c: Likewise.
2691 * benchtests/bench-strncmp-ifunc.c: Likewise.
2692 * benchtests/bench-strncpy-ifunc.c: Likewise.
2693 * benchtests/bench-strnlen-ifunc.c: Likewise.
2694 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2695 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2696 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2697 * benchtests/bench-strspn-ifunc.c: Likewise.
2698 * benchtests/bench-strstr-ifunc.c: Likewise.
2699
27002013-11-26 Ondřej Bílka <neleai@seznam.cz>
2701
ab260039
OB
2702 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2703
d1d9eaf4 27042013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2705
d1d9eaf4
OB
2706 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2707 * rt/aio.h: Likewise.
2708 * sysdeps/gnu/bits/utmp.h: Likewise.
2709 * sysdeps/gnu/bits/utmpx.h: Likewise.
2710 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2711 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2712 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2713 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2714 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2715 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2716 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2717 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2718 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2719 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2720 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2721 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2722 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2724 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2725 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2726 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2727 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2728 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2729 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2730 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2731 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2732 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2733 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2734 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2736 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2737 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2738 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2739 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2740 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2741 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2742 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2743 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2744 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2745 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2746 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2747 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2748 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2749 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2750 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2751 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2752
a7624ed9
CD
27532013-11-25 Carlos O'Donell <carlos@redhat.com>
2754
2755 [BZ #16245]
2756 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2757 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2758
63cfe52b
JM
27592013-11-25 Joseph Myers <joseph@codesourcery.com>
2760
2761 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2762 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2763 Likewise.
2764
41e8926a
AZ
27652013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2766
2767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2768 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2769 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2770 (__fesetround): Remove define.
2771 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2772 rounding and exceptions handling.
2773 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2774 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2775 (__fe_nomask_env): Likewise.
2776 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2777 __fegetround instead of fegetround.
2778 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2779 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2780
6851bd4d
RM
27812013-11-21 Roland McGrath <roland@hack.frob.com>
2782
070906ff
RM
2783 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2784 it's there.
2785
6851bd4d
RM
2786 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2787
84ae135d
MI
27882013-11-21 Meador Inge <meadori@codesourcery.com>
2789
2790 [BZ #11157]
2791 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2792 (encrypt_r): Likewise.
2793 * malloc/obstack.h (obstack_free): Likewise.
2794 * posix/unistd.h (encrypt): Likewise.
2795
daf75146
GM
27962013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2797
2798 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2799 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2800 DL_CALL_DT_FINI() that call the functions directly.
2801 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2802 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2803 * elf/dl-fini.c: Likewise.
2804
10ad46bc
OB
28052013-11-20 Ondřej Bílka <neleai@seznam.cz>
2806
2807 * malloc/hooks.c (memalign_check): Add alignment rounding.
2808 * malloc/malloc.c (_mid_memalign): New function.
2809 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2810 Implement by calling _mid_memalign.
2811 * manual/probes.texi (Memory Allocation Probes): Remove
2812 memory_valloc_retry and memory_pvalloc_retry.
2813
f3fd2628
SP
28142013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2815
4712799f
SP
2816 * locale/programs/locarchive.c (open_archive): Add const
2817 qualifier to ARCHIVEFNAME and copy default fname to
2818 DEFAULT_FNAME.
2819
0417b20f
SP
2820 [BZ #15601]
2821 * libio/tst-widetext.input: Rename Oriya to Odia.
2822 * locale/iso-639.def: Likewise.
2823
f3fd2628
SP
2824 * manual/probes.texi (Mathematical Function Probes): Add
2825 documentation for sin, cos, asin and acos probes.
2826 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2827 (__sin32): Add slowasin probe.
2828 (__cos32): Add slowacos probe.
2829 (__mpsin): Add slowsin probe.
2830 (__mpcos): Add slowcos probe.
2831
73c1ce4f
JM
28322013-11-19 Joseph Myers <joseph@codesourcery.com>
2833
2834 [BZ #15483]
2835 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2836 thread-local __sim_exceptions_thread and global
2837 __sim_exceptions_global.
2838 (__sim_disabled_exceptions): Change to thread-local
2839 __sim_disabled_exceptions_thread and global
2840 __sim_disabled_exceptions_global.
2841 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2842 and global __sim_round_mode_global.
2843 (__simulate_exceptions): Use thread-local floating-point state and
2844 set global state from it as needed.
2845 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2846 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2847 __sim_round_mode_thread.
2848 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2849 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2850 and global __sim_exceptions_global.
2851 (__sim_disabled_exceptions): Change to thread-local
2852 __sim_disabled_exceptions_thread and global
2853 __sim_disabled_exceptions_global.
2854 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2855 and global __sim_round_mode_global.
2856 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2857 (SIM_SET_GLOBAL): Likewise.
2858 * sysdeps/powerpc/soft-fp/sfp-machine.h
2859 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2860 __sim_round_mode_thread.
2861 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2862 __sim_disabled_exceptions_thread.
2863 (__sim_exceptions): Change to __sim_exceptions_thread.
2864 (__sim_disabled_exceptions): Change to
2865 __sim_disabled_exceptions_thread.
2866 (__sim_round_mode): Change to __sim_round_mode_thread.
2867 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2868 thread-local floating-point state and set global state from it as
2869 needed.
2870 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2871 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2872 (__sim_disabled_exceptions): Remove extern declaration.
2873 (feenableexcept): Use thread-local floating-point state and set
2874 global state from it as needed.
2875 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2876 extern declaration.
2877 (__sim_disabled_exceptions): Likewise.
2878 (__sim_round_mode): Likewise.
2879 (__fegetenv): Use thread-local floating-point state.
2880 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2881 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2882 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2883 floating-point state and set global state from it as needed.
2884 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2885 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2886 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2887 Likewise.
2888 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2889 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2890 Likewise.
2891 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2892 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2893 Use __sim_round_mode_thread.
2894 * math/test-fenv-tls.c: New file.
2895 * math/Makefile (tests): Add test-fenv-tls.
2896 ($(objpfx)test-fenv-tls): Depend on
2897 $(common-objpfx)nptl/libpthread.so.
2898
b5449b12
AS
28992013-11-19 Andreas Schwab <schwab@suse.de>
2900
2901 * locale/programs/locale.c (show_info): Decode wordarray elements.
2902 * locale/categories.def (LC_MONETARY): Add element for
2903 _NL_MONETARY_CRNCYSTR.
2904 * locale/C-monetary.c (conversion_rate): New variable.
2905 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2906 element.
2907
e186536b
CM
29082013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2909
2910 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2911 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2912
5c349950
PP
29132013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2914
2915 * elf/Makefile (tst-auxv): New test.
2916 * elf/tst-auxv.c: New
2917 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2918
699df45b
JM
29192013-11-18 Joseph Myers <joseph@codesourcery.com>
2920
2921 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2922 (hidden_proto): Caller changed.
2923 (hidden_tls_proto): New macro.
2924 (libc_hidden_tls_proto): Likewise.
2925 (rtld_hidden_tls_proto): Likewise.
2926 (libm_hidden_tls_proto): Likewise.
2927 (libresolv_hidden_tls_proto): Likewise.
2928 (librt_hidden_tls_proto): Likewise.
2929 (libdl_hidden_tls_proto): Likewise.
2930 (libnss_files_hidden_tls_proto): Likewise.
2931 (libnsl_hidden_tls_proto): Likewise.
2932 (libnss_nisplus_hidden_tls_proto): Likewise.
2933 (libutil_hidden_tls_proto): Likewise.
2934
b7589107
OB
29352013-11-18 Ondřej Bílka <neleai@seznam.cz>
2936
2937 [BZ #10253]
2938 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2939 (decompose_rpath): Defer expansion to fillin_rpath.
2940 (_dl_init_paths): Pass linkmap to fillin_rpath.
2941
250c23bd
RS
29422013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2943
2944 * benchtests/Makefile: Add strsep.
2945 * benchtests/bench-strsep.c: New file: strsep benchtest.
2946 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2947
a7931fcf
AS
29482013-11-18 Andreas Schwab <schwab@suse.de>
2949
2950 * locale/programs/locale.c (show_info) [case byte]: Check for
2951 '\377' instead of '\177'.
2952 * locale/C-monetary.c (not_available): Always use "\377".
2953 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2954 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2955 detect unavailable sign_posn locale elements.
2956 * locale/localeconv.c (__localeconv): For grouping and
2957 mon_grouping handle "\177" and "\377" like no grouping.
2958 (INT_ELEM): New macro. Use it to set all numeric members.
2959 * locale/programs/ld-monetary.c (monetary_read)
2960 <tok_mon_grouping>: Normalize single -1 to the empty string.
2961 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2962 Likewise.
2963
728dab0e
OB
29642013-11-07 Ondřej Bílka <neleai@seznam.cz>
2965
2966 [BZ #16055]
2967 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2968 when we match (nil).
2969 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2970
66294491
JM
29712013-11-16 Joseph Myers <joseph@codesourcery.com>
2972
ce665817
JM
2973 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2974 (NO_TEST_INLINE): Update value.
2975 (ERRNO_UNCHANGED): Likewise.
2976 (ERRNO_EDOM): Likewise.
2977 (ERRNO_ERANGE): Likewise.
2978 (IGNORE_RESULT): Likewise.
2979 (check_float_internal): Check signs of NaN results if
2980 TEST_NAN_SIGN used.
2981 (check_complex): Pass TEST_NAN_SIGN flag through to second
2982 check_float_internal call.
2983 (copysign_test_data): Add tests with quiet NaNs as second
2984 argument. Use TEST_NAN_SIGN.
2985 (fabs_test_data): Add test of negative quiet NaN argument. Use
2986 TEST_NAN_SIGN.
2987 (signbit_test_data): Add tests of quiet NaN argument.
2988 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2989
ee1466a9
JM
2990 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2991 $ignore_result.
2992 (parse_args): Handle function results specified as IGNORE.
2993 * math/libm-test.inc (IGNORE_RESULT): New macro.
2994 (check_float_internal): Do not check numerical result if flag
2995 IGNORE_RESULT set.
2996 (check_complex): Pass through IGNORE_RESULT to second
2997 check_float_internal call.
2998 (check_int): Do not check numerical result if flag IGNORE_RESULT
2999 set.
3000 (check_long): Likewise.
3001 (check_bool): Likewise.
3002 (check_longlong): Likewise.
3003 (lrint_test_data): Add tests of infinite and NaN arguments.
3004 (lrint_tonearest_test_data): Likewise.
3005 (lrint_towardzero_test_data): Likewise.
3006 (lrint_downward_test_data): Likewise.
3007 (lrint_upward_test_data): Likewise.
3008 (llrint_test_data): Likewise.
3009 (llrint_tonearest_test_data): Likewise.
3010 (llrint_towardzero_test_data): Likewise.
3011 (llrint_downward_test_data): Likewise.
3012 (llrint_upward_test_data): Likewise.
3013 (lround_test_data): Likewise.
3014 (llround_test_data): Likewise.
3015
14407b7e
JM
3016 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3017 (ERRNO_UNCHANGED): Update value.
3018 (ERRNO_EDOM): Likewise.
3019 (ERRNO_ERANGE): Likewise.
3020 (NO_TEST_INLINE_FLOAT): New macro.
3021 (NO_TEST_INLINE_DOUBLE): Likewise.
3022 (enable_test): New function.
3023 (RUN_TEST_f_f): Check enable_test before running test.
3024 (RUN_TEST_2_f): Likewise.
3025 (RUN_TEST_fff_f): Likewise.
3026 (RUN_TEST_c_f): Likewise.
3027 (RUN_TEST_f_f1): Likewise.
3028 (RUN_TEST_fF_f1): Likewise.
3029 (RUN_TEST_fI_f1): Likewise.
3030 (RUN_TEST_ffI_f1): Likewise.
3031 (RUN_TEST_c_c): Likewise.
3032 (RUN_TEST_cc_c): Likewise.
3033 (RUN_TEST_f_i): Likewise.
3034 (RUN_TEST_f_i_tg): Likewise.
3035 (RUN_TEST_ff_i_tg): Likewise.
3036 (RUN_TEST_f_b): Likewise.
3037 (RUN_TEST_f_b_tg): Likewise.
3038 (RUN_TEST_f_l): Likewise.
3039 (RUN_TEST_f_L): Likewise.
3040 (RUN_TEST_fFF_11): Likewise.
3041 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3042 conditionals.
3043 (cosh_test_data): Likewise.
3044 (exp_test_data): Likewise.
3045 (expm1_test_data): Likewise.
3046 (hypot_test_data): Likewise.
3047 (pow_test_data): Likewise.
3048 (sinh_test_data): Likewise.
3049 (tanh_test_data): Likewise.
3050 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3051 flags argument.
3052
ca07f197
JM
3053 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3054 tests with quiet NaN input and output.
3055 (acosh_test_data): Likewise.
3056 (asin_test_data): Likewise.
3057 (asinh_test_data): Likewise.
3058 (atan_test_data): Likewise.
3059 (atanh_test_data): Likewise.
3060 (atan2_test_data): Likewise.
3061 (cbrt_test_data): Likewise.
3062 (cos_test_data): Likewise.
3063 (cosh_test_data): Likewise.
3064 (erf_test_data): Likewise.
3065 (erfc_test_data): Likewise.
3066 (exp_test_data): Likewise.
3067 (exp10_test_data): Likewise.
3068 (exp2_test_data): Likewise.
3069 (expm1_test_data): Likewise.
3070 (hypot_test_data): Likewise.
3071 (j0_test_data): Likewise.
3072 (j1_test_data): Likewise.
3073 (jn_test_data): Likewise.
3074 (lgamma_test_data): Likewise.
3075 (log_test_data): Likewise.
3076 (log10_test_data): Likewise.
3077 (log1p_test_data): Likewise.
3078 (log2_test_data): Likewise.
3079 (pow_test_data): Likewise.
3080 (scalb_test_data): Likewise.
3081 (sin_test_data): Likewise.
3082 (sincos_test_data): Likewise.
3083 (sinh_test_data): Likewise.
3084 (tan_test_data): Likewise.
3085 (tanh_test_data): Likewise.
3086 (tgamma_test_data): Likewise.
3087 (y0_test_data): Likewise.
3088 (y1_test_data): Likewise.
3089 (yn_test_data): Likewise.
3090
66294491
JM
3091 [BZ #16167]
3092 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3093 argument being NaN and avoid computations with second argument in
3094 that case.
3095 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3096 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3097 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3098
1820b143
CL
30992013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3100
3101 * locale/iso-639.def: Add Chitwani Tharu (the).
3102
714bd261
AS
31032013-11-14 Andreas Schwab <schwab@suse.de>
3104
3105 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3106 word instead of empty string.
3107
7ab44563
AZ
31082013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3109
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3111 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3113 (__fe_nomask_env): Likewise.
3114
e8470ea2
SE
31152013-11-13 Steve Ellcey <sellcey@mips.com>
3116
3117 * benchtests/bench-timing.h: Include time.h.
3118
17c1d9f0
L
31192013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3120
3121 [BZ #15997]
3122 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3123 to 3.4.0 for x32.
3124 * sysdeps/unix/sysv/linux/configure: Regenerated.
3125
9310c284
JM
31262013-11-13 Joseph Myers <joseph@codesourcery.com>
3127
3128 [BZ #16151]
3129 * stdlib/strtod_l.c (round_and_return): Do not consider
3130 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3131 exponent one less than half the least subnormal exponent.
3132 * stdlib/test-strtod-round-data: Add more tests.
3133 * stdlib/tst-strtod-round.c (tests): Regenerated.
3134
7a2ad8cf
AZ
31352013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3136
3137 [BZ #14143]
3138 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3139 (__fe_mask_env): Likewise.
3140 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3141 libm_hidden_proto and add function prototype.
3142 (__fe_mask_env): Add function prototype.
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3144 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3146 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3148 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3149
50727aa7
MS
31502013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3151
b2f386c1 3152 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3153 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3154
a615be46
MS
31552013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3156
3157 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3158 of htab_find_slot().
3159
7ddace62
DM
31602013-11-11 David S. Miller <davem@davemloft.net>
3161
3162 [BZ #16150]
3163 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3164 symbol in the non-vis3 case in static builds.
3165 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3166 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3167 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3168 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3169
9182aa67
JK
31702013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3171
3172 [BZ #387]
3173 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3174 it is empty.
3175
450a2e2d
AZ
31762013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177
b2f386c1
SP
3178 * benchtests/Makefile: Add bench-strtod.
3179 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3180
8ec3f656
AS
31812013-11-11 Andreas Schwab <schwab@suse.de>
3182
3183 [BZ #16153]
3184 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3185 terminating NUL in key length.
3186
76a9b998
AZ
31872013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3188
3189 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3190 Add artificial ODP entry for vDSO symbol for PPC64.
3191 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3192 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3193
e4368156
OB
31942013-11-07 Ondřej Bílka <neleai@seznam.cz>
3195
3196 [BZ #15374]
3197 * nss/getent.c (services_keys): Recognize services starting with digit.
3198
8d6bb57c
DM
31992013-11-06 David S. Miller <davem@davemloft.net>
3200
3201 [BZ #15985]
3202 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3203 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3204
e256c421
WN
32052013-11-06 Will Newton <will.newton@linaro.org>
3206
3207 * manual/memory.texi (Malloc Examples): Remove register
3208 keyword from examples.
3209
f6e12daa 32102013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3211
f6e12daa 3212 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3213
9d880655
AS
32142013-11-04 Joseph Myers <joseph@codesourcery.com>
3215
3216 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3217 depending on [__GCC_IEC_559 > 0].
3218 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3219 depending on [__GCC_IEC_559_COMPLEX > 0].
3220
ae129d3c
CL
32212013-11-03 Chris Leonard <cjl@sugarlabs.org>
3222
3223 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3224 to iso-639.def.
3225
4a15c2a4 32262013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3227
3228 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3229
8b35e35d
OB
32302013-11-01 Ondřej Bílka <neleai@seznam.cz>
3231
3232 [BZ #16112]
3233 * malloc/malloc (malloc_info): Do not handle first bin as
3234 special case.
3235
1d70fd6c
CL
32362013-11-01 Chris Leonard <cjl@sugarlabs.org>
3237
3238 * locale/iso-639.def: Add Central Nahuatl (nhn).
3239
8c5c2600
BH
32402013-11-01 Bruno Haible <bruno@clisp.org>
3241
3242 [BZ #7003]
3243 * manual/math.texi (BSD Random): Specify range upper bound as
3244 in POSIX.
3245
da5579c2
CL
32462013-10-31 Chris Leonard <cjl@sugarlabs.org>
3247
3248 * locale/iso-639.def: Add Meadow Mari (mhr).
3249
5d30d853
OB
32502013-10-31 Ondřej Bílka <neleai@seznam.cz>
3251
3252 [BZ #14752], [BZ #15763]
3253 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3254 Validate name.
3255 * rt/tst_shm.c: Add test for escaping directory.
3256
a4966c61
AS
32572013-10-31 Andreas Schwab <schwab@suse.de>
3258
8a43e768 3259 [BZ #15917]
a4966c61
AS
3260 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3261 followed by 'x' as part of digit sequence.
3262 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3263
28d708c4
MAP
32642013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3265
3266 [BZ #16037]
3267 * configure.ac: allow GNU Make 4.0 and greater.
3268 * configure: Regenerated.
3269
a56ee40b
WN
32702013-10-30 Will Newton <will.newton@linaro.org>
3271
3272 [BZ #16038]
3273 * malloc/hooks.c (memalign_check): Limit alignment to the
3274 maximum representable power of two.
3275 * malloc/malloc.c (__libc_memalign): Likewise.
3276 * malloc/tst-memalign.c (do_test): Add test for very
3277 large alignment values.
3278 * malloc/tst-posix_memalign.c (do_test): Likewise.
3279
c6e4925d
OB
32802013-10-30 Ondřej Bílka <neleai@seznam.cz>
3281
3282 [BZ #11087]
3283 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3284 (munmap_chunk): Likewise.
3285 (mremap_chunk): Likewise.
3286
32872013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3288
8a43e768 3289 [BZ #15799]
bbea82f7
OB
3290 * stdlib/div.c (div): Remove obsolete code.
3291 * stdlib/ldiv.c (ldiv): Likewise.
3292 * stdlib/lldiv.c (lldiv): Likewise.
3293
977f4b31
SP
32942013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3295
3296 [BZ #16071]
3297 * nss/nss_files/files-XXX.c (get_contents_ret): New
3298 enumerator.
3299 (get_contents): New function.
3300 (internal_getent): Use it. Expand size of LINEBUFLEN.
3301
cb8a6dbd
MF
33022013-10-30 Mike Frysinger <vapier@gentoo.org>
3303
3304 * configure.in: Moved to ...
3305 * configure.ac: ... here. Change reference to configure.in
3306 to configure.ac.
3307 * sysdeps/arm/preconfigure.ac: ... here.
3308 configure.in to configure.ac.
3309 * sysdeps/gnu/configure.in: Moved to ...
3310 * sysdeps/gnu/configure.ac: ... here.
3311 * sysdeps/i386/configure.in: Moved to ...
3312 * sysdeps/i386/configure.ac: ... here.
3313 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3314 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3315 * sysdeps/mach/configure.in: Moved to ...
3316 * sysdeps/mach/configure.ac: ... here.
3317 * sysdeps/mach/hurd/configure.in: Moved to ...
3318 * sysdeps/mach/hurd/configure.ac: ... here.
3319 * sysdeps/powerpc/configure.in: Moved to ...
3320 * sysdeps/powerpc/configure.ac: ... here.
3321 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3322 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3323 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3324 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3325 * sysdeps/s390/s390-32/configure.in: Moved to ...
3326 * sysdeps/s390/s390-32/configure.ac: ... here.
3327 * sysdeps/s390/s390-64/configure.in: Moved to ...
3328 * sysdeps/s390/s390-64/configure.ac: ... here.
3329 * sysdeps/sh/configure.in: Moved to ...
3330 * sysdeps/sh/configure.ac: ... here.
3331 * sysdeps/sparc/configure.in: Moved to ...
3332 * sysdeps/sparc/configure.ac: ... here.
3333 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3334 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3335 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3336 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3337 * sysdeps/x86_64/configure.in: Moved to ...
3338 * sysdeps/x86_64/configure.ac: ... here.
3339 * sysdeps/x86_64/preconfigure.in: Moved to ...
3340 * sysdeps/x86_64/preconfigure.ac: ... here.
3341 * aclocal.m4: Change reference to configure.in to configure.ac.
3342 * config.h.in: Likewise.
3343 * manual/install.texi: Likewise.
3344 * manual/maint.texi: Likewise.
3345 * Makefile: Likewise.
3346 * malloc/Makefile: Likewise.
3347 * nscd/Makefile: Likewise.
3348 * Makeconfig: Change reference to configure.in and
3349 preconfigure.in to configure.ac and preconfigure.ac
3350 respectively.
3351 * INSTALL: Regenerated.
3352 * configure: Likewise.
3353 * sysdeps/gnu/configure: Likewise.
3354 * sysdeps/i386/configure: Likewise.
3355 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3356 * sysdeps/mach/configure: Likewise.
3357 * sysdeps/mach/hurd/configure: Likewise.
3358 * sysdeps/powerpc/configure: Likewise.
3359 * sysdeps/powerpc/powerpc32/configure: Likewise.
3360 * sysdeps/powerpc/powerpc64/configure: Likewise.
3361 * sysdeps/s390/s390-32/configure: Likewise.
3362 * sysdeps/s390/s390-64/configure: Likewise.
3363 * sysdeps/sh/configure: Likewise.
3364 * sysdeps/sparc/configure: Likewise.
3365 * sysdeps/unix/sysv/linux/configure: Likewise.
3366 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3367 * sysdeps/x86_64/configure: Likewise.
3368 * sysdeps/x86_64/preconfigure: Likewise.
3369
36a4953a
AS
33702013-10-29 Andreas Schwab <schwab@suse.de>
3371
3372 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3373
c79a1204
SP
33742013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3375
dfa1b402
SP
3376 * benchtests/pow-inputs: Add new inputs.
3377
54f73d9c
SP
3378 * benchtests/exp-inputs: Add new inputs.
3379
c79a1204
SP
3380 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3381 conditional check for return value.
3382 (__cos32): Likewise.
3383
67beb545 33842013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3385
3386 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3387 to provide a boost for large inputs with word alignment.
3388 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3389 implementation based on optimized PPC64 strcpy.
3390 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3391 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3392 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3393 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3394
151659f6
OB
33952013-10-25 Ondřej Bílka <neleai@seznam.cz>
3396
482a077e 3397 [BZ #2801]
151659f6
OB
3398 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3399
10b0f26b
OB
34002013-10-25 Ondřej Bílka <neleai@seznam.cz>
3401
3402 [BZ #14876]
3403 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3404 * time/tst-strptime.c (day_tests): Add testcase.
3405
ca42d35e
OB
34062013-10-25 Ondřej Bílka <neleai@seznam.cz>
3407
482a077e 3408 [BZ #14029]
ca42d35e
OB
3409 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3410
52e6d801
FB
34112013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3412
3413 [BZ #16074]
3414 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3415 MAP_FAILED on error.
3416
7cbcdb36
SP
34172013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3418
3419 [BZ #16072]
3420 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3421 heap for large requests.
3422
894f3f10
AM
34232013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3424
3425 [BZ #9954]
3426 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3427 result if the result has no associated interface.
3428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3429 interface for all 127.X.Y.Z addresses.
3430
b85545a6
CL
34312013-10-24 Chris Leonard <cjl@sugarlabs.org>
3432
3433 * locale/iso-639.def: Add Ligurian (lij)
3434
d1f23d46
OB
34352013-10-21 Ondřej Bílka <neleai@seznam.cz>
3436
3437 [BZ #15825]
3438 * sunrpc/rpc_main.c: Document rpcgen -5.
3439
4db5b08f
MS
34402013-10-19 Michael Stahl <mstahl@redhat.com>
3441
3442 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3443
a471e96a
OB
34442013-10-19 Ondřej Bílka <neleai@seznam.cz>
3445
d1f23d46 3446 [BZ #10278]
a471e96a
OB
3447 * posix/glob.c: Match only directories when trailing slash is present.
3448 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3449 (main): Add testcase.
3450
45c30c61
OB
34512013-10-19 Ondřej Bílka <neleai@seznam.cz>
3452
3453 [BZ #15670]
3454 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3455
484c12fb
CD
34562013-10-18 Carlos O'Donell <carlos@redhat.com>
3457
3d7dc513
CD
3458 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3459 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3460 AUTH_DES and cindex for FIPS 140-2.
3461 (DES Encryption): Add cindex FIPS 46-3.
3462
484c12fb
CD
3463 * locale/locarchive.h (struct locarhandle): Add fname.
3464 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3465 if an optional argument was specified to --list-archive,
3466 otherwise NULL.
3467 * locale/programs/locarchive.c (show_archive_content): Take new
3468 argument fname and pass it via ah.fname to open_archive.
3469 * locale/programs/localedef.h: Update decl.
3470 (open_archive): If AH->fname is non-null, open that file
3471 rather than the default file name, and don't ignore ENOENT.
3472 (create_archive): Set AH.fname to NULL.
3473 (delete_locales_from_archive): Likewise.
3474 (add_locales_to_archive): Likewise.
3475 * locale/programs/locfile.c (write_all_categories): Likewise.
3476
3c8325fb
JM
34772013-10-18 Joseph Myers <joseph@codesourcery.com>
3478 Aldy Hernandez <aldyh@redhat.com>
3479
3480 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3481 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3482 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3483 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3484 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3485 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3486 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3487 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3488 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3489 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3490 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3491 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3492 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3493 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3494 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3495 Likewise.
3496 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3497 Likewise.
3498 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3499 Likewise.
3500 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3501 Likewise.
3502 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3503 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3504 Likewise.
3505 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3506 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3507 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3508 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3509 Likewise.
3510 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3511 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3512 * sysdeps/powerpc/preconfigure: Likewise.
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3514 Likewise.
3515 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3516 Replace contents of file by #include of <fenv_libc.h>.
3517 * sysdeps/powerpc/soft-fp/sfp-machine.h
3518 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3519 and <sys/prctl.h>.
3520 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3521 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3522 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3523 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3525 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3527 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3528 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3529 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3530 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3533 Allow copysignl PLT reference to be missing.
3534
5abe0682
RS
35352013-10-18 Richard Sandiford <richard@codesourcery.com>
3536 Joseph Myers <joseph@codesourcery.com
3537
3538 [BZ #15948]
3539 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3540 single character.
3541 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3542
c7738d08
SP
35432013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3544
3545 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3546 * elf/tst-tls1.c: Likewise.
3547 * elf/tst-tls10.h: Likewise.
3548 * elf/tst-tls14.c: Likewise.
3549 * elf/tst-tls2.c: Likewise.
3550 * elf/tst-tls3.c: Likewise.
3551 * elf/tst-tls4.c: Likewise.
3552 * elf/tst-tls5.c: Likewise.
3553 * elf/tst-tls6.c: Likewise.
3554 * elf/tst-tls7.c: Likewise.
3555 * elf/tst-tls8.c: Likewise.
3556 * elf/tst-tls9.c: Likewise.
3557 * elf/tst-tlsmod1.c: Likewise.
3558 * elf/tst-tlsmod13.c: Likewise.
3559 * elf/tst-tlsmod13a.c: Likewise.
3560 * elf/tst-tlsmod14a.c: Likewise.
3561 * elf/tst-tlsmod16a.c: Likewise.
3562 * elf/tst-tlsmod16b.c: Likewise.
3563 * elf/tst-tlsmod2.c: Likewise.
3564 * elf/tst-tlsmod3.c: Likewise.
3565 * elf/tst-tlsmod4.c: Likewise.
3566 * elf/tst-tlsmod5.c: Likewise.
3567 * elf/tst-tlsmod6.c: Likewise.
3568
0bfcf2c7
OB
35692013-10-18 Ondřej Bílka <neleai@seznam.cz>
3570
3571 [BZ #12486]
3572 * malloc/malloc.c: remove checks for statistics.
3573
264aad1e
OB
35742013-10-17 Ondřej Bílka <neleai@seznam.cz>
3575
3576 [BZ #15277]
3577 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3578 * inet/tst-network.c: Add testcase.
3579
b957ced8
AS
35802013-10-17 Andreas Schwab <schwab@suse.de>
3581
3582 [BZ #15218]
3583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3584 to determine canonical name.
3585
c5d5d574
OB
35862013-10-17 Ondřej Bílka <neleai@seznam.cz>
3587
3588 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3589 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3591 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3593 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3594 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3595 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3597 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3598 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3600 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3601 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3602 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3603 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3606 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3607 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3612 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3613 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3618 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3630 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3638 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3639 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3640 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3641 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3643 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3645 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3646
e5c2c2d0
JM
36472013-10-17 Joseph Myers <joseph@codesourcery.com>
3648
3649 [BZ #16041]
3650 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3651 make result into a quiet NaN.
3652
51ca9e29
JM
36532013-10-16 Joseph Myers <joseph@codesourcery.com>
3654
3655 * soft-fp/adddf3.c: Fix horizontal whitespace.
3656 * soft-fp/addsf3.c: Likewise.
3657 * soft-fp/addtf3.c: Likewise.
3658 * soft-fp/divdf3.c: Likewise.
3659 * soft-fp/divsf3.c: Likewise.
3660 * soft-fp/divtf3.c: Likewise.
3661 * soft-fp/double.h: Likewise.
3662 * soft-fp/eqdf2.c: Likewise.
3663 * soft-fp/eqsf2.c: Likewise.
3664 * soft-fp/eqtf2.c: Likewise.
3665 * soft-fp/extenddftf2.c: Likewise.
3666 * soft-fp/extended.h: Likewise.
3667 * soft-fp/extendsfdf2.c: Likewise.
3668 * soft-fp/extendsftf2.c: Likewise.
3669 * soft-fp/extendxftf2.c: Likewise.
3670 * soft-fp/fixdfdi.c: Likewise.
3671 * soft-fp/fixdfsi.c: Likewise.
3672 * soft-fp/fixdfti.c: Likewise.
3673 * soft-fp/fixsfdi.c: Likewise.
3674 * soft-fp/fixsfsi.c: Likewise.
3675 * soft-fp/fixsfti.c: Likewise.
3676 * soft-fp/fixtfdi.c: Likewise.
3677 * soft-fp/fixtfsi.c: Likewise.
3678 * soft-fp/fixtfti.c: Likewise.
3679 * soft-fp/fixunsdfdi.c: Likewise.
3680 * soft-fp/fixunsdfsi.c: Likewise.
3681 * soft-fp/fixunsdfti.c: Likewise.
3682 * soft-fp/fixunssfdi.c: Likewise.
3683 * soft-fp/fixunssfsi.c: Likewise.
3684 * soft-fp/fixunssfti.c: Likewise.
3685 * soft-fp/fixunstfdi.c: Likewise.
3686 * soft-fp/fixunstfsi.c: Likewise.
3687 * soft-fp/fixunstfti.c: Likewise.
3688 * soft-fp/floatdidf.c: Likewise.
3689 * soft-fp/floatdisf.c: Likewise.
3690 * soft-fp/floatditf.c: Likewise.
3691 * soft-fp/floatsidf.c: Likewise.
3692 * soft-fp/floatsisf.c: Likewise.
3693 * soft-fp/floatsitf.c: Likewise.
3694 * soft-fp/floattidf.c: Likewise.
3695 * soft-fp/floattisf.c: Likewise.
3696 * soft-fp/floattitf.c: Likewise.
3697 * soft-fp/floatundidf.c: Likewise.
3698 * soft-fp/floatundisf.c: Likewise.
3699 * soft-fp/floatunditf.c: Likewise.
3700 * soft-fp/floatunsidf.c: Likewise.
3701 * soft-fp/floatunsisf.c: Likewise.
3702 * soft-fp/floatunsitf.c: Likewise.
3703 * soft-fp/floatuntidf.c: Likewise.
3704 * soft-fp/floatuntisf.c: Likewise.
3705 * soft-fp/floatuntitf.c: Likewise.
3706 * soft-fp/fmadf4.c: Likewise.
3707 * soft-fp/fmasf4.c: Likewise.
3708 * soft-fp/fmatf4.c: Likewise.
3709 * soft-fp/gedf2.c: Likewise.
3710 * soft-fp/gesf2.c: Likewise.
3711 * soft-fp/getf2.c: Likewise.
3712 * soft-fp/ledf2.c: Likewise.
3713 * soft-fp/lesf2.c: Likewise.
3714 * soft-fp/letf2.c: Likewise.
3715 * soft-fp/muldf3.c: Likewise.
3716 * soft-fp/mulsf3.c: Likewise.
3717 * soft-fp/multf3.c: Likewise.
3718 * soft-fp/negdf2.c: Likewise.
3719 * soft-fp/negsf2.c: Likewise.
3720 * soft-fp/negtf2.c: Likewise.
3721 * soft-fp/op-1.h: Likewise.
3722 * soft-fp/op-2.h: Likewise.
3723 * soft-fp/op-4.h: Likewise.
3724 * soft-fp/op-8.h: Likewise.
3725 * soft-fp/op-common.h: Likewise.
3726 * soft-fp/quad.h: Likewise.
3727 * soft-fp/single.h: Likewise.
3728 * soft-fp/soft-fp.h: Likewise.
3729 * soft-fp/sqrtdf2.c: Likewise.
3730 * soft-fp/sqrtsf2.c: Likewise.
3731 * soft-fp/sqrttf2.c: Likewise.
3732 * soft-fp/subdf3.c: Likewise.
3733 * soft-fp/subsf3.c: Likewise.
3734 * soft-fp/subtf3.c: Likewise.
3735 * soft-fp/truncdfsf2.c: Likewise.
3736 * soft-fp/trunctfdf2.c: Likewise.
3737 * soft-fp/trunctfsf2.c: Likewise.
3738 * soft-fp/trunctfxf2.c: Likewise.
3739 * soft-fp/unorddf2.c: Likewise.
3740 * soft-fp/unordsf2.c: Likewise.
3741 * soft-fp/unordtf2.c: Likewise.
3742
9ebb0332
JM
37432013-10-15 Joseph Myers <joseph@codesourcery.com>
3744
3745 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3746 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3747
4b1a6d8b
OB
37482013-10-15 Ondřej Bílka <neleai@seznam.cz>
3749
3750 * elf/dl-libc.c: Clear initfini list after freeing.
3751
1e145589
JM
37522013-10-14 Joseph Myers <joseph@codesourcery.com>
3753
3754 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3755 * soft-fp/addsf3.c: Likewise.
3756 * soft-fp/addtf3.c: Likewise.
3757 * soft-fp/divdf3.c: Likewise.
3758 * soft-fp/divsf3.c: Likewise.
3759 * soft-fp/divtf3.c: Likewise.
3760 * soft-fp/double.h: Likewise.
3761 * soft-fp/eqdf2.c: Likewise.
3762 * soft-fp/eqsf2.c: Likewise.
3763 * soft-fp/eqtf2.c: Likewise.
3764 * soft-fp/extenddftf2.c: Likewise.
3765 * soft-fp/extended.h: Likewise.
3766 * soft-fp/extendsfdf2.c: Likewise.
3767 * soft-fp/extendsftf2.c: Likewise.
3768 * soft-fp/extendxftf2.c: Likewise.
3769 * soft-fp/fixdfdi.c: Likewise.
3770 * soft-fp/fixdfsi.c: Likewise.
3771 * soft-fp/fixdfti.c: Likewise.
3772 * soft-fp/fixsfdi.c: Likewise.
3773 * soft-fp/fixsfsi.c: Likewise.
3774 * soft-fp/fixsfti.c: Likewise.
3775 * soft-fp/fixtfdi.c: Likewise.
3776 * soft-fp/fixtfsi.c: Likewise.
3777 * soft-fp/fixtfti.c: Likewise.
3778 * soft-fp/fixunsdfdi.c: Likewise.
3779 * soft-fp/fixunsdfsi.c: Likewise.
3780 * soft-fp/fixunsdfti.c: Likewise.
3781 * soft-fp/fixunssfdi.c: Likewise.
3782 * soft-fp/fixunssfsi.c: Likewise.
3783 * soft-fp/fixunssfti.c: Likewise.
3784 * soft-fp/fixunstfdi.c: Likewise.
3785 * soft-fp/fixunstfsi.c: Likewise.
3786 * soft-fp/fixunstfti.c: Likewise.
3787 * soft-fp/floatdidf.c: Likewise.
3788 * soft-fp/floatdisf.c: Likewise.
3789 * soft-fp/floatditf.c: Likewise.
3790 * soft-fp/floatsidf.c: Likewise.
3791 * soft-fp/floatsisf.c: Likewise.
3792 * soft-fp/floatsitf.c: Likewise.
3793 * soft-fp/floattidf.c: Likewise.
3794 * soft-fp/floattisf.c: Likewise.
3795 * soft-fp/floattitf.c: Likewise.
3796 * soft-fp/floatundidf.c: Likewise.
3797 * soft-fp/floatundisf.c: Likewise.
3798 * soft-fp/floatunsidf.c: Likewise.
3799 * soft-fp/floatunsisf.c: Likewise.
3800 * soft-fp/floatuntidf.c: Likewise.
3801 * soft-fp/floatuntisf.c: Likewise.
3802 * soft-fp/floatuntitf.c: Likewise.
3803 * soft-fp/fmadf4.c: Likewise.
3804 * soft-fp/fmasf4.c: Likewise.
3805 * soft-fp/fmatf4.c: Likewise.
3806 * soft-fp/gedf2.c: Likewise.
3807 * soft-fp/gesf2.c: Likewise.
3808 * soft-fp/getf2.c: Likewise.
3809 * soft-fp/ledf2.c: Likewise.
3810 * soft-fp/lesf2.c: Likewise.
3811 * soft-fp/letf2.c: Likewise.
3812 * soft-fp/muldf3.c: Likewise.
3813 * soft-fp/mulsf3.c: Likewise.
3814 * soft-fp/multf3.c: Likewise.
3815 * soft-fp/negdf2.c: Likewise.
3816 * soft-fp/negsf2.c: Likewise.
3817 * soft-fp/negtf2.c: Likewise.
3818 * soft-fp/op-1.h: Likewise.
3819 * soft-fp/op-2.h: Likewise.
3820 * soft-fp/op-4.h: Likewise.
3821 * soft-fp/op-8.h: Likewise.
3822 * soft-fp/op-common.h: Likewise.
3823 * soft-fp/quad.h: Likewise.
3824 * soft-fp/single.h: Likewise.
3825 * soft-fp/soft-fp.h: Likewise.
3826 * soft-fp/sqrtdf2.c: Likewise.
3827 * soft-fp/sqrtsf2.c: Likewise.
3828 * soft-fp/sqrttf2.c: Likewise.
3829 * soft-fp/subdf3.c: Likewise.
3830 * soft-fp/subsf3.c: Likewise.
3831 * soft-fp/subtf3.c: Likewise.
3832 * soft-fp/truncdfsf2.c: Likewise.
3833 * soft-fp/trunctfdf2.c: Likewise.
3834 * soft-fp/trunctfsf2.c: Likewise.
3835 * soft-fp/trunctfxf2.c: Likewise.
3836 * soft-fp/unorddf2.c: Likewise.
3837 * soft-fp/unordsf2.c: Likewise.
3838 * soft-fp/unordtf2.c: Likewise.
3839
17c48a60
OB
38402013-10-14 Ondřej Bílka <neleai@seznam.cz>
3841
3842 [BZ #15672]
3843 * misc/error.c (error_tail): Fix possible buffer overflow.
3844
cabba934
OB
38452013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3846
3847 [BZ #13028]
3848 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3849 address.
3850
94bf958a
PM
38512013-10-14 P. J. McDermott <pj@pehjota.net>
3852
3853 [BZ #832]
3854 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3855 testing pipefail option.
3856
71b4dea7
JM
38572013-10-12 Joseph Myers <joseph@codesourcery.com>
3858
3859 * soft-fp/double.h: Indent preprocessor directives inside #if.
3860 * soft-fp/extended.h: Likewise.
3861 * soft-fp/op-2.h: Likewise.
3862 * soft-fp/op-4.h: Likewise.
3863 * soft-fp/op-common.h: Likewise.
3864 * soft-fp/quad.h: Likewise.
3865 * soft-fp/single.h: Likewise.
3866 * soft-fp/soft-fp.h: Likewise.
3867
55602758
YC
38682013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3869
3870 * iconv/iconv_prog.c: Fix typos.
3871 * stdio-common/psiginfo-data.h: Likewise.
3872
9cd83302
RT
38732013-10-12 Reuben Thomas <rrt@sc3d.org>
3874
3875 [BZ #15764]
3876 * locale/setlocale.c: Fix typo.
3877
99fd9f47
JM
38782013-10-12 Joseph Myers <joseph@codesourcery.com>
3879
b7ea74f0
JM
3880 [BZ #16036]
3881 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3882 signaling NaN arguments.
3883 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3884 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3885
8a509447
JM
3886 [BZ #14910]
3887 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3888 unordered operands.
3889 * soft-fp/gesf2.c (__gesf2): Likewise.
3890 * soft-fp/getf2.c (__getf2): Likewise.
3891 * soft-fp/ledf2.c (__ledf2): Likewise.
3892 * soft-fp/lesf2.c (__lesf2): Likewise.
3893 * soft-fp/letf2.c (__letf2): Likewise.
3894
98998e9f
JM
3895 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3896 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3897 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3898 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3899 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3900 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3901 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3902 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3903 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3904 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3905 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3906 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3907 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3908 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3909 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3910 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3911 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3912 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3913 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3914 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3915 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3916 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3917 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3918 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3919 * soft-fp/floattidf.c (__floattidf): Likewise.
3920 * soft-fp/floattisf.c (__floattisf): Likewise.
3921 * soft-fp/floattitf.c (__floattitf): Likewise.
3922 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3923 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3924 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3925 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3926 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3927 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3928 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3929 * soft-fp/gesf2.c (__gesf2): Likewise.
3930 * soft-fp/getf2.c (__getf2): Likewise.
3931 * soft-fp/ledf2.c (__ledf2): Likewise.
3932 * soft-fp/lesf2.c (__lesf2): Likewise.
3933 * soft-fp/letf2.c (__letf2): Likewise.
3934
8edc4a11
JM
3935 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3936 Undefine and redefine.
3937 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3938 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3939 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3940 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3941 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3942 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3943 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3944 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3945 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3946 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3947 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3948 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3949 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3950 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3951 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3952
8399acaf
JM
3953 [BZ #16032]
3954 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3955 without decrementing exponent if mantissa >= that for the
3956 denominator, not >.
3957 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3958 denominator, not >. Decrement exponent in < case instead of
3959 incrementing in >= case.
3960 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3961 without decrementing exponent if mantissa >= that for the
3962 denominator, not >.
3963
99fd9f47
JM
3964 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3965 computing saturated result for unsigned overflow.
3966
10e1cf6b
SP
39672013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3968 Jeff Law <law@redhat.com>
3969
3970 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3971 (atan2Mp): Add systemtap probe marker.
3972 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3973 (__ieee754_log): Add systemtap probe marker.
3974 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3975 (atanMp): Add systemtap probe marker.
3976 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3977 (tanMp): Add systemtap probe marker.
3978 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3979 (__slowexp): Add systemtap probe marker.
3980 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3981 (__slowpow): Add systemtap probe marker.
3982 * manual/probes.texi: Document probes.
3983
3d110c7c
EB
39842013-10-11 Eric Biggers <ebiggers3@gmail.com>
3985
3986 [BZ #15362]
3987 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3988 written.
3989 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3990 written.
3991 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3992 written to buffer but not flushed.
3993 * libio/iofwrite_u.c: Likewise.
3994 * libio/iopadn.c: Return bytes returned even if EOF was
3995 encountered.
3996 * libio/iowpadn.c: Likewise.
3997 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3998 if _IO_padn does not write the whole buffer.
3999 [!COMPILE_WPRINTF] (PAD): Likewise.
4000
75b4202a
DM
40012013-10-10 David S. Miller <davem@davemloft.net>
4002
4003 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4004 directory block.
4005
6c6352e6
JM
40062013-10-10 Joseph Myers <joseph@codesourcery.com>
4007
33b853c3
JM
4008 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4009 instead of FSF address.
4010 * soft-fp/fixdfti.c: Likewise.
4011 * soft-fp/fixsfti.c: Likewise.
4012 * soft-fp/fixtfti.c: Likewise.
4013 * soft-fp/fixunsdfti.c: Likewise.
4014 * soft-fp/fixunssfti.c: Likewise.
4015 * soft-fp/fixunstfti.c: Likewise.
4016 * soft-fp/floattidf.c: Likewise.
4017 * soft-fp/floattisf.c: Likewise.
4018 * soft-fp/floattitf.c: Likewise.
4019 * soft-fp/floatuntidf.c: Likewise.
4020 * soft-fp/floatuntisf.c: Likewise.
4021 * soft-fp/floatuntitf.c: Likewise.
4022 * soft-fp/trunctfxf2.c: Likewise.
4023
6c6352e6
JM
4024 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4025 * soft-fp/fixdfti.c: Likewise.
4026 * soft-fp/fixsfti.c: Likewise.
4027 * soft-fp/fixtfti.c: Likewise.
4028 * soft-fp/fixunsdfti.c: Likewise.
4029 * soft-fp/fixunssfti.c: Likewise.
4030 * soft-fp/fixunstfti.c: Likewise.
4031 * soft-fp/floattidf.c: Likewise.
4032 * soft-fp/floattisf.c: Likewise.
4033 * soft-fp/floattitf.c: Likewise.
4034 * soft-fp/floatuntidf.c: Likewise.
4035 * soft-fp/floatuntisf.c: Likewise.
4036 * soft-fp/floatuntitf.c: Likewise.
4037 * soft-fp/trunctfxf2.c: Likewise.
4038
3bf78b71
DM
40392013-10-10 David S. Miller <davem@davemloft.net>
4040
4041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4042
6f10289e
JM
40432013-10-10 Joseph Myers <joseph@codsourcery.com>
4044
bd878fc0
JM
4045 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4046 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4047 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4048 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4049 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4050 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4051 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4052
6f10289e
JM
4053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4054 for NaNs before doing comparisons on argument.
4055 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4056 Likewise.
4057
321e2684
WN
40582013-10-10 Will Newton <will.newton@linaro.org>
4059
4060 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4061 passed to _int_memalign does not overflow.
4062
40fefba1
TR
40632013-10-10 Torvald Riegel <triegel@redhat.com>
4064
4065 * scripts/bench.pl: Add include-sources directive.
4066 * benchtests/README: Update documentation.
4067
2ae21ed2
JM
40682013-10-10 Joseph Myers <joseph@codesourcery.com>
4069
dcc2dd3f
JM
4070 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4071 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4072 instead of FP_INIT_ROUNDMODE.
4073 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4074 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4075
2ae21ed2
JM
4076 [BZ #16034]
4077 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4078 copy class of input value.
4079 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4080 not handle exceptions.
4081 * soft-fp/negsf2.c (__negsf2): Likewise.
4082 * soft-fp/negtf2.c (__negtf2): Likewise.
4083 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4084
cb8f9562
JM
40852013-10-09 Joseph Myers <joseph@codesourcery.com>
4086
4087 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4088 semicolon. From Linux kernel.
4089
5b60c59d
AB
40902013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4091
4092 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4093
b86835ca
YC
40942013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4095
4096 [BZ #156]
4097 * manual/socket.texi: Added statement about buffer
4098 for gethostbyname2_r.
4099
e7044ea7
OB
41002013-10-08 Ondřej Bílka <neleai@seznam.cz>
4101
4102 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4103 Use .p2align directive instead, throughout.
4104 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4105 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4106 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4109 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4110 * sysdeps/x86_64/strchr.S: Likewise.
4111 * sysdeps/x86_64/strrchr.S: Likewise.
4112
09544cbc
SP
41132013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4114
88576635
SP
4115 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4116
e7b2d1dd
SP
4117 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4118
09544cbc
SP
4119 * sysdeps/generic/math_private.h (__mpsin1): Remove
4120 declaration.
4121 (__mpcos1): Likewise.
4122 (__mpsin): New argument __range_reduce.
4123 (__mpcos): Likewise.
4124 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4125 (slow): Use __mpsin and __mpcos.
4126 (slow1): Likewise.
4127 (slow2): Likewise.
4128 (sloww): Likewise.
4129 (sloww1): Likewise.
4130 (sloww2): Likewise.
4131 (bsloww): Likewise.
4132 (bsloww1): Likewise.
4133 (bsloww2): Likewise.
4134 (cslow2): Likewise.
4135 (csloww): Likewise.
4136 (csloww1): Likewise.
4137 (csloww2): Likewise.
4138 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4139 range_reduce. Merge in __mpsin1.
4140 (__mpcos): Likewise.
4141 (__mpsin1): Remove.
4142 (__mpcos1): Likewise.
4143
7602d070
JM
41442013-10-07 Joseph Myers <joseph@codesourcery.com>
4145
4146 * locale/loadlocale.c (_nl_intern_locale_data): Use
4147 LOCFILE_ALIGNED_P.
4148 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4149 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4150 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4151 obstack data is appropriately aligned.
4152 (obstack_int32_grow_fast): Likewise.
4153 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4154 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4155 (add_locale_uint32_array): Likewise.
4156
a357259b
SP
41572013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4158
4159 * benchtests/Makefile: Remove ARGLIST and RET variables.
4160 ($(objpfx)bench-%.c): Pass only function name to the script.
4161 * benchtests/README: Update documentation.
4162 * benchtests/acos-inputs: Add new directives.
4163 * benchtests/acosh-inputs: Likewise.
4164 * benchtests/asin-inputs: Likewise.
4165 * benchtests/asinh-inputs: Likewise.
4166 * benchtests/atan-inputs: Likewise.
4167 * benchtests/atanh-inputs: Likewise.
4168 * benchtests/cos-inputs: Likewise.
4169 * benchtests/cosh-inputs: Likewise.
4170 * benchtests/exp-inputs: Likewise.
4171 * benchtests/log-inputs: Likewise.
4172 * benchtests/pow-inputs: Likewise.
4173 * benchtests/rint-inputs: Likewise.
4174 * benchtests/sin-inputs: Likewise.
4175 * benchtests/sinh-inputs: Likewise.
4176 * benchtests/tan-inputs: Likewise.
4177 * benchtests/tanh-inputs: Likewise.
4178 * scripts/bench.pl: Add support for new directives.
4179
9ec1b13d
AM
41802013-10-07 Alan Modra <amodra@gmail.com>
4181
4182 * README: Fix careless merge.
4183
8b7d57cd
AM
41842013-10-05 Alan Modra <amodra@gmail.com>
4185
4186 * NEWS: Mention powerpc64le support and bugs fixed.
4187 * README: Both big-endian and little-endian powerpc64 supported.
4188
7b7bab13
ST
41892013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4190
4191 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4192 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4193 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4194 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4195
d39baad1
RA
41962013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4197
4198 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4199 match prototype.
4200
cd78f7e7
JM
42012013-10-04 Joseph Myers <joseph@codesourcery.com>
4202
29d73d86
JM
4203 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4204 Move -mhard-float appending from
4205 ports/sysdeps/powerpc/powerpc32/Makefile.
4206 [$(with-fp) = yes] (ASFLAGS): Likewise.
4207 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4208 * sysdeps/powerpc/nofpu: Move directory from
4209 ports/sysdeps/powerpc/nofpu.
4210 * sysdeps/powerpc/soft-fp: Move directory from
4211 ports/sysdeps/powerpc/soft-fp.
4212 * sysdeps/powerpc/powerpc32/405: Move directory from
4213 ports/sysdeps/powerpc/powerpc32/405.
4214 * sysdeps/powerpc/powerpc32/440: Move directory from
4215 ports/sysdeps/powerpc/powerpc32/440.
4216 * sysdeps/powerpc/powerpc32/464: Move directory from
4217 ports/sysdeps/powerpc/powerpc32/464.
4218 * sysdeps/powerpc/powerpc32/476: Move directory from
4219 ports/sysdeps/powerpc/powerpc32/476.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4221 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4223 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4225 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4227 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4229 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4230 * README: Update for powerpc-*-linux-gnu software floating point
4231 support in libc.
4232
e246b347
JM
4233 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4234 case to powerpc/powerpc32*.
4235 * sysdeps/unix/sysv/linux/configure: Regenerated.
4236
89c2003e
JM
4237 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4238 (_FPU_MASK_OM): Define as 0x04.
4239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4241 0x00c10080.
4242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4243 0x0000003c.
4244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4245
cd78f7e7
JM
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4247 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4248 getcontext_e500.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4250 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4251 setcontext_e500.
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4253 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4254 and setcontext_e500.
4255
c755294d
CL
42562013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4257
4258 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4259
e16d221c
SP
42602013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4261
4262 * manual/threads.texi (Default Thread Attributes): Fix typo.
4263
215c7d43
WN
42642013-10-04 Will Newton <will.newton@linaro.org>
4265
4266 * malloc/Makefile: Add tst-memalign.
4267 * malloc/tst-memalign.c: New file.
4268
27d0461b
WN
4269 * malloc/tst-posix_memalign.c: Add comments.
4270 (do_test): Add comments and call free on all potentially
4271 allocated pointers. Add space after cast.
4272
1bc92709
WN
4273 * malloc/tst-pvalloc.c: Add comments.
4274 (do_test): Add comments and call free on all potentially
4275 allocated pointers. Remove duplicate check for NULL pointer.
4276 Add space after cast.
4277
66a9be9d
WN
4278 * malloc/tst-valloc.c: Add comments.
4279 (do_test): Add comments and call free on all potentially
4280 allocated pointers. Remove duplicate check for NULL pointer.
4281 Add space after cast.
4282
4cb81307
AM
42832013-10-04 Alan Modra <amodra@gmail.com>
4284
4285 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4286 Use stdint types in rather than __attribute__((mode())).
4287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4288
f8e3e9f3
AM
42892013-10-04 Alan Modra <amodra@gmail.com>
4290
4291 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4292 Correct handling of unaligned relocs for little-endian.
4293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4294
8f9ebb08
AM
42952013-10-04 Alan Modra <amodra@gmail.com>
4296
4297 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4298 * configure: Regenerate.
4299 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4300 * shlib-versions: Likewise.
4301
0edf96c2
AM
43022013-10-04 Alan Modra <amodra@gmail.com>
4303
4304 * string/tester.c (test_memrchr): Increment reported test cycle.
4305
e0f7a380
AM
43062013-10-04 Alan Modra <amodra@gmail.com>
4307
4308 * string/test-memcpy.c (do_one_test): When reporting errors, print
4309 string address and don't overrun end of string.
4310
466b0393
AM
43112013-10-04 Alan Modra <amodra@gmail.com>
4312
4313 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4314 insrdi. Make better use of reg selection to speed exit slightly.
4315 Schedule entry path a little better. Remove useless "are we done"
4316 checks on entry to main loop. Handle wrapping around zero address.
4317 Correct main loop count. Handle single left-over word from main
4318 loop inline rather than by using loop_small. Remove extra word
4319 case in loop_small caused by wrong loop count. Add little-endian
4320 support.
4321 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4322 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4323 cache hint.
4324 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4325 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4326 support. Avoid rlwimi.
4327 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4328
3be87c77
AM
43292013-10-04 Alan Modra <amodra@gmail.com>
4330
4331 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4332 insrdi. Formatting.
3be87c77
AM
4333 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4334 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4335 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4336 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4337 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4338 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4339
759cfef3
AM
43402013-10-04 Alan Modra <amodra@gmail.com>
4341
4342 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4343 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4344 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4345 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4346 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4347 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4348 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4349 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4350 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4351 use of regs. Use power7 mtocrf. Tidy function tails.
4352
fe6e95d7
AM
43532013-10-04 Alan Modra <amodra@gmail.com>
4354
4355 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4356 Formatting. Consistently use rXXX register defines or rN defines.
4357 Use early exit labels that avoid restoring unused non-volatile regs.
4358 Make cr field use more consistent with rWORDn compares. Rename
4359 regs used as shift registers for unaligned loop, using rN defines
4360 for short lifetime/multiple use regs.
4361 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4362 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4363 addi 1,1,64 to pop stack frame. Simplify return value code.
4364 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4365
664318c3
AM
43662013-10-04 Alan Modra <amodra@gmail.com>
4367
4368 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4369 support. Correct typos, formatting. Optimize tail. Use insrdi
4370 rather than rlwimi.
4371 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4372 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4373 little-endian support. Correct typos.
4374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4375 rather than rlwimi.
4376 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4377 in loop and entry code to keep "and." results.
4378 (strchr): Add little-endian support. Comment. Move cntlzd
4379 earlier in tail.
4380 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4381
43b84013
AM
43822013-10-04 Alan Modra <amodra@gmail.com>
4383
4384 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4385 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4386 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4387 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4388
8a7413f9
AM
43892013-10-04 Alan Modra <amodra@gmail.com>
4390
4391 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4392 (rTMP): Define as r11.
4393 (strcmp): Add little-endian support. Optimise tail.
4394 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4395 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4396 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4398 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4400 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4401
33ee81de
AM
44022013-10-04 Alan Modra <amodra@gmail.com>
4403
4404 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4405 little-endian support. Remove unnecessary "are we done" tests.
4406 Handle "s" wrapping around zero and extremely large "size".
4407 Correct main loop count. Handle single left-over word from main
4408 loop inline rather than by using small_loop. Correct comments.
4409 Delete "zero" tail, use "end_max" instead.
4410 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4411
db9b4570
AM
44122013-10-04 Alan Modra <amodra@gmail.com>
4413
4414 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4415 support. Don't branch over align.
4416 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4417 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4418 support. Rearrange tmp reg use to suit. Comment.
4419 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4420
f7c399cf
AM
44212013-10-04 Alan Modra <amodra@gmail.com>
4422
4423 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4424
0b2c2ace
AM
44252013-10-04 Alan Modra <amodra@gmail.com>
4426
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4428 conditional form of branch and link when obtaining pc.
4429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4430
02f04a6c
AM
44312013-10-04 Alan Modra <amodra@gmail.com>
4432
4433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4434 HIWORD/LOWORD.
4435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4437
9b874b2f
AM
44382013-10-04 Alan Modra <amodra@gmail.com>
4439
4440 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4441 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4442 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4443 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4444 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4445 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4446 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4447 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4448 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4449 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4450
be1e5d31
AB
44512013-10-04 Anton Blanchard <anton@au1.ibm.com>
4452 Alistair Popple <alistair@ozlabs.au.ibm.com>
4453 Alan Modra <amodra@gmail.com>
4454
4455 [BZ #15723]
4456 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4457 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4458 _dl_hwcap access for little-endian.
4459 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4460 destroy vmx regs when saving unaligned.
4461 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4462 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4463 destroy vmx regs when saving unaligned.
4464
fef13a78
AM
44652013-10-04 Alan Modra <amodra@gmail.com>
4466
4467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4468 Don't use a union to pack hi/low value.
4469
76a66d51
AB
44702013-10-04 Anton Blanchard <anton@au1.ibm.com>
4471
4472 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4473 for little-endian.
4474 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4476 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4477 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4478 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4479
6a31fe7f
AM
44802013-10-04 Alan Modra <amodra@gmail.com>
4481
4482 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4483 constants to usual value for .cst8 section, and remove redundant
4484 high address load.
4485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4486 constant for 0x1p52. Load little-endian words of double from
4487 correct stack offsets.
4488
7b88401f
AM
44892013-10-04 Alan Modra <amodra@gmail.com>
4490
4491 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4492 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4493 words of double from correct stack offsets.
4494 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4495 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4496 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4498 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4499 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4500 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4501 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4502 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4503 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4504 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4505 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4506 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4507 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4508 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4509 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4510 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4511
9c008155
AM
45122013-10-04 Alan Modra <amodra@gmail.com>
4513
4514 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4515 64-bit int/double union.
4516 (_FPU_SETCW): Likewise.
4517 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4518 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4519
da13146d
AM
45202013-10-04 Alan Modra <amodra@gmail.com>
4521
4522 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4523 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4524
603e8410
AM
45252013-10-04 Alan Modra <amodra@gmail.com>
4526
4527 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4528 use vector int constants.
4529 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4530
4a28b3ca
AB
45312013-10-04 Anton Blanchard <anton@au1.ibm.com>
4532
4533 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4534 array with long long.
4535 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4536 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4537 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4538 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4539 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4540 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4541 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4542 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4543 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4544 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4545 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4546 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4547 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4548
2ca85d2b
AB
45492013-10-04 Anton Blanchard <anton@au1.ibm.com>
4550
4551 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4552 (__signbit): Likewise. Correct for little-endian.
4553 (__signbitl): Call __signbit.
4554 (lrint): Correct for little-endian.
4555 (lrintf): Call lrint.
4556
62a728ae
AM
45572013-10-04 Alan Modra <amodra@gmail.com>
4558
4559 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4560 union 32-bit int array member with 64-bit int array.
4561 (t515, tm256): Double rather than long double.
4562 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4563
32c301df
AM
45642013-10-04 Alan Modra <amodra@gmail.com>
4565
4566 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4567 Delete.
4568 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4570 version of math_ldbl.h.
4571
650ef4bd
AM
45722013-10-04 Alan Modra <amodra@gmail.com>
4573
4574 [BZ #15734], [BZ #15735]
4575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4576 all uses of ieee875 long double macros and unions. Simplify test
4577 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4578 ldbl_extract_mantissa value for ix,iy exponents. Properly
4579 normalize after ldbl_extract_mantissa, and don't add hidden bit
4580 already handled. Don't treat low word of ieee854 mantissa like
4581 low word of IBM long double and mask off bit when testing for
4582 zero.
4583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4584 all uses of ieee875 long double macros and unions. Simplify tests
4585 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4586 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4587 two1022, instead use their values. Recognise that tests for large
4588 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4589 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4590 Rewrite all uses of ieee875 long double macros and unions. Simplify
4591 test for 0.0L and nan. Correct negation.
4592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4593 ieee875 long double macros and unions. Correct output for large
4594 magnitude x. Correct absolute value calculation.
4595 (__erfcl): Likewise.
4596 * math/libm-test.inc: Add tests for errors discovered in IBM long
4597 double versions of fmodl, remainderl, erfl and erfcl.
4598
765714ca
AM
45992013-10-04 Alan Modra <amodra@gmail.com>
4600
4601 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4602 all uses of ieee854 long double macros and unions. Simplify tests
4603 for long doubles that are fully specified by the high double.
4604 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4605 Likewise.
4606 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4607 Remove dead code too.
4608 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4609 (__ieee754_ynl): Likewise.
4610 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4613 Remove dead code too.
4614 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4615 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4616 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4617 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4618 Simplify.
4619 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4620 Simplify.
4621 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4622 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4623 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4624 Comment on variable precision.
4625 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4626 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4627 Likewise.
4628 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4631 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4632 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4633
4ebd120c
AM
46342013-10-04 Alan Modra <amodra@gmail.com>
4635
4636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4638 all uses of ieee854 long double macros and unions.
4639 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4640 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4641 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4643 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4644 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4645 Likewise.
4646 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4647 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4648 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4649 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4650 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4652 Simplify sign and nan test too.
4653 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4654 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4655 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4656 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4657 Likewise.
4658 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4659 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4660 Likewise.
4661 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4663 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4664 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4665 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4667
1b6adf88
AM
46682013-10-04 Alan Modra <amodra@gmail.com>
4669
4670 * stdio-common/printf_size.c (__printf_size): Don't use
4671 union ieee854_long_double in fpnum union.
4672 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4673 signbit macro to retrieve sign from long double.
4674 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4675 retrieve sign from long double.
4676 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4677 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4678 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4679 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4680 * math/test-misc.c (main): Don't use union ieee854_long_double.
4681
4cf69995
AM
46822013-10-04 Alan Modra <amodra@gmail.com>
4683
4684 [BZ #15680]
4685 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4686 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4687 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4688 calculation. Remove unnecessary test for denormal exponent.
4689 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4690 Correct handling of denormals. Avoid undefined shift behaviour.
4691 Correct normalisation of low mantissa when low double is denormal.
4692 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4693 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4694 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4695 Correct normalisation of low mantissa. Test for overflow of high
4696 mantissa and normalise.
4697 (ldbl_nearbyint): Use more readable constant for two52.
4698 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4699 (__mpn_construct_long_double): Fix test for overflow of high
4700 mantissa and correct normalisation. Avoid undefined shift.
4701
9605ca6c
AM
47022013-10-04 Alan Modra <amodra@gmail.com>
4703
4704 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4705 (union ibm_extended_long_double): Define as an array of ieee754_double.
4706 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4707 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4708 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4709 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4717
975569d0
JM
47182013-10-03 Joseph Myers <joseph@codesourcery.com>
4719
d3d23756
JM
4720 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4721 page size instead of calling getpagesize.
4722
975569d0
JM
4723 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4724 (LOCFILE_ALIGN_MASK): Likewise.
4725 (LOCFILE_ALIGN_UP): Likewise.
4726 (LOCFILE_ALIGNED_P): Likewise.
4727 * locale/programs/ld-collate.c (collate_output): Use the new
4728 macros instead of __alignof__ (int32_t).
4729 * locale/weight.h (findidx): Likewise.
4730
b1fe1f2b
OB
47312013-10-03 Ondřej Bílka <neleai@seznam.cz>
4732
4733 [BZ #431]
4734 * manual/string.texi: Fix strncat and wcsncat.
4735
5f855e35
BM
47362013-10-03 Brooks Moses <bmoses@google.com>
4737
4738 [BZ #15915]
4739 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4740 * Makerules: ...here, and adjust associated comments.
4741
3cef6009
WN
47422013-10-02 Will Newton <will.newton@linaro.org>
4743
4744 * malloc/Makefile: Add tst-pvalloc.
4745 * malloc/tst-pvalloc.c: New file.
4746
7815420b
WN
47472013-10-02 Will Newton <will.newton@linaro.org>
4748
4749 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4750 improve test coverage.
4751
4868b204
WN
47522013-10-02 Will Newton <will.newton@linaro.org>
4753
4754 * malloc/Makefile: Add tst-posix_memalign.
4755 * malloc/tst-posix_memalign.c: New file.
4756
29c793b3
EB
47572013-10-01 Eric Blake <eblake@redhat.com>
4758
4759 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4760 Use __THROWNL rather than __THROW on static functions.
4761
fd967522
PM
47622013-09-30 Petr Machata <pmachata@redhat.com>
4763
4764 * elf/elf.h (R_AARCH64_ABS16): New macro.
4765 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4766 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4767 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4768 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4769 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4770 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4771 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4772 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4773 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4774 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4775 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4776 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4777 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4778 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4779 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4780 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4781 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4782 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4783 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4784 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4785 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4786 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4787 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4788 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4789 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4790 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4791 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4792 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4793 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4794 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4795 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4796 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4797 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4798 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4799 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4800 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4801 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4802 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4803 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4804 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4805 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4806 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4807 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4808 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4809 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4810 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4811 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4812 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4813 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4814 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4815 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4816 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4817 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4818 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4819 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4820 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4821 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4822 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4823 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4824 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4825 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4826 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4827 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4828 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4829 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4830 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4831 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4832 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4833 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4834 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4835 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4836 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4837 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4838 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4839 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4840 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4841 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4842 (R_AARCH64_TLSDESC_LDR): Likewise.
4843 (R_AARCH64_TLSDESC_ADD): Likewise.
4844 (R_AARCH64_TLSDESC_CALL): Likewise.
4845
b2179107
AS
48462013-09-30 Andreas Schwab <schwab@suse.de>
4847
4848 [BZ #15048]
4849 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4850 the nss database lookup.
4851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4853
47f28d0a
MF
48542013-09-28 Mike Frysinger <vapier@gentoo.org>
4855
4856 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4857
48582013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4859
4860 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4861 ${Bash-specific parameter/pattern/string} parameter expansion.
4862 * sysdeps/unix/make-syscalls.sh: Likewise.
4863
f4518a17
KK
48642013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4865
4866 * sysdeps/sh/stackguard-macros.h: New file.
4867
dc1a95c7
OB
48682013-09-26 Ondřej Bílka <neleai@seznam.cz>
4869
4870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4872 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4873 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4874 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4875 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4876
5ebbff8f
AZ
48772013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4878
4879 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4880 Fix thread ID register.
4881
4fd2cf9f
JM
48822013-09-25 Joseph Myers <joseph@codesourcery.com>
4883
4884 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4885 [POSIX || UNIX98]: Require rather than permitting all symbols from
4886 <time.h>.
4887 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4888 element of struct sched_param.
4889 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4890 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4891 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4892 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4893 constant.
4894
12c22bc4
OL
48952013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4896
4897 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4898 argument calculation.
4899
a03d8ea7
JM
49002013-09-24 Joseph Myers <joseph@codesourcery.com>
4901
4902 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4903 Expect macro.
4904 [POSIX] (pthread_attr_t): Do not require type.
4905 [POSIX] (pthread_cond_t): Likewise.
4906 [POSIX] (pthread_condattr_t): Likewise.
4907 [POSIX] (pthread_key_t): Likewise.
4908 [POSIX] (pthread_mutex_t): Likewise.
4909 [POSIX] (pthread_mutexattr_t): Likewise.
4910 [POSIX] (pthread_once_t): Likewise.
4911 [POSIX] (pthread_t): Likewise.
4912 [POSIX-based standards] (pthread_atfork): Expect function.
4913
6055173a
JM
49142013-09-24 Joseph Myers <joseph@codesourcery.com>
4915 Richard Sandiford <richard@codesourcery.com>
4916
4917 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4918 (swap_endianness_p): New extern variable.
4919 (set_big_endian): New inline function.
4920 (maybe_swap_uint32): Likewise.
4921 (maybe_swap_uint32_array): Likewise.
4922 (maybe_swap_uint32_obstack): Likewise.
4923 * locale/programs/locfile.c: Include <stdbool.h>.
4924 (swap_endianness_p): New variable.
4925 (add_locale_uint32): Call maybe_swap_uint32.
4926 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4927 (write_locale_data): Call maybe_swap_uint32_array.
4928 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4929 maybe_swap_uint32.
4930 (obstack_int32_grow_fast): Likewise.
4931 (output_weightwc): Call maybe_swap_uint32_obstack.
4932 (collate_output): Likewise.
4933 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4934 (OPT_LITTLE_ENDIAN): Likewise.
4935 (options): Add --little-endian and --big-endian options.
4936 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4937 * locale/programs/locarchive.c: Include "locfile.h".
4938 (GET): New macro.
4939 (SET): Likewise.
4940 (INC): Likewise.
4941 (create_archive): Use the new macros to access fields of
4942 structures directly mapped from or written to locale archives.
4943 (oldlocrecentcmp): Likewise.
4944 (enlarge_archive): Likewise.
4945 (insert_name): Likewise.
4946 (add_alias): Likewise.
4947 (add_locale): Likewise.
4948 (delete_locales_from_archive): Likewise.
4949 (show_archive_content): Likewise.
4950 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4951 locale data.
4952
39bf0bb4
RM
49532013-09-24 Roland McGrath <roland@hack.frob.com>
4954
4955 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4956 http://www.gnu.org/doc/freemanuals.texi.
4957 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4958
f02eed10
WN
49592013-09-24 Will Newton <will.newton@linaro.org>
4960
4961 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4962 macro.
4963
a3a6c312
JM
49642013-09-23 Joseph Myers <joseph@codesourcery.com>
4965
4966 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4967 unsigned char.
4968
107375ac
MR
49692013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4970
4971 * manual/threads.texi (POSIX Threads): Fix a typo.
4972
141f3a77
SP
49732013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4974
303e567a
SP
4975 [BZ #14547]
4976 * string/tst-strcoll-overflow.c: New test case.
4977 * string/Makefile (xtests): Add tst-strcoll-overflow.
4978 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4979 cache if string sizes may cause integer overflow.
4980
141f3a77
SP
4981 [BZ #14547]
4982 * string/strcoll_l.c (coll_seq): New members rule, idx,
4983 save_idx and back_us.
4984 (get_next_seq_nocache): New function.
4985 (do_compare_nocache): New function.
4986 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4987 when malloc fails.
4988
c61b4d41
CD
49892013-09-23 Carlos O'Donell <carlos@redhat.com>
4990
0b1f8e35
CD
4991 [BZ #15754]
4992 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4993 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4994 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4995
c61b4d41
CD
4996 [BZ #15754]
4997 * elf/Makefile (tests): Add tst-ptrguard1.
4998 (tests-static): Add tst-ptrguard1-static.
4999 (tst-ptrguard1-ARGS): Define.
5000 (tst-ptrguard1-static-ARGS): Define.
5001 * elf/tst-ptrguard1.c: New file.
5002 * elf/tst-ptrguard1-static.c: New file.
5003 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5004 * sysdeps/i386/stackguard-macros.h: Likewise.
5005 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5006 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5007 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5008 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5009 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5010 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5011
50122013-09-23 Hector Marco <hecmargi@upv.es>
5013 Ismael Ripoll <iripoll@disca.upv.es>
5014 Carlos O'Donell <carlos@redhat.com>
5015
5016 [BZ #15754]
5017 * sysdeps/generic/stackguard-macros.h: Define
5018 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5019 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5020 Define __pointer_chk_guard_local.
5021 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5022 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5023
f5f4e7b4
VV
50242013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5025
5026 [BZ #15859]
5027 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5028
5bb43a43
AS
50292013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5030
5031 * include/string.h (__ffs): Declare as hidden.
5032 * string/ffs.c (__ffs): Define as hidden.
5033 * sysdeps/i386/ffs.c (__ffs): Likewise.
5034 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5035 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5036 * sysdeps/s390/ffs.c (__ffs): Likewise.
5037 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5038
3ea5be54
AO
50392013-09-20 Alexandre Oliva <aoliva@redhat.com>
5040
ffb89e53
AO
5041 * NEWS: Mention malloc probes.
5042
322dea08
AO
5043 * malloc/arena.c (new_heap): New memory_heap_new probe.
5044 (grow_heap): New memory_heap_more probe.
5045 (shrink_heap): New memory_heap_less probe.
5046 (heap_trim): New memory_heap_free probe.
5047 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5048 (systrim): New memory_sbrk_less probe.
5049 * manual/probes.texi: Document them.
5050
655673f3
AO
5051 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5052 * manual/probes.texi: Document it.
5053
35fed6f1
AO
5054 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5055 (__libc_realloc): Add memory_realloc_retry probe.
5056 (__libc_memalign): Add memory_memalign_retry probe.
5057 (__libc_valloc): Add memory_valloc_retry probe.
5058 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5059 (__libc_calloc): Add memory_calloc_retry probe.
5060 * manual/probes.texi: Document them.
5061
6999d38c
AO
5062 * malloc/arena.c (get_free_list): Add probe
5063 memory_arena_reuse_free_list.
5064 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5065 and memory_arena_reuse.
5066 (arena_get2) [!PER_THREAD]: Likewise.
5067 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5068 memory_arena_reuse_realloc.
5069 * manual/probes.texi: Document them.
5070
0653427f
AO
5071 * malloc/malloc.c (__libc_free): Add
5072 memory_mallopt_free_dyn_thresholds probe.
5073 (__libc_mallopt): Add multiple memory_mallopt probes.
5074 * manual/probes.texi: Document them.
5075
3ea5be54
AO
5076 * malloc/malloc.c: Include stap-probe.h.
5077 (__libc_mallopt): Add memory_mallopt probe.
5078 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5079 * manual/probes.texi: New.
5080 * manual/Makefile (chapters): Add probes.
5081 * manual/threads.texi: Set next node.
5082
e35696c3 50832013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5084
e35696c3
CL
5085 [BZ #15963, #13985]
5086 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5087 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5088 Add `Chinese' to `nan' entry name.
5089
4aafb73c
SP
50902013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5091
5092 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5093 (POLYNOMIAL): Likewise.
5094 (TAYLOR_SINCOS): Likewise.
5095 (TAYLOR_SLOW): Likewise.
5096 (__sin): Use TAYLOR_SINCOS.
5097 (__cos): Likewise.
5098 (slow): Use TAYLOR_SLOW.
5099 (sloww): Likewise.
5100 (bsloww): Likewise.
5101 (csloww): Likewise.
5102
d84f25c7
LD
51032013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5104
5105 * stdlib/strtod_l.c: Fix buffer overrun.
5106
5eea0404
SP
51072013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5108
7849ff93
SP
5109 * benchtests/Makefile (bench): Add sincos.
5110 * benchtests/bench-sincos.c: New file.
5111
cfa3c886
SP
5112 * math/libm-test.inc (cos_test_data): New test inputs.
5113 (sin_test_data): Likewise.
5114
b348e1e3
SP
5115 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5116 macro.
5117 (__sin): Use it.
5118 (__cos): Likewise.
5119 (slow1): Likewise.
5120 (slow2): Likewise.
5121 (sloww1): Likewise.
5122 (sloww2): Likewise.
5123 (bsloww1): Likewise.
5124 (bsloww2): Likewise.
5125 (cslow2): Likewise.
5126 (csloww1): Likewise.
5127 (csloww2): Likewise.
5128
6cce25f8
SP
5129 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5130 function.
5131 (__sin): Use it.
5132 (__cos): Likewise.
5133
5eea0404
SP
5134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5135 gotos.
5136 (__cos): Likewise.
5137
9c21573c
MR
51382013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5139
5140 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5141 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5142 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5143 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5144 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5145 * elf/cache.c (print_entry): Handle the new cache flags.
5146
24d22e65
JM
51472013-09-18 Joseph Myers <joseph@codesourcery.com>
5148 Aldy Hernandez <aldyh@redhat.com>
5149
5150 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5151 Change condition to [_SOFT_FLOAT].
5152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5164 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5167 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5168 declaration.
5169
d13ef066
JM
51702013-09-18 Joseph Myers <joseph@codesourcery.com>
5171
2e071de0
JM
5172 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5173 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5174 (__longjmp): Use LOAD_GP to load saved GPRs.
5175 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5176 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5177 (__sigsetjmp): Use SAVE_GP to save GPRs.
5178
d13ef066
JM
5179 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5180 Do not append -msoft-float.
5181 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5182
97a0650b
SP
51832013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5184
5185 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5186
11ca09e9
JM
51872013-09-17 Joseph Myers <joseph@codesourcery.com>
5188
5189 [BZ #15966]
5190 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5191 (_FPU_GETCW): Use initial "__" on variable and field names but not
5192 on macro parameter name.
5193 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5194 parentheses around reference to macro parameter.
5195
08ffcf34
RS
51962013-09-13 Richard Sandiford <richard@codesourcery.com>
5197
5198 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5199 prototype.
5200 (ctype_startup): Use uint32_t in cast and sizeof for
5201 ctype->charnames.
5202
ae7080d3
JL
52032013-09-11 Jia Liu <proljc@gmail.com>
5204
5205 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5206 __daddr_t_defined.
5207 [__FreeBSD__]: Likewise.
5208
5905e7b3
OB
52092013-09-11 Ondřej Bílka <neleai@seznam.cz>
5210
5211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5212 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5213 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5214 (strchr): Remove __strchr_sse42 ifunc selection.
5215 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5216 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5217
b987c776
WN
52182013-09-11 Will Newton <will.newton@linaro.org>
5219
5220 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5221 parameter to RES. Remove hardcoded 1000 value.
5222 * benchtests/bench-skeleton.c (main): Pass RES parameter
5223 to TIMING_INIT and multiply result by 1000.
5224
ddf985af
AZ
52252013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5226
5227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5228
ffdd3181
AS
52292013-09-11 Andreas Schwab <schwab@suse.de>
5230
5231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5232 if not defined.
5233 (O_TMPFILE) [__USE_GNU]: Define.
5234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5235 Define.
5236
b73ed247
WN
52372013-09-11 Will Newton <will.newton@linaro.org>
5238
5239 [BZ #15857]
5240 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5241 does not overflow.
5242
55e17aad
WN
52432013-09-11 Will Newton <will.newton@linaro.org>
5244
5245 [BZ #15856]
5246 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5247 does not overflow.
5248
1159a193
WN
52492013-09-11 Will Newton <will.newton@linaro.org>
5250
5251 [BZ #15855]
5252 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5253 does not overflow.
5254
5905e7b3 52552013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5256
5257 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5258 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5262
cdfc721b
AM
52632013-09-10 Allan McRae <allan@archlinux.org>
5264
aa04af00
AM
5265 [BZ #15748]
5266 * manual/arith.texi (Parsing of Floats): Clarify
5267 cross-reference.
5268
cdfc721b
AM
5269 [BZ #15849]
5270 * manual/install.texi (Running make install): Mention
5271 --enable-pt-chown.
5272 * INSTALL: Regenerated.
5273
95e7cf29
MR
52742013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5275
5276 * csu/init-first.c (_init): Remove the !SHARED condition around
5277 FPU control word initialization.
5278 * elf/dl-support.c (_dl_fpu_control): New variable.
5279 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5280 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5281 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5282 * math/test-fpucw-static.c: New file.
5283 * math/test-fpucw-ieee.c: New file.
5284 * math/test-fpucw-ieee-static.c: New file.
5285 * math/Makefile (tests): Add `test-fpucw-ieee' and
5286 `$(tests-static)'.
5287 (tests-static): New variable.
5288 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5289 dependency to...
5290 [($(build-shared),yes)]
5291 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5292 ... this.
5293 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5294 New dependency.
5295
83e43bf0
AM
52962013-09-09 Allan McRae <allan@archlinux.org>
5297
a9f5ce09
AM
5298 [BZ #15939]
5299 * manual/string.texi (Collation Functions): Fix typo in
5300 strcoll example.
5301 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5302
34829bc2
AM
5303 [BZ #15893]
5304 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5305
3932737d
AM
5306 [BZ #15892]
5307 * libio/memstream.c (open_memstream): Fix memory leak.
5308 * libio/wmemstream.c (open_wmemstream): Likewise.
5309
83e43bf0
AM
5310 [BZ #15895]
5311 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5312
0c66b8e9
WN
53132013-09-09 Will Newton <will.newton@linaro.org>
5314
5315 * malloc/Makefile: Add tst-realloc to tests.
5316 * malloc/tst-realloc.c: New file.
5317
f6b00fd1
AM
53182013-09-09 Allan McRae <allan@archlinux.org>
5319
5320 [BZ #15844]
5321 * COPYING: Update from GNU website to fix FSF address.
5322 * COPYING.LIB: Likewise.
5323
eec55e16
DM
53242013-09-06 David S. Miller <davem@davemloft.net>
5325
5326 * po/zh_TW.po: Update Chinese (traditional) translation from
5327 translation project.
5328
1ecbb381
RS
53292013-09-06 Richard Sandiford <richard@codesourcery.com>
5330 Joseph Myers <joseph@codesourcery.com>
5331
5332 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5333 "localeinfo.h".
5334 (obstack_chunk_alloc): New macro.
5335 (obstack_chunk_free): Likewise.
5336 (record_offset): New function.
5337 (init_locale_data): Likewise.
5338 (align_locale_data): Likewise.
5339 (add_locale_empty): Likewise.
5340 (add_locale_raw_data): Likewise.
5341 (add_locale_raw_obstack): Likewise.
5342 (add_locale_string): Likewise.
5343 (add_locale_wstring): Likewise.
5344 (add_locale_uint32): Likewise.
5345 (add_locale_uint32_array): Likewise.
5346 (add_locale_char): Likewise.
5347 (start_locale_structure): Likewise.
5348 (end_locale_structure): Likewise.
5349 (start_locale_prelude): Likewise.
5350 (end_locale_prelude): Likewise.
5351 (write_locale_data): Take locale_file structure rather than an
5352 iovec.
5353 * locale/programs/locfile.h: Include "obstack.h".
5354 (struct locale_file): Change to store locale file contents instead
5355 of header.
5356 (init_locale_data): New prototype.
5357 (align_locale_data): Likewise.
5358 (add_locale_empty): Likewise.
5359 (add_locale_raw_data): Likewise.
5360 (add_locale_raw_obstack): Likewise.
5361 (add_locale_string): Likewise.
5362 (add_locale_wstring): Likewise.
5363 (add_locale_uint32): Likewise.
5364 (add_locale_uint32_array): Likewise.
5365 (add_locale_char): Likewise.
5366 (start_locale_structure): Likewise.
5367 (end_locale_structure): Likewise.
5368 (start_locale_prelude): Likewise.
5369 (end_locale_prelude): Likewise.
5370 (write_locale_data): Update prototype.
5371 * locale/programs/3level.h (struct TABLE): Remove result field.
5372 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5373 Use new locale_file interface.
5374 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5375 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5376 * locale/programs/ld-address.c (address_output): Use new
5377 locale_file interface.
5378 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5379 NO_ADD_LOCALE.
5380 (collate_finish): Don't call collseq_table_finalize.
5381 (collate_output): Use new locale_file interface.
5382 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5383 in file.
5384 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5385 (TABLE): Move defines earlier in file.
5386 (ELEMENT): Likewise.
5387 (DEFAULT): Likewise.
5388 (wctrans_table_add): Move macro and inline function earlier in
5389 file.
5390 (struct wctype_table): Move type earlier in file.
5391 (add_locale_wctype_table): New static prototype.
5392 (struct locale_ctype_t): Use logical types instead of struct iovec
5393 pointers for members.
5394 (ctype_output): Use new locale_file interface.
5395 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5396 new locale_file interface.
5397 (allocate_arrays): Update for use of new locale_file interface.
5398 * locale/programs/ld-identification.c (identification_output): Use
5399 new locale_file interface.
5400 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5401 * locale/programs/ld-messages.c (messages_output): Likewise.
5402 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5403 * locale/programs/ld-name.c (name_output): Likewise.
5404 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5405 * locale/programs/ld-paper.c (paper_output): Likewise.
5406 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5407 * locale/programs/ld-time.c (time_output): Likewise.
5408
e029e2e5
AZ
54092013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5410
5411 * benchtests/Makefile: Add memrchr benchmark.
5412 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5413 benchmark as memrchr.
5414 * benchtests/bench-memrchr-ifunc.c: New file.
5415 * benchtests/bench-memrchr.c: New file.
5416
bbf6e8e4
WN
54172013-09-06 Will Newton <will.newton@linaro.org>
5418
5419 * benchtests/Makefile (string-bench): Add memcpy.
5420
6c82a2f8
CD
54212013-09-05 Carlos O'Donell <carlos@redhat.com>
5422 Cong Wang <amwang@redhat.com>
5423
5424 * sysdeps/unix/sysv/linux/bits/in.h
5425 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5426 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5427 before __USE_KERNEL_IPV6_DEFS uses.
5428 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5429 IPPROTO_BEETPH.
5430 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5431 sockaddr_in6, or ipv6_mreq.
5432
5430fc65
AZ
54332013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5434
5435 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5436 memory access for final bytes in some large inputs.
5437 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5438
4660856c
AZ
54392013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5440
5441 * string/test-memrchr.c: New file.
5442 * string/test-memrchr-ifunc.c: New file.
5443 * string/Makefile: Add new memrchr testcase.
5444
bb8ea713
MF
54452013-09-05 Mike Frysinger <vapier@gentoo.org>
5446
5447 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5448 fanotify_init returns EPERM.
5449
b92a20b5
JM
54502013-09-04 Joseph Myers <joseph@codesourcery.com>
5451
5452 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5453 errors.
5454 (top level): Treat second token from macro or constant entries for
5455 allowed headers as allowed.
5456 * include/complex.h: Condition internal declarations on
5457 [!_ISOMAC].
5458 * include/fenv.h: Condition include of <stdbool.h> and internal
5459 declarations on [!_ISOMAC].
7447ccd9
CL
5460
54612013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5462
3e181dda 5463 [BZ #15923]
7447ccd9
CL
5464 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5465
3f2e46a4
JM
54662013-09-04 Joseph Myers <joseph@codesourcery.com>
5467
5468 * configure.in (--enable-versioning): Remove configure option.
5469 (libc_cv_asm_symver_directive): Remove configure test.
5470 (libc_cv_ld_version_script_option): Likewise.
5471 (VERSIONING): Remove variable and AC_SUBST.
5472 (DO_VERSIONING): Remove AC_DEFINE.
5473 * configure: Regenerated.
5474 * config.h.in (DO_VERSIONING): Remove macro.
5475 * Makerules [$(versioning) = yes]: Change conditionals to
5476 [$(build-shared) = yes].
5477 * config.make.in (versioning): Remove variable.
5478 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5479 [$(build-shared) = yes].
5480 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5481 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5482 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5483 [$(build-shared) = yes].
5484 * extra-lib.mk [$(versioning) = yes]: Likewise.
5485 * hurd/Makefile [$(versioning) = yes]: Likewise.
5486 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5487 [SHARED].
5488 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5489 [SHARED].
5490 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5491 [SHARED && !NO_HIDDEN].
5492 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5493 [SHARED].
5494 [SHARED && DO_VERSIONING]: Likewise..
5495 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5496 [$(build-shared) = yes].
5497 * manual/install.texi (--disable-versioning): Remove
5498 documentation.
5499 * INSTALL: Regenerated.
5500 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5501 to [SHARED].
5502 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5503 [$(build-shared) = yes].
5504 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5505 * sysdeps/i386/i686/multiarch/strstr-c.c
5506 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5507 [SHARED && !NO_HIDDEN].
5508 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5509 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5510 * sysdeps/powerpc/powerpc32/dl-machine.c
5511 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5512 * sysdeps/powerpc/powerpc32/sysdep.h
5513 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5514 to [SHARED && PIC && !NO_HIDDEN].
5515 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5516 conditional to [SHARED].
5517
44558701
WN
55182013-09-04 Will Newton <will.newton@linaro.org>
5519
5520 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5521 * benchtests/bench-string.h: Include bench-timing.h instead
5522 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5523 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5524 call to HP_TIMING_DIFF_INIT.
5525 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5526 instead of hp-timing.h macros.
5527 * benchtests/bench-memchr.c: Likewise.
5528 * benchtests/bench-memcmp.c: Likewise.
5529 * benchtests/bench-memcpy.c: Likewise.
5530 * benchtests/bench-memmem.c: Likewise.
5531 * benchtests/bench-memmove.c: Likewise.
5532 * benchtests/bench-memset.c: Likewise.
5533 * benchtests/bench-rawmemchr.c: Likewise.
5534 * benchtests/bench-strcasecmp.c: Likewise.
5535 * benchtests/bench-strcasestr.c: Likewise.
5536 * benchtests/bench-strcat.c: Likewise.
5537 * benchtests/bench-strchr.c: Likewise.
5538 * benchtests/bench-strcmp.c: Likewise.
5539 * benchtests/bench-strcpy.c: Likewise.
5540 * benchtests/bench-strcpy_chk.c: Likewise.
5541 * benchtests/bench-strlen.c: Likewise.
5542 * benchtests/bench-strncasecmp.c: Likewise.
5543 * benchtests/bench-strncat.c: Likewise.
5544 * benchtests/bench-strncmp.c: Likewise.
5545 * benchtests/bench-strncpy.c: Likewise.
5546 * benchtests/bench-strnlen.c: Likewise.
5547 * benchtests/bench-strpbrk.c: Likewise.
5548 * benchtests/bench-strrchr.c: Likewise.
5549 * benchtests/bench-strspn.c: Likewise.
5550 * benchtests/bench-strstr.c: Likewise.
5551
cae16d66
WN
55522013-09-04 Will Newton <will.newton@linaro.org>
5553
5554 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5555
ffa3cd7f
JM
55562013-09-03 Joseph Myers <joseph@codesourcery.com>
5557
5558 [BZ #15427]
5559 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5560 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5561 * math/libm-test.inc (lgamma_test_data): Add more tests.
5562 * sysdeps/i386/fpu/libm-test-ulps: Update.
5563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5564
8f02859f
OB
55652013-09-03 Ondřej Bílka <neleai@seznam.cz>
5566
5567 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5569 Add ifunc.
5570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5571 Add strcmp-sse2-unaligned
5572 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5573
18d43716
MF
55742013-09-02 Mike Frysinger <vapier@gentoo.org>
5575
5576 * Versions.def (libc): Add GLIBC_2.19.
5577
ac444012
MF
55782013-09-02 Mike Frysinger <vapier@gentoo.org>
5579
5580 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5581 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5582
b7835e32
JM
55832013-09-02 Joseph Myers <joseph@codesourcery.com>
5584
5585 [BZ #14155]
5586 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5587 intermediate calculations in recurrence.
5588 (__ieee754_ynf): Likewise.
5589 * math/libm-test.inc (jn_test_data): Do not allow spurious
5590 underflow exception. Add more tests.
5591 (yn_test_data): Add more tests.
5592 * sysdeps/i386/fpu/libm-test-ulps: Update.
5593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5594
8220f4f0
OB
55952013-09-02 Ondřej Bílka <neleai@seznam.cz>
5596
5597 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5598
f24a6d08
OB
55992013-08-30 Ondřej Bílka <neleai@seznam.cz>
5600
5601 * csu/init-first.c: Fix then/than typos.
5602 * locale/programs/ld-collate.c: Likewise.
5603 * locale/programs/linereader.h: Likewise.
5604 * manual/charset.texi: Likewise.
5605 * manual/filesys.texi: Likewise.
5606 * manual/stdio.texi: Likewise.
5607 * manual/string.texi: Likewise.
5608 * stdlib/fmtmsg.c: Likewise.
5609 * sysdeps/i386/stpncpy.S: Likewise.
5610 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5611 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5612 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5613 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5614
382466e0
OB
56152013-08-30 Ondřej Bílka <neleai@seznam.cz>
5616
5617 * elf/dl-open.c: Fix typos.
5618 * iconvdata/gbbig5.c: Likewise.
5619 * iconvdata/iso-2022-jp.c: Likewise.
5620 * iconv/gconv_int.h: Likewise.
5621 * iconv/loop.c: Likewise.
5622 * nis/rpcsvc/nis.h: Likewise.
5623 * resolv/ns_name.c: Likewise.
5624 * stdio-common/vfscanf.c: Likewise.
5625 * streams/stropts.h: Likewise.
5626 * sunrpc/rpc_thread.c: Likewise.
5627 * sysdeps/i386/strpbrk.S: Likewise.
5628 * sysdeps/ieee754/k_standard.c: Likewise.
5629 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5631 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5632 * sysdeps/mach/hurd/profil.c: Likewise.
5633 * sysdeps/s390/dl-procinfo.h: Likewise.
5634 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5635 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5636 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5637 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5638 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5639
0186c6e9
OB
56402013-08-30 Ondřej Bílka <neleai@seznam.cz>
5641
5642 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5644
d4e16af1
OB
56452013-08-29 Ondřej Bílka <neleai@seznam.cz>
5646
5647 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5648 aix specific files.
5649 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5650 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5651 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5652 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5654 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5655 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5656 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5657
88335980
TS
56582013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5659 Roland McGrath <roland@hack.frob.com>
5660
5661 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5662 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5663
ed479b02
ST
56642013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5665
5666 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5667 __executable_start symbol instead of _start.
5668
f1cc4c86
TS
56692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5670
d821f07c
TS
5671 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5672 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5673 Move macros to...
5674 * sysdeps/gnu/ldsodefs.h: ... this new file.
5675
c54290cf
TS
5676 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5677 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5678 instead of ELFOSABI_LINUX.
5679
0007fc9b 5680 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5681 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5682 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5683 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5684 Likewise.
5685 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5686 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5687 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5688 Likewise.
5689 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5690 (ibm_extended_long_double): Add ieee_nan member.
5691 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5692 (do_test): New function.
5693
f1cc4c86
TS
5694 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5695 TEST_TRUNC.
5696 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5697 functions, renamed from truncdfsf_test, trunctfsf_test,
5698 trunctfdf_test.
5699 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5700 functions.
5701 (do_test): Run all these.
5702
6f65e668
OB
57032013-08-29 Ondřej Bílka <neleai@seznam.cz>
5704
5705 * argp/argp-help.c: Fix typos.
5706 * argp/argp-parse.c: Likewise.
5707 * debug/backtracesyms.c: Likewise.
5708 * elf/elf.h: Likewise.
5709 * malloc/malloc.c: Likewise.
5710 * nis/nis_print.c: Likewise.
5711 * resolv/res_comp.c: Likewise.
5712 * stdlib/stdlib.h: Likewise.
5713 * sunrpc/clnt_tcp.c: Likewise.
5714 * sunrpc/clnt_udp.c: Likewise.
5715 * sunrpc/clnt_unix.c: Likewise.
5716 * sysdeps/unix/bsd/ptsname.c: Likewise.
5717 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5718 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5720 Likewise.
5721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5722 Likewise.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5724 Likewise.
6f65e668
OB
5725 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5726
3a309239
SP
57272013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5728
5729 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5731
3b813b29
MF
57322013-08-27 Mike Frysinger <vapier@gentoo.org>
5733
5734 [BZ #15897]
5735 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5736 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5737 ($(objpfx)bug-dl-leaf): New rule.
5738 ($(objpfx)bug-dl-leaf.so): Likewise.
5739 ($(objpfx)bug-dl-leaf.out): Likewise.
5740 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5741 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5742 * dlfcn/bug-dl-leaf.c: New test.
5743 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5744 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5745 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5746 (dlclose): Likewise.
5747 (dlmopen): Likewise.
5748
8cc3269f
RM
57492013-08-27 Roland McGrath <roland@hack.frob.com>
5750
7f9d0034
RM
5751 * include/netdb.h [!_ISOMAC]:
5752 Don't include <tls.h>.
5753 (h_errno, __libc_h_errno): Move declaration and macros out of
5754 [_LIBC_REENTRANT].
5755
fb431262
RM
5756 * include/resolv.h [_RESOLV_H_]:
5757 Don't include <tls.h>.
5758 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5759 * resolv/res_libc.c: Don't include <tls.h>.
5760 (_res): Use __attribute__ ((nocommon)) in place of
5761 __attribute__ ((section (".bss"))).
5762
bd81123a
RM
5763 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5764 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5765
c4e42566
RM
5766 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5767
f890a59b
RM
5768 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5769 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5770
5771 * resolv/res_mkquery.c: Include <sys/time.h>.
5772
5d1f0a09
RM
5773 * inet/ifreq.c: Moved to ...
5774 * sysdeps/unix/ifreq.c: ... here.
5775 * inet/ifreq.c: New file, true stub version.
5776
6fcf28b3
RM
5777 * socket/sa_len.c: New file.
5778 * socket/Makefile (aux): Add it.
5779 * sysdeps/unix/sysv/linux/Makefile
5780 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5781 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5782 and #include <socket/sa_len.c>.
5783 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5784 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5785
e041fb8b
RM
5786 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5787 * bits/socket.h: ... here.
5788
8cc3269f
RM
5789 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5790 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5791 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5792
5d228a43
AS
57932013-08-27 Andreas Schwab <schwab@suse.de>
5794
45b8accc
AS
5795 [BZ #15736]
5796 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5797 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5798 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5799 * string/test-strcasecmp.c (test_main): Run tests in several
5800 locales.
5801 * string/test-strncasecmp.c (test_main): Likewise.
5802
5d228a43
AS
5803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5804 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5805 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5807 (__strncasecmp_ssse3) [PIC]: Likewise.
5808
59d112a4
RM
58092013-08-26 Roland McGrath <roland@hack.frob.com>
5810
53234cc3
RM
5811 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5812
59d112a4
RM
5813 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5814 instead of explicitly declaring xdecrypt.
5815 * nis/nss_nis/nis-publickey.c: Likewise.
5816
595aba70
SP
58172013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5818
5819 [BZ #15890]
5820 * nscd/aicache.c: Include res_hconf.h.
5821 (addhstaiX): Initialize res_hconf.
5822
ffabd393
AS
58232013-08-26 Andreas Schwab <schwab@suse.de>
5824
5825 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5826 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5827
e0a69f5c
SP
58282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5829
5830 * nscd/aicache.c (addhstaiX): Fix indentation.
5831
8c12f01d
MF
58322013-08-25 Mike Frysinger <vapier@gentoo.org>
5833
5834 * configure.ac: Quote $build_pt_chown test.
5835 * configure: Regenerated.
5836
8fe89494
JM
58372013-08-23 Joseph Myers <joseph@codesourcery.com>
5838
5839 [BZ #15532]
5840 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5841 * math/s_cexpf.c (__cexpf): Likewise.
5842 * math/s_cexpl.c (__cexpl): Likewise.
5843 * math/libm-test.inc (cexp_test_data): Correct expected return
5844 value for NaN + i0. Add another test.
5845
75b181d6
DM
58462013-08-22 David S. Miller <davem@davemloft.net>
5847
5848 * po/ca.po: Update Catalan translation from translation project.
936241e4 5849 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5850
acd06bb1
JM
58512013-08-21 Joseph Myers <joseph@codesourcery.com>
5852
5853 [BZ #15797]
5854 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5855 is infinite, not alongside NaN test.
5856 * math/s_fdimf.c (__fdimf): Likewise.
5857 * math/s_fdiml.c (__fdiml): Likewise.
5858 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5859 errno is unchanged.
5860
c0c3f78a
OB
58612013-08-21 Ondřej Bílka <neleai@seznam.cz>
5862
5863 * argp/argp-help.c: Fix typos.
5864 * crypt/speeds.c: Likewise.
5865 * csu/check_fds.c: Likewise.
5866 * elf/dl-load.c: Likewise.
5867 * elf/dl-open.c: Likewise.
5868 * elf/reldep3.c: Likewise.
5869 * elf/reldep.c: Likewise.
5870 * elf/sprof.c: Likewise.
5871 * iconv/iconv_charmap.c: Likewise.
5872 * iconv/skeleton.c: Likewise.
5873 * iconv/strtab.c: Likewise.
5874 * io/lockf64.c: Likewise.
5875 * libio/libioP.h: Likewise.
5876 * resolv/gai_notify.c: Likewise.
5877 * resolv/ns_name.c: Likewise.
5878 * resolv/ns_samedomain.c: Likewise.
5879 * resolv/res_send.c: Likewise.
5880 * stdlib/random.c: Likewise.
5881 * sunrpc/rpc/xdr.h: Likewise.
5882 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5883 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5884 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5885 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5886 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5887 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5889 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5890 * sysdeps/mach/hurd/check_fds.c: Likewise.
5891 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5892 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5894 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5895 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5896 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5897 * sysdeps/pthread/aio_notify.c: Likewise.
5898 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5899 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5900 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5902 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5903
46ed1038
LD
59042013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5905
5906 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5907 version if bit_Slow_SSE4_2 is set.
5908 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5909 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5910
d400dcac
AZ
59112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912
5913 [BZ #15867]
5914 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5915 trampoline stack frame information.
5916 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5917 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5918 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5919 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5920 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5921 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5922 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5923 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5924 sa_flags value.
5925 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5926 interrupting a syscall and set with option SA_SIGINFO.
5927
42c8fdd8
JM
59282013-08-20 Joseph Myers <joseph@codesourcery.com>
5929
c980f2f4
JM
5930 [BZ #15531]
5931 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5932 argument is infinite.
5933 * math/s_cprojf.c (__cprojf): Likewise.
5934 * math/s_cprojl.c (__cprojl): Likewise.
5935 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5936 * math/libm-test.inc (cproj_test_data): Add more tests.
5937
0716c4fc
JM
5938 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5939
42c8fdd8
JM
5940 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5941 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5942 size. Use __ffs to determine corresponding shift.
5943
b31469d0
JM
59442013-08-20 Joseph Myers <joseph@codesourcery.com>
5945 Roland McGrath <roland@hack.frob.com>
5946
5947 * Makefile (INSTALL): Remove trailing blank lines from output of
5948 makeinfo.
5949
4e39af6e
AK
59502013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5951
5952 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5953 Align 32 bit compat elf_greg to 8 bytes.
5954
f315524e
AA
59552013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5956
5957 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5958
1326ba1a
SP
59592013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5960
5961 * string/strcoll_l.c (coll_seq): New structure.
5962 (get_next_seq_cached): New function.
5963 (get_next_seq): New function.
5964 (do_compare): New function.
5965 (STRCOLL): Use GNU style definition. Simplify implementation
5966 by using get_next_seq, get_next_seq_cached and do_compare.
5967
91ce4085
FW
59682013-08-16 Florian Weimer <fweimer@redhat.com>
5969
5970 [BZ #14699]
5971 CVE-2013-4237
5972 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5973 member.
5974 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5975 member.
5976 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5977 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5978 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5979 conditional.
5980 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5981 GETDENTS_64BIT_ALIGNED.
5982 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5983 * manual/filesys.texi (Reading/Closing Directory): Document
5984 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5985 strongly.
5986 * manual/conf.texi (Limits for Files): Add portability note to
5987 NAME_MAX, PATH_MAX.
5988 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5989
ca0a6bc4
AS
59902013-08-13 Andreas Schwab <schwab@suse.de>
5991
5992 [BZ #15749]
5993 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5994 of fabs.
5995 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5996 LDBL_MAX_EXP >= 16384]: Add tests for it.
5997
6c1fd795
DM
59982013-08-12 David S. Miller <davem@davemloft.net>
5999
6000 * version.h (RELEASE): Set to "development".
6001 (VERSION): Set to "2.18.90".
6002 * NEWS: Add 2.19 section.
6003
31ad488d
DM
60042013-08-03 David S. Miller <davem@davemloft.net>
6005
6006 * po/ko.po: Update Korean translation from translation project.
6007
db24e684
DM
60082013-08-01 David S. Miller <davem@davemloft.net>
6009
6010 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6011 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6012 Bilka.
6013
f723285b
DM
60142013-07-30 David S. Miller <davem@davemloft.net>
6015
6016 * po/fr.po: Update French translation from translation project.
6017
3cbc52db
DM
60182013-07-28 David S. Miller <davem@davemloft.net>
6019
30bbc0cc
DM
6020 * po/cs.po: Update Czech translation from translation project.
6021
3cbc52db
DM
6022 * po/sv.po: Update Swedish translation from translation project.
6023
d492e6d0
DM
60242013-07-27 David S. Miller <davem@davemloft.net>
6025
f1a7f492
DM
6026 * po/eo.po: Update Esperanto translation from translation project.
6027
90e62a4a
DM
6028 * po/vi.po: Update Vietnamese translation from translation project.
6029
d492e6d0
DM
6030 * po/de.po: Update German translation from translation project.
6031
d4baa62d
DM
60322013-07-26 David S. Miller <davem@davemloft.net>
6033
641aa7b4
DM
6034 * po/bg.po: Update Bulgarian translation from translation project.
6035
d4baa62d
DM
6036 * po/nl.po: Update Dutch translation from translation project.
6037 * po/pl.po: Update Polish translation from translation project.
6038 * po/ru.po: Update Russian translation from translation project.
6039
61a9dcb9
DM
60402013-07-24 David S. Miller <davem@davemloft.net>
6041
6042 * po/libc.pot: Update.
6043
7b1f8b58
AZ
60442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6045
6046 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6047 variable page size.
6048 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6049 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6050 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6051
a8fc7a03
AK
60522013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6053
6054 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6055
e4608715
CD
60562013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6057 Andreas Schwab <schwab@suse.de>
6058 Roland McGrath <roland@hack.frob.com>
6059 Joseph Myers <joseph@codesourcery.com>
6060 Carlos O'Donell <carlos@redhat.com>
6061
6062 [BZ #15755]
6063 * config.h.in: Define HAVE_PT_CHOWN.
6064 * config.make.in (build-pt-chown): New variable.
6065 * configure.in (--enable-pt_chown): New configure option.
6066 * configure: Regenerate.
6067 * login/Makefile: Include Makeconfig. Build pt_chown only if
6068 build-pt-chown is enabled.
6069 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6070 pt_chown to fix pty ownership.
6071 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6072 CLOSE_ALL_FDS.
6073 * manual/install.texi (Configuring and compiling): Mention
6074 --enable-pt_chown. Add @findex for grantpt.
6075 * INSTALL: Regenerate.
6076
da2d62df
DM
60772013-07-20 David S. Miller <davem@davemloft.net>
6078
6079 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6080 difference between 32-bit and 64-bit.
6081
d7e06450
CD
60822013-07-15 Carlos O'Donell <carlos@redhat.com>
6083
6084 [BZ #15711]
6085 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6086 Avoid system header dependency with -ffreestanding.
6087 ($(objpfx)bits/syscall%d): Likewise.
6088
f959cfd7
DM
60892013-07-13 David S. Miller <davem@davemloft.net>
6090
6091 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6092 underflows from atanl/atan2l due to bug 15319.
6093 (casinh_test_data): Likewise.
6094
c61f8513
DM
60952013-07-07 David S. Miller <davem@davemloft.net>
6096
6097 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6098
72c90ed0
JA
60992013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6100
6101 * sysdeps/i386/fpu/libm-test-ulps: Update.
6102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6103
52dfbe13
SP
61042013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6105
6106 * configure.in (--enable-lock-elision): Fix message text.
6107 * INSTALL: Regenerate.
6108 * configure: Regenerate.
6109
3f169543
AZ
61102013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6111
6112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6113
521c6785
AJ
61142013-07-03 Andreas Jaeger <aj@suse.de>
6115
6116 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6117 define.
6118 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6119 (ptrace_peeksiginfo_args): Add.
6120 (__ptrace_peeksiginfo_flags): Add.
6121 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6122 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6123 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6124
d2cc15cb
AM
61252013-07-03 Allan McRae <allan@archlinux.org>
6126
6127 * sysdeps/i386/fpu/libm-test-ulps: Update.
6128
3aaeeca7
DM
61292013-07-02 David S. Miller <davem@davemloft.net>
6130
6131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6132
5314ed1a
MT
61332013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6134
6135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6136
67338156
JM
61372013-07-02 Joseph Myers <joseph@codesourcery.com>
6138
6139 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6141
1717da59
AK
61422013-07-02 Andi Kleen <ak@linux.intel.com>
6143
6144 * config.h.in (ENABLE_LOCK_ELISION): Add.
6145 * configure.in (--enable-lock-elision): Add option.
6146 * manual/install.texi: Document --enable lock elision.
6147 * configure: Regenerate
6148 * INSTALL: Regenerate.
6149
1c81621c
L
61502013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6151
6152 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6153 SSE4.2 strcasecmp for libc.a.
6154 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6155
77f01ab5
JM
61562013-07-02 Joseph Myers <joseph@codesourcery.com>
6157
6158 [BZ #13304]
6159 * soft-fp/op-common.h (_FP_FMA): New macro.
6160 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6161 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6162 (_FP_MUL_MEAT_1_imm): ... here.
6163 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6164 (_FP_MUL_MEAT_1_wide): ... here.
6165 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6166 (_FP_MUL_MEAT_1_hard): ... here.
6167 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6168 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6169 (_FP_MUL_MEAT_2_wide): ... here.
6170 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6171 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6172 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6173 (_FP_MUL_MEAT_2_gmp): ... here.
6174 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6175 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6176 (_FP_MUL_MEAT_4_wide): ... here.
6177 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6178 (_FP_MUL_MEAT_4_gmp): ... here.
6179 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6180 (_FP_WFRACBITS_DW_S): Likewise.
6181 (_FP_WFRACXBITS_DW_S): Likewise.
6182 (_FP_HIGHBIT_DW_S): Likewise.
6183 (FP_FMA_S): Likewise.
6184 (_FP_FRAC_HIGH_DW_S): Likewise.
6185 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6186 (_FP_WFRACBITS_DW_D): Likewise.
6187 (_FP_WFRACXBITS_DW_D): Likewise.
6188 (_FP_HIGHBIT_DW_D): Likewise.
6189 (FP_FMA_D): Likewise.
6190 (_FP_FRAC_HIGH_DW_D): Likewise.
6191 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6192 (_FP_WFRACBITS_DW_E): Likewise.
6193 (_FP_WFRACXBITS_DW_E): Likewise.
6194 (_FP_HIGHBIT_DW_E): Likewise.
6195 (FP_FMA_E): Likewise.
6196 (_FP_FRAC_HIGH_DW_E): Likewise.
6197 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6198 (_FP_WFRACBITS_DW_Q): Likewise.
6199 (_FP_WFRACXBITS_DW_Q): Likewise.
6200 (_FP_HIGHBIT_DW_Q): Likewise.
6201 (FP_FMA_Q): Likewise.
6202 (_FP_FRAC_HIGH_DW_Q): Likewise.
6203 * soft-fp/fmasf4.c: New file.
6204 * soft-fp/fmadf4.c: Likewise.
6205 * soft-fp/fmatf4.c: Likewise.
6206
6308fd9a
LD
62072013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6208
6209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6210 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6211 Silvermont.
6212 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6213 macro.
6214 (index_Slow_SSE4_2): Likewise.
6215 (index_Prefer_PMINUB_for_stringop): Likewise.
6216 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6217 bit_Slow_SSE4_2 is set.
6218 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6219 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6220
89cd9569
RA
62212013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6222
6223 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6224 rtld_global._dl_hwcap2.
6225 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6226 POWER8.
6227 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6228 POWER8 feature descriptions defined in _dl_hwcap2.
6229 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6230 string handling for POWER8 feature bits.
6231 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6232 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6233 _dl_powerpc_cap_flags.
6234 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6235 * sysdeps/powerpc/rtld-global-offsets.sym
6236 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6237 _dl_hwcap2 in the rtld_global_ro structure.
6238
1ae8bfe0
RA
62392013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6240
6241 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6242 hardware capabilities in support of AT_HWCAP2.
6243 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6244 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6245 GLRO(dl_hwcap2).
6246 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6247 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6248 explicitly the unknown a_type display mechanism is used.
6249 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6250 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6251 struct member.
6252 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6253 to macro prototype for AT_HWCAP2 support.
6254 * sysdeps/i386/dl-procinfo.h: Likewise.
6255 * sysdeps/s390/dl-procinfo.h: Likewise.
6256 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6257 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6258 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6259 return -1 for unknown a_type display fallback.
6260 * sysdeps/sparc/dl-procinfo.h: Likewise.
6261 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6262 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6263
8fbec010
JM
62642013-06-28 Joseph Myers <joseph@codesourcery.com>
6265
6266 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6267 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6268
0432680e
PY
62692013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6270
6271 [BZ #12492]
6272 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6273 mprotect making __stack_prot writable.
6274
ce61a2ad
NF
62752013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6276 Joseph Myers <joseph@codesourcery.com>
6277
6278 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6279 as being properly aligned.
6280
f91f1c0f
MR
62812013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6282
3d0f5d0c
MR
6283 * dlfcn/modstatic5.c: New file.
6284 * dlfcn/tststatic5.c: New file.
6285 * dlfcn/Makefile (tests): Add tststatic5.
6286 (tests-static): Likewise.
6287 (modules-names): Add modstatic5.
6288 (tststatic5-ENV): New variable.
6289 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6290
f91f1c0f
MR
6291 [BZ #15022]
6292 * elf/dl-support.c (_dl_main_map): New variable.
6293 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6294 (_dl_nns, _dl_load_adds): Set to 1.
6295 (_dl_initial_searchlist): Refer to _dl_main_map.
6296 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6297 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6298 call to _dl_get_origin.
6299 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6300 around call_map.
6301 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6302 * dlfcn/modstatic3.c: New file.
6303 * dlfcn/tststatic3.c: New file.
6304 * dlfcn/tststatic4.c: New file.
6305 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6306 (tests-static): Likewise.
6307 (modules-names): Add modstatic3.
6308 (tststatic3-ENV, tststatic4-ENV): New variables.
6309 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6310 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6311
cbe7d24b
JM
63122013-06-26 Joseph Myers <joseph@codesourcery.com>
6313
6314 * configure.in (CC): Require GCC version 4.4 or later.
6315 * configure: Regenerated.
6316 * manual/install.texi (Tools for Compilation): Update GCC version
6317 requirement.
6318 * INSTALL: Regenerated.
6319
11b8a0e1
LD
63202013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6321
6322 [BZ #15674]
bb5bb87c
L
6323 * string/test-memcmp.c (check2): New.
6324 (main): Call check2.
6325
11b8a0e1
LD
6326 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6327
b0037103
MR
63282013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6329
6330 [BZ #15022]
6331 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6332 over to...
6333 (dl_open_worker) [!SHARED]: ... here.
6334
c18c701d
RA
63352013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6336
6337 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6338
1d17fa5f
RH
63392013-06-25 Richard Henderson <rth@redhat.com>
6340
6341 * locale/programs/locarchive.c: Include <libc-internal.h>
6342
8fcb833a
JM
63432013-06-25 Joseph Myers <joseph@codesourcery.com>
6344
6345 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6346 trailing whitespace removed.
6347
17db6e8d
MF
63482013-06-24 Mike Frysinger <vapier@gentoo.org>
6349
6350 [BZ #10283]
17db6e8d
MF
6351 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6352 * locale/programs/locarchive.c: Include libc-mmap.h.
6353 (prepare_address_space): Take two new outputs (the mmap base and len).
6354 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6355 values.
6356 (create_archive): Declare new mmap base and len values for
6357 prepare_address_space, and store the result in ah.
6358 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6359 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6360 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6361 Declare new mmap base and len values for
6362 prepare_address_space, and store the result in new_ah.
6363 (open_archive): Declare new mmap base and len values for
6364 prepare_address_space, and store the result in ah.
6365 (close_archive): If ah->mmap_base is not NULL, use that and
6366 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6367 * sysdeps/generic/libc-mmap.h: New file.
6368
d605071e
MF
63692013-06-24 Mike Frysinger <vapier@gentoo.org>
6370
6371 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6372 (ALIGN_UP): Likewise.
6373 (PTR_ALIGN_DOWN): Likewise.
6374 (PTR_ALIGN_UP): Likewise.
6375
2f063a6e
RA
63762013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6377
6378 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6379 entry mapped to PPC_PLATFORM_POWER8.
6380 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6381 POWER8.
6382 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6383 (_dl_string_platform): Add case for exporting platform position for
6384 POWER8.
6385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6386 search path to sysdeps/powerpc/powerpc32/power8 directory.
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6388 search path to sysdeps/powerpc/powerpc64/power8 directory.
6389 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6390 power7 directories.
6391 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6392 power7 directories.
6393
a31ee4b3
SP
63942013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6395
a74ca98f
SP
6396 * INSTALL: Regenerate.
6397
a31ee4b3
SP
6398 * nscd/connections.c (nscd_init): Fix comment.
6399
695c378f
JM
64002013-06-22 Joseph Myers <joseph@codesourcery.com>
6401
d8412221
JM
6402 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6403
695c378f
JM
6404 [BZ #15667]
6405 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6406 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6407
d1d54715
MR
64082013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6409
6410 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6411 DL_DST_REQ_STATIC.
6412 (DL_DST_REQ_STATIC): Remove macro.
6413
8fdda7af
JM
64142013-06-21 Joseph Myers <joseph@codesourcery.com>
6415
6416 [BZ #7006]
6417 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6418 with a shift of 0 bits.
6419
f3bc5e5a
MR
64202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6421
6422 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6423 $(tststatic-ENV).
6424
be09e8c9
KK
64252013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6426
6427 [BZ #15655]
6428 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6429
85c2e611
AZ
64302013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6431
6432 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6433 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6434 accepts -fno-tree-loop-distribute-patterns.
6435 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6436 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6437 recursive call.
6438 * string/memset.c (memset): Likewise.
6439 * string/test-memmove.c (simple_memmove): Disable loop transformation
6440 to library calls.
6441 * string/test-memset.c (simple_memset): Likewise.
6442 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6443 * benchtests/bench-memset.c (simple_memset): Likewise.
6444 * configure: Regenerated.
6445
c91e0825
JM
64462013-06-20 Joseph Myers <joseph@codesourcery.com>
6447
b8c792af
JM
6448 * math/test-misc.c (main): Ignore fesetround failure when failures
6449 of subsequent rounding tests would be ignored.
6450
c91e0825
JM
6451 [BZ #15654]
6452 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6453 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6454 * math/fegetenv.c (__fegetenv): Return 0.
6455 * math/fegetexcept.c (fegetexcept): Return 0.
6456 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6457 FE_TONEAREST.
6458 * math/feholdexcpt.c (feholdexcept): Return 0.
6459 * math/fesetenv.c (__fesetenv): Return 0.
6460 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6461 argument FE_TONEAREST.
6462 * math/feupdateenv.c (__feupdateenv): Return 0.
6463 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6464
bfcacbde
RM
64652013-06-18 Roland McGrath <roland@hack.frob.com>
6466
6467 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6468 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6469 ($(objpfx)rtld-%.os rules): Use them.
6470
e55a9b25
AZ
64712013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472
6473 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6474 fields.
6475
346d65b3
RM
64762013-06-17 Roland McGrath <roland@hack.frob.com>
6477
12086fb4
RM
6478 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6479 length of target pattern, then descending length of dependency pattern.
6480 * configure.in (AWK): Require gawk 3.1.2 or newer.
6481 * manual/install.texi (Tools for Compilation): Say that we do.
6482 * configure: Regenerated.
6483
346d65b3
RM
6484 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6485 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6486 * scripts/sysd-rules.awk: ... this new script.
6487 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6488 than a glob-style pattern.
6489
1a846317
JM
64902013-06-17 Joseph Myers <joseph@codesourcery.com>
6491
6492 * math/test-misc.c (main): Do not treat incorrectly rounded
6493 conversions as failure unless ROUNDING_TESTS passes.
6494
8fc75e6f
JM
64952013-06-15 Joseph Myers <joseph@codesourcery.com>
6496
3711a167
JM
6497 [BZ #15631]
6498 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6499 restore exception state around main square root computation, then
6500 check for inexactness explicitly.
6501
8fc75e6f
JM
6502 * math/libm-test.inc (fma_test_data): Add another test.
6503
61dd6208
SP
65042013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6505
adf23d2c
SP
6506 * manual/threads.texi (Non-POSIX Extensions): New document
6507 node. Document pthread_getattr_default_np and
6508 pthread_setattr_default_np.
6509
61dd6208
SP
6510 * Versions.def (libpthread): Add GLIBC_2.18.
6511 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6513 Likewise.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6515 Likewise.
6516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6517 Likewise.
6518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6519 Likewise.
6520 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6521 Likewise.
6522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6523 Likewise.
6524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6525 Likewise.
6526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6527 Likewise.
6528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6529 Likewise.
6530
d086fc7b
LD
65312013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6532
6533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6534 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6535
747ef469
SP
65362013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6537 H.J. Lu <hjl.tools@gmail.com>
6538
6539 [BZ #15627]
6540 * sysdeps/x86_64/rtld-memset.c: Remove file.
6541 * sysdeps/x86_64/rtld-memset.S: New file.
6542
1b2feed2
JM
65432013-06-14 Joseph Myers <joseph@codesourcery.com>
6544
6545 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6546 (test_in_one_mode): Take arguments for whether the rounding mode
6547 is supported for each floating-point type.
6548 (do_test): Pass new arguments to test_in_one_mode using
6549 ROUNDING_TESTS.
6550
a58ad3f8
RM
65512013-06-13 Roland McGrath <roland@hack.frob.com>
6552
6553 * posix/tst-waitid.c (do_test): Distinguish different instances of
6554 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6555 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6556 before entering the kernel for waitpid.
6557
c204ab28
SP
65582013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6559
6560 * NEWS: Fix note on clock function precision. Text by Roland
6561 McGrath.
6562
f4a29fba
RM
65632013-06-13 Roland McGrath <roland@hack.frob.com>
6564
6565 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6566 it into place only when and if the sanity check passes.
6567
1f24b9ad
JM
65682013-06-13 Joseph Myers <joseph@codesourcery.com>
6569
6570 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6571 output for whether conversion result is exact. Take argument
6572 indicating whether type is IBM long double.
6573 (round_for_all): Change need_exact field to ibm_ld.
6574 * stdlib/tst-strtod-round.c (struct exactness): New type.
6575 (struct test): Change bool ld_ok field to struct exactness exact.
6576 (TEST): Update all definitions for change to field.
6577 (tests): Regenerate array contents.
6578 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6579 field value. Check for IBM long double here.
6580 (do_test): Update calls to test_in_one_mode.
6581
58206c68
SP
65822013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6583
6584 [BZ #12515]
6585 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6586 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6587
2d6f4c5b 65882013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6589
6590 [BZ #15605]
6591 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6592 generated by the compiler on loop optimizations.
6593 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6594 general definitions.
6595
94f2c076
JM
65962013-06-12 Joseph Myers <joseph@codesourcery.com>
6597
6598 * math/bug-nextafter.c: Include <math-tests.h>.
6599 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6600 the relevant type.
6601 * math/bug-nexttoward.c: Include <math-tests.h>.
6602 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6603 the relevant type.
6604 * math/test-misc.c: Include <math-tests.h>.
6605 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6606 the relevant type.
6607
e0e50a0a
AJ
66082013-06-12 Andreas Jaeger <aj@suse.de>
6609
6610 * po/ia.po: Update Interlingua translation from translation
6611 project.
6612
25061094
SP
66132013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6614
6615 * include/fenv.h: Include stdbool.h.
6616 (struct rm_ctx): New structure.
6617 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6618 Define macro.
6619 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6620 (SET_RESTORE_ROUNDF): Likewise.
6621 (SET_RESTORE_ROUNDL): Likewise.
6622 (SET_RESTORE_ROUND_NOEX): Likewise.
6623 (SET_RESTORE_ROUND_NOEXF): Likewise.
6624 (SET_RESTORE_ROUND_NOEXL): Likewise.
6625 (SET_RESTORE_ROUND_53BIT): Likewise.
6626 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6627 (libc_feresetround_noexf_ctx): Likewise.
6628 (libc_feresetround_noexl_ctx): Likewise.
6629 (libc_feholdsetround_53bit_ctx): Likewise.
6630 (libc_feresetround_53bit_ctx): Likewise.
6631 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6632 (libc_feholdexcept_setround_sse_ctx): New function.
6633 (libc_fesetenv_sse_ctx): Likewise.
6634 (libc_feupdateenv_sse_ctx): Likewise.
6635 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6636 (libc_feholdexcept_setround_387_ctx): Likewise.
6637 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6638 (libc_feholdsetround_387_prec_ctx): Likewise.
6639 (libc_feholdsetround_387_ctx): Likewise.
6640 (libc_feholdsetround_387_53bit_ctx): Likewise.
6641 (libc_feholdsetround_sse_ctx): Likewise.
6642 (libc_feresetround_sse_ctx): Likewise.
6643 (libc_feresetround_387_ctx): Likewise.
6644 (libc_feupdateenv_387_ctx): Likewise.
6645 (libc_feholdexcept_setroundf_ctx): Define macro.
6646 (libc_fesetenvf_ctx): Likewise.
6647 (libc_feupdateenvf_ctx): Likewise.
6648 (libc_feholdsetroundf_ctx): Likewise.
6649 (libc_feresetroundf_ctx): Likewise.
6650 (libc_feholdexcept_setround_ctx): Likewise.
6651 (libc_fesetenv_ctx): Likewise.
6652 (libc_feupdateenv_ctx): Likewise.
6653 (libc_feholdsetround_ctx): Likewise.
6654 (libc_feresetround_ctx): Likewise.
6655 (libc_feholdexcept_setroundl_ctx): Likewise.
6656 (libc_feupdateenvl_ctx): Likewise.
6657 (libc_feholdsetroundl_ctx): Likewise.
6658 (libc_feresetroundl_ctx): Likewise.
6659 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6660 (libc_feresetround_53bit_ctx): Likewise.
6661
59b30555
SP
66622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6663
6664 * locale/iso-639.def: Convert to UTF-8.
6665
f1d73d30
JM
66662013-06-11 Joseph Myers <joseph@codesourcery.com>
6667
6668 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6669 (EXCEPTION_TESTS_double): Likewise.
6670 (EXCEPTION_TESTS_long_double): Likewise.
6671 (EXCEPTION_TESTS): Likewise.
6672 * math/libm-test.inc (test_exceptions): Only test exceptions if
6673 EXCEPTION_TESTS (FLOAT).
6674
94aca5e7
SP
66752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6676
6677 * benchtests/Makefile (string-bench): Add strcpy_chk and
6678 stpcpy_chk.
6679 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6680 * benchtests/bench-stpcpy_chk.c: New file.
6681 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6682 * benchtests/bench-strcpy_chk.c: New file.
6683 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6684 code.
6685 (do_test): Likewise.
6686
fac0c5f2
RA
66872013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6688
6689 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6690 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6691 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6692 with tabs where appropriate.
6693 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6694 dl-procinfo.h.
6695 [PPC_PLATFORM_PPC440]: Likewise.
6696 [PPC_PLATFORM_PPC464]: Likewise.
6697 [PPC_PLATFORM_PPC476]: Likewise.
6698 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6699 ppc464, and ppc476 platform strings merging from ports/
6700 dl-procinfo.h.
6701
f22bc486
AS
67022013-06-11 Andreas Schwab <schwab@suse.de>
6703
6704 [BZ #14991]
6705 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6706 (from_ucs4_idx): Regenerate.
6707 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6708 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6709 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6710 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6711 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6712 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6713 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6714 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6715 from FROM_LOOP and TO_LOOP specific macros.
6716 (BODY): Handle combining characters.
6717 * iconvdata/BIG5HKSCS.irreversible: Update.
6718 * iconvdata/BIG5HKSCS.precomposed: New file.
6719 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6720 characters.
6721 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6722
c1f75dc3
SP
67232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6724
4eacded2
SP
6725 * include/sys/time.h: Fix indentation and add copyright header.
6726
fec799f8
SP
6727 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6728 (do_test): Likewise.
6729 * string/test-memchr.c (do_one_test): Likewise.
6730 (do_test): Likewise.
6731 * string/test-memcmp.c (do_one_test): Likewise.
6732 (do_test): Likewise.
6733 * string/test-memcpy.c (do_one_test): Likewise.
6734 (do_test): Likewise.
6735 * string/test-memmem.c (do_one_test): Likewise.
6736 (do_test): Likewise.
6737 (do_random_tests): Likewise.
6738 * string/test-memmove.c (do_one_test): Likewise.
6739 (do_test): Likewise.
6740 * string/test-memset.c (do_one_test): Likewise.
6741 (do_test): Likewise.
6742 * string/test-rawmemchr.c (do_one_test): Likewise.
6743 (do_test): Likewise.
6744 * string/test-strcasecmp.c (do_one_test): Likewise.
6745 (do_test): Likewise.
6746 * string/test-strcasestr.c (do_one_test): Likewise.
6747 (do_test): Likewise.
6748 * string/test-strcat.c (do_one_test): Likewise.
6749 (do_test): Likewise.
6750 * string/test-strchr.c (do_one_test): Likewise.
6751 (do_test): Likewise.
6752 * string/test-strcmp.c (do_one_test): Likewise.
6753 (do_test): Likewise.
6754 * string/test-strcpy.c (do_one_test): Likewise.
6755 (do_test): Likewise.
6756 * string/test-string.h: Likewise.
6757 (test_init): Likewise.
6758 * string/test-strlen.c (do_one_test): Likewise.
6759 (do_test): Likewise.
6760 * string/test-strncasecmp.c (do_one_test): Likewise.
6761 (do_test): Likewise.
6762 * string/test-strncat.c (do_one_test): Likewise.
6763 (do_test): Likewise.
6764 * string/test-strncmp.c (do_one_test): Likewise.
6765 (do_test_limit): Likewise.
6766 (do_test): Likewise.
6767 * string/test-strncpy.c (do_one_test): Likewise.
6768 (do_test): Likewise.
6769 * string/test-strnlen.c (do_one_test): Likewise.
6770 (do_test): Likewise.
6771 * string/test-strpbrk.c (do_one_test): Likewise.
6772 (do_test): Likewise.
6773 * string/test-strrchr.c (do_one_test): Likewise.
6774 (do_test): Likewise.
6775 * string/test-strspn.c (do_one_test): Likewise.
6776 (do_test): Likewise.
6777 * string/test-strstr.c (do_one_test): Likewise.
6778 (do_test): Likewise.
6779
97020474
SP
6780 * benchtests/Makefile (string-bench): Add string benchmarks.
6781 * benchtests/bench-bcopy-ifunc.c: New file.
6782 * benchtests/bench-bcopy.c: New file.
6783 * benchtests/bench-bzero-ifunc.c: New file.
6784 * benchtests/bench-bzero.c: New file.
6785 * benchtests/bench-memccpy-ifunc.c: New file.
6786 * benchtests/bench-memccpy.c: New file.
6787 * benchtests/bench-memchr-ifunc.c: New file.
6788 * benchtests/bench-memchr.c: New file.
6789 * benchtests/bench-memcmp-ifunc.c: New file.
6790 * benchtests/bench-memcmp.c: New file.
6791 * benchtests/bench-memmem-ifunc.c: New file.
6792 * benchtests/bench-memmem.c: New file.
6793 * benchtests/bench-memmove-ifunc.c: New file.
6794 * benchtests/bench-memmove.c: New file.
6795 * benchtests/bench-mempcpy-ifunc.c: New file.
6796 * benchtests/bench-mempcpy.c: New file.
6797 * benchtests/bench-memset-ifunc.c: New file.
6798 * benchtests/bench-memset.c: New file.
6799 * benchtests/bench-rawmemchr-ifunc.c: New file.
6800 * benchtests/bench-rawmemchr.c: New file.
6801 * benchtests/bench-stpcpy-ifunc.c: New file.
6802 * benchtests/bench-stpcpy.c: New file.
6803 * benchtests/bench-stpncpy-ifunc.c: New file.
6804 * benchtests/bench-stpncpy.c: New file.
6805 * benchtests/bench-strcasecmp-ifunc.c: New file.
6806 * benchtests/bench-strcasecmp.c: New file.
6807 * benchtests/bench-strcasestr-ifunc.c: New file.
6808 * benchtests/bench-strcasestr.c: New file.
6809 * benchtests/bench-strcat-ifunc.c: New file.
6810 * benchtests/bench-strcat.c: New file.
6811 * benchtests/bench-strchr-ifunc.c: New file.
6812 * benchtests/bench-strchr.c: New file.
6813 * benchtests/bench-strchrnul-ifunc.c: New file.
6814 * benchtests/bench-strchrnul.c: New file.
6815 * benchtests/bench-strcmp-ifunc.c: New file.
6816 * benchtests/bench-strcmp.c: New file.
6817 * benchtests/bench-strcpy-ifunc.c: New file.
6818 * benchtests/bench-strcpy.c: New file.
6819 * benchtests/bench-strcspn-ifunc.c: New file.
6820 * benchtests/bench-strcspn.c: New file.
6821 * benchtests/bench-strlen-ifunc.c: New file.
6822 * benchtests/bench-strlen.c: New file.
6823 * benchtests/bench-strncasecmp-ifunc.c: New file.
6824 * benchtests/bench-strncasecmp.c: New file.
6825 * benchtests/bench-strncat-ifunc.c: New file.
6826 * benchtests/bench-strncat.c: New file.
6827 * benchtests/bench-strncmp-ifunc.c: New file.
6828 * benchtests/bench-strncmp.c: New file.
6829 * benchtests/bench-strncpy-ifunc.c: New file.
6830 * benchtests/bench-strncpy.c: New file.
6831 * benchtests/bench-strnlen-ifunc.c: New file.
6832 * benchtests/bench-strnlen.c: New file.
6833 * benchtests/bench-strpbrk-ifunc.c: New file.
6834 * benchtests/bench-strpbrk.c: New file.
6835 * benchtests/bench-strrchr-ifunc.c: New file.
6836 * benchtests/bench-strrchr.c: New file.
6837 * benchtests/bench-strspn-ifunc.c: New file.
6838 * benchtests/bench-strspn.c: New file.
6839 * benchtests/bench-strstr-ifunc.c: New file.
6840 * benchtests/bench-strstr.c: New file.
6841
c1f75dc3
SP
6842 * benchtests/Makefile: Disable parallel execution of targets.
6843 (string-bench): Add memcpy.
6844 (benchset): New variable to store a list of benchmark sets.
6845 (bench-func): Renamed from bench.
6846 (bench-set): New target.
6847 (bench): Depend on bench-func and bench-set.
6848 * benchtests/README: Add section on benchmark sets.
6849 * benchtests/bench-memcpy-ifunc.c: New file.
6850 * benchtests/bench-memcpy.c: New file.
6851 * benchtests/bench-string.h: New file.
6852
50fd745b
AS
68532013-06-11 Andreas Schwab <schwab@suse.de>
6854
6855 [BZ #15577]
6856 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6857 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6858 values in the triple.
6859 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6860 terminator in the group key.
6861
3ee7e9fe
AJ
68622013-06-11 Andreas Jaeger <aj@suse.de>
6863
6864 * po/zh_TW.po: Update Chinese (traditional) translation from
6865 translation project.
6866
89fb6835
SP
68672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6868
6869 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6870 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6871 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6872 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6873 (clock_getcpuclockid): Likewise.
6874 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6875 Add weak_alias and libc_hidden_def.
6876 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6877 * rt/clock_gettime.c (clock_gettime): Rename to
6878 __clock_gettime. Add weak_alias and libc_hidden_def.
6879 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6880 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6881 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6882 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6883 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6884 Likewise.
6885 * rt/clock_settime.c (clock_settime): Rename to
6886 __clock_settime. Add weak_alias and libc_hidden_def.
6887 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6888
0efa6f8b
JM
68892013-06-10 Joseph Myers <joseph@codesourcery.com>
6890
b8c61b4b
JM
6891 * mach/err_boot.sub: Remove trailing whitespace.
6892 * mach/err_ipc.sub: Likewise.
6893 * mach/err_mach.sub: Likewise.
6894
0efa6f8b
JM
6895 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6896 (ROUNDING_TESTS_double): Likewise.
6897 (ROUNDING_TESTS_long_double): Likewise.
6898 (ROUNDING_TESTS): Likewise.
6899 * math/libm-test.inc: Include <math-tests.h>.
6900 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6901 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6902 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6903 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6904
50b818bf
SP
69052013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6906
6907 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6908 of assigning.
6909
60d2f8f3
JM
69102013-06-08 Joseph Myers <joseph@codesourcery.com>
6911
4902d2c3
JM
6912 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6913 otherwise empty TRANS lines.
6914 * sysdeps/gnu/errlist.c: Regenerated.
6915
60d2f8f3
JM
6916 * catgets/gencat.c (error_print): Use (void) in function
6917 definition.
6918 * crypt/crypt_util.c (__init_des): Likewise.
6919 * crypt/speeds.c (Stop): Likewise.
6920 (main): Likewise.
6921 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6922 * inet/ruserpass.c (token): Likewise.
6923 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6924 * intl/localealias.c (extend_alias_table): Likewise.
6925 * intl/plural-exp.c (init_germanic_plural): Likewise.
6926 * libio/fcloseall.c (__fcloseall): Likewise.
6927 * libio/genops.c (_IO_flush_all): Likewise.
6928 (_IO_flush_all_linebuffered): Likewise.
6929 (_IO_cleanup): Likewise.
6930 (_IO_iter_begin): Likewise.
6931 (_IO_iter_end): Likewise.
6932 (_IO_list_lock): Likewise.
6933 (_IO_list_unlock): Likewise.
6934 (_IO_list_resetlock): Likewise.
6935 * libio/getchar.c (getchar): Likewise.
6936 * libio/getchar_u.c (getchar_unlocked): Likewise.
6937 * libio/getwchar.c (getwchar): Likewise.
6938 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6939 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6940 * login/getpt.c (__getpt): Likewise.
6941 * login/tst-utmp.c (main): Likewise.
6942 * malloc/hooks.c (__malloc_check_init): Likewise.
6943 * malloc/malloc.c (__malloc_stats): Likewise.
6944 * malloc/mtrace.c (tr_break): Likewise.
6945 (mtrace): Likewise.
6946 (muntrace): Likewise.
6947 * misc/fstab.c (endfsent): Likewise.
6948 * misc/getclktck.c (__getclktck): Likewise.
6949 * misc/getdtsz.c (__getdtablesize): Likewise.
6950 * misc/gethostid.c (gethostid): Likewise.
6951 * misc/getpagesize.c (__getpagesize): Likewise.
6952 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6953 (__get_nprocs): Likewise.
6954 (__get_phys_pages): Likewise.
6955 (__get_avphys_pages): Likewise.
6956 * misc/getttyent.c (getttyent): Likewise.
6957 (setttyent): Likewise.
6958 (endttyent): Likewise.
6959 * misc/getusershell.c (getusershell): Likewise.
6960 (endusershell): Likewise.
6961 (setusershell): Likewise.
6962 (initshells): Likewise.
6963 * misc/hsearch.c (__hdestroy): Likewise.
6964 * misc/sync.c (sync): Likewise.
6965 * misc/syslog.c (closelog_internal): Likewise.
6966 (closelog): Likewise.
6967 * misc/ttyslot.c (ttyslot): Likewise.
6968 * misc/vhangup.c (vhangup): Likewise.
6969 * posix/fork.c (__fork): Likewise.
6970 * posix/getegid.c (__getegid): Likewise.
6971 * posix/geteuid.c (__geteuid): Likewise.
6972 * posix/getgid.c (__getgid): Likewise.
6973 * posix/getpid.c (__getpid): Likewise.
6974 * posix/getppid.c (__getppid): Likewise.
6975 * posix/getuid.c (__getuid): Likewise.
6976 * posix/pause.c (pause): Likewise.
6977 * posix/setpgrp.c (setpgrp): Likewise.
6978 * posix/setsid.c (__setsid): Likewise.
6979 * posix/test-vfork.c (noop): Likewise.
6980 * resolv/gethnamaddr.c (_endhtent): Likewise.
6981 (_gethtent): Likewise.
6982 (ht_endhostent): Likewise.
6983 (gethostent): Likewise.
6984 (dns_service): Likewise.
6985 * stdlib/drand48.c (drand48): Likewise.
6986 * stdlib/lrand48.c (lrand48): Likewise.
6987 * stdlib/mrand48.c (mrand48): Likewise.
6988 * stdlib/rand.c (rand): Likewise.
6989 * stdlib/random.c (__random): Likewise.
6990 * stdlib/setenv.c (clearenv): Likewise.
6991 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6992 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6993 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6994 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6995 (__get_nprocs): Likewise.
6996 (__get_phys_pages): Likewise.
6997 (__get_avphys_pages): Likewise.
6998 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6999 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7000 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7001 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7002 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7003 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7004 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7005 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7006 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7007 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7008 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7009 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7010 * sysdeps/posix/clock.c (clock): Likewise.
7011 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7012 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7013 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7014 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7015 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7017 (__get_nprocs_conf): Likewise.
7018 (__get_phys_pages): Likewise.
7019 (__get_avphys_pages): Likewise.
7020 * time/clock.c (clock): Likewise.
7021 * time/tzset.c (__tzname_max): Likewise.
7022
2e09a79a
JM
70232013-06-07 Joseph Myers <joseph@codesourcery.com>
7024
7025 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7026 (__bswap_32): Do not use "register".
7027 * crypt/crypt.c (_ufc_doit_r): Likewise.
7028 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7029 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7030 * gmon/gmon.c (__monstartup): Likewise.
7031 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7032 * hurd/hurdmalloc.c (more_memory): Likewise.
7033 (malloc): Likewise.
7034 (free): Likewise.
7035 (realloc): Likewise.
7036 (malloc_fork_prepare): Likewise.
7037 (malloc_fork_parent): Likewise.
7038 (malloc_fork_child): Likewise.
7039 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7040 (_svcauth_des): Likewise.
7041 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7042 * inet/inet_net.c (inet_network): Likewise.
7043 * inet/inet_netof.c (inet_netof): Likewise.
7044 * inet/rcmd.c (__validuser2_sa): Likewise.
7045 * io/fts.c (fts_open): Likewise.
7046 (fts_load): Likewise.
7047 (fts_close): Likewise.
7048 (fts_read): Likewise.
7049 (fts_children): Likewise.
7050 (fts_build): Likewise.
7051 (fts_stat): Likewise.
7052 (fts_sort): Likewise.
7053 (fts_alloc): Likewise.
7054 (fts_lfree): Likewise.
7055 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7056 (_IO_file_xsgetn): Likewise.
7057 (_IO_file_xsgetn_mmap): Likewise.
7058 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7059 (_IO_cookie_write): Likewise.
7060 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7061 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7062 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7063 * malloc/obstack.c (_obstack_begin): Likewise.
7064 (_obstack_begin_1): Likewise.
7065 (_obstack_newchunk): Likewise.
7066 (_obstack_allocated_p): Likewise.
7067 (obstack_free): Likewise.
7068 (_obstack_memory_used): Likewise.
7069 * misc/getttyent.c (getttynam): Likewise.
7070 (getttyent): Likewise.
7071 (skip): Likewise.
7072 (value): Likewise.
7073 * misc/getusershell.c (initshells): Likewise.
7074 * misc/syslog.c (__vsyslog_chk): Likewise.
7075 * misc/ttyslot.c (ttyslot): Likewise.
7076 * nis/nis_hash.c (__nis_hash): Likewise.
7077 * posix/fnmatch_loop.c (FCT): Likewise.
7078 * posix/getconf.c (print_all): Likewise.
7079 (main): Likewise.
7080 * posix/getopt.c (exchange): Likewise.
7081 * posix/glob.c (globfree): Likewise.
7082 (prefix_array): Likewise.
7083 (__glob_pattern_type): Likewise.
7084 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7085 (NS_GET32): Likewise.
7086 (NS_PUT16): Likewise.
7087 (NS_PUT32): Likewise.
7088 * resolv/gethnamaddr.c (getanswer): Likewise.
7089 (gethostbyname2): Likewise.
7090 (gethostbyaddr): Likewise.
7091 (_gethtent): Likewise.
7092 (_gethtbyname2): Likewise.
7093 (_gethtbyaddr): Likewise.
7094 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7095 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7096 * resolv/res_init.c (__res_vinit): Likewise.
7097 (net_mask): Likewise.
7098 * resolv/res_mkquery.c (outchar): Likewise.
7099 (PRINT): Likewise.
7100 * stdio-common/printf_fp.c (outchar): Likewise.
7101 (PRINT): Likewise.
7102 * stdio-common/printf_fphex.c (outchar): Likewise.
7103 (PRINT): Likewise.
7104 * stdio-common/printf_size.c (outchar): Likewise.
7105 (PRINT): Likewise.
7106 * stdio-common/test_rdwr.c (main): Likewise.
7107 * stdio-common/tfformat.c (matches): Likewise.
7108 * stdio-common/vfprintf.c (outchar): Likewise.
7109 (printf_unknown): Likewise.
7110 (buffered_vfprintf): Likewise.
7111 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7112 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7113 (ReadFile): Likewise.
7114 * stdlib/qsort.c (SWAP): Likewise.
7115 (_quicksort): Likewise.
7116 * stdlib/setenv.c (__add_to_environ): Likewise.
7117 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7118 * stdlib/strtol_l.c (__strtol_l): Likewise.
7119 * stdlib/tst-strtod.c (main): Likewise.
7120 * stdlib/tst-strtol.c (main): Likewise.
7121 * stdlib/tst-strtoll.c (main): Likewise.
7122 * string/bits/string2.h (__strcmp_cc): Likewise.
7123 (__strcmp_cg): Likewise.
7124 (__strcspn_c1): Likewise.
7125 (__strcspn_c2): Likewise.
7126 (__strcspn_c3): Likewise.
7127 (__strspn_c1): Likewise.
7128 (__strspn_c2): Likewise.
7129 (__strspn_c3): Likewise.
7130 (__strsep_1c): Likewise.
7131 (__strsep_2c): Likewise.
7132 (__strsep_3c): Likewise.
7133 * string/memccpy.c (__memccpy): Likewise.
7134 * string/stpcpy.c (__stpcpy): Likewise.
7135 * string/strcmp.c (strcmp): Likewise.
7136 * string/strrchr.c (strrchr): Likewise.
7137 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7138 Likewise.
7139 * sysdeps/mach/hurd/getcwd.c
7140 (_hurd_canonicalize_directory_name_internal): Likewise.
7141 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7142 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7143 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7144 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7145 Likewise, in both definitions.
7146 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7147 definitions.
7148 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7149 64] (__bswap_64): Likewise.
7150 * time/test_time.c (main): Likewise.
7151 * time/tzfile.c (__tzfile_read): Likewise.
7152 (__tzfile_compute): Likewise.
7153 * time/tzset.c (__tzset_parse_tz): Likewise.
7154 (tzset_internal): Likewise.
7155 (compute_change): Likewise.
7156 * wcsmbs/wcscat.c (__wcscat): Likewise.
7157 * wcsmbs/wcschr.c (wcschr): Likewise.
7158 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7159 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7160 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7161 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7162 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7163 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7164 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7165 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7166 * wcsmbs/wmemset.c (wmemset): Likewise.
7167
9e54314b
JM
71682013-06-06 Joseph Myers <joseph@codesourcery.com>
7169
7170 * scripts/config.guess: Update to version 2013-05-16.
7171 * scripts/config.sub: Update to version 2013-04-24.
7172 * scripts/install-sh: Update to version 2011-11-20.07.
7173 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7174 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7175
350635a5
OB
71762013-06-06 Ondřej Bílka <neleai@seznam.cz>
7177
7178 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7179 * elf/sln.c: Likewise.
7180 * hurd/hurd/ioctl.h: Likewise.
7181 * hurd/hurdmalloc.c: Likewise.
7182 * hurd/xattr.c: Likewise.
7183 * include/shlib-compat.h: Likewise.
7184 * inet/ruserpass.c: Likewise.
7185 * libio/iofgets_u.c: Likewise.
7186 * libio/iofgetws_u.c: Likewise.
7187 * locale/programs/ld-identification.c: Likewise.
7188 * locale/programs/ld-time.c: Likewise.
7189 * mach/msg-destroy.c: Likewise.
7190 * nss/nss_files/files-netgrp.c: Likewise.
7191 * resolv/res_data.c: Likewise.
7192 * soft-fp/op-1.h: Likewise.
7193 * soft-fp/op-2.h: Likewise.
7194 * soft-fp/op-4.h: Likewise.
7195 * soft-fp/op-common.h: Likewise.
7196 * stdio-common/printf_fphex.c: Likewise.
7197 * stdlib/strtod_l.c: Likewise.
7198 * sunrpc/rpc/clnt.h: Likewise.
7199 * sysdeps/generic/framestate.c: Likewise.
7200 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7201 * sysdeps/i386/bsd-setjmp.S: Likewise.
7202 * sysdeps/i386/__longjmp.S: Likewise.
7203 * sysdeps/i386/setjmp.S: Likewise.
7204 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7205 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7214 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7220 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7222 * sysdeps/ieee754/support.c: Likewise.
7223 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7224 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7225 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7226 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7227 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7228 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7229 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7230 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7231 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7232 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7233 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7234 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7235 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7236 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7237 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7238 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7239 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7241
44a988af
OB
72422013-06-05 Ondřej Bílka <neleai@seznam.cz>
7243
25506f09 7244 * posix/transbug.c: Remove executable mode.
44a988af 7245
9c84384c
JM
72462013-06-05 Joseph Myers <joseph@codesourcery.com>
7247
7248 * crypt/speeds.c: Remove trailing whitespace.
7249 * dlfcn/default.c: Likewise.
7250 * elf/ifuncdep2.c: Likewise.
7251 * elf/ifuncmain1.c: Likewise.
7252 * elf/ifuncmain1vis.c: Likewise.
7253 * elf/testobj.h: Likewise.
7254 * elf/tst-stackguard1.c: Likewise.
7255 * gmon/sys/gmon.h: Likewise.
7256 * hurd/hurdmsg.c: Likewise.
7257 * hurd/new-fd.c: Likewise.
7258 * hurd/ports-get.c: Likewise.
7259 * iconvdata/ibm1008_420.c: Likewise.
7260 * inet/tst-getni1.c: Likewise.
7261 * inet/tst-getni2.c: Likewise.
7262 * libio/ioungetc.c: Likewise.
7263 * libio/wfiledoalloc.c: Likewise.
7264 * manual/libm-err-tab.pl: Likewise.
7265 * math/w_dremf.c: Likewise.
7266 * misc/ftruncate.c: Likewise.
7267 * posix/bug-glob2.c: Likewise.
7268 * posix/tst-pcre.c: Likewise.
7269 * posix/wait4.c: Likewise.
7270 * resolv/README: Likewise.
7271 * resolv/res_debug.h: Likewise.
7272 * resolv/tst-inet_ntop.c: Likewise.
7273 * setjmp/bug269-setjmp.c: Likewise.
7274 * soft-fp/extended.h: Likewise.
7275 * soft-fp/op-1.h: Likewise.
7276 * soft-fp/op-2.h: Likewise.
7277 * soft-fp/op-4.h: Likewise.
7278 * soft-fp/op-8.h: Likewise.
7279 * soft-fp/testit.c: Likewise.
7280 * stdio-common/bug16.c: Likewise.
7281 * stdlib/random.c: Likewise.
7282 * sunrpc/rpcsvc/rquota.x: Likewise.
7283 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7284 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7286 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7287 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7288 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7290 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7291 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7292 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7293 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7312 * sysdeps/ieee754/s_lib_version.c: Likewise.
7313 * sysdeps/mach/hurd/check_fds.c: Likewise.
7314 * sysdeps/mach/hurd/getsockname.c: Likewise.
7315 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7316 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7317 * sysdeps/powerpc/bits/link.h: Likewise.
7318 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7319 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7320 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7321 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7322 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7323 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7324 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7325 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7326 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7327 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7328 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7329 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7330 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7331 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7332 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7333 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7334 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7335 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7336 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7337 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7338 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7339 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7340 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7341 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7342 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7343 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7344 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7345 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7346 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7347 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7348 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7349 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7350 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7351 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7352 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7353 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7354 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7355 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7356 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7357 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7358 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7359 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7360 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7361 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7362 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7363 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7364 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7365 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7366 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7367 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7370 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7371 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7372 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7373 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7374 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7375 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7376 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7377 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7378 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7379 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7380 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7381 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7382 * sysdeps/powerpc/sysdep.h: Likewise.
7383 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7384 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7385 * sysdeps/sh/dl-trampoline.S: Likewise.
7386 * sysdeps/sh/memset.S: Likewise.
7387 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7388 * sysdeps/sh/strlen.S: Likewise.
7389 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7390 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7391 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7392 * sysdeps/sparc/sparc32/rem.S: Likewise.
7393 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7394 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7395 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7396 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7397 * sysdeps/sparc/sparc32/urem.S: Likewise.
7398 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7399 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7400 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7401 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7402 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7403 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7404 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7405 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7406 * sysdeps/unix/bsd/times.c: Likewise.
7407 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7408 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7412 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7413 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7414 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7415 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7416 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7417 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7418 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7419 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7420 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7421 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7422 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7423 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7424 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7425 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7426 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7427 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7428 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7429 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7430 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7431 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7432 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7433 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7434 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7435 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7436 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7437 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7438 * sysdeps/x86_64/strcspn.S: Likewise.
7439
869378a5
RA
74402013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7441
7442 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7443 generated file. Regenerate properly from gen-translit.pl.
7444 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7445 locale/C-translit.h.
7446
840e2943
AS
74472013-06-05 Andreas Schwab <schwab@suse.de>
7448
7449 [BZ #15100]
7450 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7451 week as 6 instead of -1.
7452 * time/tst-strptime.c (day_tests): Add test case.
7453
4c60cb0c
SP
74542013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7455
7456 * sysdeps/generic/math_private.h
7457 (libc_feholdexcept_setround_53bit): Replace with
7458 libc_feholdsetround_53bit.
7459 (libc_feupdateenv_53bit): Replace with
7460 libc_feresetround_53bit.
7461 (SET_RESTORE_ROUND_53BIT): Adjust.
7462
d180203e
SP
74632013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7464
96df079a
SP
7465 * string/test-strchrnul.c: Add copyright header.
7466
d180203e
SP
7467 * posix/tst-getaddrinfo4.c: Increase test timeout.
7468
8b0ccb2d
CD
74692013-06-03 Carlos O'Donell <carlos@redhat.com>
7470
7471 [BZ #15536]
7472 * math/libm-test.inc (MAX_EXP): Remove
7473 (MIN_EXP): Define.
7474 (ulp): Use MIN_EXP - MANT_DIG.
7475 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7476
3b3c4d40
CD
74772013-05-31 Carlos O'Donell <carlos@redhat.com>
7478
7479 * po/be.po: Revert last change.
7480 * po/zh_CN.po: Likewise.
7481 * po/header.pot: Likewise.
7482
fab7ce3f
JM
74832013-05-31 Joseph Myers <joseph@codesourcery.com>
7484
7485 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7486 link-libc-deps to empty as target-specific variable.
7487 * Makerules (link-libc-args): New variable.
7488 (libc-for-link): Likewise.
7489 (link-libc-deps): Likewise.
7490 (lib%.so): Depend on $(link-libc-deps). Link with
7491 $(link-libc-args).
7492 (build-module): Link with $(link-libc-args).
7493 (build-module-asneeded): Likewise.
7494 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7495 list of objects.
7496 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7497 target-specific variable.
7498 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7499 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7500 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7501 libc.
7502 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7503 libc and ld.so.
7504 ($(objpfx)libpcprofile.so): Likewise.
7505 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7506 libc_nonshared.a.
7507 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7508 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7509 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7510 $(link-libc-deps).
7511 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7512 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7513 * login/Makefile ($(objpfx)libutil.so): Likewise.
7514 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7515 * math/Makefile ($(objpfx)libm.so): Likewise.
7516 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7517 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7518 variable instead of depending directly on libc.
7519 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7520 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7521 $(link-libc-deps).
7522 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7523 libc.
7524 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7525 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7526 ($(objpfx)libanl.so): Likewise.
7527 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7528 ld.so.
7529 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7530 $(link-libc-deps).
7531 * sysdeps/i386/fpu/Makefile: Remove file.
7532 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7533 ($(objpfx)libm.so): Remove dependency on ld.so.
7534
eca5920c
PF
75352013-05-30 Patsy Franklin <pfrankli@redhat.com>
7536
7537 [BZ # 15553]
7538 * nis/yp_xdr.c (XDRMAXNAME): Define.
7539 (XDRMAXRECORD): Define.
7540 (xdr_domainname): Use XDRMAXNAME.
7541 (xdr_mapname): Likewise.
7542 (xdr_peername): Likewise.
7543 (xdr_keydat): Use XDRMAXRECORD.
7544 (xdr_valdat): Likewise.
7545
75462013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7547
7548 [BZ #14256]
7549 * manual/errno.texi (ESTALE): Update to account for more than
7550 just NFS file systems.
7551 * sysdeps/gnu/errlist.c: Regenerated.
7552
b9375348
SP
75532013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7554
7555 [BZ #15465]
7556 * elf/Makefile (tests): Add tst-null-argv.
7557 (modules-names): Add tst-null-argv-lib.
7558 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7559 (tst-null-argv-ENV): Set environment for tst-null-argv.
7560 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7561 (RTLD_PROGNAME): New macro.
7562 * elf/tst-null-argv.c: New test case.
7563 * elf/tst-null-argv-lib.c: Library for test case.
7564 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7565 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7566 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7567 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7568 * elf/dl-init.c (call_init): Likewise.
7569 (_dl_init): Likewise.
7570 * elf/dl-load.c (print_search_path): Likewise.
7571 (_dl_map_object): Likewise.
7572 * elf/dl-lookup.c (do_lookup_x): Likewise.
7573 (add_dependency): Likewise.
7574 (_dl_lookup_symbol_x): Likewise.
7575 (_dl_debug_bindings): Likewise.
7576 * elf/dl-open.c (_dl_show_scope): Likewise.
7577 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7578 * elf/dl-version.c (match_symbol): Likewise.
7579 (_dl_check_map_versions): Likewise.
7580 * elf/rtld.c (dl_main): Likewise.
7581 (print_unresolved): Use RTLD_PROGNAME.
7582 (print_missing_version): Likewise.
7583 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7584 (elf_machine_rela): Likewise.
7585 * sysdeps/powerpc/powerpc32/dl-machine.c
7586 (__process_machine_rela): Likewise.
7587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7588 Likewise.
7589 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7590 Likewise.
7591 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7592 Likewise.
7593 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7594 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7595 Likewise.
7596 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7597 Likewise.
7598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7599
8a9f20c8
CD
76002013-05-28 Carlos O'Donell <carlos@redhat.com>
7601
7602 * po/be.po: Add descriptive title.
7603 * po/zh_CN.po: Likewise.
7604 * po/header.pot: Likewise.
7605
0e60d68e
MF
76062013-05-28 Mike Frysinger <vapier@gentoo.org>
7607
7608 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7609 error message.
7610 (enlarge_archive): Likewise.
7611
56b672e9
BN
76122013-05-28 Ben North <ben@redfrontdoor.org>
7613
7614 * manual/arith.texi (frexp): It is the magnitude of the return
7615 value which lies in [0.5, 1), not the return value itself.
7616
5e056687
AZ
76172013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7618
7619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7620
2b66ef5d
TS
76212013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7622
528c2405
TS
7623 * stdio-common/bug26.c (main): Correct fscanf template.
7624
07b4c13d
TS
7625 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7626 declare _dl_skip_args.
7627
ec9dd97c
TS
7628 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7629 Don't declare.
7630
2b66ef5d
TS
7631 * manual/platform.texi: Add missing @end deftypefun.
7632
4f8dfe27
JM
76332013-05-24 Joseph Myers <joseph@codesourcery.com>
7634
0323d086
JM
7635 [BZ #15529]
7636 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7637 bit of mantissa of 2^16382.
7638 * math/libm-test.inc (hypot_test_data): Add more tests.
7639
dd4259b9
JM
7640 * math/libm-test.inc: Add drem and pow10 to list of tested
7641 functions.
7642 (pow10_test): New function.
7643 (drem_test): Likewise.
7644 (drem_test_tonearest): Likewise.
7645 (drem_test_towardzero): Likewise.
7646 (drem_test_downward): Likewise.
7647 (drem_test_upward): Likewise.
7648 (main): Call the new functions.
7649
4f8dfe27
JM
7650 * math/libm-test.inc (finite_test_data): Remove.
7651 (finite_test): Run tests from isfinite_test_data.
7652 (gamma_test_data): Remove.
7653 (gamma_test): Run tests from lgamma_test_data.
7654 * sysdeps/i386/fpu/libm-test-ulps: Update.
7655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7656
d116b7c4
AZ
76572013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7658
7659 * manual/platform.texi: Add PowerPC PPR function set documentation.
7660 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7661 implementation.
7662
e96e3767
CD
76632013-05-24 Carlos O'Donell <carlos@redhat.com>
7664
7665 * math/libm-test.inc (MAX_EXP): Define.
7666 (ULPDIFF): Define.
7667 (ulp): New function.
7668 (check_float_internal): Use ULPDIFF.
7669 (cpow_test): Disable failing test.
7670 (check_ulp): Test ulp() implemetnation.
7671 (main): Call check_ulp before starting tests.
7672
b679a606
JM
76732013-05-24 Joseph Myers <joseph@codesourcery.com>
7674
e8bdba36
JM
7675 * math/gen-libm-test.pl (generate_testfile): Do not handle
7676 START_DATA and END_DATA.
7677 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7678 END_DATA.
7679 (acos_tonearest_test_data): Likewise.
7680 (acos_towardzero_test_data): Likewise.
7681 (acos_downward_test_data): Likewise.
7682 (acos_upward_test_data): Likewise.
7683 (acosh_test_data): Likewise.
7684 (asin_test_data): Likewise.
7685 (asin_tonearest_test_data): Likewise.
7686 (asin_towardzero_test_data): Likewise.
7687 (asin_downward_test_data): Likewise.
7688 (asin_upward_test_data): Likewise.
7689 (asinh_test_data): Likewise.
7690 (atan_test_data): Likewise.
7691 (atanh_test_data): Likewise.
7692 (atan2_test_data): Likewise.
7693 (cabs_test_data): Likewise.
7694 (cacos_test_data): Likewise.
7695 (cacosh_test_data): Likewise.
7696 (carg_test_data): Likewise.
7697 (casin_test_data): Likewise.
7698 (casinh_test_data): Likewise.
7699 (catan_test_data): Likewise.
7700 (catanh_test_data): Likewise.
7701 (cbrt_test_data): Likewise.
7702 (ccos_test_data): Likewise.
7703 (ccosh_test_data): Likewise.
7704 (ceil_test_data): Likewise.
7705 (cexp_test_data): Likewise.
7706 (cimag_test_data): Likewise.
7707 (clog_test_data): Likewise.
7708 (clog10_test_data): Likewise.
7709 (conj_test_data): Likewise.
7710 (copysign_test_data): Likewise.
7711 (cos_test_data): Likewise.
7712 (cos_tonearest_test_data): Likewise.
7713 (cos_towardzero_test_data): Likewise.
7714 (cos_downward_test_data): Likewise.
7715 (cos_upward_test_data): Likewise.
7716 (cosh_test_data): Likewise.
7717 (cosh_tonearest_test_data): Likewise.
7718 (cosh_towardzero_test_data): Likewise.
7719 (cosh_downward_test_data): Likewise.
7720 (cosh_upward_test_data): Likewise.
7721 (cpow_test_data): Likewise.
7722 (cproj_test_data): Likewise.
7723 (creal_test_data): Likewise.
7724 (csin_test_data): Likewise.
7725 (csinh_test_data): Likewise.
7726 (csqrt_test_data): Likewise.
7727 (ctan_test_data): Likewise.
7728 (ctan_tonearest_test_data): Likewise.
7729 (ctan_towardzero_test_data): Likewise.
7730 (ctan_downward_test_data): Likewise.
7731 (ctan_upward_test_data): Likewise.
7732 (ctanh_test_data): Likewise.
7733 (ctanh_tonearest_test_data): Likewise.
7734 (ctanh_towardzero_test_data): Likewise.
7735 (ctanh_downward_test_data): Likewise.
7736 (ctanh_upward_test_data): Likewise.
7737 (erf_test_data): Likewise.
7738 (erfc_test_data): Likewise.
7739 (exp_test_data): Likewise.
7740 (exp_tonearest_test_data): Likewise.
7741 (exp_towardzero_test_data): Likewise.
7742 (exp_downward_test_data): Likewise.
7743 (exp_upward_test_data): Likewise.
7744 (exp10_test_data): Likewise.
7745 (exp2_test_data): Likewise.
7746 (expm1_test_data): Likewise.
7747 (fabs_test_data): Likewise.
7748 (fdim_test_data): Likewise.
7749 (finite_test_data): Likewise.
7750 (floor_test_data): Likewise.
7751 (fma_test_data): Likewise.
7752 (fma_towardzero_test_data): Likewise.
7753 (fma_downward_test_data): Likewise.
7754 (fma_upward_test_data): Likewise.
7755 (fmax_test_data): Likewise.
7756 (fmin_test_data): Likewise.
7757 (fmod_test_data): Likewise.
7758 (fpclassify_test_data): Likewise.
7759 (frexp_test_data): Likewise.
7760 (gamma_test_data): Likewise.
7761 (hypot_test_data): Likewise.
7762 (ilogb_test_data): Likewise.
7763 (isfinite_test_data): Likewise.
7764 (isgreater_test_data): Likewise.
7765 (isgreaterequal_test_data): Likewise.
7766 (isinf_test_data): Likewise.
7767 (isless_test_data): Likewise.
7768 (islessequal_test_data): Likewise.
7769 (islessgreater_test_data): Likewise.
7770 (isnan_test_data): Likewise.
7771 (isnormal_test_data): Likewise.
7772 (issignaling_test_data): Likewise.
7773 (isunordered_test_data): Likewise.
7774 (j0_test_data): Likewise.
7775 (j1_test_data): Likewise.
7776 (jn_test_data): Likewise.
7777 (ldexp_test_data): Likewise.
7778 (lgamma_test_data): Likewise.
7779 (lrint_test_data): Likewise.
7780 (lrint_tonearest_test_data): Likewise.
7781 (lrint_towardzero_test_data): Likewise.
7782 (lrint_downward_test_data): Likewise.
7783 (lrint_upward_test_data): Likewise.
7784 (llrint_test_data): Likewise.
7785 (llrint_tonearest_test_data): Likewise.
7786 (llrint_towardzero_test_data): Likewise.
7787 (llrint_downward_test_data): Likewise.
7788 (llrint_upward_test_data): Likewise.
7789 (log_test_data): Likewise.
7790 (log10_test_data): Likewise.
7791 (log1p_test_data): Likewise.
7792 (log2_test_data): Likewise.
7793 (logb_test_data): Likewise.
7794 (logb_downward_test_data): Likewise.
7795 (lround_test_data): Likewise.
7796 (llround_test_data): Likewise.
7797 (modf_test_data): Likewise.
7798 (nearbyint_test_data): Likewise.
7799 (nextafter_test_data): Likewise.
7800 (nexttoward_test_data): Likewise.
7801 (pow_test_data): Likewise.
7802 (pow_tonearest_test_data): Likewise.
7803 (pow_towardzero_test_data): Likewise.
7804 (pow_downward_test_data): Likewise.
7805 (pow_upward_test_data): Likewise.
7806 (remainder_test_data): Likewise.
7807 (remainder_tonearest_test_data): Likewise.
7808 (remainder_towardzero_test_data): Likewise.
7809 (remainder_downward_test_data): Likewise.
7810 (remainder_upward_test_data): Likewise.
7811 (remquo_test_data): Likewise.
7812 (rint_test_data): Likewise.
7813 (rint_tonearest_test_data): Likewise.
7814 (rint_towardzero_test_data): Likewise.
7815 (rint_downward_test_data): Likewise.
7816 (rint_upward_test_data): Likewise.
7817 (round_test_data): Likewise.
7818 (scalb_test_data): Likewise.
7819 (scalbn_test_data): Likewise.
7820 (scalbln_test_data): Likewise.
7821 (signbit_test_data): Likewise.
7822 (sin_test_data): Likewise.
7823 (sin_tonearest_test_data): Likewise.
7824 (sin_towardzero_test_data): Likewise.
7825 (sin_downward_test_data): Likewise.
7826 (sin_upward_test_data): Likewise.
7827 (sincos_test_data): Likewise.
7828 (sinh_test_data): Likewise.
7829 (sinh_tonearest_test_data): Likewise.
7830 (sinh_towardzero_test_data): Likewise.
7831 (sinh_downward_test_data): Likewise.
7832 (sinh_upward_test_data): Likewise.
7833 (sqrt_test_data): Likewise.
7834 (tan_test_data): Likewise.
7835 (tan_tonearest_test_data): Likewise.
7836 (tan_towardzero_test_data): Likewise.
7837 (tan_downward_test_data): Likewise.
7838 (tan_upward_test_data): Likewise.
7839 (tanh_test_data): Likewise.
7840 (tgamma_test_data): Likewise.
7841 (trunc_test_data): Likewise.
7842 (y0_test_data): Likewise.
7843 (y1_test_data): Likewise.
7844 (yn_test_data): Likewise.
7845 (significand_test_data): Likewise.
7846
b679a606
JM
7847 * math/gen-libm-test.pl (@functions): Remove variable.
7848 (generate_testfile): Don't handle START and END lines.
7849 * math/libm-test.inc (START): New macro.
7850 (END): Likewise.
7851 (END_COMPLEX): Likewise.
7852 (acos_test): Use END macro without arguments.
7853 (acos_test_tonearest): Likewise.
7854 (acos_test_towardzero): Likewise.
7855 (acos_test_downward): Likewise.
7856 (acos_test_upward): Likewise.
7857 (acosh_test): Likewise.
7858 (asin_test): Likewise.
7859 (asin_test_tonearest): Likewise.
7860 (asin_test_towardzero): Likewise.
7861 (asin_test_downward): Likewise.
7862 (asin_test_upward): Likewise.
7863 (asinh_test): Likewise.
7864 (atan_test): Likewise.
7865 (atanh_test): Likewise.
7866 (atan2_test): Likewise.
7867 (cabs_test): Likewise.
7868 (cacos_test): Use END_COMPLEX macro without arguments.
7869 (cacosh_test): Likewise.
7870 (carg_test): Use END macro without arguments.
7871 (casin_test): Use END_COMPLEX macro without arguments.
7872 (casinh_test): Likewise.
7873 (catan_test): Likewise.
7874 (catanh_test): Likewise.
7875 (cbrt_test): Use END macro without arguments.
7876 (ccos_test): Use END_COMPLEX macro without arguments.
7877 (ccosh_test): Likewise.
7878 (ceil_test): Use END macro without arguments.
7879 (cexp_test): Use END_COMPLEX macro without arguments.
7880 (cimag_test): Use END macro without arguments.
7881 (clog_test): Use END_COMPLEX macro without arguments.
7882 (clog10_test): Likewise.
7883 (conj_test): Likewise.
7884 (copysign_test): Use END macro without arguments.
7885 (cos_test): Likewise.
7886 (cos_test_tonearest): Likewise.
7887 (cos_test_towardzero): Likewise.
7888 (cos_test_downward): Likewise.
7889 (cos_test_upward): Likewise.
7890 (cosh_test): Likewise.
7891 (cosh_test_tonearest): Likewise.
7892 (cosh_test_towardzero): Likewise.
7893 (cosh_test_downward): Likewise.
7894 (cosh_test_upward): Likewise.
7895 (cpow_test): Use END_COMPLEX macro without arguments.
7896 (cproj_test): Likewise.
7897 (creal_test): Use END macro without arguments.
7898 (csin_test): Use END_COMPLEX macro without arguments.
7899 (csinh_test): Likewise.
7900 (csqrt_test): Likewise.
7901 (ctan_test): Likewise.
7902 (ctan_test_tonearest): Likewise.
7903 (ctan_test_towardzero): Likewise.
7904 (ctan_test_downward): Likewise.
7905 (ctan_test_upward): Likewise.
7906 (ctanh_test): Likewise.
7907 (ctanh_test_tonearest): Likewise.
7908 (ctanh_test_towardzero): Likewise.
7909 (ctanh_test_downward): Likewise.
7910 (ctanh_test_upward): Likewise.
7911 (erf_test): Use END macro without arguments.
7912 (erfc_test): Likewise.
7913 (exp_test): Likewise.
7914 (exp_test_tonearest): Likewise.
7915 (exp_test_towardzero): Likewise.
7916 (exp_test_downward): Likewise.
7917 (exp_test_upward): Likewise.
7918 (exp10_test): Likewise.
7919 (exp2_test): Likewise.
7920 (expm1_test): Likewise.
7921 (fabs_test): Likewise.
7922 (fdim_test): Likewise.
7923 (finite_test): Likewise.
7924 (floor_test): Likewise.
7925 (fma_test): Likewise.
7926 (fma_test_towardzero): Likewise.
7927 (fma_test_downward): Likewise.
7928 (fma_test_upward): Likewise.
7929 (fmax_test): Likewise.
7930 (fmin_test): Likewise.
7931 (fmod_test): Likewise.
7932 (fpclassify_test): Likewise.
7933 (frexp_test): Likewise.
7934 (gamma_test): Likewise.
7935 (hypot_test): Likewise.
7936 (ilogb_test): Likewise.
7937 (isfinite_test): Likewise.
7938 (isgreater_test): Likewise.
7939 (isgreaterequal_test): Likewise.
7940 (isinf_test): Likewise.
7941 (isless_test): Likewise.
7942 (islessequal_test): Likewise.
7943 (islessgreater_test): Likewise.
7944 (isnan_test): Likewise.
7945 (isnormal_test): Likewise.
7946 (issignaling_test): Likewise.
7947 (isunordered_test): Likewise.
7948 (j0_test): Likewise.
7949 (j1_test): Likewise.
7950 (jn_test): Likewise.
7951 (ldexp_test): Likewise.
7952 (lgamma_test): Likewise.
7953 (lrint_test): Likewise.
7954 (lrint_test_tonearest): Likewise.
7955 (lrint_test_towardzero): Likewise.
7956 (lrint_test_downward): Likewise.
7957 (lrint_test_upward): Likewise.
7958 (llrint_test): Likewise.
7959 (llrint_test_tonearest): Likewise.
7960 (llrint_test_towardzero): Likewise.
7961 (llrint_test_downward): Likewise.
7962 (llrint_test_upward): Likewise.
7963 (log_test): Likewise.
7964 (log10_test): Likewise.
7965 (log1p_test): Likewise.
7966 (log2_test): Likewise.
7967 (logb_test): Likewise.
7968 (logb_test_downward): Likewise.
7969 (lround_test): Likewise.
7970 (llround_test): Likewise.
7971 (modf_test): Likewise.
7972 (nearbyint_test): Likewise.
7973 (nextafter_test): Likewise.
7974 (nexttoward_test): Likewise.
7975 (pow_test): Likewise.
7976 (pow_test_tonearest): Likewise.
7977 (pow_test_towardzero): Likewise.
7978 (pow_test_downward): Likewise.
7979 (pow_test_upward): Likewise.
7980 (remainder_test): Likewise.
7981 (remainder_test_tonearest): Likewise.
7982 (remainder_test_towardzero): Likewise.
7983 (remainder_test_downward): Likewise.
7984 (remainder_test_upward): Likewise.
7985 (remquo_test): Likewise.
7986 (rint_test): Likewise.
7987 (rint_test_tonearest): Likewise.
7988 (rint_test_towardzero): Likewise.
7989 (rint_test_downward): Likewise.
7990 (rint_test_upward): Likewise.
7991 (round_test): Likewise.
7992 (scalb_test): Likewise.
7993 (scalbn_test): Likewise.
7994 (scalbln_test): Likewise.
7995 (signbit_test): Likewise.
7996 (sin_test): Likewise.
7997 (sin_test_tonearest): Likewise.
7998 (sin_test_towardzero): Likewise.
7999 (sin_test_downward): Likewise.
8000 (sin_test_upward): Likewise.
8001 (sincos_test): Likewise.
8002 (sinh_test): Likewise.
8003 (sinh_test_tonearest): Likewise.
8004 (sinh_test_towardzero): Likewise.
8005 (sinh_test_downward): Likewise.
8006 (sinh_test_upward): Likewise.
8007 (sqrt_test): Likewise.
8008 (tan_test): Likewise.
8009 (tan_test_tonearest): Likewise.
8010 (tan_test_towardzero): Likewise.
8011 (tan_test_downward): Likewise.
8012 (tan_test_upward): Likewise.
8013 (tanh_test): Likewise.
8014 (tgamma_test): Likewise.
8015 (trunc_test): Likewise.
8016 (y0_test): Likewise.
8017 (y1_test): Likewise.
8018 (yn_test): Likewise.
8019 (significand_test): Likewise.
8020
bae143d2
OB
80212013-05-24 Ondřej Bílka <neleai@seznam.cz>
8022
8023 [BZ #15381]
8024 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8025
9323d39b
EM
80262013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8027
d4ea44a0 8028 [BZ #14894]
9323d39b
EM
8029 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8030 __ppc_mdoio and __ppc_mdoom.
8031 * manual/platform.texi: Document new functions __ppc_yield,
8032 __ppc_mdoio and __ppc_mdoom.
8033
13e23af7
CD
80342013-05-22 Carlos O'Donell <carlos@redhat.com>
8035
8036 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8037 (main): Mention "tls" pseudo-hwcap is legacy.
8038 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8039
351fe550
JM
80402013-05-22 Joseph Myers <joseph@codesourcery.com>
8041
8042 * math/gen-libm-test.pl (parse_args): Output only string of
8043 arguments as text for test name, not full call or descriptions of
8044 tests for extra outputs.
8045 (generate_testfile): Do not pass function name to parse_args.
8046 Generate this_func variable from START.
8047 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8048 field to arg_str.
8049 (struct test_ff_f_data): Likewise.
8050 (test_ff_f_data_nexttoward): Likewise.
8051 (struct test_fi_f_data): Likewise.
8052 (struct test_fl_f_data): Likewise.
8053 (struct test_if_f_data): Likewise.
8054 (struct test_fff_f_data): Likewise.
8055 (struct test_c_f_data): Likewise.
8056 (struct test_f_f1_data): Likewise. Remove field extra_name.
8057 (struct test_fF_f1_data): Likewise.
8058 (struct test_ffI_f1_data): Likewise.
8059 (struct test_c_c_data): Rename test_name field to arg_str.
8060 (struct test_cc_c_data): Likewise.
8061 (struct test_f_i_data): Likewise.
8062 (struct test_ff_i_data): Likewise.
8063 (struct test_f_l_data): Likewise.
8064 (struct test_f_L_data): Likewise.
8065 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8066 and extra2_name.
8067 (COMMON_TEST_SETUP): New macro.
8068 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8069 (COMMON_TEST_CLEANUP): Likewise.
8070 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8071 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8072 macros.
8073 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8074 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8075 macros.
8076 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8077 (RUN_TEST_fff_f): Take argument string. Call new setup and
8078 cleanup macros.
8079 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8080 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8081 macros.
8082 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8083 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8084 macros.
8085 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8086 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8087 cleanup macros.
8088 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8089 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8090 cleanup macros.
8091 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8092 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8093 cleanup macros.
8094 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8095 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8096 macros.
8097 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8098 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8099 macros.
8100 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8101 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8102 macros.
8103 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8104 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8105 cleanup macros.
8106 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8107 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8108 cleanup macros.
8109 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8110 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8111 macros.
8112 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8113 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8114 cleanup macros.
8115 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8116 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8117 macros.
8118 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8119 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8120 macros.
8121 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8122 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8123 cleanup macros.
8124 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8125
85118d4d
EBM
81262013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8127
8128 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8129 to _sifields.sigfault.
8130 (si_addr_lsb): Define new macro.
8131 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8132 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8133 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8134
7a44c18f
CD
81352013-05-03 Carlos O'Donell <carlos at redhat.com>
8136
8137 [BZ #15441]
8138 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8139 returns -1.
8140 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8141 null return -1.
8142 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8143 loading the domain.
8144
b50a7181
JM
81452013-05-22 Joseph Myers <joseph@codesourcery.com>
8146
8147 * math/gen-libm-test.pl (parse_args): Do not include expected
8148 result in test name.
8149 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8150 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8151 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8152 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8153 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8155
051063c8
SP
81562013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8157
3ce9e010
SP
8158 * benchtests/Makefile: Sort function entries.
8159
051063c8
SP
8160 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8161 tanh, asinh, acosh, atanh.
8162 * benchtests/acos-inputs: New file.
8163 * benchtests/acosh-inputs: New file.
8164 * benchtests/asin-inputs: New file.
8165 * benchtests/asinh-inputs: New file.
8166 * benchtests/atanh-inputs: New file.
8167 * benchtests/cosh-inputs: New file.
8168 * benchtests/log-inputs: New file.
8169 * benchtests/sinh-inputs: New file.
8170 * benchtests/tanh-inputs: New file.
8171
47c22455
DL
81722013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8173
8174 [BZ #15339]
8175 * posix/tst-getaddrinfo4.c: New test.
8176 * posix/Makefile (tests): Add it.
8177
3d04f5db
SP
81782013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8179
8180 [BZ #15339]
8181 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8182 when no services were used.
8183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8184 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8185
d5dd6189
AS
81862013-05-21 Andreas Schwab <schwab@suse.de>
8187
8188 [BZ #15014]
8189 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8190 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8191 successful.
8192 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8193 redundant variable declarations and reallocation of buffer when
8194 parsing as IPv6 address. Always set NSS status when called from
8195 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8196 buffer too small. Correct computation of needed size.
8197 * nss/Makefile (tests): Add test-digits-dots.
8198 * nss/test-digits-dots.c: New test.
8199
fef94eab
SP
82002013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8201
8202 * benchtests/Makefile: Remove instructions for adding
8203 benchmark tests.
8204 * benchtests/README: New file to explain how to execute and
8205 enhance the benchmark tests.
8206
e39adf43
AS
82072013-05-21 Andreas Schwab <schwab@suse.de>
8208
8209 [BZ #15493]
8210 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8211 * setjmp/tst-sigsetjmp.c: New test.
8212
b2b671b6
OB
82132013-05-20 Ondřej Bílka <neleai@seznam.cz>
8214
8215 * sysdeps/x86_64/memset.S (memset): New implementation.
8216 (__bzero): Likewise.
8217 (__memset_tail): New function.
8218
2d48b41c
OB
82192013-05-20 Ondřej Bílka <neleai@seznam.cz>
8220
8221 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8222 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8223 __memcpy_sse2_unaligned ifunc selection.
8224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8225 Add memcpy-sse2-unaligned.S.
8226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8227 Add: __memcpy_sse2_unaligned.
8228
f16cc3eb
JM
82292013-05-19 Joseph Myers <joseph@codesourcery.com>
8230
3e694268
JM
8231 [BZ #15490]
8232 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8233 math_force_eval before restoring floating-point envrionment.
8234 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8235 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8236 Likewise.
8237 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8238 <math_private.h>.
8239 (__nearbyintl): Use math_force_eval before restoring
8240 floating-point environment.
8241 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8242
db62a907
JM
8243 * math/gen-libm-test.pl (special_functions): Remove.
8244 (parse_args): Don't handle TEST_extra. Handle functions with no
8245 return value.
8246 * math/libm-test.inc (struct test_sincos_data): Replace with
8247 struct test_fFF_11_data.
8248 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8249 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8250 (sincos_test_data): Change element type to struct
8251 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8252 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8253 RUN_TEST_LOOP_sincos.
8254 * math/README.libm-test: Don't mention special handling of
8255 individual functions.
8256 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8257 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8258 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8259 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8260 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8262
f16cc3eb
JM
8263 * math/gen-libm-test.pl (get_variable): Remove function.
8264 (parse_args): Don't show pointer parameters to call in test
8265 names. Use "extra output N" in test names for extra outputs
8266 rather than naming variables.
8267
3779b5b6
JM
82682013-05-18 Joseph Myers <joseph@codesourcery.com>
8269
2ee094ff
JM
8270 [BZ #15488]
8271 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8272 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8273 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8274 double tests.
8275 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8276 disable.
8277 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8278 check_long_double.
8279
3779b5b6
JM
8280 * math/gen-libm-test.pl (@tests): Remove variable.
8281 ($count): Likewise.
8282 (new_test): Remove function.
8283 (show_exceptions): New function.
8284 (special_functions): Use show_exceptions instead of new_test.
8285 (parse_args): Likewise.
8286 (generate_testfile): Pass only function name in generated call to
8287 print_max_error or print_complex_max_error.
8288 (get_ulps): Do not handle complex tests specially.
8289 (output_test): Rename to ...
8290 (get_all_ulps_for_test): ... this. Return a string rather than
8291 printing to a file. Require ulps to be present.
8292 (output_ulps): Generate arrays rather than #defines.
8293 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8294 (struct ulp_data): New type.
8295 (BUILD_COMPLEX_ULP): Remove macro.
8296 (compare_ulp_data): New function.
8297 (find_ulps): Likewise.
8298 (find_test_ulps): Likewise.
8299 (find_function_ulps): Likewise.
8300 (find_complex_function_ulps): Likewise.
8301 (print_max_error): Determine allowed ulps using
8302 find_function_ulps.
8303 (print_complex_max_error): Determine allowed ulps using
8304 find_complex_function_ulps.
8305 (check_float_internal): Determine max ulps using find_test_ulps.
8306 (check_float): Do not take max_ulp parameter. Update call to
8307 check_float_internal.
8308 (check_complex): Likewise.
8309 (check_int): Do not take max_ulp parameter.
8310 (check_long): Likewise.
8311 (check_bool): Likewise.
8312 (check_longlong): Likewise.
8313 (struct test_f_f_data): Remove max_ulp field.
8314 (struct test_ff_f_data): Likewise.
8315 (struct test_ff_f_data_nexttoward): Likewise.
8316 (struct test_fi_f_data): Likewise.
8317 (struct test_fl_f_data): Likewise.
8318 (struct test_if_f_data): Likewise.
8319 (struct test_fff_f_data): Likewise.
8320 (struct test_c_f_data): Likewise.
8321 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8322 (struct test_fF_f1_data): Likewise.
8323 (struct test_ffI_f1_data): Likewise.
8324 (struct test_c_c_data): Remove max_ulp field.
8325 (struct test_cc_c_data): Likewise.
8326 (struct test_f_i_data): Likewise.
8327 (struct test_ff_i_data): Likewise.
8328 (struct test_f_l_data): Likewise.
8329 (struct test_f_L_data): Likewise.
8330 (struct test_sincos_data): Likewise.
8331 (RUN_TEST_f_f): Do not handle ulps.
8332 (RUN_TEST_LOOP_f_f): Likewise.
8333 (RUN_TEST_2_f): Likewise.
8334 (RUN_TEST_LOOP_2_f): Likewise.
8335 (RUN_TEST_fff_f): Likewise.
8336 (RUN_TEST_LOOP_fff_f): Likewise.
8337 (RUN_TEST_c_f): Likewise.
8338 (RUN_TEST_LOOP_c_f): Likewise.
8339 (RUN_TEST_f_f1): Likewise.
8340 (RUN_TEST_LOOP_f_f1): Likewise.
8341 (RUN_TEST_fF_f1): Likewise.
8342 (RUN_TEST_LOOP_fF_f1): Likewise.
8343 (RUN_TEST_fI_f1): Likewise.
8344 (RUN_TEST_LOOP_fI_f1): Likewise.
8345 (RUN_TEST_ffI_f1): Likewise.
8346 (RUN_TEST_LOOP_ffI_f1): Likewise.
8347 (RUN_TEST_c_c): Likewise.
8348 (RUN_TEST_LOOP_c_c): Likewise.
8349 (RUN_TEST_cc_c): Likewise.
8350 (RUN_TEST_LOOP_cc_c): Likewise.
8351 (RUN_TEST_f_i): Likewise.
8352 (RUN_TEST_LOOP_f_i): Likewise.
8353 (RUN_TEST_f_i_tg): Likewise.
8354 (RUN_TEST_LOOP_f_i_tg): Likewise.
8355 (RUN_TEST_ff_i_tg): Likewise.
8356 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8357 (RUN_TEST_f_b): Likewise.
8358 (RUN_TEST_LOOP_f_b): Likewise.
8359 (RUN_TEST_f_b_tg): Likewise.
8360 (RUN_TEST_LOOP_f_b_tg): Likewise.
8361 (RUN_TEST_f_l): Likewise.
8362 (RUN_TEST_LOOP_f_l): Likewise.
8363 (RUN_TEST_f_L): Likewise.
8364 (RUN_TEST_LOOP_f_L): Likewise.
8365 (RUN_TEST_sincos): Likewise.
8366 (RUN_TEST_LOOP_sincos): Likewise.
8367
8269107f
JM
83682013-05-17 Joseph Myers <joseph@codesourcery.com>
8369
bb38759d
JM
8370 [BZ #15480]
8371 [BZ #15485]
8372 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8373 main case of finite arguments, set rounding mode to FE_TONEAREST
8374 and discard exceptions.
8375 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8376 exceptions.
8377 (remainder_tonearest_test_data): New variable.
8378 (remainder_test_tonearest): New function.
8379 (remainder_towardzero_test_data): New variable.
8380 (remainder_test_towardzero): New function.
8381 (remainder_downward_test_data): New variable.
8382 (remainder_test_downward): New function.
8383 (remainder_upward_test_data): New variable.
8384 (remainder_test_upward): New function.
8385 (main): Call the new test functions.
8386
a00bdcf0
JM
8387 * math/libm-test.inc (struct test_f_f1_data): Remove field
8388 extra_init.
8389 (struct test_fF_f1_data): Likewise.
8390 (struct test_ffI_f1_data): Likewise.
8391 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8392 based on value of EXTRA_EXPECTED.
8393 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8394 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8395 EXTRA_VAR based on value of EXTRA_EXPECTED.
8396 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8397 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8398 EXTRA_VAR based on value of EXTRA_EXPECTED.
8399 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8400 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8401 EXTRA_VAR based on value of EXTRA_EXPECTED.
8402 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8403 * math/gen-libm-test.pl (parse_args): Don't output initializers
8404 for extra output values.
8405
de407f79
JM
8406 * math/libm-test.inc (check_int): Expect result to be exactly
8407 equal to expected value and do not handle ulps.
8408 (check_long): Likewise.
8409 (check_longlong): Likewise.
8410
8269107f
JM
8411 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8412 exceptions.
8413 (cimag_test_data): Likewise.
8414 (conj_test_data): Likewise.
8415 (copysign_test_data): Likewise.
8416 (cproj_test_data): Likewise.
8417 (creal_test_data): Likewise.
8418 (fabs_test_data): Likewise.
8419 (fdim_test_data): Likewise.
8420 (finite_test_data): Likewise.
8421 (floor_test_data): Likewise.
8422 (fmax_test_data): Likewise.
8423 (fmin_test_data): Likewise.
8424 (fmod_test_data): Likewise.
8425 (fpclassify_test_data): Likewise.
8426 (frexp_test_data): Likewise.
8427 (ilogb_test_data): Likewise.
8428 (isfinite_test_data): Likewise.
8429 (isgreater_test_data): Likewise.
8430 (isgreaterequal_test_data): Likewise.
8431 (isinf_test_data): Likewise.
8432 (isless_test_data): Likewise.
8433 (islessequal_test_data): Likewise.
8434 (islessgreater_test_data): Likewise.
8435 (isnan_test_data): Likewise.
8436 (isnormal_test_data): Likewise.
8437 (issignaling_test_data): Likewise.
8438 (isunordered_test_data): Likewise.
8439 (ldexp_test_data): Likewise.
8440 (lrint_test_data): Likewise.
8441 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8442 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8443 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8444 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8445 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8446 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8447 test input.
8448 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8449 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8450 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8451 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8452 that test input.
8453 (lrint_downward_test_data): Test for "inexact" exceptions.
8454 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8455 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8456 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8457 test input.
8458 (lrint_upward_test_data): Test for "inexact" exceptions.
8459 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8460 test input.
8461 (llrint_test_data): Test for "inexact" exceptions.
8462 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8463 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8464 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8465 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8466 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8467 (llrint_downward_test_data): Test for "inexact" exceptions.
8468 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8469 (llrint_upward_test_data): Test for "inexact" exceptions.
8470 (logb_test_data): Likewise.
8471 (logb_downward_test_data): Likewise.
8472 (nextafter_test_data): Likewise.
8473 (nexttoward_test_data): Likewise.
8474 (remainder_test_data): Likewise.
8475 (remquo_test_data): Likewise.
8476 (scalbn_test_data): Likewise.
8477 (scalbln_test_data): Likewise.
8478 (signbit_test_data): Likewise.
8479 (sqrt_test_data): Likewise.
8480 (significand_test_data): Likewise.
8481
48a18de1
SP
84822013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8483
8484 [BZ #15424]
8485 * benchtests/bench-modf.c (struct args): Mark arg0 as
8486 volatile.
8487 * scripts/bench.pl: Mark members of struct args as volatile.
8488
13d3b41a
AZ
84892013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8490
68191c1d 8491 [BZ # 15497]
13d3b41a
AZ
8492 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8493 negative infinity on POWER6 or lower.
8494 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8495
2848b105
MR
84962013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8497
8498 [BZ #15442]
8499 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8500 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8501 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8502 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8503 (_FP_SETQNAN): New macro.
8504 (_FP_SETQNAN_SEMIRAW): Likewise.
8505 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8506 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8507 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8508 (FP_EXTEND): Use _FP_FRAC_SNANP.
8509 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8510 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8511 into account.
8512 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8513 New macro.
8514 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8515 Likewise.
8516
323e5cb7
JM
85172013-05-16 Joseph Myers <joseph@codesourcery.com>
8518
c58b274f
JM
8519 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8520 with DIVIDE_BY_ZERO_EXCEPTION.
8521 (gamma_test_data): Likewise.
8522 (lgamma_test_data): Likewise.
8523 (log_test_data): Likewise.
8524 (log10_test_data): Likewise.
8525 (log2_test_data): Likewise.
8526 (tgamma_test_data): Likewise.
8527
0ab34904
JM
8528 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8529 (acos_test_tonearest): Likewise.
8530 (acos_test_towardzero): Likewise.
8531 (acos_test_downward): Likewise.
8532 (acos_test_upward): Likewise.
8533 (acosh_test): Likewise.
8534 (asin_test): Likewise.
8535 (asin_test_tonearest): Likewise.
8536 (asin_test_towardzero): Likewise.
8537 (asin_test_downward): Likewise.
8538 (asin_test_upward): Likewise.
8539 (asinh_test): Likewise.
8540 (atan_test): Likewise.
8541 (atanh_test): Likewise.
8542 (atan2_test): Likewise.
8543 (cabs_test): Likewise.
8544 (cacos_test): Likewise.
8545 (cacosh_test): Likewise.
8546 (casin_test): Likewise.
8547 (casinh_test): Likewise.
8548 (catan_test): Likewise.
8549 (catanh_test): Likewise.
8550 (cbrt_test): Likewise.
8551 (ccos_test): Likewise.
8552 (ccosh_test): Likewise.
8553 (cexp_test): Likewise.
8554 (clog_test): Likewise.
8555 (clog10_test): Likewise.
8556 (cos_test): Likewise.
8557 (cos_test_tonearest): Likewise.
8558 (cos_test_towardzero): Likewise.
8559 (cos_test_downward): Likewise.
8560 (cos_test_upward): Likewise.
8561 (cosh_test): Likewise.
8562 (cosh_test_tonearest): Likewise.
8563 (cosh_test_towardzero): Likewise.
8564 (cosh_test_downward): Likewise.
8565 (cosh_test_upward): Likewise.
8566 (cpow_test): Likewise.
8567 (csin_test): Likewise.
8568 (csinh_test): Likewise.
8569 (csqrt_test): Likewise.
8570 (ctan_test): Likewise.
8571 (ctan_test_tonearest): Likewise.
8572 (ctan_test_towardzero): Likewise.
8573 (ctan_test_downward): Likewise.
8574 (ctan_test_upward): Likewise.
8575 (ctanh_test): Likewise.
8576 (ctanh_test_tonearest): Likewise.
8577 (ctanh_test_towardzero): Likewise.
8578 (ctanh_test_downward): Likewise.
8579 (ctanh_test_upward): Likewise.
8580 (erf_test): Likewise.
8581 (erfc_test): Likewise.
8582 (exp_test): Likewise.
8583 (exp_test_tonearest): Likewise.
8584 (exp_test_towardzero): Likewise.
8585 (exp_test_downward): Likewise.
8586 (exp_test_upward): Likewise.
8587 (exp10_test): Likewise.
8588 (exp2_test): Likewise.
8589 (expm1_test): Likewise.
8590 (fmod_test): Likewise.
8591 (gamma_test): Likewise.
8592 (hypot_test): Likewise.
8593 (j0_test): Likewise.
8594 (j1_test): Likewise.
8595 (jn_test): Likewise.
8596 (lgamma_test): Likewise.
8597 (log_test): Likewise.
8598 (log10_test): Likewise.
8599 (log1p_test): Likewise.
8600 (log2_test): Likewise.
8601 (logb_test_downward): Likewise.
8602 (pow_test): Likewise.
8603 (pow_test_tonearest): Likewise.
8604 (pow_test_towardzero): Likewise.
8605 (pow_test_downward): Likewise.
8606 (pow_test_upward): Likewise.
8607 (remainder_test): Likewise.
8608 (remquo_test): Likewise.
8609 (sin_test): Likewise.
8610 (sin_test_tonearest): Likewise.
8611 (sin_test_towardzero): Likewise.
8612 (sin_test_downward): Likewise.
8613 (sin_test_upward): Likewise.
8614 (sincos_test): Likewise.
8615 (sinh_test): Likewise.
8616 (sinh_test_tonearest): Likewise.
8617 (sinh_test_towardzero): Likewise.
8618 (sinh_test_downward): Likewise.
8619 (sinh_test_upward): Likewise.
8620 (sqrt_test): Likewise.
8621 (tan_test): Likewise.
8622 (tan_test_tonearest): Likewise.
8623 (tan_test_towardzero): Likewise.
8624 (tan_test_downward): Likewise.
8625 (tan_test_upward): Likewise.
8626 (tanh_test): Likewise.
8627 (tgamma_test): Likewise.
8628 (y0_test): Likewise.
8629 (y1_test): Likewise.
8630 (yn_test): Likewise.
8631
323e5cb7
JM
8632 * math/gen-libm-test.pl (adjust_arg): Remove function.
8633 (special_function): Remove argument $in_func. Only handle
8634 generating output for tables of tests, not inside functions.
8635 (parse_args): Likewise.
8636 (generate_testfile): Remove variable $in_func. Update call to
8637 parse_args.
8638 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8639 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8640 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8641 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8642 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8643 (MAX_VALUE_INIT): Rename macro to max_value.
8644 (MIN_VALUE_INIT): Rename macro to min_value.
8645 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8646 (plus_zero): Remove variable.
8647 (minus_zero): Likewise.
8648 (plus_infty): Likewise.
8649 (minus_infty): Likewise.
8650 (qnan_value): Likewise.
8651 (max_value): Likewise.
8652 (min_value): Likewise.
8653 (min_subnorm_value): Likewise.
8654
e054f494
RA
86552013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8656
8657 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8658 uint64_t or uint32_t usage.
8659 * crypt/sha256-block.c: Likewise.
8660 * crypt/sha256-crypt.c: Likewise.
8661 * crypt/sha256.c: Likewise.
8662 * crypt/sha512-block.c: Likewise.
8663 * crypt/sha512-crypt.c: Likewise.
8664 * crypt/sha512.c: Likewise.
8665 * debug/backtrace-tst.c: Likewise.
8666 * debug/pcprofiledump.c: Likewise.
8667 * elf/cache.c: Likewise.
8668 * elf/dl-cache.c: Likewise.
8669 * elf/dl-misc.c: Likewise.
8670 * elf/dl-profile.c: Likewise.
8671 * elf/dl-support.c: Likewise.
8672 * elf/ldconfig.c: Likewise.
8673 * elf/sprof.c: Likewise.
8674 * iconv/dummy-repertoire.c: Likewise.
8675 * iconv/iconv_charmap.c: Likewise.
8676 * iconv/skeleton.c: Likewise.
8677 * iconvdata/8bit-generic.c: Likewise.
8678 * iconvdata/cp737.h: Likewise.
8679 * iconvdata/cp775.h: Likewise.
8680 * iconvdata/ibm1008.h: Likewise.
8681 * iconvdata/ibm1025.h: Likewise.
8682 * iconvdata/ibm1046.h: Likewise.
8683 * iconvdata/ibm1097.h: Likewise.
8684 * iconvdata/ibm1112.h: Likewise.
8685 * iconvdata/ibm1122.h: Likewise.
8686 * iconvdata/ibm1123.h: Likewise.
8687 * iconvdata/ibm1124.h: Likewise.
8688 * iconvdata/ibm1129.h: Likewise.
8689 * iconvdata/ibm1130.h: Likewise.
8690 * iconvdata/ibm1132.h: Likewise.
8691 * iconvdata/ibm1133.h: Likewise.
8692 * iconvdata/ibm1137.h: Likewise.
8693 * iconvdata/ibm1140.h: Likewise.
8694 * iconvdata/ibm1141.h: Likewise.
8695 * iconvdata/ibm1142.h: Likewise.
8696 * iconvdata/ibm1143.h: Likewise.
8697 * iconvdata/ibm1144.h: Likewise.
8698 * iconvdata/ibm1145.h: Likewise.
8699 * iconvdata/ibm1146.h: Likewise.
8700 * iconvdata/ibm1147.h: Likewise.
8701 * iconvdata/ibm1148.h: Likewise.
8702 * iconvdata/ibm1149.h: Likewise.
8703 * iconvdata/ibm1153.h: Likewise.
8704 * iconvdata/ibm1154.h: Likewise.
8705 * iconvdata/ibm1155.h: Likewise.
8706 * iconvdata/ibm1156.h: Likewise.
8707 * iconvdata/ibm1157.h: Likewise.
8708 * iconvdata/ibm1158.h: Likewise.
8709 * iconvdata/ibm1160.h: Likewise.
8710 * iconvdata/ibm1161.h: Likewise.
8711 * iconvdata/ibm1162.h: Likewise.
8712 * iconvdata/ibm1163.h: Likewise.
8713 * iconvdata/ibm1164.h: Likewise.
8714 * iconvdata/ibm1166.h: Likewise.
8715 * iconvdata/ibm1167.h: Likewise.
8716 * iconvdata/ibm12712.h: Likewise.
8717 * iconvdata/ibm1390.h: Likewise.
8718 * iconvdata/ibm1399.h: Likewise.
8719 * iconvdata/ibm16804.h: Likewise.
8720 * iconvdata/ibm4517.h: Likewise.
8721 * iconvdata/ibm4899.h: Likewise.
8722 * iconvdata/ibm4909.h: Likewise.
8723 * iconvdata/ibm4971.h: Likewise.
8724 * iconvdata/ibm5347.h: Likewise.
8725 * iconvdata/ibm803.h: Likewise.
8726 * iconvdata/ibm856.h: Likewise.
8727 * iconvdata/ibm901.h: Likewise.
8728 * iconvdata/ibm902.h: Likewise.
8729 * iconvdata/ibm9030.h: Likewise.
8730 * iconvdata/ibm9066.h: Likewise.
8731 * iconvdata/ibm921.h: Likewise.
8732 * iconvdata/ibm922.h: Likewise.
8733 * iconvdata/ibm9448.h: Likewise.
8734 * iconvdata/isiri-3342.h: Likewise.
8735 * iconvdata/jis0201.h: Likewise.
8736 * include/link.h: Likewise.
8737 * include/netdb.h: Likewise.
8738 * inet/check_native.c: Likewise.
8739 * inet/check_pf.c: Likewise.
8740 * inet/getipv4sourcefilter.c: Likewise.
8741 * inet/getnameinfo.c: Likewise.
8742 * inet/getsourcefilter.c: Likewise.
8743 * inet/htonl.c: Likewise.
8744 * inet/setipv4sourcefilter.c: Likewise.
8745 * inet/setsourcefilter.c: Likewise.
8746 * inet/test-inet6_opt.c: Likewise.
8747 * inet/tst-network.c: Likewise.
8748 * locale/C-collate.c: Likewise.
8749 * locale/C-ctype.c: Likewise.
8750 * locale/C-time.c: Likewise.
8751 * locale/C-translit.h: Likewise.
8752 * locale/loadarchive.c: Likewise.
8753 * locale/programs/3level.h: Likewise.
8754 * locale/programs/charmap.c: Likewise.
8755 * locale/programs/charmap.h: Likewise.
8756 * locale/programs/ld-address.c: Likewise.
8757 * locale/programs/ld-collate.c: Likewise.
8758 * locale/programs/ld-ctype.c: Likewise.
8759 * locale/programs/ld-identification.c: Likewise.
8760 * locale/programs/ld-measurement.c: Likewise.
8761 * locale/programs/ld-messages.c: Likewise.
8762 * locale/programs/ld-monetary.c: Likewise.
8763 * locale/programs/ld-name.c: Likewise.
8764 * locale/programs/ld-numeric.c: Likewise.
8765 * locale/programs/ld-paper.c: Likewise.
8766 * locale/programs/ld-telephone.c: Likewise.
8767 * locale/programs/ld-time.c: Likewise.
8768 * locale/programs/linereader.c: Likewise.
8769 * locale/programs/locale.c: Likewise.
8770 * locale/programs/locarchive.c: Likewise.
8771 * locale/programs/locfile.h: Likewise.
8772 * locale/programs/repertoire.c: Likewise.
8773 * locale/programs/simple-hash.c: Likewise.
8774 * locale/programs/simple-hash.h: Likewise.
8775 * malloc/memusage.c: Likewise.
8776 * malloc/memusagestat.c: Likewise.
8777 * nis/nis_defaults.c: Likewise.
8778 * nis/nis_hash.c: Likewise.
8779 * nis/nis_print.c: Likewise.
8780 * nis/nis_xdr.c: Likewise.
8781 * nscd/connections.c: Likewise.
8782 * nscd/hstcache.c: Likewise.
8783 * nscd/nscd_gethst_r.c: Likewise.
8784 * nscd/nscd_getserv_r.c: Likewise.
8785 * nscd/nscd_helper.c: Likewise.
8786 * nscd/servicescache.c: Likewise.
8787 * nss/makedb.c: Likewise.
8788 * nss/nss_db/db-XXX.c: Likewise.
8789 * nss/nss_db/db-initgroups.c: Likewise.
8790 * nss/nss_db/db-netgrp.c: Likewise.
8791 * nss/nss_files/files-network.c: Likewise.
8792 * nss/nss_files/files-parse.c: Likewise.
8793 * posix/bug-regex5.c: Likewise.
8794 * posix/fnmatch_loop.c: Likewise.
8795 * posix/regcomp.c: Likewise.
8796 * posix/regexec.c: Likewise.
8797 * posix/tst-rfc3484-2.c: Likewise.
8798 * posix/tst-rfc3484-3.c: Likewise.
8799 * posix/tst-rfc3484.c: Likewise.
8800 * resolv/nss_dns/dns-canon.c: Likewise.
8801 * resolv/nss_dns/dns-network.c: Likewise.
8802 * resolv/res_init.c: Likewise.
8803 * resolv/res_mkquery.c: Likewise.
8804 * resolv/tst-aton.c: Likewise.
8805 * stdlib/cxa_atexit.c: Likewise.
8806 * stdlib/cxa_finalize.c: Likewise.
8807 * stdlib/gen-fpioconst.c: Likewise.
8808 * stdlib/strtol_l.c: Likewise.
8809 * string/tst-endian.c: Likewise.
8810 * sunrpc/auth_des.c: Likewise.
8811 * sunrpc/clnt_udp.c: Likewise.
8812 * sunrpc/rtime.c: Likewise.
8813 * sunrpc/svcauth_des.c: Likewise.
8814 * sunrpc/xdr.c: Likewise.
8815 * sunrpc/xdr_intXX_t.c: Likewise.
8816 * sunrpc/xdr_rec.c: Likewise.
8817 * sysdeps/generic/ldconfig.h: Likewise.
8818 * sysdeps/generic/ldsodefs.h: Likewise.
8819 * sysdeps/generic/memusage.h: Likewise.
8820 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8823 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8830 * sysdeps/posix/getaddrinfo.c: Likewise.
8831 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8832 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8833 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8834 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8835 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8836 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8837 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8838 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8839 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8840 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8841 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8842 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8843 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8844 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8845 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8846 * sysdeps/x86_64/dl-tls.h: Likewise.
8847 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8848 * time/alt_digit.c: Likewise.
8849 * time/era.c: Likewise.
8850 * wcsmbs/tst-c16c32-1.c: Likewise.
8851
8c75f674
JM
88522013-05-16 Joseph Myers <joseph@codesourcery.com>
8853
8854 * math/libm-test.inc (struct test_sincos_data): New type.
8855 (RUN_TEST_LOOP_sincos): New macro.
8856 (sincos_test_data): New variable.
8857 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8858
e6e49e59
RH
88592013-05-16 Richard Henderson <rth@redhat.com>
8860
8861 * math/atest-exp2.c (LIMB64): New macro.
8862 (CONSTSZ): New macro.
8863 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8864 (hexdig): Move ...
8865 (print_mpn_fp): ... to function scope.
8866 (read_mpn_hex): Remove.
8867 (get_log2): Remove.
8868 (exp2_mpn): Use mp_log2.
8869 (main): Use mp_exp1.
8870
15c7c18d
JM
88712013-05-16 Joseph Myers <joseph@codesourcery.com>
8872
105a07df
JM
8873 * math/libm-test.inc: Remove comment about not testing "inexact"
8874 exceptions.
8875 (INEXACT_EXCEPTION): New macro.
8876 (NO_INEXACT_EXCEPTION): Likewise.
8877 (INVALID_EXCEPTION_OK): Update value.
8878 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8879 (OVERFLOW_EXCEPTION_OK): Likewise.
8880 (UNDERFLOW_EXCEPTION_OK): Likewise.
8881 (IGNORE_ZERO_INF_SIGN): Likewise.
8882 (ERRNO_UNCHANGED): Likewise.
8883 (ERRNO_EDOM): Likewise.
8884 (ERRNO_ERANGE): Likewise.
8885 (test_exceptions): Handle testing "inexact" exceptions.
8886 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8887 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8888 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8889 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8890 INEXACT_EXCEPTION.
8891 (rint_towardzero_test_data): Likewise.
8892 (rint_downward_test_data): Likewise.
8893 (rint_upward_test_data): Likewise.
8894
e9eee333
JM
8895 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8896 with OVERFLOW_EXCEPTION.
8897 (exp10_test_data): Likewise.
8898 (exp2_test_data): Likewise.
8899 (expm1_test_data): Likewise.
8900 (lgamma_test_data): Likewise.
8901 (pow_test_data): Likewise.
8902 (tgamma_test_data): Likewise.
8903 (yn_test_data): Remove duplicate test of overflow.
8904
1c38ff73
JM
8905 * math/libm-test.inc (struct test_cc_c_data): New type.
8906 (RUN_TEST_LOOP_cc_c): New macro.
8907 (cpow_test_data): New variable.
8908 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8909
15c7c18d
JM
8910 * math/libm-test.inc (struct test_f_L_data): New type.
8911 (RUN_TEST_LOOP_f_L): New macro.
8912 (llrint_test_data): New variable.
8913 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8914 (llrint_tonearest_test_data): New variable.
8915 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8916 (llrint_towardzero_test_data): New variable.
8917 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8918 (llrint_downward_test_data): New variable.
8919 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8920 (llrint_upward_test_data): New variable.
8921 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8922 (llround_test_data): New variable.
8923 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8924
f137ff13
PC
89252013-05-13 Peter Collingbourne <pcc@google.com>
8926
8927 * math/atest-exp2.c (get_log2): Remove const attribute.
8928
3608cb24
JM
89292013-05-15 Joseph Myers <joseph@codesourcery.com>
8930
8931 * math/libm-test.inc (struct test_f_l_data): New type.
8932 (RUN_TEST_LOOP_f_l): New macro.
8933 (lrint_test_data): New variable.
8934 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8935 (lrint_tonearest_test_data): New variable.
8936 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8937 (lrint_towardzero_test_data): New variable.
8938 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8939 (lrint_downward_test_data): New variable.
8940 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8941 (lrint_upward_test_data): New variable.
8942 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8943 (lround_test_data): New variable.
8944 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8945
39b1f617
PC
89462013-05-15 Peter Collingbourne <pcc@google.com>
8947
1deff3dc
PC
8948 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8949 (EXTRACT_WORDS64) Use where appropriate.
8950 (INSERT_WORDS64) Likewise.
8951
791f3ba0
PC
8952 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8953 constraints with x constraints.
8954 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8955
39b1f617
PC
8956 * malloc/obstack.c (_obstack_compat): Add initializer.
8957
12fba011
EM
89582013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8959
8960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8961 si_trapno and add si_addr_lsb to _sifields.sigfault.
8962 (si_trapno): Remove macro.
8963 (si_addr_lsb): Define new macro.
8964 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8965
d369f531
JM
89662013-05-15 Joseph Myers <joseph@codesourcery.com>
8967
b861c6c4
JM
8968 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8969 instead of TEST_f_l.
8970 (llrint_test_tonearest): Likewise.
8971 (llrint_test_towardzero): Likewise.
8972 (llrint_test_downward): Likewise.
8973 (llrint_test_upward): Likewise.
8974 (llround_test): Likewise.
8975
7abeee12
JM
8976 * math/libm-test.inc (struct test_f_i_data): Add comment.
8977 (RUN_TEST_LOOP_f_b): New macro.
8978 (RUN_TEST_LOOP_f_b_tg): Likewise.
8979 (finite_test_data): New variable.
8980 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8981 (isfinite_test_data): New variable.
8982 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8983 (isinf_test_data): New variable.
8984 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8985 (isnan_test_data): New variable.
8986 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8987 (isnormal_test_data): New variable.
8988 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8989 (issignaling_test_data): New variable.
8990 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8991 (signbit_test_data): New variable.
8992 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8993
cbe8c4d3
JM
8994 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8995 with INVALID_EXCEPTION.
8996 (acosh_test_data): Likewise.
8997 (asin_test_data): Likewise.
8998 (atanh_test_data): Likewise.
8999 (fmod_test_data): Likewise.
9000 (log_test_data): Likewise.
9001 (log10_test_data): Likewise.
9002 (log2_test_data): Likewise.
9003 (pow_test_data): Likewise.
9004 (sqrt_test_data): Likewise.
9005 (y0_test_data): Likewise.
9006 (y1_test_data): Likewise.
9007 (yn_test_data): Likewise.
9008
5575c0e5
JM
9009 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9010 function contents.
9011
d369f531
JM
9012 * math/libm-test.inc (struct test_ff_i_data): New type.
9013 (RUN_TEST_LOOP_ff_i_tg): New macro.
9014 (isgreater_test_data): New variable.
9015 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9016 (isgreaterequal_test_data): New variable.
9017 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9018 (isless_test_data): New variable.
9019 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9020 (islessequal_test_data): New variable.
9021 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9022 (islessgreater_test_data): New variable.
9023 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9024 (isunordered_test_data): New variable.
9025 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9026
781fd748
DM
90272013-05-14 David S. Miller <davem@davemloft.net>
9028
9029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9030
87aa21df
JM
90312013-05-14 Joseph Myers <joseph@codesourcery.com>
9032
5e908270
JM
9033 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9034
f71172e5
JM
9035 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9036 extra_test to int.
9037 (struct test_f_i_data): Change type of max_ulp to int.
9038
8cfa635a
JM
9039 * math/libm-test.inc (test_ffI_f1_data): New type.
9040 (RUN_TEST_LOOP_ffI_f1): New macro.
9041 (remquo_test_data): New variable.
9042 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9043
2bcb36b2
JM
9044 * setjmp/tst-setjmp-fp.c: New file.
9045 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9046 (link-libm): New variable.
9047 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9048
acbd839a
JM
9049 * math/libm-test.inc (struct test_f_i_data): New type.
9050 (RUN_TEST_LOOP_f_i): New macro.
9051 (RUN_TEST_LOOP_f_i_tg): Likewise.
9052 (fpclassify_test_data): New variable.
9053 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9054 (ilogb_test_data): New variable.
9055 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9056
e414d745
JM
9057 * math/libm-test.inc (scalbln_test): Correct function name in END
9058 call.
9059
d9c2a0fd
JM
9060 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9061 (RUN_TEST_LOOP_fI_f1): New macro.
9062 (frexp_test_data): New variable.
9063 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9064
9dc9095d
JM
9065 * math/libm-test.inc (struct test_fF_f1_data): New type.
9066 (RUN_TEST_LOOP_fF_f1): New macro.
9067 (modf_test_data): New variable.
9068 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9069
87aa21df
JM
9070 * math/libm-test.inc (struct test_f_f1_data): New type.
9071 (RUN_TEST_LOOP_f_f1): New macro.
9072 (gamma_test_data): New variable.
9073 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9074 (lgamma_test_data): New variable.
9075 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9076
141af660
CD
90772013-05-13 Carlos O'Donell <carlos@redhat.com>
9078
9079 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9080 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9081 (main): Comment "tls" pseudo-hwcap.
9082
6d33265c
JM
90832013-05-13 Joseph Myers <joseph@codesourcery.com>
9084
68fc074c
JM
9085 * math/libm-test.inc (struct test_fl_f_data): New type.
9086 (RUN_TEST_LOOP_fl_f): New variable.
9087 (scalbln_test_data): New variable.
9088 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9089
243216e1
JM
9090 * math/libm-test.inc (struct test_fi_f_data): New type.
9091 (RUN_TEST_LOOP_fi_f): New macro.
9092 (ldexp_test_data): New variable.
9093 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9094 (scalbn_test_data): New variable.
9095 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9096
6a1992e2
JM
9097 * math/libm-test.inc (struct test_c_f_data): New type.
9098 (RUN_TEST_LOOP_c_f): New macro.
9099 (cabs_test_data): New variable.
9100 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9101 (carg_test_data): New variable.
9102 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9103 (cimag_test_data): New variable.
9104 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9105 (creal_test_data): New variable.
9106 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9107
0e400df5
JM
9108 * math/libm-test.inc (struct test_if_f_data): New type.
9109 (RUN_TEST_LOOP_if_f): New macro.
9110 (jn_test_data): New variable.
9111 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9112 (yn_test_data): New variable.
9113 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9114
6d33265c
JM
9115 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9116
f98ece5f
AZ
91172013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9118
9119 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9120 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9121
0f7d347b
SP
91222013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9123
43fe811b
SP
9124 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9125 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9126 (bench-deps): Add bench-timing.h.
9127 * benchtests-bench-skeleton.c: Include bench-timing.h.
9128 (main): Use TIMING_* macros instead of clock_gettime.
9129 * benchtests/bench-timing.h: New file.
9130
0f7d347b
SP
9131 [BZ #14582]
9132 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9133 Renamed from _LIB_VERSION.
9134 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9135
601a3a5f
JM
91362013-05-12 Joseph Myers <joseph@codesourcery.com>
9137
4f184d30
JM
9138 * math/libm-test.inc (struct test_fff_f_data): New type.
9139 (RUN_TEST_LOOP_fff_f): New macro.
9140 (fma_test_data): New variable.
9141 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9142 (fma_towardzero_test_data): New variable.
9143 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9144 (fma_downward_test_data): New variable.
9145 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9146 (fma_upward_test_data): New variable.
9147 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9148
08198877
JM
9149 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9150 (struct test_c_c_data): New type.
9151 (RUN_TEST_LOOP_c_c): New macro.
9152 (cacos_test_data): New variable.
9153 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9154 (cacosh_test_data): New variable.
9155 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9156 (casin_test_data): New variable.
9157 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9158 (casinh_test_data): New variable.
9159 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9160 (catan_test_data): New variable.
9161 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9162 (catanh_test_data): New variable.
9163 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9164 (ccos_test_data): New variable.
9165 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9166 (ccosh_test_data): New variable.
9167 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9168 (cexp_test_data): New variable.
9169 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9170 (clog_test_data): New variable.
9171 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9172 (clog10_test_data): New variable.
9173 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9174 (conj_test_data): New variable.
9175 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9176 (cproj_test_data): New variable.
9177 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9178 (csin_test_data): New variable.
9179 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9180 (csinh_test_data): New variable.
9181 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9182 (csqrt_test_data): New variable.
9183 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9184 (ctan_test_data): New variable.
9185 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9186 (ctan_tonearest_test_data): New variable.
9187 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9188 (ctan_towardzero_test_data): New variable.
9189 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9190 (ctan_downward_test_data): New variable.
9191 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9192 (ctan_upward_test_data): New variable.
9193 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9194 (ctanh_test_data): New variable.
9195 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9196 (ctanh_tonearest_test_data): New variable.
9197 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9198 (ctanh_towardzero_test_data): New variable.
9199 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9200 (ctanh_downward_test_data): New variable.
9201 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9202 (ctanh_upward_test_data): New variable.
9203 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9204 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9205 of BUILD_COMPLEX.
9206
601a3a5f
JM
9207 * math/libm-test.inc (struct test_ff_f_data): New type.
9208 (struct test_ff_f_data_nexttoward): Likewise.
9209 (RUN_TEST_LOOP_2_f): New macro.
9210 (RUN_TEST_LOOP_ff_f): Likewise.
9211 (atan2_test_data): New variable.
9212 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9213 (copysign_test_data): New variable.
9214 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9215 (fdim_test_data): New variable.
9216 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9217 (fmax_test_data): New variable.
9218 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9219 (fmin_test_data): New variable.
9220 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9221 (fmod_test_data): New variable.
9222 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9223 (hypot_test_data): New variable.
9224 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9225 (nextafter_test_data): New variable.
9226 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9227 (nexttoward_test_data): New variable.
9228 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9229 (pow_test_data): New variable.
9230 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9231 (pow_tonearest_test_data): New variable.
9232 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9233 (pow_towardzero_test_data): New variable.
9234 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9235 (pow_downward_test_data): New variable.
9236 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9237 (pow_upward_test_data): New variable.
9238 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9239 (remainder_test_data): New variable.
9240 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9241 (scalb_test_data): New variable.
9242 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9243 * sysdeps/i386/fpu/libm-test-ulps: Update.
9244
74c57478
JM
92452013-05-11 Joseph Myers <joseph@codesourcery.com>
9246
8329e4da
JM
9247 * math/libm-test.inc (fma_test): Use max_value instead of local
9248 variable fltmax.
9249 (nextafter_test): Likewise.
9250
74c57478
JM
9251 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9252 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9253 (acos_downward_test_data): New variable.
9254 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9255 (acos_upward_test_data): New variable.
9256 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9257 (acosh_test_data): New variable.
9258 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9259 (asin_test_data): New variable.
9260 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9261 (asin_tonearest_test_data): New variable.
9262 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9263 (asin_towardzero_test_data): New variable.
9264 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9265 (asin_downward_test_data): New variable.
9266 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9267 (asin_upward_test_data): New variable.
9268 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9269 (asinh_test_data): New variable.
9270 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9271 (atan_test_data): New variable.
9272 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9273 (atanh_test_data): New variable.
9274 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9275 (cbrt_test_data): New variable.
9276 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9277 (ceil_test_data): New variable.
9278 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9279 (cos_test_data): New variable.
9280 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9281 (cos_tonearest_test_data): New variable.
9282 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9283 (cos_towardzero_test_data): New variable.
9284 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9285 (cos_downward_test_data): New variable.
9286 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9287 (cos_upward_test_data): New variable.
9288 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9289 (cosh_test_data): New variable.
9290 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9291 (cosh_tonearest_test_data): New variable.
9292 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9293 (cosh_towardzero_test_data): New variable.
9294 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9295 (cosh_downward_test_data): New variable.
9296 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9297 (cosh_upward_test_data): New variable.
9298 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9299 (erf_test_data): New variable.
9300 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9301 (erfc_test_data): New variable.
9302 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9303 (exp_test_data): New variable.
9304 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9305 (exp_tonearest_test_data): New variable.
9306 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9307 (exp_towardzero_test_data): New variable.
9308 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9309 (exp_downward_test_data): New variable.
9310 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9311 (exp_upward_test_data): New variable.
9312 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9313 (exp10_test_data): New variable.
9314 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9315 (exp2_test_data): New variable.
9316 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9317 (expm1_test_data): New variable.
9318 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9319 (fabs_test_data): New variable.
9320 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9321 (floor_test_data): New variable.
9322 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9323 (j0_test_data): New variable.
9324 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9325 (j1_test_data): New variable.
9326 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9327 (log_test_data): New variable.
9328 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9329 (log10_test_data): New variable.
9330 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9331 (log1p_test_data): New variable.
9332 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9333 (log2_test_data): New variable.
9334 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9335 (logb_test_data): New variable.
9336 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9337 (logb_downward_test_data): New variable.
9338 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9339 (nearbyint_test_data): New variable.
9340 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9341 (rint_test_data): New variable.
9342 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9343 (rint_tonearest_test_data): New variable.
9344 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9345 (rint_towardzero_test_data): New variable.
9346 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9347 (rint_downward_test_data): New variable.
9348 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9349 (rint_upward_test_data): New variable.
9350 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9351 (round_test_data): New variable.
9352 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9353 (sin_test_data): New variable.
9354 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9355 (sin_tonearest_test_data): New variable.
9356 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9357 (sin_towardzero_test_data): New variable.
9358 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9359 (sin_downward_test_data): New variable.
9360 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9361 (sin_upward_test_data): New variable.
9362 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9363 (sinh_test_data): New variable.
9364 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9365 (sinh_tonearest_test_data): New variable.
9366 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9367 (sinh_towardzero_test_data): New variable.
9368 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9369 (sinh_downward_test_data): New variable.
9370 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9371 (sinh_upward_test_data): New variable.
9372 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9373 (sqrt_test_data): New variable.
9374 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9375 (tan_test_data): New variable.
9376 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9377 (tan_tonearest_test_data): New variable.
9378 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9379 (tan_towardzero_test_data): New variable.
9380 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9381 (tan_downward_test_data): New variable.
9382 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9383 (tan_upward_test_data): New variable.
9384 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9385 (tanh_test_data): New variable.
9386 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9387 (tgamma_test_data): New variable.
9388 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9389 (trunc_test_data): New variable.
9390 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9391 (y0_test_data): New variable.
9392 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9393 (y1_test_data): New variable.
9394 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9395 (significand_test_data): New variable.
9396 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9397
7187d844
CG
93982013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9399
9400 [BZ #12387]
9401 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9402
f63fae73
PT
94032013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9404
9405 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9406
8a67a4b3
AJ
94072013-05-10 Andreas Jaeger <aj@suse.de>
9408
9409 [BZ #15448]
9410 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9411 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9412
51df539d
JM
94132013-05-10 Joseph Myers <joseph@codesourcery.com>
9414
9415 * math/gen-libm-test.pl (adjust_arg): New function.
9416 (special_functions): Handle generating output in both functions
9417 and arrays.
9418 (parse_args): Likewise.
9419 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9420 $in_func argument to parse_args.
9421 * math/libm-test.inc (struct test_f_f_data): New type.
9422 (IF_ROUND_INIT_): New macro.
9423 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9424 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9425 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9426 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9427 (ROUND_RESTORE_): Likewise.
9428 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9429 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9430 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9431 (ROUND_RESTORE_FE_UPWARD): Likewise.
9432 (RUN_TEST_LOOP_f_f): New macro.
9433 (acos_test_data): New variable.
9434 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9435 (acos_tonearest_test_data): New variable.
9436 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9437
5c637fe5
SP
94382013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9439
9440 * benchtests/bench-skeleton.c (startup): Fix coding style.
9441
ab2b9461
JM
94422013-05-10 Joseph Myers <joseph@codesourcery.com>
9443
9444 [BZ #6809]
9445 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9446 negative infinity argument.
9447 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9448 negative infinity argument.
9449 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9450 negative infinity argument.
9451 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9452 domain errors.
9453
4c0fe6fe
FW
94542013-05-10 Florian Weimer <fweimer@redhat.com>
9455
9456 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9457 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9458 * iconv/iconv_prog.c (main): Likewise.
9459 * locale/programs/charmap-dir.c (charmap_readdir)
9460 (fopen_uncompressed): Likewise.
9461 * locale/programs/locfile.c (siblings_uncached)
9462 (write_locale_data): Use lstat64 instead of lstat.
9463 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9464 stat.
9465
a3375d29
AJ
94662013-05-10 Andreas Jaeger <aj@suse.de>
9467
9468 [BZ #15395]
9469 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9470 localization.
9471 Include <locale.h>.
9472
36129722
CD
94732013-05-09 Carlos O'Donell <carlos@redhat.com>
9474
9475 * elf/dl-close.c (_dl_close_worker): Add comments.
9476
faa7f811
JM
94772013-05-09 Joseph Myers <joseph@codesourcery.com>
9478
ed41ffef
JM
9479 [BZ #15359]
9480 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9481 high part of pi/2.
9482 (__ieee754_rem_pio2l): Update comments.
9483
d0213cd0
JM
9484 [BZ #15429]
9485 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9486 high part of pi/2.
9487 (__ieee754_rem_pio2l): Update comments.
9488
0d3e777a
JM
9489 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9490 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9491
24f56066
JM
9492 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9493 M_PI_4l.
9494
faa7f811
JM
9495 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9496 (M_PI_34_LOG10El): Likewise.
9497 (M_PI2_LOG10El): Likewise.
9498 (M_PI4_LOG10El): Likewise.
9499 (M_PI_LOG10El): Likewise.
9500
e9a5e0fd
AZ
95012013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9502
9503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9504
d8cd06db
JM
95052013-05-08 Joseph Myers <joseph@codesourcery.com>
9506
a0d9f9d7
JM
9507 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9508 (MINUS_ZERO_INIT): Likewise.
9509 (PLUS_INFTY_INIT): Likewise.
9510 (MINUS_INFTY_INIT): Likewise.
9511 (QNAN_VALUE_INIT): Likewise.
9512 (MAX_VALUE_INIT): Likewise.
9513 (MIN_VALUE_INIT): Likewise.
9514 (MIN_SUBNORM_VALUE_INIT): Likewise.
9515 (plus_zero): Initialize with PLUS_ZERO_INIT.
9516 (minus_zero): Initialize with MINUS_ZERO_INIT.
9517 (plus_infty): Initialize with PLUS_INFTY_INIT.
9518 (minus_infty): Initialize with MINUS_INFTY_INIT.
9519 (qnan_value): Initialize with QNAN_VALUE_INIT.
9520 (max_value): Initialize with MAX_VALUE_INIT.
9521 (min_value): Initialize with MIN_VALUE_INIT.
9522 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9523
ae08db3b
JM
9524 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9525 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9526 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9527 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9528
f44bf14a
JM
9529 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9530 (RUN_TEST_2_f): Likewise.
9531 (RUN_TEST_ff_f): Likewise.
9532 (RUN_TEST_fi_f): Likewise.
9533 (RUN_TEST_fl_f): Likewise.
9534 (RUN_TEST_fff_f): Likewise.
9535 (RUN_TEST_c_f): Likewise.
9536 (RUN_TEST_f_f1): Likewise.
9537 (RUN_TEST_fF_f1): Likewise.
9538 (RUN_TEST_fI_f1): Likewise.
9539 (RUN_TEST_ffI_f1): Likewise.
9540 (RUN_TEST_c_c): Likewise.
9541 (RUN_TEST_cc_c): Likewise.
9542 (RUN_TEST_f_i): Likewise.
9543 (RUN_TEST_f_i_tg): Likewise.
9544 (RUN_TEST_ff_i_tg): Likewise.
9545 (RUN_TEST_f_b): Likewise.
9546 (RUN_TEST_f_b_tg): Likewise.
9547 (RUN_TEST_f_l): Likewise.
9548 (RUN_TEST_f_L): Likewise.
9549 (RUN_TEST_sincos): Likewise.
9550 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9551 whether to show exceptions. Do not include ");\n" in return
9552 value.
9553 (special_functions): Output call to RUN_TEST_sincos instead of
9554 check_float calls. Update calls to new_test.
9555 (parse_args): Output call to single RUN_TEST_* macro instead of
9556 check_* calls and other assignments. Update calls to new_test.
9557
d8cd06db
JM
9558 [BZ #2546]
9559 [BZ #2560]
9560 [BZ #5159]
9561 [BZ #15426]
9562 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9563 input to result for tgamma overflow.
9564 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9565 (gamma_coeff): New variable.
9566 (NCOEFF): New macro.
9567 (gamma_positive): New function.
9568 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9569 underflow here. Use gamma_positive instead of exp (lgamma) for
9570 other arguments.
9571 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9572 (gamma_coeff): New variable.
9573 (NCOEFF): New macro.
9574 (gammaf_positive): New function.
9575 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9576 underflow here. Use gamma_positive instead of exp (lgamma) for
9577 other arguments.
9578 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9579 (gamma_coeff): New variable.
9580 (NCOEFF): New macro.
9581 (gammal_positive): New function.
9582 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9583 underflow here. Use gamma_positive instead of exp (lgamma) for
9584 other arguments.
9585 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9586 (gamma_coeff): New variable.
9587 (NCOEFF): New macro.
9588 (gammal_positive): New function.
9589 (__ieee754_gammal_r): Handle positive infinity, overflow and
9590 underflow here. Handle NaN the same as positive infinity. Remove
9591 check x < 0xffffffff for negative integers. Use gamma_positive
9592 instead of exp (lgamma) for other arguments.
9593 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9594 (gamma_coeff): New variable.
9595 (NCOEFF): New macro.
9596 (gammal_positive): New function.
9597 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9598 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9602 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9603 * sysdeps/generic/math_private.h (__gamma_productf): New
9604 prototype.
9605 (__gamma_product): Likewise.
9606 (__gamma_productl): Likewise.
9607 * math/Makefile (libm-calls): Add gamma_product.
9608 * math/libm-test.inc (tgamma_test): Add more tests.
9609 * sysdeps/i386/fpu/libm-test-ulps: Update.
9610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9611
bb7cf681
OB
96122013-05-08 Ondřej Bílka <neleai@seznam.cz>
9613
9614 * benchtests/bench-skeleton.c (main): Preheat CPU.
9615
ba853947
AJ
96162013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9617
9618 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9619
8347c74c
RM
96202013-05-07 Roland McGrath <roland@hack.frob.com>
9621
9622 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9623 and _dl_skip_args_internal.
9624
e8dd4791
CD
96252013-05-07 Carlos O'Donell <carlos@redhat.com>
9626
9627 * manual/message.texi (Message Translation): Talk about users.
9628 Message to key mapping impacts design.
9629
c7405830
RM
96302013-05-06 Roland McGrath <roland@hack.frob.com>
9631
a9173057
RM
9632 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9633
976e2f03
RM
9634 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9635
9723ffc5
RM
9636 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9637 * sysdeps/wordsize-64/glob64.c: ... here.
9638
962e6658
RM
9639 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9640 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9641 New macros.
9642
ee586a6d
RM
9643 * debug/getlogin_r_chk.c: Moved to ...
9644 * login/getlogin_r_chk.c: ... here.
9645 * debug/Makefile (routines): Move getlogin_r_chk to ...
9646 * login/Makefile (routines): ... here.
9647 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9648 * login/Versions (libc: GLIBC_2.4): ... here.
9649
355f9165
RM
9650 * io/poll.c (__poll): Renamed from poll.
9651 Add libc_hidden_def.
9652 (poll): Define as weak alias.
9653
bd9ffde6
RM
9654 * debug/ptsname_r_chk.c: Moved to ...
9655 * login/ptsname_r_chk.c: ... here.
9656 * debug/Makefile (routines): Move ptsname_r_chk to ...
9657 * login/Makefile (routines): ... here.
9658 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9659 * login/Versions (libc: GLIBC_2.4): ... here.
9660
8fb16a04
RM
9661 * posix/getlogin.c: Moved to ...
9662 * login/getlogin.c: ... here.
9663 * posix/getlogin_r.c: Moved to ...
9664 * login/getlogin_r.c: ... here.
9665 * posix/getlogin_r.c: Moved to ...
9666 * login/getlogin_r.c: ... here.
9667 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9668 * login/Makefile (routines): ... here.
9669 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9670 * login/Versions (libc: GLIBC_2.0): ... here.
9671
b99b892f
RM
9672 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9673 (setrlimit): Define as weak alias.
9674
c7405830
RM
9675 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9676 Call __ names for open, ftruncate, and close.
9677 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9678 (truncate): Define as weak alias.
9679
5bf96de5
JM
96802013-05-06 Joseph Myers <joseph@codesourcery.com>
9681
9ea3513c
JM
9682 * math/gen-libm-test.pl (parse_args): Initialize x before each
9683 test of frexp, modf and remquo.
9684
5bf96de5
JM
9685 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9686 test signgam value.
9687
16e616a7
AZ
96882013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9689
9690 [BZ #15418]
9691 [BZ #15419]
9692 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9693 internal tests.
9694 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9695
d5e82754
RM
96962013-05-06 Roland McGrath <roland@hack.frob.com>
9697
9698 * elf/dl-writev.h: New file.
9699 * elf/dl-misc.c: Include it.
9700 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9701 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9702
a7548d41
JM
97032013-05-04 Joseph Myers <joseph@codesourcery.com>
9704
b7dab1e4
JM
9705 * math/libm-test.inc (noXFails): Remove variable.
9706 (noXPasses): Likewise.
9707 (BUILD_COMPLEX_INT): Remove macro.
9708 (print_screen): Remove xfail argument.
9709 (print_screen_max_error): Likewise.
9710 (update_stats): Likewise.
9711 (print_max_error): Likewise. Update calls to other affected
9712 functions.
9713 (print_complex_max_error): Likewise.
9714 (test_single_exception): Update calls to print_screen.
9715 (test_single_errno): Likewise.
9716 (check_float_internal): Remove xfail argument. Update calls to
9717 other affected functions.
9718 (check_float): Likewise.
9719 (check_complex): Likewise.
9720 (check_int): Likewise.
9721 (check_long): Likewise.
9722 (check_bool): Likewise.
9723 (check_longlong): Likewise.
9724 (main): Don't print noXFails and noXPasses.
9725 * math/gen-libm-test.pl (top level): Don't mention expected
9726 failure handling in comment.
9727 (new_test): Don't handle expected failures.
9728 (parse_args): Don't mention expected failure handling in comment.
9729 (generate_testfile): Don't handle expected failures.
9730 (parse_ulps): Likewise.
9731 (print_ulps_file): Likewise.
9732 (get_failure): Remove function.
9733 (output_test): Don't handle expected failures.
9734 * make/README.libm-test: Don't mention expected failure handling.
9735
a7548d41
JM
9736 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9737 (minus_zero): Likewise.
9738 (plus_infty): Likewise.
9739 (minus_infty): Likewise.
9740 (qnan_value): Likewise.
9741 (max_value): Likewise.
9742 (min_value): Likewise.
9743 (min_subnorm_value): Likewise.
9744 (initialize): Do not initialize those variables dynamically.
9745
60bfd54c
RM
97462013-05-03 Roland McGrath <roland@hack.frob.com>
9747
cc0e6ed8
RM
9748 * io/open.c (__open_2): Moved to ...
9749 * io/open_2.c: ... this new file.
9750 * io/open64.c (__open64_2): Moved to ...
9751 * io/open64_2.c: ... this new file.
9752 * io/openat.c (__openat_2): Moved to ...
9753 * io/openat_2.c: ... this new file.
9754 * io/openat64.c (__openat64_2): Moved to ...
9755 * io/openat64_2.c: ... this new file.
9756 * io/Makefile (routines): Add them.
9757 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9758 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9759 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9760 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9761 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9762 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9763 (__openat64): Add hidden_ver.
9764 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9765 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9766
60bfd54c
RM
9767 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9768 Separately conditionalize setting of GLRO(dl_sysinfo) so
9769 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9770 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9771
83e7640f
AZ
97722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9773
9774 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9775 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9776 definition.
9777 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9778 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9779 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9780 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9781 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9782
d5dc2af3
JM
97832013-05-03 Joseph Myers <joseph@codesourcery.com>
9784
c31a5b1e
JM
9785 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9786 test signgam value.
9787
d5dc2af3
JM
9788 * math/libm-test.inc (hypot_test): Do not use
9789 IGNORE_ZERO_INF_SIGN.
9790
164fd39d
AJ
97912013-05-03 Andreas Jaeger <aj@suse.de>
9792
9793 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9794 Linux 3.9.
9795 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9796 (PF_MAX): Adjust for VSOCK change.
9797
8237f48c
AZ
97982013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9799
9800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9801
9df02941
CD
98022013-05-02 Carlos O'Donell <carlos@redhat.com>
9803
9804 [BZ #15264]
9805 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9806 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9807 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9808
d422395e
DM
98092013-05-02 David S. Miller <davem@davemloft.net>
9810
9811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9812
a07c5731
OB
98132013-05-01 Ondřej Bílka <neleai@seznam.cz>
9814
9815 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9816
1324e37f
RM
98172013-05-01 Roland McGrath <roland@hack.frob.com>
9818
9819 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9820
0695940b
RS
98212013-05-01 Richard Smith <richard@metafoo.co.uk>
9822
bb5f27ad 9823 [BZ #14952]
0695940b
RS
9824 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9825 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9826 Use __attribute__ ((__gnu_inline__)).
9827 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9828 Don't use __attribute__ ((__gnu_inline__)).
9829
10de07f5
JM
98302013-05-01 Joseph Myers <joseph@codesourcery.com>
9831
9832 [BZ #15423]
9833 * math/s_catan.c (__catan): Handle small real or imaginary part of
9834 input specially to avoid spurious underflow.
9835 * math/s_catanf.c (__catanf): Likewise.
9836 * math/s_catanh.c (__catanh): Likewise.
9837 * math/s_catanhf.c (__catanhf): Likewise.
9838 * math/s_catanhl.c (__catanhl): Likewise.
9839 * math/s_catanl.c (__catanl): Likewise.
9840 * math/libm-test.inc (catan_test): Add more tests.
9841 (catanh_test): Likewise.
9842 * sysdeps/i386/fpu/libm-test-ulps: Update.
9843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9844
cb4d5414
AZ
98452013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9846
9847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9848
caf84319
JM
98492013-04-30 Joseph Myers <joseph@codesourcery.com>
9850
9851 [BZ #15416]
9852 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9853 accurately for denominator in atan2.
9854 * math/s_catanf.c (__catanf): Likewise.
9855 * math/s_catanh.c (__catanh): Likewise.
9856 * math/s_catanhf.c (__catanhf): Likewise.
9857 * math/s_catanhl.c (__catanhl): Likewise.
9858 * math/s_catanl.c (__catanl): Likewise.
9859 * math/libm-test.inc (catan_test): Add more tests.
9860 (catanh_test): Likewise.
9861 * sysdeps/i386/fpu/libm-test-ulps: Update.
9862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9863
d569c6ee
SP
98642013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9865
6dbe713d
SP
9866 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9867
f0ee064b
SP
9868 * benchtests/Makefile (bench): Remove slow benchmarks.
9869 * benchtests/atan-inputs: Add slow benchmark inputs.
9870 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9871 (BENCH_FUNC): Accept variant offset.
9872 (VARIANT): Define.
9873 * benchtests/bench-skeleton.c (main): Run benchmark for each
9874 variant.
9875 * benchtests/cos-inputs: Add slow benchmark inputs.
9876 * benchtests/exp-inputs: Likewise.
9877 * benchtests/pow-inputs: Likewise.
9878 * benchtests/sin-inputs: Likewise.
9879 * benchtests/slowatan-inputs: Remove.
9880 * benchtests/slowatan.c: Remove.
9881 * benchtests/slowcos-inputs: Remove.
9882 * benchtests/slowcos.c: Remove.
9883 * benchtests/slowexp-inputs: Remove.
9884 * benchtests/slowexp.c: Remove.
9885 * benchtests/slowpow-inputs: Remove.
9886 * benchtests/slowpow.c: Remove.
9887 * benchtests/slowsin-inputs: Remove.
9888 * benchtests/slowsin.c: Remove.
9889 * benchtests/slowtan-inputs: Remove.
9890 * benchtests/slowtan.c: Remove.
9891 * benchtests/tan-inputs: Add slow benchmark inputs.
9892 * scripts/bench.pl: Parse comments and directives.
9893
d569c6ee
SP
9894 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9895 in CPPFLAGS.
9896 ($(objpfx)bench-%.c): Remove *-ITER.
9897 * benchtests/bench-modf.c: Remove definition of ITER.
9898 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9899 (main): Loop for DURATION seconds instead of fixed number of
9900 iterations.
9901 * scripts/bench.pl: Don't expect iterations in parameters.
9902
a6a242fe
RM
99032013-04-29 Roland McGrath <roland@hack.frob.com>
9904
9905 * io/fchdir.c (__fchdir): Renamed from fchdir.
9906 (fchdir): Define as weak alias.
9907
f2da7793
JM
99082013-04-29 Joseph Myers <joseph@codesourcery.com>
9909
9910 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9911 (ERRNO_EDOM): Likewise.
9912 (ERRNO_ERANGE): Likewise.
9913 (noErrnoTests): New variable.
9914 (init_max_error): Set errno to 0.
9915 (test_single_errno): New function.
9916 (test_errno): Likewise.
9917 (check_float_internal): Call test_errno. Set errno to 0.
9918 (check_complex): Refer to errno tests in comment.
9919 (check_int): Call test_errno. Set errno to 0.
9920 (check_long): Likewise.
9921 (check_bool): Likewise.
9922 (check_longlong): Likewise.
9923 (cos_test): Use ERRNO_* flags for errno tests instead of
9924 check_int.
9925 (expm1_test): Likewise.
9926 (fmod_test): Likewise.
9927 (ilogb_test): Likewise.
9928 (lgamma_test): Likewise.
9929 (pow_test): Likewise.
9930 (remainder_test): Likewise.
9931 (sin_test): Likewise.
9932 (tan_test): Likewise.
9933 (yn_test): Likewise.
9934 (initialize): Set errno to 0.
9935 (main): Print number of errno tests.
9936 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9937
b1a36ceb
AJ
99382013-04-29 Andreas Jaeger <aj@suse.de>
9939
c3ed8088
AJ
9940 [BZ #15084]
9941 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9942 and RES_USEVC.
9943
f1a24198
AJ
9944 [BZ #15085]
9945 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9946 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9947 unimplemented.
9948
9ce3b2cb
AJ
9949 [BZ #15380]
9950 * stdlib/random.c (__initstate): Return NULL if
9951 __initstate fails.
9952
f1a24198 9953 [BZ #15086]
b1a36ceb
AJ
9954 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9955 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9956 RES_SNGLKUPREOP.
9957
7e7b6f36
AZ
99582013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9959
9960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9961
4d14f449
JM
99622013-04-29 Joseph Myers <joseph@codesourcery.com>
9963
9964 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9965 of individual tests.
9966 (casin_test): Likewise.
9967 (casinh_test): Likewise.
9968
5b4217d7
JM
99692013-04-27 Joseph Myers <joseph@codesourcery.com>
9970
9971 [BZ #15409]
9972 * math/s_catan.c (__catan): Handle arguments with large real or
9973 imaginary part separately without squaring.
9974 * math/s_catanf.c (__catanf): Likewise.
9975 * math/s_catanh.c (__catanh): Likewise.
9976 * math/s_catanhf.c (__catanhf): Likewise.
9977 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9978 and redefine.
9979 (__catanhl): Handle arguments with large real or imaginary part
9980 separately without squaring.
9981 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9982 and redefine.
9983 (__catanl): Handle arguments with large real or imaginary part
9984 separately without squaring.
9985 * math/libm-test.inc (catan_test): Add more tests.
9986 (catanh_test): Likewise.
9987 * sysdeps/i386/fpu/libm-test-ulps: Update.
9988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9989
4220c3ef
AJ
99902013-04-27 Andreas Jaeger <aj@suse.de>
9991
9992 [BZ #15007]
9993 * stdlib/stdlib.h: Update guards for qecvt.
9994 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9995 <stdlib.h>.
9996
4721b2d1
AM
99972013-04-27 Allan McRae <allan@archlinux.org>
9998
9999 * sysdeps/i386/fpu/libm-test-ulps: Update.
10000
f0302940
JM
100012013-04-26 Joseph Myers <joseph@codesourcery.com>
10002
9457fd95
JM
10003 [BZ #15406]
10004 * math/s_catan.c: Include <float.h>.
10005 (__catan): Ensure underflow exception occurs for underflowed
10006 result.
10007 * math/s_catanf.c: Include <float.h>.
10008 (__catanf): Ensure underflow exception occurs for underflowed
10009 result.
10010 * math/s_catanh.c: Include <float.h>.
10011 (__catanh): Ensure underflow exception occurs for underflowed
10012 result.
10013 * math/s_catanhf.c: Include <float.h>.
10014 (__catanhf): Ensure underflow exception occurs for underflowed
10015 result.
10016 * math/s_catanhl.c: Include <float.h>.
10017 (__catanhl): Ensure underflow exception occurs for underflowed
10018 result.
10019 * math/s_catanl.c: Include <float.h>.
10020 (__catanl): Ensure underflow exception occurs for underflowed
10021 result.
10022 * math/libm-test.inc (catan_test): Add more tests.
10023 (catanh_test): Likewise.
10024
f0302940
JM
10025 [BZ #15405]
10026 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10027 underflowed result.
10028 * math/s_ccoshf.c (__ccoshf): Likewise.
10029 * math/s_ccoshl.c (__ccoshl): Likewise.
10030 * math/s_csin.c (__csin): Likewise.
10031 * math/s_csinf.c (__csinf): Likewise.
10032 * math/s_csinh.c (__csinh): Likewise.
10033 * math/s_csinhf.c (__csinhf): Likewise.
10034 * math/s_csinhl.c (__csinhl): Likewise.
10035 * math/s_csinl.c (__csinl): Likewise.
10036 * math/libm-test.inc (ccos_test): Add more tests.
10037 (ccosh_test): Likewise.
10038 (csin_test): Likewise.
10039 (csinh_test): Likewise.
10040
aa630f59
AZ
100412013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10042
10043 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10044 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10045 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10046 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10047 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10048 powerpc/power5+/fpu folders.
10049 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10050
10051
1b835983
MT
100522013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10053
10054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10055
73709b26
JM
100562013-04-25 Joseph Myers <joseph@codesourcery.com>
10057
10058 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10059 additions to variable.
10060 [$(config-machine) = x86_64] (modules-names): Likewise.
10061 ($(objpfx)tst-audit3): Remove dependency.
10062 ($(objpfx)tst-audit3.out): Likewise.
10063 ($(objpfx)tst-audit4): Likewise.
10064 ($(objpfx)tst-audit4.out): Likewise.
10065 ($(objpfx)tst-audit5): Likewise.
10066 ($(objpfx)tst-audit5.out): Likewise.
10067 ($(objpfx)tst-audit6): Likewise.
10068 ($(objpfx)tst-audit6.out): Likewise.
10069 ($(objpfx)tst-audit7): Likewise.
10070 ($(objpfx)tst-audit7.out): Likewise.
10071 (tst-audit3-ENV): Remove variable.
10072 (tst-audit4-ENV): Likewise.
10073 (tst-audit5-ENV): Likewise.
10074 (tst-audit6-ENV): Likewise.
10075 (tst-audit7-ENV): Likewise.
10076 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10077 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10078 addition to variable.
10079 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10080 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10081 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10082 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10083 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10084 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10085 tst-audit3, tst-audit4 and tst-audit5.
10086 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10087 tst-audit6 and tst-audit7.
10088 [$(subdir) = elf] (modules-names): Add audit modules for those
10089 tests.
10090 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10091 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10092 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10093 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10094 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10095 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10096 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10097 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10098 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10099 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10100 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10101 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10102 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10103 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10104 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10105 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10106 Likewise.
10107 [$(subdir) = elf && $(config-cflags-avx) = yes]
10108 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10109 [$(subdir) = elf && $(config-cflags-avx) = yes]
10110 (CFLAGS-tst-auditmod4a.c): Likewise.
10111 [$(subdir) = elf && $(config-cflags-avx) = yes]
10112 (CFLAGS-tst-auditmod4b.c): Likewise.
10113 [$(subdir) = elf && $(config-cflags-avx) = yes]
10114 (CFLAGS-tst-auditmod6b.c): Likewise.
10115 [$(subdir) = elf && $(config-cflags-avx) = yes]
10116 (CFLAGS-tst-auditmod6c.c): Likewise.
10117 [$(subdir) = elf && $(config-cflags-avx) = yes]
10118 (CFLAGS-tst-auditmod7b.c): Likewise.
10119 * elf/tst-audit3.c: Move to ...
10120 * sysdeps/x86_64/tst-audit3.c: ... here.
10121 * elf/tst-audit4.c: Move to ...
10122 * sysdeps/x86_64/tst-audit4.c: ... here.
10123 * elf/tst-audit5.c: Move to ...
10124 * sysdeps/x86_64/tst-audit5.c: ... here.
10125 * elf/tst-audit6.c: Move to ...
10126 * sysdeps/x86_64/tst-audit6.c: ... here.
10127 * elf/tst-audit7.c: Move to ...
10128 * sysdeps/x86_64/tst-audit7.c: ... here.
10129 * elf/tst-auditmod3a.c: Move to ...
10130 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10131 * elf/tst-auditmod3b.c: Move to ...
10132 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10133 * elf/tst-auditmod4a.c: Move to ...
10134 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10135 * elf/tst-auditmod4b.c: Move to ...
10136 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10137 * elf/tst-auditmod5a.c: Move to ...
10138 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10139 * elf/tst-auditmod5b.c: Move to ...
10140 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10141 * elf/tst-auditmod6a.c: Move to ...
10142 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10143 * elf/tst-auditmod6b.c: Move to ...
10144 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10145 * elf/tst-auditmod6c.c: Move to ...
10146 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10147 * elf/tst-auditmod7a.c: Move to ...
10148 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10149 * elf/tst-auditmod7b.c: Move to ...
10150 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10151
1ef74943
PP
101522013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10153
10154 [BZ #15366]
10155 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10156 define unconditionally.
10157 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10158 define unconditionally.
10159 (INT8_C, INT16_C, etc.): Likewise.
10160
93fd48c5
MR
101612013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10162
ae9552cf
MR
10163 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10164 __ehdr_start with hidden visibility.
10165
93fd48c5
MR
10166 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10167
418601aa
CD
101682013-04-24 Carlos O'Donell <carlos@redhat.com>
10169
10170 * math/libm-test.inc (cos_test): Use accurate hex constants.
10171 (sincost_test): Likewise.
10172
2f38fbfe
JM
101732013-04-24 Joseph Myers <joseph@codesourcery.com>
10174
5e221800
JM
10175 * math/libm-test.inc (catan_test): Add more tests.
10176 (catanh_test): Likewise.
10177
77f143fd
JM
10178 * math/s_catanf.c (__catanf): Use suffixed floating-point
10179 constants.
10180 * math/s_catanhf.c (__catanhf): Likewise.
10181 * math/s_catanhl.c (__catanhl): Likewise.
10182 * math/s_catanl.c (__catanl): Likewise.
10183
2f38fbfe
JM
10184 [BZ #15394]
10185 * math/s_catan.c (__catan): Calculate imaginary part of result
10186 with log1p not log unless computing log of number close to 0.
10187 * math/s_catanf.c (__catanf): Likewise.
10188 * math/s_catanl.c (__catanl): Likewise.
10189 * math/s_catanh.c (__catanh): Calculate real part of result with
10190 log1p not log unless computing log of number close to 0.
10191 * math/s_catanhf.c (__catanhf): Likewise.
10192 * math/s_catanhl.c (__catanhl): Likewise.
10193 * math/libm-test.inc (catan_test): Add more tests.
10194 (catanh_test): Likewise.
10195 * sysdeps/i386/fpu/libm-test-ulps: Update.
10196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10197
45d69176
SP
101982013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10199
10200 * benchtests/Makefile: Mention files in which fast and slow
10201 paths of math functions are implemented.
10202
87f51853
RM
102032013-04-23 Roland McGrath <roland@hack.frob.com>
10204
10205 * sysdeps/posix/timespec_get.c: New file.
10206
3c026539
AZ
102072013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10208
10209 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10210 POWER.
10211 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10212 for POWER.
10213 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10214 powerpc/power5/fpu folders.
10215 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10216 * benchtests/Makefile: Add modf testcase.
10217 * benchtests/bench-modf.c: New file: Benchmark test for mo
10218
ff491d14
SP
102192013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10220
10221 [BZ #14888]
10222 * time/Makefile (tests): Add tst-strptime-whitespace.
10223 * time/strptime_l.c (get_number): Use ISSPACE.
10224 (__strptime_internal): Likewise.
10225 * time/tst-strptime-whitespace.c: New test case.
10226
7ed3f4e8
AS
102272013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10228
10229 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10230 member.
10231 (_nss_files_init): Set it here.
10232
5c95f7b6
HC
102332013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10234
10235 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10236 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10237 unsigned.
10238
d34c9158
JBG
102392013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10240
10241 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10242
2169712d
SP
102432013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10244
10245 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10246 size just once.
10247
29c5de99
DM
102482013-04-21 David S. Miller <davem@davemloft.net>
10249
10250 * po/ru.po: Update Russion translation from translation project.
10251
ccdad15d
AC
102522013-04-17 Adam Conrad <adconrad@0c3.net>
10253
10254 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10255 and setfsgid.
10256
0f122b8d
CD
102572013-04-17 Carlos O'Donell <carlos@redhat.com>
10258
5c5b07da 10259 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10260 * configure: Regenerate.
5c5b07da 10261 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10262 Add example to error message.
10263 * sysdeps/i386/configure: Regenerate.
10264
037714dd
SP
102652013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10266
10267 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10268 slowtan.
10269 * benchtests/cos-inputs: New file.
10270 * benchtests/slowcos-inputs: New file.
10271 * benchtests/slowcos.c: New file.
10272 * benchtests/slowtan-inputs: New file.
10273 * benchtests/slowtan.c: New file.
10274 * benchtests/tan-inputs: New file.
10275
e913141d
RM
102762013-04-16 Roland McGrath <roland@hack.frob.com>
10277
10278 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10279 considered kosher.
10280
a2964074
SP
102812013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10282
4856bcd2
SP
10283 * benchtests/Makefile: Include cppflags-iterator.mk to add
10284 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10285
a2964074
SP
10286 * Makefile.in (bench-clean): New target.
10287 * benchtests/Makefile (bench-clean): Likewise.
10288
9fbf9aca
DH
102892013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10290
10291 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10292
207d1e2a
TS
102932013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10294
10295 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10296
306dfba9
AS
102972013-04-15 Andreas Schwab <schwab@suse.de>
10298
10299 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10300 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10301 * nscd/pwdcache.c (cache_addpw): Likewise.
10302 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10303 more than recsize.
10304
206a6699
SP
103052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10306
10307 * benchtests/Makefile (bench): Write all output to
10308 bench-out.tmp together.
10309
0582f6b3
AS
103102013-04-15 Andreas Schwab <schwab@suse.de>
10311
10312 * nscd/nscd.c (main): Don't fork again after closing files.
10313
acb4325f
SP
103142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10315
5cb26d0a
SP
10316 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10317
acb4325f
SP
10318 * benchtests/Rules (bench-deps): Collect dependencies into a
10319 single variable. Add Makefile to dependencies.
10320 ($(objpfx)bench-%.c): Depend on bench-deps.
10321
47792506
RM
103222013-04-12 Roland McGrath <roland@hack.frob.com>
10323 Xavier Roche <roche+kml2@exalead.com>
10324
10325 [BZ #15361]
10326 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10327 just that it's a file descriptor.
10328 * manual/llio.texi (Synchronizing AIO Operations): Update description
10329 for EBADF error from aio_fsync.
10330
8fc1bee5
SP
103312013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10332
10333 * Rules (bench): Move target definition...
10334 * benchtests/Makefile: ... here.
10335
aba5e333
CD
103362013-04-11 Carlos O'Donell <carlos@redhat.com>
10337
10338 * math/libm-test.inc (cos_test): Fix PI/2 test.
10339 (sincos_test): Likewise.
10340 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10341 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10342
273cdee8
AS
103432013-04-11 Andreas Schwab <schwab@suse.de>
10344
6ecec3b6
AS
10345 [BZ #13988]
10346 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10347 accept exponent character only when digits were seen.
10348 * stdio-common/Makefile (tests): Add bug26.
10349 * stdio-common/bug26.c: New file.
10350
273cdee8
AS
10351 [BZ #14293]
10352 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10353 non-freeable.
10354
8da491f5
SP
103552013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10356
01dc6df9
SP
10357 * Makeconfig (rtld-prefix): Define built linker prefix.
10358 * Rules (run-bench): Use it.
10359 * math/Makefile (run-regen-ulps): Likewise.
10360
8da491f5
SP
10361 * Rules (bench): Remove eval.
10362
abe7f530
SP
103632013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10364 Roland McGrath <roland@hack.frob.com>
10365 Ondrej Bilka <neleai@seznam.cz>
10366
10367 [BZ #15346]
10368 * time/getdate.c: Include ctype.h and alloca.h.
10369 (__getdate_r): Trim leading and trailing spaces of input.
10370 * time/tst-getdate.c (tests): Add tests with leading and
10371 trailing spaces.
10372
61c23e62
RM
103732013-04-08 Roland McGrath <roland@hack.frob.com>
10374
10375 [BZ #14280]
10376 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10377 when computing value.
10378
7208a313
CD
103792013-04-06 Carlos O'Donell <carlos@redhat.com>
10380
085b2d41
CD
10381 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10382 Use testrun.sh to run libm tests.
10383
7208a313
CD
10384 [BZ #15309]
10385 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10386
872c0acd
MM
103872013-04-06 Marko Myllynen <myllynen@redhat.com>
10388
10389 [BZ #15264]
10390 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10391
26510bdd
CD
103922013-04-06 Carlos O'Donell <carlos@redhat.com>
10393
10394 * Makefile.in (regen-ulps): New target.
10395 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10396 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10397 [ifneq (no,$(PERL)] (regen-ulps): New target.
10398 [ifeq (no,$(PERL)] (regen-ulps): New target.
10399 * math/libm-test.inc (ulps_file_name): Define.
10400 (output_dir): New variable.
10401 (options): Add "output-dir" option.
10402 (parse_opt): Handle 'o' case.
10403 (main): If output_dir is non-NULL use it as a prefix
10404 otherwise use "".
10405 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10406
a01f19c8
CD
104072013-04-06 Carlos O'Donell <carlos@redhat.com>
10408
10409 [BZ #10060, #10062]
10410 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10411 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10412 fail configure if __sync_val_compare_and_swap is not inlined.
10413 * sysdeps/i386/configure: Regenerate.
10414 * configure.in: Build for i686 when configured for i386.
10415 * configure: Regenerate.
10416 * README: Remove i386 reference.
10417
b7a329a5
CD
104182013-04-06 Carlos O'Donell <carlos@redhat.com>
10419
10420 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10422
bf0f50df
TS
104232013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10424
ee091edf
TS
10425 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10426 (lmsnanval): New variables.
10427 (F): Add conversion tests.
10428 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10429 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10430
a8b792d6
TS
10431 * stdio-common/tstdiomisc.c (F): Properly collect individual
10432 tests' results.
10433
a1cbf437
TS
10434 [BZ #14686, #15336]
10435 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10436 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10437 Instead, use input NaN values or generate a qNaN by arithmetic
10438 operation. Also fix bugs to comply with the standard.
10439 * math/libm-test.inc (remainder_test): Add more tests.
10440
8b43a0c9
TS
10441 [BZ #15335, #15342]
10442 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10443 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10444 input NaN values or generate a qNaN by arithmetic operation.
10445
d91da4ce
TS
10446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10447 unreachable code.
10448
bf0f50df
TS
10449 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10450 definitions.
10451
05e166c8
JM
104522013-04-03 Joseph Myers <joseph@codesourcery.com>
10453
10454 [BZ #14478]
10455 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10456 underflowed result.
10457 * math/s_cexpf.c (__cexpf): Likewise.
10458 * math/s_cexpl.c (__cexpl): Likewise.
10459 * math/libm-test.inc (cexp_test): Add more tests.
10460
1cef1b19
AS
104612013-04-03 Andreas Schwab <schwab@suse.de>
10462
10463 [BZ #15330]
10464 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10465 order arrays from heap if bigger than alloca cutoff.
10466
74d87055
TS
104672013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10468
10469 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10470 (SNAN_TESTS_double): Refer to GCC PR56831.
10471 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10472 GCC PR56828.
10473
d755bba4
SP
104742013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10475
90d5d5bb
SP
10476 * Rules (bench): Move bench.out after the run is complete.
10477
73e0cd5d
SP
10478 * Rules (bench): Echo currently running benchmark.
10479
64aabd4b
SP
10480 * benchtests/Makefile (bench): Add atan and slowatan.
10481 * benchtests/atan-inputs: New file.
10482 * benchtests/slowatan-inputs: New file.
10483 * benchtests/slowatan.c: New file.
10484
c871eccd
SP
10485 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10486 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10487 its value.
10488
d755bba4
SP
10489 [BZ #15305]
10490 * sysdeps/unix/sysv/linux/kernel-features.h
10491 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10492 __ASSUME_XFS_RESTRICTED_CHOWN.
10493 * sysdeps/unix/sysv/linux/pathconf.c
10494 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10495 Save and restore errno.
10496
52ce4860
JM
104972013-04-02 Joseph Myers <joseph@codesourcery.com>
10498
10499 [BZ #15327]
10500 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10501 arguments using __kernel_casinh.
10502 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10503 arguments using __kernel_casinhf.
10504 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10505 arguments using __kernel_casinhl.
10506 * math/libm-test.inc (cacosh_test): Add more tests.
10507 * sysdeps/i386/fpu/libm-test-ulps: Update.
10508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10509
81f311c2
SP
105102013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10511
e7906a47
SP
10512 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10514
92e3664b
SP
10515 * bench/Makefile (bench): Add sin and slowsin.
10516 * benchtests/sin-inputs: New file.
10517 * benchtests/slowsin-inputs: New file.
10518 * benchtests/slowsin.c: New file.
10519
81f311c2
SP
10520 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10521 (bench): Add slowexp and slowpow.
10522 (exp-ITER): Increase iterations.
10523 (pow-ITER): Likewise.
10524 * benchtests/exp-inputs: Change input.
10525 * benchtests/pow-inputs: Likewise.
10526 * benchtests/slowexp-inputs: New file.
10527 * benchtests/slowexp.c: New file.
10528 * benchtests/slowpow-inputs: New file.
10529 * benchtests/slowpow.c: New file.
10530
ab0f1aa9
AZ
105312013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10532
10533 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10534 instructions.
10535 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10536 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10537 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10538 * benchtests/Makefile: Add rint benchtest.
10539 * benchtests/rint-inputs: Input for rint benchtest.
10540
57267616
TS
105412013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10542
10543 * Versions.def (libm): Add GLIBC_2.18.
10544 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10545 hidden libm prototypes.
10546 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10547 * math/Makefile (libm-calls): Add s_issignaling.
10548 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10549 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10550 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10551 declaration.
10552 * math/math.h [__USE_GNU] (issignaling): New macro.
10553 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10554 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10556 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10557 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10558 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10559 * manual/arith.texi (issignaling): New section.
10560 * manual/libm-err-tab.pl (@all_functions): Update comment.
10561 * math/gen-libm-test.pl (parse_args): Apply special handling for
10562 issignaling.
10563 * math/libm-test.inc (print_float, issignaling_test): New
10564 functions.
10565 (check_float_internal): Add issignaling checks.
10566 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10567 default definition.
10568 * sysdeps/powerpc/math-tests.h: New file.
10569 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10570 tests.
10571 * math/test-snan.c (TEST_FUNC): Likewise.
10572
6142896d
DM
105732013-03-30 David S. Miller <davem@davemloft.net>
10574
10575 * po/de.po: Update from translation team.
10576
ccc8cadf
JM
105772013-03-30 Joseph Myers <joseph@codesourcery.com>
10578
10579 [BZ #10357]
10580 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10581 imaginary part less than 1.0 and real part less than 0.5
10582 specially.
10583 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10584 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10585 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10586 (cacos_test): Add more tests.
10587 (casin_test): Likewise.
10588 (casinh_test): Likewise.
10589 * sysdeps/i386/fpu/libm-test-ulps: Update.
10590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10591
0f6a8d4b
SP
105922013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10593
0d1029de
SP
10594 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10595 ONE with its value.
10596
c2d94018
SP
10597 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10598 (__pow_mp): Replace ONE and MONE with their values.
10599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10600 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10601 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10602 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10603 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10604 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10605
27ec37f1
SP
10606 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10607
a64d7e0e
SP
10608 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10609 (__pow_mp): Replace ZERO and MZERO with their values.
10610 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10611 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10612 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10614 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10615 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10616 (__sqr): Likewise.
10617
d26dd3eb
SP
10618 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10619
0f6a8d4b
SP
10620 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10621
e57b0c61
RM
106222013-03-28 Roland McGrath <roland@hack.frob.com>
10623
10624 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10625 Declare with __attribute__ ((weak)).
10626 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10627 Call __call_tls_dtors only if it's not NULL.
10628
356b3480
RM
106292013-03-28 Roland McGrath <roland@hack.frob.com>
10630
288f7d79
RM
10631 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10632 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10633 magic __ehdr_start linker symbol if it's defined.
10634 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10635 them up here if it was already done.
10636
dc0a0263
RM
10637 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10638 (_dl_aux_init): Use const in cast when setting it.
10639 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10640 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10641 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10642
3d3436ae
RM
10643 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10644 Declare them here.
10645 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10646 * csu/libc-tls.c: Nor here.
10647 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10648
356b3480
RM
10649 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10650 (__libc_message): Never call vsyslog.
10651
b0f1246a
AM
106522013-03-28 Alan Modra <amodra@gmail.com>
10653
10654 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10655 Define as empty.
10656 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10657 Likewise.
10658
fbbe2b9a
AZ
106592013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10660
10661 [BZ #15214]
10662 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10663 underflow.
10664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10665
1728ab37
SP
106662013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10667
7a86be6e
SP
10668 [BZ #15304]
10669 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10670 Don't add gid passed as argument.
10671
1728ab37
SP
10672 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10673
3a7182a1
JM
106742013-03-27 Joseph Myers <joseph@codesourcery.com>
10675
10676 [BZ #15307]
10677 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10678 imaginary part between 1.0 and 1.5 and real part less than 0.5
10679 specially.
10680 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10681 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10682 * math/libm-test.inc (cacos_test): Add more tests.
10683 (casin_test): Likewise.
10684 (casinh_test): Likewise.
10685 * sysdeps/i386/fpu/libm-test-ulps: Update.
10686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10687
6f2e90e7
SP
106882013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10689
5739f705
SP
10690 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10691 constants.
10692 (norm): Likewise.
10693 (denorm): Likewise.
10694 (__dbl_mp): Likewise.
10695 (add_magnitudes): Likewise.
10696 (sub_magnitudes): Likewise.
10697 (__add): Likewise.
10698 (__sub): Likewise.
10699 (__mul): Likewise.
10700 (__sqr): Likewise.
10701 (__inv): Likewise.
10702 (__dvd): Likewise.
10703
e375e83d
SP
10704 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10705 commented code.
10706 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10707 (__dubcos): Likewise.
10708 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10709 (__ieee754_acos): Likewise.
10710 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10711 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10712 (__exp1): Likewise.
10713 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10715 (log1): Likewise.
10716 (my_log2): Likewise.
10717 (checkint): Likewise.
10718 * sysdeps/ieee754/dbl-64/e_remainder.c
10719 (__ieee754_remainder): Likewise.
10720 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10721 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10722 (bsloww): Likewise.
10723 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10724
6f2e90e7
SP
10725 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10726 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10727 MANTISSA_STORE_T to store computations on mantissa. Use
10728 macros for rounding and division.
10729 (denorm): Likewise.
10730 (__dbl_mp): Likewise.
10731 (add_magnitudes): Likewise.
10732 (sub_magnitudes): Likewise.
10733 (__mul): Likewise.
10734 (__sqr): Likewise.
10735 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10736 powers of two in terms of TWOPOW macro.
10737 (mp_no): Make type of mantissa as MANTISSA_T.
10738 [!RADIXI]: Define RADIXI.
10739 [!TWO52]: Define TWO52.
10740 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10741
fce14d4e
AZ
107422013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10743
10744 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10745 llroundl symbol when building for PPC32.
10746
9ad027fb
MW
107472013-03-24 Mark H Weaver <mhw@netris.org>
10748
10749 * manual/arith.texi (Normalization Functions): Fix prototypes for
10750 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10751
e42a38dd
AZ
107522013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10753
10754 [BZ #13889]
10755 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10756 high value to check if expl overflow.
10757 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10758 to check for underflow and overflow.
10759 * math/libm-test.inc: Add exp test.
10760
2e0fb521
DL
107612013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10762
10763 [BZ #11120]
10764 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10765 with NOT_IN_libc.
10766
b5784d95
AZ
107672013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10768
10769 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10770 symbol.
10771
5aa4a1a1
TS
107722013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10773
bdef0be7
TS
10774 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10775 wrap blocks consisting of several statements.
10776
5aa4a1a1
TS
10777 * sysdeps/generic/math-tests.h: New file.
10778 * sysdeps/i386/fpu/math-tests.h: Likewise.
10779 * math/test-snan.c: Include it.
10780 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10781
98c48fe5
JM
107822013-03-21 Joseph Myers <joseph@codesourcery.com>
10783
10784 [BZ #15285]
10785 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10786 (__ieee754_j0l): Do not improve calculations using cos of twice
10787 input for inputs above LDBL_MAX / 2.0L.
10788 (__ieee754_y0l): Likewise.
10789 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10790 (__ieee754_j1l): Do not improve calculations using cos of twice
10791 input for inputs above LDBL_MAX / 2.0L.
10792 (__ieee754_y1l): Likewise.
10793 * math/libm-test.inc (j0_test): Add another test.
10794 (j1_test): Likewise.
10795 (y0_test): Likewise.
10796 (y1_test): Likewise.
10797 * sysdeps/i386/fpu/libm-test-ulps: Update.
10798
3775a8bc
SP
107992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10800
10801 * Rules ($(objpfx)bench-%.c): Include code from a C source
10802 file.
10803
0a1b2ae6
JM
108042013-03-21 Joseph Myers <joseph@codesourcery.com>
10805
10806 [BZ #15287]
10807 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10808 imaginary part 1.0 and real part less than 0.5 specially.
10809 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10810 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10811 * math/libm-test.inc (cacos_test): Add more tests.
10812 (casin_test): Likewise.
10813 (casinh_test): Likewise.
10814 * sysdeps/i386/fpu/libm-test-ulps: Update.
10815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816
b33d4ce4
SP
108172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10818
10819 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10820 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10821
bef0b507
JM
108222013-03-20 Joseph Myers <joseph@codesourcery.com>
10823
10824 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10825 * config.make.in (config-cflags-sse4): Remove variable.
10826 (config-cflags-avx): Likewise.
10827 (config-cflags-sse2avx): Likewise.
10828 (config-cflags-novzeroupper): Likewise.
10829 (config-asflags-i686): Likewise.
10830 (have-mfma4): Likewise.
10831 (have-as-vis3): Likewise.
10832 (MIG): Likewise.
10833 * configure.in (MIG): Do not AC_SUBST.
10834 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10835 (libc_cv_cc_sse4): Do not AC_SUBST.
10836 (libc_cv_cc_avx): Likewise.
10837 (libc_cv_cc_sse2avx): Likewise.
10838 (libc_cv_cc_novzeroupper): Likewise.
10839 (libc_cv_cc_fma4): Likewise.
10840 (libc_cv_as_i686): Likewise.
10841 (libc_cv_sparc_as_vis3): Likewise.
10842 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10843 LIBC_CONFIG_VAR.
10844 (config-asflags-i686): Likewise.
10845 (config-cflags-avx): Likewise.
10846 (config-cflags-sse2avx): Likewise.
10847 (have-mfma4): Likewise.
10848 (config-cflags-novzeroupper): Likewise.
10849 * sysdeps/mach/configure.in (MIG): Likewise.
10850 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10851 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10852 LIBC_CONFIG_VAR.
10853 (config-cflags-avx): Likewise.
10854 (config-cflags-sse2avx): Likewise.
10855 (have-mfma4): Likewise.
10856 (config-cflags-novzeroupper): Likewise.
10857 * configure: Regenerated.
10858 * sysdeps/i386/configure: Likewise.
10859 * sysdeps/mach/configure: Likewise.
10860 * sysdeps/sparc/configure: Likewise.
10861 * sysdeps/x86_64/configure: Likewise.
10862
912cc4b3
RM
108632013-03-20 Roland McGrath <roland@hack.frob.com>
10864
10865 [BZ #14812]
10866 * locale/programs/localedef.c (options): Put N_ translation marker
10867 on argument names, not just descriptions.
10868
04eed2b0
MS
108692013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10870
10871 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10872
a065ceff
OB
108732013-03-20 Ondřej Bílka <neleai@seznam.cz>
10874
9bb2a810 10875 [BZ #14176]
a065ceff
OB
10876 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10877
a600e5ce
RM
108782013-03-19 Roland McGrath <roland@hack.frob.com>
10879
10880 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10881 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10882 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10883 [!BEFORE_ABORT] (before_abort): New function.
10884 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10885 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10886 (writev_for_fatal): New function.
10887 (WRITEV_FOR_FATAL): New macro; call that.
10888 (backtrace_and_maps): New function.
10889 (BEFORE_ABORT): New macro; call that.
10890 (struct str_list): Type removed.
10891 (__libc_message, __libc_fatal): Functions removed.
10892 Include <sysdeps/posix/libc_fatal.c> instead.
10893
6b18bea6
JM
108942013-03-19 Joseph Myers <joseph@codesourcery.com>
10895
10896 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10897 constants.
10898 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10899 double constants.
10900
aaa8cb4b
AS
109012013-03-19 Andreas Schwab <schwab@suse.de>
10902
44673770
AS
10903 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10904 * sysdeps/gnu/configure: Regenerate.
10905
aaa8cb4b
AS
10906 * configure.in: Substitute libc_cv_rtlddir.
10907 * configure: Regenerate.
10908 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10909 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10910 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10911 * elf/Makefile (install-others, CFLAGS-interp.c)
10912 (ldso_install, common-ldd-rewrite): Likewise.
10913 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10914 $(inst_slibdir)/$(rtld-installed-name).
10915 * scripts/rellns-sh: Add -p option.
10916 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10917 for source.
10918
d3cfc668
SP
109192013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10920
10921 * manual/nptl.texi: Renamed to ...
10922 * manual/threads.texi: ... this.
10923 * manual/Makefile (chapters): Update.
10924
0e2b9cdd
RM
109252013-03-18 Roland McGrath <roland@hack.frob.com>
10926
10927 [BZ #14812]
10928 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10929 on argument names, not just descriptions.
0e2b9cdd
RM
10930 * malloc/memusagestat.c (options): Likewise.
10931 * nss/getent.c (options): Likewise.
63270c24
RM
10932
109332013-03-18 Benno Schulenberg <bensberg@justemail.net>
10934
10935 [BZ #14812]
10936 * iconv/iconv_prog.c (options): Put N_ translation marker
10937 on argument names, not just descriptions.
10938 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10939
b2e1393c
OB
109402013-03-18 Ondrej Bilka <neleai@seznam.cz>
10941
10942 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10943 implementation which is faster on all x86_64 architectures.
10944 Tested on AMD, Intel Nehalem, SNB, IVB.
10945 * sysdeps/x86_64/strnlen.S: Likewise.
10946
10947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10948 Remove all multiarch strlen and strnlen versions.
10949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10950 Remove strlen and strnlen related parts.
10951
10952 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10953 Inline strlen part.
10954 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10955
10956 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10957 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10958 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10959 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10960 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10961 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10962
ec4ff04d
CD
109632013-03-17 Carlos O'Donell <carlos@redhat.com>
10964
10965 * manual/memory.texi (Malloc Tunable Parameters):
10966 Sort parameters alphabetically. Add comments for missing entries.
10967
cd18e90a
DM
109682013-03-17 David S. Miller <davem@davemloft.net>
10969
10970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10971
2a185d32
JM
109722013-03-16 Joseph Myers <joseph@codesourcery.com>
10973
d2f9799e
JM
10974 [BZ #15283]
10975 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10976 for arguments at most half maximum finite value.
10977 * math/libm-test.inc (j0_test): Add more tests.
10978 (j1_test): Likewise.
10979 (y0_test): Likewise.
10980 (y1_test): Likewise.
10981 * sysdeps/i386/fpu/libm-test-ulps: Update.
10982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10983
2a185d32
JM
10984 [BZ #14155]
10985 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10986 1 / x and functions P and Q for arguments above 0x1p256L.
10987 (__ieee754_y0l): Likewise.
10988 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10989 (__ieee754_y1l): Likewise.
10990 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10991 (j1_test): Likewise.
10992 (y0_test): Likewise.
10993 (y1_test): Likewise.
10994
6cbec759
TS
109952013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10996
10997 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10998 variable.
10999
bc16e260
RM
110002013-03-15 Roland McGrath <roland@hack.frob.com>
11001
aefc9b8c
RM
11002 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11003 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11004 zero since it's initialized to EXEC_PAGESIZE.
11005
bc16e260
RM
11006 * sysdeps/unix/sysv/linux/ldsodefs.h
11007 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11008 * sysdeps/generic/ldsodefs.h: ... here.
11009
a57da955
TS
110102013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11011
af00a34d
TS
11012 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11013
495ded2c
TS
11014 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11015 math/test-snan.c.
11016 * math/test-snan.c: Renamed from
11017 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11018 * math/Makefile (tests): Add test-snan.
11019 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11020 test-powerpc-snan.
11021
777b0332
TS
11022 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11023 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11024 functions.
11025 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11026 __builtin_nan family of functions.
11027 * math/libm-test.inc (initialize): Initialize qnan_value with
11028 __builtin_nan family of functions.
11029 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11030 Remove variables.
11031 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11032 Remove functions.
11033 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11034 storage class. Initialize qNaN_var and sNaN_var with
11035 __builtin_nan and __builtin_nans families of functions,
11036 respectively.
11037
64d063b8
TS
11038 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11039 (sqrt_test): Remove duplicate test with qNaN input.
11040 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11041 (round_test, signbit_test, significand_test): Note missing +/-Inf
11042 as well as qNaN tests.
11043
67e971f1
TS
11044 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11045 qNaN_var. Fix a few strings, too.
11046 * math/libm-test.inc (nan_value): Rename to qnan_value.
11047 * math/gen-libm-test.pl (%beautify): Adjust to that.
11048 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11049 * math/test-misc.c (main): Likewise.
11050 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11051 to __qnan_bytes, and __qnan_union, respectively.
11052 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11053 Likewise.
11054 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11055 and lqnanval, respectively.
11056 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11057 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11058 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11059 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11060
64487e12
TS
11061 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11062 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11063 doubles.
11064
e015e27b
TS
11065 * math/test-misc.c (main): Fix copy'n'pastos.
11066 * misc/tst-efgcvt.c (special): Likewise.
11067
a57da955
TS
11068 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11069 Remove declarations.
11070
1e380345
SP
110712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11072
11073 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11074 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11075 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11076 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11077
ef26eece
AZ
110782013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11079
11080 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11081 macro to return vdso values correctly in IFUNC implementations.
11082 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11083 Optimization by using IFUNC.
11084
8cfdb7e0
SP
110852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11086 Richard Henderson <rth@redhat.com>
11087 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11088
11089 * Makefile.in (bench): New target.
11090 * NEWS: Mention the benchmark framework.
11091 * Rules (bench): Likewise.
11092 (binaries-bench): Generate binaries for functions to
11093 benchmark.
11094 * benchtests/Makefile: New makefile for benchmark tests.
11095 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11096 programs.
11097 * benchtests/exp-inputs: New input file for EXP function.
11098 * benchtests/pow-inputs: New input file for POW function.
11099 * scripts/bench.pl: New script to generate source files for
11100 benchmark programs.
11101
bcda9880
SP
111022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11103
d22ca8cd
SP
11104 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11105 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11106 computations on mantissa. Use macros for rounding and
11107 division.
11108 (denorm): Likewise.
11109 (__dbl_mp): Likewise.
11110 (add_magnitudes): Likewise.
11111 (sub_magnitudes): Likewise.
11112 (__mul): Likewise.
11113 (__sqr): Likewise.
11114 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11115 powers of two in terms of TWOPOW macro.
11116 (mp_no): Make type of mantissa as MANTISSA_T.
11117 [!RADIXI]: Define RADIXI.
11118 [!TWO52]: Define TWO52.
11119 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11120
bcda9880
SP
11121 * manual/nptl.texi (cindex): Modify threads to pthreads.
11122
06d5adfb
JM
111232013-03-15 Joseph Myers <joseph@codesourcery.com>
11124
11125 * sysdeps/x86_64/preconfigure: Regenerated.
11126
41c7328e
JM
111272013-03-14 Joseph Myers <joseph@codesourcery.com>
11128
11129 [BZ #14155]
11130 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11131 0x1p28 and above.
11132 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11133 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11134 0x1p28 and above.
11135 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11136 * math/libm-test.inc (j0_test): Do not allow one spurious
11137 underflow exception.
11138 (y1_test): Likewise.
11139
e25cfa60
SP
111402013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11141
0409959c
SP
11142 * manual/Makefile (chapters): Add nptl.
11143 * manual/debug.texi (Debugging Support): Add link to Threads
11144 chapter.
11145 * manual/nptl.texi: New file.
11146
e25cfa60
SP
11147 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11148
58a1335e
PB
111492013-03-14 Petr Baudis <pasky@ucw.cz>
11150
11151 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11152 for non-NULL pointer before the memory validity test. Pointed
11153 out by Holger Brunck <holger.brunck@keymile.com>.
11154
9dc7c64f
AS
111552013-03-13 Andreas Schwab <schwab@suse.de>
11156
11157 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11158 instead of .os.
11159
54206aa6
JM
111602013-03-13 Joseph Myers <joseph@codesourcery.com>
11161
11162 * timezone/zic.c: Update from tzcode 2013b.
11163
e98cdb38
CD
111642013-03-12 Carlos O'Donell <carlos@redhat.com>
11165
11166 * manual/install.texi (Configuring and compiling):
11167 Mention i686 and i586.
11168 * INSTALL: Regenerate.
11169
9967e003
RM
111702013-03-12 Roland McGrath <roland@hack.frob.com>
11171
11172 * sysdeps/init_array/elf-init.c: New file.
11173 * csu/elf-init.c
11174 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11175 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11176
11177 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11178 __gmon_start__ as global, but as static with a .preinit_array pointer.
11179 * sysdeps/init_array/gmon-start.c: New file. Use that.
11180 * sysdeps/init_array/crti.S: New file, empty except for comments.
11181 * sysdeps/init_array/crtn.S: Likewise.
11182
e6b5a293 111832013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11184
11185 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11186 definining bcopy.
80f844c9
OB
11187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11188 Remove Prefer_SSE_for_memop.
11189 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11190 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11191 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11193 memset-x86-64.
80f844c9 11194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11195 Remove bzero, memset ifunc support.
80f844c9
OB
11196 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11197 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11198 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11199 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11200
fb6b0fcb
AS
112012013-03-11 Andreas Schwab <schwab@suse.de>
11202
11203 [BZ #15234]
11204 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11205 by SHLIB_COMPAT.
11206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11207 (GLIBC_2.16): Remove pthread_atfork.
11208
3e6bd4b1
PP
112092013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11210
11211 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11212 (ptestcases.h): Likewise.
11213
222d7f00
RM
112142013-03-08 Roland McGrath <roland@hack.frob.com>
11215
11216 * Makeconfig ($(common-objpfx)config.status): Depend on
11217 sysdeps/*/preconfigure{,.in} too.
11218
1ba4f030
JM
112192013-03-08 Joseph Myers <joseph@codesourcery.com>
11220
a222d91a
JM
11221 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11222 (__free_hook): Use void * instead of __malloc_ptr_t.
11223 (__malloc_hook): Likewise.
11224 (__realloc_hook): Likewise.
11225 (__memalign_hook): Likewise.
11226 (__after_morecore_hook): Likewise.
11227 * malloc/arena.c (save_malloc_hook): Likewise.
11228 (save_free_hook): Likewise.
11229 * malloc/hooks.c (malloc_hook_ini): Likewise.
11230 (realloc_hook_ini): Likewise.
11231 (memalign_hook_ini): Likewise.
11232 * malloc/malloc.c (malloc_hook_ini): Likewise.
11233 (realloc_hook_ini): Likewise.
11234 (memalign_hook_ini): Likewise.
11235 (__free_hook): Likewise.
11236 (__malloc_hook): Likewise.
11237 (__realloc_hook): Likewise.
11238 (__memalign_hook): Likewise.
11239 (__libc_malloc): Likewise.
11240 (__libc_free): Likewise.
11241 (__libc_realloc): Likewise.
11242 (__libc_memalign): Likewise.
11243 (__libc_valloc): Likewise.
11244 (__libc_pvalloc): Likewise.
11245 (__libc_calloc): Likewise.
11246 (__posix_memalign): Likewise.
11247 * malloc/morecore.c (__sbrk): Likewise.
11248 (__default_morecore): Likewise.
11249
5cc45e10
JM
11250 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11251
dd54b864
JM
11252 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11253 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11254 __malloc_ptrdiff_t.
11255
1ba4f030
JM
11256 * malloc/malloc.h (__malloc_size_t): Remove macro.
11257 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11258 __malloc_size_t.
11259 (old_memalign_hook): Likewise.
11260 (old_realloc_hook): Likewise.
11261 (struct hdr): Likewise.
11262 (flood): Likewise.
11263 (mallochook): Likewise.
11264 (memalignhook): Likewise.
11265 (reallochook): Likewise.
11266 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11267 (tr_old_realloc_hook): Likewise.
11268 (tr_old_memalign_hook): Likewise.
11269 (tr_mallochook): Likewise.
11270 (tr_reallochook): Likewise.
11271 (tr_memalignhook): Likewise.
11272
edf66e57
AZ
112732013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11274
11275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11276 default_ldbl_pack and using as default implementation.
11277 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11278 implementation.
11279 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11280 redundant definition.
11281 (ldbl_insert_mantissa): Likewise.
11282 (ldbl_canonicalize): Likewise.
11283 (ldbl_nearbyint): Likewise.
11284 (ldbl_pack): Rename to ldbl_pack_ppc.
11285 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11286 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11287 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11288
6d9145d8
SP
112892013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11290
11291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11292 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11293 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11294 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11296 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11297 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11298 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11299
4dd4e157
AJ
113002013-03-07 Andreas Jaeger <aj@suse.de>
11301
11302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11303 bits/mman-linux.h.
11304
adbb8027
SP
113052013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11306
ce544b5b
SP
11307 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11308 Include mpa.h and declare __MPEXP.
11309 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11310 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11311 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11312 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11313 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11314 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11315 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11316
4cc149fd
SP
11317 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11318 (__slowpow): Use long double EXPL and LOGL functions to
11319 compute POW.
11320 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11321 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11322 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11323 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11324 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11325 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11326
e6ebd4a7
SP
11327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11328 intermediate variable to calculate exponent.
11329 (__sqr): Likewise.
11330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11331 Likewise.
11332 (__sqr): Likewise.
11333
82a9811d
SP
11334 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11335 [!NO__SQR]: Define __sqr.
11336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11337 and NO__SQR. Remove all code except __mul and __sqr. Include
11338 sysdeps/ieee754/dbl-64/mpa.c.
11339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11340
adbb8027
SP
11341 [BZ #12723]
11342 * posix/Makefile (tests): Add tst-pathconf.
11343 * posix/tst-pathconf.c: New test case.
11344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11345 _PC_PIPE_BUF.
11346 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11347
39120df9
PF
113482013-03-06 Patsy Franklin <pfrankli@redhat.com>
11349
11350 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11351
67525cb8
AJ
113522013-03-06 Andreas Jaeger <aj@suse.de>
11353
664a9ce4
AJ
11354 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11355 definition via __MAP_ANONYMOUS.
11356
8e39047d
AJ
11357 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11358 it's not part of Linux headers.
11359
67525cb8
AJ
11360 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11361 (MAP_HUGE_MASK): Define.
11362
11363 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11364 Define.
11365 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11366 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11367 Define.
11368 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11369 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11370 Define.
11371 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11372 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11373 Define.
11374 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11375
11376 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11377 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11378 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11379 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11380 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11381 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11382
11383 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11384 Handle f2fs.
11385
11386 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11387 Handle f2fs and efivarfs.
11388
11389 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11390 f2fs.
11391
11392 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11393 (EFIVARFS_MAGIC): Add.
11394 (F2FS_LINK_MAX): Add.
11395
e1b42695
PP
113962013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11397
11398 * stdio-common/vfprintf.c: Replace __builtin_expect with
11399 __glibc_unlikely.
11400
2d67d91a
JM
114012013-03-06 Joseph Myers <joseph@codesourcery.com>
11402
11403 [BZ #13550]
11404 * sysdeps/generic/bp-sym.h: Remove file.
11405 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11406 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11407 <bp-sym.h> and <bp-asm.h>.
11408 (__longjmp): Don't use BP_SYM.
11409 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11410 and <bp-asm.h>.
11411 (memcpy): Don't use BP_SYM.
11412 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11413 <bp-sym.h> and <bp-asm.h>.
11414 (memcpy): Don't use BP_SYM.
11415 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11416 <bp-asm.h>.
11417 (memcpy): Don't use BP_SYM.
11418 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11419 <bp-asm.h>.
11420 (memset): Don't use BP_SYM.
11421 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11422 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11423 (__bzero): Don't use BP_SYM.
11424 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11425 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11426 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11427 <bp-sym.h> and <bp-asm.h>.
11428 (memcmp): Don't use BP_SYM. Remove comment about bounded
11429 pointers.
11430 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11431 <bp-sym.h> and <bp-asm.h>.
11432 (memcpy): Don't use BP_SYM.
11433 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11434 <bp-sym.h> and <bp-asm.h>.
11435 (memset): Don't use BP_SYM.
11436 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11437 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11438 (__bzero): Don't use BP_SYM.
11439 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11440 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11441 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11442 <bp-sym.h> and <bp-asm.h>.
11443 (strncmp): Don't use BP_SYM. Remove comment about bounded
11444 pointers.
11445 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11446 <bp-sym.h> and <bp-asm.h>.
11447 (memcpy): Don't use BP_SYM.
11448 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11449 <bp-sym.h> and <bp-asm.h>.
11450 (memset): Don't use BP_SYM.
11451 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11452 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11453 (__bzero): Don't use BP_SYM.
11454 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11455 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11456 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11457 <bp-sym.h> and <bp-asm.h>.
11458 (__memchr): Don't use BP_SYM.
11459 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11460 <bp-sym.h> and <bp-asm.h>.
11461 (memcmp): Don't use BP_SYM. Remove comment about bounded
11462 pointers.
11463 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11464 <bp-sym.h> and <bp-asm.h>.
11465 (memcpy): Don't use BP_SYM.
11466 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11467 <bp-sym.h> and <bp-asm.h>.
11468 (__mempcpy): Don't use BP_SYM.
11469 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11470 <bp-sym.h> and <bp-asm.h>.
11471 (__memrchr): Don't use BP_SYM.
11472 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11473 <bp-sym.h> and <bp-asm.h>.
11474 (memset): Don't use BP_SYM.
11475 (__bzero): Likewise.
11476 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11477 <bp-sym.h> and <bp-asm.h>.
11478 (__rawmemchr): Don't use BP_SYM.
11479 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11480 <bp-sym.h> and <bp-asm.h>.
11481 (__STRCMP): Don't use BP_SYM.
11482 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11483 <bp-sym.h> and <bp-asm.h>.
11484 (strchr): Don't use BP_SYM.
11485 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11486 <bp-sym.h> and <bp-asm.h>.
11487 (__strchrnul): Don't use BP_SYM.
11488 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11489 <bp-sym.h> and <bp-asm.h>.
11490 (strlen): Don't use BP_SYM.
11491 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11492 <bp-sym.h> and <bp-asm.h>.
11493 (strncmp): Don't use BP_SYM. Remove comment about bounded
11494 pointers.
11495 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11496 <bp-sym.h> and <bp-asm.h>.
11497 (__strnlen): Don't use BP_SYM.
11498 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11499 <bp-sym.h> and <bp-asm.h>.
11500 (__GI__setjmp): Don't use BP_SYM.
11501 (_setjmp): Likewise.
11502 (__sigsetjmp): Likewise.
11503 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11504 (L(start_addresses)): Don't use BP_SYM.
11505 (_start): Likewise.
11506 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11507 <bp-asm.h>.
11508 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11509 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11510 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11511 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11512 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11513 <bp-asm.h>.
11514 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11515 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11516 about bounded pointers.
11517 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11518 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11519 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11520 <bp-asm.h>.
11521 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11522 about bounded pointers. Remove GKM FIXME comments.
11523 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11524 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11525 <bp-asm.h>.
11526 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11527 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11528 Remove GKM FIXME comments.
11529 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11530 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11531 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11532 <bp-asm.h>.
11533 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11534 about bounded pointers. Remove GKM FIXME comment.
11535 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11536 and <bp-asm.h>.
11537 (strncmp): Don't use BP_SYM. Remove comment about bounded
11538 pointers.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11540 <bp-sym.h> and <bp-asm.h>.
11541 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11543 <bp-sym.h> and <bp-asm.h>.
11544 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11545 comment.
11546
cdcf361f
PP
115472013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11548
11549 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11550 call free(NULL).
11551
3c4a2b15
DM
115522013-03-05 David S. Miller <davem@davemloft.net>
11553
11554 * po/es.po: Update from translation team.
11555
cdcf361f 115562013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11557
11558 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11559 <bits/mman-linux.h>.
11560 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11561 is fine.
11562 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11563 <bits/mman-linux.h> to end of file.
11564 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11565 is fine.
11566 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11567 <bits/mman-linux.h> to end of file.
11568 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11569 is fine.
11570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11571 <bits/mman-linux.h> to end of file.
11572
11573 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11574 (MCL_CURRENT, MCL_FUTURE): Define here.
11575
5f67c04f
AK
115762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11577
8a4473cc 11578 [BZ #15232]
5f67c04f
AK
11579 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11580 attribute_hidden.
11581 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11582
c3e94a95
AK
115832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11584
11585 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11586 fourth parameter needed for rt_sigprocmask syscall.
11587 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11588 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11589 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11590 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11591 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11592 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11593
cfb6382a
JM
115942013-03-04 Joseph Myers <joseph@codesourcery.com>
11595
11596 [BZ #13550]
11597 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11598 comment about bounded pointers.
11599 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11600 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11601
539d8e01
AJ
116022013-03-04 Andreas Jaeger <aj@suse.de>
11603
11604 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11605 common definitions.
11606
11607 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11608 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11609 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11610 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11611 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11612 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11613
2e167a70 116142013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11615
11616 [BZ #15055]
11617 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11618 __ieee754_sqrl instead of __sqrl.
11619
68508633
JM
116202013-03-01 Joseph Myers <joseph@codesourcery.com>
11621
11622 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11623 * sysdeps/powerpc/fpu_control.h: ... here.
11624 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11625 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11626 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11627 * sysdeps/powerpc/bits/mathinline.h: ... here.
11628
7775448e
RM
116292013-03-01 Roland McGrath <roland@hack.frob.com>
11630
11631 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11632 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11633 to just [NEED_DL_SYSINFO_DSO].
11634 * elf/dl-support.c: Likewise.
11635 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11636 * elf/rtld.c (dl_main): Likewise.
11637 * elf/setup-vdso.h (setup_vdso): Likewise.
11638 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11639 * sysdeps/unix/sysv/linux/dl-sysdep.c
11640 (_dl_discover_osversion): Likewise.
11641
4e9b5995
CD
116422013-03-01 Carlos O'Donell <carlos@redhat.com>
11643
11644 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11645 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11646
e23872c8
SP
116472013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11648
e5c74c63
SP
11649 * NEWS: Mention libm performance improvements and non-x86 PI
11650 futex support.
11651
e23872c8
SP
11652 * csu/libc-start.c (__pthread_initialize_minimal): Change
11653 function arguments.
11654 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11655
b5510883
JM
116562013-02-28 Joseph Myers <joseph@codesourcery.com>
11657
11658 [BZ #13550]
11659 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11660 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11661 <bp-sym.h> and <bp-asm.h>.
11662 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11663 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11664 and <bp-asm.h>.
11665 (memcpy): Don't use BP_SYM.
11666 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11667 <bp-asm.h>.
11668 (__mpn_add_n): Don't use BP_SYM.
11669 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11670 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11671 and <bp-asm.h>.
11672 (__mpn_addmul_1): Don't use BP_SYM.
11673 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11674 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11675 <bp-sym.h>.
11676 (_setjmp): Don't use BP_SYM.
11677 (__novmx_setjmp): Likewise.
11678 (__GI__setjmp): Likewise.
11679 (__vmx_setjmp): Likewise.
11680 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11681 <bp-sym.h>.
11682 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11683 (__bzero): Don't use BP_SYM.
11684 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11685 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11686 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11687 <bp-sym.h> and <bp-asm.h>.
11688 (memcpy): Don't use BP_SYM.
11689 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11690 <bp-sym.h> and <bp-asm.h>.
11691 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11692 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11693 <bp-sym.h> and <bp-asm.h>.
11694 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11695 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11696 <bp-asm.h>.
11697 (__mpn_lshift): Don't use BP_SYM.
11698 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11699 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11700 <bp-asm.h>.
11701 (memset): Don't use BP_SYM.
11702 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11703 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11704 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11705 <bp-asm.h>.
11706 (__mpn_mul_1): Don't use BP_SYM.
11707 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11708 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11709 <bp-sym.h> and <bp-asm.h>.
11710 (memcmp): Don't use BP_SYM.
11711 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11712 <bp-sym.h> and <bp-asm.h>.
11713 (memcpy): Don't use BP_SYM.
11714 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11715 <bp-sym.h> and <bp-asm.h>.
11716 (memset): Don't use BP_SYM.
11717 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11718 <bp-sym.h> and <bp-asm.h>.
11719 (strncmp): Don't use BP_SYM.
11720 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11721 <bp-sym.h> and <bp-asm.h>.
11722 (memcpy): Don't use BP_SYM.
11723 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11724 <bp-sym.h> and <bp-asm.h>.
11725 (memset): Don't use BP_SYM.
11726 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11727 <bp-sym.h> and <bp-asm.h>.
11728 (__memchr): Don't use BP_SYM.
11729 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11730 <bp-sym.h> and <bp-asm.h>.
11731 (memcmp): Don't use BP_SYM.
11732 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11733 <bp-sym.h> and <bp-asm.h>.
11734 (memcpy): Don't use BP_SYM.
11735 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11736 <bp-sym.h> and <bp-asm.h>.
11737 (__mempcpy): Don't use BP_SYM.
11738 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11739 <bp-sym.h> and <bp-asm.h>.
11740 (__memrchr): Don't use BP_SYM.
11741 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11742 <bp-sym.h> and <bp-asm.h>.
11743 (memset): Don't use BP_SYM.
11744 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11745 <bp-sym.h> and <bp-asm.h>.
11746 (__rawmemchr): Don't use BP_SYM.
11747 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11748 <bp-sym.h> and <bp-asm.h>.
11749 (__STRCMP): Don't use BP_SYM.
11750 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11751 <bp-sym.h> and <bp-asm.h>.
11752 (strchr): Don't use BP_SYM.
11753 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11754 <bp-sym.h> and <bp-asm.h>.
11755 (__strchrnul): Don't use BP_SYM.
11756 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11757 <bp-sym.h> and <bp-asm.h>.
11758 (strlen): Don't use BP_SYM.
11759 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11760 <bp-sym.h> and <bp-asm.h>.
11761 (strncmp): Don't use BP_SYM.
11762 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11763 <bp-sym.h> and <bp-asm.h>.
11764 (__strnlen): Don't use BP_SYM.
11765 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11766 <bp-asm.h>.
11767 (__mpn_rshift): Don't use BP_SYM.
11768 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11769 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11770 <bp-sym.h> and <bp-asm.h>.
11771 (__sigsetjmp): Don't use BP_SYM.
11772 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11773 (L(start_addresses)): Don't use BP_SYM.
11774 (_start): Likewise.
11775 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11776 <bp-asm.h>.
11777 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11778 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11779 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11780 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11781 <bp-asm.h>.
11782 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11783 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11784 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11785 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11786 <bp-asm.h>.
11787 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11788 comments.
11789 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11790 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11791 <bp-asm.h>.
11792 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11793 FIXME comments.
11794 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11795 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11796 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11797 <bp-asm.h>.
11798 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11799 comment.
11800 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11801 and <bp-asm.h>.
11802 (strncmp): Don't use BP_SYM,
11803 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11804 <bp-asm.h>.
11805 (__mpn_sub_n): Don't use BP_SYM.
11806 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11807 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11808 and <bp-asm.h>.
11809 (__mpn_submul_1): Don't use BP_SYM.
11810 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11812 <bp-sym.h> and <bp-asm.h>.
11813 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11815 <bp-sym.h> and <bp-asm.h>.
11816 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11817 comment.
11818
8d19fe64
SP
118192013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11820
11821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11822 Use ZK to minimize writes to Z.
11823 (sub_magnitudes): Simplify code a bit.
11824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11825 Use ZK to minimize writes to Z.
11826 (sub_magnitudes): Simplify code a bit.
11827
85bd816a
RM
118282013-02-27 Roland McGrath <roland@hack.frob.com>
11829
11830 * csu/gmon-start.c: Add special exception to license text.
11831
b5977bf2
RH
118322013-02-27 Richard Henderson <rth@redhat.com>
11833
11834 * scripts/config.guess: Update from config.git.
11835 * scripts/config.sub: Likewise.
11836
11d6e2f2
SP
118372013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11838
09c14ed2
SP
11839 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11840
a688864e
SP
11841 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11842
6295157a
SP
11843 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11844
b8de2202
SP
11845 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11846
11d6e2f2
SP
11847 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11848
7e80ddb8
RM
118492013-02-26 Roland McGrath <roland@hack.frob.com>
11850
11851 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11852 [$(build-shared = yes].
7e80ddb8 11853
7da6d9ed
SP
118542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11855
45f05884
SP
11856 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11857 (__mul): Reduce iterations for calculating mantissa.
11858
2236d359
SP
11859 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11860 MPTWO.
11861 (__mpranred): Likewise.
11862
7da6d9ed
SP
11863 [BZ #15160]
11864 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11865 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11866
b7688c42
PE
118672013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11868
11869 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11870 Define __attribute__.
11871
53a5c423
SP
118722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11873
11874 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11875 unused.
11876 * posix/regex_internal.h (__attribute): Remove.
11877 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11878 (re_string_context_at): Likewise.
11879 (bitset_not): Use __attribute__ and mark function as possibly
11880 unused.
11881 (bitset_merge): Likewise.
11882 (bitset_mask): Likewise.
11883 (re_string_char_size_at): Likewise.
11884 (re_string_wchar_at): Likewise.
11885 (re_string_elem_size_at): Likewise.
11886
60f5a8b5
SP
118872013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11888
2a983a2e
SP
11889 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11890 code.
11891 (cc32): Likewise.
11892
e69804d1
SP
11893 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11894 (__acr): Likewise.
11895 (__cpy): Likewise.
11896 (norm): Likewise.
11897 (denorm): Likewise.
11898 (__dbl_mp): Likewise.
11899 (add_magnitudes): Likewise.
11900 (sub_magnitudes): Likewise.
11901 (__mul): Likewise.
11902 (__inv): Likewise.
11903
2f22a1e8
SP
11904 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11905 style.
11906
8930ddc7
SP
11907 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11908 style.
11909
dc60cb11
SP
11910 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11911 code.
11912
60f5a8b5
SP
11913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11914 up changes with default code.
11915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11916 Likewise.
11917
b4d1fd33
AM
119182013-02-24 Allan McRae <allan@archlinux.org>
11919
faf6f8bc
AM
11920 * manual/socket.texi (The Internet Namespace): Order menu items
11921 to match that in the file.
11922
b4d1fd33
AM
11923 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11924 node listing of the info page menu.
11925
2366713d
JM
119262013-02-21 Joseph Myers <joseph@codesourcery.com>
11927
11928 [BZ #13550]
11929 * sysdeps/i386/bp-asm.h: Remove file.
11930 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11931 (PARMS): Do not use macros from bp-asm.h.
11932 (S1): Likewise.
11933 (S2): Likewise.
11934 (SIZE): Likewise.
11935 (__mpn_add_n): Do not use BP_SYM
11936 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11937 "bp-asm.h".
11938 (PARMS): Do not use macros from bp-asm.h.
11939 (S1): Likewise.
11940 (SIZE): Likewise.
11941 (__mpn_addmul_1): Do not use BP_SYM
11942 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11943 "bp-asm.h".
11944 (PARMS): Do not use macros from bp-asm.h.
11945 (SIGMSK): Likewise.
11946 (_setjmp): Likewise. Do not use BP_SYM.
11947 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11948 "bp-asm.h".
11949 (PARMS): Do not use macros from bp-asm.h.
11950 (SIGMSK): Likewise.
11951 (setjmp): Likewise. Do not use BP_SYM.
11952 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11953 "bp-asm.h".
11954 (PARMS): Do not use macros from bp-asm.h.
11955 (__frexp): Do not use BP_SYM.
11956 (frexp): Likewise.
11957 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11958 "bp-asm.h".
11959 (PARMS): Do not use macros from bp-asm.h.
11960 (__frexpf): Do not use BP_SYM.
11961 (frexpf): Likewise.
11962 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11963 "bp-asm.h".
11964 (PARMS): Do not use macros from bp-asm.h.
11965 (__frexpl): Do not use BP_SYM.
11966 (frexpl): Likewise.
11967 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11968 "bp-asm.h".
11969 (PARMS): Do not use macros from bp-asm.h.
11970 (__remquo): Do not use BP_SYM.
11971 (remquo): Likewise.
11972 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11973 "bp-asm.h".
11974 (PARMS): Do not use macros from bp-asm.h.
11975 (__remquof): Do not use BP_SYM.
11976 (remquof): Likewise.
11977 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11978 "bp-asm.h".
11979 (PARMS): Do not use macros from bp-asm.h.
11980 (__remquol): Do not use BP_SYM.
11981 (remquol): Likewise.
11982 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11983 "bp-asm.h".
11984 (PARMS): Do not use macros from bp-asm.h.
11985 (DEST): Likewise.
11986 (SRC): Likewise.
11987 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11988 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11989 "bp-asm.h".
11990 (PARMS): Do not use macros from bp-asm.h.
11991 (strlen): Do not use BP_SYM.
11992 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11993 "bp-asm.h".
11994 (PARMS): Do not use macros from bp-asm.h.
11995 (S1): Likewise.
11996 (S2): Likewise.
11997 (SIZE): Likewise.
11998 (__mpn_add_n): Do not use BP_SYM.
11999 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12000 "bp-asm.h".
12001 (PARMS): Do not use macros from bp-asm.h.
12002 (S1): Likewise.
12003 (SIZE): Likewise.
12004 (__mpn_addmul_1): Do not use BP_SYM.
12005 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12006 weak_alias.
12007 (bzero): Likewise.
12008 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12009 "bp-asm.h".
12010 (PARMS): Do not use macros from bp-asm.h.
12011 (S): Likewise.
12012 (SIZE): Likewise.
12013 (__mpn_lshift): Do not use BP_SYM.
12014 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12015 "bp-asm.h".
12016 (PARMS): Do not use macros from bp-asm.h.
12017 (DEST): Likewise.
12018 (SRC): Likewise.
12019 (LEN): Likewise.
12020 (memcpy): Likewise. Do not use BP_SYM.
12021 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12022 libc_hidden_def and weak_alias.
12023 (mempcpy): Do not use BP_SYM in weak_alias.
12024 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12025 "bp-asm.h".
12026 (PARMS): Do not use macros from bp-asm.h.
12027 (DEST): Likewise.
12028 (LEN): Likewise.
12029 [!BZERO_P] (CHR): Likewise.
12030 (memset): Likewise. Do not use BP_SYM.
12031 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12032 "bp-asm.h".
12033 (PARMS): Do not use macros from bp-asm.h.
12034 (S1): Likewise.
12035 (SIZE): Likewise.
12036 (__mpn_mul_1): Do not use BP_SYM.
12037 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12038 "bp-asm.h".
12039 (PARMS): Do not use macros from bp-asm.h.
12040 (S): Likewise.
12041 (SIZE): Likewise.
12042 (__mpn_rshift): Do not use BP_SYM.
12043 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12044 "bp-asm.h".
12045 (PARMS): Do not use macros from bp-asm.h.
12046 (STR): Likewise.
12047 (CHR): Likewise.
12048 (strchr): Likewise. Do not use BP_SYM.
12049 (index): Do not use BP_SYM in weak_alias.
12050 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12051 "bp-asm.h".
12052 (PARMS): Do not use macros from bp-asm.h.
12053 (DEST): Likewise.
12054 (SRC): Likewise.
12055 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12056 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12057 "bp-asm.h".
12058 (PARMS): Do not use macros from bp-asm.h.
12059 (strlen): Do not use BP_SYM.
12060 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12061 "bp-asm.h".
12062 (PARMS): Do not use macros from bp-asm.h.
12063 (S1): Likewise.
12064 (S2): Likewise.
12065 (SIZE): Likewise.
12066 (__mpn_sub_n): Do not use BP_SYM.
12067 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12068 "bp-asm.h".
12069 (PARMS): Do not use macros from bp-asm.h.
12070 (S1): Likewise.
12071 (SIZE): Likewise.
12072 (__mpn_submul_1): Do not use BP_SYM.
12073 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12074 "bp-asm.h".
12075 (PARMS): Do not use macros from bp-asm.h.
12076 (S1): Likewise.
12077 (S2): Likewise.
12078 (SIZE): Likewise.
12079 (__mpn_add_n): Do not use BP_SYM.
12080 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12081 weak_alias.
12082 (bzero): Likewise.
12083 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12084 "bp-asm.h".
12085 (PARMS): Do not use macros from bp-asm.h.
12086 (BLK2): Likewise.
12087 (LEN): Likewise.
12088 (memcmp): Do not use BP_SYM.
12089 (bcmp): Do not use BP_SYM in weak_alias.
12090 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12091 "bp-asm.h".
12092 (PARMS): Do not use macros from bp-asm.h.
12093 (DEST): Likewise.
12094 (SRC): Likewise.
12095 (LEN): Likewise.
12096 (memcpy): Likewise. Do not use BP_SYM.
12097 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12098 "bp-asm.h".
12099 (PARMS): Do not use macros from bp-asm.h.
12100 (DEST): Likewise.
12101 (SRC): Likewise.
12102 (LEN): Likewise.
12103 (memmove): Likewise. Do not use BP_SYM.
12104 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12105 "bp-asm.h".
12106 (PARMS): Do not use macros from bp-asm.h.
12107 (DEST): Likewise.
12108 (SRC): Likewise.
12109 (LEN): Likewise.
12110 (__mempcpy): Likewise. Do not use BP_SYM.
12111 (mempcpy): Do not use BP_SYM in weak_alias.
12112 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12113 "bp-asm.h".
12114 (PARMS): Do not use macros from bp-asm.h.
12115 (DEST): Likewise.
12116 (LEN): Likewise.
12117 [!BZERO_P] (CHR): Likewise.
12118 (memset): Likewise. Do not use BP_SYM.
12119 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12120 "bp-asm.h".
12121 (PARMS): Do not use macros from bp-asm.h.
12122 (STR2): Likewise.
12123 (strcmp): Do not use BP_SYM.
12124 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12125 "bp-asm.h".
12126 (PARMS): Do not use macros from bp-asm.h.
12127 (STR): Likewise.
12128 (DELIM): Likewise.
12129 [USE_AS_STRTOK_R] (SAVE): Likewise.
12130 (FUNCTION): Likewise. Do not use BP_SYM.
12131 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12132 aliases.
12133 (strtok_r): Likewise.
12134 (__GI___strtok_r): Likewise.
12135 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12136 (PARMS): Do not use macros from bp-asm.h.
12137 (S): Likewise.
12138 (SIZE): Likewise.
12139 (__mpn_lshift): Do not use BP_SYM.
12140 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12141 (PARMS): Do not use macros from bp-asm.h.
12142 (STR): Likewise.
12143 (CHR): Likewise.
12144 (__memchr): Do not use BP_SYM.
12145 (memchr): Do not use BP_SYM in weak_alias.
12146 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12147 (PARMS): Do not use macros from bp-asm.h.
12148 (BLK2): Likewise.
12149 (LEN): Likewise.
12150 (memcmp): Do not use BP_SYM.
12151 (bcmp): Do not use BP_SYM in weak_alias.
12152 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12153 (PARMS): Do not use macros from bp-asm.h.
12154 (S1): Likewise.
12155 (SIZE): Likewise.
12156 (__mpn_mul_1): Do not use BP_SYM.
12157 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12158 "bp-asm.h".
12159 (PARMS): Do not use macros from bp-asm.h.
12160 (STR): Likewise.
12161 (CHR): Likewise.
12162 (__rawmemchr): Do not use BP_SYM.
12163 (rawmemchr): Do not use BP_SYM in weak_alias.
12164 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12165 (PARMS): Do not use macros from bp-asm.h.
12166 (S): Likewise.
12167 (SIZE): Likewise.
12168 (__mpn_rshift): Do not use BP_SYM.
12169 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12170 (PARMS): Do not use macros from bp-asm.h.
12171 (SIGMSK): Likewise.
12172 (__sigsetjmp): Likewise. Do not use BP_SYM.
12173 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12174 (_start): Do not use BP_SYM.
12175 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12176 (PARMS): Do not use macros from bp-asm.h.
12177 (DEST): Likewise.
12178 (SRC): Likewise.
12179 (__stpcpy): Likewise. Do not use BP_SYM.
12180 (stpcpy): Do not use BP_SYM in weak_alias.
12181 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12182 "bp-asm.h".
12183 (PARMS): Do not use macros from bp-asm.h.
12184 (DEST): Likewise.
12185 (SRC): Likewise.
12186 (LEN): Likewise.
12187 (__stpncpy): Likewise. Do not use BP_SYM.
12188 (stpncpy): Do not use BP_SYM in weak_alias.
12189 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12190 (PARMS): Do not use macros from bp-asm.h.
12191 (STR): Likewise.
12192 (CHR): Likewise.
12193 (strchr): Likewise. Do not use BP_SYM.
12194 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12195 "bp-asm.h".
12196 (PARMS): Do not use macros from bp-asm.h.
12197 (STR): Likewise.
12198 (CHR): Likewise.
12199 (__strchrnul): Likewise. Do not use BP_SYM.
12200 (strchrnul): Do not use BP_SYM in weak_alias.
12201 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12202 "bp-asm.h".
12203 (PARMS): Do not use macros from bp-asm.h.
12204 (STOP): Likewise.
12205 (strcspn): Do not use BP_SYM.
12206 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12207 "bp-asm.h".
12208 (PARMS): Do not use macros from bp-asm.h.
12209 (STR): Likewise.
12210 (STOP): Likewise.
12211 (strpbrk): Likewise. Do not use BP_SYM.
12212 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12213 "bp-asm.h".
12214 (PARMS): Do not use macros from bp-asm.h.
12215 (STR): Likewise.
12216 (CHR): Likewise.
12217 (strrchr): Likewise. Do not use BP_SYM.
12218 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12219 (PARMS): Do not use macros from bp-asm.h.
12220 (SKIP): Likewise.
12221 (strspn): Do not use BP_SYM.
12222 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12223 (PARMS): Do not use macros from bp-asm.h.
12224 (STR): Likewise.
12225 (DELIM): Likewise.
12226 (SAVE): Likewise.
12227 (FUNCTION): Likewise. Do not use BP_SYM.
12228 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12229 aliases.
12230 (strtok_r): Likewise.
12231 (__GI___strtok_r): Likewise.
12232 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12233 (PARMS): Do not use macros from bp-asm.h.
12234 (S1): Likewise.
12235 (S2): Likewise.
12236 (SIZE): Likewise.
12237 (__mpn_sub_n): Do not use BP_SYM.
12238 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12239 "bp-asm.h".
12240 (PARMS): Do not use macros from bp-asm.h.
12241 (S1): Likewise.
12242 (SIZE): Likewise.
12243 (__mpn_submul_1): Do not use BP_SYM.
12244 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12245 <bp-sym.h>.
12246 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12247 and <bp-asm.h>.
12248 (PARMS): Do not use macros from bp-asm.h.
12249 (FLAGS): Likewise.
12250 (PTID): Likewise.
12251 (TLS): Likewise.
12252 (CTID): Likewise.
12253 (__clone): Do not use BP_SYM.
12254 (clone): Do not use BP_SYM in weak_alias.
12255 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12256 and <bp-asm.h>.
12257 (PARMS): Do not use macros from bp-asm.h.
12258 (LEN): Likewise.
12259 (__mmap64): Do not use BP_SYM.
12260 (mmap64): Do not use BP_SYM in weak_alias.
12261 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12262 <bp-sym.h> and <bp-asm.h>.
12263 (PARMS): Do not use macros from bp-asm.h.
12264 (__posix_fadvise64_l64): Do not use BP_SYM.
12265 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12266 (PARMS): Do not use macros from bp-asm.h.
12267 (NSOPS): Likewise.
12268 (semtimedop): Do not use BP_SYM.
12269 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12270 and <bp-asm.h>.
12271
582a3cff
AM
122722013-02-21 Allan McRae <allan@archlinux.org>
12273
12274 * manual/message.texi (Charset conversion in gettext):
12275 Move @end statement to beginning of line.
12276
bab8a695
SP
122772013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
80945231
SP
12279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12280 static.
12281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12282 Likewise.
12283
bab8a695
SP
12284 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12285 (denorm): Likewise.
12286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12288
e21d7aa7
AK
122892013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12290
12291 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12292 tail-call to the resolved function if pltexit isn't needed.
12293
4c7a4263
SP
122942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12295
12296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12297 or Y being zero as being unlikely.
12298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12299 Likewise.
12300
41f49342
CD
123012013-02-20 Carlos O'Donell <carlos@redhat.com>
12302
12303 * manual/nss.texi (System Databases and Name Service Switch):
12304 Remove frobnicate @pxref.
12305
50022a93
TS
123062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12307
12308 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12309 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12310
08cbd996
PM
123112013-02-20 Petr Machata <pmachata@redhat.com>
12312
12313 * elf/elf.h (R_ARM_TARGET1): New macro.
12314 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12315 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12316 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12317 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12318 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12319 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12320 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12321 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12322 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12323 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12324 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12325 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12326 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12327 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12328 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12329 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12330 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12331 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12332 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12333 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12334 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12335 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12336 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12337 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12338 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12339 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12340 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12341 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12342 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12343 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12344 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12345 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12346 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12347 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12348 (R_ARM_THM_GOT_BREL12): Likewise.
12349 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12350 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12351 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12352 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12353 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12354 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12355 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12356 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12357 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12358
c7b275d6
TS
123592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12360
12361 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12362 __attribute_used__ to __attribute__ ((unused)).
12363
20cd7fb3
SP
123642013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12365
12366 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12367 powerpc mpa.c.
12368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12369 comment formatting.
12370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12371
92945b52
JM
123722013-02-19 Joseph Myers <joseph@codesourcery.com>
12373
12374 [BZ #13550]
12375 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12376 Remove macro.
12377 (ENTER): Remove both macro definitions.
12378 (LEAVE): Likewise.
12379 (CHECK_BOUNDS_LOW): Likewise.
12380 (CHECK_BOUNDS_HIGH): Likewise.
12381 (CHECK_BOUNDS_BOTH): Likewise.
12382 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12383 (RETURN_BOUNDED_POINTER): Likewise.
12384 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12385 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12386 (POP_ERRNO_LOCATION_RETURN): Likewise.
12387 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12388 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12389 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12390 macros.
12391 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12392 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12393 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12394 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12395 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12396 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12397 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12398 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12399 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12400 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12401 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12402 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12403 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12404 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12405 removed macros.
12406 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12407 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12408 macros.
12409 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12410 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12411 * sysdeps/i386/i586/memset.S (memset): Likewise.
12412 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12413 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12414 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12415 macros.
12416 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12417 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12418 Change uses of L(2) to L(out).
12419 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12420 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12421 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12422 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12423 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12424 removed macros.
12425 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12426 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12427 macros.
12428 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12429 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12430 (RETURN): Do not use macro LEAVE.
12431 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12432 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12433 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12434 * sysdeps/i386/i686/memset.S (memset): Likewise.
12435 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12436 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12437 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12438 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12439 Likewise.
12440 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12441 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12442 L(1_2) and L(1_3) into L(1).
12443 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12444 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12445 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12446 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12447 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12448 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12449 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12450 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12451 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12452 macros.
12453 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12454 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12455 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12456 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12457 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12458 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12459 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12460 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12461 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12462 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12463 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12464 * sysdeps/i386/strspn.S (strspn): Likewise.
12465 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12466 conditional code.
12467 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12468 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12469 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12470 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12471 L(1_3) into L(1_1).
12472 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12473 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12474 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12475 macros.
12476 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12477
2389741a
JJ
124782013-02-19 Jakub Jelinek <jakub@redhat.com>
12479
12480 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12481 macro.
12482
2016b3cd
SP
124832013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12484
e4f22324
SP
12485 * math/atest-exp.c (exp_mpn): Remove ROUND.
12486 * math/atest-exp2.c (exp_mpn): Likewise.
12487 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12488
2016b3cd
SP
12489 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12490 * stdlib/tst-tls-atexit-lib.c: Likewise.
12491 * stdlib/tst-tls-atexit.c: Likewise.
12492
4be9b544
MF
124932013-02-18 Mike Frysinger <vapier@gentoo.org>
12494
12495 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12496 and __attribute_alloc_size__.
12497
2f62b9ee
MF
124982013-02-18 Mike Frysinger <vapier@gentoo.org>
12499
12500 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12501 __attribute_alloc_size__.
12502 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12503 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12504
6ff444c4
MF
125052013-02-18 Mike Frysinger <vapier@gentoo.org>
12506
12507 * include/programs/xmalloc.h: New file.
12508 * catgets/gencat.c: Include it.
12509 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12510 * elf/pldd.c: Likewise.
12511 * iconv/iconv_charmap.c: Likewise.
12512 * iconv/iconvconfig.c: Likewise.
12513 * iconv/strtab.c: Likewise.
12514 * locale/programs/locale.c: Likewise.
12515 * locale/programs/localedef.h: Likewise.
12516 * locale/programs/simple-hash.c: Likewise.
12517 * nscd/nscd.h: Likewise.
12518 * nss/makedb.c: Likewise.
12519 * sysdeps/generic/ldconfig.h: Likewise.
12520
be179c8a
SP
125212013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12522
ba384f6e
SP
12523 * Versions.def: Add GLIBC_2.18.
12524 * include/link.h (struct link_map): New member l_tls_dtor_count.
12525 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12526 (__call_tls_dtors): Likewise.
12527 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12528 __cxa_thread_atexit_impl.
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12530 Likewise.
12531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12532 Likewise.
12533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12534 Likewise.
12535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12536 Likewise.
12537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12539 Likewise.
12540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12541 Likewise.
12542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12544 Likewise.
12545 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12546 (tests): Add test case tst-tls-atexit.
12547 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12548 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12549 (GLIBC_PRIVATE): Add __call_tls_dtors.
12550 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12551 for libstdc++.
12552 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12553 * stdlib/tst-tls-atexit.c: New test case.
12554 * stdlib/tst-tls-atexit-lib.c: New test case.
12555
ffaa74cf 12556 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12557
be179c8a
SP
12558 * elf/Versions (ld): Add _dl_find_dso_for_object.
12559 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12560 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12561 (dl_open_worker): Use _dl_find_dso_for_object.
12562 * elf/dl-sym.c (do_sym): Likewise.
12563 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12564
f78b5caa
AK
125652013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12566
12567 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12568 Syntactic changes only.
12569 (_dl_runtime_profile): Do a tail-call to the resolved function.
12570
29691210
JM
125712013-02-17 Joseph Myers <joseph@codesourcery.com>
12572
12573 [BZ #13550]
12574 * sysdeps/x86_64/bp-asm.h: Remove file.
12575 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12576 <bp-sym.h> and <bp-asm.h>.
12577 (__clone): Do not use BP_SYM.
12578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12579 <bp-sym.h> and <bp-asm.h>.
12580 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12581 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12582 "bp-asm.h".
12583 (_setjmp): Do not use BP_SYM.
12584 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12585 "bp-asm.h".
12586 (setjmp): Do not use BP_SYM.
12587 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12588 libc_hidden_def.
12589 (mempcpy): Do not use BP_SYM in weak_alias.
12590 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12591 "bp-asm.h".
12592 (strchr): Do not use BP_SYM.
12593 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12594 "bp-asm.h".
12595 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12596 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12597 (_start): Do not use BP_SYM.
12598 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12599 "bp-asm.h".
12600 (strcat): Do not use BP_SYM.
12601 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12602 "bp-asm.h".
12603 (STRCMP): Do not use BP_SYM.
12604 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12605 "bp-asm.h".
12606 (STRCPY): Do not use BP_SYM.
12607 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12608 "bp-asm.h".
12609 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12610 "bp-asm.h".
12611 (FUNCTION): Do not use BP_SYM.
12612 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12613 weak_alias.
12614 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12615
f238fd19
AJ
126162013-02-17 Andreas Jaeger <aj@suse.de>
12617
12618 * time/Versions: Sort entries.
12619 * string/Versions: Likewise.
12620 * resolv/Versions: Likewise.
12621 * posix/Versions: Likewise.
12622 * iconv/Versions: Likewise.
12623 * elf/Versions: Likewise.
12624 * wcsmbs/Versions: Likewise.
12625
bd07f23c 126262013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12627
22af19f9
SP
12628 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12629 loop termination condition.
12630
4709fe76
SP
12631 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12632 variable to calculate EZ.
12633 (__sqr): Likewise.
2d0e0f29
SP
12634
12635 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12636 the lower precision input.
12637
daaa7713
JM
126382013-02-15 Joseph Myers <joseph@codesourcery.com>
12639
12640 [BZ #13550]
12641 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12642 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12643 (run-via-rtld-prefix): Do not handle %-bp tests.
12644 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12645 (all-object-suffixes): Remove .ob.
12646 (bppfx): Remove variable.
12647 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12648 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12649 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12650 [$(build-bounded) = yes] (libtype.ob): Likewise.
12651 * Makerules (elide-routines.ob): Remove variable.
12652 (do-tests-clean): Do not handle *-bp.out.
12653 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12654 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12655 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12656 (tests): Do not include $(tests-bp.out).
12657 (xtests): Do not include $(xtests-bp.out).
12658 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12659 [$(build-bounded) = yes] ($(addprefix
12660 $(objpfx),$(binaries-bounded))): Remove rule.
12661 ($(objpfx)%-bp.out): Remove rule.
12662 * config.make.in (build-bounded): Remove variable.
12663 * crypt/Makefile [$(build-bounded) = yes]
12664 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12665 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12666 append to variable.
12667 [$(build-bounded) = yes] (install-lib): Likewise.
12668 [$(build-bounded) = yes] (generated): Likewise.
12669 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12670 Remove rule.
12671 * intl/Makefile [$(build-bounded) = yes]
12672 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12673 * math/Makefile [$(build-bounded) = yes]
12674 ($(tests:%=$(objpfx)%-bp): Likewise.
12675 * misc/Makefile [$(build-bounded) = yes]
12676 ($(objpfx)tst-tsearch-bp): Likewise.
12677 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12678 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12679 Remove dependency.
12680 * string/Makefile (o-objects.ob): Remove variable.
12681 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12682 (CFLAGS-.ob): Remove variable.
12683 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12684 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12685 both definitions of variable.
12686 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12687 (ASFLAGS-.ob): Remove variable.
12688
e97ed6dd
JM
126892013-02-14 Joseph Myers <joseph@codesourcery.com>
12690
2bdd4ca6
JM
12691 [BZ #13550]
12692 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12693 Remove __BOUNDED_POINTERS__ from condition.
12694 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12695 * string/bits/string2.h [!__NO_STRING_INLINES &&
12696 !__BOUNDED_POINTERS__]: Likewise.
12697 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12698 Likewise.
12699 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12700 Remove conditional code.
12701 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12702 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12703 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12704 condition.
12705
e97ed6dd
JM
12706 [BZ #13550]
12707 * csu/libc-start.c: Do not include <bp-sym.h>.
12708 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12709 * elf/dl-open.c: Do not include <bp-sym.h>.
12710 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12711 * math/fegetenv.c: Do not include <bp-sym.h>.
12712 (fegetenv): Do not use BP_SYM in versioned symbols.
12713 * nptl/sysdeps/pthread/bits/libc-lockP.h
12714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12715 <bp-sym.h>.
12716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12717 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12719 (__pthread_mutex_destroy): Likewise.
12720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12721 (__pthread_mutex_lock): Likewise.
12722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12723 (__pthread_mutex_trylock): Likewise.
12724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12725 (__pthread_mutex_unlock): Likewise.
12726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12727 (__pthread_mutexattr_init): Likewise.
12728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12729 (__pthread_mutexattr_destroy): Likewise.
12730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12731 (__pthread_mutexattr_settype): Likewise.
12732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12733 (__pthread_rwlock_init): Likewise.
12734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12735 (__pthread_rwlock_destroy): Likewise.
12736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12737 (__pthread_rwlock_rdlock): Likewise.
12738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12739 (__pthread_rwlock_tryrdlock): Likewise.
12740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12741 (__pthread_rwlock_wrlock): Likewise.
12742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12743 (__pthread_rwlock_trywrlock): Likewise.
12744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12745 (__pthread_rwlock_unlock): Likewise.
12746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12747 (__pthread_key_create): Likewise.
12748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12749 (__pthread_setspecific): Likewise.
12750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12751 (__pthread_getspecific): Likewise.
12752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12753 Likewise.
12754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12755 (_pthread_cleanup_push_defer): Likewise.
12756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12757 (_pthread_cleanup_pop_restore): Likewise.
12758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12759 (pthread_setcancelstate): Likewise.
12760 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12761 <bp-sym.h>.
12762 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12763 (memchr): Do not use BP_SYM in weak_alias.
12764 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12765 (fegetenv): Do not use BP_SYM in versioned symbols.
12766 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12767 (fesetenv): Do not use BP_SYM in versioned symbols.
12768 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12769 (feupdateenv): Do not use BP_SYM in versioned symbols.
12770 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12771 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12772 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12773 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12774 (open64): Do not use BP_SYM in weak_alias.
12775 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12776 (fegetenv): Do not use BP_SYM in versioned symbols.
12777 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12778 (fesetenv): Do not use BP_SYM in versioned symbols.
12779 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12780 (feupdateenv): Do not use BP_SYM in versioned symbols.
12781 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12782 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12783 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12784 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12785 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12786 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12787 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12788 <bp-sym.h>.
12789 (__libc_start_main): Do not use BP_SYM.
12790
d6752ccd
SP
127912013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12792
cb57ce60
SP
12793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12794 redundant return line.
12795 (norm): Likewise.
12796 (denorm): Likewise.
12797 (dbl_mp): Likewise.
12798 (sub_magnitudes): Likewise.
12799 (__add): Likewise.
12800 (__sub): Likewise.
12801 (__mul): Likewise.
12802 (__inv): Likewise.
12803 (__dvd): Likewise.
12804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12805 (norm): Likewise.
12806 (denorm): Likewise.
12807 (dbl_mp): Likewise.
12808 (sub_magnitudes): Likewise.
12809 (__add): Likewise.
12810 (__sub): Likewise.
12811 (__mul): Likewise.
12812 (__inv): Likewise.
12813 (__dvd): Likewise.
12814
f414520d
SP
12815 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12816 instead of __mul.
12817 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12818 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12819 (cc32): Likewise.
12820
d6752ccd
SP
12821 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12822 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12824 of __mul for squares.
12825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12826 function
12827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12828 Likewise.
12829 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12830 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12831
70d9946a
JM
128322013-02-13 Joseph Myers <joseph@codesourcery.com>
12833
12834 [BZ #13550]
12835 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12836 code.
12837 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12838 prototype or function definition. Rename ubp_* variables and
12839 parameters. Remove argv definitions conditional on
12840 [__BOUNDED_POINTERS__].
12841 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12842 * elf/dl-runtime.c (_dl_fixup): Likewise.
12843 * include/set-hooks.h (RUN_HOOK): Likewise.
12844 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12845 definition.
12846 * string/strcpy.c (strcpy): Do not use __unbounded.
12847 * sysdeps/generic/frame.h (struct layout): Likewise.
12848 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12849 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12850 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12851 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12852 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12853 (__backtrace): Likewise.
12854 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12855 use __ptrvalue.
12856 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12857 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12858 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12859 Likewise.
12860 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12861 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12862 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12863 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12864 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12865 Do not use __unbounded.
12866 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12867 Rename __unboundedrlimits parameter to rlimits in prototype.
12868 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12869 Do not use __unbounded.
12870 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12871 not use __ptrvalue.
12872 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12873 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12874 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12875 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12876 __ptrvalue or __unbounded.
12877 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12878 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12879 use __unbounded.
12880 (__new_msgctl): Do not use __ptrvalue.
12881 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12882 __unbounded.
12883 (__libc_msgrcv): Do not use __ptrvalue.
12884 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12885 startup_info): Do not use __unbounded.
12886 (__libc_start_main): Likewise. Rename ubp_* variables and
12887 parameters. Remove argv definitions conditional on
12888 [__BOUNDED_POINTERS__].
12889 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12890 __ptrvalue.
12891 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12892 use __unbounded.
12893 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12894 or __ptrvalue.
12895 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12896 use __unbounded.
12897 (__new_shmctl): Do not use __ptrvalue.
12898 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12899 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12900 Likewise.
12901 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12902 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12903 (__libc_sigaction): Likewise.
12904 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12905 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12906 Likewise.
12907 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12908
cc7834d6
OB
129092013-02-13 Ondřej Bílka <neleai@seznam.cz>
12910
ffb1ec7b 12911 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12912
12913 * string/mempcpy.c: Implement by calling memcpy.
12914
bdf02814
SP
129152013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12916
c2af38aa
SP
12917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12918
4e92d59e
SP
12919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12920 evaluation.
12921
909279a5
SP
12922 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12923 values in the mantissa.
12924
bdf02814
SP
12925 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12926 minimize writes to Z.
12927 (sub_magnitudes): Simplify code a bit.
12928
cd525923
RM
129292013-02-12 Roland McGrath <roland@hack.frob.com>
12930
12931 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12932 from the message. The linker prefixes all warnings with that already.
12933
7e2f0d2d
AS
129342013-02-12 Andreas Schwab <schwab@suse.de>
12935
a445af0b
AS
12936 [BZ #15078]
12937 * posix/regexec.c (extend_buffers): Add parameter min_len.
12938 (check_matching): Pass minimum needed length.
12939 (clean_state_log_if_needed): Likewise.
12940 (get_subexp): Likewise.
12941 * posix/Makefile (tests): Add bug-regex34.
12942 (bug-regex34-ENV): Define.
12943 * posix/bug-regex34.c: New file.
12944
7e2f0d2d
AS
12945 [BZ #11561]
12946 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12947 elements compare against the byte sequence of it, not its name.
12948 * posix/Makefile (tests): Add bug-regex35.
12949 (bug-regex35-ENV): Define.
12950 * posix/bug-regex35.c: New file.
12951
a175b684
TV
129522013-02-11 Tom de Vries <tom@codesourcery.com>
12953
12954 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12955 comment.
12956 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12957 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12958 (CHECK_EOL): Add undef.
12959
310998fe 129602013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12961
12962 * bits/stdlib-bsearch.h: New file.
12963 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12964 * stdlib/stdlib.h: Likewise.
41eda41d 12965
8ded91fb
RM
129662013-02-11 Roland McGrath <roland@hack.frob.com>
12967
12968 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12969 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12970 declaration.
12971 * manual/search.texi (Array Search Function): Add missing const in
12972 lfind prototype.
12973 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12974 declaration to use rlim_t.
12975 (Basic Scheduling Functions): Remove erroneous const from
12976 sched_getparam prototype. Remove erroneous * from
12977 sched_get_priority_max and sched_get_priority_min prototypes.
12978 (Resource Usage): Fix summary @comment on vtimes to refer to
12979 sys/vtimes.h rather than vtimes.h.
12980 Add missing *s in vtimes prototype.
12981 (Limits on Resources): Fix ulimit prototype to return long int.
12982 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12983 prototypes to use long int rather than double.
12984 (BSD Random): Fix initstate and setstate to use char *, not void *.
12985 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12986 prototype to make second argument 'struct aiocb64 *const[]'.
12987 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12988 (Status of AIO Operations): Remove erroneous const in aio_return and
12989 aio_return64 prototypes.
12990 (Synchronizing I/O): Fix sync prototype to return void.
12991 * manual/startup.texi (Suboptions): Remove an erroneous const in
12992 getsubopt prototype.
12993 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12994 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12995 use size_t rather than int.
12996 (Scanning All Users): Likewise for getpwent_r.
12997 (Setting Groups): Add missing const to setgroups prototype.
12998 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12999 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13000 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13001 'const void *' rather than 'const char *'.
13002 (Host Address Functions): Likewise for inet_ntop.
13003 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13004 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13005 ssize_t for return value.
13006 (Sending Data): Likewise for send, sendto, sendmsg.
13007 (Socket Option Functions): Add a missing const in setsockopt prototype.
13008 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13009 use wchar_t for the argument.
13010 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13011 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13012 take no arguments.
13013 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13014 double/float/long double for second argument.
13015 Fix return types of significand, significandf, significandl.
13016 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13017 argument in fchmod prototype.
13018 (File Owner): Use uid_t and gid_t in fchown prototype.
13019 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13020 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13021 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13022 use 'const struct dirent **' as argument types to CMP function pointer
13023 argument.
13024 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13025 (File Times): Fix summary magic @comment for struct utimbuf and utime
13026 to refer to utime.h, not time.h.
13027 * manual/string.texi (Argz Functions): Add missing const in
13028 argz_extract and argz_next prototypes.
13029 (Finding Tokens in a String): Likewise for basename.
13030 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13031 (Copying and Concatenation): Fix typo in wmemmove prototype.
13032 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13033 (Signal Stack): Remove erroneous const in sigstack prototype.
13034 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13035 prototype.
13036 (Simple Calendar Time): Likewise for stime.
13037 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13038 prototype.
13039 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13040 say sys/sysctl.h instead.
13041 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13042 and vsyslog prototypes.
13043
fe77fe6d
TV
130442013-02-11 Tom de Vries <tom@codesourcery.com>
13045
13046 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13047 Remove.
13048
3a09b620
RM
130492013-02-11 Roland McGrath <roland@hack.frob.com>
13050
13051 * misc/sys/mman.h: Fix typo in mremap comment.
13052
550a0b89
RM
130532013-02-08 Roland McGrath <roland@hack.frob.com>
13054
13055 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13056 the '\0' terminator.
13057
a2da1673
JM
130582013-02-08 Joseph Myers <joseph@codesourcery.com>
13059
13060 [BZ #13550]
13061 * debug/segfault.c: Don't include <bp-checks.h>.
13062 * sysdeps/generic/bp-checks.h: Remove file.
13063 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13064 (__GETDENTS): Don't use CHECK_N.
13065 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13066 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13067 (__getgroups): Don't use CHECK_N.
13068 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13069 (setgroups): Don't use CHECK_N.
13070 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13071 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13072 (__libc_msgrcv): Don't use CHECK_N.
13073 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13074 (__libc_msgsnd): Don't use CHECK_N.
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13076 <bp-checks.h>.
13077 (__libc_pread): Don't use CHECK_N.
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13079 include <bp-checks.h>.
13080 (__libc_pread64): Don't use CHECK_N.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13082 include <bp-checks.h>.
13083 (__libc_pwrite): Don't use CHECK_N.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13085 include <bp-checks.h>.
13086 (__libc_pwrite64): Don't use CHECK_N.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13088 <bp-checks.h>.
13089 (__libc_pread): Don't use CHECK_N.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13091 include <bp-checks.h>.
13092 (__libc_pread64): Don't use CHECK_N.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13094 include <bp-checks.h>.
13095 (__libc_pwrite): Don't use CHECK_N.
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13097 include <bp-checks.h>.
13098 (__libc_pwrite64): Don't use CHECK_N.
13099 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13100 (do_pread): Don't use CHECK_N.
13101 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13102 (do_pread64): Don't use CHECK_N.
13103 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13104 (do_pwrite): Don't use CHECK_N.
13105 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13106 (do_pwrite64): Don't use CHECK_N.
13107 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13108 (__libc_readv): Don't use CHECK_N.
13109 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13110 (semop): Don't use CHECK_N.
13111 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13112 <bp-checks.h>.
13113 (semtimedop): Don't use CHECK_N.
13114 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13115 (__libc_pread): Don't use CHECK_N.
13116 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13117 <bp-checks.h>.
13118 (__libc_pread64): Don't use CHECK_N.
13119 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13120 <bp-checks.h>.
13121 (__libc_pwrite): Don't use CHECK_N.
13122 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13123 <bp-checks.h>.
13124 (__libc_pwrite64): Don't use CHECK_N.
13125 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13126 <bp-checks.h>.
13127 (__libc_msgrcv): Don't use CHECK_N.
13128 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13129 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13130 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13131 (__libc_writev): Don't use CHECK_N.
13132
b84660a8
RM
131332013-02-08 Roland McGrath <roland@hack.frob.com>
13134
7f3e75f8
RM
13135 * string/strcpy.c: Removed unused variable.
13136
b84660a8
RM
13137 * Makeconfig (+sysdep-includes): Define with := rather than =.
13138 Use an existing include/ subdir of each sysdeps dir before it.
13139
471514d3
CD
131402013-02-08 Carlos O'Donell <carlos@redhat.com>
13141
13142 * nscd/connection.c (register_traced_file): Comment function.
13143 [HAVE_INOTIFY] (union __inev): Define.
13144 [HAVE_INOTIFY] (inotify_check_files): New function.
13145 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13146 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13147 clear_db_cache.
13148 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13149
b2d3c3be
CD
131502013-02-08 Carlos O'Donell <carlos@redhat.com>
13151
13152 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13153 loaded if not already and that a failure is permanent.
13154
b39949d2
CD
131552013-02-08 Carlos O'Donell <carlos@redhat.com>
13156
ddacd1db 13157 [BZ #15006]
b39949d2
CD
13158 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13159 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13160
b2c9eff4
JM
131612013-02-08 Joseph Myers <joseph@codesourcery.com>
13162
f3aae3f3
JM
13163 [BZ #13550]
13164 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13165 (CHECK_1_NULL_OK): Likewise.
13166 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13167 (__fxstat): Do not use CHECK_1.
13168 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13169 <bp-checks.h>.
13170 (___fxstat64): Do not use CHECK_1.
13171 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13172 <bp-checks.h>.
13173 (__fxstatat): Do not use CHECK_1.
13174 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13175 <bp-checks.h>.
13176 (__fxstatat64): Do not use CHECK_1.
13177 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13178 <bp-checks.h>.
13179 (__fxstat): Do not use CHECK_1.
13180 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13181 <bp-checks.h>.
13182 (__fxstatat): Do not use CHECK_1.
13183 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13184 <bp-checks.h>.
13185 (__getresgid): Do not use CHECK_1.
13186 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13187 <bp-checks.h>.
13188 (__getresuid): Do not use CHECK_1.
13189 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13190 <bp-checks.h>.
13191 (__lxstat): Do not use CHECK_1.
13192 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13193 <bp-checks.h>.
13194 (__old_msgctl): Do not use CHECK_1.
13195 (__new_msgctl): Likewise.
13196 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13197 <bp-checks.h>.
13198 (__new_setrlimit): Do not use CHECK_1.
13199 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13200 <bp-checks.h>.
13201 (__old_shmctl): Do not use CHECK_1.
13202 (__new_shmctl): Likewise.
13203 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13204 <bp-checks.h>.
13205 (__xstat): Do not use CHECK_1.
13206 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13207 (__lxstat): Do not use CHECK_1.
13208 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13209 <bp-checks.h>.
13210 (___lxstat64): Do not use CHECK_1.
13211 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13212 (__old_msgctl): Do not use CHECK_1.
13213 (__new_msgctl): Likewise.
13214 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13215 <bp-checks.h>.
13216 (__gettimeofday): Do not use CHECK_1.
13217 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13218 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13219 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13220 <bp-checks.h>.
13221 (__gettimeofday): Do not use CHECK_1.
13222 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13223 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13224 (__new_shmctl): Do not use CHECK_1.
13225 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13226 <bp-checks.h>.
13227 (do_sigtimedwait): Do not use CHECK_1.
13228 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13229 <bp-checks.h>.
13230 (do_sigwaitinfo): Do not use CHECK_1.
13231 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13232 <bp-checks.h>.
13233 (msgctl): Do not use CHECK_1.
13234 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13235 <bp-checks.h>.
13236 (shmctl): Do not use CHECK_1.
13237 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13238 (ustat): Do not use CHECK_1.
13239 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13240 <bp-checks.h>.
13241 (__fxstat): Do not use CHECK_1.
13242 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13243 <bp-checks.h>.
13244 (__fxstatat): Do not use CHECK_1.
13245 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13246 <bp-checks.h>.
13247 (__lxstat): Do not use CHECK_1.
13248 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13249 <bp-checks.h>.
13250 (__xstat): Do not use CHECK_1.
13251 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13252 (__xstat): Do not use CHECK_1.
13253 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13254 (___xstat64): Do not use CHECK_1.
13255
b2c9eff4
JM
13256 [BZ #13550]
13257 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13258 definitions.
13259 (CHECK_BOUNDS_HIGH): Likewise.
13260 * string/strcpy.c: Do not include <bp-checks.h>.
13261 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13262
f1d70dad
RM
132632013-02-07 Roland McGrath <roland@hack.frob.com>
13264
13265 * nscd/nscd-client.h (__nscd_drop_map_ref):
13266 Add __attribute__ ((unused)).
13267 * nis/nss-nisplus.h (niserr2nss): Likewise.
13268
13269 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13270 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13271
13272 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13273 Remove inline keyword.
13274 * include/rounding-mode.h (round_away): Likewise.
13275 * libio/wfileops.c (adjust_wide_data): Likewise.
13276 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13277 (__m128i_strloadu_tolower): Likewise.
13278 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13279 (__m128i_strloadu_tolower): Likewise.
13280 * time/mktime.c (ydhms_diff): Likewise.
13281 * locale/elem-hash.h (elem_hash): Likewise.
13282 * locale/setlocale.c (setdata): Likewise.
13283 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13284 (re_string_wchar_at): Likewise.
13285 (bitset_not, bitset_merge, bitset_mask): Likewise.
13286 [!(__GNUC__ > 3)] (inline): Remove macro.
13287 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13288 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13289 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13290 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13291 * string/memcmp.c (memcmp_bytes): Likewise.
13292 * locale/programs/locarchive.c (compute_hashval): Likewise.
13293 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13294 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13295 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13296 * nss/getent.c (print_rpc, print_protocols): Likewise.
13297 (print_passwd, print_group, print_aliases): Likewise.
13298 * nis/nss-nisplus.h (niserr2nss): Likewise.
13299 * nscd/connections.c (restart_p): Likewise.
13300 Change return type to bool.
13301
eab55bfb
RM
133022013-02-05 Roland McGrath <roland@hack.frob.com>
13303
7bd642f5
RM
13304 * Makeconfig (all-Depend-files): Add existing
13305 $(sorted-subdirs:=/Depend) files.
13306 (all-subdirs): Remove nss.
13307 * sysdeps/unix/inet/Subdirs: Add it here instead.
13308 * hesiod/Depend: New file.
13309
573c29b2
RM
13310 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13311 instead of calling alloca.
13312
b2e25af0
RM
13313 * io/lseek.c (__lseek): Rename to __libc_lseek.
13314 Define __lseek as an alias.
13315
eab55bfb
RM
13316 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13317
9a0d1941
CD
133182013-02-04 Carlos O'Donell <carlos@redhat.com>
13319
13320 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13321 else clause and remove check for non-standard endianness.
13322
b83bbec4
DM
133232013-02-04 David S. Miller <davem@davemloft.net>
13324
13325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13326
6277fdab
JM
133272013-02-04 Joseph Myers <joseph@codesourcery.com>
13328
13329 [BZ #13550]
13330 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13331 (__ubp_memchr): Remove prototype.
13332 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13333 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13334 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13335 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13336 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13337 Remove alias.
13338 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13339 (__ubp_memchr): Likewise.
13340 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13341 (__ubp_memchr): Likewise.
13342 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13343 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13344 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13345 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13346 CHECK_STRING.
13347 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13348 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13349 (__getcwd): Do not use CHECK_STRING.
13350 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13351 <bp-checks.h>.
13352 (__real_chown): Do not use CHECK_STRING.
13353 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13354 <bp-checks.h>.
13355 (fchownat): Do not use CHECK_STRING.
13356 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13357 CHECK_STRING.
13358 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13359 <bp-checks.h>.
13360 (__lchown): Do not use CHECK_STRING.
13361 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13362 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13363 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13364 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13366 include <bp-checks.h>.
13367 (truncate64): Do not use CHECK_STRING.
13368 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13369 <bp-checks.h>.
13370 (__real_chown): Do not use CHECK_STRING.
13371 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13372 <bp-checks.h>.
13373 (__lchown): Do not use CHECK_STRING.
13374 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13375 <bp-checks.h>.
13376 (__chown): Do not use CHECK_STRING.
13377 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13378 <bp-checks.h>.
13379 (truncate64): Do not use CHECK_STRING.
13380 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13381 Likewise.
13382 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13383 (__xmknod): Do not use CHECK_STRING.
13384 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13385 <bp-checks.h>.
13386 (__xmknodat): Do not use CHECK_STRING.
13387 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13388 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13389
903ae060
AS
133902013-02-04 Andreas Schwab <schwab@suse.de>
13391
13392 [BZ #14142]
13393 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13394 * include/netdb.h: Likewise for h_errno.
13395 * elf/tst-stackguard1.c: Include <tls.h>.
13396
542f9466
JK
133972013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13398
13399 * elf/link.h (struct link_map): Extend the l_addr comment.
13400 * include/link.h (struct link_map): Likewise.
13401
e782a927
JM
134022013-02-01 Joseph Myers <joseph@codesourcery.com>
13403
13404 [BZ #13550]
13405 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13406 (BOUNDED_1): Remove macro.
13407 * debug/backtrace.c: Don't include <bp-checks.h>.
13408 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13409 (__backtrace): Likewise.
13410 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13411 <bp-checks.h>.
13412 (__backtrace): Don't use BOUNDED_1.
13413 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13414 <bp-checks.h>.
13415 (__backtrace): Don't use BOUNDED_1.
13416 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13417 (__backtrace): Don't use BOUNDED_1.
13418 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13419 (shmat): Don't use BOUNDED_N.
13420
8cf28c5e
JM
134212013-01-31 Joseph Myers <joseph@codesourcery.com>
13422
3a7ac8a0
JM
13423 [BZ #13550]
13424 * sysdeps/generic/bp-start.h: Remove file.
13425 * csu/libc-start.c: Don't include <bp-start.h>.
13426 (LIBC_START_MAIN): Set up __environ directly instead of using
13427 INIT_ARGV_and_ENVIRON.
13428 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13429 <bp-start.h>.
13430
f3499f95
JM
13431 [BZ #13550]
13432 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13433 definitions.
13434 (CHECK_FCNTL): Likewise.
13435 (CHECK_N_PAGES): Likewise.
13436
32a45bea
JM
13437 [BZ #13550]
13438 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13439 definitions.
13440 (CHECK_SIGSET_NULL_OK): Likewise.
13441 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13442 <bp-checks.h>.
13443 (sigpending): Don't use CHECK_SIGSET.
13444 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13445 <bp-checks.h>.
13446 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13447 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13448 <bp-checks.h>.
13449 (do_sigsuspend): Don't use CHECK_SIGSET.
13450 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13451 use CHECK_SIGSET.
13452 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13453 (do_sigwait): Don't use CHECK_SIGSET.
13454 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13455 use CHECK_SIGSET.
13456 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13457 include <bp-checks.h>.
13458 (sigpending): Don't use CHECK_SIGSET.
13459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13460 include <bp-checks.h>.
13461 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13462 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13463 <bp-checks.h>.
13464 (sigpending): Don't use CHECK_SIGSET.
13465 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13466 <bp-checks.h>.
13467 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13468
2e8a5c8c
JM
13469 [BZ #13550]
13470 * sysdeps/generic/bp-semctl.h: Remove file.
13471 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13472 <bp-checks.h> and <bp-semctl.h>.
13473 (__old_semctl): Don't use CHECK_SEMCTL.
13474 (__new_semctl): Likewise.
13475 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13476 and <bp-semctl.h>.
13477 (__old_semctl): Don't use CHECK_SEMCTL.
13478 (__new_semctl): Likewise.
13479 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13480 <bp-checks.h> and <bp-semctl.h>.
13481 (__old_semctl): Don't use CHECK_SEMCTL.
13482 (__new_semctl): Likewise.
13483 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13484 <bp-checks.h> and <bp-semctl.h>.
13485 (semctl): Don't use CHECK_SEMCTL.
13486
c2d54929
JM
13487 [BZ #13550]
13488 * Makerules (elide-bp-thunks): Remove variable.
13489 (elide-routines.oS): Don't use $(elide-bp-thunks).
13490 (elide-routines.os): Likewise.
13491 (elide-routines.o): Likewise.
13492 (elide-routines.op): Likewise.
13493 (elide-routines.og): Likewise.
13494 (objects): Don't use $(bp-thunks).
13495 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13496 include.
13497 (common-generated): Do not add s-proto-bp.d.
13498 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13499 (int): Likewise.
13500 (typ): Likewise.
13501 Do not generate makefile rules for bounded-pointer thunks.
13502 * sysdeps/generic/bp-thunks.h: Remove file.
13503 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13504 * sysdeps/unix/s-proto-bp.S: Likewise.
13505
8cf28c5e
JM
13506 [BZ #15062]
13507 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13508 parts of result separately when argument is not close to line from
13509 -i to i and one part of argument is small.
13510 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13511 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13512 * math/libm-test.inc (cacos_test): Add more tests.
13513 (casin_test): Likewise.
13514 (casinh_test): Likewise.
13515 * sysdeps/i386/fpu/libm-test-ulps: Update.
13516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13517
c4e33b8d
DM
135182013-01-31 David S. Miller <davem@davemloft.net>
13519
13520 * po/de.po: Update from translation team.
13521
3b60b421
MK
135222013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13523
13524 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13525
bb931195
TS
135262013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13527
b5a5da23
TS
13528 * configure.in (_AC_PROG_CC_C89): New definition.
13529 * configure: Regenerate.
13530
bb931195
TS
13531 * configure.in (AC_PROG_CPP): New definition.
13532 * configure: Regenerate.
13533
8c53a12c
JM
135342013-01-23 Joseph Myers <joseph@codesourcery.com>
13535
13536 * debug/tst-backtrace.h: New file.
13537 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13538 (ret): Remove variable.
13539 (x): Likewise.
13540 (FAIL): Remove macro.
13541 (NO_INLINE): Likewise.
13542 (fn1): Use match function instead of strstr.
13543 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13544 (ret): Remove variable.
13545 (x): Likewise.
13546 (FAIL): Remove macro.
13547 (NO_INLINE): Likewise.
13548 (fn): Use match function instead of strstr.
13549 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13550 (ret): Remove variable.
13551 (x): Likewise.
13552 (FAIL): Remove macro.
13553 (NO_INLINE): Likewise.
13554 (handle_signal): Use match function instead of strstr.
13555 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13556 (ret): Remove variable.
13557 (x): Likewise.
13558 (FAIL): Remove macro.
13559 (NO_INLINE): Likewise.
13560 (handle_signal): Use match function instead of strstr.
13561
4858fa2a
RM
135622013-01-23 Roland McGrath <roland@hack.frob.com>
13563
13564 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13565
bae8e7f5
DM
135662013-01-23 David S. Miller <davem@davemloft.net>
13567
13568 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13569 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13570 argument of CAS if possible.
13571 * sysdeps/sparc/sparc64/bits/atomic.h
13572 (__arch_compare_and_exchange_val_32_acq): Likewise.
13573 (__arch_compare_and_exchange_val_64_acq): Likewise.
13574
9cbbc4ae
PT
135752013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13576
13577 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13578 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13579 Include <limits.h>.
67b3f58c 13580 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13581
5655a0b5
AC
135822013-01-23 Adam Conrad <adconrad@0c3.net>
13583
13584 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13585 (LDFLAGS-tst-array5): Likewise.
13586
052aff95
JM
135872013-01-23 Joseph Myers <joseph@codesourcery.com>
13588
13589 [BZ #15036]
13590 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13591 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13592 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13593 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13594
7c1e01aa
DM
135952013-01-21 David S. Miller <davem@davemloft.net>
13596
13597 * sysdeps/sparc/backtrace.c: New file.
13598 * sysdeps/sparc/sparc32/backtrace.h: New file.
13599 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13600 * sysdeps/sparc/sparc64/backtrace.h: New file.
13601 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13602 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13603 -funwind-tables.
13604
ab087e0a
AS
136052013-01-21 Andreas Schwab <schwab@suse.de>
13606
13607 [BZ #15020]
13608 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13609 closed its stdout.
13610
ed689c2f
AS
136112013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13612
13613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13614 "mpa2.h".
13615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13616
31d470ac
JM
136172013-01-18 Joseph Myers <joseph@codesourcery.com>
13618 Mark Mitchell <mark@codesourcery.com>
13619 Tom de Vries <tom@codesourcery.com>
13620 Paul Pluzhnikov <ppluzhnikov@google.com>
13621
13622 * debug/tst-backtrace2.c: New file.
13623 * debug/tst-backtrace3.c: Likewise.
13624 * debug/tst-backtrace4.c: Likewise.
13625 * debug/tst-backtrace5.c: Likewise.
13626 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13627 (CFLAGS-tst-backtrace3.c): Likewise.
13628 (CFLAGS-tst-backtrace4.c): Likewise.
13629 (CFLAGS-tst-backtrace5.c): Likewise.
13630 (LDFLAGS-tst-backtrace2): Likewise.
13631 (LDFLAGS-tst-backtrace3): Likewise.
13632 (LDFLAGS-tst-backtrace4): Likewise.
13633 (LDFLAGS-tst-backtrace5): Likewise.
13634 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13635 tst-backtrace4 and tst-backtrace5.
13636
90567f30 136372013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13638 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13639
13640 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13641 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13642 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13643 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13645 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13646 "+r" and remove output regs list as redundant. Add explicit inline
13647 asm to specify register of return val to work around compiler codegen
13648 bug. Remove (int) cast on return value. Add return type parameter to
13649 use in macro so that this macro does not truncate return value for
13650 64-bit values.
13651 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13652 pass to INTERNAL_VSYSCALL_NCS.
13653 (INLINE_VSYSCALL): Add 'long int' as return type to
13654 INTERNAL_VSYSCALL_NCS macro invocation.
13655 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13656 INTERNAL_VSYSCALL_NCS macro invocation.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13658
d3b9ea61
SP
136592013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13660
0b57daeb
SP
13661 [BZ #14496]
13662 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13663 Fix application of SIMD FP exception mask.
13664
caa99d06
SP
13665 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13666 mp_no from a power of two.
13667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13668 __mpexp_twomm1. Use __pow_mp.
13669
d3b9ea61
SP
13670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13671 multiplication.
13672
1dbaee3c
DM
136732013-01-17 David S. Miller <davem@davemloft.net>
13674
13675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13676
728d7b43
JM
136772013-01-17 Joseph Myers <joseph@codesourcery.com>
13678
13679 [BZ #15023]
13680 * include/complex.h: Condition contents on [!_COMPLEX_H].
13681 (__kernel_casinhf): New prototype.
13682 (__kernel_casinh): Likewise.
13683 (__kernel_casinhl): Likewise.
13684 * math/Makefile (libm_calls): Add k_casinh.
13685 * math/k_casinh.c: New file.
13686 * math/k_casinhf.c: Likewise.
13687 * math/k_casinhl.c: Likewise.
13688 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13689 finite nonzero arguments.
13690 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13691 finite nonzero arguments.
13692 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13693 finite nonzero arguments.
13694 * math/s_casinh.c: Do not include <float.h>.
13695 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13696 * math/s_casinhf.c: Do not include <float.h>.
13697 (__casinhf): Move code for finite nonzero arguments to
13698 k_casinhf.c.
13699 * math/s_casinhl.c: Do not include <float.h>.
13700 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13701 redefine.
13702 (__casinhl): Move code for finite nonzero arguments to
13703 k_casinhl.c.
13704 * math/libm-test.inc (cacos_test): Add more tests.
13705 * sysdeps/i386/fpu/libm-test-ulps: Update.
13706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13707
2a26ef3a
PT
137082013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13709
13710 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13711 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13712 [!HAVE_MREMAP]: Remove [defined linux] case.
13713 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13714
a897655d
SP
137152013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13716
13717 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13718
881ebe89 137192013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13720
13721 * elf/elf.h (R_386_SIZE32): New relocation.
13722 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13723 R_386_SIZE32.
13724 (elf_machine_rela): Likewise.
13725 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13726 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13727
59981e9b
JM
137282013-01-17 Joseph Myers <joseph@codesourcery.com>
13729
13730 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13731 (FP_FAST_FMA): Do not define.
13732 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13733 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13734 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13735 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13736 !_SOFT_FLOAT]: Likewise.
13737 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13738 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13739 value.
13740 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13741 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13742 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13743 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13744 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13745 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13746 file.
13747
cfa8054f
AS
137482013-01-16 Andreas Schwab <schwab@suse.de>
13749
13750 [BZ #14327]
13751 * include/stdlib.h (__mktemp): Add declaration.
13752 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13753 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13754
dd930cc5
SP
137552013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13756
881ebe89
SP
13757 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13758 definitions.
13759 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13760 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13761 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13762 definitions here.
13763 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13764 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13765 definitions.
13766 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13767 and ONE.
13768 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13769 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13770 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13771 definitions.
13772 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13773 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13774 definitions.
13775 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13776
dd930cc5
SP
13777 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13778
c19a9f89
DM
137792013-01-15 David S. Miller <davem@davemloft.net>
13780
1aa61767
DM
13781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13782 trunc{,f} to libm-sysdep_routes.
13783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13785 file.
13786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13788 file.
13789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13790 file.
13791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13793 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13794 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13795 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13796 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13797 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13798 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13799
c42d5e98
DM
13800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13801 nearbyint{,f} to libm-sysdep_routes.
13802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13804 New file.
13805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13806 file.
13807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13808 New file.
13809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13810 file.
13811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13813 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13814 file.
13815 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13816 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13817 file.
13818 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13819 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13820 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13821
c19a9f89
DM
13822 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13823 libc_feholdexcept and libc_fesetenv.
13824
357679d2
MF
138252013-01-15 Mike Frysinger <vapier@gentoo.org>
13826
13827 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13828
65a82e3d
DM
138292013-01-14 David S. Miller <davem@davemloft.net>
13830
8b954ab9
DM
13831 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13832 (SPARC_ASM_VIS2_IFUNC): Likewise.
13833 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13835 use of 'siam' instruction.
13836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13837 Likewise.
13838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13839 Likewise.
13840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13841 Likewise.
13842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13847 file.
13848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13849 file.
13850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13851 file.
13852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13853 file.
13854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13859 new VIS2 routines.
13860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13863 Likewise.
13864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13869 routines to libm-sysdep_routines.
13870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13871
65a82e3d
DM
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13873 fdim/fdimf to libm-sysdep_routines.
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13875 file.
13876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13878 file.
13879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13882 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13883 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13884 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13885 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13886
e34ab705
SP
138872013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13888
2a91b573
SP
13889 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13890 to optimize copies.
13891
1066a534
SP
13892 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13895
e34ab705
SP
13896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13897 local variable MPTWO.
13898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13899 Likewise.
13900
aba5e596
MF
139012013-01-13 Mike Frysinger <vapier@gentoo.org>
13902
13903 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13904 GLOB_NOESCAPE.
13905
e557e9e5
MF
139062013-01-13 Mike Frysinger <vapier@gentoo.org>
13907
13908 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13909
0428cec9
MF
139102013-01-13 Mike Frysinger <vapier@gentoo.org>
13911
13912 * manual/pattern.texi (glob_t): Document gl_flags.
13913 (glob64_t): Likewise.
13914
8794a964
DM
139152013-01-11 David S. Miller <davem@davemloft.net>
13916
66438c3f
RM
13917 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13918 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13919 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13920 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13921 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13922 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13923 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13924 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13925 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13926 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13927 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13928 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13929 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13930
4ae4244d
DM
13931 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13932 sparc V9 rather than using V8 code.
13933 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13934 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13935
8794a964
DM
13936 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13937 Move to...
13938 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13939 Here.
13940
6270516e
RM
139412013-01-11 Roland McGrath <roland@hack.frob.com>
13942
13943 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13944 not in the main loop.
13945 * configure: Regenerated.
13946
6a57d931
JM
139472013-01-11 Joseph Myers <joseph@codesourcery.com>
13948
13949 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13950 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13951 to just #else.
13952 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13953 [!__GLIBC_HAVE_LONG_LONG] case.
13954 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13955 condition to just #else.
13956 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13957 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13958 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13959 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13960 unconditional.
13961 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13962 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13963 #elif condition to just #else.
13964 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13965 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13966 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13967 #elif condition to just #else.
13968
0e8529e9
SE
139692013-01-11 Steve Ellcey <sellcey@mips.com>
13970
13971 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13972 (EF_MIPS_ARCH_64): Fix value.
13973 (EF_MIPS_ARCH_32R2): New.
13974 (EF_MIPS_ARCH_64R2): New.
13975
740b3dbe
L
139762013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13977
13978 * Makeconfig (+link-pie-before-libc): New.
13979 (+link-pie-after-libc): Likewise.
13980 (+link-pie-tests): Likewise.
13981 (+link-pie): Rewritten.
13982 (link-before-libc): Remove $(config-LDFLAGS).
13983 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13984 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13985 (config-LDFLAGS): Renamed to ...
13986 (rtld-LDFLAGS): This.
13987 (rtld-tests-LDFLAGS): New macro.
13988 (link-libc-rpath-link): Likewise.
13989 (link-libc-tests-rpath-link): Likewise.
13990 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13991 (link-libc): Prepand $(link-libc-rpath-link).
13992 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13993 (test-program-prefix): New macro.
13994 (test-via-rtld-prefix): Likewise.
13995 (test-program-cmd): Likewise.
13996 (host-test-program-cmd): Likewise.
13997 * Makefile ($(common-objpfx)testrun.sh): Replace
13998 $(run-program-prefix) with $(test-program-prefix).
13999 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14000 $(rtld-LDFLAGS).
14001 ($(common-objpfx)shlib.lds): Likewise.
14002 (build-module-helper): Likewise.
14003 ($(common-objpfx)format.lds): Likewise.
14004 * Rules (binaries-pie-tests): New.
14005 (binaries-pie-notests): Likewise.
14006 (binaries-pie): Rewritten.
14007 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14008 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14009 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14010 (make-test-out): Replace $(host-built-program-cmd) with
14011 $(host-test-program-cmd).
14012 * config.make.in (build-hardcoded-path-in-tests): New variable.
14013 * configure.in (--enable-hardcoded-path-in-tests): New configure
14014 option.
14015 (hardcoded_path_in_tests): New AC_SUBST.
14016 * configure: Regenerated.
14017 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14018 $(built-program-cmd) with $(test-program-cmd).
14019 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14020 (test_program_cmd): This.
14021 * elf/Makefile ($(objpfx)order.out): Run test with
14022 $(test-program-prefix).
14023 ($(objpfx)order2.out): Likewise.
14024 ($(objpfx)tst-initorder.out): Likewise.
14025 ($(objpfx)tst-initorder2.out): Likewise.
14026 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14027 $(test-program-cmd).
14028 ($(objpfx)tst-array1-static.out): Likewise.
14029 ($(objpfx)tst-array2.out): Likewise.
14030 ($(objpfx)tst-array3.out): Likewise.
14031 ($(objpfx)tst-array4.out): Likewise.
14032 ($(objpfx)tst-array5.out): Likewise.
14033 ($(objpfx)tst-array5-static.out): Likewise.
14034 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14035 $(test-program-cmd).
14036 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14037 $(run-program-prefix) with $(test-program-prefix).
14038 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14039 (test_program_prefix): This.
14040 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14041 $(run-program-prefix) with $(test-program-prefix).
14042 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14043 (test_program_prefix): This.
14044 * iconvdata/tst-tables.sh: Likewise.
14045 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14046 $(run-program-prefix) with $(test-program-prefix).
14047 ($(objpfx)tst-translit.out): Likewise.
14048 ($(objpfx)tst-gettext2.out): Likewise.
14049 ($(objpfx)tst-gettext4.out): Likewise.
14050 ($(objpfx)tst-gettext6.out): Likewise.
14051 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14052 (test_program_prefix): This.
14053 * intl/tst-gettext2.sh: Likewise.
14054 * intl/tst-gettext4.sh Likewise.
14055 * intl/tst-gettext6.sh: Likewise.
14056 * intl/tst-translit.sh: Likewise.
14057 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14058 with $(test-program-cmd).
14059 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14060 $(run-program-prefix) with $(test-program-prefix).
14061 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14062 (test_program_prefix): This.
14063 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14064 $(run-program-prefix) with $(test-program-prefix).
14065 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14066 (test_program_prefix): This.
14067 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14068 * posix/Makefile ($(objpfx)globtest.out): Replace
14069 $(run-via-rtld-prefix) and $(test-wrapper) with
14070 $(test-program-prefix) and $(test-via-rtld-prefix).
14071 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14072 $(test-program-prefix).
14073 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14074 $(host-test-program-cmd).
14075 (tst-spawn-ARGS): Likewise.
14076 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14077 $(test-program-prefix).
14078 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14079 (test_via_rtld_prefix): This.
14080 (test_wrapper): Renamed to ...
14081 (test_program_prefix): This.
14082 (run_program_prefix): Replaced by test_program_prefix.
14083 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14084 (test_program_prefix): This.
14085 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14086 with $(host-test-program-cmd).
14087 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14088 $(run-program-prefix) with $(test-program-prefix).
14089 ($(objpfx)tst-printf.out): Likewise.
14090 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14091 $(test-program-cmd).
14092 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14093 (test_program_prefix): This.
14094 * stdio-common/tst-unbputc.sh: Likewise.
14095 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14096 $(run-program-prefix) with $(test-program-prefix).
14097 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14098 (test_program_prefix): This.
14099 * string/Makefile ($(objpfx)tst-svc.out): Replace
14100 $(built-program-cmd) with $(test-program-cmd).
14101
c6fe55cf
AJ
141022013-01-11 Andreas Jaeger <aj@suse.de>
14103
14104 [BZ #15003]
14105 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14106 value. Sync with Linux 3.7.
14107
9e6919c8
DM
141082013-01-10 David S. Miller <davem@davemloft.net>
14109
14110 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14111 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14112 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14113
1c9f1a02
RM
141142013-01-10 Roland McGrath <roland@hack.frob.com>
14115
14116 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14117 never set.
14118 * configure: Regenerated.
14119
b9de2dde
DM
141202013-01-10 David S. Miller <davem@davemloft.net>
14121
14122 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14123 sparc V9 rather than using V8 code.
14124 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14125 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14126
e7f68ef4
RM
141272013-01-10 Roland McGrath <roland@hack.frob.com>
14128
14129 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14130 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14131 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14132 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14133 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14134 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14135 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14136 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14137 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14138 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14139 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14140 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14141 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14142 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14143 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14144 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14145 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14146 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14147 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14148 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14149 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14150 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14151 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14152 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14153 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14154 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14155 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14156
5a47cc9c
DM
141572013-01-10 David S. Miller <davem@davemloft.net>
14158
14159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14160
4cf8f209
L
141612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14162
14163 * posix/Makefile (tests-static): New variable.
14164 (tests): Add $(tests-static).
14165 (tst-exec-static-ARGS): New variable.
14166 (tst-spawn-static-ARGS): Likewise.
14167 * posix/tst-exec-static.c: New file.
14168 * posix/tst-spawn-static.c: Likewise.
14169 * posix/tst-exec.c: Support run directly.
14170 * posix/tst-spawn.c: Likewise.
14171
fed0faa1
JM
141722013-01-10 Joseph Myers <joseph@codesourcery.com>
14173
828beb13
JM
14174 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14175 long.
14176 * math/bits/mathcalls.h (llrint): Likewise.
14177 (llround): Likewise.
14178 * stdlib/stdlib.h (struct drand48_data): Likewise.
14179 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14180 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14182 Likewise.
14183 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14184 Likewise.
14185 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14186 (elf_greg_t): Likewise.
14187 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14188 (__jmp_buf): Likewise.
14189 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14190 definitions.
14191 (llrint): Likewise, for all definitions.
14192 (llrintl): Likewise.
14193
fed0faa1
JM
14194 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14195 Remove [__GNUC__] condition.
14196 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14197 condition to just [__USE_ISOC99].
14198 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14199
1a20cb20
L
142002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14201
14202 [BZ #14200]
14203 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14204 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14205 defined.
14206 (_POSIX_V6_ILP32_OFF32): Likewise.
14207 (_XBS5_ILP32_OFF32): Likewise.
14208 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14209 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14210
751b85f7
SP
142112013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14212
7490eb81
SP
14213 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14214
751b85f7
SP
14215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14216 doubles __mpexp_twomm1. Adjust usage.
14217 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14218 Remove.
14219
988197f0
AS
142202013-01-10 Andreas Schwab <schwab@suse.de>
14221
14222 [BZ #14964]
14223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14224 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14225
e83d7298
DM
142262013-01-09 David S. Miller <davem@davemloft.net>
14227
034ed64b 14228 [BZ #15003]
e83d7298
DM
14229 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14230 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14231 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14232 TCP_FASTOPEN): Define.
14233 (tcp_repair_opt): New structure.
14234 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14235 enum values.
14236 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14237 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14238 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14239 (tcp_cookie_transactions): New structure.
14240
d5e0b9bd
AB
142412013-01-09 Anton Blanchard <anton@samba.org>
14242
14243 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14244 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14246 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14247
0c07e3ea
JM
142482013-01-09 Joseph Myers <joseph@codesourcery.com>
14249
14250 * include/features.h (__USE_ANSI): Remove.
14251
232f7002
RM
142522013-01-09 Roland McGrath <roland@hack.frob.com>
14253
ad98e30c
RM
14254 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14255
232f7002
RM
14256 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14257
950c99ca
SP
142582013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14259
b5792741
SP
14260 * sysdeps/s390/fpu/libm-test-ulps: Update.
14261
47cf2278
SP
14262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14263
950c99ca
SP
14264 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14265 (__acr): Likewise.
14266 (__cpy): Likewise.
14267 (norm): Likewise.
14268 (denorm): Likewise.
14269 (__mp_dbl): Likewise.
14270 (__dbl_mp): Likewise.
14271 (add_magnitudes): Likewise.
14272 (sub_magnitudes): Likewise.
14273 (__add): Likewise.
14274 (__sub): Likewise.
14275 (__mul): Likewise.
14276 (__inv): Likewise.
14277 (__dvd): Likewise.
14278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14279 (__acr): Likewise.
14280 (__cpy): Likewise.
14281 (norm): Likewise.
14282 (denorm): Likewise.
14283 (__mp_dbl): Likewise.
14284 (__dbl_mp): Likewise.
14285 (add_magnitudes): Likewise.
14286 (sub_magnitudes): Likewise.
14287 (__add): Likewise.
14288 (__sub): Likewise.
14289 (__mul): Likewise.
14290 (__inv): Likewise.
14291 (__dvd): Likewise.
14292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14293 (__acr): Likewise.
14294 (__cpy): Likewise.
14295 (norm): Likewise.
14296 (denorm): Likewise.
14297 (__mp_dbl): Likewise.
14298 (__dbl_mp): Likewise.
14299 (add_magnitudes): Likewise.
14300 (sub_magnitudes): Likewise.
14301 (__add): Likewise.
14302 (__sub): Likewise.
14303 (__mul): Likewise.
14304 (__inv): Likewise.
14305 (__dvd): Likewise.
14306
eede9df9
JM
143072013-01-08 Joseph Myers <joseph@codesourcery.com>
14308
14309 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14310 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14311 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14312 2 && __USE_EXTERN_INLINES]: Likewise.
14313
c40ea3d9
AJ
143142013-01-08 Andreas Jaeger <aj@suse.de>
14315
14316 [BZ# 14985]
14317 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14318 Remove.
14319 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14320 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14321
2ccdea26
AB
143222013-01-07 Anton Blanchard <anton@samba.org>
14323
14324 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14325 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14326 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14327 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14328 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14329 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14330 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14331 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14333 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14334 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14335 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14336 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14337 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14339 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14340 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14341 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14342 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14343 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14345 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14346 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14347 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14348 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14349 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14350 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14351 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14352 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14353 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14354 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14356 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14357 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14358 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14359 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14360 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14361 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14362 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14363 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14364 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14365 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14366 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14367
a9708fed
JM
143682013-01-07 Joseph Myers <joseph@codesourcery.com>
14369
375607b9
JM
14370 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14371 (__MALLOC_PMT): Likewise.
14372 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14373 [__GNUC__], only on [_LIBC].
14374 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14375 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14376 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14377 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14378 forward declaration.
14379 (realloc_hook_ini): Likewise.
14380 (memalign_hook_ini): Likewise.
14381 (__libc_memalign): Do not use __MALLOC_PMT in variable
14382 declaration.
14383 (__libc_valloc): Likewise.
14384 (__libc_pvalloc): Likewise.
14385 (__libc_calloc): Likewise.
14386 (__posix_memalign): Likewise.
14387
a9708fed
JM
14388 [BZ #14996]
14389 * math/s_casinh.c: Include <float.h>.
14390 (__casinh): Do not do computation with squaring and square root
14391 for large arguments.
14392 * math/s_casinhf.c: Include <float.h>.
14393 (__casinhf): Do not do computation with squaring and square root
14394 for large arguments.
14395 * math/s_casinhl.c: Include <float.h>.
14396 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14397 (__casinhl): Do not do computation with squaring and square root
14398 for large arguments.
14399 * math/libm-test.inc (casin_test): Add more tests.
14400 (casinh_test): Likewise.
14401 * sysdeps/i386/fpu/libm-test-ulps: Update.
14402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14403
afec409a
L
144042013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14405
14406 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14407 (__x86_64_raw_data_cache_size): Likewise.
14408 (__x86_64_data_cache_size_half): Likewise.
14409 (__x86_64_raw_data_cache_size_half): Likewise.
14410 (__x86_64_shared_cache_size): Likewise.
14411 (__x86_64_raw_shared_cache_size): Likewise.
14412 (__x86_64_shared_cache_size_half): Likewise.
14413 (__x86_64_raw_shared_cache_size_half): Likewise.
14414 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14415 to ...
14416 (__x86_data_cache_size): This.
14417 (__x86_64_raw_data_cache_size): Renamed to ...
14418 (__x86_raw_data_cache_size): This.
14419 (__x86_64_data_cache_size_half): Renamed to ...
14420 (__x86_data_cache_size_half): This.
14421 (__x86_64_raw_data_cache_size_half): Renamed to ...
14422 (__x86_raw_data_cache_size_half): This.
14423 (__x86_64_shared_cache_size): Renamed to ...
14424 (__x86_shared_cache_size): This.
14425 (__x86_64_raw_shared_cache_size): Renamed to ...
14426 (__x86_raw_shared_cache_size): This.
14427 (__x86_64_shared_cache_size_half): Renamed to ...
14428 (__x86_shared_cache_size_half): This.
14429 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14430 (__x86_raw_shared_cache_size_half): This.
14431 * sysdeps/x86_64/memcpy.S: Updated.
14432 * sysdeps/x86_64/memset.S: Likewise.
14433 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14436
0b3986d0
DM
144372013-01-04 David S. Miller <davem@davemloft.net>
14438
14439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14440
e47686e9
AS
144412013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14442
d643bac1
AS
14443 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14444 1 to avoid redefinition warning.
14445 (__USE_GNU): Don't define.
14446 (init_signaling_nan): Protoize.
14447
e47686e9
AS
14448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14449
b18decba
SP
144502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14451
fffb407f
SP
14452 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14454 (__cpymn): Likewise.
14455 (norm): Remove commented code.
14456 (denorm): Likewise.
14457 (__mp_dbl): Likewise.
14458 (__inv): Likewise.
14459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14460 (__cpymn): Likewise.
14461 (norm): Remove commented code.
14462 (denorm): Likewise.
14463 (__mp_dbl): Likewise.
14464 (__inv): Likewise.
14465
b18decba
SP
14466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14467 mp_no value for 1.0 and 2.0.
14468 (norm): Use RADIXI instead of radixi.d.
14469 (denorm): Likewise.
14470 (__mul): Use 0.0 instead of zero.d.
14471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14472 mp_no value for 1.0 and 2.0.
14473 (norm): Use RADIXI instead of radixi.d.
14474 (denorm): Likewise.
14475 (__mul): Use 0.0 instead of zero.d.
14476
cdc1c96f
JM
144772013-01-04 Joseph Myers <joseph@codesourcery.com>
14478
14479 [BZ #14994]
14480 * math/s_casinh.c (__casinh): Reduce finite argument to first
14481 quadrant then set signs of results at the end.
14482 * math/s_casinhf.c (__casinhf): Likewise.
14483 * math/s_casinhl.c (__casinhl): Likewise.
14484 * math/libm-test.inc (casin_test): Add more tests.
14485 (casinh_test): Likewise.
14486 * sysdeps/i386/fpu/libm-test-ulps: Update.
14487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14488
302913e1
SP
144892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14490
6420d207
SP
14491 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14492
a9e48ab4
SP
14493 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14494
b7837264
SP
14495 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14496 declarations.
14497 (denorm): Likewise.
14498 (__mp_dbl): Likewise.
14499 (__inv): Likewise.
14500
f8af25d2
SP
14501 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14502 and adjust the header comment.
14503
302913e1
SP
14504 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14505 variable name from declaration.
14506
5d7dd1ca
L
145072013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14508
14509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14510 Initialize COMMON_CPUID_INDEX_7 element.
14511 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14512 (CPUID_RTM): Likewise.
14513 (HAS_RTM): Likewise.
14514 (COMMON_CPUID_INDEX_7): New enum.
14515
2f5f40f4
AS
145162013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14517
14518 [BZ #14981]
14519 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14520 size is zero, record memory as freed.
14521
4056f4a0
AJ
145222013-01-03 Andreas Jaeger <aj@suse.de>
14523
14524 * po/ia.po: Add new Interlingua translation.
14525
ab15736f 145262012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14527
14528 * locale/programs/localedef.c: Fix description of '--posix' flag.
14529
568035b7
JM
145302013-01-02 Joseph Myers <joseph@codesourcery.com>
14531
e6898b8d
JM
14532 * NEWS: Update dates in second copyright notice.
14533 * README: Update copyright dates in example.
14534 * manual/libc.texinfo: Update copyright dates.
14535 * scripts/test-installation.pl: Update copyright date in --version
14536 output.
14537
0e2f9562
JM
14538 * hurd/ctty-input.c: Fix copyright notice formatting.
14539 * hurd/ctty-output.c: Likewise.
14540 * hurd/dtable.c: Likewise.
14541 * hurd/hurd-raise.c: Likewise.
14542 * hurd/hurdprio.c: Likewise.
14543 * hurd/msgportdemux.c: Likewise.
14544 * misc/sys/file.h: Likewise.
14545 * misc/sys/ioctl.h: Likewise.
14546 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14547 * sysdeps/mach/hurd/chdir.c: Likewise.
14548 * sysdeps/mach/hurd/fchdir.c: Likewise.
14549 * sysdeps/mach/hurd/rename.c: Likewise.
14550 * sysdeps/mach/hurd/rmdir.c: Likewise.
14551 * sysdeps/mach/hurd/seekdir.c: Likewise.
14552 * sysdeps/mach/hurd/setsid.c: Likewise.
14553 * sysdeps/posix/wait3.c: Likewise.
14554
568035b7
JM
14555 * All files with FSF copyright notices: Update copyright dates
14556 using scripts/update-copyrights.
14557 * intl/plural.c: Regenerated.
14558 * locale/programs/charmap-kw.h: Likewise.
14559 * locale/programs/locfile-kw.h: Likewise.
14560
da08f647
SP
145612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14562
0f5477af
SP
14563 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14564 four values.
14565
44e0d4c2
SP
14566 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14567 calculation loop and add branch prediction.
14568
4d55b4e5
SP
14569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14570 check access beyond bounds of m1np.
14571
da08f647
SP
14572 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14573 MPTWO.
14574 (__inv): Remove local variable MPTWO to use the global
14575 constant.
14576 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14577 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14578 variable MPTWO.
14579 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14580 MP3HALFS static const.
14581
8e051029
DM
145822013-01-01 David S. Miller <davem@davemloft.net>
14583
14584 * po/ca.po: Update from translation team.
14585
f4cf5f2d
JM
145862013-01-01 Joseph Myers <joseph@codesourcery.com>
14587
14588 * scripts/update-copyrights: New file.
14589 * Makeconfig: Reformat copyright notice.
14590 * ctype/ctype.h: Likewise.
14591 * debug/swprintf_chk.c: Likewise.
14592 * elf/dl-cache.c: Likewise.
14593 * elf/dl-debug.c: Likewise.
14594 * elf/dl-object.c: Likewise.
14595 * grp/initgroups.c: Likewise.
14596 * hurd/Makefile: Likewise.
14597 * hurd/hurd/signal.h: Likewise.
14598 * hurd/hurdfault.c: Likewise.
14599 * hurd/hurdioctl.c: Likewise.
14600 * hurd/hurdlookup.c: Likewise.
14601 * hurd/intr-msg.c: Likewise.
14602 * iconv/gconv_open.c: Likewise.
14603 * libio/swprintf.c: Likewise.
14604 * locale/lc-ctype.c: Likewise.
14605 * locale/nl_langinfo.c: Likewise.
14606 * mach/Machrules: Likewise.
14607 * mach/Makefile: Likewise.
14608 * malloc/obstack.h: Likewise.
14609 * manual/Makefile: Likewise.
14610 * manual/tsort.awk: Likewise.
14611 * misc/bits/stab.def: Likewise.
14612 * nis/nis_print_group_entry.c: Likewise.
14613 * nis/nis_table.c: Likewise.
14614 * nis/nss_compat/compat-pwd.c: Likewise.
14615 * nis/nss_compat/compat-spwd.c: Likewise.
14616 * po/Makefile: Likewise.
14617 * posix/fnmatch.c: Likewise.
14618 * posix/regex.h: Likewise.
14619 * resolv/Makefile: Likewise.
14620 * resolv/nss_dns/dns-network.c: Likewise.
14621 * resolv/res_hconf.c: Likewise.
14622 * scripts/gen-sorted.awk: Likewise.
14623 * soft-fp/soft-fp.h: Likewise.
14624 * stdio-common/printf.h: Likewise.
14625 * stdlib/monetary.h: Likewise.
14626 * stdlib/random.c: Likewise.
14627 * stdlib/random_r.c: Likewise.
14628 * sysdeps/generic/Makefile: Likewise.
14629 * sysdeps/gnu/Makefile: Likewise.
14630 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14658 * sysdeps/mach/hurd/errnos.awk: Likewise.
14659 * sysdeps/mach/hurd/fork.c: Likewise.
14660 * sysdeps/mach/hurd/getcwd.c: Likewise.
14661 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14662 * sysdeps/mach/hurd/mmap.c: Likewise.
14663 * sysdeps/mach/hurd/utimes.c: Likewise.
14664 * sysdeps/mach/hurd/xmknod.c: Likewise.
14665 * sysdeps/posix/profil.c: Likewise.
14666 * sysdeps/posix/readdir_r.c: Likewise.
14667 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14668 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14669 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14670 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14672 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14673 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14674 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14676 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14677 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14678 * sysdeps/pthread/lio_listio.c: Likewise.
14679 * sysdeps/sparc/dl-procinfo.h: Likewise.
14680 * sysdeps/unix/i386/sysdep.S: Likewise.
14681 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14682 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14683 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14684 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14686 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14687 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14688 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14689 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14690 * sysdeps/wordsize-32/divdi3.c: Likewise.
14691 * time/sys/time.h: Likewise.
14692 * wcsmbs/Makefile: Likewise.
14693
0549fbba
DM
146942013-01-01 David S. Miller <davem@davemloft.net>
14695
a141f1a7
DM
14696 * po/fr.po: Update from translation team.
14697
0549fbba
DM
14698 * catgets/gencat.c: Update copyright year.
14699 * csu/version.c: Likewise.
14700 * debug/catchsegv.sh: Likewise.
14701 * debug/pcprofiledump.c: Likewise.
14702 * debug/xtrace.sh: Likewise.
14703 * elf/ldconfig.c: Likewise.
14704 * elf/ldd.bash.in: Likewise.
14705 * elf/pldd.c: Likewise.
14706 * elf/sotruss.ksh: Likewise.
14707 * elf/sprof.c: Likewise.
14708 * iconv/iconv_prog.c: Likewise.
14709 * iconv/iconvconfig.c: Likewise.
14710 * locale/programs/locale.c: Likewise.
14711 * locale/programs/localedef.c: Likewise.
14712 * login/programs/pt_chown.c: Likewise.
14713 * malloc/memusage.sh: Likewise.
14714 * malloc/memusagestat.c: Likewise.
14715 * malloc/mtrace.pl: Likewise.
14716 * nscd/nscd.c: Likewise.
14717 * nss/getent.c: Likewise.
14718 * nss/makedb.c: Likewise.
14719 * posix/getconf.c: Likewise.
14720
18ea052c
SP
147212012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14722
14723 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14724 numbers.
14725
9c89fca6
MF
147262012-12-30 Mike Frysinger <vapier@gentoo.org>
14727
14728 * math/bits/mathcalls.h (modf): Use __nonnull.
14729
085ec079
SP
147302012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14731
14732 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14733 (split): Use macro CN instead of the bare value.
14734 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14735 could be used.
14736 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14737 instead of the bare value.
14738 (power1): Likewise.
14739
6d9f97e1
SP
147402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14741
d63f73be
SP
14742 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14743 __ATAN_TWOM.
14744 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14745
6d9f97e1
SP
14746 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14747 their values.
14748 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14749 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14750 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14751 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14752
4c4febf5
AJ
147532012-12-28 Andreas Jaeger <aj@suse.de>
14754
af5843ef
AJ
14755 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14756 values are from Linux 3.7.
14757
4c4febf5
AJ
14758 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14759 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14760
99136f82
SP
147612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14762
2f216c3c 14763 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14764 TRUE case.
14765
99136f82
SP
14766 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14767 (norm): Likewise.
14768 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14769 variables with preprocessor constants.
14770 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14771 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14772 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14773
7fffbdff
BH
147742012-12-27 Bruno Haible <bruno@clisp.org>
14775
14776 [BZ #14317]
14777 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14778 only if needed.
14779
b76eb5f0
SP
147802012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14781
31a7fe5c
SP
14782 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14783 and use variable directly.
14784 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14785
b76eb5f0
SP
14786 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14787 MPONE.
14788 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14789 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14790 variable MPONE.
14791 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14793 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14794 include directive. Remove local variable MPONE.
14795 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14796 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14797 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14798
2c8bfe7d
DM
147992012-12-25 David S. Miller <davem@davemloft.net>
14800
14801 * version.h (RELEASE): Set to "development".
14802 (VERSION): Set to "2.17.90".
14803 * NEWS: Add 2.18 section.
14804
147d03b0
DM
148052012-12-21 David S. Miller <davem@davemloft.net>
14806
14807 * po/hr.po: Update from translation team.
14808
a8ebb2b9
AK
148092012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14810
14811 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14812
95b4f1b6
SE
148132012-12-19 Steve Ellcey <sellcey@mips.com>
14814
b2d94007 14815 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14816
cedb2a90
MS
148172012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14818
14819 * manual/contrib.texi (Contributors): Spelling correction.
14820
bbf527d6
DM
148212012-12-15 David S. Miller <davem@davemloft.net>
14822
14823 * po/ru.po: Update from translation team.
14824
bc38c906
DM
148252012-12-13 David S. Miller <davem@davemloft.net>
14826
85429b1a
DM
14827 * NEWS: Mention IFUNC testsuite enhancements.
14828
d283e353
DM
14829 * po/pl.po: Update from translation team.
14830 * po/bg.po: Likewise.
14831
bc38c906
DM
14832 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14833 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14834
a181b0d7
DM
148352012-12-11 David S. Miller <davem@davemloft.net>
14836
4641d57e
DM
14837 * po/sv.po: Update from translation team.
14838
f7bc6495
DM
14839 * po/vi.po: Update from translation team.
14840
6fc9048f
DM
14841 * po/cs.po: Update from translation team.
14842
a181b0d7
DM
14843 * po/de.po: Update from translation team.
14844 * po/eo.po: Likewise.
14845 * po/nl.po: Likewise.
14846
f70bfe80
SP
148472012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14848
3c8b4190
SP
14849 [BZ #14246]
14850 * manual/argp.texi (Argp Helper Functions): Move node to follow
14851 Argp Parsing State.
14852
f70bfe80
SP
14853 [BZ #14872]
14854 * manual/conf.texi (Limits on File System Capacity): Mention if
14855 terminating null is included in the max size.
14856
188f0adf
AJ
148572012-12-10 Andreas Jaeger <aj@suse.de>
14858
14859 * po/cs.po: Update from translation team.
14860
56e7d3ad
SP
148612012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14862
14863 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14864 void pointer and cast to uintptr_t.
14865 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14866 path.
14867 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14868 * sysdeps/s390/s390-64/memset.S: Likewise.
14869
76f2d2ea 148702012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14871
14872 [BZ #14833]
14873 * menual/message.texi (Message Translation): Fix typos.
14874 (Helper programs for gettext): Likewise.
14875
67cbf9a2
AS
148762012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14877
14878 [BZ #14898]
14879 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14880 Change to -1.
14881
682d0e9a
DM
148822012-12-07 David S. Miller <davem@davemloft.net>
14883
14884 * po/libc.pot: Update.
14885
573cd484
RH
148862012-12-07 Richard Henderson <rth@redhat.com>
14887
7e9da188 14888 [BZ #10114]
573cd484
RH
14889 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14890 normal/normal case to before the switch.
14891 (_FP_DIV): Likewise.
14892
e933a943
MF
148932012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14894 Mike Frysinger <vapier@gentoo.org>
14895
14896 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14897 check for __NR_fadvise64_64.
14898
82123268
CM
148992012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14900
14901 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14902 0, not just to plain "0" as a statement.
14903 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14904 with cw.
14905
d9814526
JM
149062012-12-06 Joseph Myers <joseph@codesourcery.com>
14907
14908 * NEWS: Use sourceware.org in Bugzilla URL.
14909
7728c574
SP
149102012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14911
f16946dd
SP
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14913 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14914
5704bbcb
SP
14915 * stdio-common/tst-put-error.c (do_test): Add newline to the
14916 padded test to ensure flush.
14917
17aa0516
JL
149182012-12-05 Jeff Law <law@redhat.com>
14919
14920 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14921
363313b5
JM
149222012-12-05 Joseph Myers <joseph@codesourcery.com>
14923
effbd42a
JM
14924 * README: Don't refer to ports add-on as distributed separately.
14925 Mention AArch64 in list of systems supported in the ports add-on.
14926
87600365
JM
14927 * LICENSES: Add more non-FSF copyright and license notices.
14928
a0d7066a
JM
14929 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14930 ((unused)).
14931
66ca5a5b
JM
14932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14933
363313b5
JM
14934 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14935 10000 as width of padded output.
14936
b37984ad
JM
149372012-12-04 Joseph Myers <joseph@codesourcery.com>
14938
9003570a
JM
14939 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14940
b37984ad
JM
14941 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14942 variable LX with __attribute__ ((unused)).
14943 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14944 Likewise.
14945 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14946 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14947 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14948 with __attribute__ ((unused)).
14949
c8df52ec
DM
149502012-12-04 David S. Miller <davem@abraco.davemloft.net>
14951
14952 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14953
b3b099af
JM
149542012-12-04 Joseph Myers <joseph@codesourcery.com>
14955
c33aa6e3
JM
14956 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14957 (CFLAGS-nldbl-acos.c): New variable.
14958 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14959 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14960 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14961 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14962 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14963 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14964 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14965 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14966 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14967 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14968 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14969 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14970 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14971 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14972 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14973 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14974 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14975 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14976 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14977 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14978 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14979 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14980 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14981 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14982 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14983 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14984 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14985 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14986 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14987 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14988 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14989 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14990 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14991 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14992 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14993 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14994 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14995 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14996 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14997 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14998 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14999 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15000 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15001 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15002 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15003 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15004 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15005 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15006 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15007 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15008 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15009 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15010 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15011 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15012 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15013 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15014 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15015 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15016 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15017 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15018 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15019 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15020 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15021 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15022 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15023 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15024 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15025 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15030 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15031 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15032 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15033 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15034 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15035 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15036 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15037 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15038 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15039 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15040 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15041 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15042 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15043 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15044 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15045 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15046 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15047 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15048 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15049 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15050 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15051 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15052 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15053 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15054 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15055
20f0018d
JM
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15057 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15058
b3b099af
JM
15059 [BZ #14914]
15060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15061 whole low double instead of just low 47 bits when splitting values
15062 into two parts.
15063
029264d1
AM
150642012-12-03 Allan McRae <allan@archlinux.org>
15065
15066 * manual/stdio.texi (Predefined Printf Handlers): Remove
15067 @hsep and @vsep usage.
15068
c9d6789e
MF
150692012-12-03 Mike Frysinger <vapier@gentoo.org>
15070
15071 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15072 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15073
4b7634a5
JL
150742012-12-03 Jeff Law <law@redhat.com>
15075
15076 * time/sys/time.h (settimeofday): Do not mark TV argument
15077 as __nonnull.
15078
eb6cbd24
MF
150792012-12-01 Mike Frysinger <vapier@gentoo.org>
15080
15081 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15082 when currently writing and seek to current position when not.
15083 * libio/Makefile (tests): Remove bug-fclose1.
15084 * libio/bug-fclose1.c: Delete.
15085
f638872a
JM
150862012-12-01 Joseph Myers <joseph@codesourcery.com>
15087
15088 * manual/arith.texi (feenableexcept): Fix typo.
15089 (fedisableexcept): Likewise.
15090
48085d14
RM
150912012-11-30 Roland McGrath <roland@hack.frob.com>
15092
15093 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15094 second, differently-typed declaration, rather than a cast.
15095
1a538b9f
SP
150962012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15097
15098 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15099 * include/rpc/svc.h: ... here.
15100
d07f2ff1 151012012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15102
15103 [BZ #13013]
15104 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15105 depending n and resplen2 to catch cases where answer
15106 equals answerp2.
15107
c93ec1f0
CD
151082012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15109
15110 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15111 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15112
37db69de
MF
151132012-11-29 Mike Frysinger <vapier@gentoo.org>
15114
15115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15116
e10c4e4f
RM
151172012-11-29 Roland McGrath <roland@hack.frob.com>
15118
15119 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15120
2af1b328
JL
151212012-11-28 Jeff Law <law@redhat.com>
15122
15123 [BZ #13761]
15124 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15125 dataset_temporary. Track alloca usage into alloca_used.
15126 If dataset is large allocate and release it via malloc/free.
15127
111db5b1
FW
151282012-06-04 Florian Weimer <fweimer@redhat.com>
15129
f06cc227 15130 [BZ #14197]
111db5b1
FW
15131 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15132
dd694abd
DM
151332012-11-28 David S. Miller <davem@davemloft.net>
15134
15135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15136
9984dd01
JM
151372012-11-28 Joseph Myers <joseph@codesourcery.com>
15138
15139 [BZ #14803]
15140 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15141 of pi/2 rounded to nearest to 64 bits.
15142 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15143 nearest to 64 bits.
15144 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15145 bits.
15146
14bc93a9
JL
151472012-11-28 Jeff Law <law@redhat.com>
15148 Martin Osvald <mosvald@redhat.com>
15149
15150 [BZ #14889]
15151 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15152 * sunrpc/svc.c: Include time.h.
15153 (__svc_accept_failed): New function.
15154 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15155 any reason other than EINTR, call __svc_accept_failed.
15156 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15157 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15158
e3c6aa3a
AS
151592012-11-28 Andreas Schwab <schwab@suse.de>
15160
15161 * scripts/abilist.awk: Also handle indirect functions in .opd
15162 section.
15163
1bead169
JM
151642012-11-28 Joseph Myers <joseph@codesourcery.com>
15165
15166 [BZ #13881]
15167 * sysdeps/x86/fpu/powl_helper.c: New file.
15168 * sysdeps/x86/fpu/Makefile: Likewise.
15169 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15170 (p3): New object.
15171 (__ieee754_powl): Use __powl_helper for finite arguments except
15172 integer exponents below 8.
15173 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15174 (p3): New object.
15175 (__ieee754_powl): Use __powl_helper for finite arguments except
15176 integer exponents below 8.
15177 * math/libm-test.inc (pow_test): Add more tests and enable some
15178 previously disabled tests.
15179 * sysdeps/i386/fpu/libm-test-ulps: Update.
15180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15181
0817d63d
SP
151822012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15183 Carlos O'Donell <carlos_odonell@mentor.com>
15184
15185 * nss/makedb.c (is_prime): Assert that input is odd and greater
15186 than 4. Note that fact in a comment too.
15187 (next_prime): Add 4 to input.
15188
de2fd463
SP
151892012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15190
15191 [BZ #11741]
15192 * libio/Makefile (tests): Add test case tst-fwrite-error.
15193 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15194 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15195 * libio/tst-fwrite-error.c: New test case.
15196
c515fb51
L
151972012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15198
15199 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15200 before casting to void *.
15201 * include/libc-internal.h (__pointer_type): New macro.
15202 (__integer_if_pointer_type_sub): Likewise.
15203 (__integer_if_pointer_type): Likewise.
15204 (cast_to_integer): Likewise.
15205 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15206 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15207 before casting to atomic64_t.
15208 (atomic_exchange_acq): Likewise.
15209 (__arch_exchange_and_add_body): Likewise.
15210 (__arch_add_body): Likewise.
15211 (atomic_add_negative): Likewise.
15212 (atomic_add_zero): Likewise.
15213
4cf77aa9
JM
152142012-11-26 Joseph Myers <joseph@codesourcery.com>
15215
15216 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15217 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15218 (add_fdes): Likewise.
15219 (linear_search_fdes): Likewise.
15220 (binary_search_unencoded_fdes): Likewise.
15221
d260b3b4
AS
152222012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15223
15224 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15225
67060746
AC
152262012-11-24 Adam Conrad <adconrad@0c3.net>
15227
15228 * configure.in: Autodetect C++ header directories.
15229 * configure: Regenerated.
15230
800938a1
MF
152312012-11-23 Mike Frysinger <vapier@gentoo.org>
15232
15233 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15234
4e6e34e6
AS
152352012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15236
15237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15238
7c7feb47
JM
152392012-11-22 Joseph Myers <joseph@codesourcery.com>
15240
7184dcdf
JM
15241 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15242 LDBL_MANT_DIG == 106]: Disable some tests.
15243 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15244 Likewise.
15245 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15246 Likewise.
15247
0a42601f
JM
15248 [BZ #14871]
15249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15250 input for small inputs. Return +/- pi/2 for large inputs.
15251 * math/libm-test.inc (atan_test): Add more tests.
15252
79c9b9fe
JM
15253 * sysdeps/generic/unwind-dw2-fde-glibc.c
15254 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15255 __attribute__ ((unused)).
15256
c60d3bf2
JM
15257 [BZ #14645]
15258 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15259 x * y if x and y are nonzero and z is zero.
15260
ef1e0867
JM
15261 [BZ #14811]
15262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15263 nonzero exponents with absolute value below 0x1p-117 to +/-
15264 0x1p-117.
15265
1468ded3
JM
15266 [BZ #14869]
15267 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15268 up arguments below 2**-450, not just those below 2**-500.
15269 * math/libm-test.inc (hypot_test): Add another test.
15270
8e27e3cc
JM
15271 [BZ #14868]
15272 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15273 Return a+b for ratio over 2**120, not 2**60.
15274 * math/libm-test.inc (hypot_test): Add another test.
15275
c9c0279b
JM
15276 * math/libm-test.inc (clog_test): Use
15277 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15278 (clog10_test): Likewise.
15279
7c7feb47
JM
15280 [BZ #6778]
15281 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15282
fff1530e
AS
152832012-11-22 Andreas Schwab <schwab@suse.de>
15284
15285 * sysdeps/i386/fpu/libm-test-ulps: Update.
15286
94558d30
PT
152872012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15288
15289 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15290 printf output with newline.
15291
7e1be741
L
152922012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15293
6bfea974
L
15294 [BZ #14865]
15295 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15296 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15297 -z nodlopen, -z initfirst and -z execstack support.
15298 * configure: Regenerated.
15299
7e1be741
L
15300 * elf/elf.h (DF_1_NODIRECT): New macro.
15301 (DF_1_IGNMULDEF): Likewise.
15302 (DF_1_NOKSYMS): Likewise.
15303 (DF_1_NOHDR): Likewise.
15304 (DF_1_EDITED): Likewise.
15305 (DF_1_NORELOC): Likewise.
15306 (DF_1_SYMINTPOSE): Likewise.
15307 (DF_1_GLOBAUDIT): Likewise.
15308 (DF_1_SINGLETON): Likewise.
15309 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15310 DT_1_SUPPORTED_MASK bits.
15311 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15312
105ce2ce
CD
153132012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15314
15315 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15316
123be9de
TS
153172012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15318
d072f3f7
TS
15319 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15320 macro.
15321
123be9de
TS
15322 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15323 (sendmmsg): Move declarations...
15324 * socket/sys/socket.h: ... here.
15325 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15326 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15327 include it from...
15328 * socket/recvmmsg.c: ... this new file.
15329 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15330 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15331 definition of __sendmmsg hidden.
15332 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15333 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15334 Move ENOSYS stub into and include it from...
15335 * socket/sendmmsg.c: ... this new file.
15336 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15337 (sysdep_routines): Move recvmmsg and sendmmsg...
15338 * socket/Makefile (routines): ... here.
15339 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15340 (GLIBC_PRIVATE): Add __sendmmsg.
15341 * include/sys/socket.h (__sendmmsg): Add declarations.
15342 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15343 sendmmsg.
15344
cf9a5d18
JM
153452012-11-20 Joseph Myers <joseph@codesourcery.com>
15346
15347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15348 variable I1 with __attribute__ ((unused)).
15349 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15350
ecd4caf9
JM
153512012-11-19 Joseph Myers <joseph@codesourcery.com>
15352
be14d48f
JM
15353 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15354 DUMMY variables with __attribute__ ((unused)).
15355
ecd4caf9
JM
15356 * bits/byteswap.h: Include <bits/types.h>.
15357 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15358
986cab95
PT
153592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15360
15361 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15362 string_t. Do not manually set errno.
15363 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15364 length with __strnlen. Make sure to both set errno and return it on
15365 failure.
15366
6d33cc9d
DM
153672012-11-19 David S. Miller <davem@davemloft.net>
15368
15369 With help from Joseph Myers.
15370 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15371 very large arguments properly.
15372 * math/libm-test.inc (atan_test): New tests.
15373 (atan2_test): New tests.
15374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15376
ee663277
JM
153772012-11-19 Joseph Myers <joseph@codesourcery.com>
15378
877f2d8e
JM
15379 [BZ #14856]
15380 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15381 Define to 3.
15382
116fc08a
JM
15383 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15384 [POSIX] (EADDRNOTAVAIL): Likewise.
15385 [POSIX] (EAFNOSUPPORT): Likewise.
15386 [POSIX] (EALREADY): Likewise.
15387 [POSIX] (ECONNABORTED): Likewise.
15388 [POSIX] (ECONNREFUSED): Likewise.
15389 [POSIX] (ECONNRESET): Likewise.
15390 [POSIX] (EDESTADDRREQ): Likewise.
15391 [POSIX] (EDQUOT): Likewise.
15392 [POSIX] (EHOSTUNREACH): Likewise.
15393 [POSIX] (EIDRM): Likewise.
15394 [POSIX] (EISCONN): Likewise.
15395 [POSIX] (ELOOP): Likewise.
15396 [POSIX] (EMULTIHOP): Likewise.
15397 [POSIX] (ENETDOWN): Likewise.
15398 [POSIX] (ENETUNREACH): Likewise.
15399 [POSIX] (ENOBUFS): Likewise.
15400 [POSIX] (ENODATA): Likewise.
15401 [POSIX] (ENOLINK): Likewise.
15402 [POSIX] (ENOMSG): Likewise.
15403 [POSIX] (ENOPROTOOPT): Likewise.
15404 [POSIX] (ENOSR): Likewise.
15405 [POSIX] (ENOSTR): Likewise.
15406 [POSIX] (ENOTCONN): Likewise.
15407 [POSIX] (ENOTSOCK): Likewise.
15408 [POSIX] (EOPNOTSUPP): Likewise.
15409 [POSIX] (EOVERFLOW): Likewise.
15410 [POSIX] (EPROTO): Likewise.
15411 [POSIX] (EPROTONOSUPPORT): Likewise.
15412 [POSIX] (EPROTOTYPE): Likewise.
15413 [POSIX] (ESTALE): Likewise.
15414 [POSIX] (ETIME): Likewise.
15415 [POSIX] (ETXTBSY): Likewise.
15416 [POSIX] (EWOULDBLOCK): Likewise.
15417 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15418 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15419 [POSIX] (SEEK_CUR): Likewise.
15420 [POSIX] (SEEK_END): Likewise.
15421 [POSIX || UNIX98] (mode_t): Do not require.
15422 [POSIX] (off_t): Likewise.
15423 [POSIX] (pid_t): Likewise.
15424 [POSIX] (sys/stat.h): Do not allow header.
15425 [POSIX] (unistd.h): Likewise.
15426 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15427 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15428 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15429 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15430 require.
15431 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15432 sigevent): Specify elements.
15433 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15434 entry.
15435 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15436 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15437
a483863f
JM
15438 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15439 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15440 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15441 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15442 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15443 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15444 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15445 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15446 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15447 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15448 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15449 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15450 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15451 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15452 Likewise.
15453 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15454 Likewise.
15455 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15456 Likewise.
15457 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15458 Likewise.
15459 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15460 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15461 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15462 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15463 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15464 Specify lower bound on value.
15465 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15466 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15467 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15468 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15469 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15470 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15471 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15472 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15473 value.
15474 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15475 as optional.
15476 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15477 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15478 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15479 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15480 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15481 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15482 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15483 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15484 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15485 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15486 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15487 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15488 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15489 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15490 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15491 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15492 entry.
15493 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15494 optional.
15495 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15496 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15497 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15498 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15499 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15501 Likewise.
15502 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15504 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15505 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15506 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15507 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15508 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15509 as optional.
15510 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15511 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15512 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15513 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15514 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15515 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15516 specify as optional.
15517 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15518 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15519 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15520 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15521 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15522 [XPG3] (NL_LANGMAX): Likewise.
15523 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15524 [POSIX || XPG3] (NL_NMAX): Likewise.
15525 [POSIX || XPG3] (NL_SETMAX): Likewise.
15526 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15527 [XPG3] (NZERO): Likewise.
15528 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15529 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15530 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15531 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15532 (REG_ERANGE): Expect.
15533 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15534 optional-constant.
15535 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15536 Use (void) in prototype.
15537 [POSIX] (*_t): Allow.
15538 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15539 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15540 (WRDE_BADVAL): Expect.
15541
5ba924e3
JM
15542 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15543 expect.
15544 [XPG3 || XPG4] (O_RSYNC): Likewise.
15545 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15546 Likewise.
15547 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15548 [XPG3 || XPG4] (sigqueue): Likewise.
15549 [XPG3 || XPG4] (sigtimedwait): Likewise.
15550 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15551 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15552 [XPG3 || XPG4] (vsnprintf): Likewise.
15553 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15554 Likewise.
15555 [XPG3 || XPG4] (blksize_t): Likewise.
15556 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15557 Likewise.
15558 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15559 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15560 [XPG3 || XPG4] (struct itimerspec): Likewise.
15561 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15562 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15563 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15564 [XPG3 || XPG4] (clockid_t): Likewise.
15565 [XPG3 || XPG4] (timer_t): Likewise.
15566 [XPG3 || XPG4] (clock_getres): Likewise.
15567 [XPG3 || XPG4] (clock_gettime): Likewise.
15568 [XPG3 || XPG4] (clock_settime): Likewise.
15569 [XPG3 || XPG4] (nanosleep): Likewise.
15570 [XPG3 || XPG4] (timer_create): Likewise.
15571 [XPG3 || XPG4] (timer_delete): Likewise.
15572 [XPG3 || XPG4] (timer_gettime): Likewise.
15573 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15574 [XPG3 || XPG4] (timer_settime): Likewise.
15575 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15576 [XPG3 || XPG4] (getlogin_r): Likewise.
15577 [XPG3 || XPG4] (pread): Likewise.
15578 [XPG3 || XPG4] (pthread_atfork): Likewise.
15579 [XPG3 || XPG4] (pwrite): Likewise.
15580
ee663277
JM
15581 [BZ #14835]
15582 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15583 <bits/siginfo.h>.
15584
942caa16
PT
155852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15586
e19af380
PT
15587 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15588 finalizing MALLSTREAM.
15589
942caa16
PT
15590 * sysdeps/mach/hurd/syncfs.c: New file.
15591
cfde9b46
SP
155922012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15593
15594 [BZ #14719]
15595 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15596 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15597 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15598 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15599 (_nss_dns_gethostbyname4_r): Likewise.
15600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15601 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15602
f6da27e5
PH
156032012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15604
15605 [BZ #13763]
15606 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15607
6665d4a2
SM
156082012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15609
1f51ee92
SM
15610 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15611 * elf/cache.c (print_entry): Print ",AArch64" for
15612 FLAG_AARCH64_LIB64
15613
6665d4a2
SM
15614 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15615 * elf/cache.c (print_entry): Print ",hard-float" for
15616 FLAG_ARM_LIBHF.
15617
05b227bd
DM
156182012-11-18 David S. Miller <davem@davemloft.net>
15619
15620 With help from Joseph Myers.
15621 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15622 cutoff to 2**-13.
15623 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15624 cutoff to 2**-25.
15625 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15626 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15627 small.
15628 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15629 * math/libm-test.inc (y0_test): New tests.
15630 (y1_test): New tests.
15631 * sysdeps/i386/fpu/libm-test-ulps: Update.
15632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15634
786b0b67
AS
156352012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15636
15637 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15638 64-bit targets.
15639 * configure: Regenerated.
15640
8e18b86d
DM
156412012-11-17 David S. Miller <davem@davemloft.net>
15642
15643 [BZ #14811]
15644 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15645 nonzero exponents with absolute value below 0x1p-128 to +/-
15646 0x1p-128.
15647
531f1ae0
JM
156482012-11-17 Joseph Myers <joseph@codesourcery.com>
15649
12df29e2
JM
15650 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15651
150dc1a0
JM
15652 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15653
531f1ae0
JM
15654 * posix/getconf-speclist.c: New file.
15655 * posix/posix-envs.def: Likewise.
15656 * posix/confstr.c (START_ENV_GROUP): New macro.
15657 (END_ENV_GROUP): Likewise.
15658 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15659 (KNOWN_PRESENT_ENV_STRING): Likewise.
15660 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15661 (UNKNOWN_ENVIRONMENT): Likewise.
15662 (confstr): Include posix-envs.def instead of handling
15663 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15664 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15665 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15666 (END_ENV_GROUP): Likewise.
15667 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15668 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15669 (UNKNOWN_ENVIRONMENT): Likewise.
15670 (__sysconf): Include posix-envs.def instead of handling associated
15671 cases directly here.
15672 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15673 preprocessing getconf-speclist.c rather than running getconf or
15674 generating empty file.
15675
a93f9cbc
PT
156762012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15677
15678 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15679
d64d9f87
AL
156802012-11-16 Andrej Lajovic <natrij@gmail.com>
15681
15682 [BZ #14672]
15683 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15684
447885eb
DM
156852012-11-16 David S. Miller <davem@davemloft.net>
15686
15687 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15688 smaller than LDBL_EPSILON/2.0L, just return xm1.
15689
bcbf9830
L
156902012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15691
15692 * elf/tst-array1.c (init): Set constructor priority to 1000.
15693 (fini): Set destructor priority to 1000.
15694 * elf/tst-array2dep.c: Likewise.
15695
2b766585
SP
156962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15697
15698 [BZ #11741]
15699 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15700 (_IO_new_file_xsputn): Also return EOF if none of the input
15701 data was written when overflow failed.
15702 * libio/iopadn.c (_IO_padn): Likewise.
15703 * libio/iowpadn.c (_IO_wpadn): Likewise.
15704 * stdio-common/tst-put-error.c: Add copyright notice.
15705 (do_test): Add case for printing padded string.
15706 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15707 _IO_padn returned error.
15708 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15709 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15710 return EOF.
15711
b1848fde
SP
157122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15713
15714 * libio/libioP.h: Add comment note that the references to C++
15715 bits are now obsolete.
15716
2fd89785
MS
157172012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15718
15719 * math/libm-test.inc (check_complex): Use asprintf.
15720
e3ea5409
JM
157212012-11-14 Joseph Myers <joseph@codesourcery.com>
15722
15723 * debug/pcprofiledump.c (print_version): Update copyright year.
15724 * malloc/memusagestat.c (print_version): Likewise.
15725
2e64d265
L
157262012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15727
15728 [BZ #14831]
15729 * elf/Makefile (tests): Add tst-audit8.
15730 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15731 ($(objpfx)tst-audit8.out): New target.
15732 (tst-audit8-ENV): New variable.
15733 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15734 audit if l_reloc_result is NULL.
15735 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15736 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15737 * elf/tst-audit8.c: New file.
15738
c485e4d2
MS
157392012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15740
15741 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15742 * misc/Makefile (CFLAGS-select.c): Define.
15743 * posix/Makefile (CFLAGS-pause.c): Define.
15744
3a0d900a
DM
157452012-11-13 David S. Miller <davem@davemloft.net>
15746
15747 * crypt/Makefile: Move test targets after toplevel Rules
15748 inclusion. Grab any necessary sysdep routines when linking.
15749 * crypt/md5.c (md5_process_block): Remove define, we will always
15750 name it __md5_process_block.
15751 (md5_finish_ctx): Update md5_process_block call.
15752 (md5_stream): Likewise.
15753 (md5_process_bytes): Likewise.
15754 (md5_process_block): Rename to __md5_process_block and move to ...
15755 * crypt/md5-block.c: ... here.
15756 * crypt/sha256.c (sha256_process_block): Move to ...
15757 * crypt/sha256-block.c: ... here.
15758 * crypt/sha512.c (sha512_process_block): Move to ...
15759 * crypt/sha512-block.c: ... here.
15760 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15761 path.
15762 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15763 * sysdeps/sparc/sparc64/multiarch/Makefile
15764 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15765 crypt subdir.
15766 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15767 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15768 multiarch changes.
15769 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15770 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15771 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15772 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15773 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15774 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15775 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15776 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15777 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15778 file.
15779 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15780 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15781 file.
15782 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15783
8ca89318
JM
157842012-11-13 Joseph Myers <joseph@codesourcery.com>
15785
e27d476a
JM
15786 * timezone/tzselect.ksh: Update from tzcode git revision
15787 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15788 * timezone/zdump.c: Likewise.
15789 * timezone/zic.c: Likewise.
15790 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15791 in TZVERSION setting, not $(PKGVERSION).
15792 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15793 REPORT_BUGS_TO settings.
15794
8ca89318
JM
15795 [BZ #14838]
15796 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15797 macro.
15798
47594329
MS
157992012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15800
15801 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15802 detection to immediately after _FP_ROUND().
15803 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15804 bits are 0.
15805
640ac3f1
DM
158062012-11-11 David S. Miller <davem@davemloft.net>
15807
15808 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15809 inttypes.h
15810 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15811 __close rather than their public counterparts.
15812
3d2577bb
JM
158132012-11-10 Joseph Myers <joseph@codesourcery.com>
15814
15815 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15816 file.
15817 [UNIX98] (sem_timedwait): Do not expect.
15818 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15819 [XPG4 || UNIX98] (sockatmark): Do not expect.
15820 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15821 (clock_getcpuclockid): Do not expect.
15822 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15823 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15824 Do not expect.
15825 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15826 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15827 [UNIX98] (vwscanf): Likewise.
15828 [UNIX98] (vswscanf): Likewise.
15829
fb1ae1ee
JM
158302012-11-09 Joseph Myers <joseph@codesourcery.com>
15831
9ec6f8bd
JM
15832 * timezone/version.h: Remove file.
15833 * timezone/README: Do not refer to version.h.
15834 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15835 $(objpfx)version.h.
15836 ($(objpfx)zdump.o): Likewise.
c3f81911 15837 ($(objpfx)version.h): New target.
9ec6f8bd 15838
0aa8f8a1
JM
15839 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15840 2012i.
15841 * timezone/README: Don't mention modification to tzselect.ksh.
15842 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15843 work on unmodified tzselect.ksh. Substitute version numbers in
15844 tzselect.ksh.
15845
4e87147f
JM
15846 * Makefile (format-me): Remove.
15847 (INSTALL): Adjust indentation. Use commands directly instead of
15848 using $(format-me).
15849
8b748aed
JM
15850 * aclocal.m4 (ACX_PKGVERSION): New macro.
15851 (ACX_BUGURL): Likewise.
15852 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15853 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15854 (REPORT_BUGS_TO): Likewise.
15855 * configure: Regenerated.
15856 * config.h.in (PKGVERSION): New macro.
15857 (REPORT_BUGS_TO): Likewise.
15858 * config.make.in (PKGVERSION): New variable.
15859 (PKGVERSION_TEXI): Likewise.
15860 (REPORT_BUGS_TO): Likewise.
15861 (REPORT_BUGS_TEXI): Likewise.
15862 * Makefile (format-me): Use -I$(common-objpfx)manual.
15863 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15864 ($(common-objpfx)manual/%): New target.
15865 (manual/%): Remove target.
15866 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15867 (print_version): Use PKGVERSION.
15868 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15869 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15870 and REPORT_BUGS_TO.
15871 ($(objpfx)xtrace): Likewise.
15872 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15873 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15874 (print_version): Use PKGVERSION.
15875 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15876 (do_version): Use PKGVERSION.
15877 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15878 REPORT_BUGS_TO.
15879 (common-ldd-rewrite): Likewise.
15880 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15881 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15882 (print_version): Use PKGVERSION.
15883 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15884 * elf/pldd.c (argp_program_bug_address): Remove variable.
15885 (more_help): New function.
15886 (argp): Use more_help.
15887 (print_version): Use PKGVERSION.
15888 * elf/sln.c (main): Use PKGVERSION.
15889 (usage): Use REPORT_BUGS_TO.
15890 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15891 (top level): Use PKGVERSION.
15892 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15893 (print_version): Use PKGVERSION.
15894 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15895 (print_version): Use PKGVERSION.
15896 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15897 (print_version): Use PKGVERSION.
15898 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15899 (print_version): Use PKGVERSION.
15900 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15901 (print_version): Use PKGVERSION.
15902 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15903 (print_version): Use PKGVERSION.
15904 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15905 and BUGURL.
15906 ($(objpfx)memusage): Likewise.
15907 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15908 (do_version): Use PKGVERSION.
15909 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15910 (print_version): Use PKGVERSION.
15911 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15912 ($PKGVERSION): New variable.
15913 ($REPORT_BUGS_TO): Likewise.
15914 (usage): Use $REPORT_BUGS_TO.
15915 (top level): Use $PKGVERSION.
15916 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15917 ($(objpfx)pkgvers.texi): New rule.
15918 ($(objpfx)stamp-pkgvers): Likewise.
15919 * manual/install.texi: Include pkgvers.texi.
15920 (--with-pkgversion): Document new configure option.
15921 (--with-bugurl): Likewise.
15922 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15923 than necessarily for this particular distribution. Use
15924 REPORT_BUGS_TO for where to report bugs.
15925 * INSTALL: Regenerated.
15926 * manual/libc.texinfo: Include pkgvers.texi.
15927 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15928 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15929 (print_version): Use PKGVERSION.
15930 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15931 (print_version): Use PKGVERSION.
15932 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15933 (print_version): Use PKGVERSION.
15934 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15935 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15936 macro.
15937 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15938 (print_version): Use PKGVERSION.
15939 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15940 (print_version): Use PKGVERSION.
15941 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15942 and PKGVERSION.
15943
92e4b6a9
JM
15944 * timezone/checktab.awk: Update from tzcode 2012i.
15945 * timezone/ialloc.c: Likewise.
15946 * timezone/private.h: Likewise.
15947 * timezone/scheck.c: Likewise.
15948 * timezone/tzfile.h: Likewise.
15949 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15950 (TZVERSION): Hardcode tzcode version number.
15951 * timezone/zdump.c: Update from tzcode 2012i.
15952 * timezone/zic.c: Likewise.
15953 * timezone/version.h: New file.
15954 * timezone/README: Describe version.h. Update upstream location.
15955
9bde902c
JM
15956 [BZ #14824]
15957 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15958 (mktemp): Enable declaration.
15959 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15963 Likewise.
15964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15965 Likewise.
15966 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15967 Likewise.
15968 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15969 Likewise.
15970 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15971 Likewise.
15972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15973 Likewise.
15974
fb1ae1ee
JM
15975 [BZ #14821]
15976 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15977 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15978 for copies of such integer values.
15979 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15980 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15981
2c1adbcb
AJ
159822012-11-09 Andreas Jaeger <aj@suse.de>
15983
15984 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15985 definitions and declarations that are provided by
15986 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15987
d0f8457e
AK
159882012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15989
3a235abb 15990 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15991 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15992 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15993 definition.
15994
57241e26
MS
159952012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15996
15997 * elf/elf.h: Update comment before AArch64 relocations.
15998
60e8270d
DM
159992012-11-07 David S. Miller <davem@davemloft.net>
16000
16001 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16002 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16003 (__start_context): Declare.
16004 (__makecontext_ret): Delete.
16005 (__makecontext): Hook up __start_context instead of
16006 __makecontext_ret.
16007 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16008 (sysdep_routines): Add __start_context when in stdlib.
16009
0fbb0fbc
JM
160102012-11-07 Joseph Myers <joseph@codesourcery.com>
16011
16012 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16013 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16014 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16015 hardcoded "nm".
16016 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16017 (READELF): New variable. Use it instead of hardcoded "readelf".
16018
eb48db7e
L
160192012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16020
16021 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16022 * sysdeps/x86/Makefile: Here.
16023 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16024 * sysdeps/x86/tst-xmmymm.sh: This.
16025
05bcf62a
JM
160262012-11-07 Joseph Myers <joseph@codesourcery.com>
16027
c4b6cf53
JM
16028 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16029 expectations.
16030 [UNIX98] (pthread_barrier_t): Do not expect.
16031 [UNIX98] (pthread_barrierattr_t): Likewise.
16032 [UNIX98] (pthread_spinlock_t): Likewise.
16033 [UNIX98] (pthread_barrier_destroy): Likewise.
16034 [UNIX98] (pthread_barrier_init): Likewise.
16035 [UNIX98] (pthread_barrier_wait): Likewise.
16036 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16037 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16038 [UNIX98] (pthread_barrierattr_init): Likewise.
16039 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16040 [UNIX98] (pthread_getcpuclockid): Likewise.
16041 [UNIX98] (pthread_mutex_timedlock): Likewise.
16042 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16043 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16044 [UNIX98] (pthread_sigmask): Likewise.
16045 [UNIX98] (pthread_spin_destroy): Likewise.
16046 [UNIX98] (pthread_spin_init): Likewise.
16047 [UNIX98] (pthread_spin_lock): Likewise.
16048 [UNIX98] (pthread_spin_trylock): Likewise.
16049 [UNIX98] (pthread_spin_unlock): Likewise.
16050 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16051 Do not expect.
16052 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16054 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16055 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16056 [XPG3 || XPG4] (pthread_key_t): Likewise.
16057 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16058 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16059 [XPG3 || XPG4] (pthread_once_t): Likewise.
16060 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16061 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16062 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16063 [XPG3 || XPG4] (pthread_t): Likewise.
16064
cbe6e120
JM
16065 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16066 not expect.
16067 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16068
1b126443
JM
16069 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16070 Change function return type to int.
16071
b961a573
JM
16072 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16073 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16074 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16075 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16076 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16077 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16078 [!POSIX] (posix_madvise): Likewise.
16079 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16080 && !UNIX98].
16081 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16082 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16083 (mode_t): Likewise.
16084 (posix_mem_offset): Likewise.
16085 (posix_typed_mem_get_info): Likewise.
16086 (posix_typed_mem_open): Likewise.
16087
9e188909
JM
16088 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16089 Change condition to [XOPEN2K8].
16090
05bcf62a
JM
16091 * conform/conformtest.pl: Preprocess allow-header data with -x c
16092 instead of from stdin.
16093 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16094 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16095 [C99-based standards] (cerfc): Likewise.
16096 [C99-based standards] (cexp2): Likewise.
16097 [C99-based standards] (cexpm1): Likewise.
16098 [C99-based standards] (clog10): Likewise.
16099 [C99-based standards] (clog1p): Likewise.
16100 [C99-based standards] (clog2): Likewise.
16101 [C99-based standards] (clgamma): Likewise.
16102 [C99-based standards] (ctgamma): Likewise.
16103 [C99-based standards] (cerff): Likewise.
16104 [C99-based standards] (cerfcf): Likewise.
16105 [C99-based standards] (cexp2f): Likewise.
16106 [C99-based standards] (cexpm1f): Likewise.
16107 [C99-based standards] (clog10f): Likewise.
16108 [C99-based standards] (clog1pf): Likewise.
16109 [C99-based standards] (clog2f): Likewise.
16110 [C99-based standards] (clgammaf): Likewise.
16111 [C99-based standards] (ctgammaf): Likewise.
16112 [C99-based standards] (cerfl): Likewise.
16113 [C99-based standards] (cerfcl): Likewise.
16114 [C99-based standards] (cexp2l): Likewise.
16115 [C99-based standards] (cexpm1l): Likewise.
16116 [C99-based standards] (clog10l): Likewise.
16117 [C99-based standards] (clog1pl): Likewise.
16118 [C99-based standards] (clog2l): Likewise.
16119 [C99-based standards] (clgammal): Likewise.
16120 [C99-based standards] (ctgammal): Likewise.
16121 * conform/data/inttypes.h-data [C99-based standards]: Include
16122 stdint.h-data. Remove all expectations for stdint.h contents.
16123 [C99-based standards] (PRI*): Do not allow.
16124 [C99-based standards] (SCN*): Likewise.
16125 [C99-based standards] (*_t): Likewise.
16126 [C99-based-standards] (PRId8): Expect macro.
16127 [C99-based-standards] (PRIi8): Likewise.
16128 [C99-based-standards] (PRIo8): Likewise.
16129 [C99-based-standards] (PRIu8): Likewise.
16130 [C99-based-standards] (PRIx8): Likewise.
16131 [C99-based-standards] (PRIX8): Likewise.
16132 [C99-based-standards] (SCNd8): Likewise.
16133 [C99-based-standards] (SCNi8): Likewise.
16134 [C99-based-standards] (SCNo8): Likewise.
16135 [C99-based-standards] (SCNu8): Likewise.
16136 [C99-based-standards] (SCNx8): Likewise.
16137 [C99-based-standards] (PRIdLEAST8): Likewise.
16138 [C99-based-standards] (PRIiLEAST8): Likewise.
16139 [C99-based-standards] (PRIoLEAST8): Likewise.
16140 [C99-based-standards] (PRIuLEAST8): Likewise.
16141 [C99-based-standards] (PRIxLEAST8): Likewise.
16142 [C99-based-standards] (PRIXLEAST8): Likewise.
16143 [C99-based-standards] (SCNdLEAST8): Likewise.
16144 [C99-based-standards] (SCNiLEAST8): Likewise.
16145 [C99-based-standards] (SCNoLEAST8): Likewise.
16146 [C99-based-standards] (SCNuLEAST8): Likewise.
16147 [C99-based-standards] (SCNxLEAST8): Likewise.
16148 [C99-based-standards] (PRIdFAST8): Likewise.
16149 [C99-based-standards] (PRIiFAST8): Likewise.
16150 [C99-based-standards] (PRIoFAST8): Likewise.
16151 [C99-based-standards] (PRIuFAST8): Likewise.
16152 [C99-based-standards] (PRIxFAST8): Likewise.
16153 [C99-based-standards] (PRIXFAST8): Likewise.
16154 [C99-based-standards] (SCNdFAST8): Likewise.
16155 [C99-based-standards] (SCNiFAST8): Likewise.
16156 [C99-based-standards] (SCNoFAST8): Likewise.
16157 [C99-based-standards] (SCNuFAST8): Likewise.
16158 [C99-based-standards] (SCNxFAST8): Likewise.
16159 [C99-based-standards] (PRId16): Likewise.
16160 [C99-based-standards] (PRIi16): Likewise.
16161 [C99-based-standards] (PRIo16): Likewise.
16162 [C99-based-standards] (PRIu16): Likewise.
16163 [C99-based-standards] (PRIx16): Likewise.
16164 [C99-based-standards] (PRIX16): Likewise.
16165 [C99-based-standards] (SCNd16): Likewise.
16166 [C99-based-standards] (SCNi16): Likewise.
16167 [C99-based-standards] (SCNo16): Likewise.
16168 [C99-based-standards] (SCNu16): Likewise.
16169 [C99-based-standards] (SCNx16): Likewise.
16170 [C99-based-standards] (PRIdLEAST16): Likewise.
16171 [C99-based-standards] (PRIiLEAST16): Likewise.
16172 [C99-based-standards] (PRIoLEAST16): Likewise.
16173 [C99-based-standards] (PRIuLEAST16): Likewise.
16174 [C99-based-standards] (PRIxLEAST16): Likewise.
16175 [C99-based-standards] (PRIXLEAST16): Likewise.
16176 [C99-based-standards] (SCNdLEAST16): Likewise.
16177 [C99-based-standards] (SCNiLEAST16): Likewise.
16178 [C99-based-standards] (SCNoLEAST16): Likewise.
16179 [C99-based-standards] (SCNuLEAST16): Likewise.
16180 [C99-based-standards] (SCNxLEAST16): Likewise.
16181 [C99-based-standards] (PRIdFAST16): Likewise.
16182 [C99-based-standards] (PRIiFAST16): Likewise.
16183 [C99-based-standards] (PRIoFAST16): Likewise.
16184 [C99-based-standards] (PRIuFAST16): Likewise.
16185 [C99-based-standards] (PRIxFAST16): Likewise.
16186 [C99-based-standards] (PRIXFAST16): Likewise.
16187 [C99-based-standards] (SCNdFAST16): Likewise.
16188 [C99-based-standards] (SCNiFAST16): Likewise.
16189 [C99-based-standards] (SCNoFAST16): Likewise.
16190 [C99-based-standards] (SCNuFAST16): Likewise.
16191 [C99-based-standards] (SCNxFAST16): Likewise.
16192 [C99-based-standards] (PRId32): Likewise.
16193 [C99-based-standards] (PRIi32): Likewise.
16194 [C99-based-standards] (PRIo32): Likewise.
16195 [C99-based-standards] (PRIu32): Likewise.
16196 [C99-based-standards] (PRIx32): Likewise.
16197 [C99-based-standards] (PRIX32): Likewise.
16198 [C99-based-standards] (SCNd32): Likewise.
16199 [C99-based-standards] (SCNi32): Likewise.
16200 [C99-based-standards] (SCNo32): Likewise.
16201 [C99-based-standards] (SCNu32): Likewise.
16202 [C99-based-standards] (SCNx32): Likewise.
16203 [C99-based-standards] (PRIdLEAST32): Likewise.
16204 [C99-based-standards] (PRIiLEAST32): Likewise.
16205 [C99-based-standards] (PRIoLEAST32): Likewise.
16206 [C99-based-standards] (PRIuLEAST32): Likewise.
16207 [C99-based-standards] (PRIxLEAST32): Likewise.
16208 [C99-based-standards] (PRIXLEAST32): Likewise.
16209 [C99-based-standards] (SCNdLEAST32): Likewise.
16210 [C99-based-standards] (SCNiLEAST32): Likewise.
16211 [C99-based-standards] (SCNoLEAST32): Likewise.
16212 [C99-based-standards] (SCNuLEAST32): Likewise.
16213 [C99-based-standards] (SCNxLEAST32): Likewise.
16214 [C99-based-standards] (PRIdFAST32): Likewise.
16215 [C99-based-standards] (PRIiFAST32): Likewise.
16216 [C99-based-standards] (PRIoFAST32): Likewise.
16217 [C99-based-standards] (PRIuFAST32): Likewise.
16218 [C99-based-standards] (PRIxFAST32): Likewise.
16219 [C99-based-standards] (PRIXFAST32): Likewise.
16220 [C99-based-standards] (SCNdFAST32): Likewise.
16221 [C99-based-standards] (SCNiFAST32): Likewise.
16222 [C99-based-standards] (SCNoFAST32): Likewise.
16223 [C99-based-standards] (SCNuFAST32): Likewise.
16224 [C99-based-standards] (SCNxFAST32): Likewise.
16225 [C99-based-standards] (PRId64): Likewise.
16226 [C99-based-standards] (PRIi64): Likewise.
16227 [C99-based-standards] (PRIo64): Likewise.
16228 [C99-based-standards] (PRIu64): Likewise.
16229 [C99-based-standards] (PRIx64): Likewise.
16230 [C99-based-standards] (PRIX64): Likewise.
16231 [C99-based-standards] (SCNd64): Likewise.
16232 [C99-based-standards] (SCNi64): Likewise.
16233 [C99-based-standards] (SCNo64): Likewise.
16234 [C99-based-standards] (SCNu64): Likewise.
16235 [C99-based-standards] (SCNx64): Likewise.
16236 [C99-based-standards] (PRIdLEAST64): Likewise.
16237 [C99-based-standards] (PRIiLEAST64): Likewise.
16238 [C99-based-standards] (PRIoLEAST64): Likewise.
16239 [C99-based-standards] (PRIuLEAST64): Likewise.
16240 [C99-based-standards] (PRIxLEAST64): Likewise.
16241 [C99-based-standards] (PRIXLEAST64): Likewise.
16242 [C99-based-standards] (SCNdLEAST64): Likewise.
16243 [C99-based-standards] (SCNiLEAST64): Likewise.
16244 [C99-based-standards] (SCNoLEAST64): Likewise.
16245 [C99-based-standards] (SCNuLEAST64): Likewise.
16246 [C99-based-standards] (SCNxLEAST64): Likewise.
16247 [C99-based-standards] (PRIdFAST64): Likewise.
16248 [C99-based-standards] (PRIiFAST64): Likewise.
16249 [C99-based-standards] (PRIoFAST64): Likewise.
16250 [C99-based-standards] (PRIuFAST64): Likewise.
16251 [C99-based-standards] (PRIxFAST64): Likewise.
16252 [C99-based-standards] (PRIXFAST64): Likewise.
16253 [C99-based-standards] (SCNdFAST64): Likewise.
16254 [C99-based-standards] (SCNiFAST64): Likewise.
16255 [C99-based-standards] (SCNoFAST64): Likewise.
16256 [C99-based-standards] (SCNuFAST64): Likewise.
16257 [C99-based-standards] (SCNxFAST64): Likewise.
16258 [C99-based-standards] (PRIdMAX): Likewise.
16259 [C99-based-standards] (PRIiMAX): Likewise.
16260 [C99-based-standards] (PRIoMAX): Likewise.
16261 [C99-based-standards] (PRIuMAX): Likewise.
16262 [C99-based-standards] (PRIxMAX): Likewise.
16263 [C99-based-standards] (PRIXMAX): Likewise.
16264 [C99-based-standards] (SCNdMAX): Likewise.
16265 [C99-based-standards] (SCNiMAX): Likewise.
16266 [C99-based-standards] (SCNoMAX): Likewise.
16267 [C99-based-standards] (SCNuMAX): Likewise.
16268 [C99-based-standards] (SCNxMAX): Likewise.
16269 [C99-based-standards] (PRIdPTR): Likewise.
16270 [C99-based-standards] (PRIiPTR): Likewise.
16271 [C99-based-standards] (PRIoPTR): Likewise.
16272 [C99-based-standards] (PRIuPTR): Likewise.
16273 [C99-based-standards] (PRIxPTR): Likewise.
16274 [C99-based-standards] (PRIXPTR): Likewise.
16275 [C99-based-standards] (SCNdPTR): Likewise.
16276 [C99-based-standards] (SCNiPTR): Likewise.
16277 [C99-based-standards] (SCNoPTR): Likewise.
16278 [C99-based-standards] (SCNuPTR): Likewise.
16279 [C99-based-standards] (SCNxPTR): Likewise.
16280 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16281 allow.
16282 * conform/data/stdint.h-data: Update comments to clarify
16283 requirements.
16284 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16285 type.
16286 [C99-based standards] (INT8_MAX): Likewise.
16287 [C99-based standards] (INT16_MIN): Likewise.
16288 [C99-based standards] (INT16_MAX): Likewise.
16289 [C99-based standards] (INT32_MIN): Likewise.
16290 [C99-based standards] (INT32_MAX): Likewise.
16291 [C99-based standards] (INT64_MIN): Likewise.
16292 [C99-based standards] (INT64_MAX): Likewise.
16293 [C99-based standards] (UINT8_MAX): Likewise.
16294 [C99-based standards] (UINT16_MAX): Likewise.
16295 [C99-based standards] (UINT32_MAX): Likewise.
16296 [C99-based standards] (UINT64_MAX): Likewise.
16297 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16298 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16299 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16300 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16301 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16302 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16303 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16304 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16305 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16306 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16307 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16308 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16309 [C99-based standards] (INT_FAST8_MIN): Likewise.
16310 [C99-based standards] (INT_FAST8_MAX): Likewise.
16311 [C99-based standards] (INT_FAST16_MIN): Likewise.
16312 [C99-based standards] (INT_FAST16_MAX): Likewise.
16313 [C99-based standards] (INT_FAST32_MIN): Likewise.
16314 [C99-based standards] (INT_FAST32_MAX): Likewise.
16315 [C99-based standards] (INT_FAST64_MIN): Likewise.
16316 [C99-based standards] (INT_FAST64_MAX): Likewise.
16317 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16318 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16319 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16320 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16321 [C99-based standards] (INTPTR_MIN): Likewise.
16322 [C99-based standards] (INTPTR_MAX): Likewise.
16323 [C99-based standards] (UINTPTR_MAX): Likewise.
16324 [C99-based standards] (INTMAX_MIN): Likewise.
16325 [C99-based standards] (INTMAX_MAX): Likewise.
16326 [C99-based standards] (UINTMAX_MAX): Likewise.
16327 [C99-based standards] (PTRDIFF_MIN): Likewise.
16328 [C99-based standards] (PTRDIFF_MAX): Likewise.
16329 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16330 [C99-based standards] (SIZE_MAX): Likewise.
16331 [C99-based standards] (WCHAR_MAX): Likewise.
16332 [C99-based standards] (WINT_MAX): Likewise.
16333 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16334 constraint on value.
16335 [C99-based standards] (WCHAR_MIN): Likewise.
16336 [C99-based standards] (WINT_MIN): Likewise.
16337 [C99-based standards] (*_t): Allow.
16338 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16339 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16340 Include math.h-data and complex.h-data. Remove all expectations
16341 of math.h and complex.h contents.
16342 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16343 at end of line.
16344 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16345 (struct tm): Expect tag.
16346 [C99-based-standards] (wcstof): Expect function.
16347 [C99-based-standards] (wcstold): Likewise.
16348 [C99-based-standards] (wcstoll): Likewise.
16349 [C99-based-standards] (wcstoull): Likewise.
16350 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16351 macro-int-constant. Specify type.
16352 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16353 constraint on value.
16354 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16355 Specify type.
16356 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16357 Specify value.
16358 [ISO C standards]: Do not allow headers.
16359 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16360 wcs[abcdefghijklmnopqrstuvwxyz]*.
16361 [ISO C standards] (*_t): Do not allow.
16362 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16363 Expect function.
16364 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16365 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16366 Specify type.
16367 [ISO C standards]: Do not allow headers.
16368 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16369 is[abcdefghijklmnopqrstuvwxyz]*.
16370 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16371 to[abcdefghijklmnopqrstuvwxyz]*.
16372 [ISO C standards] (*_t): Do not allow.
16373 * conform/data/stdalign.h-data: New file.
16374 * conform/data/stdbool.h-data: Likewise.
16375 * conform/data/stdnoreturn.h-data: Likewise.
16376
7514feb8
RM
163772012-11-07 Roland McGrath <roland@hack.frob.com>
16378
16379 [BZ #14815]
16380 * manual/filesys.texi (Directory Entries): Typo fix.
16381 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16382
19b2ecfc
MS
163832012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16384
16385 * elf/elf.h (EM_AARCH64): New macro.
16386 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16387 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16388 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16389 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16390 (R_AARCH64_TLSDESC): Likewise.
16391 (NT_ARM_TLS): Likewise.
16392 (NT_ARM_HW_BREAK): Likewise.
16393 (NT_ARM_HW_WATCH): Likewise.
16394
60e235ee
JM
163952012-11-07 Joseph Myers <joseph@codesourcery.com>
16396
16397 [BZ #14811]
16398 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16399 (__ieee754_powl): Saturate nonzero exponents with absolute value
16400 below 0x1p-79 to +/- 0x1p-79.
16401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16402 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16403 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16404 nonzero exponents with absolute value below 0x1p-32 to +/-
16405 0x1p-32.
16406 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16407 (__ieee754_powl): Saturate nonzero exponents with absolute value
16408 below 0x1p-79 to +/- 0x1p-79.
16409 * math/libm-test.inc (pow_test): Add more tests.
16410
0ab234b7
AK
164112012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16412
16413 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16414 _dl_s390_cap_flags with kernel. Increase string length.
16415 (_dl_s390_platforms): Add z196 and zEC12.
16416
45832f74
JM
164172012-11-07 Joseph Myers <joseph@codesourcery.com>
16418
16419 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16420 Change XOPEN21K to XOPEN2K.
16421
19218757
MK
164222012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16423
16424 * string/memmove.c: Use memcpy when possible.
16425
c5f45721
AJ
164262012-11-06 Andreas Jaeger <aj@suse.de>
16427
16428 * po/eo.po: Update from translation team.
16429
82477c28
JM
164302012-11-06 Joseph Myers <joseph@codesourcery.com>
16431
16432 [BZ #14793]
16433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16434 exponent and small x and y exponents, scale x or y up. Increase
16435 by 2 the exponent used in scaling up.
16436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16438 * math/libm-test.inc (fma_test): Add more tests.
16439 (fma_test_towardzero): Likewise.
16440 (fma_test_downward): Likewise.
16441 (fma_test_upward): Likewise.
16442
99252c8c
JM
164432012-11-05 Joseph Myers <joseph@codesourcery.com>
16444
acfa885f
JM
16445 [BZ #14805]
16446 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16447 fenv_t *.
16448
99252c8c
JM
16449 [BZ #14801]
16450 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16451 namespace for names of struct fields.
16452 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16453 fenv_t fields.
16454 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16455 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16456
d6d98dea
ST
164572012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16458
16459 [BZ #3665]
16460 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16461
e10bb107
TS
164622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16463
16464 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16465 PTR_DEMANGLE.
16466
16467 [BZ #5246]
16468 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16469 PTR_DEMANGLE.
16470
a0c2940d
JM
164712012-11-04 Joseph Myers <joseph@codesourcery.com>
16472
16473 [BZ #14797]
16474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16475 definitely overflow as x * y not x * y + z.
16476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16478 * math/libm-test.inc (fma_test): Add more tests.
16479 (fma_test_towardzero): Likewise.
16480 (fma_test_downward): Likewise.
16481 (fma_test_upward): Likewise.
16482
b830319d
TS
164832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16484
16485 [BZ #157]
16486
16487 * include/stub-tag.h: Remove file.
16488 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16489 '#include' of it.
16490 * manual/maint.texi (Porting): Don't reference it.
16491 * Makerules ($(objpfx)stubs): Likewise.
16492 * dirent/closedir.c: Don't include <stub-tag.h>.
16493 * dirent/dirfd.c: Likewise.
16494 * dirent/fdopendir.c: Likewise.
16495 * dirent/getdents.c: Likewise.
16496 * dirent/getdents64.c: Likewise.
16497 * dirent/opendir.c: Likewise.
16498 * dirent/readdir.c: Likewise.
16499 * dirent/readdir64.c: Likewise.
16500 * dirent/readdir64_r.c: Likewise.
16501 * dirent/readdir_r.c: Likewise.
16502 * dirent/rewinddir.c: Likewise.
16503 * dirent/seekdir.c: Likewise.
16504 * dirent/telldir.c: Likewise.
16505 * gmon/profil.c: Likewise.
16506 * grp/setgroups.c: Likewise.
16507 * inet/if_index.c: Likewise.
16508 * io/access.c: Likewise.
16509 * io/chdir.c: Likewise.
16510 * io/chmod.c: Likewise.
16511 * io/chown.c: Likewise.
16512 * io/close.c: Likewise.
16513 * io/dup.c: Likewise.
16514 * io/dup2.c: Likewise.
16515 * io/dup3.c: Likewise.
16516 * io/euidaccess.c: Likewise.
16517 * io/faccessat.c: Likewise.
16518 * io/fchdir.c: Likewise.
16519 * io/fchmod.c: Likewise.
16520 * io/fchmodat.c: Likewise.
16521 * io/fchown.c: Likewise.
16522 * io/fchownat.c: Likewise.
16523 * io/fcntl.c: Likewise.
16524 * io/flock.c: Likewise.
16525 * io/fstatfs.c: Likewise.
16526 * io/fstatfs64.c: Likewise.
16527 * io/fstatvfs.c: Likewise.
16528 * io/fstatvfs64.c: Likewise.
16529 * io/futimens.c: Likewise.
16530 * io/fxstat.c: Likewise.
16531 * io/fxstat64.c: Likewise.
16532 * io/fxstatat.c: Likewise.
16533 * io/fxstatat64.c: Likewise.
16534 * io/getcwd.c: Likewise.
16535 * io/isatty.c: Likewise.
16536 * io/lchmod.c: Likewise.
16537 * io/lchown.c: Likewise.
16538 * io/link.c: Likewise.
16539 * io/linkat.c: Likewise.
16540 * io/lseek.c: Likewise.
16541 * io/lseek64.c: Likewise.
16542 * io/lxstat64.c: Likewise.
16543 * io/mkdir.c: Likewise.
16544 * io/mkdirat.c: Likewise.
16545 * io/mkfifo.c: Likewise.
16546 * io/mkfifoat.c: Likewise.
16547 * io/open.c: Likewise.
16548 * io/open64.c: Likewise.
16549 * io/openat.c: Likewise.
16550 * io/openat64.c: Likewise.
16551 * io/pipe.c: Likewise.
16552 * io/pipe2.c: Likewise.
16553 * io/poll.c: Likewise.
16554 * io/posix_fadvise.c: Likewise.
16555 * io/posix_fadvise64.c: Likewise.
16556 * io/posix_fallocate.c: Likewise.
16557 * io/posix_fallocate64.c: Likewise.
16558 * io/read.c: Likewise.
16559 * io/readlink.c: Likewise.
16560 * io/readlinkat.c: Likewise.
16561 * io/rmdir.c: Likewise.
16562 * io/sendfile.c: Likewise.
16563 * io/sendfile64.c: Likewise.
16564 * io/statfs.c: Likewise.
16565 * io/statfs64.c: Likewise.
16566 * io/statvfs.c: Likewise.
16567 * io/statvfs64.c: Likewise.
16568 * io/symlink.c: Likewise.
16569 * io/symlinkat.c: Likewise.
16570 * io/ttyname.c: Likewise.
16571 * io/ttyname_r.c: Likewise.
16572 * io/umask.c: Likewise.
16573 * io/unlink.c: Likewise.
16574 * io/unlinkat.c: Likewise.
16575 * io/utime.c: Likewise.
16576 * io/utimensat.c: Likewise.
16577 * io/write.c: Likewise.
16578 * io/xmknod.c: Likewise.
16579 * io/xmknodat.c: Likewise.
16580 * io/xstat.c: Likewise.
16581 * io/xstat64.c: Likewise.
16582 * login/getpt.c: Likewise.
16583 * login/grantpt.c: Likewise.
16584 * login/unlockpt.c: Likewise.
16585 * math/e_acoshl.c: Likewise.
16586 * math/e_acosl.c: Likewise.
16587 * math/e_asinl.c: Likewise.
16588 * math/e_atan2l.c: Likewise.
16589 * math/e_atanhl.c: Likewise.
16590 * math/e_coshl.c: Likewise.
16591 * math/e_expl.c: Likewise.
16592 * math/e_fmodl.c: Likewise.
16593 * math/e_gammal_r.c: Likewise.
16594 * math/e_hypotl.c: Likewise.
16595 * math/e_j0l.c: Likewise.
16596 * math/e_j1l.c: Likewise.
16597 * math/e_jnl.c: Likewise.
16598 * math/e_lgammal_r.c: Likewise.
16599 * math/e_log10l.c: Likewise.
16600 * math/e_log2l.c: Likewise.
16601 * math/e_logl.c: Likewise.
16602 * math/e_powl.c: Likewise.
16603 * math/e_rem_pio2l.c: Likewise.
16604 * math/e_sinhl.c: Likewise.
16605 * math/e_sqrtl.c: Likewise.
16606 * math/fclrexcpt.c: Likewise.
16607 * math/fedisblxcpt.c: Likewise.
16608 * math/feenablxcpt.c: Likewise.
16609 * math/fegetenv.c: Likewise.
16610 * math/fegetexcept.c: Likewise.
16611 * math/fegetround.c: Likewise.
16612 * math/feholdexcpt.c: Likewise.
16613 * math/fesetenv.c: Likewise.
16614 * math/fesetround.c: Likewise.
16615 * math/feupdateenv.c: Likewise.
16616 * math/fgetexcptflg.c: Likewise.
16617 * math/fraiseexcpt.c: Likewise.
16618 * math/fsetexcptflg.c: Likewise.
16619 * math/ftestexcept.c: Likewise.
16620 * math/k_cosl.c: Likewise.
16621 * math/k_rem_pio2l.c: Likewise.
16622 * math/k_sinl.c: Likewise.
16623 * math/k_tanl.c: Likewise.
16624 * math/s_asinhl.c: Likewise.
16625 * math/s_atanl.c: Likewise.
16626 * math/s_cbrtl.c: Likewise.
16627 * math/s_erfl.c: Likewise.
16628 * math/s_expm1l.c: Likewise.
16629 * math/s_log1pl.c: Likewise.
16630 * math/s_tanhl.c: Likewise.
16631 * misc/acct.c: Likewise.
16632 * misc/brk.c: Likewise.
16633 * misc/chflags.c: Likewise.
16634 * misc/chroot.c: Likewise.
16635 * misc/fchflags.c: Likewise.
16636 * misc/fgetxattr.c: Likewise.
16637 * misc/flistxattr.c: Likewise.
16638 * misc/fremovexattr.c: Likewise.
16639 * misc/fsetxattr.c: Likewise.
16640 * misc/fsync.c: Likewise.
16641 * misc/ftruncate.c: Likewise.
16642 * misc/futimes.c: Likewise.
16643 * misc/futimesat.c: Likewise.
16644 * misc/getdomain.c: Likewise.
16645 * misc/getdtsz.c: Likewise.
16646 * misc/gethostid.c: Likewise.
16647 * misc/gethostname.c: Likewise.
16648 * misc/getloadavg.c: Likewise.
16649 * misc/getpagesize.c: Likewise.
16650 * misc/getsysstats.c: Likewise.
16651 * misc/getxattr.c: Likewise.
16652 * misc/gtty.c: Likewise.
16653 * misc/ioctl.c: Likewise.
16654 * misc/lgetxattr.c: Likewise.
16655 * misc/listxattr.c: Likewise.
16656 * misc/llistxattr.c: Likewise.
16657 * misc/lremovexattr.c: Likewise.
16658 * misc/lsetxattr.c: Likewise.
16659 * misc/lutimes.c: Likewise.
16660 * misc/madvise.c: Likewise.
16661 * misc/mincore.c: Likewise.
16662 * misc/mlock.c: Likewise.
16663 * misc/mlockall.c: Likewise.
16664 * misc/mmap.c: Likewise.
16665 * misc/mprotect.c: Likewise.
16666 * misc/msync.c: Likewise.
16667 * misc/munlock.c: Likewise.
16668 * misc/munlockall.c: Likewise.
16669 * misc/munmap.c: Likewise.
16670 * misc/preadv.c: Likewise.
16671 * misc/preadv64.c: Likewise.
16672 * misc/ptrace.c: Likewise.
16673 * misc/pwritev.c: Likewise.
16674 * misc/pwritev64.c: Likewise.
16675 * misc/readv.c: Likewise.
16676 * misc/reboot.c: Likewise.
16677 * misc/remap_file_pages.c: Likewise.
16678 * misc/removexattr.c: Likewise.
16679 * misc/revoke.c: Likewise.
16680 * misc/select.c: Likewise.
16681 * misc/setdomain.c: Likewise.
16682 * misc/setegid.c: Likewise.
16683 * misc/seteuid.c: Likewise.
16684 * misc/sethostid.c: Likewise.
16685 * misc/sethostname.c: Likewise.
16686 * misc/setregid.c: Likewise.
16687 * misc/setreuid.c: Likewise.
16688 * misc/setxattr.c: Likewise.
16689 * misc/sstk.c: Likewise.
16690 * misc/stty.c: Likewise.
16691 * misc/swapoff.c: Likewise.
16692 * misc/swapon.c: Likewise.
16693 * misc/sync.c: Likewise.
16694 * misc/syncfs.c: Likewise.
16695 * misc/syscall.c: Likewise.
16696 * misc/truncate.c: Likewise.
16697 * misc/ualarm.c: Likewise.
16698 * misc/usleep.c: Likewise.
16699 * misc/ustat.c: Likewise.
16700 * misc/utimes.c: Likewise.
16701 * misc/vhangup.c: Likewise.
16702 * misc/writev.c: Likewise.
16703 * posix/_exit.c: Likewise.
16704 * posix/alarm.c: Likewise.
16705 * posix/execve.c: Likewise.
16706 * posix/fexecve.c: Likewise.
16707 * posix/fork.c: Likewise.
16708 * posix/fpathconf.c: Likewise.
16709 * posix/getaddrinfo.c: Likewise.
16710 * posix/getegid.c: Likewise.
16711 * posix/geteuid.c: Likewise.
16712 * posix/getgid.c: Likewise.
16713 * posix/getgroups.c: Likewise.
16714 * posix/getlogin.c: Likewise.
16715 * posix/getlogin_r.c: Likewise.
16716 * posix/getpgid.c: Likewise.
16717 * posix/getpid.c: Likewise.
16718 * posix/getppid.c: Likewise.
16719 * posix/getresgid.c: Likewise.
16720 * posix/getresuid.c: Likewise.
16721 * posix/getsid.c: Likewise.
16722 * posix/getuid.c: Likewise.
16723 * posix/glob64.c: Likewise.
16724 * posix/nanosleep.c: Likewise.
16725 * posix/pathconf.c: Likewise.
16726 * posix/pause.c: Likewise.
16727 * posix/posix_madvise.c: Likewise.
16728 * posix/pread.c: Likewise.
16729 * posix/pread64.c: Likewise.
16730 * posix/pwrite.c: Likewise.
16731 * posix/pwrite64.c: Likewise.
16732 * posix/sched_getaffinity.c: Likewise.
16733 * posix/sched_getp.c: Likewise.
16734 * posix/sched_gets.c: Likewise.
16735 * posix/sched_primax.c: Likewise.
16736 * posix/sched_primin.c: Likewise.
16737 * posix/sched_rr_gi.c: Likewise.
16738 * posix/sched_setaffinity.c: Likewise.
16739 * posix/sched_setp.c: Likewise.
16740 * posix/sched_sets.c: Likewise.
16741 * posix/sched_yield.c: Likewise.
16742 * posix/setgid.c: Likewise.
16743 * posix/setlogin.c: Likewise.
16744 * posix/setpgid.c: Likewise.
16745 * posix/setresgid.c: Likewise.
16746 * posix/setresuid.c: Likewise.
16747 * posix/setsid.c: Likewise.
16748 * posix/setuid.c: Likewise.
16749 * posix/sleep.c: Likewise.
16750 * posix/spawni.c: Likewise.
16751 * posix/sysconf.c: Likewise.
16752 * posix/times.c: Likewise.
16753 * posix/wait.c: Likewise.
16754 * posix/wait3.c: Likewise.
16755 * posix/wait4.c: Likewise.
16756 * posix/waitpid.c: Likewise.
16757 * resolv/gai_sigqueue.c: Likewise.
16758 * resource/getpriority.c: Likewise.
16759 * resource/getrlimit.c: Likewise.
16760 * resource/getrusage.c: Likewise.
16761 * resource/nice.c: Likewise.
16762 * resource/setpriority.c: Likewise.
16763 * resource/setrlimit.c: Likewise.
16764 * resource/ulimit.c: Likewise.
16765 * rt/aio_cancel.c: Likewise.
16766 * rt/aio_fsync.c: Likewise.
16767 * rt/aio_read.c: Likewise.
16768 * rt/aio_sigqueue.c: Likewise.
16769 * rt/aio_suspend.c: Likewise.
16770 * rt/aio_write.c: Likewise.
16771 * rt/clock_getres.c: Likewise.
16772 * rt/clock_gettime.c: Likewise.
16773 * rt/clock_nanosleep.c: Likewise.
16774 * rt/clock_settime.c: Likewise.
16775 * rt/lio_listio.c: Likewise.
16776 * rt/mq_close.c: Likewise.
16777 * rt/mq_getattr.c: Likewise.
16778 * rt/mq_notify.c: Likewise.
16779 * rt/mq_open.c: Likewise.
16780 * rt/mq_receive.c: Likewise.
16781 * rt/mq_send.c: Likewise.
16782 * rt/mq_setattr.c: Likewise.
16783 * rt/mq_timedreceive.c: Likewise.
16784 * rt/mq_timedsend.c: Likewise.
16785 * rt/mq_unlink.c: Likewise.
16786 * rt/shm_open.c: Likewise.
16787 * rt/shm_unlink.c: Likewise.
16788 * rt/timer_create.c: Likewise.
16789 * rt/timer_delete.c: Likewise.
16790 * rt/timer_getoverr.c: Likewise.
16791 * rt/timer_gettime.c: Likewise.
16792 * rt/timer_settime.c: Likewise.
16793 * setjmp/__longjmp.c: Likewise.
16794 * setjmp/setjmp.c: Likewise.
16795 * signal/kill.c: Likewise.
16796 * signal/killpg.c: Likewise.
16797 * signal/raise.c: Likewise.
16798 * signal/sigaction.c: Likewise.
16799 * signal/sigaltstack.c: Likewise.
16800 * signal/sigblock.c: Likewise.
16801 * signal/sigignore.c: Likewise.
16802 * signal/sigintr.c: Likewise.
16803 * signal/signal.c: Likewise.
16804 * signal/sigpause.c: Likewise.
16805 * signal/sigpending.c: Likewise.
16806 * signal/sigqueue.c: Likewise.
16807 * signal/sigreturn.c: Likewise.
16808 * signal/sigset.c: Likewise.
16809 * signal/sigsetmask.c: Likewise.
16810 * signal/sigstack.c: Likewise.
16811 * signal/sigsuspend.c: Likewise.
16812 * signal/sigtimedwait.c: Likewise.
16813 * signal/sigvec.c: Likewise.
16814 * signal/sigwait.c: Likewise.
16815 * signal/sigwaitinfo.c: Likewise.
16816 * signal/sysv_signal.c: Likewise.
16817 * socket/accept.c: Likewise.
16818 * socket/accept4.c: Likewise.
16819 * socket/bind.c: Likewise.
16820 * socket/connect.c: Likewise.
16821 * socket/getpeername.c: Likewise.
16822 * socket/getsockname.c: Likewise.
16823 * socket/getsockopt.c: Likewise.
16824 * socket/isfdtype.c: Likewise.
16825 * socket/listen.c: Likewise.
16826 * socket/recv.c: Likewise.
16827 * socket/recvfrom.c: Likewise.
16828 * socket/recvmsg.c: Likewise.
16829 * socket/send.c: Likewise.
16830 * socket/sendmsg.c: Likewise.
16831 * socket/sendto.c: Likewise.
16832 * socket/setsockopt.c: Likewise.
16833 * socket/shutdown.c: Likewise.
16834 * socket/sockatmark.c: Likewise.
16835 * socket/socket.c: Likewise.
16836 * socket/socketpair.c: Likewise.
16837 * stdio-common/ctermid.c: Likewise.
16838 * stdio-common/cuserid.c: Likewise.
16839 * stdio-common/remove.c: Likewise.
16840 * stdio-common/rename.c: Likewise.
16841 * stdio-common/renameat.c: Likewise.
16842 * stdio-common/tempname.c: Likewise.
16843 * stdlib/getcontext.c: Likewise.
16844 * stdlib/makecontext.c: Likewise.
16845 * stdlib/setcontext.c: Likewise.
16846 * stdlib/swapcontext.c: Likewise.
16847 * stdlib/system.c: Likewise.
16848 * streams/fattach.c: Likewise.
16849 * streams/fdetach.c: Likewise.
16850 * streams/getmsg.c: Likewise.
16851 * streams/getpmsg.c: Likewise.
16852 * streams/putmsg.c: Likewise.
16853 * streams/putpmsg.c: Likewise.
16854 * sysdeps/unix/bsd/getpt.c: Likewise.
16855 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16856 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16857 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16859 Likewise.
16860 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16861 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16862 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16863 * sysvipc/msgctl.c: Likewise.
16864 * sysvipc/msgget.c: Likewise.
16865 * sysvipc/msgrcv.c: Likewise.
16866 * sysvipc/msgsnd.c: Likewise.
16867 * sysvipc/semctl.c: Likewise.
16868 * sysvipc/semget.c: Likewise.
16869 * sysvipc/semop.c: Likewise.
16870 * sysvipc/semtimedop.c: Likewise.
16871 * sysvipc/shmat.c: Likewise.
16872 * sysvipc/shmctl.c: Likewise.
16873 * sysvipc/shmdt.c: Likewise.
16874 * sysvipc/shmget.c: Likewise.
16875 * termios/tcdrain.c: Likewise.
16876 * termios/tcflow.c: Likewise.
16877 * termios/tcflush.c: Likewise.
16878 * termios/tcgetattr.c: Likewise.
16879 * termios/tcgetpgrp.c: Likewise.
16880 * termios/tcsendbrk.c: Likewise.
16881 * termios/tcsetattr.c: Likewise.
16882 * termios/tcsetpgrp.c: Likewise.
16883 * time/adjtime.c: Likewise.
16884 * time/clock.c: Likewise.
16885 * time/getitimer.c: Likewise.
16886 * time/gettimeofday.c: Likewise.
16887 * time/setitimer.c: Likewise.
16888 * time/settimeofday.c: Likewise.
16889 * time/stime.c: Likewise.
16890 * time/time.c: Likewise.
16891
168922012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16893
a20492cf
PT
16894 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16895 /usr/old/bin.
16896
72e182e3
PT
16897 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16898 instead of spaces.
16899 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16900
fbeafede
JM
169012012-11-03 Joseph Myers <joseph@codesourcery.com>
16902
5b5b04d6
JM
16903 [BZ #14796]
16904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16905 FE_TONEAREST before applying Dekker multiplication and Knuth
16906 addition. Clear inexact exceptions and check for exact zero
16907 results afterwards.
16908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16909 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16910 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16911 * math/libm-test.inc (fma_test): Add more tests.
16912 (fma_test_towardzero): Likewise.
16913 (fma_test_downward): Likewise.
16914 (fma_test_upward): Likewise.
16915 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16916 function.
16917 (libc_fesetround): New macro.
16918 (libc_fesetroundf): Likewise.
16919 (libc_fesetroundl): Likewise.
16920 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16921 function.
16922 (libc_fesetround_387): Likewise.
16923 (libc_fesetroundf): New macro.
16924 (libc_fesetround): Likewise.
16925 (libc_fesetroundl): Likewise.
16926 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16927 function.
16928 (libc_fesetroundf): New macro.
16929 (libc_fesetround): Likewise.
16930 (libc_fesetroundl): Likewise.
16931 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16932 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16933 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16934 libm_hidden_ver.
16935 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16936 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16937 libm_hidden_def.
16938 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16939 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16940 libm_hidden_ver.
16941 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16942 libm_hidden_def.
16943
fbeafede
JM
16944 [BZ #3439]
16945 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16946 integer constant usable in #if and use that to give value to enum
16947 constant.
16948 (FE_DIVBYZERO): Likewise.
16949 (FE_UNDERFLOW): Likewise.
16950 (FE_OVERFLOW): Likewise.
16951 (FE_INVALID): Likewise.
16952 (FE_INVALID_SNAN): Likewise.
16953 (FE_INVALID_ISI): Likewise.
16954 (FE_INVALID_IDI): Likewise.
16955 (FE_INVALID_ZDZ): Likewise.
16956 (FE_INVALID_IMZ): Likewise.
16957 (FE_INVALID_COMPARE): Likewise.
16958 (FE_INVALID_SOFTWARE): Likewise.
16959 (FE_INVALID_SQRT): Likewise.
16960 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16961 (FE_TONEAREST): Likewise.
16962 (FE_TOWARDZERO): Likewise.
16963 (FE_UPWARD): Likewise.
16964 (FE_DOWNWARD): Likewise.
16965 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16966 (FE_DIVBYZERO): Likewise.
16967 (FE_OVERFLOW): Likewise.
16968 (FE_UNDERFLOW): Likewise.
16969 (FE_INEXACT): Likewise.
16970 (FE_TONEAREST): Likewise.
16971 (FE_DOWNWARD): Likewise.
16972 (FE_UPWARD): Likewise.
16973 (FE_TOWARDZERO): Likewise.
16974 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16975 (FE_UNDERFLOW): Likewise.
16976 (FE_OVERFLOW): Likewise.
16977 (FE_DIVBYZERO): Likewise.
16978 (FE_INVALID): Likewise.
16979 (FE_TONEAREST): Likewise.
16980 (FE_TOWARDZERO): Likewise.
16981 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16982 (FE_OVERFLOW): Likewise.
16983 (FE_UNDERFLOW): Likewise.
16984 (FE_DIVBYZERO): Likewise.
16985 (FE_INEXACT): Likewise.
16986 (FE_TONEAREST): Likewise.
16987 (FE_TOWARDZERO): Likewise.
16988 (FE_UPWARD): Likewise.
16989 (FE_DOWNWARD): Likewise.
16990 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16991 (FE_DIVBYZERO): Likewise.
16992 (FE_OVERFLOW): Likewise.
16993 (FE_UNDERFLOW): Likewise.
16994 (FE_INEXACT): Likewise.
16995 (FE_TONEAREST): Likewise.
16996 (FE_DOWNWARD): Likewise.
16997 (FE_UPWARD): Likewise.
16998 (FE_TOWARDZERO): Likewise.
16999
105ca950
CM
170002012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17001
17002 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17003
a542b389
AS
170042012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17005
17006 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17007 commands. Quote $PWD.
17008 (blacklist_exports): Don't use remove_newlines. Replace "declare
17009 -x" by "export".
17010 (remove_newlines): Remove.
17011
f62c8abc
L
170122012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17013
17014 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17015 * stdlib/stdlib.h (atof): Moved to ...
17016 * include/bits/stdlib-float.h: Here. New file.
17017 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17018 * stdlib/bits/stdlib-float.h: New file.
17019 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17020 -mno-sse -mno-mmx.
17021 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17022 <xmmintrin.h>.
17023
0155d5b2
JM
170242012-11-02 Joseph Myers <joseph@codesourcery.com>
17025
a68d0680
JM
17026 * conform/conformtest.pl (@headers): Add fenv.h.
17027 * conform/data/fenv.h-data: New file.
17028 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17029 include of <math/fenv.h>.
17030
caf7f573
JM
17031 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17032 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17033 && !UNIX98]. Enables tests for XOPEN2K8.
17034 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17035 POSIX2008]: Likewise.
17036
6c073ad6
JM
17037 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17038 (struct rusage): Do not expect type or its members.
17039
0155d5b2
JM
17040 [BZ #3439]
17041 * math/math.h (FP_NAN): Define macro to integer constant usable in
17042 #if and use that to give value to enum constant.
17043 (FP_INFINITE): Likewise.
17044 (FP_ZERO): Likewise.
17045 (FP_SUBNORMAL): Likewise.
17046 (FP_NORMAL): Likewise.
17047
b5dcacb4
AS
170482012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17049
17050 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17051 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17052 arguments.
17053
f7934be8
RM
170542012-11-02 Roland McGrath <roland@hack.frob.com>
17055
17056 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17057 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17058 autoconf-time if not.
17059 * configure.in: Remove AC_PREREQ.
17060
d7d08bde
TMQMF
170612012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17062
17063 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17064 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17065 of the internal implementation.
17066
dcdae19a
JM
170672012-11-02 Joseph Myers <joseph@codesourcery.com>
17068
17069 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17070 except include of <misc/sys/syslog.h>.
17071
d6cffd3e
AS
170722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17073
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17075 function returns with a NULL context exit with zero.
17076
b3563932
TMQMF
170772012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17078
17079 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17080
b288a93d
L
170812012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17082
17083 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17084 (run_program_cmd): This.
17085 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17086 (tst_langinfo): New variable. Use it.
17087
a2421a68
SAS
170882012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17089
17090 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17091 floating point opcodes.
17092
6f796e1b
TS
170932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17094
7402596b
TS
17095 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17096 variable.
17097
d0d4f868
TS
17098 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17099
6f796e1b
TS
17100 * sysdeps/mach/hurd/powerpc: Remove directory.
17101 * sysdeps/mach/powerpc: Likewise.
17102
4da224a2
AS
171032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17104
17105 * scripts/check-local-headers.sh: Ignore c++ headers.
17106
341dd673
TS
171072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17108
17109 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17110 __libc_cleanup_region_start argument.
17111
473611b2
JM
171122012-11-01 Joseph Myers <joseph@codesourcery.com>
17113
17114 [BZ #14784]
17115 [BZ #14785]
17116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17117 x * y using scaling, not as x * y + z.
17118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17119 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17120 * math/libm-test.inc (fma_test): Add more tests.
17121 (fma_test_towardzero): Likewise.
17122 (fma_test_downward): Likewise.
17123 (fma_test_upward): Likewise.
17124
4078da3d
TS
171252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17126
17127 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17128
903252aa
JM
171292012-10-31 Joseph Myers <joseph@codesourcery.com>
17130
17131 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17132 New variable.
17133
cbc818d0
TS
171342012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17135
17136 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17137
5a03cb1e
AS
171382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17139
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17141 Fix sort order.
17142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17143 Likewise.
17144
90aff2ff
TMQMF
171452012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17146
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17148 Fix the order of the list for glibc 2.17.
17149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17150 Likewise.
17151
1818fcb7
AS
171522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17153
17154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17155
ef82f4da
JM
171562012-10-31 Joseph Myers <joseph@codesourcery.com>
17157
16a0e2ec
JM
17158 [BZ #14610]
17159 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17160 for low part of x being zero before using __atanl (y).
17161 * math/libm-test.inc (atan2_test): Add another test.
17162
0eb69512
JM
17163 * manual/install.texi (Configuring and compiling): Document
17164 general use of test-wrapper and test-wrapper-env.
17165 * INSTALL: Regenerated.
17166
ef82f4da
JM
17167 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17168 (__fma): Do not extract and scale down low bits on after-rounding
17169 systems when result rounded to normal precision would have normal
17170 exponent.
17171 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17172 (__fmal): Do not extract and scale down low bits on after-rounding
17173 systems when result rounded to normal precision would have normal
17174 exponent.
17175 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17176 (__fmal): Do not extract and scale down low bits on after-rounding
17177 systems when result rounded to normal precision would have normal
17178 exponent.
17179 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17180 macro.
17181 (fma_test): Add more tests.
17182 (fma_test_towardzero): Likewise.
17183 (fma_test_downward): Likewise.
17184 (fma_test_upward): Likewise.
17185
954ef0d9
L
171862012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17187
17188 * sysdeps/i386/tininess.h: Renamed to ...
17189 * sysdeps/x86/tininess.h: This.
17190 * sysdeps/x86_64/tininess.h: Removed.
17191
df61ffb2
JM
171922012-10-30 Joseph Myers <joseph@codesourcery.com>
17193
17194 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17195 input. Use $(build-program-cmd).
17196 ($(objpfx)tst-array1-static.out): Likewise.
17197 ($(objpfx)tst-array2.out): Likewise.
17198 ($(objpfx)tst-array3.out): Likewise.
17199 ($(objpfx)tst-array4.out): Likewise.
17200 ($(objpfx)tst-array5.out): Likewise.
17201 ($(objpfx)tst-array5-static.out): Likewise.
17202
01767843
CM
172032012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17204
47cc1490
CM
17205 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17206 if defined.
17207
01767843
CM
17208 * nss/nsswitch.h (nss_interface_function): Provide new
17209 macro for use with NSS functions.
17210 * grp/initgroups.c: Use new macro.
17211 * nss/getXXbyYY.c: Likewise.
17212 * nss/getXXbyYY_r.c: Likewise.
17213 * nss/getXXent.c: Likewise.
17214 * nss/getXXent_r.c: Likewise.
17215 * sysdeps/posix/getaddrinfo.c: Likewise.
17216
8321aa97
AJ
172172012-10-30 Andreas Jaeger <aj@suse.de>
17218
17219 * po/ru.po: Update Russion translation from translation project.
17220
2a27fd6d
JM
172212012-10-30 Joseph Myers <joseph@codesourcery.com>
17222
8627a232
JM
17223 [BZ #14152]
17224 [BZ #14783]
17225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17226 result and shift together with sticky bit instead of replicating
17227 round-to-nearest rounding.
17228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17230 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17231 missing underflow exceptions.
17232 (fma_test_towardzero): Add more tests.
17233 (fma_test_downward): Likewise.
17234 (fma_test_upward): Likewise.
17235
2a27fd6d
JM
17236 [BZ #14047]
17237 * sysdeps/generic/tininess.h: New file.
17238 * sysdeps/i386/tininess.h: Likewise.
17239 * sysdeps/sh/tininess.h: Likewise.
17240 * sysdeps/x86_64/tininess.h: Likewise.
17241 * stdlib/tst-strtod-underflow.c: Likewise.
17242 * stdlib/tst-tininess.c: Likewise.
17243 * stdlib/strtod_l.c: Include <tininess.h>.
17244 (round_and_return): Do not set errno for exact underflow cases.
17245 Force an underflow exception when setting errno for underflow.
17246 Determine underflow based on rounding to normal precision if
17247 TININESS_AFTER_ROUNDING.
17248 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17249 ERANGE for exact underflow cases.
17250 * stdlib/Makefile (tests): Add tst-tininess and
17251 tst-strtod-underflow.
17252 ($(objpfx)tst-tininess): Use $(link-libm).
17253 ($(objpfx)tst-strtod-underflow): Likewise.
17254
e7170363
AJ
172552012-10-30 Andreas Jaeger <aj@suse.de>
17256
e5088dc6
AJ
17257 [BZ#14767]
17258 * elf/Makefile (tests): Remove conditional for have-initfini-array
17259 since this is now always required and the variable does not exist
17260 anymore.
17261 (tests-static): Likewise.
17262 (modules-names): Likewise.
17263
e7170363 17264 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17265
17266 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17267 merged with constructor/destructor.
17268 (init_array): Likewise.
17269 * elf/tst-array2dep.c (fini_array): Likewise.
17270 (init_array): Likewise.
17271
60457d8a
MF
172722012-10-29 Mike Frysinger <vapier@gentoo.org>
17273
17274 * manual/message.texi: Delete @cartouche tags.
17275
8bece752
PT
172762012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17277
94ce799f
PT
17278 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17279 EOPNOTSUPP.
17280 * sysdeps/mach/hurd/fsync.c: Likewise.
17281
8bece752
PT
17282 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17283 [_POSIX_REALTIME_SIGNALS]: Change condition to
17284 [_POSIX_REALTIME_SIGNALS > 0].
17285
86ebe6b1
AJ
172862012-10-27 Andreas Jaeger <aj@suse.de>
17287
17288 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17289 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17290 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17291 [__WORDSIZE != 64]: Likewise.
17292
54399c08
L
172932012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17294
17295 * iconvdata/tst-table.sh: Remove ${SHELL}.
17296 * iconvdata/tst-tables.sh: Likewise.
17297
e2211bed
DM
172982012-10-25 David S. Miller <davem@davemloft.net>
17299
17300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17301 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17302 of strtoull.
17303
f303f97c
DM
17304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17305 ifunc-impl-list.c
17306 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17307 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17308 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17309 file.
17310
1e9d84cd
RM
173112012-10-25 Roland McGrath <roland@hack.frob.com>
17312
17313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17314 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17315 __getdirentries.
17316
df381762
JM
173172012-10-25 Joseph Myers <joseph@codesourcery.com>
17318 Jim Blandy <jimb@codesourcery.com>
17319
17320 * scripts/cross-test-ssh.sh: New file.
17321 * manual/install.texi (Configuring and compiling): Document use of
17322 cross-test-ssh.sh.
17323 * INSTALL: Regenerated.
17324
bff64913
PT
173252012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17326
17327 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17328 EOPNOTSUPP.
17329
25fe8932
JM
173302012-10-25 Joseph Myers <joseph@codesourcery.com>
17331
17332 * Makeconfig (run-program-prefix): Fix comment.
17333
cc1290d0
JM
173342012-10-24 Joseph Myers <joseph@codesourcery.com>
17335 Jim Blandy <jimb@codesourcery.com>
17336
17337 * Makeconfig (test-wrapper): New variable,
17338 (test-wrapper-env): Likewise.
17339 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17340 (run-built-tests): Define to yes.
17341 (run-program-prefix): Use $(test-wrapper).
17342 (built-program-cmd): Likewise.
17343 * Rules (make-test-out): Use $(test-wrapper-env) and
17344 $(host-built-program-cmd).
17345 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17346 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17347 tst-pathopt.sh.
17348 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17349 $(test-wrapper-env) to tst-rtld-load-self.sh.
17350 ($(objpfx)order2.out): Use $(test-wrapper).
17351 ($(objpfx)tst-initorder.out): Likewise.
17352 ($(objpfx)tst-initorder2.out): Likewise.
17353 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17354 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17355 (test_wrapper_env): New variable. Use it to run ld.so.
17356 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17357 Use it to run ld.so.
17358 (test_wrapper_env): Likewise.
17359 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17360 $(test-wrapper) to run-iconv-test.sh.
17361 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17362 (ICONV): Use $test_wrapper.
17363 * posix/Makefile ($(objpfx)globtest.out): Pass
17364 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17365 globtest.sh, not $(run-program-prefix).
17366 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17367 (test_wrapper): Likewise.
17368 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17369 set together with run_via_rtld_prefix.
17370 (run_program_prefix): Define in terms of test_wrapper and
17371 run_via_rtld_prefix.
17372
6e6249d0
RM
173732012-10-24 Roland McGrath <roland@hack.frob.com>
17374
17375 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17376 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17377 Targets removed.
17378
17379 [BZ #14743]
17380 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17381 Declare __clock_getres, __clock_gettime, __clock_settime,
17382 __clock_nanosleep, and __clock_getcpuclockid.
17383 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17384 Remove librt_hidden_def (clock_gettime).
17385 * sysdeps/unix/clock_gettime.c: Likewise.
17386 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17388 * rt/clock_getres.c: Define __clock_getres as an alias.
17389 * sysdeps/posix/clock_getres.c: Likewise.
17390 * rt/clock_settime.c: Define __clock_settime as an alias.
17391 * sysdeps/unix/clock_settime.c: Likewise.
17392 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17393 * sysdeps/unix/clock_nanosleep.c: Likewise.
17394 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17395 * rt/clock-compat.c: New file.
17396 * rt/Makefile (librt-routines): Add clock-compat and move
17397 $(clock-routines) to ...
17398 (routines): ... here, new variable.
17399 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17400 Don't add get_clockfreq here.
17401 * rt/Versions (libc: GLIBC_2.17): New version set.
17402 Add clock_* symbols here.
17403 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17404 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17405 (GLIBC_2.17): Add clock_* symbols.
17406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17410 Likewise.
17411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17412 Likewise.
17413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17417 * NEWS: Mention the move.
17418
17419 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17420 Use __open, __read, __close rather than their public counterparts.
17421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17422 (__get_clockfreq_via_cpuinfo): Likewise.
17423 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17424 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17425
17426 * config.h.in (HAVE_IFUNC): New #undef.
17427 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17428 was successful.
17429 * configure: Regenerated.
17430
0cae3f4b
MF
174312012-10-24 Mike Frysinger <vapier@gentoo.org>
17432
17433 * configure.in: Move READELF check to start of file.
17434 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17435 libc_cv_asm_gnu_indirect_function in the process.
17436 * configure: Regenerated.
17437
8175a253
MF
174382012-10-24 Mike Frysinger <vapier@gentoo.org>
17439
17440 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17441 send the output to /dev/null.
17442 (libc_cv_cc_with_libunwind): Likewise.
17443 (libc_cv_as_noexecstack): Likewise.
17444 * configure: Regenerate.
17445
0708a7d1
JM
174462012-10-24 Joseph Myers <joseph@codesourcery.com>
17447
10b40d85
JM
17448 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17449
0708a7d1
JM
17450 * posix/globtest.sh (TMPDIR): Do not set.
17451 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17452 (testout): Likewise.
17453
9fddec1a
AJ
174542012-10-24 Andreas Jaeger <aj@suse.de>
17455
3a8db22f
AJ
17456 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17457 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17458 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17459 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17460 posix_fadvise64, posix_fallocate64.
17461
9fddec1a
AJ
17462 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17463 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17464 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17465 Likewise.
17466 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17467 Likewise.
17468 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17469
17470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17471 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17472 <bits/fcntl-linux.h>.
17473 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17474
17475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17476 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17477 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17478 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17479 [__WORDSIZE != 64]: Likewise.
17480
ebfd1bbd
JM
174812012-10-23 Joseph Myers <joseph@codesourcery.com>
17482
03ac099f
JM
17483 * Makeconfig (run-built-tests): New variable.
17484 * Rules [$(cross-compiling) = yes]: Change condition to
17485 [$(run-built-tests) = no].
17486 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17487 to [$(run-built-tests) = yes].
17488 * elf/Makefile [$(cross-compiling) = no]: Likewise
17489 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17490 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17491 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17492 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17493 * io/Makefile [$(cross-compiling) = no]: Likewise.
17494 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17495 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17496 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17497 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17498 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17499 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17500 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17501 * string/Makefile [$(cross-compiling) = no]: Likewise.
17502
ebfd1bbd
JM
17503 * posix/Makefile ($(objpfx)globtest.out): Pass
17504 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17505 $(rtld-installed-name).
17506 * posix/globtest.sh (elf_objpfx): Remove variable.
17507 (rtld_installed_name): Likewise.
17508 (library_path): Likewise.
17509 (run_program_prefix): New variable. Use for running globtest
17510 binary.
17511
166bca24
JB
175122012-10-23 Jim Blandy <jimb@codesourcery.com>
17513 Joseph Myers <joseph@codesourcery.com>
17514
17515 * Makeconfig (host-built-program-cmd): New variable.
17516 * elf/Makefile (tst-stackguard1-ARGS): Use
17517 $(host-built-program-cmd).
17518 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17519 (tst-spawn-ARGS): Likewise.
17520 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17521
88866099
JM
175222012-10-23 Joseph Myers <joseph@codesourcery.com>
17523 Jim Blandy <jimb@codesourcery.com>
17524
17525 * Makeconfig (run-via-rtld-prefix): New variable.
17526 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17527 (built-program-cmd): Likewise.
17528
b4b4c296
AJ
175292012-10-22 Andreas Jaeger <aj@suse.de>
17530
17531 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17532 __O_RSYNC if it exists, otherwise to O_SYNC.
17533
6fb54a22
JB
175342012-10-22 Jim Blandy <jimb@codesourcery.com>
17535 Joseph Myers <joseph@codesourcery.com>
17536
17537 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17538 /dev/null.
17539 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17540 from /dev/null
17541 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17542 /dev/null.
17543
481b90b9
AJ
175442012-10-22 Andreas Jaeger <aj@suse.de>
17545
2a0e2669
AJ
17546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17547 Define always.
17548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17549
76e38f9a
AJ
17550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17551 bits/fcntl-linux.h.
17552
7cd37b43
AJ
17553 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17554 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17555
481b90b9
AJ
17556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17557 to __O_LARGEFILE.
17558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17559 to __O_LARGEFILE.
17560
aba75984
JB
175612012-10-21 Jim Blandy <jimb@codesourcery.com>
17562 Joseph Myers <joseph@codesourcery.com>
17563
17564 * config.make.in (NM): New variable.
17565
88d4247f
AJ
175662012-10-21 Andreas Jaeger <aj@suse.de>
17567
17568 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17569 definitions and declarations that are provided by
17570 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17571
f2eed205
L
175722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17573
17574 [BZ #14683]
17575 * elf/Makefile (tests-static): Add tst-leaks1-static.
17576 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17577 ($(objpfx)tst-leaks1-static): New rule.
17578 ($(objpfx)tst-leaks1-static-mem): Likewise.
17579 (tst-leaks1-static-ENV): New macro.
17580 * elf/dl-open.c (dl_open_worker): Check the main application
17581 only if SHARED is defined.
17582 * elf/tst-leaks1-static.c: New file.
17583
335e6931
AJ
175842012-10-20 Andreas Jaeger <aj@suse.de>
17585
17586 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17587 generic values for Linux.
17588 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17589 and declarations that are provided by <bits/fcntl-linux.h> and
17590 include <bits/fcntl-linux.h>.
17591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17593
ac5c94d3
RM
175942012-10-20 Roland McGrath <roland@hack.frob.com>
17595
17596 * io/fcntl.h: Move include of <bits/types.h> to the top and
17597 include it unconditionally.
17598
de54b33a
L
175992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17600
228cfb01
L
17601 * wcsmbs/Makefile (tests-ifunc): New variable.
17602 (tests): Add $(tests-ifunc).
17603 * wcsmbs/test-wcschr-ifunc.c: New file.
17604 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17605 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17606 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17607 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17608 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17609
69f07e5f
L
17610 * string/Makefile (tests-ifunc): New variable.
17611 (tests): Add $(tests-ifunc).
17612 * string/test-memccpy.c (TEST_NAME): New macro.
17613 * string/test-memchr.c (TEST_NAME): Likewise.
17614 * string/test-memcmp.c (TEST_NAME): Likewise.
17615 * string/test-memcpy.c (TEST_NAME): Likewise.
17616 * string/test-memmem.c (TEST_NAME): Likewise.
17617 * string/test-memmove.c (TEST_NAME): Likewise.
17618 * string/test-memset.c (TEST_NAME): Likewise.
17619 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17620 * string/test-stpcpy.c (TEST_NAME): Likewise.
17621 * string/test-stpncpy.c (TEST_NAME): Likewise.
17622 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17623 * string/test-strcasestr.c (TEST_NAME): Likewise.
17624 * string/test-strcat.c (TEST_NAME): Likewise.
17625 * string/test-strchr.c (TEST_NAME): Likewise.
17626 * string/test-strcmp.c(TEST_NAME): Likewise.
17627 * string/test-strcpy.c (TEST_NAME): Likewise.
17628 * string/test-strcspn.c (TEST_NAME): Likewise.
17629 * string/test-strlen.c (TEST_NAME): Likewise.
17630 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17631 * string/test-strncmp.c (TEST_NAME): Likewise.
17632 * string/test-strncpy.c (TEST_NAME): Likewise.
17633 * string/test-strnlen.c (TEST_NAME): Likewise.
17634 * string/test-strpbrk.c (TEST_NAME): Likewise.
17635 * string/test-strrchr.c (TEST_NAME): Likewise.
17636 * string/test-strspn.c (TEST_NAME): Likewise.
17637 * string/test-strstr.c (TEST_NAME): Likewise.
17638 * string/test-bcopy-ifunc.c: New file.
17639 * string/test-bzero-ifunc.c: Likewise.
17640 * string/test-memccpy-ifunc.c: Likewise.
17641 * string/test-memchr-ifunc.c: Likewise.
17642 * string/test-memcmp-ifunc.c: Likewise.
17643 * string/test-memcpy-ifunc.c: Likewise.
17644 * string/test-memmem-ifunc.c: Likewise.
17645 * string/test-memmove-ifunc.c: Likewise.
17646 * string/test-mempcpy-ifunc.c: Likewise.
17647 * string/test-memset-ifunc.c: Likewise.
17648 * string/test-rawmemchr-ifunc.c: Likewise.
17649 * string/test-stpcpy-ifunc.c: Likewise.
17650 * string/test-stpncpy-ifunc.c: Likewise.
17651 * string/test-strcasecmp-ifunc.c: Likewise.
17652 * string/test-strcasestr-ifunc.c: Likewise.
17653 * string/test-strcat-ifunc.c: Likewise.
17654 * string/test-strchr-ifunc.c: Likewise.
17655 * string/test-strchrnul-ifunc.c: Likewise.
17656 * string/test-strcmp-ifunc.c: Likewise.
17657 * string/test-strcpy-ifunc.c: Likewise.
17658 * string/test-strcspn-ifunc.c: Likewise.
17659 * string/test-strlen-ifunc.c: Likewise.
17660 * string/test-strncasecmp-ifunc.c: Likewise.
17661 * string/test-strncat-ifunc.c: Likewise.
17662 * string/test-strncmp-ifunc.c: Likewise.
17663 * string/test-strncpy-ifunc.c: Likewise.
17664 * string/test-strnlen-ifunc.c: Likewise.
17665 * string/test-strpbrk-ifunc.c: Likewise.
17666 * string/test-strrchr-ifunc.c: Likewise.
17667 * string/test-strspn-ifunc.c: Likewise.
17668 * string/test-strstr-ifunc.c: Likewise.
17669
de54b33a
L
17670 * debug/Makefile (tests-ifunc): New variable.
17671 (tests): Add $(tests-ifunc).
17672 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17673 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17674 * debug/test-stpcpy_chk-ifunc.c: New file.
17675 * debug/test-strcpy_chk-ifunc.c: Likewise.
17676
88481c16
SP
176772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17678
17679 [BZ #13601]
17680 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17681 header is not read in.
17682
135948bd
JM
176832012-10-19 Joseph Myers <joseph@codesourcery.com>
17684
89f1c388
JM
17685 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17686 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17687 directly. Pass built executable to script as
17688 $(built-program-cmd).
17689 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17690 $testprogram without using LD_LIBRARY_PATH and $ldso.
17691
e40a0d21
JM
17692 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17693 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17694 $(rtld-installed-name).
17695 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17696 (rtld_installed_name): Likewise.
17697 (library_path): Likewise.
17698 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17699 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17700 $(run-program-prefix) to tst-tables.sh.
17701 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17702 it to run tst-table-from and tst-table-to.
17703 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17704 Pass it to tst-table.sh.
17705 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17706 $(run-program-prefix) to tst-gettext.sh.
17707 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17708 tst-translit.sh.
17709 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17710 tst-gettext2.sh.
17711 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17712 to run tst-gettext.
17713 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17714 to run tst-gettext2.
17715 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17716 to run tst-translit.
17717 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17718 $(run-program-prefix) to tst-mtrace.sh.
17719 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17720 to run tst-mtrace.
17721 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17722 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17723 $(rtld-installed-name).
17724 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17725 (rtld_installed_name): Likewise.
17726 (run_program_prefix): New variable. Use it to run wordexp-test.
17727
728e272a
JM
17728 * Makeconfig (ARCH): Remove all definitions.
17729 (machine): Likewise.
17730 [ARCH]: Remove conditional code.
17731 [!objdir]: Give error.
17732 [!objdir] (objpfx): Remove.
17733 [!objdir] (common-objpfx): Likewise.
17734 [!objdir] (common-objdir): Likewise.
17735 * configure.in (config_makefile): Remove. Hardcode Makefile in
17736 AC_CONFIG_FILES call.
17737 * configure: Regenerated.
17738
d528cdcf
JM
17739 [BZ #13888]
17740 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17741 or TMPDIR.
17742 (testout): Likewise.
17743
135948bd
JM
17744 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17745 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17746 $(rtld-installed-name).
17747 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17748 (rtld_installed_name): Likwise.
17749 (runit): Remove function.
17750 (run_getconf): New variable, Use it for running getconf binary.
17751
38c78296
L
177522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17753
17754 [BZ #14716]
17755 * string/test-memmem.c (check_result): New function.
17756 (do_one_test): Use it.
17757 (check1): New function.
17758 (test_main): Use it.
17759
d077f65f
MT
177602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17761
17762 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17763
ced52c71
JM
177642012-10-18 Joseph Myers <joseph@codesourcery.com>
17765
17766 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17767 (_G_LSEEK64): Likewise.
17768 (_G_MMAP64): Likewise.
17769 (_G_FSTAT64): Likewise.
17770 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17771 (_G_LSEEK64): Likewise.
17772 (_G_MMAP64): Likewise.
17773 (_G_FSTAT64): Likewise.
17774 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17775 unconditional. Call __mmap64 directly.
17776 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17777 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17778 __lseek64 directly.
17779 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17780 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17781 __mmap64 directly.
17782 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17783 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17784 __lseek64 directly.
17785 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17786 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17787 __lseek64 directly.
17788 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17789 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17790 __lseek64 directly.
17791 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17792 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17793 __fxstat64 directly.
17794 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17795 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17796 unconditional.
17797 (freopen64) [!_G_OPEN64]: Remove conditional code.
17798 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17799 unconditional.
17800 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17801 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17802 unconditional.
17803 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17804 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17805 unconditional.
17806 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17807 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17808 unconditional.
17809 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17810 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17811 unconditional.
17812 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17813 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17814 unconditional.
17815 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17816 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17817 unconditional.
17818 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17819
b741de23
SP
178202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17821
17822 [BZ #12140]
17823 * manual/memory.texi (Malloc Tunable Parameters): Add note
17824 about free list pointers overwriting some perturb bytes.
17825 Wording suggested by Roland McGrath.
17826
f9b9d9c9
JM
178272012-10-17 Joseph Myers <joseph@codesourcery.com>
17828
17829 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17830 (lgamma_test): Likewise.
17831 (tgamma_test): Likewise.
17832
172a631a
FW
178332012-10-16 Florian Weimer <fweimer@redhat.com>
17834
17835 [BZ #14700]
17836 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17837 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17838
e9f37252
MK
178392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17840
17841 * NEWS: Mention BZ #14716.
17842 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17843 when removing AVAILABLE1_USES_J macro.
17844
d394eb74
L
178452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17846
17847 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17848 (__bswap_64): __uint64_t for unsigned 64-bit int.
17849
ca38dc17
AS
178502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17851
17852 * include/string.h (memmem): Declare libc hidden alias.
17853 * string/memmem.c (memmem): Define libc hidden alias.
17854 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17855 __read, __close instead of open, read, close.
17856
9a387d1f
L
178572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17858
ac49ecaf
L
17859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17860 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17861 global and hidden.
17862 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17863 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17864 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17865 Likewise.
17866 (__rawmemchr_sse2): Likewise.
17867 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17868 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17869 (__strchr_sse2): Likewise.
17870 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17871 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17872 (__strcasecmp_sse2): Likewise.
17873 (__strncasecmp_sse2): Likewise.
17874 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17875 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17876 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17877 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17878 (__strrchr_sse2): Likewise.
17879 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17880 ifunc-impl-list.c.
17881 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17882 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17883 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17884 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17885 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17886 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17887 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17888 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17889 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17890 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17891 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17892 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17893 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17894 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17895 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17896 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17897 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17898 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17899 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17900 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17901 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17902 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17903 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17904 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17905 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17906 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17907 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17908 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17909 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17910 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17911
b090e8ea
L
17912 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17913 global and hidden.
17914 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17915 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17916 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17917 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17918 Likewise.
17919 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17920 Likewise.
17921 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17922 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17923 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17924 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17925 ifunc-impl-list.c.
17926 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17927 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17928 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17929 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17930 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17931 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17932 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17933 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17934 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17935 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17936 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17937 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17938 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17939 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17940 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17941 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17942 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17943 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17944 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17945 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17946 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17947 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17948 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17949 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17950 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17951 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17952 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17953 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17954 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17955 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17956 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17957 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17958 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17959 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17960 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17961 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17962 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17963 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17964 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17965 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17966 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17967
11dd4af6
L
17968 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17969 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17970 * include/ifunc-impl-list.h: New file.
17971 * misc/ifunc-impl-list.c: Likewise.
17972 * misc/Makefile (routines): Add ifunc-impl-list.
17973 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17974 * string/test-string.h: Include <ifunc-impl-list.h>.
17975 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17976 impl_array): New variables.
17977 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17978 are defined.
17979 (test_init): Call __libc_ifunc_impl_list to initialize
17980 func_list if TEST_IFUNC and TEST_NAME are defined.
17981
9a387d1f
L
17982 * string/Makefile (strop-tests): Add bcopy and bzero.
17983 * string/test-bcopy.c: New file.
17984 * string/test-bzero.c: Likewise.
17985 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17986 defined.
17987 * string/test-memset.c: Support bzero test if TEST_BZERO is
17988 defined.
17989 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17990 __libc_memmove.
17991 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17992 __libc_memset.
17993 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17994 of memset.
17995
472371b9
JM
179962012-10-10 Joseph Myers <joseph@codesourcery.com>
17997
1e4a9536
JM
17998 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17999 * configure: Regenerated.
18000
d173d12e
JM
18001 * Makeconfig (+link-static-before-libc): Don't include
18002 $(link-static-libc).
18003
472371b9
JM
18004 * libio/libio.h (_IO_pos_t): Remove.
18005
89a3ad0b
AO
180062012-10-10 Alexandre Oliva <aoliva@redhat.com>
18007
18008 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18009 McGrath.
18010
e7451425
AO
180112012-10-10 Alexandre Oliva <aoliva@redhat.com>
18012
18013 * crypt/crypt-entry.c: Include fips-private.h.
18014 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18015 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18016 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18017 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18018
4ba74a35
AO
180192012-10-10 Alexandre Oliva <aoliva@redhat.com>
18020
18021 * crypt/crypt-private.h: Include stdbool.h.
18022 (_ufc_setup_salt_r): Return bool.
18023 * crypt/crypt-entry.c: Include errno.h.
18024 (__crypt_r): Return NULL with EINVAL for bad salt.
18025 * crypt/crypt_util.c (bad_for_salt): New.
18026 (_ufc_setup_salt_r): Check that salt is long enough and within
18027 the specified alphabet.
18028 * crypt/badsalttest.c: New file.
18029 * crypt/Makefile (tests): Add it.
18030 ($(objpfx)badsalttest): New.
18031
f96f1242
MK
180322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18033
18034 * NEWS: Add entry for BZ #14602.
18035
0e8e0c1c
JM
180362012-10-09 Joseph Myers <joseph@codesourcery.com>
18037
18038 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18039 type-generic.
18040 * math/libm-test.inc: Update comment listing what functions and
18041 macros are tested.
18042 (isgreater_test): New function.
18043 (isgreaterequal_test): Likewise.
18044 (isless_test): Likewise.
18045 (islessequal_test): Likewise.
18046 (islessgreater_test): Likewise.
18047 (isunordered_test): Likewise.
18048 (main): Call the new functions.
18049
273edc5e
RM
180502012-10-09 Roland McGrath <roland@hack.frob.com>
18051
b8493de0
RM
18052 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18053 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18054 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18055 * sysdeps/i386/configure: Regenerated.
18056 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18057 * sysdeps/mach/configure: Regenerated.
18058 * sysdeps/mach/hurd/configure: Regenerated.
18059 * sysdeps/powerpc/configure: Regenerated.
18060 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18061 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18062 * sysdeps/s390/s390-32/configure: Regenerated.
18063 * sysdeps/s390/s390-64/configure: Regenerated.
18064 * sysdeps/sh/configure: Regenerated.
18065 * sysdeps/sparc/configure: Regenerated.
18066 * sysdeps/unix/sysv/linux/configure: Regenerated.
18067 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18068 * sysdeps/x86_64/configure: Regenerated.
18069
273edc5e
RM
18070 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18071 defined. Don't check if MAP is NULL.
18072
c8450f70
JM
180732012-10-09 Joseph Myers <joseph@codesourcery.com>
18074
18075 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18076 (_G_stat64): Likewise.
18077 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18078 (_G_stat64): Likewise.
18079 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18080 instead of struct _G_stat64.
18081 * libio/fileops.c (mmap_remap_check): Likewise.
18082 (decide_maybe_mmap): Likewise.
18083 (_IO_new_file_seekoff): Likewise.
18084 (_IO_file_stat): Likewise.
18085 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18086 _G_off64_t.
18087 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18088 instead of struct _G_stat64.
18089 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18090
57e605ba
MK
180912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18092
18093 [BZ #14602]
18094 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18095 Replace with ...
18096 (CHECK_EOL): New macro.
18097 (two_way_short_needle): Check beginning of haystack for EOL. Use
18098 CHECK_EOL.
18099 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18100 Replace with CHECK_EOL.
18101 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18102 Replace with CHECK_EOL.
18103
ef1bb361
JM
181042012-10-08 Joseph Myers <joseph@codesourcery.com>
18105
18106 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18107 type-generic.
18108 * math/libm-test.inc: Update comment listing what functions and
18109 macros are tested.
18110 (finite_test): New function.
18111 (isinf_test): Likewise.
18112 (isnan_test): Likewise.
18113 (fpclassify_test): Test subnormal input.
18114 (isfinite_test): Likewise.
18115 (isnormal_test): Likewise.
18116 (main): Call the new functions.
18117
55f11534
JN
181182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18119
18120 [BZ #14660]
18121 * Makerules (%.dynsym): Force C locale when running
18122 $(OBJDUMP) --dynamic-syms.
18123
1ab29350
AS
181242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18125
18126 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18127 <stdint.h>.
18128
f1ecb7ef
DM
181292012-10-06 David S. Miller <davem@davemloft.net>
18130
18131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18132 upper 32-bits of the length value in %o2 since we use branch-on-register
18133 tests which consider the entire 64-bit register.
18134
5d41d91a
L
181352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18136
18137 * string/test-strstr.c (check2): Add a test for page boundary.
18138
3baddb72
DM
181392012-10-05 David S. Miller <davem@davemloft.net>
18140
18141 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18142 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18143 file.
18144 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18145 sysdep_routines.
18146 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18147 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18148 and bzero when HWCAP_SPARC_CRYPTO is present.
18149
9cee5585
L
181502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18151
d7e0dab9
L
18152 [BZ #14602]
18153 * string/test-strstr.c (check2): New function.
18154 (test_main): Call check2.
18155
03759f47
L
18156 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18157 and bug-strchr1.
18158 * string/bug-strcasestr1.c (do_test): Moved to ...
18159 * string/test-strcasestr.c (check1): Here. New function.
18160 (do_one_test): Break out result checking code into ...
18161 (check_result): This. New function.
18162 (do_one_test): Call check_result.
18163 (test_main): Call check1.
18164 * string/bug-strchr1.c (do_test): Moved to ...
18165 * string/test-strchr.c (check1): Here. New function.
18166 (do_one_test): Break out result checking code into ...
18167 (check_result): This. New function.
18168 (do_one_test): Call check_result.
18169 (test_main): Call check1.
18170 * string/bug-strstr1.c (main): Moved to ...
046f153e 18171 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18172 (do_one_test): Break out result checking code into ...
18173 (check_result): This. New function.
18174 (do_one_test): Call check_result.
18175 (test_main): Call check1.
18176 * string/bug-strcasestr1.c: Removed.
18177 * string/bug-strchr1.c: Likewise.
18178 * string/bug-strstr1.c: Likewise.
18179
53cea63e
L
18180 * elf/Makefile (dl-routines): Add hwcaps.
18181 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18182 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18183 (_dl_important_hwcaps): Moved to ...
18184 * elf/dl-hwcaps.c: Here. New file.
18185 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18186
9cee5585 18187 [BZ #14557]
bb859b06
L
18188 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18189 if IS_IN_rtld isn't defined.
18190
9cee5585
L
18191 * elf/dl-support.c (_dl_sysinfo_map): New.
18192 Include "get-dynamic-info.h" and "setup-vdso.h".
18193 (_dl_non_dynamic_init): Call setup_vdso.
18194 * elf/dynamic-link.h: Don't include <assert.h>.
18195 (elf_get_dynamic_info): Moved to ...
18196 * elf/get-dynamic-info.h: Here. New file.
18197 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18198 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18199 * elf/setup-vdso.h: Here. New file.
18200 * elf/rtld.c: Include "setup-vdso.h".
18201 (dl_main): Call setup_vdso.
18202
23c31b76
JM
182032012-10-05 Joseph Myers <joseph@codesourcery.com>
18204
28234b07
JM
18205 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18206 creal in comment listing functions tested. List finite, isinf,
18207 isnan, isless, islessequal, isgreater, isgreaterequal,
18208 islessgreater, isunordered, lgamma_r and pow10 as functions and
18209 macros not tested. Mention which functions not tested are aliases
18210 for other functions. Fix typo. Note that signs of NaNs are not
18211 tested.
18212
23c31b76
JM
18213 * scripts/config.guess: Update from config.git.
18214 * scripts/config.sub: Likewise.
18215
9043e228
RM
182162012-10-04 Roland McGrath <roland@hack.frob.com>
18217
18218 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18219 * misc/madvise.c (madvise): Renamed to __madvise.
18220 Make madvise a weak alias.
18221 * include/sys/mman.h: Declare __madvise.
18222 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18223 * sysdeps/unix/syscalls.list
18224 (madvise): Make __madvise the strong name, and madvise a weak alias.
18225 * sysdeps/unix/sysv/linux/syscalls.list
18226 (madvise, mmap): Remove redundant entries.
18227 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18228 * malloc/malloc.c (mtrim): Likewise.
18229 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18230
f57f8055
RM
182312012-10-03 Roland McGrath <roland@hack.frob.com>
18232
18233 * sysdeps/mach/hurd/dl-cache.c: File removed.
18234 * config.h.in (USE_LDCONFIG): New #undef.
18235 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18236 * configure: Regenerated.
18237 * elf/Makefile (dl-routines): Add dl-cache only under
18238 [$(use-ldconfig) = yes].
18239 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18240 cache on [USE_LDCONFIG].
18241 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18242 [USE_LDCONFIG].
18243 * elf/rtld.c (dl_main): Likewise.
18244
5bb0c10a
PT
182452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18246
18247 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18248 _SC_LEVEL4_CACHE_LINESIZE.
18249
010188c6
RM
182502012-10-03 Roland McGrath <roland@hack.frob.com>
18251
18252 * sysdeps/unix/bsd/confstr.h: File removed.
18253
b6c5ec07
AO
182542012-10-02 Alexandre Oliva <aoliva@redhat.com>
18255
18256 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18257 sys/sdt-config.h.
18258
408223d4
RM
182592012-10-02 Roland McGrath <roland@hack.frob.com>
18260
18261 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18262 Make 'mapoff' field ElfW(Off) rather than off_t.
18263
bb9510dc
DL
182642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18265
fc997c6e
DL
18266 * nscd/Makefile: Remove nscd-cflags and all its users.
18267 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18268 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18269
bb9510dc
DL
18270 [BZ #10631]
18271 * malloc.c (malloc_printerr): Clarify error message.
18272
05699367
L
182732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18274
18275 [BZ #14648]
18276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18277 Set bit_FMA_Usable if FMA is supported.
18278 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18279 macro.
18280 (bit_FMA4_Usable): Updated.
18281 (index_FMA_Usable): New macro.
18282 (CPUID_FMA): Likewise
18283 (HAS_FMA): Defined with bit_FMA_Usable.
18284
51367701
RM
182852012-10-01 Roland McGrath <roland@hack.frob.com>
18286
18287 * bits/types.h (__swblk_t): Type removed.
18288 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18289 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18291 (__SWBLK_T_TYPE): Likewise.
18292 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18293 (__SWBLK_T_TYPE): Likewise.
18294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18295 (__SWBLK_T_TYPE): Likewise.
18296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18297 (__SWBLK_T_TYPE): Likewise.
18298
4d57bf63 182992012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18300 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18301
18302 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18303 (xdr_mapname): Use YPMAXMAP as maxsize.
18304 (xdr_peername): Use YPMAXPEER as maxsize.
18305 (xdr_keydat): Use YPAXRECORD as maxsize.
18306 (xdr_valdat): Use YPMAXRECORD as maxsize.
18307
93c65d43
RM
183082012-10-01 Roland McGrath <roland@hack.frob.com>
18309
497a03d6
RM
18310 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18311
93c65d43
RM
18312 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18313 * csu/init-first.c: ... here.
18314 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18315 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18316 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18317 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18318 * sysdeps/i386/init-first.c: File removed.
18319 * sysdeps/sh/init-first.c: File removed.
18320
bec749fd
JM
183212012-10-01 Joseph Myers <joseph@codesourcery.com>
18322
18323 [BZ #14645]
18324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18325 if x * y might underflow to zero and z is zero.
18326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18328 * math/libm-test.inc (min_subnorm_value): New variable.
18329 (fma_test): Add more tests.
18330 (fma_test_towardzero): Likewise.
18331 (fma_test_downward): Likewise
18332 (fma_test_upward): Likewise.
18333 (initialize): Set min_subnorm_value.
18334
8ec5b013
JM
183352012-09-29 Joseph Myers <joseph@codesourcery.com>
18336
18337 [BZ #14638]
18338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18339 0 + 0.
18340 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18341 mode for addition resulting in exact zero.
18342 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18343 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18344 exact 0 + 0.
18345 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18346 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18347 * math/libm-test.inc (fma_test): Add more tests.
18348 (fma_test_towardzero): New function.
18349 (fma_test_downward): Likewise.
18350 (fma_test_upward): Likewise.
18351 (main): Call the new functions.
18352
b1fa802e
DM
183532012-09-28 David S. Miller <davem@davemloft.net>
18354
18355 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18356
d3b9fd9e
RM
183572012-09-28 Roland McGrath <roland@hack.frob.com>
18358
ea4d37b3
RM
18359 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18360 instead of SIGALRM.
18361
ac51c949
RM
18362 * sysdeps/gnu/_G_config.h: Moved to ...
18363 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18364 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18365 * sysdeps/generic/_G_config.h: ... here.
18366
28c195f7
RM
18367 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18368
848917f9
RM
18369 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18370
6bacf05b
RM
18371 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18372 Conditionalize target on [libnss_test1.so-version].
18373
91363dbb
RM
18374 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18375
cc87f7d8
RM
18376 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18377 (elfobjdir): Move out of conditionals.
18378
b1c608fe
RM
18379 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18380 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18381 (__nss_lookup_function): Conditionalize label remove_from_tree on
18382 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18383
1d9a6d96
DM
183842012-09-28 David S. Miller <davem@davemloft.net>
18385
18386 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18387 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18388 file.
18389 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18390 sysdep_routines.
18391 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18393 when HWCAP_SPARC_CRYPTO is present.
18394
72581615
PT
183952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18396
18397 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18398
715a900c
JL
183992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18400
18401 [BZ #6530]
18402 * stdio-common/vfprintf.c (process_string_arg): Revert
18403 2000-07-22 change.
18404
184052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18406
18407 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18408 for testcase.
18409 * stdio-common/tst-sprintf.c: Include <locale.h>
18410 (main): Test sprintf's handling of incomplete multibyte
18411 characters.
18412
9bac1d86
L
184132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18414
18415 * elf/dl-runtime.c (VERSYMIDX): Removed.
18416 * elf/dl-version.c (VERSYMIDX): Likewise.
18417 * elf/do-rel.h (VERSYMIDX): Likewise.
18418 (VALIDX): Likewise.
18419 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18420 * elf/rtld.c (VALIDX): Likewise.
18421 (ADDRIDX): Likewise.
9bac1d86
L
18422 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18423 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18424 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18425 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18426 (VALIDX): Likewise.
18427 (ADDRIDX): Likewise.
9bac1d86 18428
b31606c0
PT
184292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18430
18431 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18432
11541177
JL
184332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18434
18435 [BZ #11438]
18436 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18437 to global scope.
18438 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18439 addresses are in the same scope as 192.0.2/24.
18440 * posix/gai.conf: Document new scope table defaults.
18441
adb26fae
SP
184422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18443
18444 [BZ #5298]
18445 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18446 for ftell. Compute offsets from write pointers instead.
18447 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18448
4573c6b0
SP
184492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18450
18451 [BZ #14543]
18452 * libio/Makefile (tests): New test case tst-fseek.
18453 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18454 combination works in wide mode.
18455 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18456 state when the external buffer state changes.
18457
aa9bbfe6
DM
184582012-09-27 David S. Miller <davem@davemloft.net>
18459
18460 [BZ #14376]
18461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18462 pass reloc->r_addend in as the 'high' argument to
18463 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18464
784421e7
DM
18465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18466
c39bc8b8
PT
184672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18468
18469 * rt/tst-aio2.c: Include <pthread.h>.
18470 * rt/tst-aio3.c: Likewise.
18471
1ccc2399
SE
184722012-09-27 Steve Ellcey <sellcey@mips.com>
18473
18474 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18475
31ed4153
L
184762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18477
25f5f885
L
18478 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18479 contents on [SHARED].
31ed4153 18480
b7bfe116
MP
184812012-09-26 Marek Polacek <polacek@redhat.com>
18482
18483 [BZ #14530]
18484 [BZ #13741]
18485 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18486 for C++ and GCC <4.3 as well as for non GCC compilers.
18487
43c4edba
MT
184882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18489
18490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18491
6a1bf82f
RM
184922012-09-25 Roland McGrath <roland@hack.frob.com>
18493
18494 * Makefile.in (all, install): Declare with .PHONY.
18495 Reported by Michael Hope <michael.hope@linaro.org>.
18496
8ad11b9a
TMQMF
184972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18498
18499 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18500 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18501 system header.
18502 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18503 Likewise.
18504 (sydep_routines): Add the new and the internal functions.
18505 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18506 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18508 (GLIBC_2.17): Add the new function.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18510 (GLIBC_2.17): Likewise.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18512 (GLIBC_2.17): Likewise.
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18514 (GLIBC_2.17): Likewise.
18515 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18516
7e2fca8d
AM
185172012-09-25 Alan Modra <amodra@gmail.com>
18518
18519 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18520 Add release barrier before setting once_control to say
18521 initialisation is done. Add hints on lwarx. Use macro in
18522 place of isync.
18523 (clear_once_control): Add release barrier.
18524
b87c4b24
JM
185252012-09-25 Joseph Myers <joseph@codesourcery.com>
18526
d032e0d2
JM
18527 [BZ #13629]
18528 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18529 specially.
18530 * math/s_clog10.c (__clog10): Likewise.
18531 * math/s_clog10f.c (__clog10f): Likewise.
18532 * math/s_clog10l.c (__clog10l): Likewise.
18533 * math/s_clogf.c (__clogf): Likewise.
18534 * math/s_clogl.c (__clogl): Likewise.
18535 * math/Makefile (libm-calls): Add x2y2m1.
18536 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18537 (__x2y2m1): Likewise.
18538 (__x2y2m1l): Likewise.
18539 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18540 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18541 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18542 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18543 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18544 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18545 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18546 * sysdeps/i386/fpu/libm-test-ulps: Update.
18547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18548
b87c4b24
JM
18549 [BZ #14621]
18550 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18551 int as type of variable DEPTH.
18552 (glob): Use size_t instead of int as type of variables NEWCOUNT
18553 and OLD_PATHC.
18554
6d3bf199
LD
185552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18556
22bf5c17
LD
18557 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18558 Add s_sincosf-sse2.
18559 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18560 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18561 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18562 macros for using routine as __sincosf_ia32.
18563 Use macro for function declaration and weak_alias.
18564 * sysdeps/i386/fpu/libm-test-ulps: Update.
18565
18566 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18568
18569 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18570 subnormal argument.
18571 * math/s_cexpf.c (__cexpf): Likewise.
18572 * math/s_csinf.c (__csinf): Likewise.
18573 * math/s_csinhf.c (__csinhf): Likewise.
18574 * math/s_ctanf.c (__ctanf): Likewise.
18575 * math/s_ctanhf.c (__ctanhf): Likewise.
18576 * math/s_ccosh.c (__ccoshf): Likewise.
18577 * math/s_cexp.c (__cexpl): Likewise.
18578 * math/s_csin.c (__csin): Likewise.
18579 * math/s_csinh.c (__csinh): Likewise.
18580 * math/s_ctan.c (__ctan): Likewise.
18581 * math/s_ctanh.c (ctanh): Likewise.
18582 * math/s_ccoshl.c (__ccoshl): Likewise.
18583 * math/s_cexpl.c (__cexpl): Likewise.
18584 * math/s_csinl.c (__csinl): Likewise.
18585 * math/s_csinhl.c (__csinhl): Likewise.
18586 * math/s_ctanl.c (__ctanl): Likewise.
18587 * math/s_ctanhl.c (__ctanhl): Likewise.
18588
203e5603
JM
185892012-09-25 Joseph Myers <joseph@codesourcery.com>
18590
18591 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18592 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18593 (_IO_off_t): Define to __off_t, not _G_off_t.
18594 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18595 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18596 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18597 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18598 type of __dummy and __dummy2 fields.
18599 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18600 (_G_ssize_t): Likewise.
18601 (_G_off_t): Likewise.
18602 (_G_pid_t): Likewise.
18603 (_G_uid_t): Likewise.
18604 (_G_wchar_t): Likewise.
18605 (_G_wint_t): Likewise.
18606 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18607 (_G_ssize_t): Likewise.
18608 (_G_off_t): Likewise.
18609 (_G_pid_t): Likewise.
18610 (_G_uid_t): Likewise.
18611 (_G_wchar_t): Likewise.
18612 (_G_wint_t): Likewise.
18613 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18614 (_G_ssize_t): Likewise.
18615 (_G_off_t): Likewise.
18616 (_G_pid_t): Likewise.
18617 (_G_uid_t): Likewise.
18618 (_G_wchar_t): Likewise.
18619 (_G_wint_t): Likewise.
18620
9fab36eb
SP
186212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18622
18623 * malloc/arena.c: Include malloc-sysdep.h.
18624 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18625 is sufficient to shrink the heap or an unmap is needed.
18626 * sysdeps/generic/malloc-sysdep.h: New file. Define
18627 new function check_may_shrink_heap.
18628 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18629 new function check_may_shrink_heap.
18630
2b4f00d1
SP
186312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18632
18633 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18634 comments.
18635
9a9028b1
DL
186362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18637
57c69bef
DL
18638 * catgets/test-gencat.sh: Add "set -e".
18639 * elf/tst-pathopt.sh: Likewise.
18640 * grp/tst_fgetgrent.sh: Likewise.
18641 * iconvdata/run-iconv-test.sh: Likewise.
18642 * intl/tst-gettext.sh: Likewise.
18643 * intl/tst-gettext2.sh: Likewise.
18644 * intl/tst-gettext4.sh: Likewise.
18645 * intl/tst-gettext6.sh: Likewise.
18646 * intl/tst-translit.sh: Likewise.
18647 * io/ftwtest-sh: Likewise.
18648 * libio/test-freopen.sh: Likewise.
18649 * malloc/tst-mtrace.sh: Likewise.
18650 * posix/globtest.sh: Likewise.
18651 * posix/tst-getconf.sh: Likewise.
18652 * posix/wordexp-tst.sh: Likewise.
18653 * stdio-common/tst-printf.sh: Likewise.
18654 * stdio-common/tst-unbputc.sh: Likewise.
18655 * stdlib/tst-fmtmsg.sh: Likewise.
18656 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18657 * catgets/Makefile: Do not specify -e option when running
18658 testsuite shell scripts.
18659 * elf/Makefile: Likewise.
18660 * grp/Makefile: Likewise.
18661 * iconvdata/Makefile: Likewise.
18662 * intl/Makefile: Likewise.
18663 * io/Makefile: Likewise.
18664 * libio/Makefile: Likewise.
18665 * malloc/Makefile: Likewise.
18666 * posix/Makefile: Likewise.
18667 * stdio-common/Makefile: Likewise.
18668 * stdlib/Makefile: Likewise.
18669 * sysdeps/x86_64/Makefile: Likewise.
18670
9a9028b1
DL
18671 * io/ftwtest-sh: Add copyright header.
18672 * posix/globtest.sh: Likewise.
18673 * posix/tst-getconf.sh: Likewise.
18674 * posix/wordexp-tst.sh: Likewise.
18675 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18676
ced6f16e
L
186772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18678
94b32c39
L
18679 [BZ #13679]
18680 * Makeconfig (+link): Defined as $(+link-static) if
18681 $(build-shared) isn't yes.
18682 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18683 isn't yes.
18684 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18685
189e935b
L
18686 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18687
ced6f16e
L
18688 [BZ #14562]
18689 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18690 new chunk size with MALLOC_ALIGN_MASK.
18691
a9f8e53a
JM
186922012-09-24 Joseph Myers <joseph@codesourcery.com>
18693
18694 [BZ #5044]
18695 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18696 <rounding-mode.h>.
18697 (__printf_fphex): Determine rounding using get_rounding_mode and
18698 round_away.
18699 * stdio-common/tst-printf-round.c (struct hex_test): New
18700 structure.
18701 (hex_tests): New variable.
18702 (test_hex_in_one_mode): New function.
18703 (do_test): Also run tests for hex float output.
18704
43153109
JM
187052012-09-21 Joseph Myers <joseph@codesourcery.com>
18706
18707 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18708 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18709 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18710 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18711 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18712 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18713 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18714 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18715
8a26625d
JM
187162012-09-20 Joseph Myers <joseph@codesourcery.com>
18717
18718 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18719 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18720 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18721 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18722
f3fd569c
DL
187232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18724
18725 [BZ #14579]
18726 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18727 mode only.
18728 * elf/tst-rtld-load-self.sh: New test.
18729 * elf/Makefile: Run it.
18730
63bbedd4
JM
187312012-09-18 Joseph Myers <joseph@codesourcery.com>
18732
18733 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18734 (tst-writev-ENV): Remove.
18735 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18736
626f8b6a
CM
187372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18738
18739 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18740
b7aaa4d6
JM
187412012-09-17 Joseph Myers <joseph@codesourcery.com>
18742
18743 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18744 unconditional.
18745 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18746 Likewise.
18747 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18748 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18749 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18750 Likewise.
18751
65513990
L
187522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18753
18754 [BZ #14587]
18755 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18756 * config.make.in (have-cpp-asm-debuginfo): Removed.
18757 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18758 * configure: Regenerated.
18759
784761be
JM
187602012-09-14 Joseph Myers <joseph@codesourcery.com>
18761
18762 [BZ #5044]
18763 * stdio-common/printf_fp.c: Include <stdbool.h> and
18764 <rounding-mode.h>.
18765 (___printf_fp): Determine rounding using get_rounding_mode and
18766 round_away.
18767 * stdio-common/tst-printf-round.c: New file.
18768 * stdio-common/Makefile (tests): Add tst-printf-round.
18769 (link-libm): New variable.
18770 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18771
9503345f
L
187722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18773
18774 [BZ #14576]
18775 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18776 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18777 Likewise.
18778 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18779 Likewise.
18780
ad35fc00
JM
187812012-09-13 Joseph Myers <joseph@codesourcery.com>
18782
18783 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18784 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18785 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18786 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18787
6c9b0f68
JM
187882012-09-12 Joseph Myers <joseph@codesourcery.com>
18789
18790 [BZ #14518]
18791 * include/rounding-mode.h: New file.
18792 * sysdeps/generic/get-rounding-mode.h: Likewise.
18793 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18794 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18795 (MAX_VALUE): New macro.
18796 (MIN_VALUE): Likewise.
18797 (overflow_value): New function.
18798 (underflow_value): Likewise.
18799 (round_and_return): Use overflow_value and underflow_value to
18800 determine return values in overflow and underflow cases. Use
18801 round_away to determine rounding depending on rounding mode.
18802 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18803 determine return values in overflow and underflow cases.
18804 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18805 (struct test_results): New structure.
18806 (struct test): Use struct test_results to store expected results
18807 for all rounding modes.
18808 (TEST): Include expected results for all rounding modes.
18809 (test_in_one_mode): New function.
18810 (do_test): Use test_in_one_mode to compute and check results.
18811 Check results for all rounding modes.
18812 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18813 $(link-libm).
18814
19fcedd5
AM
188152012-12-09 Allan McRae <allan@archlinux.org>
18816
1e9d84cd 18817 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18818
8bbfd2f1
JM
188192012-09-11 Joseph Myers <joseph@codesourcery.com>
18820
18821 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18822 (_G_int32_t): Likewise.
18823 (_G_uint16_t): Likewise.
18824 (_G_uint32_t): Likewise.
18825 (_G_HAVE_BOOL): Likewise.
18826 (_G_HAVE_ATEXIT): Likewise.
18827 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18828 (_G_HAVE_IO_FILE_OPEN): Likewise.
18829 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18830 (_G_int32_t): Likewise.
18831 (_G_uint16_t): Likewise.
18832 (_G_uint32_t): Likewise.
18833 (_G_HAVE_BOOL): Likewise.
18834 (_G_HAVE_ATEXIT): Likewise.
18835 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18836 (_G_HAVE_IO_FILE_OPEN): Likewise.
18837 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18838 (_G_int32_t): Likewise.
18839 (_G_uint16_t): Likewise.
18840 (_G_uint32_t): Likewise.
18841 (_G_HAVE_BOOL): Likewise.
18842 (_G_HAVE_ATEXIT): Likewise.
18843 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18844 (_G_HAVE_IO_FILE_OPEN): Likewise.
18845
b1dc5912
L
188462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18847
18848 * csu/libc-tls.c: Update copyright years.
18849
0e886ef9
JM
188502012-09-10 Joseph Myers <joseph@codesourcery.com>
18851
28361c5e
JM
18852 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18853 [!_G_USING_THUNKS]: Remove conditional code.
18854 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18855 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18856
0e886ef9
JM
18857 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18858 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18859 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18860 (_G_VTABLE_LABEL_PREFIX): Likewise.
18861 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18862 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18863 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18864 (_G_VTABLE_LABEL_PREFIX): Likewise.
18865 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18866 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18867 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18868 (_G_VTABLE_LABEL_PREFIX): Likewise.
18869 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18870
bcba7aa2
L
188712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18872
18873 * libio/Makefile: Include ../Makeconfig before tests.
18874 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18875 only if $(build-shared) is yes.
18876
06585ee8
L
18877 * iconv/gconv_db.c: Update copyright years.
18878
80ccd52c
LD
188792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18880
18881 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18882 unwind info if defined PIC. Fix special cases description.
18883 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18884
18885 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18886 DP_HI_MASK entry.
18887 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18888
691bc9c1
L
188892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18890
3d9b46b3
L
18891 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18892
de2139a9
L
18893 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18894 is NULL.
18895
5ca78dd0
L
18896 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18897 (LDLIBS-tst-chk4): This.
18898 (LDFLAGS-tst-chk5): Renamed to ...
18899 (LDLIBS-tst-chk5): This.
18900 (LDFLAGS-tst-chk6): Renamed to ...
18901 (LDLIBS-tst-chk6): This.
18902 (LDFLAGS-tst-lfschk4): Renamed to ...
18903 (LDLIBS-tst-lfschk4): This.
18904 (LDFLAGS-tst-lfschk5): Renamed to ...
18905 (LDLIBS-tst-lfschk5): This.
18906 (LDFLAGS-tst-lfschk6): Renamed to ...
18907 (LDLIBS-tst-lfschk6): This.
18908
691bc9c1
L
18909 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18910 on $(common-objpfx)soversions.mk.
18911
65cafb1c
JM
189122012-09-07 Joseph Myers <joseph@codesourcery.com>
18913
18914 [BZ #10014]
18915 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18916 example host name.
18917
c78ab094
SP
189182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18919
18920 * malloc/arena.c (arena_get_retry): New function that gets
18921 another arena for the caller to try its request on.
18922 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18923 current arena cannot fulfill the request.
18924 (__libc_memalign): Likewise.
18925 (__libc_memalign): Likewise.
18926 (__libc_pvalloc): Likewise.
18927 (__libc_calloc): Likewise.
18928
01f49f59
JT
189292012-09-05 John Tobey <john.tobey@gmail.com>
18930
18931 [BZ #13542]
18932 * manual/arith.texi (Operations on Complex): Fix description
18933 of carg branch cut.
18934
4c23fed5
JM
189352012-09-06 Joseph Myers <joseph@codesourcery.com>
18936
1d3c8572
JM
18937 [BZ #10014]
18938 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18939 host name.
18940
4c23fed5
JM
18941 [BZ #10038]
18942 * manual/memory.texi (Memory): Make order of menu items match
18943 order of sections.
18944
04570aaa
L
189452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18946
18947 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18948 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18949 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18950
b80af2f4
L
189512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18952
18953 * csu/libc-tls.c (static_dtv): Renamed to ...
18954 (_dl_static_dtv): This. Make it global.
18955 (_dl_initial_dtv): Removed.
18956 (__libc_setup_tls): Updated.
18957 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18958 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18959 DL_INITIAL_DTV.
18960
2abe9f15
PM
189612012-09-06 Petr Machata <pmachata@redhat.com>
18962
18963 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18964 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18965 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18966 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18967
0948c3af
L
189682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18969
18970 [BZ #14545]
18971 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18972 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18973 freeing dtv[-1].
18974
a5055ad1
L
189752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18976
18977 [BZ #14544]
18978 * Makeconfig (link-static-before-libc): Replace $(+prector)
18979 with $(+prectorT).
18980 (link-static-after-libc): Replace $(+postctor) with
18981 $(+postctorT).
18982 (link-bounded): Replace $(+prector)/$(+postctor) with
18983 $(+prectorT)/$(+postctorT).
18984 (+prectorT): New macro.
18985 (+postctorT): Likewise.
18986
ed8c2ecd
JM
189872012-09-06 Joseph Myers <joseph@codesourcery.com>
18988
18989 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18990 (round_str): Handle values above the maximum for IBM long double
18991 as inexact.
18992 * stdlib/tst-strtod-round.c (tests): Regenerated.
18993
14c996c8
AK
189942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18995
18996 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18997 assembler flag.
18998 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18999 zarch_nohighgprs around the zarch optimized routines.
19000 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19001 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19003 for zarch.
19004
430d6ce6
DM
190052012-09-05 David S. Miller <davem@davemloft.net>
19006
19007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19008
ff04dda4
DM
19009 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19010 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19011 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19012 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19013 entries.
19014
24d4e01b
AO
190152012-09-05 Alexandre Oliva <aoliva@redhat.com>
19016
19017 * malloc/arena.c: Fold copyright years.
19018 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19019
61d58174
AO
190202012-09-05 Alexandre Oliva <aoliva@redhat.com>
19021
19022 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19023
20196a5e
AO
190242012-09-05 Alexandre Oliva <aoliva@redhat.com>
19025
19026 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19027
5c447383
AO
190282012-09-05 Alexandre Oliva <aoliva@redhat.com>
19029
19030 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19031 change internal state upon failure.
19032
fad64255
AO
190332012-09-05 Alexandre Oliva <aoliva@redhat.com>
19034
19035 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19036 * malloc/memusage.c (mmap): Likewise.
19037 (mmap64, mremap): Likewise. Adjust name in comment.
19038
1ffb8c90
SP
190392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19040
19041 * libio/fileops.c: Fix typos in comments.
19042 * libio/oldfileops.c: Likewise.
19043 * libio/wfileops.c: Likewise.
19044
6ef9cc37
SP
190452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19046
19047 [BZ #1349]
19048 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19049 (tst-malloc-usable-ENV): Set environment for test case.
19050 * malloc/hooks.c (malloc_check_get_size): New function to get
19051 requested size.
19052 * malloc/malloc.c (musable): Use malloc_check_get_size.
19053 * malloc/tst-malloc-usable.c: New test case.
19054
4d038ae3
AS
190552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19056
19057 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19058
c4e85184
AM
190592012-09-05 Allan McRae <allan@archlinux.org>
19060
b9dafc56 19061 [BZ #13966]
c4e85184
AM
19062 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19063 determine header location.
19064 * configure: Regenerated.
19065
e1343020
AS
190662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19067
19068 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19069 float format.
19070 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19071 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19072 format.
e1343020
AS
19073 (test): Regenerate.
19074
0a9f1987
DM
190752012-09-04 David S. Miller <davem@davemloft.net>
19076
19077 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19078 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19079 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19080
29237804
FW
190812012-09-04 Florian Weimer <fweimer@redhat.com>
19082
19083 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19084 failures.
19085
edb3cb88
FW
19086 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19087
60160d83
JM
190882012-09-04 Joseph Myers <joseph@codesourcery.com>
19089
19090 [BZ #9914]
19091 * libio/iogetdelim.c: Include <limits.h>.
19092 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19093 + len + 1 would overflow.
19094
bcd6c8dc
AJ
190952012-09-03 Andreas Jaeger <aj@suse.de>
19096
19097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19098 * sysdeps/i386/fpu/libm-test-ulps: Update.
19099
4ffffbd2
LD
191002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19101
19102 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19103 Add s_sinf-sse2, s_conf-sse2.
19104
19105 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19106 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19107 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19108 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19109
19110 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19111 for using routine as __sinf_ia32.
19112 Use macro for function declaration and weak_alias.
19113 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19114 for using routine as __cosf_ia32.
19115 Use macro for function declaration and weak_alias.
19116
19117 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19118 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19119
19120 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19121 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19123
19124 * math/libm-test.inc (cos_test): Add more test cases.
19125 (sin_test): Likewise.
19126 (sincos_test): Likewise.
19127
511fa286
AK
191282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19129
19130 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19131 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19132 hidden.
19133 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19134
5f30cfec
L
191352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19136
19137 [BZ #14538]
19138 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19139 first element of the GOT.
19140 (elf_machine_load_address): Return the difference between
19141 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19142
0786794f
AM
191432012-09-01 Allan McRae <allan@archlinux.org>
19144
5f30cfec
L
19145 [BZ #13412]
19146 * configure.in (AWK): Require gawk version 3.0 or later.
19147 * configure: Regenerated.
0786794f 19148
26889eac
JM
191492012-09-01 Joseph Myers <joseph@codesourcery.com>
19150
19151 * sysdeps/unix/sysv/linux/kernel-features.h
19152 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19153 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19154 [__NR_clock_getres]: Make code unconditional.
19155 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19156 (clock_getcpuclockid): Remove code left unreachable by removal of
19157 conditionals.
19158 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19159 code unconditional.
19160 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19161 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19162 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19163 Make code unconditional.
19164 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19165 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19166 * sysdeps/unix/sysv/linux/clock_settime.c
19167 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19168 conditional code.
19169 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19170 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19171
d22e28b0
L
191722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19173
19174 [BZ #14476]
19175 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19176 scripts/test-installation.pl.
19177
19178 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19179 and $ld_so_version if it is set.
19180
050af9c4
SP
191812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19182
19183 [BZ #14516]
19184 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19185 failure if reading from procfs failed.
19186 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19187
ad845c0b
JM
191882012-08-27 Joseph Myers <joseph@codesourcery.com>
19189
19190 * sysdeps/unix/sysv/linux/kernel-features.h
19191 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19192 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19193 Remove conditional code.
19194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19195 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19196 Remove conditional code.
19197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19198 * sysdeps/unix/sysv/linux/i386/fxstat.c
19199 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19201 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19202 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19204 * sysdeps/unix/sysv/linux/i386/lxstat.c
19205 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19207 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19208 Remove conditional code.
19209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19210 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19211 Remove conditional code.
19212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19213 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19214 <kernel-features.h>.
19215 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19216 Remove.
19217 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19218 Remove conditional code.
19219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19220 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19221 Remove conditional.
19222
5dbf56af
MF
192232012-08-27 Mike Frysinger <vapier@gentoo.org>
19224
19225 [BZ #5400]
19226 * NEWS: Add fixed bug number.
19227
d6e70f43
JM
192282012-08-27 Joseph Myers <joseph@codesourcery.com>
19229
7efb4737
JM
19230 [BZ #14519]
19231 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19232 underflowing exponent in case of negative sign.
19233 * stdlib/tst-strtod-round-data: Add more tests.
19234 * stdlib/tst-strtod-round.c (tests): Regenerated.
19235
af92131a
JM
19236 [BZ #3479]
19237 * stdlib/strtod_l.c (NDIG): Remove.
19238 (HEXNDIG): Likewise.
19239 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19240 smallest representable value.
19241 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19242 lie within an exact representation of 1/2 ulp of the result.
19243 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19244 unconditionally.
19245 (TENS_P9_IDX): Define unconditionally.
19246 (TENS_P9_SIZE): Likewise.
19247 (TENS_P10_IDX): Likewise.
19248 (TENS_P10_SIZE): Likewise.
19249 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19250 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19251 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19252 entries for 10^2^13 and 10^2^14.
19253 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19254 (TENS_P13_IDX): Define.
19255 (TENS_P13_SIZE): Likewise.
19256 (TENS_P14_IDX): Likewise.
19257 (TENS_P14_SIZE): Likewise.
19258 (_fpioconst_pow10): Change array size to
19259 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19260 unconditional.
19261 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19262 1024]: Add entries for 10^2^13 and 10^2^14.
19263 [LAST_POW10 > _LAST_POW10]: Remove #error.
19264 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19265 (_fpioconst_pow10): Change array size to
19266 FPIOCONST_POW10_ARRAY_SIZE.
19267 * stdlib/gen-fpioconst.c: New file.
19268 * stdlib/gen-tst-strtod-round.c: Likewise.
19269 * stdlib/tst-strtod-round-data: Likewise.
19270 * stdlib/tst-strtod-round.c: Likewise.
19271 * stdlib/Makefile (tests): Add tst-strtod-round.
19272
d6e70f43
JM
19273 [BZ #14459]
19274 * stdlib/strtod_l.c: Include <stdint.h>.
19275 (NDEBUG): Do not define.
19276 (round_and_return): Change EXPONENT parameter to type intmax_t.
19277 Rearrange calculations to avoid internal overflow possibilities.
19278 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19279 Rearrange calculations to avoid internal overflow possibilities.
19280 Assert that number fits inside MPNSIZE limbs.
19281 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19282 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19283 calculations and add assertions to avoid internal overflow
19284 possibilities. Add casts to avoid signed/unsigned operations.
19285 * stdlib/tst-strtod-overflow.c: New file.
19286 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19287
1f529f7d
MP
192882012-08-25 Marek Polacek <polacek@redhat.com>
19289
19290 * time/time.h: Fix some typos in comments.
19291
59a629f1
RM
192922012-08-23 Roland McGrath <roland@hack.frob.com>
19293
19294 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19295 * posix/tst-rfc3484-2.c: Likewise.
19296 * posix/tst-rfc3484-3.c: Likewise.
19297
d3bafbc9
SM
192982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19299
19300 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19301 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19302
4efcc022
JM
193032012-08-23 Joseph Myers <joseph@codesourcery.com>
19304
19305 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19306 #include of fxstatat64.c.
19307
3cc3ef96
RM
193082012-08-22 Roland McGrath <roland@hack.frob.com>
19309
f04e2132
RM
19310 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19311 * shadow/getspent_r.c: Likewise.
19312 * shadow/getspnam.c: Likewise.
19313 * shadow/getspnam_r.c: Likewise.
19314 * gshadow/getsgent.c: Likewise.
19315 * gshadow/getsgent_r.c: Likewise.
19316 * gshadow/getsgnam.c: Likewise.
19317 * gshadow/getsgnam_r.c: Likewise.
19318 * inet/getnetbyad.c: Likewise.
19319 * inet/getnetbyad_r.c: Likewise.
19320 * inet/getnetbynm.c: Likewise.
19321 * inet/getnetbynm_r.c: Likewise.
19322 * inet/getnetent.c: Likewise.
19323 * inet/getnetent_r.c: Likewise.
19324 * inet/getproto.c: Likewise.
19325 * inet/getproto_r.c: Likewise.
19326 * inet/getprtent.c: Likewise.
19327 * inet/getprtent_r.c: Likewise.
19328 * inet/getprtname.c: Likewise.
19329 * inet/getprtname_r.c: Likewise.
19330 * inet/getrpcbyname.c: Likewise.
19331 * inet/getrpcbyname_r.c: Likewise.
19332 * inet/getrpcbynumber.c: Likewise.
19333 * inet/getrpcbynumber_r.c: Likewise.
19334 * inet/getrpcent.c: Likewise.
19335 * inet/getrpcent_r.c: Likewise.
19336 * inet/getaliasent.c: Likewise.
19337 * inet/getaliasent_r.c: Likewise.
19338 * inet/getaliasname.c: Likewise.
19339 * inet/getaliasname_r.c: Likewise.
19340 * nscd/getgrgid_r.c: Likewise.
19341 * nscd/getgrnam_r.c: Likewise.
19342 * nscd/gethstbyad_r.c: Likewise.
19343 * nscd/gethstbynm3_r.c: Likewise.
19344 * nscd/getpwnam_r.c: Likewise.
19345 * nscd/getpwuid_r.c: Likewise.
19346 * nscd/getsrvbynm_r.c: Likewise.
19347 * nscd/getsrvbypt_r.c: Likewise.
19348 * nscd/gai.c: Likewise.
19349
c53d909c
RM
19350 * configure.in (build_nscd): New substituted variable, set
19351 by --disable-build-nscd and defaults to $use_nscd.
19352 * configure: Regenerated.
19353 * config.make.in (build-nscd): New substituted variable.
19354 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19355 Change conditional to require [$(build-nscd) = yes] as well.
19356 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19357
3cc3ef96
RM
19358 [BZ# 13696]
19359 * configure.in (use_nscd): New substituted variable, set by
19360 --disable-nscd. If enabled, define USE_NSCD.
19361 * configure: Regenerated.
19362 * config.h.in: Add USE_NSCD.
19363 * config.make.in (use-nscd): New substituted variable.
19364 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19365 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19366 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19367 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19368 (CFLAGS-getgrnam_r.c): Likewise.
19369 (CFLAGS-initgroups.c): Likewise.
19370 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19371 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19372 Variables removed.
19373 * inet/getnetgrent_r.c
19374 (nscd_setnetgrent): New function, broken out of ...
19375 (setnetgrent): ... here. Call it.
19376 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19377 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19378 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19379 * nscd/Makefile (routines, aux): Move definitions after include of
19380 Makeconfig. Conditionalize on [$(use-nscd) != no].
19381 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19382 Conditionalize on [USE_NSCD].
19383 (is_nscd, nscd_init_cb): Likewise.
19384 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19385 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19386 * nss/nss_db/db-init.c: Likewise.
19387 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19388 [USE_NSCD].
19389 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19390 (make_request): Use it.
19391 (cache_valid_p): New function.
19392 (__check_pf): Use it.
19393 * NEWS: Add item for --disable-nscd.
19394
07e51550
DL
193952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19396
19397 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19398 to support sed >= 4.2.1-20-ga9bf076.
19399 * configure: Regenerated.
19400
35a5b08b
RM
194012012-08-22 Roland McGrath <roland@hack.frob.com>
19402
19403 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19404 Conditionalize whole body on [IREL].
19405
8479f23a
JL
194062012-08-22 Jeff Law <law@redhat.com>
19407
19408 [BZ #14505]
19409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19410 if the family is PF_UNSPEC.
19411
48da0b21
MF
194122012-08-22 Mike Frysinger <vapier@gentoo.org>
19413
19414 * Makerules (lib-version): Rename from V.
19415 (install-lib-nosubdir): Change V to lib-version.
19416
15d0da8c
WS
194172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19418
19419 [BZ #14252]
19420 * powerpc32/power6/wcschr.c: New file.
19421 * powerpc32/power6/wcscpy.c: New file.
19422 * powerpc32/power6/wcsrchr.c: New file.
19423 * powerpc64/power6/wcschr.c: New file.
19424 * powerpc64/power6/wcscpy.c: New file.
19425 * powerpc64/power6/wcsrchr.c: New file.
19426
bcca0895
MK
194272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19428
19429 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19430 (two_way_short_needle): Use it.
5a4aaa33
RM
19431 * string/strstr.c (AVAILABLE1_USES_J): Define.
19432 * string/strcasestr.c: Likewise.
99677e57
MK
19433
19434 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19435 array references.
19436 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19437
400726de
MK
19438 [BZ #11607]
19439 * NEWS: Add an entry.
19440 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19441 define their defaults.
19442 (two_way_short_needle): Detect end-of-string on-the-fly.
19443 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19444 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19445 * string/bug-strcasestr1.c: New test.
19446 * string/Makefile: Run it.
19447
20a71f2c
MK
194482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19449
19450 [BZ #11607]
19451 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19452 the first character.
19453
21ad0558
RM
194542012-08-21 Roland McGrath <roland@hack.frob.com>
19455
19456 * csu/elf-init.c (__libc_csu_irel): Function removed.
19457 * csu/libc-start.c (apply_irel): New function.
19458 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19459
0e1d9911
JM
194602012-08-21 Joseph Myers <joseph@codesourcery.com>
19461
19462 * sysdeps/unix/sysv/linux/kernel-features.h
19463 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19464 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19465 <kernel-features.h>.
19466 [__NR_fadvise64_64]: Make code unconditional.
19467 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19468 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19469 !__NR_fadvise64_64)]: Likewise.
19470 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19471 !__NR_fadvise64_64))]: Likewise.
19472 [__NR_fadvise64]: Make code unconditional.
19473 [!__NR_fadvise64]: Remove conditional code.
19474 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19475 <kernel-features.h>.
19476 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19477 unconditional.
19478 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19479 conditional code.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19481 not include <kernel-features.h>.
19482 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19483 unconditional.
19484 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19485 conditional code.
19486 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19487 include <kernel-features.h>.
19488 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19489 unconditional.
19490 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19491 conditional code.
19492
14a50c9d
WS
194932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19494
19495 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19496 slight instruction rearrangements per scrollpipe analysis.
19497 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19498
c0f4faf0
RM
194992012-08-20 Roland McGrath <roland@hack.frob.com>
19500
696da859
RM
19501 * manual/syslog.texi (syslog; vsyslog, closelog):
19502 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19503 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19504
c0f4faf0
RM
19505 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19506 DSOCAPS to match condition on defining it.
19507
348363b2
JM
195082012-08-20 Joseph Myers <joseph@codesourcery.com>
19509
a35cbf28
JM
19510 * sysdeps/unix/sysv/linux/kernel-features.h
19511 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19513 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19514 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19516 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19517 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19519 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19520 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19521
445f7ecd
JM
19522 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19523 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19524
348363b2
JM
19525 * sysdeps/unix/sysv/linux/kernel-features.h
19526 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19527 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19528 unconditional.
19529 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19530 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19531 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19532 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19533 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19534 Make code unconditional.
19535 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19536 (__mmap64) [!__NR_mmap2]: Likewise.
19537 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19538 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19539 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19540 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19541 [__NR_mmap2]: Make code unconditional.
19542 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19543 (__mmap64) [!__NR_mmap2]: Likewise.
19544
bc5bc0e5
AK
195452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19546
19547 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19548
88d506de
AJ
195492012-08-18 Andreas Jaeger <aj@suse.de>
19550
19551 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19552
493387d2
MF
195532012-08-18 Mike Frysinger <vapier@gentoo.org>
19554
19555 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19556 * include/unistd.h (__have_sock_cloexec): Likewise.
19557 (__have_pipe2): Likewise.
19558 (__have_dup3): Likewise.
19559
a277af22
MF
195602012-08-18 Mike Frysinger <vapier@gentoo.org>
19561
19562 [BZ #9685]
19563 * include/unistd.h (__have_pipe2): Change define into an extern int.
19564 (__have_dup3): Likewise.
19565 * socket/have_sock_cloexec.c: Include fcntl.h.
19566 (__have_pipe2): New variable.
19567 (__have_dup3): Likewise.
19568
fdab8fd3
MF
195692012-08-17 Mike Frysinger <vapier@gentoo.org>
19570
19571 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19572
31035e80
MP
195732012-08-17 Marek Polacek <polacek@redhat.com>
19574
19575 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19576 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19577
3bd9e993
RM
195782012-08-17 Roland McGrath <roland@hack.frob.com>
19579
c91c505f
RM
19580 * configure.in: Add AC_SUBST for sysheaders.
19581 * configure: Regenerated.
19582 * config.make.in (sysheaders): New substituted variable.
19583
7c6f9d53
RM
19584 * sysdeps/unix/mkfifo.c: Moved ...
19585 * sysdeps/posix/mkfifo.c: ... here.
19586 * sysdeps/unix/mkfifoat.c: Moved ...
19587 * sysdeps/posix/mkfifoat.c: ... here.
19588
19589 * sysdeps/unix/utime.c: Moved ...
19590 * sysdeps/posix/utime.c: ... here.
19591
19592 * sysdeps/unix/time.c: Moved ...
19593 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19594 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19595 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19596
19597 * sysdeps/unix/nice.c: Moved ...
19598 * sysdeps/posix/nice.c: ... here.
19599
19600 * sysdeps/unix/alarm.c: Moved ...
19601 * sysdeps/posix/alarm.c: ... here.
19602
3bd9e993
RM
19603 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19604
d1f09384
JL
196052012-08-17 Jeff Law <law@redhat.com>
19606
19607 * intl/Makefile (codeset_mo): New variable.
19608 ($(codeset_mo)): New target.
19609 (tst-codeset.out): Depend on that. Remove explicit rule.
19610 (tst-gettext3.out, tst-gettext5.out): Likewise.
19611 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19612 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19613 * intl/tst-codeset.sh: Remove.
19614 * intl/tst-gettext3.sh: Likewise.
19615 * intl/tst-gettext5.sh: Likewise.
19616
2ae1ae5c
RM
196172012-08-17 Roland McGrath <roland@hack.frob.com>
19618
c31fdb83
RM
19619 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19620 * sysdeps/unix/syscalls.list: ... here.
19621
a0844057
RM
19622 * sysdeps/posix/getaddrinfo.c
19623 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19624 (gaiconf_init, gaiconf_reload): Use them.
19625 [!_STATBUF_ST_NSEC]
19626 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19627 Define using time_t rather than struct timespec.
19628
750c1f2a
RM
19629 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19630 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19631 Macros removed.
19632 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19633 [!NO_THREADS].
19634 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19635 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19636 Likewise.
19637
2ae1ae5c
RM
19638 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19639 __libc_cleanup_push argument.
19640
e66a42f5
RM
19641 * bits/param.h: New file.
19642 * misc/sys/param.h: New file.
19643 * include/sys/param.h: New file.
19644 * misc/Makefile (headers): Add bits/param.h.
19645 * sysdeps/generic/sys/param.h: File removed.
19646 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19647 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19648 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19649 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19650
b7c08a66
RM
19651 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19652 last change.
19653
b2e1c562
RM
19654 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19655 [_IO_MTSAFE_IO].
19656 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19657 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19658 New macros.
19659
c75ccd4c
RM
19660 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19661 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19662 rather than -D_IO_MTSAFE_IO conditionally.
19663 * stdio-common/Makefile (CPPFLAGS): Likewise.
19664 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19665 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19666 Use $(libio-mtsafe).
19667 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19668 of -D_IO_MTSAFE_IO.
19669 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19670 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19671 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19672 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19673 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19674 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19675 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19676 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19677 (CFLAGS-fread_u_chk.c): Likewise.
19678 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19679 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19680 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19681 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19682 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19683 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19684 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19685 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19686 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19687
19688 * libio/Makefile: Test [$(libc-reentrant) = yes]
19689 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19690
19691 * Makeconfig
19692 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19693 * sysdeps/pthread/configure: File removed.
19694 * sysdeps/pthread/Makeconfig: New file.
19695 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19696 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19697
d9195db8
GB
196982012-08-16 Gary Benson <gbenson@redhat.com>
19699
19700 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19701 unmapping the first object in a namespace.
19702
86466cd9
RM
197032012-08-16 Roland McGrath <roland@hack.frob.com>
19704
19705 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19706 (__internal_setnetgrent): ... this. Add internal_function to
19707 definition. Add libc_hidden_def.
19708 (setnetgrent): Update caller.
19709 (internal_endnetgrent): Renamed to ...
19710 (__internal_endnetgrent): ... this. Add internal_function to
19711 definition. Add libc_hidden_def.
19712 (endnetgrent): Update caller.
19713 (internal_getnetgrent_r): Renamed to ...
19714 (__internal_getnetgrent_r): ... this. Add internal_function to
19715 definition. Add libc_hidden_def.
19716 (__getnetgrent_r): Update caller.
19717 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19718
c3c8283c
JM
197192012-08-16 Joseph Myers <joseph@codesourcery.com>
19720
19721 * stdlib/longlong.h: Update from GCC.
19722
db1ee0a8
RM
197232012-08-16 Roland McGrath <roland@hack.frob.com>
19724
19725 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19726 on _QL, which is set by umul_ppmm but never used.
19727 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19728 variables, which are set by GMP macros but never used.
19729 * stdio-common/_itowa.c (_itowa): Likewise.
19730 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19731 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19732
30f69637
CD
197332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19734
19735 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19736 struct La_sh_regs is not constant.
19737 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19738 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19739 and struct La_sparc64_regs are not constant.
19740
93a78ac4
JM
197412012-08-16 Joseph Myers <joseph@codesourcery.com>
19742
19743 * sysdeps/unix/sysv/linux/kernel-features.h
19744 (__ASSUME_POSIX_TIMERS): Remove.
19745 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19747 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19748 Make code unconditional.
19749 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19750 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19751 Make code unconditional.
19752 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19753 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19754 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19755 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19756 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19757 Make code unconditional.
19758 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19759 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19760 (__libc_missing_posix_timers): Remove.
19761
dd924cd7
RM
197622012-08-15 Roland McGrath <roland@hack.frob.com>
19763
4b4f2771
RM
19764 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19765 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19766
601c888b
RM
19767 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19768
176790a7
RM
19769 * elf/dl-sym.c: Include <stdlib.h>.
19770
329bc018
RM
19771 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19772 constants, which avoids warnings in 32-bit builds.
19773
e04e272d
RM
19774 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19775 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19776
952bf94a
RM
19777 * misc/lseek.c: File moved to ...
19778 * io/lseek.c: ... here.
19779
7c99b50a
RM
19780 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19781
dd924cd7
RM
19782 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19783 shifting LEN more than 31 bits at once.
19784
b3f479a8
LD
197852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19786
19787 [BZ #14195]
8c4ae0d4
RM
19788 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19789 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19790 * string/test-strncasecmp.c (check1): Renamed to...
19791 (bz12205): ...this.
19792 (bz14195): Add new testcase for two empty input strings and N > 0.
19793 (test_main): Call new testcase, adapt for renamed function.
19794
9c55864e
AJ
197952012-08-15 Andreas Jaeger <aj@suse.de>
19796
19797 [BZ #14090]
19798 * crypt/md5test2.c: New test, based on test supplied by Serge
19799 Belyshev <belyshev@depni.sinp.msu.ru>.
19800 * crypt/Makefile (xtests): Add md5test-giant..
19801 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19802
02dcb6c5
PE
198032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19804
19805 [BZ #14090]
19806 * crypt/md5.c (md5_process_block): Don't assume the buffer
19807 length is less than 2**32.
19808 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19809 length is less than 2**64.
19810
a3f95dcc
RM
198112012-08-15 Roland McGrath <roland@hack.frob.com>
19812
be75d758
RM
19813 * string/str-two-way.h: Include <sys/param.h>.
19814 (MAX): Macro removed.
19815
7312ca90
RM
19816 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19817 Move #define and #undef of memmove to just before and after
19818 including <string.h>.
19819
9a0a5486
RM
19820 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19821 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19822 and after including <string.h>. Move declarations of
19823 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19824 to before #include "string/memmove.c".
19825
67cc348d
RM
19826 * include/dirent.h: Declare __getdirentries.
19827
a3f95dcc
RM
19828 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19829 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19830
ca98e171
MF
198312012-08-14 Mike Frysinger <vapier@gentoo.org>
19832
19833 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19834 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19835 * sysdeps/i386/configure: Regenerated.
19836 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19837 STABS_CURRENT_FILE, and STABS_FUN.
19838 (END): Remove call to STABS_FUN_END.
19839 (STABS_CURRENT_FILE1): Delete.
19840 (STABS_CURRENT_FILE): Likewise.
19841 (STABS_FUN): Likewise.
19842 (STABS_FUN_END): Likewise.
19843 (STABS_FUN2): Likewise.
19844 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19845 * sysdeps/x86_64/configure: Regenerated.
19846
5908bf46
RM
198472012-08-14 Roland McGrath <roland@hack.frob.com>
19848
19849 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19850 * elf/dl-lookup.c: Likewise.
5908bf46 19851
f2c05b9e
JM
198522012-08-14 Joseph Myers <joseph@codesourcery.com>
19853
19854 * sysdeps/unix/sysv/linux/kernel-features.h
19855 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19856 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19857 unconditionally.
19858 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19859 unconditionally.
19860 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19861 condition on __ASSUME_CLONE_THREAD_FLAGS.
19862
e11f5155
AJ
198632012-08-14 Andreas Jaeger <aj@suse.de>
19864
19865 * sysdeps/i386/fpu/libm-test-ulps: Update.
19866
51a9ba86
MK
198672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19868
2fdd4f78
AJ
19869 * include/atomic.h (atomic_exchange_and_add): Split into ...
19870 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19871 New atomic macros.
51a9ba86 19872
ba6cba9e
MT
198732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19874
19875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19876
42443a47
JL
198772012-08-13 Jeff Law <law@redhat.com>
19878
19879 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19880 null byte in the output string.
19881
121dce05
JM
198822012-08-10 Joseph Myers <joseph@codesourcery.com>
19883
19884 * sysdeps/unix/sysv/linux/kernel-features.h
19885 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19886 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19887 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19888 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19889 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19890 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19891 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19892
bf51f568
JL
198932012-08-09 Jeff Law <law@redhat.com>
19894
19895 [BZ #13939]
19896 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19897 When avoid_arena is set, don't retry in the that arena. Pick the
19898 next one, whatever it might be.
19899 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19900 (arena_lock): Pass in new parameter to arena_get2.
19901 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19902 arena_get2.
19903 (__libc_malloc): Unify retrying after main arena failure with
19904 __libc_memalign version.
19905 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19906
f85fa270
L
199072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19908
19909 [BZ #14166]
19910 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19911 to __redirect_strstr.
19912 (__strstr_sse42): Use typeof __redirect_strstr.
19913 (__strstr_ia32): Likewise.
19914 (__libc_strstr): New prototype.
19915 (strstr): Renamed to ...
19916 (__libc_strstr): This.
19917 (strstr): New strong alias of __libc_strstr.
19918 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19919 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19920 __redirect_time.
19921 Include <time.h>.
19922 (__libc_time): New prototype.
19923 (time_ifunc): Replace time with __libc_time.
19924 (time): New strong alias and hidden definition of __libc_time.
19925 (__GI_time): Remove strong alias.
19926 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19927 Include <stddef.h>.
19928 (memmove): Redefined to __redirect_memmove.
19929 (__memmove_sse2): Use typeof __redirect_memmove.
19930 (__memmove_ssse3): Likewise.
19931 (__memmove_ssse3_back): Likewise.
19932 (__libc_memmove): New prototype.
19933 (memmove): Renamed to ...
19934 (__libc_memmove): This.
19935 (memmove): New strong alias of __libc_memmove.
19936
33b4a91e
MS
199372012-08-08 Mark Salter <msalter@redhat.com>
19938
19939 * elf/elf.h
19940 (R_MN10300_TLS_GD): Define.
19941 (R_MN10300_TLS_LD): Likewise.
19942 (R_MN10300_TLS_LDO): Likewise.
19943 (R_MN10300_TLS_GOTIE): Likewise.
19944 (R_MN10300_TLS_IE): Likewise.
19945 (R_MN10300_TLS_LE): Likewise.
19946 (R_MN10300_TLS_DTPMOD): Likewise.
19947 (R_MN10300_TLS_DTPOFF): Likewise.
19948 (R_MN10300_TLS_TPOFF): Likewise.
19949 (R_MN10300_SYM_DIFF): Likewise.
19950 (R_MN10300_ALIGN): Likewise.
19951 (R_MN10300_NUM): Update.
19952
b36137f1
JM
199532012-08-08 Joseph Myers <joseph@codesourcery.com>
19954
19955 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19956 Remove.
19957
cdd915fd
RM
199582012-08-08 Roland McGrath <roland@hack.frob.com>
19959
a2433aac
RM
19960 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19961
cdd915fd
RM
19962 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19963 sysdeps/unix -> sysdeps/posix move.
19964 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19965
bf9b740a
AM
199662012-08-07 Allan McRae <allan@archlinux.org>
19967
19968 [BZ #14303]
19969 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19970 (SUNOS_CPP): Likewise.
19971 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19972 not found.
19973 (open_input): Call CPP using execvp.
19974
93df14ee
JM
199752012-08-07 Joseph Myers <joseph@codesourcery.com>
19976
19977 * sysdeps/unix/sysv/linux/kernel-features.h
19978 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19979 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19980 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19981 (__ASSUME_WAITID_SYSCALL): Likewise.
19982 * sysdeps/unix/sysv/linux/dl-execstack.c
19983 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19984 code unconditional.
19985 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19986 conditional code.
19987 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19988 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19989 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19990 code.
19991 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19992 unconditional.
19993 [__ASSUME_WAITID_SYSCALL]: Likewise.
19994 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19995
d34689de
RM
199962012-08-07 Roland McGrath <roland@hack.frob.com>
19997
a281decc
RM
19998 * sysdeps/unix/closedir.c: Renamed to ...
19999 * sysdeps/posix/closedir.c: ... here.
20000 * sysdeps/unix/dirfd.c: Renamed to ...
20001 * sysdeps/posix/dirfd.c: ... here.
20002 * sysdeps/unix/dirstream.h: Renamed to ...
20003 * sysdeps/posix/dirstream.h: ... here.
20004 * sysdeps/unix/fdopendir.c: Renamed to ...
20005 * sysdeps/posix/fdopendir.c: ... here.
20006 * sysdeps/unix/opendir.c: Renamed to ...
20007 * sysdeps/posix/opendir.c: ... here.
20008 * sysdeps/unix/readdir.c: Renamed to ...
20009 * sysdeps/posix/readdir.c: ... here.
20010 * sysdeps/unix/readdir_r.c: Renamed to ...
20011 * sysdeps/posix/readdir_r.c: ... here.
20012 * sysdeps/unix/rewinddir.c: Renamed to ...
20013 * sysdeps/posix/rewinddir.c: ... here.
20014 * sysdeps/unix/seekdir.c: Renamed to ...
20015 * sysdeps/posix/seekdir.c: ... here.
20016 * sysdeps/unix/telldir.c: Renamed to ...
20017 * sysdeps/posix/telldir.c: ... here.
20018 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20019 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20020 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20021 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20022
22895b47
RM
20023 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20024 * bits/fcntl.h: ... here.
20025
707a53b6
RM
20026 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20027 not 0.
20028 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20029 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20030 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20031 (struct flock): Move l_start, l_len to the beginning.
20032 Use __pid_t for l_pid.
20033 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20034 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20035 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20036 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20037 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20038 [__USE_LARGEFILE64] (struct flock64): New type.
20039 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20040
f0bd3e25
RM
20041 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20042 * bits/dirent.h: ... here.
20043
d34689de
RM
20044 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20045 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20046
6dad2c06
JM
200472012-08-07 Joseph Myers <joseph@codesourcery.com>
20048
20049 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20050 Change from 2.6.0 to 2.6.16.
20051 * sysdeps/unix/sysv/linux/configure: Regenerated.
20052 * sysdeps/unix/sysv/linux/kernel-features.h
20053 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20054 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20055 version.
20056 (__ASSUME_UTIMES): Likewise.
20057 (__ASSUME_CLONE_STOPPED): Remove.
20058 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20059 architectures, not kernel version.
20060 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20061 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20062 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20063 (__ASSUME_WAITID_SYSCALL): Likewise.
20064 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20065 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20066 * README: State 2.6.16 as minimum Linux kernel version. Do not
20067 refer to older versions.
20068
03af9520
RM
200692012-08-06 Roland McGrath <roland@hack.frob.com>
20070
8e49df1d
RM
20071 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20072 Define alphasort64 as an alias.
20073 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20074 Define versionsort64 as an alias.
20075 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20076 Define scandir64 as an alias.
20077 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20078 Define scandirat64 as an alias.
20079 * dirent/alphasort64.c (alphasort64):
20080 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20081 * dirent/versionsort64.c: Likewise.
20082 * dirent/scandir64.c: Likewise.
20083 * dirent/scandirat64.c: Likewise.
20084 * sysdeps/wordsize-64/alphasort.c: File removed.
20085 * sysdeps/wordsize-64/alphasort64.c: File removed.
20086 * sysdeps/wordsize-64/scandir.c: File removed.
20087 * sysdeps/wordsize-64/scandir64.c: File removed.
20088 * sysdeps/wordsize-64/scandirat.c: File removed.
20089 * sysdeps/wordsize-64/scandirat64.c: File removed.
20090 * sysdeps/wordsize-64/versionsort.c: File removed.
20091 * sysdeps/wordsize-64/versionsort64.c: File removed.
20092 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20093 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20094 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20095 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20096 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20097 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20098 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20099 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20100
20101 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20103 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20105 [defined __arch64__ || defined __sparcv9]
20106 (__INO_T_MATCHES_INO64_T): New macro.
20107 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20108 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20109 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20110 * sysdeps/unix/sysv/linux/bits/dirent.h
20111 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20112 (_DIRENT_MATCHES_DIRENT64): New macro.
20113
03af9520
RM
20114 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20115 Define lockf64 as an alias.
20116 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20117 Define fseeko64 as an alias.
20118 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20119 Define ftello64 as an alias.
20120 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20121 Define _IO_fgetpos64 and fgetpos64 as aliases.
20122 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20123 Define _IO_fsetpos64 and fsetpos64 as aliases.
20124 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20125 Conditionalize body on this.
20126 * libio/fseeko64.c: Likewise.
20127 * libio/ftello64.c: Likewise.
20128 * libio/iofgetpos64.c: Likewise.
20129 * libio/iofsetpos64.c: Likewise.
20130 * sysdeps/wordsize-64/lockf.c: File removed.
20131 * sysdeps/wordsize-64/lockf64.c: File removed.
20132 * sysdeps/wordsize-64/fseeko.c: File removed.
20133 * sysdeps/wordsize-64/fseeko64.c: File removed.
20134 * sysdeps/wordsize-64/ftello.c: File removed.
20135 * sysdeps/wordsize-64/ftello64.c: File removed.
20136 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20137 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20138 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20139 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20140 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20142 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20143 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20144 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20145 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20146 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20147 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20148 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20149 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20150
20151 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20153 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20155 [defined __arch64__ || defined __sparcv9]
20156 (__OFF_T_MATCHES_OFF64_T): New macro.
20157 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20158 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20160 (__OFF_T_MATCHES_OFF64_T): New macro.
20161
c5757acd
L
201622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20163
20164 * stdlib/secure-getenv.c (__secure_getenv): Replace
20165 GLIBC_2_16 with GLIBC_2_17.
20166
3a31811e
L
201672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20168
20169 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20170 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20171
faa2bccb
DM
201722012-08-03 David S. Miller <davem@davemloft.net>
20173
20174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20175
85fe1997
JM
201762012-08-03 Joseph Myers <joseph@codesourcery.com>
20177
20178 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20179 Remove.
20180 (__ASSUME_CORRECT_SI_PID): Likewise.
20181 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20182 (__ASSUME_TMPFS_NAME): Likewise.
20183 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20184 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20185 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20186 (HAVE_AUX_SECURE): Make definition unconditional.
20187 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20188 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20189
4f75b7a0
RM
201902012-08-03 Roland McGrath <roland@hack.frob.com>
20191
20192 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20193 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20194 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20195 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20196 __eloop_threshold instead of SYMLOOP_MAX.
20197
20198 * sysdeps/generic/eloop-threshold.h: New file.
20199 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20200 of MAXSYMLINKS.
20201 * elf/chroot_canon.c (chroot_canon): Likewise.
20202
7aab07e4
JM
202032012-08-03 Joseph Myers <joseph@codesourcery.com>
20204
20205 [BZ #13717]
20206 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20207 Change to 2.6.0 everywhere.
20208 * sysdeps/unix/sysv/linux/configure: Regenerated.
20209 * sysdeps/unix/sysv/linux/kernel-features.h
20210 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20211 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20212 kernel versions.
20213 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20214 (__ASSUME_FUTEX_REQUEUE): Remove.
20215 (__ASSUME_STATFS64): Define unconditionally.
20216 (__ASSUME_AT_SECURE): Likewise.
20217 (__ASSUME_CORRECT_SI_PID): Likewise.
20218 (__ASSUME_TGKILL): Define without depending on kernel version for
20219 i386.
20220 (__ASSUME_UTIMES): Likewise.
20221 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20222 kernel version.
20223 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20224 (__ASSUME_TMPFS_NAME): Likewise.
20225 * README: Update reference to Linux kernel versions.
20226
b67e9372
MP
202272012-08-02 Marek Polacek <polacek@redhat.com>
20228
1f529f7d 20229 [BZ# 14150]
b67e9372
MP
20230 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20231 libc_cv_asm_type_prefix with %.
20232 * configure: Regenerated.
d2441631
RM
20233 * include/libc-symbols.h: Remove comment about
20234 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20235 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20236 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20237 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20238 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20239 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20240 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20241 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20242 * elf/tst-unique2mod1.c: Likewise.
20243 * elf/tst-unique1mod2.c: Likewise.
20244 * elf/tst-unique1mod1.c: Likewise.
20245 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20246 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20247 Replace ASM_TYPE_DIRECTIVE with .type.
20248 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20249 * sysdeps/i386/sysdep.h: Likewise.
20250 * sysdeps/x86_64/sysdep.h: Likewise.
20251 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20253 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20254 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20255 * sysdeps/powerpc/powerpc32/sysdep.h:
20256 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20257 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20258 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20259 * sysdeps/i386/fpu/e_powf.S: Likewise.
20260 * sysdeps/i386/fpu/e_expl.S: Likewise.
20261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20262 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20263 * sysdeps/i386/fpu/e_pow.S: Likewise.
20264 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20265 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20266 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20267 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20268 * sysdeps/i386/fpu/e_log2.S: Likewise.
20269 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20270 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20271 * sysdeps/i386/fpu/e_powl.S: Likewise.
20272 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20273 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20274 * sysdeps/i386/fpu/e_logl.S: Likewise.
20275 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20276 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20277 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20278 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20279 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20280 * sysdeps/i386/fpu/e_log.S: Likewise.
20281 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20282 * sysdeps/i386/fpu/e_logf.S: Likewise.
20283 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20284 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20285 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20286 * sysdeps/i386/fpu/e_log10.S: Likewise.
20287 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20288 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20289 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20290 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20293 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20294 * sysdeps/i386/i686/strtok.S: Likewise.
20295 * sysdeps/i386/i386-mcount.S: Likewise.
20296 * sysdeps/i386/strtok.S: Likewise.
20297 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20298 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20299 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20300 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20301 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20302 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20303 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20304 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20305 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20306 * sysdeps/x86_64/_mcount.S: Likewise.
20307 * sysdeps/x86_64/strtok.S: Likewise.
20308 * sysdeps/sh/_mcount.S: Likewise.
20309
2747bf9a
RM
203102012-08-01 Roland McGrath <roland@hack.frob.com>
20311
20312 * libio/iofopen.c: Include <fcntl.h>.
20313 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20314 (_IO_fopen64, fopen64): Define as aliases.
20315 * libio/iofopen64.c: Include <fcntl.h>.
20316 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20317 Conditionalize body on this.
20318 * sysdeps/wordsize-64/iofopen.c: File removed.
20319 * sysdeps/wordsize-64/iofopen64.c: File removed.
20320
3fb791b8
MP
203212012-08-01 Marek Polacek <polacek@redhat.com>
20322
20323 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20324 Use dlfcn directly instead of a variable.
20325 (binfmt-subdir): Do not define.
20326 (dlfcn): Likewise.
20327
a9f1039f
JM
203282012-08-01 Joseph Myers <joseph@codesourcery.com>
20329
23bddc06
JM
20330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20331 Remove all definitions.
20332 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20333 <kernel-features.h>.
20334 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20335 (miss_F_GETOWN_EX): Remove all definitions.
20336 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20337 macro definition.
20338 [!__ASSUME_FCNTL64]: Remove conditional code.
20339 [__ASSUME_FCNTL64]: Make code unconditional.
20340 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20341 <kernel-features.h>.
20342 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20343 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20344 (lockf64) [__NR_fcntl64]: Make code unconditional.
20345 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20346
a9f1039f
JM
20347 * sysdeps/unix/sysv/linux/kernel-features.h
20348 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20349 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20350 Make code unconditional.
20351 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20352 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20354 [__NR_vfork]: Make code unconditional.
20355 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20356 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20358 [__NR_vfork]: Make code unconditional.
20359 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20360 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20361
09c0ee5f
RM
203622012-08-01 Roland McGrath <roland@hack.frob.com>
20363
48aec5b9
RM
20364 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20365 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20366
cd97c966
RM
20367 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20368 Define mkstemp64 as an alias.
3f55550c
RM
20369 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20370 Define mkstemps64 as an alias.
cd97c966
RM
20371 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20372 Define mkostemp64 as an alias.
b8625cfc
RM
20373 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20374 Define mkostemps64 as an alias.
cd97c966
RM
20375 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20376 Conditionalize body on this.
20377 * misc/mkostemp64.c: Likewise.
b8625cfc 20378 * misc/mkostemps64.c: Likewise.
3f55550c 20379 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20380 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20381 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20382 * sysdeps/wordsize-64/mkostemp.c: File removed.
20383 * sysdeps/wordsize-64/mkstemp.c: File removed.
20384 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20385 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20387 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20388
09c0ee5f
RM
20389 [BZ #14138]
20390 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20391 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20392 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20393 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20394
20395 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20396 compat_symbol macros from <shlib-compat.h> rather than the underlying
20397 default_symbol_version and symbol_version macros, so that DEFAULT
20398 lines in shlib-versions are respected.
20399 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20400
7e66ee51
FW
204012012-08-01 Florian Weimer <fweimer@redhat.com>
20402
20403 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20404 Declare with warn_unused_result.
20405 (setgid, setregid, setegid, setresgid): Likewise.
20406 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20407 Likewise.
20408 * WUR-REPORT: Remove set*id functions.
20409
d2a54255
PT
204102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20411
20412 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20413
7ecdb005
RM
204142012-07-31 Roland McGrath <roland@hack.frob.com>
20415
b4180a5e 20416 [BZ #10191]
789bd351
RM
20417 * include/sys/socket.h (__libc_accept, __libc_accept4):
20418 Add attribute_hidden.
20419 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20420
40ce302d
RM
20421 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20422 use of PTR_MANGLE.
20423 * inet/getnetgrent_r.c (setup): Likewise.
20424
7ecdb005
RM
20425 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20426
e2eabb2c
DM
204272012-07-31 David S. Miller <davem@davemloft.net>
20428
20429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20430
d0419dbf
JM
204312012-07-31 Joseph Myers <joseph@codesourcery.com>
20432
20433 [BZ #13629]
20434 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20435 value between 1.0 and 2.0 and smaller part has absolute value less
20436 than 1.0.
20437 * math/s_clog10.c (__clog10): Likewise.
20438 * math/s_clog10f.c (__clog10f): Likewise.
20439 * math/s_clog10l.c (__clog10l): Likewise.
20440 * math/s_clogf.c (__clogf): Likewise.
20441 * math/s_clogl.c (__clogl): Likewise.
20442 * math/libm-test.inc (clog_test): Add more tests.
20443 (clog10_test): Likewise.
20444 * sysdeps/i386/fpu/libm-test-ulps: Update.
20445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20446
2bc13872
FW
204472012-07-31 Florian Weimer <fweimer@redhat.com>
20448
20449 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20450 Exit with zero in case no suitable GID is found, and write a
20451 message to standard error.
20452
bea9b193
RM
204532012-07-30 Roland McGrath <roland@hack.frob.com>
20454
20455 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20456 rather than to 1.
20457 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20458 (MAXPATHLEN): Removed.
20459 (NOGROUP, NODEV): New macros.
20460 (setbit, clrbit, isset, isclr): New macros.
20461 (howmany, roundup, powerof2): New macros.
20462 (DEV_BSIZE): New macro.
20463
20464 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20465 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20466
20467 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20468 definition on [!__NO_LONG_DOUBLE_MATH].
20469
20470 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20471 PTR_MANGLE and PTR_DEMANGLE.
20472
20473 * socket/accept4.c (accept4): Rename to __libc_accept4.
20474 Define accept4 as a weak alias.
20475
20476 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20477 on [_DIRENT_HAVE_D_TYPE].
20478 * io/ftw.c (ftw_dir): Likewise.
20479
20480 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20481
20482 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20483
20484 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20485 Use the BSD numbers rather than the arbitrary ones we had.
20486 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20487 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20488 (SIGXCPU, SIGXFSZ): New macros.
20489 (_NSIG): Now 32.
20490
20491 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20492 initializer on [_LIBC_REENTRANT].
20493
20494 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20495 definitions inside [_POSIX_MAPPED_FILES].
20496
20497 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20498
20499 * dirent/opendir.c: Include <fcntl.h>.
20500
20501 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20502 (__libc_getspecific): Likewise.
20503 (__libc_key_create): Likewise.
20504
20505 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20506 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20507 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20508 (tmpfile64): Define as alias.
20509 * sysdeps/wordsize-64/tmpfile.c: File removed.
20510 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20511 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20512 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20513
20514 * stdio-common/vfscanf.c: Include <stdbool.h>.
20515 * nss/makedb.c: Likewise.
20516 * stdio-common/_i18n_number.h: Likewise.
20517 * argp/argp-help.c: Likewise.
20518 * posix/wordexp.c: Likewise.
20519 * sysdeps/posix/spawni.c: Likewise.
20520 * nss/nss_files/files-initgroups.c: Likewise.
20521 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20522 * nss/nss_files/files-initgroups.c: Likewise.
20523 * nss/nss_db/db-netgrp.c: Likewise.
20524 * nss/nss_db/db-initgroups.c: Likewise.
20525 * io/fchmodat.c: Include <sys/stat.h>.
20526
20527 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20528 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20529
20530 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20531 [HAVE_MMAP].
20532
20533 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20534 Add multiple inclusion protection.
20535
e5abc686
DM
205362012-07-27 David S. Miller <davem@davemloft.net>
20537
20538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20539
815e6fa3
GB
205402012-07-27 Gary Benson <gbenson@redhat.com>
20541
20542 [BZ #14298]
20543 * elf/rtld.c: Include <stap-probe.h>.
20544 (dl_main): Added static probes "init_start" and "init_complete".
20545 * elf/dl-load.c: Include <stap-probe.h>.
20546 (lose): Take new parameter "nsid".
20547 Added static probe "map_failed".
20548 (_dl_map_object_from_fd): Pass namespace id to lose.
20549 Added static probe "map_start".
20550 (open_verify): Pass namespace id to lose.
20551 * elf/dl-open.c: Include <stap-probe.h>.
20552 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20553 and "reloc_complete".
20554 * elf/dl-close.c: Include <stap-probe.h>.
20555 (_dl_close_worker): Added static probes "unmap_start" and
20556 "unmap_complete".
20557 * elf/rtld-debugger-interface.txt: New file documenting the above.
20558
9f98c16c
RM
205592012-07-26 Roland McGrath <roland@hack.frob.com>
20560
20561 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20562 rather than a string variable.
20563 * sunrpc/rpc_main.c (h_output): Likewise.
20564 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20565
f3c22df3
PT
205662012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20567
20568 * inet/check_native.c: New file.
20569
3129cfc6
JM
205702012-07-26 Joseph Myers <joseph@codesourcery.com>
20571
da865e95
JM
20572 [BZ #13629]
20573 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20574 if larger part has absolute value 1.0.
20575 * math/s_clog10.c (__clog10): Likewise.
20576 * math/s_clog10f.c (__clog10f): Likewise.
20577 * math/s_clog10l.c (__clog10l): Likewise.
20578 * math/s_clogf.c (__clogf): Likewise.
20579 * math/s_clogl.c (__clogl): Likewise.
20580 * math/libm-test.inc (clog_test): Add more tests.
20581 (clog10_test): Likewise.
20582 * sysdeps/i386/fpu/libm-test-ulps: Update.
20583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20584
3129cfc6
JM
20585 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20586 (pltexit): Likewise.
20587 (La_regs): Likewise.
20588 (La_retval): Likewise.
20589 (int_retval): Likewise.
20590 Update #error for removed macros to refer only to definitions in
20591 tst-audit.h.
20592 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20593 macro.
20594 (pltexit): Likewise.
20595 (La_regs): Likewise.
20596 (La_retval): Likewise.
20597 (int_retval): Likewise.
20598 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20599 macro.
20600 (pltexit): Likewise.
20601 (La_regs): Likewise.
20602 (La_retval): Likewise.
20603 (int_retval): Likewise.
20604 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20605 macro.
20606 (pltexit): Likewise.
20607 (La_regs): Likewise.
20608 (La_retval): Likewise.
20609 (int_retval): Likewise.
20610 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20611 macro.
20612 (pltexit): Likewise.
20613 (La_regs): Likewise.
20614 (La_retval): Likewise.
20615 (int_retval): Likewise.
20616 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20617 macro.
20618 (pltexit): Likewise.
20619 (La_regs): Likewise.
20620 (La_retval): Likewise.
20621 (int_retval): Likewise.
20622 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20623 macro.
20624 (pltexit): Likewise.
20625 (La_regs): Likewise.
20626 (La_retval): Likewise.
20627 (int_retval): Likewise.
20628 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20629 macro definitions in tst-audit.h.
20630 * sysdeps/i386/tst-audit.h: New file.
20631 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20632 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20633 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20634 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20635 * sysdeps/sh/tst-audit.h: Likewise.
20636 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20637 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20638 * sysdeps/x86_64/tst-audit.h: Likewise.
20639
bfc07087
AJ
206402012-07-26 Andreas Jaeger <aj@suse.de>
20641
b1b2aaf8
AJ
20642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20643 ptrace.
20644
20645 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20646 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20647 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20648 PTRACE_O_MASK.
20649 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20650 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20651 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20652
bfc07087
AJ
20653 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20654 value.
20655
20656 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20657 _sigsys.
20658 (si_call_addr, si_syscall, si_arch): Define new macro.
20659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20660 _sigsys.
20661 (si_call_addr, si_syscall, si_arch): Define new marcro.
20662 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20663 _sigsys.
20664 (si_call_addr, si_syscall, si_arch): Define new macro.
20665 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20666 _sigsys.
20667 (si_call_addr, si_syscall, si_arch): Define new macro.
20668
89b4b02f
JM
206692012-07-25 Joseph Myers <joseph@codesourcery.com>
20670
20671 [BZ #13717]
20672 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20673 Change to 2.4.21 where previously 2.4.1.
20674 * sysdeps/unix/sysv/linux/configure: Regenerated.
20675 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20676 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20677 Linux kernel version.
20678 (__ASSUME_STD_AUXV): Remove.
20679 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20680 kernel version.
20681 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20682 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20683 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20684 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20685 (__ASSUME_NETLINK_SUPPORT): Likewise.
20686 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20687 (__no_netlink_support): Remove conditional definition.
20688 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20689 Remove.
20690 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20691 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20692 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20693 (if_nameindex_ioctl): Remove.
20694 (if_nameindex_netlink): Do not handle __no_netlink_support.
20695 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20696 code.
20697 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20698 Remove conditional code.
20699 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20700 code.
20701 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20702 unconditional.
20703 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20704 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20705 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20706 Remove.
20707 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20708 [!__ASSUME_STD_AUXV]: Remove conditional code.
20709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20710 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20711 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20713 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20714 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20715 code.
20716 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20718 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20719 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20720 conditional code.
20721 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20723 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20724 code.
20725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20726 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20727 conditional code.
20728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20729 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20730 code unconditional.
20731 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20732 conditional code.
20733 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20734 unconditional.
20735 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20736 conditional code.
20737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20738 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20739 unconditional.
20740 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20741 conditional code.
20742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20743 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20744 code unconditional.
20745 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20746 conditional code.
20747 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20748 unconditional.
20749 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20750 conditional code.
20751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20752 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20753 code unconditional.
20754 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20755 conditional code.
20756 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20757 unconditional.
20758 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20759 conditional code.
20760
842a39cd
AS
207612012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20762
20763 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20764 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20765 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20766 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20767 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20768 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20769 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20770 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20771 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20772 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20773 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20774 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20775 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20776 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20777 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20778 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20779 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20780 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20781 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20783 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20784 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20785 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20786
84b3fd84
FW
207872012-07-25 Florian Weimer <fweimer@redhat.com>
20788
20789 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20790 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20791 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20792 Introduce __libc_secure_getenv.
0c7936d5
FW
20793 * stdlib/Versions (2.17): Add secure_getenv
20794 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20795 * stdlib/secure-getenv.c: Rename __secure_getenv to
20796 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20797 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20798 * stdlib/tst-secure-getenv.c: New.
20799 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20800 * manual/startup.texi (Environment Access): Document
20801 secure_getenv.
84b3fd84
FW
20802 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20803 __libc_secure_getenv.
20804 * inet/ruserpass.c (ruserpass): Likewise.
20805 * malloc/mtrace.c (mtrace): Likewise.
20806 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20807 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20808 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20809 * sysdeps/posix/tempname.c: Likewise. Evaluate
20810 HAVE_SECURE_GETENV.
20811 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20812 __secure_getenv to __libc_secure_getenv.
84b3fd84 20813 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20815 Likewise.
20816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20817 Likewise.
20818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20820 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20825
56e49b71
JM
208262012-07-25 Joseph Myers <joseph@codesourcery.com>
20827
20828 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20829 (struct La_i86_retval): Likewise.
20830 (struct La_x86_64_regs): Likewise.
20831 (struct La_x86_64_retval): Likewise.
20832 (struct La_x32_regs): Likewise.
20833 (struct La_x32_retval): Likewise.
20834 (struct La_ppc32_regs): Likewise.
20835 (struct La_ppc32_retval): Likewise.
20836 (struct La_ppc64_regs): Likewise.
20837 (struct La_ppc64_retval): Likewise.
20838 (struct La_sh_regs): Likewise.
20839 (struct La_sh_retval): Likewise.
20840 (struct La_s390_32_regs): Likewise.
20841 (struct La_s390_32_retval): Likewise.
20842 (struct La_s390_64_regs): Likewise.
20843 (struct La_s390_64_retval): Likewise.
20844 (struct La_sparc32_regs): Likewise.
20845 (struct La_sparc32_retval): Likewise.
20846 (struct La_sparc64_regs): Likewise.
20847 (struct La_sparc64_retval): Likewise.
20848 (struct audit_ifaces): Remove architecture-specific pltenter and
20849 pltexit members.
20850 * sysdeps/i386/ldsodefs.h: New file.
20851 * sysdeps/powerpc/ldsodefs.h: Likewise.
20852 * sysdeps/s390/ldsodefs.h: Likewise.
20853 * sysdeps/sh/ldsodefs.h: Likewise.
20854 * sysdeps/sparc/ldsodefs.h: Likewise.
20855 * sysdeps/x86_64/ldsodefs.h: Likewise.
20856
354691b7
MP
208572012-07-25 Marek Polacek <polacek@redhat.com>
20858
20859 [BZ #6808]
20860 * math/libm-test.inc (yn_test): Add another test.
20861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20862 to ERANGE when the result is +-Inf.
20863 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20864 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20865 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20866 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20867
bf9e2071
JM
208682012-07-24 Joseph Myers <joseph@codesourcery.com>
20869
20870 * conform/data/time.h-data (NULL): Use macro-constant. Require
20871 equal to 0.
20872 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20873 clock_t.
20874 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20875
57633811
TS
208762012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20877
20878 * configure.in <sysdeps resolving>: Correct printing
20879 Implies_before.
20880 * configure: Regenerate.
20881
c23c33b0
TS
208822012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20883
20884 * math/w_ilogb.c: Include <limits.h>.
20885 * math/w_ilogbl.c: Likewise.
20886
b5982523
JM
208872012-07-20 Joseph Myers <joseph@codesourcery.com>
20888
20889 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20890 va_copy. Document allowing for unavailable va_copy only as
20891 pre-C99 compatibility.
20892 * manual/string.texi (Copying and Concatenation): Use va_copy
20893 instead of __va_copy in concat example.
20894
ac4ea442
PT
208952012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20896
20897 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20898 (__sendto): Use create_address_port. Initialize APORT and deallocate
20899 it if not null.
20900
f98eafbd
PT
20901 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20902 with O_NOLINK passed to __file_name_lookup.
20903
898c7aab
PT
20904 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20905 with O_NOLINK passed to __file_name_lookup.
20906
0ced335a
PT
20907 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20908 negative N or less than NGIDS.
20909
b3404dbd
PT
20910 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20911 type to string_t. Set ERANGE as errno and return it if NAME is not big
20912 enough. Use memcpy instead of strncpy.
20913
0f48659e
JM
209142012-07-20 Joseph Myers <joseph@codesourcery.com>
20915
20916 * elf/Makefile (check-data): Remove.
20917 (localplt.data): New vpath directive.
20918 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20919 instead of $(check-data).
20920 * scripts/data/localplt-generic.data: Move to ...
20921 * sysdeps/generic/localplt.data: ... here.
20922 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20923 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20924 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20926 ... here.
20927 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20929 ... here.
20930 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20932 ... here.
20933 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20935 ... here.
20936 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20938 ... here.
20939 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20941 ... here.
20942
d37cbdaa
AZ
209432012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20944
20945 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20946 PPC32 and PPC64 files.
20947 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20948 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20949
46f85fc2
AK
209502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20951
20952 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20953 __makecontext_ret to ...
20954 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20955 ... here and call exit if uc_link is NULL. New file.
20956 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20957 __makecontext_ret.S.
20958 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20959 __makecontext_ret to ...
20960 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20961 ... here and call exit if uc_link is NULL. New file.
20962 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20963 __makecontext_ret.S.
20964
08f43f9b
AK
209652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20966
20967 * elf/elf.h (R_390_IRELATIVE): New definition.
20968 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20969 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20970 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20972 (elf_machine_lazy_rel): Likewise.
20973 * sysdeps/s390/dl-irel.h: New file.
20974 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20975 * sysdeps/s390/s390-64/memset.S: New asm code.
20976 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20977 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20978 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20979 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20980 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20981 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20982 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20983 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20984 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20985 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20986 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20987 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20988 * sysdeps/s390/s390-32/memset.S: New asm code.
20989 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20990
3b05db33
MP
209912012-07-17 Marek Polacek <polacek@redhat.com>
20992
20993 [BZ #14349]
20994 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20995 * sysdeps/s390/s390-64/configure.in: Likewise.
20996 * sysdeps/sparc/configure.in: Likewise.
20997 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20998 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20999 * sysdeps/i386/configure.in: Likewise.
21000 * sysdeps/x86_64/configure.in: Likewise.
21001 * sysdeps/sh/configure.in: Likewise.
21002 * sysdeps/s390/s390-32/configure: Regenerated.
21003 * sysdeps/s390/s390-64/configure: Likewise.
21004 * sysdeps/x86_64/configure: Likewise.
21005 * sysdeps/sh/configure: Likewise.
21006 * sysdeps/powerpc/powerpc64/configure: Likewise.
21007 * sysdeps/powerpc/powerpc32/configure: Likewise.
21008 * sysdeps/sparc/configure: Likwise.
21009 * sysdeps/i386/configure: Likewise.
21010
a66877c6
MP
21011 * elf/dl-open.c: Comment fixes.
21012
cfc82fd8
JM
210132012-07-17 Joseph Myers <joseph@codesourcery.com>
21014
bd29910a
JM
21015 * Makefile [CXX] (check-data): Remove.
21016 [CXX] (c++-types.data): New vpath directive.
21017 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21018 vpath. Do not allow for C++ type data being missing.
21019 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21020 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21021 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21022 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21023 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21024 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21025 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21027 ... here.
21028 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21030 ... here.
21031 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21033 ... here.
21034 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21036 ... here.
21037 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21039 ... here.
21040 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21042 ... here.
21043 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21045 ... here.
21046 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21048
cfc82fd8
JM
21049 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21050 definitions to architecture-specific files.
21051 (TLS_IE): Likewise.
21052 (TLS_LD): Likewise.
21053 (TLS_GD): Likewise.
21054 * sysdeps/i386/tls-macros.h: New file.
21055 * sysdeps/powerpc/tls-macros.h: Likewise.
21056 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21057 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21058 * sysdeps/sh/tls-macros.h: Likewise.
21059 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21060 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21061 * sysdeps/x86_64/tls-macros.h: Likewise.
21062
f7db3170
TS
210632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21064
07cbfc23
TS
21065 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21066 zero value for regular exit case.
21067
f7db3170
TS
21068 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21069 (__start_context): Preserve zero value for regular exit case.
21070
dc97c227
TS
210712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21072 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21073
21074 * manual/setjmp.texi (setcontext): Clarify normal process
21075 termination when uc_link is the null pointer.
21076 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21077 exit call.
21078
d0cd7d02
AS
210792012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21080
21081 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21082 preprocessor. Test for each exception mask separately.
21083
dd318934
AJ
210842012-07-16 Andreas Jaeger <aj@suse.de>
21085
21086 * po/ru.po: Update from translation team.
21087
8048311a
JM
210882012-07-15 Joseph Myers <joseph@codesourcery.com>
21089
21090 * conform/data/string.h-data (NULL): Use macro-constant. Require
21091 equal to 0.
21092 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21093 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21094 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21095 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21097
b637d46e
AJ
210982012-07-13 Andreas Jaeger <aj@suse.de>
21099
21100 * po/fr.po: Update from translation team.
21101
541428fe
MP
211022012-07-12 Marek Polacek <polacek@redhat.com>
21103
21104 [BZ #14173]
21105 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21106 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21107 loop condition.
21108
ec332e94
JM
211092012-07-12 Joseph Myers <joseph@codesourcery.com>
21110
21111 [BZ #13717]
21112 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21113 Change to 2.4.1 where previously 2.4.0.
21114 * sysdeps/unix/sysv/linux/configure: Regenerated.
21115 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21116 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21117 version.
21118 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21119 (__ASSUME_AT_CLKTCK): Remove.
21120 (__ASSUME_AT_PAGESIZE): Likewise.
21121 (__ASSUME_AT_XID): Likewise.
21122 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21123 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21124 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21125 unconditionally.
21126 (HAVE_AUX_PAGESIZE): Likewise.
21127 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21128 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21129 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21130
7b6e99be
JB
211312012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21132
21133 [BZ #14307]
21134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21135 the temporary buffer used to invoke __gethostbyname2_r,
21136 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21137 host_data / struct gaih_addrtuple.
21138 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21139 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21140 header file nss/nsswitch.h.
21141 * nss/nsswitch.h (global scope): Add definition of implementation
21142 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21143 resolv/nss_dns/dns-host.c).
21144
608404eb
AJ
211452012-07-11 Andreas Jaeger <aj@suse.de>
21146
21147 * po/fr.po: Update from translation team.
21148
71220aca
AJ
21149 * po/sv.po: Update from translation team
21150 * po/fr.po: Another update from translation team.
21151
28cfe843
AZ
211522012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21153
21154 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21155 for subnormals or multiply small sinh result by itself.
21156 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21158
6b90f981
DM
211592012-07-11 David S. Miller <davem@davemloft.net>
21160
21161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21162
c6825772
AS
211632012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21164
21165 [BZ #14347]
21166 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21167 (INTERNAL_MARK): Shift it here.
21168
7b8e0d49
MP
211692012-07-10 Marek Polacek <polacek@redhat.com>
21170
21171 [BZ #14151]
21172 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21173 libc_cv_asm_global_directive with .globl.
21174 * configure: Regenerated.
21175 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21176 with .globl.
21177 * sysdeps/i386/configure: Regenerated.
21178 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21179 with .globl.
21180 * sysdeps/x86_64/configure: Regenerated.
21181 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21182 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21183 * elf/tst-unique2mod2.c: Likewise.
21184 * elf/tst-unique2mod1.c: Likewise.
21185 * elf/tst-unique1mod2.c: Likewise.
21186 * elf/tst-unique1mod1.c: Likewise.
21187 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21188 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21189 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21190 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21191 * sysdeps/mach/sysdep.h: Likewise.
21192 * sysdeps/i386/sysdep.h: Likewise.
21193 * sysdeps/i386/i386-mcount.S: Likewise.
21194 * sysdeps/x86_64/_mcount.S: Likewise.
21195 * sysdeps/x86_64/sysdep.h: Likewise.
21196 * sysdeps/sh/_mcount.S: Likewise.
21197 * sysdeps/sh/sysdep.h: Likewise.
21198 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21199 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21200 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21201 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21202 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21203 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21204 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21205 * locale/localeinfo.h: Likewise.
21206 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21207 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21208
6c55cda3
RM
212092012-07-09 Roland McGrath <roland@hack.frob.com>
21210
21211 [BZ #14336]
21212 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21213 system".
21214 * manual/message.texi (The Uniforum approach): Likewise.
21215 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21216 (glibc iconv Implementation): Likewise.
21217
638a572e
JM
212182012-07-09 Joseph Myers <joseph@codesourcery.com>
21219
21220 [BZ #14337]
21221 * math/s_clog.c (__clog): Avoid scaling a value down where that
21222 could result in underflow.
21223 * math/s_clog10.c (__clog10): Likewise.
21224 * math/s_clog10f.c (__clog10f): Likewise.
21225 * math/s_clog10l.c (__clog10l): Likewise.
21226 * math/s_clogf.c (__clogf): Likewise.
21227 * math/s_clogl.c (__clogl): Likewise.
21228 * math/libm-test.inc (clog_test): Add more tests.
21229 (clog10_test): Likewise.
21230 * sysdeps/i386/fpu/libm-test-ulps: Update.
21231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21232
261f4859
AS
212332012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21234
0abaf3e4
AS
21235 [BZ #14283]
21236 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21237 by 7 not 8 to examine high bit of fractional part.
21238
261f4859
AS
21239 [BZ #14042]
21240 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21241 for call to __mcount_internal.
21242 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21243 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21244 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21245
f17ac40d
JM
212462012-07-06 Joseph Myers <joseph@codesourcery.com>
21247
9ad63c23
JM
21248 [BZ #14154]
21249 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21250 approximation for values within 0x1p-13f of an odd multiple of
21251 pi/4.
21252 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21253 exception. Add more tests.
21254 * sysdeps/i386/fpu/libm-test-ulps: Update.
21255
f17ac40d
JM
21256 [BZ #6778]
21257 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21258 inputs and return -1 for them. Do not check for +Inf in case not
21259 reachable for +Inf.
21260 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21261 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21262 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21263 and return -1 for them. Do not check for +Inf in case not
21264 reachable for +Inf.
21265 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21266 define.
21267 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21268 and return -1 for them. Do not check for +Inf in case not
21269 reachable for +Inf.
21270 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21271 spurious underflow.
21272 * sysdeps/i386/fpu/libm-test-ulps: Update.
21273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21274
fb21f89b
MF
212752012-07-06 Mike Frysinger <vapier@gentoo.org>
21276
21277 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21278
cdfe2c5e
JM
212792012-07-05 Joseph Myers <joseph@codesourcery.com>
21280
21281 [BZ #14157]
21282 [BZ #14331]
21283 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21284 could result in spurious underflow. Scale down values above
21285 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21286 * math/s_csqrtf.c (__csqrtf): Likewise.
21287 * math/s_csqrtl.c (__csqrtl): Likewise.
21288 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21289 spurious underflow.
21290 * sysdeps/i386/fpu/libm-test-ulps: Update.
21291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21292
70d35b67
AS
212932012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21294
704bc459
AS
21295 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21296 xopen-msg.sed.
21297 * catgets/xopen-msg.awk: New file.
21298 * catgets/xopen-msg.sed: Removed.
21299
70d35b67
AS
21300 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21301 po2text.sed.
21302 * intl/po2test.awk: New file.
21303 * intl/po2test.sed: Removed.
21304
ca61cf32
JM
213052012-07-04 Joseph Myers <joseph@codesourcery.com>
21306
21307 [BZ #14328]
21308 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21309 or multiply small sinh result by itself.
21310 * math/s_ctanf.c (__ctanf): Likewise.
21311 * math/s_ctanh.c (__ctanh): Likewise.
21312 * math/s_ctanhf.c (__ctanhf): Likewise.
21313 * math/s_ctanhl.c (__ctanhl): Likewise.
21314 * math/s_ctanl.c (__ctanl): Likewise.
21315 * math/libm-test.inc (ctan_test_tonearest): New function.
21316 (ctan_test_towardzero): Likewise.
21317 (ctan_test_downward): Likewise.
21318 (ctan_test_upward): Likewise.
21319 (ctanh_test_tonearest): Likewise.
21320 (ctanh_test_towardzero): Likewise.
21321 (ctanh_test_downward): Likewise.
21322 (ctanh_test_upward): Likewise.
21323 (main): Call these new functions.
21324 * sysdeps/i386/fpu/libm-test-ulps: Update.
21325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21326
ca48a46a
MF
213272012-07-03 Mike Frysinger <vapier@gentoo.org>
21328
21329 * .gitignore: Delete /ports entry.
21330
9d63d37d
AJ
213312012-07-03 Andreas Jaeger <aj@suse.de>
21332
21333 * po/bg.po: Update from translation team.
21334 * po/cs.po: Likewise.
21335 * po/de.po: Likewise.
21336 * po/hr.po: Likewise.
21337 * po/nl.pl: Likewise.
21338 * po/pl.po: Likewise.
21339 * po/vi.po: Likewise.
21340
370ca3d2
JM
213412012-07-03 Joseph Myers <joseph@codesourcery.com>
21342
95f5a9a8
JM
21343 * Makeconfig [!+link] (+link-before-libc): New variable.
21344 [!+link] (+link-after-libc): Likewise.
21345 [!+link] (+link-tests): Likewise.
21346 [!+link] (+link): Define in terms of $(+link-before-libc) and
21347 $(+link-after-libc).
21348 [!+link-static] (+link-static-before-libc): New variable.
21349 [!+link-static] (+link-static-after-libc): Likewise.
21350 [!+link-static] (+link-static-tests): Likewise.
21351 [!+link-static] (+link-static): Define in terms of
21352 $(+link-static-before-libc) and $(+link-static-after-libc).
21353 [build-shared] (link-libc-before-gnulib): New variable.
21354 [build-shared] (link-libc-tests): Likewise.
21355 [build-shared] (link-libc): Define in terms of
21356 $(link-libc-before-gnulib).
21357 [!build-shared] (link-libc-tests): New variable.
21358 (link-libc-static-tests): New variable.
21359 [!gnulib] (gnulib-arch): New variable.
21360 [!gnulib] (gnulib-tests): Likewise.
21361 [!gnulib] (static-gnulib-arch): Likewise.
21362 [!gnulib] (static-gnulib-tests): Likewise.
21363 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21364 Define with "=" instead of ":=".
21365 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21366 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21367 * Rules (binaries-all-notests): New variable.
21368 (binaries-all-tests): Likewise.
21369 (binaries-static-notests): Likewise.
21370 (binaries-static-tests): Likewise.
21371 (binaries-all): Define using $(binaries-all-notests) and
21372 $(binaries-all-tests).
21373 (binaries-static): Define using $(binaries-static-notests) and
21374 $(binaries-static-tests).
21375 (binaries-shared-tests): New variable.
21376 (binaries-shared-notests): Likewise.
21377 (binaries-shared): Remove variable.
21378 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21379 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21380 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21381 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21382 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21383 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21384 * elf/Makefile (sln-modules): New variable.
21385 (extra-objs): Add $(sln-modules:=.o).
21386 (ldconfig-modules): Add static-stubs.
21387 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21388 * elf/static-stubs.c: New file.
21389
7a845b2c
JM
21390 [BZ #14283]
21391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21392 by 7 not 8 to examine high bit of fractional part. Use volatile
21393 variables when splitting into final array of floats if
21394 __FLT_EVAL_METHOD__ != 0.
21395 * math/libm-test.inc (cos_test): Add another test.
21396 (sin_test): Likewise.
21397 * sysdeps/i386/fpu/libm-test-ulps: Update.
21398
e2283f38
JM
21399 [BZ #14273]
21400 * math/libm-test.inc (cosh_test): Add more tests.
21401
370ca3d2
JM
21402 * version.h (RELEASE): Set to "development".
21403 (VERSION): Set to "2.16.90".
21404
ee9247c3
CD
214052012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21406
21407 * NEWS: Update copyright. Remove last-updated date.
21408 Mention math library bug fixes and timezone data changes.
21409 * README: Mention GNU/Hurd, x32, and HPPA support status.
21410
4648c381
TS
214112012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21412
21413 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21414
aac78a43
AJ
214152012-06-27 Andreas Jaeger <aj@suse.de>
21416
21417 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21418
ed3dbfad
AJ
214192012-06-25 Andreas Jaeger <aj@suse.de>
21420
21421 * sysdeps/s390/fpu/libm-test-ulps: Update.
21422
4d0ee855
AS
214232012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21424 Thomas Schwinge <thomas@codesourcery.com>
21425
21426 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21427 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21429 fanotify_mark.
21430
af1bce34
TS
214312012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21432
a9fa33ba
TS
21433 * sysdeps/mach/start.c: Remove file.
21434 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21435 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21436 * sysdeps/sh/init-first.c: Likewise.
21437
58f902b8
TS
21438 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21439 registers for frame unwinding purposes, add CFI directives.
21440 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21441 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21442 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21443 Likewise.
21444
1518f58b
TS
21445 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21446 __fortify_fail returning.
21447 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21448
db9b5059
TS
21449 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21450 sysdeps/sh/____longjmp_chk.S.
21451 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21452 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21453 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21454 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21455
967705fe
TS
21456 * sysdeps/sh/abort-instr.h: New file.
21457 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21458 process in case exit returns.
21459
a9def8c4
TS
21460 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21461 initialize the GOT register before use.
21462
2a649725
TS
21463 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21464 calculation of ARGC > 4.
21465
af1bce34
TS
21466 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21467 meaningful names to some local labels.
21468
d230f50a
KK
214692012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21470 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21471
21472 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21473 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21474 (__arch_compare_and_exchange_val_16_acq): Likewise.
21475 (__arch_compare_and_exchange_val_32_acq): Likewise.
21476 (atomic_exchange_and_add): Fix gUSA sequence.
21477 (atomic_add): Likewise.
21478 (atomic_add_negative): Likewise.
21479 (atomic_add_zero): Likewise.
21480 (atomic_bit_test_set): Likewise.
21481
0479b305
AS
214822012-06-22 Andreas Schwab <schwab@redhat.com>
21483
21484 [BZ #13579]
21485 * include/link.h (struct link_map): Add l_free_initfini.
21486 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21487 l_initfini.
21488 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21489 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21490 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21491 set.
21492
0e3933b9
CD
214932012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21494
21495 * configure.in: Use AC_LANG_SOURCE.
21496 * configure: Regenerate.
21497
4248b1b1
RM
214982012-06-22 Roland McGrath <roland@hack.frob.com>
21499
21500 * configure.in (libc_cv_localstatedir): New substituted variable.
21501 * configure: Regenerated.
21502 * config.make.in (localstatedir): New variable, substituted from
21503 libc_cv_localstatedir.
21504 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21505 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21506 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21507 * sysdeps/gnu/configure: Regenerated.
21508
006dd861
JL
215092012-06-21 Jeff Law <law@redhat.com>
21510
21511 [BZ #14277]
21512 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21513 free. Simplify list management for _LIBC case.
21514
79662d42
JM
215152012-06-21 Joseph Myers <joseph@codesourcery.com>
21516
b7abb4bf
JM
21517 [BZ #14273]
21518 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21519 Clear sign bit of 64-bit integer value before comparing against
21520 overflow value.
21521
79662d42
JM
21522 * sysdeps/mach/configure: Regenerated.
21523
1f150908
L
215242012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21525
21526 [BZ #14278]
21527 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21528
28363bbf
JL
215292012-06-21 Jeff Law <law@redhat.com>
21530
21531 [BZ #13882]
21532 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21533 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21535 * elf/dl-open.c (dl_open_worker): Likewise.
21536
09615db4
CD
215372012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21538
21539 * scripts/list-sources.sh: Scan PORTS for translations.
21540 * po/libc.pot: Regenerated.
21541
2174c6dd
AJ
215422012-06-21 Andreas Jaeger <aj@suse.de>
21543
21544 [BZ #12194]
21545 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21546 warning.
21547 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21548 * bits/byteswap-16.h (__bswap_16): Likewise.
21549 * bits/byteswap.h (__bswap_constant_16): Likewise.
21550
3ee947b1
L
215512012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21552
21553 [BZ #14117]
a2f34833
L
21554 * sysdeps/i386/fpu_control.h: Removed.
21555 * sysdeps/x86_64/fpu_control.h: Moved to ...
21556 * sysdeps/x86/fpu_control.h: Here.
21557
3ee947b1
L
21558 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21559 (_FPU_SETCW): Likewise.
21560
ed1825f8
L
215612012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21562
25f1282a
L
21563 [BZ #14117]
21564 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21565 * sysdeps/x86/fpu/bits/mathinline.h: This.
21566 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21567
ed1825f8
L
21568 [BZ #14050]
21569 [BZ #14117]
21570 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21571 functions if __x86_64__ is defined.
21572
36d54b74
CLT
215732012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21574
21575 * string/endian.h: Add !__ASSEMBLER__ condition for including
21576 conversion interfaces.
21577
10285c21
JM
215782012-06-15 Joseph Myers <joseph@codesourcery.com>
21579
21580 [BZ #14241]
21581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21582 of ABS(x) in calculating zero to negative powers other than odd
21583 integers.
21584 * math/libm-test.inc (pow_test): Add more tests.
21585
06c5abbd
AJ
215862012-06-15 Andreas Jaeger <aj@suse.de>
21587
21588 * manual/contrib.texi (Contributors): Update entry of Liubov
21589 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21590 Machado Filho.
21591
a3aeac40
CH
215922012-06-15 Cyril Hrubis <metan@ucw.cz>
21593
21594 * string/string.h: Add __wur to GNU version of strerror_r.
21595
49bdf4c1
L
215962012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21597
21598 [BZ #14229]
21599 * string/Makefile (tests): Add tst-strtok_r.
21600 * string/tst-strtok_r.c: New file.
21601 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21602 RAX_LP/RDX_LP on SAVE_PTR.
21603
834f9b8d
RM
216042012-06-14 Roland McGrath <roland@hack.frob.com>
21605
21606 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21607
75fa1921
JM
216082012-06-14 Joseph Myers <joseph@codesourcery.com>
21609
21610 * libm_test.inc (csqrt_test): Allow more spurious underflow
21611 exceptions.
21612 (j0_test): Likewise.
21613 (j1_test): Likewise.
21614 (y0_test): Likewise.
21615 (y1_test): Likewise.
21616
771766df
CD
216172012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21618
21619 * po/Makefile (libc.pot): Use UTF-8 charset.
21620
ceb9e56b
PP
216212012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21622
21623 [BZ #14210]
21624 Suppress sign-conversion warning from FD_SET.
21625 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21626 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21627 not unsigned long int.
21628 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21629
ddb28975
L
216302012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21631
21632 [BZ #14050]
21633 [BZ #14117]
21634 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21635 __extern_always_inline instead of __extern_inline.
21636 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21637 (__signbit): Likewise.
21638 (__signbitl): Support C++ namespace.
21639 (lrintf): New inline function.
21640 (lrint): Likewise.
21641 (llrintf): Likewise.
21642 (llrint): Likewise.
21643 (fmaxf): Likewise.
21644 (fmax): Likewise.
21645 (fminf): Likewise.
21646 (fmin): Likewise.
21647 (rint): Likewise.
21648 (rintf): Likewise.
21649 (ceil): Likewise.
21650 (ceilf): Likewise.
21651 (floor): Likewise.
21652 (floorf): Likewise.
21653 (nearbyint): Likewise.
21654 (nearbyintf): Likewise.
21655
d7b4fb26
TS
216562012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21657
21658 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21659 non-default versions.
21660
eb55f5c2
RM
216612012-06-11 Roland McGrath <roland@hack.frob.com>
21662
21663 [BZ #14218]
21664 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21665
366af02c
TS
216662012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21667
99ff6e5c
TS
21668 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21669 (FE_UPWARD, FE_DOWNWARD): Don't define.
21670 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21671 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21672
366af02c
TS
21673 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21674 reading it.
21675 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21676 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21677
793ea851
KK
216782012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21679
21680 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21681 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21682 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21683 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21684
a728a38f
L
216852012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21686
21687 [BZ #14117]
c08010c7
L
21688 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21689 * sysdeps/i386/fpu/Implies: New file.
21690 * sysdeps/x86_64/fpu/Implies: Likewise.
21691 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21692 * sysdeps/x86/fpu/bits/fenv.h: This.
21693
a728a38f
L
21694 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21695 __SSE_MATH__.
21696
6e230d11
SP
216972012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21698
21699 [BZ #14134]
21700 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21701 character 0xffff that matches the last element of the
21702 conversion table.
21703
1b671feb
AZ
217042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21705
21706 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21707 fmodl commit.
21708
6043738b
AZ
217092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21710
21711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21712 values higher than 25.6283.
21713
34ae0b32
AZ
217142012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21715
21716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21717 subnormal exponent extraction and add some __builtin_expect.
21718 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21719 Fix for subnormal mantissa calculation.
21720
1214ec8f
MF
217212012-06-04 Mike Frysinger <vapier@gentoo.org>
21722
21723 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21724 cpu2 is -1 and errno is not ENOSYS.
21725
f3d1f93c
L
217262012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 [BZ #14117]
0e4a3cd7
L
21729 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21730 * sysdeps/x86/bits/string.h: This.
21731 * sysdeps/x86_64/bits/string.h: Removed.
21732
6704c645
L
21733 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21734 if not compiling for x86-64, but compiling for >= i486.
21735
48495318
L
21736 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21737 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21738
14adcbfc
L
21739 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21740 New macro from Linux kernel 3.4.0.
21741 (FP_XSTATE_MAGIC2): Likewise.
21742 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21743 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21744 (struct _fpx_sw_bytes): New struct.
21745 (struct _xsave_hdr): Likewise.
21746 (struct _ymmh_state): Likewise.
21747 (struct _xstate): Likewise.
21748
68e408ab
L
21749 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21750 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21752 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21753 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21754 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21755
f3d1f93c
L
21756 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21757 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21758 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21759 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21760 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21761 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21762
d9dc34cd
TMQMF
217632012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21764
21765 [BZ #13743]
21766 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21767 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21768 (sysdep_headers): Include sys/platform/ppc.h.
21769 * sysdeps/powerpc/test-gettimebase.c: Test for
21770 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21771 * manual/Makefile (appendices): Include platform.texi.
21772 * manual/contrib.texi (Contributors): Update @node pointers.
21773 * manual/maint.texi (Maintenance): Likewise.
21774 (Platform): New node.
21775 * manual/platform.texi: New file. Document the new features.
21776
4af3879c
SP
217772012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21778 Jakub Jelinek <jakub@redhat.com>
21779
21780 [BZ #14188]
21781 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21782 where __builtin_expect is unavailable.
21783
2fd6ff13
DM
217842012-06-03 David S. Miller <davem@davemloft.net>
21785
21786 * stdlib/longlong.h: Updated from GCC.
21787
173f7220
AS
217882012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21789
21790 [BZ #14042]
21791 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21792 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21793 __mcount_internal.
21794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21795 (GLIBC_2.16): Likewise.
21796
f34a1c6f
L
217972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21798
21799 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21800
88a4576f
JM
218012012-06-01 Joseph Myers <joseph@codesourcery.com>
21802
ea32bcdd
JM
21803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21804 (default-abi): New variable.
21805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21806 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21807 variable.
21808 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21809 Likewise.
21810 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21811 Likewise.
21812 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21813 Likewise.
21814
88a4576f
JM
21815 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21816 definition. Document in comment.
21817
402fe938
DM
218182012-06-01 David S. Miller <davem@davemloft.net>
21819
21820 * stdlib/longlong.h: Updated from GCC.
21821
3553723f
L
218222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21823
21824 [BZ #14117]
3bd872c4
L
21825 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21826 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21827 sys/debugreg.h sys/io.h here.
21828 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21829 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21830 sys/io.h.
21831 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21832 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21833 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21834 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21835 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21836 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21837
3553723f
L
21838 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21839 Define only if __x86_64__ is defined.
21840
4842e4fe
JM
218412012-06-01 Joseph Myers <joseph@codesourcery.com>
21842
c5bfe3d5
JM
21843 [BZ #14048]
21844 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21845 Use int64_t for variable i.
21846 * math/libm-test.inc (fmod_test): Add more tests.
21847
4842e4fe
JM
21848 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21849 z computation is not scheduled after fetestexcept.
21850 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21851 Use math_force_eval instead of asm to ensure calculation scheduled
21852 before exception test.
21853 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21854 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21855
efb73488
AJ
218562012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21857
21858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21859 computation is not scheduled after fetestexcept.
21860
29bcce7c
L
218612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21862
21863 [BZ #14117]
21864 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21865 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21866
73a68f94
AZ
218672012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21868
21869 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21870 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21871
67b6df78
L
218722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21873
edf2933a 21874 [BZ #14117]
ebc64a18
L
21875 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21876 <bits/wordsize.h>.
21877 (__WCHAR_MIN): Support __WORDSIZE == 64.
21878 (__WCHAR_MAX): Likewise.
21879
edf2933a
L
21880 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21881 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21882
57c6cf40
L
21883 [BZ #14183]
21884 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21885 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21886
67b6df78 21887 [BZ #14117]
8eb6281e
L
21888 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21889 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21890
aac639f4
L
21891 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21892 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21893
67b6df78
L
21894 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21895 Defined to 1 if __x86_64__ isn't defined.
21896 (_STAT_VER_LINUX_OLD): New.
21897 (st_atime): Remove duplicate.
21898 (st_mtime): Likewise.
21899 (st_ctime): Likewise.
21900
1c2cfe81
DM
219012012-05-31 David S. Miller <davem@davemloft.net>
21902
21903 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21904 entries.
21905
5be8418c
AS
219062012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21907
e7725326
AS
21908 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21909 gen-libm-test.pl.
21910
5be8418c
AS
21911 [BZ #14132]
21912 * elf/dl-reloc.c: Include <_itoa.h>.
21913 (_dl_reloc_bad_type): Remove use of INTUSE.
21914 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21915 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21916 * stdio-common/psiginfo.c (psiginfo): Likewise.
21917 * stdio-common/psignal.c (psignal): Likewise.
21918 * string/strsignal.c (strsignal): Likewise.
21919 * include/signal.h (_sys_siglist): Declare hidden proto.
21920 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21921 INTVARDEF with libc_hidden_data_def.
21922 * stdio-common/itoa-udigits.c: Likewise.
21923 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21924 (_itoa_lower_digits_internal): Remove declaration.
21925 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21926 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21927 (_sys_sigabbrev_internal): Remove aliases.
21928 (_sys_siglist): Define hidden alias.
21929
507352f1
MT
219302012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21931
21932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21933 bits/sysctl.h.
21934
42bbb1c3
L
219352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21936
21937 [BZ #14117]
6bd784b6
L
21938 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21939 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21940
8bca20f0
L
21941 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21942 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21943 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21944 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21945 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21946 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21947
f9e890a9
L
21948 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21949 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21950 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21951
471101a1
L
21952 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21953 with __addr.
21954 (insw): Likewise.
21955 (insl): Likewise.
21956 (outsb): Likewise.
21957 (outsw): Likewise.
21958 (outsl): Likewise.
21959
6451c862
L
21960 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21962 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21963
a254b8c9
L
21964 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21965 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21966 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21967 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21968 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21969 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21970
b8dfdd92
L
21971 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21972 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21973
578cd270
L
21974 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21975 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21976
de662f5f
L
21977 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21978 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21979 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21980
25653439
L
21981 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21982 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21983 to ...
21984 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21985
6bad24a0
L
21986 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21987 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21988 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21989
42bbb1c3
L
21990 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21991 for x86-64.
21992 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21993
2d10d547
JM
219942012-05-31 Joseph Myers <joseph@codesourcery.com>
21995
21996 * math/math.h (M_El): Use two more decimal places.
21997 (M_LOG2El): Likewise.
21998 (M_LOG10El): Likewise.
21999 (M_LN2l): Likewise.
22000 (M_LN10l): Likewise.
22001 (M_PIl): Likewise.
22002 (M_PI_2l): Likewise.
22003 (M_PI_4l): Likewise.
22004 (M_1_PIl): Likewise.
22005 (M_2_PIl): Likewise.
22006 (M_2_SQRTPIl): Likewise.
22007 (M_SQRT2l): Likewise.
22008 (M_SQRT1_2l): Likewise.
22009
f230c29b
DM
220102012-05-31 David S. Miller <davem@davemloft.net>
22011
22012 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22013 values between float registers.
22014 * sysdeps/sparc/sparc64/memset.S: Likewise.
22015 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22016
fed806c3
MF
220172012-05-31 Mike Frysinger <vapier@gentoo.org>
22018
22019 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22020 -D_FORTIFY_SOURCE=1.
22021 (CPPFLAGS-tst-longjmp_chk.c): Define.
22022 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22023 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22024 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22025 CFLAGS-tst-wchar-h.c.
22026
30917259
MP
220272012-05-31 Marek Polacek <polacek@redhat.com>
22028
22029 [BZ #14132]
22030 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22031 __endmntent_internal): Remove declaration.
22032 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22033 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22034 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22035
1c58d5dc
DM
220362012-05-30 David S. Miller <davem@davemloft.net>
22037
22038 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22039 (___Q_simulate_exceptions): Use real FP ops rather than writing
22040 into the %fsr.
22041 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22042 Likewise.
22043
7dc00e0d
L
220442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22045
22046 [BZ #14117]
0bd53985
L
22047 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22048 * sysdeps/x86/bits/xtitypes.h: This.
22049
3a257e66
L
22050 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22051 * sysdeps/x86/bits/wordsize.h: This.
22052
62f62904
L
22053 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22054 * sysdeps/x86/bits/huge_vall.h: This.
22055
404fe9d9
L
22056 * sysdeps/i386/bits/select.h: Removed.
22057 * sysdeps/x86_64/bits/select.h: Renamed to ...
22058 * sysdeps/x86/bits/select.h: This.
22059
d48d0446
L
22060 * sysdeps/i386/bits/setjmp.h: Removed.
22061 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22062 * sysdeps/x86/bits/setjmp.h: This.
22063
7dc00e0d
L
22064 * sysdeps/i386/bits/mathdef.h: Removed.
22065 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22066 * sysdeps/x86/bits/mathdef.h: This.
22067
03277f8f
AS
220682012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22069
22070 [BZ #14132]
22071 * include/sys/socket.h (__connect_internal)
22072 (__libc_sa_len_internal): Remove declaration.
22073 (__connect, __libc_sa_len): Declare hidden_proto.
22074 (SA_LEN): Remove use of INTUSE.
22075 * socket/connect.c: Add libc_hidden_def.
22076 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22077 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22078 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22079 alias.
22080 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22081 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22082 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22083 of adding _internal alias.
22084
13764867
L
220852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22086
22087 [BZ #14117]
6bd97696
L
22088 * sysdeps/i386/bits/link.h: Removed.
22089 * sysdeps/i386/bits/linkmap.h: Likewise.
22090 * sysdeps/x86_64/bits/link.h: Renamed to ...
22091 * sysdeps/x86/bits/link.h: This.
22092 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22093 * sysdeps/x86/bits/linkmap.h: This.
22094
f726f0bb
L
22095 * sysdeps/i386/bits/endian.h: Removed.
22096 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22097 * sysdeps/x86/bits/endian.h: This.
22098
13764867
L
22099 * sysdeps/i386/bits/byteswap.h: Removed.
22100 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22101 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22102 * sysdeps/x86/bits/byteswap.h: This.
22103 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22104 * sysdeps/x86/bits/byteswap-16.h: This.
22105 * sysdeps/i386/Implies: Add x86.
22106 * sysdeps/x86_64/Implies: Likewise.
22107
ae251b0b
DM
221082012-05-30 David S. Miller <davem@davemloft.net>
22109
22110 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22111 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22112 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22113 (FP_TRAPPING_EXCEPTIONS): Define.
22114 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22115 (FP_TRAPPING_EXCEPTIONS): Define.
22116 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22117 subnormals only when inexact has been signalled or underflow
22118 exceptions are enabled.
22119 (_FP_PACK_CANONICAL): Likewise.
22120
d5c90867
L
221212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22122
22123 [BZ #14183]
22124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22125 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22126
63f1549e
RH
221272012-05-30 Richard Henderson <rth@twiddle.net>
22128
8d8f2279
RH
22129 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22130 with #ifndef NOT_IN_libc.
22131
63f1549e
RH
22132 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22133 marked to avoid plt entry.
22134
0ab0291b
L
221352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 [BZ #14112]
22138 * Makeconfig (default-abi): New macro.
22139 (abi-includes): Likewise.
22140 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22141 $(abi-$(default-abi)-lib-soname) for soname if defined.
22142 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22143 abi-variants.
22144 * Makefile (installed-stubs): Likewise.
22145 * include/stubs-biarch.h: Removed.
22146 * scripts/lib-names.awk: Only handle one library at a time.
22147 * scripts/soversions.awk: Remove WORDSIZE support.
22148 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22149 entries.
22150 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22151 Removed.
22152 (syscall-list-default-condition): Likewise.
22153 (syscall-list-default-condition): Likewise.
22154 (syscall-list-includes): Likewise.
22155 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22156 syscall-list-* with abi-*. Handle undefined abi-variants.
22157 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22158 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22159 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22160 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22161 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22162 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22163 Removed.
22164 (syscall-list-32-options): Likewise.
22165 (syscall-list-32-condition): Likewise.
22166 (syscall-list-64-options): Likewise.
22167 (syscall-list-64-condition): Likewise.
22168 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22169 macro.
22170 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22171 Renamed to ...
22172 (abi-*): This.
22173 (abi-64-ld-soname): New macro.
22174 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22175 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22176 Renamed to ...
22177 (abi-*): This.
22178 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22179 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22180
4da0431d
JM
221812012-05-30 Joseph Myers <joseph@codesourcery.com>
22182
3a85279c
JM
22183 * sysdeps/unix/sysv/linux/kernel-features.h
22184 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22185 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22186 include <kernel-features.h>.
22187 [!__NR_ftruncate64]: Remove conditional code.
22188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22189 [__NR_ftruncate64]: Make code unconditional.
22190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22191 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22192 include <kernel-features.h>.
22193 [!__NR_ftruncate64]: Remove conditional code.
22194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22195 [__NR_ftruncate64]: Make code unconditional.
22196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22198 include <kernel-features.h>.
22199 [!__NR_ftruncate64]: Remove conditional code.
22200 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22201 [__NR_ftruncate64]: Make code unconditional.
22202 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22204 include <kernel-features.h>.
22205 [!__NR_ftruncate64]: Remove conditional code.
22206 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22207 [__NR_ftruncate64]: Make code unconditional.
22208 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22209
4da0431d
JM
22210 * configure.in (libc_cv_fpie): Weaken to a compile test using
22211 LIBC_TRY_CC_OPTION.
22212 * configure: Regenerated.
22213
11ef492c
AK
222142012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22215
22216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22220 Refreshed.
22221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22227 Refreshed.
22228
d66ef399
DM
222292012-05-27 David S. Miller <davem@davemloft.net>
22230
22231 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22232 (___Q_zero): New.
22233 (__Q_simulate_exceptions): Return void. Change to simulate
22234 exceptions by writing into the %fsr.
22235 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22236 (__Qp_handle_exceptions): Likewise.
22237 (numbers): Delete.
22238 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22239 __Qp_handle_exceptions.
22240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22241 __Qp_handle_exceptions.
22242 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22243 as unused and give dummy FP_RND_NEAREST initializer.
22244 (FP_INHIBIT_RESULTS): Define.
22245 (___Q_simulate_exceptions): Update declaration.
22246 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22247 formatting.
22248 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22249 as unused and give dummy FP_RND_NEAREST initializer.
22250 (__Qp_handle_exceptions): Update declaration.
22251 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22252 formatting.
22253
04fb54b5
TS
222542012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22255
22256 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22257 the temporary FPU control word.
22258 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22259 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22260 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22261 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22262 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22263 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22264 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22265 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22266 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22267 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22268 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22269
3f99608f
KK
222702012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22271
22272 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22273 fields.
22274
65a4de4e
CLT
222752012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22276
22277 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22278 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22279 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22280 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22281 Likewise.
22282 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22283 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22284 Likewise.
22285
15749d40
UD
222862012-05-27 Ulrich Drepper <drepper@gmail.com>
22287
22288 * po/h.po: Update from translation team.
22289
25dbcb27
AS
222902012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22291
3d3f8e55
AS
22292 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22293
25dbcb27
AS
22294 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22295 handling of denormals.
22296 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22297 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22298 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22299 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22300 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22303 Likewise.
22304
7ad47a80 223052012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22306
22307 [BZ #14152]
22308 * math/libm-test.inc (fma_test): Don't always expect underflow
22309 exception.
22310
9c6ea9fa
SP
223112012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22312
22313 [BZ #12416]
22314 * elf/tst-execstack.c: Include stackinfo.h.
22315 (do_test): Adjust test case to ensure that pthread_getattr_np
22316 behaviour remains the same after marking stack executable.
22317
a8239222
JM
223182012-05-25 Joseph Myers <joseph@codesourcery.com>
22319
22320 * sysdeps/unix/sysv/linux/kernel-features.h
22321 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22322 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22323 kernel-features.h.
22324 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22325 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22326 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22327 kernel-features.h.
22328 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22329 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22330
918b5606
L
223312012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22332
22333 * configure.in: Define the default includes to being none.
22334 * configure: Regenerated.
22335
3a097cc7
RM
223362012-05-25 Roland McGrath <roland@hack.frob.com>
22337
8422c9a5
RM
22338 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22339 * sysdeps/x86_64/setjmp.S: Likewise.
22340 * sysdeps/i386/bsd-setjmp.S: Likewise.
22341 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22342 * sysdeps/i386/setjmp.S: Likewise.
22343 * sysdeps/i386/__longjmp.S: Likewise.
22344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22345 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22346
3a097cc7
RM
22347 * include/stap-probe.h: New file.
22348 * configure.in: Handle --enable-systemtap.
22349 * configure: Regenerated.
22350 * config.h.in (USE_STAP_PROBE): New #undef.
22351 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22352 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22353 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22354
21708942
JM
223552012-05-25 Joseph Myers <joseph@codesourcery.com>
22356
22357 [BZ #13717]
22358 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22359 to 2.4.0 where earlier.
22360 * sysdeps/unix/sysv/linux/configure: Regenerated.
22361 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22362 <kernel-features.h>.
22363 [__ASSUME_32BITUIDS]: Make code unconditional.
22364 [!__ASSUME_32BITUIDS]: Remove conditional code.
22365 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22366 <kernel-features.h>.
22367 [__ASSUME_32BITUIDS]: Make code unconditional.
22368 [!__ASSUME_32BITUIDS]: Remove conditional code.
22369 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22370 [__ASSUME_32BITUIDS]: Make code unconditional.
22371 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22372 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22373 <kernel-features.h>.
22374 [__ASSUME_32BITUIDS]: Make code unconditional.
22375 [!__ASSUME_32BITUIDS]: Remove conditional code.
22376 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22377 <kernel-features.h>.
22378 [__ASSUME_32BITUIDS]: Make code unconditional.
22379 [!__ASSUME_32BITUIDS]: Remove conditional code.
22380 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22381 <kernel-features.h>.
22382 [__ASSUME_32BITUIDS]: Make code unconditional.
22383 [!__ASSUME_32BITUIDS]: Remove conditional code.
22384 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22385 <kernel-features.h>.
22386 [__ASSUME_32BITUIDS]: Make code unconditional.
22387 [!__ASSUME_32BITUIDS]: Remove conditional code.
22388 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22389 <kernel-features.h>.
22390 [__ASSUME_32BITUIDS]: Make code unconditional.
22391 [!__ASSUME_32BITUIDS]: Remove conditional code.
22392 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22393 <kernel-features.h>.
22394 [__ASSUME_32BITUIDS]: Make code unconditional.
22395 [!__ASSUME_32BITUIDS]: Remove conditional code.
22396 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22397 <kernel-features.h>.
22398 [__ASSUME_32BITUIDS]: Make code unconditional.
22399 [!__ASSUME_32BITUIDS]: Remove conditional code.
22400 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22401 <kernel-features.h>.
22402 [__ASSUME_32BITUIDS]: Make code unconditional.
22403 [!__ASSUME_32BITUIDS]: Remove conditional code.
22404 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22405 <kernel-features.h>.
22406 [__ASSUME_32BITUIDS]: Make code unconditional.
22407 [!__ASSUME_32BITUIDS]: Remove conditional code.
22408 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22409 <kernel-features.h>.
22410 [__ASSUME_32BITUIDS]: Make code unconditional.
22411 [!__ASSUME_32BITUIDS]: Remove conditional code.
22412 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22413 <kernel-features.h>.
22414 [__NR_setresgid] (__setresgid): Do not declare.
22415 [__ASSUME_32BITUIDS]: Make code unconditional.
22416 [!__ASSUME_32BITUIDS]: Remove conditional code.
22417 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22418 <kernel-features.h>.
22419 [__NR_setresuid] (__setresuid): Do not declare.
22420 [__ASSUME_32BITUIDS]: Make code unconditional.
22421 [!__ASSUME_32BITUIDS]: Remove conditional code.
22422 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22423 <kernel-features.h>.
22424 [__ASSUME_32BITUIDS]: Make code unconditional.
22425 [!__ASSUME_32BITUIDS]: Remove conditional code.
22426 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22427 <kernel-features.h>.
22428 [__ASSUME_32BITUIDS]: Make code unconditional.
22429 [!__ASSUME_32BITUIDS]: Remove conditional code.
22430 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22431 <kernel-features.h>.
22432 [__ASSUME_32BITUIDS]: Make code unconditional.
22433 [!__ASSUME_32BITUIDS]: Remove conditional code.
22434 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22435 <kernel-features.h>.
22436 [__ASSUME_32BITUIDS]: Make code unconditional.
22437 [!__ASSUME_32BITUIDS]: Remove conditional code.
22438 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22439 <kernel-features.h>.
22440 [__ASSUME_32BITUIDS]: Make code unconditional.
22441 [!__ASSUME_32BITUIDS]: Remove conditional code.
22442 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22443 <kernel-features.h>.
22444 [__ASSUME_32BITUIDS]: Make code unconditional.
22445 [!__ASSUME_32BITUIDS]: Remove conditional code.
22446 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22447 <kernel-features.h>.
22448 [__ASSUME_32BITUIDS]: Make code unconditional.
22449 [!__ASSUME_32BITUIDS]: Remove conditional code.
22450 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22451 <kernel-features.h>.
22452 [__ASSUME_32BITUIDS]: Make code unconditional.
22453 [!__ASSUME_32BITUIDS]: Remove conditional code.
22454 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22455 <kernel-features.h>.
22456 [__ASSUME_32BITUIDS]: Make code unconditional.
22457 [!__ASSUME_32BITUIDS]: Remove conditional code.
22458 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22459 <kernel-features.h>.
22460 [__ASSUME_32BITUIDS]: Make code unconditional.
22461 [!__ASSUME_32BITUIDS]: Remove conditional code.
22462 * sysdeps/unix/sysv/linux/kernel-features.h
22463 (__ASSUME_SETRESUID_SYSCALL): Remove.
22464 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22465 (__ASSUME_32BITUIDS): Likewise.
22466 (__ASSUME_LDT_WORKS): Likewise.
22467 (__ASSUME_O_DIRECTORY): Likewise.
22468 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22469 architecture but not kernel version.
22470 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22471 (__ASSUME_MMAP2_SYSCALL): Likewise.
22472 (__ASSUME_STAT64_SYSCALL): Likewise.
22473 (__ASSUME_IPC64): Likewise.
22474 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22475 <kernel-features.h>.
22476 [__ASSUME_32BITUIDS]: Make code unconditional.
22477 [!__ASSUME_32BITUIDS]: Remove conditional code.
22478 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22479 <kernel-features.h>.
22480 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22481 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22482 132096]: Remove conditional code.
22483 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22484 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22485 <kernel-features.h>.
22486 [__ASSUME_32BITUIDS]: Make code unconditional.
22487 [!__ASSUME_32BITUIDS]: Remove conditional code.
22488 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22489 <kernel-features.h>.
22490 [__ASSUME_32BITUIDS]: Make code unconditional.
22491 [!__ASSUME_32BITUIDS]: Remove conditional code.
22492 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22493 <kernel-features.h>.
22494 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22495 unconditional.
22496 (__setresgid): Do not declare.
22497 [__ASSUME_32BITUIDS]: Make code unconditional.
22498 [!__ASSUME_32BITUIDS]: Remove conditional code.
22499 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22500 <kernel-features.h>.
22501 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22502 unconditional.
22503 (__setresuid): Do not declare.
22504 [__ASSUME_32BITUIDS]: Make code unconditional.
22505 [!__ASSUME_32BITUIDS]: Remove conditional code.
22506 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22507 <kernel-features.h>.
22508 [__ASSUME_32BITUIDS]: Make code unconditional.
22509 [!__ASSUME_32BITUIDS]: Remove conditional code.
22510 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22511 <kernel-features.h>.
22512 [__ASSUME_32BITUIDS]: Make code unconditional.
22513 [!__ASSUME_32BITUIDS]: Remove conditional code.
22514
a386f1cc
RH
225152012-05-25 Richard Henderson <rth@twiddle.net>
22516
22517 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22518 dl_hwcap to ifunc resolver.
22519 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22520 elf_ifunc_invoke.
22521 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22522 dl_hwcap to ifunc resolver.
22523 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22524
b6550497
JM
225252012-05-24 Joseph Myers <joseph@codesourcery.com>
22526
22527 [BZ #14153]
22528 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22529 for |x| <= 2**-26, not 2**-57.
22530 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22531 exception.
22532
b0bc23a1
JL
225332012-05-24 Jeff Law <law@redhat.com>
22534
22535 * stdio-common/Makefile (tests): Add bug25.
22536 * stdio-common/bug25.c: New test.
22537
347c92e9
L
225382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22539
22540 [BZ #13576]
22541 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22542 multiple of MALLOC_ALIGNMENT in size.
22543 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22544
6bcc8b3f
JM
225452012-05-24 Joseph Myers <joseph@codesourcery.com>
22546
22547 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22548 Require >= 256.
22549 (FILENAME_MAX): Use macro-int-constant.
22550 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22551 (_IOFBF): Use macro-int-constant.
22552 (_IOLBF): Likewise.
22553 (_IONBF): Likewise.
22554 (SEEK_CUR): Likewise.
22555 (SEEK_END): Likewise.
22556 (SEEK_SET): Likewise.
22557 (TMP_MAX): Likewise.
22558 (EOF): Use macro-int-constant. Require < 0.
22559 (NULL): Use macro-constant. Require == 0.
22560 (stdin): Require type to be FILE *.
22561 (stdout): Likewise.
22562 (stderr): Likewise.
22563 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22564 macro-int-constant.
22565 (EXIT_SUCCESS): Likewise.
22566 (NULL): Use macro-constant. Require == 0.
22567 (RAND_MAX): Use macro-int-constant.
22568 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22569 [C99-based standards] (strtof): Require function.
22570 [C99-based standards] (strtold): Likewise.
22571 [C99-based standards] (strtoll): Likewise.
22572 [C99-based standards] (strtoull): Likewise.
22573 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22574 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22575 [ISO || ISO99 || ISO11] (math.h): Likewise.
22576 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22577 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22579
d18ea0c5
AS
225802012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22581
22582 [BZ #14132]
56d25bb8
AS
22583 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22584 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22585 * intl/dgettext.c (DCGETTEXT): Likewise.
22586 * intl/gettext.c (DCGETTEXT): Likewise.
22587 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22588 * posix/regex_internal.h (gettext): Likewise.
22589 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22590 Remove declaration.
22591 * include/argz.h (__argz_count_internal)
22592 (__argz_stringify_internal): Remove declaration.
22593 (__argz_count, __argz_stringify): Declare hidden proto.
22594 * intl/dcgettext.c: Remove use of INTDEF.
22595 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22596 * string/argz-stringify.c: Likewise.
22597 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22598 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22599 Declare hidden proto.
d18ea0c5
AS
22600 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22601 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22602 Declare hidden proto.
22603 * include/stdio.h (__asprintf_internal): Don't declare.
22604 (__asprintf): Don't define as macro. Declare hidden proto.
22605 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22606 (__fsetlocking): Declare hidden proto.
22607 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22608 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22609 hidden proto.
22610 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22611 (_IO_setlinebuf): Remove use of INTUSE.
22612 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22613 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22614 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22615 Remove declaration.
22616 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22617 (_IO_do_flush): Remove use of INTUSE.
22618 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22619 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22620 (_IO_adjust_column, _IO_least_wmarker)
22621 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22622 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22623 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22624 (_IO_default_doallocate, _IO_wdefault_doallocate)
22625 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22626 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22627 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22628 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22629 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22630 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22631 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22632 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22633 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22634 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22635 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22636 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22637 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22638 proto.
22639 (_IO_flush_all_internal, _IO_adjust_column_internal)
22640 (_IO_default_uflow_internal, _IO_default_finish_internal)
22641 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22642 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22643 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22644 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22645 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22646 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22647 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22648 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22649 (_IO_file_close_internal, _IO_file_close_it_internal)
22650 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22651 (_IO_file_init_internal, _IO_file_attach_internal)
22652 (_IO_file_fopen_internal, _IO_file_read_internal)
22653 (_IO_file_sync_internal, _IO_file_seek_internal)
22654 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22655 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22656 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22657 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22658 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22659 (_IO_list_all_internal, _IO_link_in_internal)
22660 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22661 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22662 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22663 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22664 (_IO_do_write_internal, _IO_padn_internal)
22665 (_IO_getline_info_internal, _IO_getline_internal)
22666 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22667 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22668 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22669 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22670 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22671 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22672 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22673 with libc_hidden_ver, remove use of INTUSE.
22674 * libio/genops.c: Likewise.
22675 * libio/freopen.c: Likewise.
22676 * libio/freopen64.c: Likewise.
22677 * libio/iofclose.c: Likewise.
22678 * libio/iofdopen.c: Likewise.
22679 * libio/iofflush.c: Likewise.
22680 * libio/iofflush_u.c: Likewise.
22681 * libio/iofgets.c: Likewise.
22682 * libio/iofgets_u.c: Likewise.
22683 * libio/iofopen.c: Likewise.
22684 * libio/iofopncook.c: Likewise.
22685 * libio/iofread.c: Likewise.
22686 * libio/iofread_u.c: Likewise.
22687 * libio/ioftell.c: Likewise.
22688 * libio/iofwrite.c: Likewise.
22689 * libio/iogetline.c: Likewise.
22690 * libio/iogets.c: Likewise.
22691 * libio/iogetwline.c: Likewise.
22692 * libio/iopadn.c: Likewise.
22693 * libio/iopopen.c: Likewise.
22694 * libio/ioseekoff.c: Likewise.
22695 * libio/ioseekpos.c: Likewise.
22696 * libio/iosetbuffer.c: Likewise.
22697 * libio/iosetvbuf.c: Likewise.
22698 * libio/ioungetc.c: Likewise.
22699 * libio/ioungetwc.c: Likewise.
22700 * libio/iovdprintf.c: Likewise.
22701 * libio/iovsprintf.c: Likewise.
22702 * libio/iovsscanf.c: Likewise.
22703 * libio/memstream.c: Likewise.
22704 * libio/obprintf.c: Likewise.
22705 * libio/oldfileops.c: Likewise.
22706 * libio/oldiofclose.c: Likewise.
22707 * libio/oldiofdopen.c: Likewise.
22708 * libio/oldiofopen.c: Likewise.
22709 * libio/oldiopopen.c: Likewise.
22710 * libio/oldstdfiles.c: Likewise.
22711 * libio/putc.c: Likewise.
22712 * libio/setbuf.c: Likewise.
22713 * libio/setlinebuf.c: Likewise.
22714 * libio/stdfiles.c: Likewise.
22715 * libio/strops.c: Likewise.
22716 * libio/vasprintf.c: Likewise.
22717 * libio/vscanf.c: Likewise.
22718 * libio/vsnprintf.c: Likewise.
22719 * libio/vswprintf.c: Likewise.
22720 * libio/wfiledoalloc.c: Likewise.
22721 * libio/wfileops.c: Likewise.
22722 * libio/wgenops.c: Likewise.
22723 * libio/wmemstream.c: Likewise.
22724 * libio/wstrops.c: Likewise.
22725 * libio/__fpurge.c: Likewise.
22726 * libio/__fsetlocking.c: Likewise.
22727 * assert/assert.c: Likewise.
22728 * debug/fgets_chk.c: Likewise.
22729 * debug/fgets_u_chk.c: Likewise.
22730 * debug/fread_chk.c: Likewise.
22731 * debug/fread_u_chk.c: Likewise.
22732 * debug/gets_chk.c: Likewise.
22733 * debug/obprintf_chk.c: Likewise.
22734 * debug/vasprintf_chk.c: Likewise.
22735 * debug/vdprintf_chk.c: Likewise.
22736 * debug/vsnprintf_chk.c: Likewise.
22737 * debug/vsprintf_chk.c: Likewise.
22738 * malloc/mtrace.c: Likewise.
22739 * misc/error.c: Likewise.
22740 * misc/syslog.c: Likewise.
22741 * stdio-common/asprintf.c: Likewise.
22742 * stdio-common/fxprintf.c: Likewise.
22743 * stdio-common/getw.c: Likewise.
22744 * stdio-common/isoc99_fscanf.c: Likewise.
22745 * stdio-common/isoc99_scanf.c: Likewise.
22746 * stdio-common/isoc99_vfscanf.c: Likewise.
22747 * stdio-common/isoc99_vscanf.c: Likewise.
22748 * stdio-common/isoc99_vsscanf.c: Likewise.
22749 * stdio-common/printf-prs.c: Likewise.
22750 * stdio-common/printf_fp.c: Likewise.
22751 * stdio-common/printf_fphex.c: Likewise.
22752 * stdio-common/printf_size.c: Likewise.
22753 * stdio-common/putw.c: Likewise.
22754 * stdio-common/scanf.c: Likewise.
22755 * stdio-common/sprintf.c: Likewise.
22756 * stdio-common/tmpfile.c: Likewise.
22757 * stdio-common/vfprintf.c: Likewise.
22758 * stdio-common/vfscanf.c: Likewise.
22759 * stdlib/strfmon_l.c: Likewise.
22760 * sunrpc/openchild.c: Likewise.
22761 * sunrpc/xdr_stdio.c: Likewise.
22762 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22763 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22764
d6c33fda
RM
227652012-05-24 Roland McGrath <roland@hack.frob.com>
22766
c1487492
RM
22767 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22768
22769 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22770 in the third column, to generate for the shared library an IFUNC
22771 that uses _dl_vdso_vsym.
22772 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22773 * Makeconfig (object-suffixes-noshared): New variable.
22774
22775 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22776 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22777 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22778 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22779
d6c33fda
RM
22780 [BZ #14132]
22781 * include/sys/time.h (__gettimeofday): Remove macro.
22782 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22783 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22784 Remove INTDEF.
22785 (__gettimeofday): Add libc_hidden_def.
22786 (gettimeofday): Add libc_hidden_weak.
22787 * sysdeps/mach/gettimeofday.c: Likewise.
22788 * sysdeps/posix/gettimeofday.c: Likewise.
22789 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22790 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22792 (__gettimeofday_internal): Remove strong_alias.
22793 (__gettimeofday): Add libc_hidden_def.
22794 (gettimeofday): Add libc_hidden_weak.
22795 * sysdeps/unix/syscalls.list (gettimeofday):
22796 Remove __gettimeofday_internal alias.
22797
b5a2bbe6
L
227982012-05-24 Daniel Jacobowitz <drow@false.org>
22799 H.J. Lu <hongjiu.lu@intel.com>
22800
22801 [BZ #12495]
22802 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22803 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22804 (largebin_index_32_big): New.
22805 (largebin_index): Use it for 16-byte alignment.
22806 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22807 correction with front_misalign.
22808
cfba4fda
L
228092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22810
7f907421
L
22811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22813 Likewise.
22814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22815 Likewise.
22816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22817 Likewise.
22818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22819 Likewise.
22820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22821 Likewise.
22822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22823 Likewise.
22824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22825 Likewise.
22826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22827 Likewise.
22828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22829 Likewise.
22830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22831 Likewise.
22832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22833 Likewise.
22834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22835 Likewise.
22836
cfba4fda
L
22837 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22838 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22839
80bad0cc
JM
228402012-05-24 Joseph Myers <joseph@codesourcery.com>
22841
7a25eb06
JM
22842 [BZ #10846]
22843 [BZ #14036]
22844 * math/libm-test.inc (exp_test): Add test from bug 14036.
22845 (pow_test): Add test from bug 10846.
22846
795405f9
JM
22847 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22848 and other flags.
22849 (special_function): Do not include flags in test name.
22850 (parse_args): Likewise.
22851 * sysdeps/i386/fpu/libm-test-ulps: Update.
22852 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22853 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22854 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22856
80bad0cc
JM
22857 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22858 exceptions.
22859 * math/libm-test.inc ("Philosophy"): Update comment about
22860 exception testing.
22861 (UNDERFLOW_EXCEPTION): New macro.
22862 (UNDERFLOW_EXCEPTION_OK): Likewise.
22863 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22864 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22865 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22866 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22867 (INVALID_EXCEPTION_OK): Update value.
22868 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22869 (OVERFLOW_EXCEPTION_OK): Likewise.
22870 (IGNORE_ZERO_INF_SIGN): Likewise.
22871 (test_exceptions): Handle underflow exceptions.
22872 (acos_test): Update for underflow exception expectations.
22873 (cexp_test): Likewise.
22874 (clog_test): Likewise.
22875 (clog10_test): Likewise.
22876 (csqrt_test): Likewise.
22877 (ctan_test): Likewise.
22878 (ctanh_test): Likewise.
22879 (exp_test): Likewise.
22880 (exp10_test): Likewise.
22881 (exp2_test): Likewise.
22882 (expm1_test): Likewise.
22883 (fma_test): Likewise.
22884 (j0_test): Likewise.
22885 (jn_test): Likewise.
22886 (nexttoward_test): Likewise.
22887 (pow_test): Likewise.
22888 (scalbn_test): Likewise.
22889 (scalbln_test): Likewise.
22890 (tan_test): Likewise.
22891 (y1_test): Likewise.
22892 * sysdeps/i386/fpu/libm-test-ulps: Update.
22893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22894
9e0e3d0b
DM
228952012-05-23 David S. Miller <davem@davemloft.net>
22896
22897 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22898 (__libc_sigaction): Remove unused local variables.
22899
ccd0a08f
L
229002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22901
22902 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22903
62bdf9a6
PE
229042012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22905
f8591f80
PE
22906 mktime: avoid signed integer overflow
22907 * time/mktime.c (__mktime_internal): Do not mishandle the case
22908 where diff == INT_MIN.
22909
94c7d826
PE
22910 mktime: simplify computation of average
22911 * time/mktime.c (ranged_convert): Use new time_t_avg function
22912 instead of rolling our own (probably-slower) code.
22913
ce73d683
PE
22914 mktime: do not assume signed right shift propagates sign bit
22915 * time/mktime.c (isdst_differ): New static function.
22916 (__mktime_internal): No need to normalize tm_isdst now.
22917 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22918 tm_isdst values.
22919
72a22e59
PE
22920 mktime: merge another wrapv change from gnulib
22921 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22922 from some compilers.
22923
68605433
PE
22924 mktime: remove incorrect attempt at unusual arithmetics
22925 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22926 The code didn't really work on such machines anyway.
22927 (TYPE_MINIMUM): Assume two's complement.
22928 (twos_complement_arithmetic): Verify that long_int and time_t
22929 are two's complement (or unsigned, in the latter case).
22930
03cf7fe3
PE
22931 mktime: check signed shifts on long_int and time_t, too
22932 * time/mktime.c (SHR): Check that shifts work as desired
22933 on the types long_int and time_t too, as SHR is used on
22934 such types.
22935
f04dfbc2
PE
22936 mktime: do not assume 'long' is wide enough
22937 * time/mktime.c (verify): Move decl up.
22938 (long_int): New type.
22939 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22940 to remove assumption in the code that 'long' is wide enough to
22941 store year values. This assumption is not true on x32 and on
22942 some non-glibc platforms.
22943
62bdf9a6
PE
22944 mktime: merge wrapv change from gnulib
22945 * time/mktime.c (WRAPV): New macro.
22946 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22947 (guess_time_tm, __mktime_internal): Do not assume that signed
22948 integer overflow wraps around; modern compilers generate code
22949 where this assumption is no longer valid.
22950
5e292e4f
L
229512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22952
22953 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22954 Replace "jmp L(pseudo_end)" with "ret".
22955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22956 Likewise.
22957
8caf8c87
AJ
229582012-05-23 Andreas Jaeger <aj@suse.de>
22959
22960 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22961 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22962
1a09dc56
AJ
229632012-05-23 Andreas Jaeger <aj@suse.de>
22964 Maximilian Attems <max@stro.at>
22965
22966 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22967 New macros.
22968
1c87aba0
L
229692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22970
22971 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22972 code so that pseudo_end is just ret and the stack pointer is
22973 correct also for static library in error case.
22974
40e45bd5
JM
229752012-05-23 Joseph Myers <joseph@codesourcery.com>
22976
c2670533
JM
22977 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22978 move to syscalls.list.
22979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22983
40e45bd5
JM
22984 * manual/install.texi (Running make install): Do not mention Linux
22985 kernel version for which pt_chown is not needed.
22986 (Linux): Do not mention problems with nscd with 2.0 kernels.
22987 * INSTALL: Regenerated.
22988
be08eda5
AJ
229892012-05-23 Andreas Jaeger <aj@suse.de>
22990
22991 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22992 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22993 macro.
22994 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22995 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22996 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22997 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22998 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22999 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23000 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23001 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23002 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23003 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23004 * sysdeps/unix/sysv/linux/bits/in.h
23005 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23006
a6a056bb
RM
230072012-05-22 Roland McGrath <roland@hack.frob.com>
23008
23009 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23010 (PREPARE_VERSION): Just use assert instead, it will be elided
23011 under [NDEBUG] anyway.
23012
c9009328
L
230132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23014
23015 * sysdeps/unix/sysv/linux/Makefile: Include
23016 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23017 (sysdep_routines): Remove sysctl.
c9009328
L
23018 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23019 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23020 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23021 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23022 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23023
73338355
AJ
230242012-05-22 Andreas Jaeger <aj@suse.de>
23025
23026 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23027 that pseudo_end is just ret and the stack pointer is correct also
23028 for static library in error case.
23029
d44638b0
PP
230302012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23031
23032 [BZ #14122]
23033 * nss/nsswitch.c (defconfig_entries): New variable.
23034 (__nss_database_lookup): Don't leak defconfig entries.
23035 (nss_parse_service_list): Don't leak on error paths.
23036 (free_database_entries): New function.
23037 (free_defconfig): New function.
23038 (free_mem): Move common code to free_database_entries.
23039
31a39bd8
L
230402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23041
da0331a8
L
23042 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23043 Add arch_prctl.
23044 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23045
31a39bd8
L
23046 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23047 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23049 New macro.
23050 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23051 (INTERNAL_SYSCALL_TYPES): Likewise.
23052 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23053 (LOAD_REGS_TYPES_[1-6]): Likewise.
23054 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23055 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23056
45470df3
AZ
230572012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23058
23059 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23060 copysignl for GLIBC_2_0.
23061 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23062 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23063 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23064 logbl for GLIBC_2_0.
23065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23066 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23067
98a61bcb
L
230682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23069
a4f6e481
L
23070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23071 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23072
f63d5db6
L
23073 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23074 Use "neg %eax".
23075
98a61bcb
L
23076 * time/mktime.c: Update copyright years.
23077
95770f14
PE
230782012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23079
6226efbd
PE
23080 mktime: merge comment-quoting-style change from gnulib
23081 * time/mktime.c: Quote 'like this' in comments.
23082 The GNU coding standards suggest that we no longer quote `like this',
23083 as "`" and "'" are typically rendered asymmetrically nowadays.
23084 The typical gnulib style is to quote 'like this' when quoting
23085 code, and "like this" when quoting English.
23086
b99e4f78
PE
23087 * time/mktime.c (compile-command): Add "-I.".
23088
643e01e6
PE
23089 mktime: merge mktime-internal.h change from gnulib
23090 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23091
2554247d
PE
23092 mktime: merge time_r change from gnulib
23093 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23094
826dd0ab
PE
23095 mktime: merge DEBUG change from gnulib
23096 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23097 case system <time.h> has a #define.
23098
bd83aabe
PE
23099 mktime: merge <sys/types.h> change from gnulib
23100 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23101 since <time.t> is now guaranteed to define time_t.
23102
95770f14
PE
23103 mktime: merge HAVE_CONFIG_H change from gnulib
23104 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23105
5e1a27a9
L
231062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23107
0e44a77e
L
23108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23109 Use "neg %eax".
23110
5e1a27a9
L
23111 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23112 __rlim_t cast.
23113 (struct rusage): Use anonymous union to pad each field to
23114 __syscall_slong_t.
23115
46259bec
DM
231162012-05-21 David S. Miller <davem@davemloft.net>
23117
23118 * Makefules (o-iterator): Remove .s cases.
23119 (compile-command.s): Delete.
23120 (COMPILE.s): Delete.
23121 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23122
59f0c22e
JM
231232012-05-21 Joseph Myers <joseph@codesourcery.com>
23124
23125 * configure.in (libc_cv_predef_stack_protector): Only consider
23126 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23127 * configure: Regenerated.
23128
20c07380
L
231292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23130
bbb3154b
L
23131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23132 New macro. Use R*LP on int and pointer.
23133 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23134 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23135 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23136 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23137
20c07380
L
23138 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23139 [__WORDSIZE_TIME64_COMPAT32] instead of
23140 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23141 (struct utmp): Likewise.
23142 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23143 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23144 Renamed to ...
23145 (__WORDSIZE_TIME64_COMPAT32): This.
23146 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23147 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23148 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23149 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23150 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23151 (__WORDSIZE_TIME64_COMPAT32): New macro.
23152
d8d1017e
AJ
231532012-05-21 Andreas Jaeger <aj@suse.de>
23154
23155 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23156 only if [SHARED]. Add prototype for __wcschr_ia32.
23157
6c7fb145
RM
231582012-05-21 Roland McGrath <roland@hack.frob.com>
23159
23160 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23161 of %rbp unmolested in the jmp_buf while mangling the low bits.
23162 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23163 unmolested high bits of %rbp while demangling the low bits.
23164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23165
66274218
AJ
231662012-05-21 Andreas Jaeger <aj@suse.de>
23167
07c58f8f
AJ
23168 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23169 * sunrpc/svc_simple.c: Use it for registerrpc.
23170 * sunrpc/xcrypt.c: Use it for passwd2des.
23171
66274218
AJ
23172 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23173
61f65140
L
231742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23175
23176 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23177 Don't define if [__SYSCALL_WORDSIZE != 32].
23178 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23179 New macro.
23180
5fefb436
AJ
231812012-05-21 Bruno Haible <bruno@clisp.org>
23182 Andreas Jaeger <aj@suse.de>
23183
23184 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23185 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23186 inptr and inend for must_buffer_ch.
23187 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23188 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23189 * stdio-common/Makefile (tests): Remove bug15.
23190 (bug15-ENV): Remove macro.
23191 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23192 anymore.
23193
d8e272ab
AJ
231942012-05-19 Andreas Jaeger <aj@suse.de>
23195 Roland McGrath <roland@hack.frob.com>
23196
23197 * manual/contrib.texi: Completely rewritten. It contains now an
23198 alphabetical list of contributors and their contributions.
23199
4a56a162
RH
232002012-05-21 Richard Henderson <rth@twiddle.net>
23201
23202 * misc/getauxval.c (__getauxval): Use unsigned long int.
23203 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23204 (getauxval): Use unsigned long int.
23205
d024d23c
L
232062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23207
23208 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23209
cbc00a03
RM
232102012-05-21 Roland McGrath <roland@hack.frob.com>
23211
23212 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23213 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23214 __alignof__ (long double).
23215
478143fa
AZ
232162012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23217
23218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23219
c7683a6d
RH
232202012-05-20 Richard Henderson <rth@twiddle.net>
23221
23222 * misc/getauxval.c: New file.
23223 * misc/sys/auxv.h: New file.
23224 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23225 (routines): Add getauxval.
23226 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23227 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23228 * elf/dl-sysdep.c (_dl_auxv): Remove.
23229 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23230 * elf/dl-support.c (_dl_auxv): New variable.
23231 (_dl_aux_init): Initialize it.
23232 * manual/startup.texi (Auxiliary Vector): New node.
23233 * sysdeps/generic/bits/hwcap.h: New file.
23234 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23235 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23236 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23237 * sysdeps/sparc/sysdep.h: ... here. Include it.
23238 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23241 Update.
c7683a6d
RH
23242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23250
a6f1845d
AZ
232512012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23252
23253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23254
cbcbe830
DM
232552012-05-19 David S. Miller <davem@davemloft.net>
23256
23257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23258
e0b16cc2
JM
232592012-05-19 Joseph Myers <joseph@codesourcery.com>
23260
23261 [BZ #14123]
23262 * math/s_ccosh.c: Include <float.h>
23263 (__ccosh): Avoid internal overflow calculating sinh and cosh
23264 values before multiplying by sin and cos values.
23265 * math/s_ccoshf.c: Likewise.
23266 * math/s_ccoshl.c: Likewise.
23267 * math/s_csin.c: Likewise.
23268 * math/s_csinf.c: Likewise.
23269 * math/s_csinl.c: Likewise.
23270 * math/s_csinh.c: Likewise.
23271 * math/s_csinhf.c: Likewise.
23272 * math/s_csinhl.c: Likewise.
23273 * math/libm-test.inc (ccos_test): Add more tests.
23274 (ccosh_test): Likewise.
23275 (csin_test): Likewise.
23276 (csinh_test): Likewise.
23277 * sysdeps/i386/fpu/libm-test-ulps: Update.
23278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23279
6ad13e08
L
232802012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23281
f66f0ce8
L
23282 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23283 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23284
6ad13e08
L
23285 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23286
b1d072a7
JM
232872012-05-19 Joseph Myers <joseph@codesourcery.com>
23288
23289 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23290 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23291 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23292 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23293 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23294 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23295 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23296 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23297 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23298 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23299 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23300 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23301 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23302 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23303 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23304 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23305 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23306 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23307 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23308 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23309 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23310 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23311 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23312 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23313 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23314 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23315 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23316 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23317 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23318 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23319 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23320
9eae47cb
AJ
233212012-05-18 Andreas Jaeger <aj@suse.de>
23322
23323 * csu/.gitignore: Delete.
23324
bb07f69f
L
233252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23326
23327 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23328 (timex): Use __syscall_slong_t.
23329
e6bdb741
AJ
233302012-05-18 Andreas Jaeger <aj@suse.de>
23331 Carlos O'Donell <carlos_odonell@mentor.com>
23332
23333 * manual/install.texi (Configuring and compiling): Update
23334 description about files modified in the source directory.
d6c33fda 23335 * INSTALL: Regenerated.
e6bdb741 23336
1b74487e
L
233372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23338
23339 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23340 value. Use "or" to set return value to -1.
23341 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23342 negate return value.
23343
a88b64b9
TMQMF
233442012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23345
23346 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23347 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23348 failure if the compiler has Graphite support disabled.
23349 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23350 Likewise.
23351 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23352 CFLAGS-memmove.c): Likewise.
23353 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23354 Likewise.
23355
3707636e
L
233562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23357
610b8622
L
23358 * sysdeps/x86_64/x32/_itoa.h: New file.
23359
7cd195df
L
23360 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23361 getdents system call only if kernel and user dirents have the
23362 same d_ino and d_off.
23363
94b07d20
L
23364 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23365 LLONG_MAX != LONG_MAX.
23366 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23367 (_fitoa_word): Likewise.
23368
18298070
L
23369 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23370 years.
23371 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23372 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23373 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23374
553c7ea4
L
23375 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23376 include <bits/wordsize.h>. Check __x86_64__ instead of
23377 __WORDSIZE.
23378 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23379 if __x86_64__ is defined. Use anonymous union on fpstate.
23380
3707636e
L
23381 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23382 anonymous union.
23383
b53ef01a
AS
233842012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23385
37fb1dc0
AS
23386 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23387 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23388 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23389 Refer to _rtld_local_ro instead of _rtld_global_ro.
23390 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23391 Likewise.
23392 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23393 Likewise.
23394 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23395 Likewise.
23396 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23397 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23398 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23399
b53ef01a
AS
23400 * sysdeps/powerpc/powerpc32/dl-machine.c
23401 (__elf_machine_runtime_setup) [PROF]: Don't reference
23402 _dl_prof_resolve.
23403
7a185db2
AJ
234042012-05-18 Andreas Jaeger <aj@suse.de>
23405
23406 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23407 function only available for GCCs before 3.4 since GCC 3.4
23408 introduced a builtin.
23409 (lrint): Likewise.
23410 (llrintf): Likewise.
23411 (llrint): Likewise.
23412 (fmaxf): Likewise.
23413 (fmax): Likewise.
23414 (fminf): Likewise.
23415 (fmin): Likewise.
23416 (rint): Likewise.
23417 (rintf): Likewise.
23418 (nearbyint): Likewise.
23419 (nearbyintf): Likewise.
23420 (ceil): Likewise.
23421 (ceilf): Likewise.
23422 (floor): Likewise.
23423 (floorf): Likewise.
23424
3e5aef87
L
234252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23426
428bd707
L
23427 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23428 on both fields and cast pointer to __syscall_ulong_t.
23429
3e5aef87
L
23430 * bits/types.h (__fsword_t): New type.
23431 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23432 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23434 (__FSWORD_T_TYPE): Likewise.
23435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23436 (__FSWORD_T_TYPE): Likewise.
23437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23438 (__FSWORD_T_TYPE): Likewise.
23439 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23440 (__FSWORD_T_TYPE): Likewise.
23441 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23442 __SWORD_TYPE with __fsword_t.
23443 (statfs64): Likewise.
23444
1ba7c3dc
DM
234452012-05-17 David S. Miller <davem@davemloft.net>
23446
23447 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23448
59910343
AJ
234492012-05-17 Andreas Jaeger <aj@suse.de>
23450
23451 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23452 warning.
23453
2e4c1e9e
L
234542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23455
23456 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23457
de7f5ce7
AJ
234582012-05-17 Andreas Jaeger <aj@suse.de>
23459
23460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23461 when it is used.
23462
286abc3d
CM
234632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23464
23465 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23466
477cc68e
L
234672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23468
23469 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23470 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23471
1a0994f5
CD
234722012-05-17 Andreas Jaeger <aj@suse.de>
23473 Carlos O'Donell <carlos_odonell@mentor.com>
23474
23475 [BZ #14059]
23476 * sysdeps/x86_64/multiarch/init-arch.h
23477 (bit_YMM_Usable): Rename to...
23478 (bit_AVX_Usable): ... this.
23479 (bit_FMA4_Usable): New macro.
23480 (bit_XMM_state): New macro.
23481 (bit_YMM_state): New macro.
23482 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23483 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23484 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23485 (CPUID_OSXSAVE): New macro.
23486 (CPUID_AVX): New macro.
23487 (CPUID_FMA4): New macro.
23488 (index_YMM_Usable): Rename to...
23489 (index_AVX_Usable): ... this.
23490 (HAS_AVX): Use HAS_ARCH_FEATURE.
23491 (HAS_FMA4): Likewise.
23492 (HAS_YMM_USABLE): Remove.
23493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23494 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23495 are present.
23496 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23497 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23498 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23499 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23500 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23501
0af797de
CM
235022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23503
23504 * math/libm-test.c: Support platforms without multiple rounding modes.
23505 * math/bug-nextafter.c: Support platforms without FP exceptions.
23506 * math/bug-nexttoward.c: Likewise.
23507 * math/test-fenv.c: Likewise.
23508 * math/test-misc.c: Likewise.
23509 * stdlib/bug-getcontext.c: Likewise.
23510
e39745ff
AJ
235112012-05-17 Andreas Jaeger <aj@suse.de>
23512
23513 * manual/examples/search.c (critter_cmp): Change signature to
23514 avoid warnings.
23515 * manual/string.texi (Collation Functions): Likewise.
23516
48970aba
L
235172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23518
23519 * bits/types.h: Fold copyright years.
23520 * bits/typesizes.h: Likewise.
23521 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23525 * time/time.h: Likewise.
23526
bedee953
PP
235272012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23528
23529 [BZ #208]
23530 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23531 in instead of returning them. Return void.
23532 (__libc_mallinfo): Accumulate over all arenas.
23533 (__malloc_stats): Adjust for change in int_mallinfo interface.
23534
61653dfb
RM
235352012-05-16 Roland McGrath <roland@hack.frob.com>
23536
30b99d79
RM
23537 [BZ #10375]
23538 * configure.in (NM): Add AC_CHECK_TOOL for it.
23539 (libc_extra_cflags): New substituted variable.
23540 Check for -fstack-protector being used implicitly.
23541 * configure: Regenerated.
23542 * config.make.in (config-extra-cflags): New variable,
23543 gets @libc_extra_cflags@.
23544 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23545
61653dfb
RM
23546 [BZ #10375]
23547 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23548 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23549 * configure: Regenerated.
23550 * config.make.in (CPPUNDEFS): New substituted variable.
23551 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23552 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23553 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23554
661768bb
L
235552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23556
23557 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23558 (mq_attr): Use __syscall_slong_t.
23559
d4261567
L
235602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23561
23562 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23563 Check __x86_64__ instead of __WORDSIZE.
23564 (_STAT_VER_LINUX): Likewise.
23565 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23566 __syscall_ulong_t and __syscall_slong_t.
23567 (stat64): Likewise.
23568
cf3ff365
L
235692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23570
23571 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23572
76cf3e4d
L
235732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23574
23575 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23576
a637753a
L
235772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23578
23579 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23580 __syscall_ulong_t.
23581
d5e05119
L
23582 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23583 include <bits/wordsize.h>. Check __x86_64__ instead of
23584 __WORDSIZE.
23585 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23586 defined.
23587 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23588
f62ee380
L
23589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23590 include <bits/wordsize.h>. Check __x86_64__ instead of
23591 __WORDSIZE.
23592 (user_regs_struct): Use "__extension__ unsigned long long"
23593 instead of "unsigned long" if __x86_64__ is defined.
23594 (user): Likewise. Pad after pointer field if __ILP32__ is
23595 defined.
23596
4e124ced
JM
235972012-05-16 Joseph Myers <joseph@codesourcery.com>
23598
6a3951a0
JM
23599 * configure.in (makeinfo): Require version 4.5 or later. Allow
23600 versions 5 to 9.
23601 * configure: Regenerated.
23602 * manual/install.texi (texinfo): Increase version requirement to
23603 4.5 or later.
23604 * INSTALL: Regenerated.
23605
4e124ced
JM
23606 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23607
953ca31a
L
236082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23609
23610 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23611
617aca05
L
23612 * sysdeps/x86_64/x32/ffs.c: New file.
23613
5762f7ae
L
23614 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23615 __syscall_ulong_t.
23616 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23617 defined. Use __syscall_ulong_t.
23618 (shminfo): Use __syscall_ulong_t.
23619 (shm_info): Likewise.
23620
a26b6856
L
23621 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23622 __syscall_ulong_t.
23623
cb2b9ef7
L
23624 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23625 <bits/wordsize.h>.
23626 (msgqnum_t): Use __syscall_ulong_t.
23627 (msglen_t): Likewise.
23628 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23629 __syscall_ulong_t.
23630
34683bb0
L
23631 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23632 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23633
84a68786
L
23634 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23635
48baa5f1
L
23636 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23637 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23638
180be88b
L
23639 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23640 __syscall_slong_t.
23641
5e90c8ad
L
23642 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23643 include <bits/wordsize.h>. Check __x86_64__ instead of
23644 __WORDSIZE.
23645
23dfb58b
L
23646 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23647 "unsigned long long int" if __x86_64__ is defined.
23648 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23649
ce5d54b0
L
23650 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23651 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23652 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23653
13dc9eac
L
23654 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23655 <stdint.h>.
23656 (GET_PC): Cast to uintptr_t first.
23657 (GET_FRAME): Likewise.
23658 (GET_STACK): Likewise.
23659
a7895d15
L
23660 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23661 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23666 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23667 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23668 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23669 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23670 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23671 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23672 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23673 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23674 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23675 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23676 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23677 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23678 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23679 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23680 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23681 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23682 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23683 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23684 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23685 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23686 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23687 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23688 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23689
656416c9
AS
236902012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23691
5bd66283
AS
23692 * Makerules (+depfiles): Also collect depfiles from .oS in
23693 $(extra-objs).
23694 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23695 .oS, $(libnldbl-routines)).
23696
656416c9
AS
23697 * Makerules (native-compile-mkdep-flags): Define.
23698 * sunrpc/Makefile (extra-objs): Add $(addprefix
23699 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23700 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23701 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23702 calling $(make-target-directory).
23703
a46f2169
L
237042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23705
23706 * bits/types.h (__snseconds_t): Removed.
23707 * time/time.h (struct timespec): Replace __snseconds_t with
23708 __syscall_slong_t.
23709 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23710 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23711 Likewise.
23712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23713 (__SNSECONDS_T_TYPE): Likewise.
23714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23715 (__SNSECONDS_T_TYPE): Likewise.
23716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23717 (__SNSECONDS_T_TYPE): Likewise.
23718
6af6528b
L
237192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23720
23721 * sysdeps/mach/hurd/bits/typesizes.h
23722 (__SYSCALL_SLONG_TYPE): New macro.
23723 (__SYSCALL_ULONG_TYPE): Likewise.
23724
de986b56
L
237252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23726
23727 * bits/types.h (__syscall_slong_t): New type.
23728 (__syscall_ulong_t): Likewise.
23729
23730 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23731 (__SYSCALL_ULONG_TYPE): Likewise.
23732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23733 (__SYSCALL_SLONG_TYPE): Likewise.
23734 (__SYSCALL_ULONG_TYPE): Likewise.
23735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23736 (__SYSCALL_SLONG_TYPE): Likewise.
23737 (__SYSCALL_ULONG_TYPE): Likewise.
23738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23739 (__SYSCALL_SLONG_TYPE): Likewise.
23740 (__SYSCALL_ULONG_TYPE): Likewise.
23741
85736dc7
L
237422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23743
23744 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23745 Add sigaltstack-offsets.sym.
23746 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23747 <sigaltstack-offsets.h>.
23748 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23749 longjmp_msg pointer.
23750 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23751 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23752 signal stack.
23753 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23754
cc03b296
JM
237552012-05-15 Joseph Myers <joseph@codesourcery.com>
23756
a9538892
JM
23757 * elf/stackguard-macros.h: Remove file.
23758 * sysdeps/generic/stackguard-macros.h: New file.
23759 * sysdeps/i386/stackguard-macros.h: Likewise.
23760 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23761 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23762 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23763 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23764 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23765 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23766 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23767 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23768 <elf/stackguard-macros.h>.
23769
cc03b296
JM
23770 [BZ #14109]
23771 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23772 __aligned__ in attribute.
23773 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23774 (gregset_t): Likewise.
23775
93171016
L
237762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23777
23778 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23779 * sysdeps/x86_64/64/Implies-after: Here. New file.
23780 * sysdeps/x86_64/x32/Implies-after: New file.
23781
d86813a0
L
237822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23783
23784 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23785 and access return value for _dl_profile_fixup. Use R10_LP to
23786 load frame size.
23787
2953ec75
L
237882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23789
23790 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23791
3b550e9e
L
237922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23793
23794 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23795 * sysdeps/x86_64/x32/sysdep.h: New file.
23796
eda41706
L
237972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23798
23799 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23800 * sysdeps/x86_64/setjmp.S: Likewise.
23801
9ea01d93
AZ
238022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23803
23804 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23805 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23806 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23807 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23808 remove unused global constant.
23809
02a91938
CM
238102012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23811
23812 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23813 include of <not-cancel.h>.
23814
6540185f
RM
238152012-05-15 Roland McGrath <roland@hack.frob.com>
23816
23817 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23818
509072a0
AJ
238192012-05-15 Jeff Law <law@redhat.com>
23820 Andreas Jaeger <aj@suse.de>
23821
23822 [BZ #13594]
23823 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23824 out from...
23825 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23826 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23827 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23828 code changing __hst_map_handle.map.
23829
ba75122d
RM
238302012-05-15 Roland McGrath <roland@hack.frob.com>
23831
23832 * configure.in (sysnames): Look for Implies-before and Implies-after
23833 files.
23834 * configure: Regenerated.
23835
890d8bd8
L
238362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23837
23838 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23839 8-byte data alignment with LP_SIZE alignment.
23840
f6ee6623
L
238412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23842
23843 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23844 into R10_LP.
23845
ea2626f6
L
238462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23847
23848 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23849
085f715e
L
238502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23851
23852 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23853 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23854 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23855 Likewise.
23856 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23857
be8498fc
L
238582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23859
23860 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23861 (stackinfo_sub_sp): Likewise.
23862
70bc83b9
L
238632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23864
23865 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23866 RAX_LP.
23867
9bc0b730
L
238682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23869
23870 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23871 into R*_LP.
23872
6d2850e7
L
238732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23874
23875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23876 sizes into R*_LP.
23877
3cb84561
L
238782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23879
23880 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23881
54e2ed81
L
238822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23883
23884 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23885 into R11_LP and load __x86_64_shared_cache_size_half into
23886 R8_LP.
23887
8a17f349
L
238882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23889
23890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23891 R8_LP.
23892
777b1eea
AZ
238932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23894
23895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23896 logb for POWER7.
23897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23898 logbf for POWER7.
23899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23900 logbl for POWER7.
23901 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23902 powerpc32/power7/fpu/s_logb.c via #include.
23903 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23904 powerpc32/power7/fpu/s_logbf.c via #include.
23905 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23906 powerpc32/power7/fpu/s_logbl.c via #include.
23907
d20d4ac2
JM
239082012-05-15 Joseph Myers <joseph@codesourcery.com>
23909
23910 * README.libm: Remove file.
23911
6cdef1ab
L
239122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23913
23914 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23915 count for x32. Use R*_LP and omit operand-size suffix.
23916
0b254d8f
L
239172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23918
23919 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23920 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23921 * sysdeps/x86_64/x32/shlib-versions: New file.
23922
ceb809dc
RM
239232012-05-14 Roland McGrath <roland@hack.frob.com>
23924
23925 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23926 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23927 Use _dl_fatal_printf instead.
23928
37f1abd4
JM
239292012-05-14 Joseph Myers <joseph@codesourcery.com>
23930
23931 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23932 set if not set by the user. Do not allow for being unset.
23933 * sysdeps/unix/sysv/linux/configure: Regenerated.
23934
11de3a33
L
239352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23936
23937 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23938 the `q' suffix from lea and replace .quad with ASM_ADDR.
23939
e02f153a
L
239402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23941
23942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23943 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23944 instead of $17.
23945 (PTR_DEMANGLE): Likewise.
23946
520ae0fd
L
239472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23948
23949 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23950 (LP_OP): Likewise.
23951 (ASM_ADDR): Likewise.
23952 (RAX_LP): Likewise.
23953 (RBP_LP): Likewise.
23954 (RBX_LP): Likewise.
23955 (RCX_LP): Likewise.
23956 (RDI_LP): Likewise.
23957 (RSI_LP): Likewise.
23958 (RSP_LP): Likewise.
23959 (R8_LP): Likewise.
23960 (R9_LP): Likewise.
23961 (R10_LP): Likewise.
23962 (R10_LP): Likewise.
23963 (R11_LP): Likewise.
23964 (R12_LP): Likewise.
23965 (R13_LP): Likewise.
23966 (R14_LP): Likewise.
23967 (R15_LP): Likewise.
23968
b985be81
L
239692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23970
23971 * sysdeps/x86_64/x32/dl-machine.h: New file.
23972
6a4888ff
AJ
239732012-05-14 Andreas Jaeger <aj@suse.de>
23974
23975 * manual/Makefile (subdir): Remove export of subdir.
23976 (all): Remove target.
23977 (.PHONY): Remove all from list.
23978 (mkinstalldirs): Remove.
23979 (.PHONY): Remove installdirs from list.
23980 ($(inst_infodir)/libc.info): Use make-target-directory.
23981 (installdirs): Remove.
23982 (subdir_%): Remove.
23983 (glibc-targets): Remove.
23984 (lib): Remove.
23985 (stubs): Remove.
23986 ($(objpfx)stubs ../po/manual.pot): Remove.
23987 ($(objpfx)stamp%): Remove.
23988 (make-target-directory): Remove.
23989 (subdir_install): Remove.
23990 (routines): Remove.
23991 (aux): Remove.
23992 (sources): Remove.
23993 (objects): Remove.
23994 (headers): Remove.
23995
23996 [BZ #13750]
23997 * manual/.gitignore: Remove, it's not needed anymore.
23998 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23999 all files in it.
24000 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24001 directory.
24002 (texis): Renamed to $(objpfx)texis.
24003 (texis-path): New, contains path to generated files.
24004 (chapters.%): Use texis-path for complete path, add extra argument
24005 libc-texinfo.sh.
24006 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24007 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24008 (summary,texi, stamp-summary): Use complete path of
24009 files. Generate files in build dir.
24010 (dir-add.texi): Build in build dir.
24011 (libm-err.texi,stamp-libm-err): Likewise.
24012 (version.texi, stamp-version): Likewise.
24013 (.%c.texi): Likewise.
24014 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24015 (mostlyclean): Remove target.
24016 (realclean): Remove target.
24017 (generated): Add new variable with contents from mostlyclean and
24018 realclean, remove entries duplicated in common-mostlyclean, add
24019 stamp-libm-err and stamp-version.
24020 (generated-dirs): Add libc directory.
24021 ($(inst_infodir)/libc.info): Install files from build dir.
24022
24023 * manual/install.texi (Configuring and compiling): Adjust since
24024 the info files are not part of the tar ball anymore.
24025
7ac77294
AJ
240262012-05-14 Andreas Jaeger <aj@suse.de>
24027
24028 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24029 variable.
24030
ffb7875d
JM
240312012-05-14 Joseph Myers <joseph@codesourcery.com>
24032
24033 [BZ #13717]
24034 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24035 to 2.2.0 where earlier.
24036 * sysdeps/unix/sysv/linux/configure: Regenerated.
24037 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24038 Remove conditional code.
24039 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24040 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24041 Remove conditional code.
24042 [!__NR_lchown]: Likewise.
24043 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24044 [__NR_lchown]: Likewise.
24045 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24046 comment referencing __ASSUME_LCHOWN_SYSCALL.
24047 * sysdeps/unix/sysv/linux/i386/sigaction.c
24048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24050 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24051 Remove conditional code.
24052 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24053 (__protocol_available): Remove #if 0 code.
24054 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24055 conditional code.
24056 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24057 * sysdeps/unix/sysv/linux/kernel-features.h
24058 (__ASSUME_GETCWD_SYSCALL): Don't define.
24059 (__ASSUME_REALTIME_SIGNALS): Likewise.
24060 (__ASSUME_PREAD_SYSCALL): Likewise.
24061 (__ASSUME_PWRITE_SYSCALL): Likewise.
24062 (__ASSUME_POLL_SYSCALL): Likewise.
24063 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24064 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24065 non-SPARC.
24066 (__ASSUME_SIOCGIFNAME): Don't define.
24067 (__ASSUME_MSG_NOSIGNAL): Likewise.
24068 (__ASSUME_SENDFILE): Define unconditionally.
24069 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24070 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24071 conditional code.
24072 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24073 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24074 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24075 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24076 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24077 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24078 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24092 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24098 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24099 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24103 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24104 Remove conditional code.
24105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24106 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24107 Remove conditional code.
24108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24109 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24110 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24111 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24112 Remove conditional code.
24113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24114 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24115 Remove conditional code.
24116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24117 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24118 Remove conditional code.
24119 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24120 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24121 Remove conditional code.
24122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24123 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24124 Remove conditional code.
24125 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24126 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24127 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24129 * sysdeps/unix/sysv/linux/sigaction.c
24130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24132 * sysdeps/unix/sysv/linux/sigpending.c
24133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24135 * sysdeps/unix/sysv/linux/sigprocmask.c
24136 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24137 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24138 * sysdeps/unix/sysv/linux/sigsuspend.c
24139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24142 (__libc_missing_rt_sigs): Remove.
24143 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24144 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24145 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24146 Remove conditional code.
24147 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24148 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24149 return 1.
24150 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24151 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24152 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24153 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24154
1bfb7291
AJ
241552012-05-14 Andreas Jaeger <aj@suse.de>
24156
caae5a81
AJ
24157 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24158 it's not used in glibc.
24159 (__coshm1): Likewise.
24160 (__acosh1p): Likewise.
24161 (__sgn): Likewise.
24162
1bfb7291
AJ
24163 * manual/string.texi (Copying and Concatenation): Add missing
24164 variable in concat example.
24165 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24166
c044d724
L
241672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24168
144c5467 24169 [BZ #14103]
c044d724
L
24170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24171 __builtin_clzl with __builtin_clzll.
24172
2523c62b
L
241732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24174
24175 [BZ #14104]
24176 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24177 libc_freeres_ptr.
24178
d7bb4c42
LD
241792012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24180
24181 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24182 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24183 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24184 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24185
9dc4e1fb
MF
241862012-05-14 Mike Frysinger <vapier@gentoo.org>
24187
24188 * NEWS: Update ia64 info.
24189
c7df0112
AS
241902012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24191
24192 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24193 used as bcopy.
24194
dc70356c
TS
241952012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24196
24197 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24198 * sysdeps/unix/syscalls.list (dup3): Likewise.
24199 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24200 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24201
9fb1a21f
L
242022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24203
24204 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24205 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24206
4822a2a5
L
242072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24208
24209 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24210 thread pointer.
24211 (TLS_IE): Use mov/add instead of movq/addq to load thread
24212 pointer.
24213 (TLS_GD_PREFIX): New.
24214 (TLS_GD): Use it.
24215
842b81d6
DM
242162012-05-11 David S. Miller <davem@davemloft.net>
24217
24218 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24219 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24220 (_FPU_SETCW): Likewise.
24221
1cf463cd
L
242222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24223
24224 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24225 is 32-byte aligned.
24226
60cc4a18
AS
242272012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24228
24229 [BZ #11837]
24230 * iconvdata/gb18030.c: Update tables.
24231 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24232 characters specially.
24233 (BODY for TO_LOOP): Add encoding of missing ranges.
24234
febb44a4
TS
242352012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24236
24237 [BZ #13673]
24238 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24239 * sysdeps/mach/hurd/dup3.c: Likewise.
24240 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24241 * sysdeps/powerpc/memmove.c:: Likewise.
24242
0a10fb9e
L
242432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24244
24245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24246 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24247
df8a552f
L
242482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24249
24250 * elf/elf.h (R_X86_64_RELATIVE64): New.
24251 (R_X86_64_NUM): Updated.
24252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24253 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24254 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24255 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24256 tst-quad1pie tst-quad2pie
24257 (modules-names): Add tst-quadmod1 tst-quadmod2.
24258 ($(objpfx)tst-quad1): New dependency.
24259 ($(objpfx)tst-quad2): Likewise.
24260 ($(objpfx)tst-quad1pie): Likewise.
24261 ($(objpfx)tst-quad2pie): Likewise.
24262 * sysdeps/x86_64/tst-quad1.c: New file.
24263 * sysdeps/x86_64/tst-quad1pie.c: New file.
24264 * sysdeps/x86_64/tst-quad2.c: Likewise.
24265 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24266 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24267 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24268 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24269 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24270
f34d6f84
ST
242712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24272
f42d41d1
ST
24273 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24274 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24275 * streams/stropts.h (t_scalar_t): Define type.
24276
3c3571fc
ST
24277 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24278 (_PATH_PRESERVE): Set to "/var/lib".
24279 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24280
61f06bd3
ST
24281 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24282 instead of int.
24283
918d4d71
ST
24284 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24285 if __dir_mkfile succeeded.
24286
f34d6f84
ST
24287 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24288 checking for _hurd_dtablesize. Unlock it right after having
24289 finished _hurd_dtable allocation.
24290
10589b4a
TS
242912012-05-10 Thomas Schwinge <thomas@schwinge.name>
24292
674cdbc7
TS
24293 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24294 * sysdeps/mach/hurd/configure: Regenerated.
24295 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24296 special-casing to...
24297 * sysdeps/gnu/configure.in: ... this new file.
24298 * sysdeps/unix/sysv/linux/configure: Regenerated.
24299 * sysdeps/gnu/configure: New generated file.
24300
8e41b99f
TS
24301 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24302 for Linux: use nsec instead of usec, as well as:
24303 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24304 members of type struct timespec.
24305 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24306 New macros.
24307 (struct stat64): Likewise.
24308 (_STATBUF_ST_NSEC): New macro.
24309 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24310
10589b4a
TS
24311 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24312 __strtoul_internal rather than strtoul.
24313
63643c85
PT
243142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24315
24316 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24317 and reject them.
24318
3faebe6a
ST
243192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24320
24321 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24322 which preserves existing values.
24323 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24324
c6474b07
PT
243252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24326
24327 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24328 TIMEOUT values. Return EINVAL for NFDS values either negative or
24329 greater than FD_SETSIZE.
24330
1043890b
ST
243312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24332
24333 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24334 allocated, call __vm_protect to finish enabling the existing space, and
24335 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24336 allocate the remainder.
24337
37ed8b9b
PT
243382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24339
24340 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24341 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24342
db653660
ST
243432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24344
37ed8b9b
PT
24345 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24346 sysdeps/mach/hurd/readlink.c.
b29d4053 24347
db653660
ST
24348 * posix/tst-sysconf.c (posix_options): Only use
24349 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24350 _POSIX_SYNCHRONIZED_IO when they are defined
24351 * sysdeps/mach/hurd/bits/posix_opt.h:
24352 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24353 (_XOPEN_REALTIME): Undefine macro.
24354 (_XOPEN_REALTIME_THREADS): Undefine macro.
24355 (_XOPEN_SHM): Undefine macro.
24356 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24357 macro to -1.
24358 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24359 macro to -1.
24360 (_POSIX_ASYNC_IO): Undefine macro.
24361 (_POSIX_PRIORITIZED_IO): Undefine macro.
24362 (_POSIX_SPIN_LOCKS): Define macro to -1.
24363
ee16e894
ST
24364 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24365 SA_NODEFER, SA_RESETHAND.
24366 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24367 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24368 F_DUPFD_CLOEXEC.
24369
6103ae3b
TS
243702012-05-10 Thomas Schwinge <thomas@schwinge.name>
24371
24372 * elf/Makefile (pldd-modules): Define unconditionally.
24373
80b4e5f3
TS
243742012-05-10 Thomas Schwinge <thomas@schwinge.name>
24375
24376 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24377
edadcbd6
ST
243782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24379
24380 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24381 Return ENOENT when name is empty.
24382 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24383
80694780
TS
243842012-05-10 Thomas Schwinge <thomas@schwinge.name>
24385
1792c087
TS
24386 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24387
80694780
TS
24388 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24389
6b645f0d
ST
243902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24391
80694780
TS
24392 Fix mlock in all cases except non-readable pages.
24393 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24394 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24395
6b645f0d
ST
24396 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24397 (__mkdir): When path is `/', just fail with EEXIST.
24398 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24399
e468f8a3
TS
244002012-05-10 Thomas Schwinge <thomas@schwinge.name>
24401
24402 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24403 <sys/uio.h> (for writev).
24404 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24405 and <sys/param.h> (for MIN).
24406
a4186cff
PT
244072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24408
24409 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24410 REQUESTED_TIME. Properly set the remaining time and return EINTR
24411 if interrupted.
24412
510bbf14
TS
244132012-05-10 Thomas Schwinge <thomas@schwinge.name>
24414
24415 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24416 Depend on against $(link-rpcuserlibs).
24417
5d5722e8
ST
244182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24419
a4186cff
PT
24420 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24421 (__libc_stack_end): Do not use attribute_relro.
24422 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24423 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24424 to libthread-provided value.
a4186cff
PT
24425 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24426 attribute_relro.
5d5722e8 24427
37233df9
TS
244282012-05-10 Thomas Schwinge <thomas@schwinge.name>
24429
be971a2b
TS
24430 [BZ #3748]
24431 * bits/libc-lock.h (__libc_once_get): New macro.
24432 * sysdeps/mach/bits/libc-lock.h: Likewise.
24433 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24434 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24435 instead of using implementation details.
24436
37233df9
TS
24437 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24438 * libio/freopen.c: Likewise.
24439 * libio/freopen64.c: Likewise.
24440 * misc/syslog.c: Likewise.
24441 * nscd/connections.c: Likewise.
24442 * nscd/netgroupcache.c: Likewise.
24443 * sysdeps/posix/getcwd.c: Likewise.
24444
38de94a5
RM
244452012-05-10 Roland McGrath <roland@hack.frob.com>
24446
24447 * math/w_ilogbf.c: Add #include <limits.h>.
24448
67530489
ST
244492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24450
a4186cff 24451 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24452 path instead of returning without unlocking.
24453
67530489
ST
24454 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24455 immediate-write ioctls.
24456 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24457
5aa3a74a
TS
244582012-05-10 Thomas Schwinge <thomas@schwinge.name>
24459
18bad2ae
TS
24460 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24461 __builtin_frame_address instead of making assumptions about the
24462 location of the return address relative to DATA. Force early load of
24463 the return address.
24464 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24465 __builtin_frame_address.
24466
5aa3a74a
TS
24467 dup3 for GNU Hurd.
24468 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24469 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24470 implement dup3 and do some further code clean-ups.
24471 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24472 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24473
ecd0de9a
ST
244742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24475
cd9fa985
ST
24476 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24477
a4186cff
PT
24478 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24479 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24480 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24481 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24482 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24483 d->port.lock.
802ca5a5 24484
a4186cff
PT
24485 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24486 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24487 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24488
bcf55240
TS
244892012-05-10 Thomas Schwinge <thomas@schwinge.name>
24490
6960eb42
TS
24491 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24492 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24493 definitions.
24494
eb43375f
TS
24495 accept4 for GNU Hurd.
24496 * include/sys/socket.h (__libc_accept4): New prototype.
24497 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24498 to implement __libc_accept4.
24499 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24500 __libc_accept4.
24501 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24502
bcf55240
TS
24503 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24504 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24505 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24506 signal-defines.sym.
24507
6178c55b
ST
245082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24509
a4186cff 24510 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24511
6f080c2f
TS
245122012-05-10 Thomas Schwinge <thomas@schwinge.name>
24513
24514 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24515 assertion on O_CLOEXEC flag.
24516 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24517 * hurd/intern-fd.c: Likewise.
24518 * hurd/port2fd.c: Likewise.
24519
bcfe3a54
ST
245202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24521
24522 [BZ #3906]
24523 * bits/in.h (IPV6_PKTINFO): Define new macro.
24524 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24525
89c9aa49
AZ
245262012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24527
24528 [BZ #13954]
24529 [BZ #13955]
24530 [BZ #13956]
24531 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24533 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24534 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24535 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24536 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24537 * math/libm-test.inc (logb_test) : Additional logb tests.
24538
021db4be
AJ
245392012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24540 Andreas Jaeger <aj@suse.de>
24541
24542 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24543 * configure: Regenerated.
24544 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24545 * config.make.in (link-obsolete-rpc): New substituted variable.
24546 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24547 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24548 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24549 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24550 so that libc.a contains the symbols.
24551 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24552 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24553 * sunrpc/auth_none.c: Likewise.
24554 * sunrpc/auth_unix.c: Likewise.
24555 * sunrpc/authdes_prot.c: Likewise.
24556 * sunrpc/authuxprot.c: Likewise.
24557 * sunrpc/clnt_gen.c: Likewise.
24558 * sunrpc/clnt_perr.c: Likewise.
24559 * sunrpc/clnt_raw.c: Likewise.
24560 * sunrpc/clnt_simp.c: Likewise.
24561 * sunrpc/clnt_tcp.c: Likewise.
24562 * sunrpc/clnt_udp.c: Likewise.
24563 * sunrpc/clnt_unix.c: Likewise.
24564 * sunrpc/des_crypt.c: Likewise.
24565 * sunrpc/des_soft.c: Likewise.
24566 * sunrpc/get_myaddr.c: Likewise.
24567 * sunrpc/key_call.c: Likewise.
24568 * sunrpc/key_prot.c: Likewise.
24569 * sunrpc/netname.c: Likewise.
24570 * sunrpc/pm_getmaps.c: Likewise.
24571 * sunrpc/pm_getport.c: Likewise.
24572 * sunrpc/pmap_clnt.c: Likewise.
24573 * sunrpc/pmap_prot.c: Likewise.
24574 * sunrpc/pmap_prot2.c: Likewise.
24575 * sunrpc/pmap_rmt.c: Likewise.
24576 * sunrpc/publickey.c: Likewise.
24577 * sunrpc/rpc_cmsg.c: Likewise.
24578 * sunrpc/rpc_common.c: Likewise.
24579 * sunrpc/rpc_dtable.c: Likewise.
24580 * sunrpc/rpc_prot.c: Likewise.
24581 * sunrpc/rpc_thread.c: Likewise.
24582 * sunrpc/rtime.c: Likewise.
24583 * sunrpc/svc.c: Likewise.
24584 * sunrpc/svc_auth.c: Likewise.
24585 * sunrpc/svc_raw.c: Likewise.
24586 * sunrpc/svc_run.c: Likewise.
24587 * sunrpc/svc_tcp.c: Likewise.
24588 * sunrpc/svc_udp.c: Likewise.
24589 * sunrpc/svc_unix.c: Likewise.
24590 * sunrpc/svcauth_des.c: Likewise.
24591 * sunrpc/xcrypt.c: Likewise.
24592 * sunrpc/xdr.c: Likewise.
24593 * sunrpc/xdr_array.c: Likewise.
24594 * sunrpc/xdr_float.c: Likewise.
24595 * sunrpc/xdr_intXX_t.c: Likewise.
24596 * sunrpc/xdr_mem.c: Likewise.
24597 * sunrpc/xdr_rec.c: Likewise.
24598 * sunrpc/xdr_ref.c: Likewise.
24599 * sunrpc/xdr_sizeof.c: Likewise.
24600 * sunrpc/xdr_stdio.c: Likewise.
24601
b5c086a2
RM
246022012-05-10 Roland McGrath <roland@hack.frob.com>
24603
24604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24605 change. Update copyright years.
24606
6d74dd09
JM
246072012-05-10 Joseph Myers <joseph@codesourcery.com>
24608
24609 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24610
28e72501
MK
246112012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24612 Joseph Myers <joseph@codesourcery.com>
24613 Paul Pluzhnikov <ppluzhnikov@google.com>
24614
24615 [BZ #14012]
24616 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24617 requiring rpcgen.
24618 [cross-compiling] (extra-libs): Likewise.
24619 [cross-compiling] (extra-libs-others): Likewise.
24620 [cross-compiling] (librpcsvc-routines): Likewise.
24621 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24622 [cross-compiling] (omit-deps): Likewise.
24623 (sunrpc-CPPFLAGS): New variable.
24624 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24625 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24626 (cross-rpcgen-objs): New variable.
24627 (extra-objs): Append $(cross-rpcgen-objs).
24628 ($(cross-rpcgen-objs)): New rule.
24629 ($(objpfx)cross-rpcgen): Likewise.
24630 (rpcgen-cmd): Define to use $(built-program-file). Expand
24631 comment.
24632 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24633 ($(objpfx)x%.stmp): Likewise.
24634 * sunrpc/proto.h [IS_IN_build] (_): Define.
24635 [IS_IN_build] (_libc_intl_domainname): Likewise.
24636
c8c59454
L
246372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24638
24639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24640 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24641 and R_X86_64_TPOFF64.
24642
6f27cd16
JM
246432012-05-10 Joseph Myers <joseph@codesourcery.com>
24644
24645 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24646 sysdeps/unix/sysv/syscalls.list.
24647 (stime): Likewise.
24648 (utime): Likewise.
24649 * sysdeps/unix/sysv/syscalls.list: Remove file.
24650
02467e1c
PE
246512012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24652
24653 [BZ #3440]
24654 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24655 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24656 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24657 (__LC_IDENTIFICATION): Make these macros useful in #if
24658 expressions, as required by C99.
24659
da392631
AS
246602012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24661
24662 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24663 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24664 after this.
24665
8115f29b
L
246662012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24667
24668 * stdlib/longlong.h: Updated from GCC.
24669
bdd74070
AJ
246702012-05-09 Andreas Jaeger <aj@suse.de>
24671
edfe0dbe
AJ
24672 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24673 default is first entry.
24674 (run_mode): Set type.
24675 (main): Remove informal message about syslog.
24676 (options): Fix typo.
24677
bcfe3a54
ST
24678 [BZ #14053]
24679 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24680 to asm.
bcfe3a54
ST
24681 (lrint): Likewise.
24682 (llrintf): Likewise.
24683 (llrint): Likewise.
24684 (rint): Likewise.
24685 (rintf): Likewise.
24686 (nearbyint): Likewise.
24687 (nearbyintf): Likewise.
bdd74070 24688
91d8d69e
AJ
246892012-05-09 Andreas Jaeger <aj@suse.de>
24690 Pedro Alves <palves@redhat.com>
24691
24692 * nscd/nscd.c (run_mode): Use enum.
24693 (main): Cleanup coding style issue.
24694
bb90b80b
AJ
246952012-05-09 Alexandre Oliva <aoliva@redhat.com>
24696 Andreas Jaeger <aj@suse.de>
24697
bcfe3a54
ST
24698 * nscd/nscd.c (go_background): Replaced with...
24699 (run_mode): ... this.
bb90b80b 24700 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24701 (options): Add -F --foreground.
24702 (main): Implement it.
24703 (parse_opt): Parse it.
bb90b80b 24704
1a4b75a1
AJ
247052012-05-09 Andreas Jaeger <aj@suse.de>
24706
24707 [BZ #14083]
24708 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24709 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24710 -Wconversion warning.
24711 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24712 Likewise.
24713
b1cc2472
JM
247142012-05-09 Joseph Myers <joseph@codesourcery.com>
24715
24716 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24717 == 0.
24718 (LC_ALL): Use macro-int-constant.
24719 (LC_COLLATE): Likewise.
24720 (LC_CTYPE): Likewise.
24721 (LC_MESSAGES): Likewise.
24722 (LC_MONETARY): Likewise.
24723 (LC_NUMERIC): Likewise.
24724 (LC_TIME): Likewise.
24725 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24726 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24728 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24729 Specify type.
24730 [C99-based standards] (float_t): Expect type.
24731 [C99-based standards] (double_t): Expect type.
24732 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24733 type.
24734 [C99-based standards] (HUGE_VALL): Likewise.
24735 [C99-based standards] (INFINITY): Likewise.
24736 [C99-based standards] (NAN): Likewise.
24737 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24738 [C99-based standards] (FP_NAN): Likewise.
24739 [C99-based standards] (FP_NORMAL): Likewise.
24740 [C99-based standards] (FP_SUBNORMAL): Likewise.
24741 [C99-based standards] (FP_ZERO): Likewise.
24742 [C99-based standards] (FP_FAST_FMA): Use
24743 optional-macro-int-constant. Specify type. Require == 1.
24744 [C99-based standards] (FP_FAST_FMAF): Likewise.
24745 [C99-based standards] (FP_FAST_FMAL): Likewise.
24746 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24747 [C99-based standards] (FP_ILOGBNAN): Likewise.
24748 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24749 Specify type.
24750 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24751 [C99-based standards] (math_errhandling): Specify type.
24752 [ISO99 || ISO11] (signgam): Do not allow.
24753 [non-C99-based standards] (copysignf): Do not allow.
24754 [non-C99-based standards] (exp2f): Likewise.
24755 [non-C99-based standards] (log2f): Likewise.
24756 [non-C99-based standards] (modff): Allow.
24757 [non-C99-based standards] (erff): Do not allow.
24758 [non-C99-based standards] (erfcf): Likewise.
24759 [non-C99-based standards] (gammaf): Likewise.
24760 [non-C99-based standards] (hypotf): Likewise.
24761 [non-C99-based standards] (j0f): Likewise.
24762 [non-C99-based standards] (j1f): Likewise.
24763 [non-C99-based standards] (jnf): Likewise.
24764 [non-C99-based standards] (lgammaf): Likewise.
24765 [non-C99-based standards] (tgammaf): Likewise.
24766 [non-C99-based standards] (y0f): Likewise.
24767 [non-C99-based standards] (y1f): Likewise.
24768 [non-C99-based standards] (ynf): Likewise.
24769 [non-C99-based standards] (isnanf): Likewise.
24770 [non-C99-based standards] (acoshf): Likewise.
24771 [non-C99-based standards] (asinhf): Likewise.
24772 [non-C99-based standards] (atanhf): Likewise.
24773 [non-C99-based standards] (cbrtf): Likewise.
24774 [non-C99-based standards] (expm1f): Likewise.
24775 [non-C99-based standards] (ilogbf): Likewise.
24776 [non-C99-based standards] (log1pf): Likewise.
24777 [non-C99-based standards] (logbf): Likewise.
24778 [non-C99-based standards] (nextafterf): Likewise.
24779 [non-C99-based standards] (remainderf): Likewise.
24780 [non-C99-based standards] (rintf): Likewise.
24781 [non-C99-based standards] (scalbf): Likewise.
24782 [non-C99-based standards] (copysignl): Likewise.
24783 [non-C99-based standards] (exp2l): Likewise.
24784 [non-C99-based standards] (log2l): Likewise.
24785 [non-C99-based standards] (modfl): Allow.
24786 [non-C99-based standards] (erfl): Do not allow.
24787 [non-C99-based standards] (erfcl): Likewise.
24788 [non-C99-based standards] (gammal): Likewise.
24789 [non-C99-based standards] (hypotl): Likewise.
24790 [non-C99-based standards] (j0l): Likewise.
24791 [non-C99-based standards] (j1l): Likewise.
24792 [non-C99-based standards] (jnl): Likewise.
24793 [non-C99-based standards] (lgammal): Likewise.
24794 [non-C99-based standards] (tgammal): Likewise.
24795 [non-C99-based standards] (y0l): Likewise.
24796 [non-C99-based standards] (y1l): Likewise.
24797 [non-C99-based standards] (ynl): Likewise.
24798 [non-C99-based standards] (isnanl): Likewise.
24799 [non-C99-based standards] (acoshl): Likewise.
24800 [non-C99-based standards] (asinhl): Likewise.
24801 [non-C99-based standards] (atanhl): Likewise.
24802 [non-C99-based standards] (cbrtl): Likewise.
24803 [non-C99-based standards] (expm1l): Likewise.
24804 [non-C99-based standards] (ilogbl): Likewise.
24805 [non-C99-based standards] (log1pl): Likewise.
24806 [non-C99-based standards] (logbl): Likewise.
24807 [non-C99-based standards] (nextafterl): Likewise.
24808 [non-C99-based standards] (remainderl): Likewise.
24809 [non-C99-based standards] (rintl): Likewise.
24810 [non-C99-based standards] (scalbl): Likewise.
24811 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24812 [non-C99-based standards] (FP_*): Do not allow.
24813 [C99-based standards] (FP_*): Change to
24814 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24815 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24816 allow.
24817 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24818 (SIG_ERR): Likewise.
24819 [X/Open-based standards] (SIG_HOLD): Likewise.
24820 (SIG_IGN): Likewise.
24821 (SIGABRT): Use macro-int-constant. Specify type. Require
24822 positive value.
24823 (SIGFPE): Likewise.
24824 (SIGILL): Likewise.
24825 (SIGINT): Likewise.
24826 (SIGSEGV): Likewise.
24827 (SIGTER): Likewise.
24828 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24829 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24830 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24831 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24832 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24833 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24834 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24835 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24836 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24837 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24838 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24839 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24840 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24841 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24842 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24843 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24844 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24845 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24846 [X/Open-based standards] (SIGTRAP): Likewise.
24847 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24848 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24849 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24850 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24851 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24852 allow.
24853
b9f1922d
IW
248542012-05-08 Ian Wienand <ianw@vmware.com>
24855
24856 [BZ #14080]
24857 * time/tzset.c (__tzset_parse_tz): Update default rules for
24858 daylight time changes in the Energy Policy Act of 2005.
24859
1db86e88
AJ
248602012-05-09 Andreas Jaeger <aj@suse.de>
24861
24862 [BZ #13983]
24863 * elf/ldconfig.c (parse_conf): Change string to make clear that
24864 ldconfig only issued a warning if ld.so.conf does not exist.
24865
dee4a4e3
DM
248662012-05-08 David S. Miller <davem@davemloft.net>
24867
ee0db190
DM
24868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24869 movxtod instead of popping the value on the stack.
24870
dee4a4e3
DM
24871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24872
6a43ec98
CD
248732012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24874
24875 * config.h.in: Add HAVE_ARM_PCS_VFP.
24876
05c2c961
RMG
248772012-05-08 Roland Mc Grath <roland@hack.frob.com>
24878
bcfe3a54
ST
24879 [BZ #13979]
24880 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24881 checking but the checks are disabled for any reason.
05c2c961 24882
4b30f61a
L
248832012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24884
24885 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24886 and ELF64_R_TYPE with ELFW(R_TYPE).
24887
eee2bc67
JM
248882012-05-08 Joseph Myers <joseph@codesourcery.com>
24889
7ea5391a
JM
24890 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24891 (ulimit): Likewise.
24892
eee2bc67
JM
24893 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24894 (settimeofday): Likewise.
24895
abb66a67
MF
248962012-05-08 Mike Frysinger <vapier@gentoo.org>
24897
24898 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24899 a struct th_u2 inside the union, and move tu_block/tu_code into
24900 a new th_u3 union of tu_block/tu_code inside of that. Move
24901 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24902 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24903 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24904 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24905 (th_stuff): Change to th_u1.tu_stuff.
24906 (th_data): Define.
24907 (th_msg): Change to th_u1.th_u2.tu_data.
24908
7f18b530
DM
249092012-05-07 David S. Miller <davem@davemloft.net>
24910
05760585
DM
24911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24912
7f18b530
DM
24913 [BZ #14074]
24914 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24915 (SETUP_PIC_REG): Use it.
24916 (SETUP_PIC_REG_LEAF): Use it.
24917
495fd99f
JM
249182012-05-07 Joseph Myers <joseph@codesourcery.com>
24919
24920 [BZ #13885]
24921 [BZ #13923]
24922 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24923 USE_AS_EXPM1L.
24924 (EXPL_FINITE): Likewise.
24925 (FLDLOG): Likewise.
24926 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24927 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24928 e_expl.S.
24929 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24930 USE_AS_EXPM1L.
24931 (EXPL_FINITE): Likewise.
24932 (FLDLOG): Likewise.
24933 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24934 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24935 e_expl.S.
24936 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24937 test of -max_value argument for long double.
24938 * sysdeps/i386/fpu/libm-test-ulps: Update.
24939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24940
6693d694
DM
249412012-05-06 David S. Miller <davem@davemloft.net>
24942
24943 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24944 quad soft-float symbols whose references which are compiler
24945 generated.
24946 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24947
6c23e11c
JM
249482012-05-06 Joseph Myers <joseph@codesourcery.com>
24949
d8b82cad
JM
24950 [BZ #13884]
24951 [BZ #13914]
24952 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24953 USE_AS_EXP10L.
24954 (EXPL_FINITE): Likewise.
24955 (FLDLOG): Likewise.
24956 (c0): Likewise.
24957 (c1): Likewise.
24958 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24959 Adjust comments for base varying.
24960 (__expl_finite): Change alias to EXPL_FINITE.
24961 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24962 e_expl.S.
24963 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24964 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24965 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24966 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24967 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24968 USE_AS_EXP10L.
24969 (EXPL_FINITE): Likewise.
24970 (FLDLOG): Likewise.
24971 (c0): Likewise.
24972 (c1): Likewise.
24973 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24974 Adjust comments for base varying.
24975 (__expl_finite): Change alias to EXPL_FINITE.
24976 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24977 tests for bugs.
24978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24979
6c23e11c
JM
24980 [BZ #14064]
24981 * math/libm-test.inc (check_float_internal): Correct ulp
24982 calculation for subnormal expected results.
24983
29ba805c
AJ
249842012-05-06 Andreas Jaeger <aj@suse.de>
24985
24986 * Makeconfig (+math-flags): New, set to -frounding-math.
24987 (+cflags): Add +math-flags so that all of glibc gets compiled with
24988 it.
24989
24990 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24991
7b17aeda
JM
249922012-05-05 Joseph Myers <joseph@codesourcery.com>
24993
5779f134
JM
24994 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24995 Disable one test.
24996
41498f4d
JM
24997 [BZ #13787]
24998 [BZ #13922]
24999 [BZ #14036]
25000 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25001 (__ieee754_expl): Allow for and saturate large arguments.
25002 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25003 (u_threshold): Likewise.
25004 (__exp): Call __ieee754_exp before checking for overflow and
25005 underflow.
25006 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25007 (u_threshold): Likewise.
25008 (__expf): Call __ieee754_expf before checking for overflow and
25009 underflow.
25010 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25011 (u_threshold): Likewise.
25012 (__expl): Call __ieee754_expl before checking for overflow and
25013 underflow.
25014 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25015 (__ieee754_expl): Allow for and saturate large arguments.
25016 * math/libm-test.inc (exp_test): Add another test. Do not allow
25017 missing overflow exception on overflow.
25018 (expm1_test): Do not allow missing overflow exception on overflow.
25019
6698b8bf
JM
25020 * sysdeps/i386/fpu/e_expl.c: Move to ...
25021 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25022 rather than using inline asm.
25023 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25024 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25025 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25026
7b17aeda
JM
25027 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25028 (nice): Likewise.
25029 (poll): Likewise.
25030 (signal): Likewise.
25031 (time): Likewise.
25032 (times): Likewise.
25033
f7c85819
JM
250342012-05-04 Joseph Myers <joseph@codesourcery.com>
25035
25036 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25037 sysdeps/unix/common/syscalls.list.
25038 (fchmod): Likewise.
25039 (fchown): Likewise.
25040 (ftruncate): Likewise.
25041 (getrusage): Likewise.
25042 (gettimeofday): Likewise.
25043 (setpgid): Likewise.
25044 (setregid): Likewise.
25045 (setreuid): Likewise.
25046 (sigaction): Likewise.
25047 (truncate): Likewise.
25048 (vhangup): Likewise.
25049 * sysdeps/unix/common/syscalls.list: Remove file.
25050 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25051 * sysdeps/unix/sysv/linux/Implies: Likewise.
25052
336270d0
L
250532012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25054
25055 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25057 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25058 Moved to ...
25059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25060 Here.
25061 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25062 to ...
25063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25064 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25065 to ...
25066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25067 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25068 to ...
25069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25070 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25071 to ...
25072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25073 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25074 to ...
25075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25076 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25077 to ...
25078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25079 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25080 to ...
25081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25082 Here.
25083 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25084 to ...
25085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25086 Here.
25087 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25088 to ...
25089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25090 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25091 Moved to ...
25092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25093 Here.
25094 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25095 to ...
25096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25097
d128e450
JM
250982012-05-04 Joseph Myers <joseph@codesourcery.com>
25099
fa8ee516
JM
25100 * sysdeps/unix/common/bits/dirent.h: Remove file.
25101 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25102
d128e450
JM
25103 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25104 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25105 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25106 * sysdeps/unix/bsd/isatty.c: Likewise.
25107 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25108 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25109 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25110
ff8faaf0 251112012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25112
62881be4 25113 [BZ #13563]
31dc8730
AZ
25114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25115 long double comparison inaccuracies.
25116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25118
6fef930c
AS
251192012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25120
25121 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25123
8f203e6c
JM
251242012-05-04 Joseph Myers <joseph@codesourcery.com>
25125
25126 [BZ #14049]
25127 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25128 nonzero digits before rounding a hex value.
25129 * stdlib/tst-strtod.c (tests): Add another test.
25130
5197d9c2
AK
251312012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25132
25133 * sysdeps/s390/fpu/libm-test-ulps: Update.
25134
f0c1dedf
AJ
251352012-05-03 Andreas Jaeger <aj@suse.de>
25136
25137 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25138 does not get optimized out.
25139 (malloc_opt_barrier): New.
25140
a65ef2ae 251412012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25142 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25143
2b942cb7 25144 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25145 intermediate file deletion.
2b942cb7 25146 (generated): Add .symlist files.
a65ef2ae 25147
54b71e02
JM
251482012-05-03 Joseph Myers <joseph@codesourcery.com>
25149
25150 [BZ #13775]
25151 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25152 Redirect under this condition.
25153 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25154 [__USE_GNU] (__dprintf_chk): Not under this condition.
25155 [__USE_GNU] (__vdprintf_chk): Likewise.
25156 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25157 under this condition.
25158 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25159 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25160 [__USE_XOPEN2K8] (vdprintf): Likewise.
25161 [__USE_GNU] (__dprintf_chk): Not under this condition.
25162 [__USE_GNU] (__vdprintf_chk): Likewise.
25163 [__USE_GNU] (dprintf): Likewise.
25164 [__USE_GNU] (vdprintf): Likewise.
25165
d3dfcc41
RM
251662012-05-03 Roland McGrath <roland@hack.frob.com>
25167
25168 * elf/Makefile (common-generated): Set this instead of generated for
25169 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25170 $(all-built-dso)-derived lists.
25171
7ac30cc5
AJ
251722012-05-03 Andreas Jaeger <aj@suse.de>
25173
0c51e550
AJ
25174 * sysdeps/i386/fpu/libm-test-ulps: Update.
25175
7ac30cc5
AJ
25176 * FAQ: Removed.
25177 * FAQ.in: Likewise.
25178 * scripts/gen-FAQ.pl: Likewise.
25179 * manual/install.texi (Installation): Point to online location of
25180 FAQ.
25181 * Makefile (files-for-dist): Remove FAQ.
25182 (FAQ): Remove.
25183
d4c2917f
AM
251842012-05-02 Allan McRae <allan@archlinux.org>
25185
25186 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25187 (LDFLAGS-reldepmod5.so): Likewise.
25188 (LDFLAGS-reldep6mod1.so): Likewise.
25189 (LDFLAGS-reldep6mod4.so): Likewise.
25190 (LDFLAGS-reldep8mod3.so): Likewise.
25191 (LDFLAGS-unload4mod1.so): Likewise.
25192 (LDFLAGS-unload4mod2.so): Likewise.
25193 (LDFLAGS-tst-initorder): Likewise.
25194 (LDFLAGS-tst-initordera2.so): Likewise.
25195 (LDFLAGS-tst-initordera3.so): Likewise.
25196 (LDFLAGS-tst-initordera4.so): Likewise.
25197 (LDFLAGS-tst-initorderb2.so): Likewise.
25198 (LDFLAGS-noload): Likewise.
25199 (LDFLAGS-next): Likewise.
25200 (LDFLAGS-order2mod1.so): Likewise.
25201 (LDFLAGS-order2mod2.so): Likewise.
25202 (LDFLAGS-tst-initorder2): Likewise.
25203 (LDFLAGS-tst-initorder2a.so): Likewise.
25204 (LDFLAGS-tst-initorder2b.so): Likewise.
25205 (LDFLAGS-tst-initorder2c.so): Likewise.
25206 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25207
d77f993f
DM
252082012-05-02 David S. Miller <davem@davemloft.net>
25209
25210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25211
171a70b4
PP
252122012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25213
25214 [BZ #14055]
25215 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25216
0be196ad
AJ
252172012-05-02 Andreas Jaeger <aj@suse.de>
25218
25219 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25220 since we manipulate rounding mode.
25221 (CPPFLAGS-test-idouble.c): Likewise.
25222 (CPPFLAGS-test-ifloat.c): Likewise.
25223 (CFLAGS-test-ldouble.c): Likewise.
25224 (CFLAGS-test-double.c): Likewise.
25225 (CFLAGS-test-float.c): Likewise.
25226 (CFLAGS-test-misc.c): Likewise.
25227 (CFLAGS-test-test-fenv.c): Likewise.
25228
4f9d04aa
AZ
252292012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25230
2b942cb7
RM
25231 [BZ #2550]
25232 [BZ #2570]
25233 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25234 comparisons to determine direction to adjust input.
4f9d04aa 25235
82a79e7d
RM
252362012-05-01 Roland McGrath <roland@hack.frob.com>
25237
f5a01ca9
RM
25238 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25239 output to the target.
25240
90fe4186
RM
25241 * scripts/localplt.awk: New file.
25242 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25243 (check-localplt-CFLAGS): Variable removed.
25244 ($(all-built-dso:=.jmprel)): New static pattern rule.
25245 (generated): Add those targets.
25246 (localplt-built-dso): New variable.
25247 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25248
25249 * elf/check-localplt.c: File removed.
25250
82397ed6
RM
25251 * scripts/check-execstack.awk: New file.
25252 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25253 (check-execstack-CFLAGS): Variable removed.
25254 ($(objpfx)check-execstack.h): Target removed.
25255 ($(objpfx)execstack-default): New target.
25256 (generated): Add that instead of check-execstack.h.
25257 ($(all-built-dso:=.phdr)): New static pattern rule.
25258 (generated): Add those targets.
25259 * elf/check-execstack.c: File removed.
25260
82a79e7d
RM
25261 * scripts/check-textrel.awk: New file.
25262 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25263 (check-textrel-CFLAGS): Variable removed.
25264 (all-built-dso): Use := to define.o
25265 ($(all-built-dso:=.dyn)): New static pattern rule.
25266 (generated): Add those targets.
25267 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25268 * config.make.in (READELF): New substituted variable.
25269 * elf/check-textrel.c: File removed.
25270
62fde54f 252712012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25272
615605c9
JM
25273 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25274 allow.
25275 * conform/data/ctype.h-data [C99-based standards] (isblank):
25276 Expect function.
25277 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25278 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25280 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25281 Specify type. Require positive value.
25282 (EILSEQ): Likewise.
25283 (ERANGE): Likewise.
25284 [ISO || POSIX] (EILSEQ): Do not expect.
25285 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25286 Specify type. Require positive value.
25287 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25288 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25289 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25290 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25291 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25292 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25293 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25294 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25295 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25296 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25297 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25298 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25299 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25300 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25301 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25302 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25303 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25304 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25305 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25306 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25307 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25308 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25309 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25310 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25311 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25312 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25313 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25314 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25315 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25316 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25317 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25318 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25319 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25320 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25321 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25322 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25323 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25324 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25325 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25326 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25327 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25328 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25329 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25330 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25331 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25332 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25333 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25334 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25335 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25336 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25337 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25338 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25339 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25340 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25341 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25342 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25343 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25344 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25345 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25346 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25347 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25348 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25352 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25354 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25355 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25358 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25361 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25362 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25363 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25364 Require >= 2.
25365 (FLT_ROUNDS): Expect as macro, not constant.
25366 (FLT_MANT_DIG): Use macro-int-constant.
25367 (DBL_MANT_DIG): Likewise.
25368 (LDBL_MANT_DIG): Likewise.
25369 (FLT_DIG): Likewise.
25370 (DBL_DIG): Likewise.
25371 (LDBL_DIG): Likewise.
25372 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25373 (DBL_MIN_EXP): Likewise.
25374 (LDBL_MIN_EXP): Likewise.
25375 (FLT_MAX_EXP): Use macro-int-constant.
25376 (DBL_MAX_EXP): Likewise.
25377 (LDBL_MAX_EXP): Likewise.
25378 (FLT_MAX_10_EXP): Likewise.
25379 (DBL_MAX_10_EXP): Likewise.
25380 (LDBL_MAX_10_EXP): Likewise.
25381 (FLT_MAX): Use macro-constant.
25382 (DBL_MAX): Likewise.
25383 (LDBL_MAX): Likewise.
25384 (FLT_EPSILON): Use macro-constant. Give upper bound.
25385 (DBL_EPSILON): Likewise.
25386 (LDBL_EPSILON): Likewise.
25387 (FLT_MIN): Likewise.
25388 (DBL_MIN): Likewise.
25389 (LDBL_MIN): Likewise.
25390 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25391 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25392 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25393 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25394 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25395 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25396 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25397 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25398 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25399 [ISO11] (FLT_TRUE_MIN): Likewise.
25400 [ISO11] (LDBL_TRUE_MIN): Likewise.
25401 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25402 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25403 (SCHAR_MIN): Use macro-int-constant. Specify type.
25404 (SCHAR_MAX): Likewise.
25405 (UCHAR_MAX): Likewise.
25406 (CHAR_MIN): Likewise.
25407 (CHAR_MAX): Likewise.
25408 (MB_LEN_MAX): Use macro-int-constant.
25409 (SHRT_MIN): Use macro-int-constant. Specify type.
25410 (SHRT_MAX): Likewise.
25411 (USHRT_MAX): Likewise.
25412 (INT_MAX): Likewise.
25413 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25414 bound negative.
25415 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25416 bound with "U".
25417 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25418 bound with "L".
25419 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25420 bound negative. Suffix upper bound with "L".
25421 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25422 bound with "UL".
25423 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25424 Specify type.
25425 [C99-based standards] (LLONG_MAX): Likewise.
25426 [C99-based standards] (ULLONG_MAX): Likewise.
25427 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25428 == 0.
25429 [ISO11] (max_align_t): Require type.
25430 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25431
c9140a62
JM
25432 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25433 from $CFLAGS, without defining away __attribute__ calls.
25434 (checknamespace): Use $CFLAGS_namespace.
25435
9af0bf29
JM
25436 * conform/conformtest.pl (@keywords): Only include C99 keywords
25437 for standards based on C99 or C11.
25438
343222a2
JM
25439 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25440 Disable tests.
25441 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25442 UNIX98]: Likewise.
25443
661f8cf0
JM
25444 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25445 usability of symbols in #if.
25446
ee74b9cb
JM
25447 * conform/conformtest.pl: If macro or constant types start
25448 "promoted:", expect the symbol to be of the following type
25449 promoted by the integer promotions.
62fde54f 25450
aafc49b3
JM
25451 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25452 in one place. Also handle "macro-constant".
25453
fefdf574
JM
25454 * conform/conformtest.pl: Only accept expected macro values with
25455 "==". Parse all "macro" lines in one place.
25456 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25457
f2d922fe
JM
25458 * conform/conformtest.pl: Handle braced types on "constant" lines
25459 instead of handling "typed-constant".
25460 * conform/data/signal.h-data: Use "constant" instead of
25461 "typed-constant".
25462
d22956c9
JM
25463 * conform/conformtest.pl: Handle "optional-" at start of lines in
25464 one place rather than duplicating several cases. Handle each
25465 format of "macro" line with initial "optional-".
25466
028e2e38
JM
25467 * conform/conformtest.pl: Only accept expected constant or
25468 optional-constant values with "==". Parse all "constant" lines in
25469 one place. Parse all "optional-constant" lines in one place.
25470 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25471 * conform/data/fmtmsg.h-data: Likewise.
25472 * conform/data/netinet/in.h-data: Likewise.
25473 * conform/data/tar.h-data: Likewise.
25474 * conform/data/limits.h-data: Use "==" form on "constant" and
25475 "optional-constant" lines.
25476
1b8f2850
JM
25477 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25478 Use -std=c99 for XOPEN2K.
25479 (@knownproblems): Remove.
25480 (newtoken): Don't check %isknown.
25481
a05a144b
JM
25482 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25483 Do not expect macro.
25484 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25485 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25486 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25487 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25488 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25489 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25490 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25491 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25492 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25493 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25494 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25495 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25496 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25497 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25498 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25499 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25500 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25501 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25502 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25503 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25504 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25505 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25506 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25507 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25508 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25509 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25510 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25511 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25512 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25513 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25514 [XPG3] (acosh): Likewise.
25515 [XPG3] (asinh): Likewise.
25516 [XPG3] (atanh): Likewise.
25517 [XPG3] (cbrt): Likewise.
25518 [XPG3] (expm1): Likewise.
25519 [XPG3] (ilogb): Likewise.
25520 [XPG3] (log1p): Likewise.
25521 [XPG3] (logb): Likewise.
25522 [XPG3] (nextafter): Likewise.
25523 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25524 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25525 [XPG3] (remainder): Likewise.
25526 [XPG3] (rint): Likewise.
25527 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25528 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25529 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25530 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25531 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25532 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25533 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25534 [UNIX98 || XOPEN2K] (scalb): Expect.
25535 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25536 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25537 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25538 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25539 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25540 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25541 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25542 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25543 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25544 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25545 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25546 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25547 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25548 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25549 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25550 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25551 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25552 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25553 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25554 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25555 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25556 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25557 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25558 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25559 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25560 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25561 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25562 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25563 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25564 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25565 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25566 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25567 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25568 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25569 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25570 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25571 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25572 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25573 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25574 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25575 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25576 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25577 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25578 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25579 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25580 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25581 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25582 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25583 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25584 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25585 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25586 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25587 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25588 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25589 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25590 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25591 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25592 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25593 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25594 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25595 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25596 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25597 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25598 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25599 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25600 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25601 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25602 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25603 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25604 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25672
73c5ebe3
JM
25673 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25674 _XOPEN_SOURCE_EXTENDED for XPG4.
25675
39c33b6c
JM
25676 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25677
62fde54f
JM
25678 * Makeconfig (localtime): Remove variable.
25679 (inst_localtime-file): Likewise.
25680
0741d64c
AS
256812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25682
25683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25684 Update.
25685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25686 Update.
25687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25688 Update.
25689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25690 Update.
25691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25692 Update.
25693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25694 Update.
25695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25696 Update.
25697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25698 Update.
25699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25700 Update.
25701
7cb029ee
JM
257022012-05-01 Joseph Myers <joseph@codesourcery.com>
25703
25704 [BZ #2550]
25705 [BZ #2570]
25706 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25707 comparisons to determine direction to adjust input.
25708 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25709 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25710 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25711 Likewise.
25712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25713 Likewise.
25714 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25715 Likewise.
25716 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25717 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25718 Likewise.
25719 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25720 Likewise.
25721 * math/libm-test.inc (nexttoward_test): Add more tests.
25722
412bd966
AS
257232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25724
25725 [BZ #14040]
25726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25727 in version GLIBC_2.1, not GLIBC_2.0.
25728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25729 Likewise.
25730
9568c0c2
JM
257312012-04-30 Joseph Myers <joseph@codesourcery.com>
25732
adfbc8ac
JM
25733 [BZ #13942]
25734 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25735 (1 - x) * (1 + x).
25736 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25737 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25738 * math/libm-test.inc (acos_test): Add more tests.
25739 (asin_test): Likewise.
25740 * sysdeps/i386/fpu/libm-test-ulps: Update.
25741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25742
5ba3cc69
JM
25743 [BZ #14034]
25744 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25745 of square root.
25746 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25747 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25748 * math/libm-test.inc (acos_test_tonearest): New function.
25749 (acos_test_towardzero): Likewise.
25750 (acos_test_downward): Likewise.
25751 (acos_test_upward): Likewise.
25752 (asin_test_tonearest): Likewise.
25753 (asin_test_towardzero): Likewise.
25754 (asin_test_downward): Likewise.
25755 (asin_test_upward): Likewise.
25756 (main): Call the new functions.
25757 * sysdeps/i386/fpu/libm-test-ulps: Update.
25758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25759
9568c0c2
JM
25760 [BZ #13884]
25761 [BZ #13924]
25762 * math/e_exp10.c: Include <float.h>.
25763 (__ieee754_exp10): Handle underflow here rather than multiplying
25764 large negative argument by M_LN10.
25765 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25766 of __ieee754_expf.
25767 * math/e_exp10l.c: Include <float.h>.
25768 (__ieee754_exp10l): Handle underflow here rather than multiplying
25769 large negative argument by M_LN10l.
25770 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25771 spurious overflow exception on underflow.
25772
5ac3ea17
MP
257732012-04-29 Marek Polacek <polacek@redhat.com>
25774
25775 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25776 (__fortify_function): New macro.
25777 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25778 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25779 __extern_always_inline.
25780 * libio/bits/stdio2.h: Likewise.
25781 * libio/bits/stdio.h: Likewise.
25782 * string/string.h: Likewise.
25783 * string/bits/string3.h: Likewise.
25784 * include/stdio.h: Likewise.
25785 * stdlib/bits/stdlib.h: Likewise.
25786 * stdlib/stdlib.h: Likewise.
25787 * rt/bits/mqueue2.h: Likewise.
25788 * rt/mqueue.h: Likewise.
25789 * posix/bits/unistd.h: Likewise.
25790 * posix/unistd.h: Likewise.
25791 * io/bits/poll2.h: Likewise.
25792 * io/bits/fcntl2.h: Likewise.
25793 * io/fcntl.h: Likewise.
25794 * io/sys/poll.h: Likewise.
25795 * misc/bits/syslog.h: Likewise.
25796 * misc/bits/syslog-ldbl.h: Likewise.
25797 * misc/sys/syslog.h: Likewise.
25798 * socket/bits/socket2.h: Likewise.
25799 * socket/sys/socket.h: Likewise.
25800 * debug/tst-chk1.c: Likewise.
25801 * wcsmbs/bits/wchar2.h: Likewise.
25802 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25803 * wcsmbs/wchar.h: Likewise.
25804
ecf0ebfb
AJ
258052012-04-29 Andreas Jaeger <aj@suse.de>
25806
25807 * Makerules (tests): Remove enable-check-abi protection.
25808 (check-abi-warn): Remove.
25809 (check-abi-%): Remove check-abi-warn usage.
25810
25811 * configure.in: Remove check-abi configure option.
25812 * configure: Regenerated.
25813 * config.make.in (enable-check-abi): Remove.
25814
6d5c57fa
AS
258152012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25816
24c5d07e 25817 [BZ #14033]
ded5180a
AS
25818 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25819 double functions to double *_finite functions.
25820
7e0d315d
AS
25821 [BZ #13941]
25822 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25823 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25824 LDBL_MIN_EXP.
25825 * stdio-common/Makefile (tests): Add tst-sprintf3.
25826 * stdio-common/tst-sprintf3.c: New file.
25827
6d5c57fa
AS
25828 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25829 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25830
0749ff8b
JM
258312012-04-28 Joseph Myers <joseph@codesourcery.com>
25832
25833 * conform/conformtest.pl: Remove duplicate typed-constant
25834 handling.
25835
8dbd5d7b
DM
258362012-04-28 David S. Miller <davem@davemloft.net>
25837
25838 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25839 (check-abi-%): Remove AWK script prerequisite and explicit
25840 abilist directory.
25841 (check-abi): Rewrite to just diff the symlist with the abilist.
25842 (config-tls, config-abi-config): Delete, no longer used.
25843 (update-abi-%): Remove AWK script and explicit abilist directory.
25844 (update-abi): Rewrite to simply compare and conditionally copy the
25845 symlist and the sysdep abilist file. Remove update-abi-config
25846 checks.
25847 * abilist/ld.abilist: Remove.
25848 * abilist/libBrokenLocale.abilist: Remove.
25849 * abilist/libanl.abilist: Remove.
25850 * abilist/libcrypt.abilist: Remove.
25851 * abilist/libdl.abilist: Remove.
25852 * abilist/librt.abilist: Remove.
25853 * abilist/libthread_db.abilist: Remove.
25854 * abilist/libutil.abilist: Remove.
25855 * scripts/extract-abilist.awk: Remove.
25856 * scripts/merge-abilist.awk: Remove.
25857 * sysdeps/generic/libcidn.abilist: New file.
25858 * sysdeps/generic/libnss_compat.abilist: New file.
25859 * sysdeps/generic/libnss_db.abilist: New file.
25860 * sysdeps/generic/libnss_dns.abilist: New file.
25861 * sysdeps/generic/libnss_files.abilist: New file.
25862 * sysdeps/generic/libnss_hesiod.abilist: New file.
25863 * sysdeps/generic/libnss_nis.abilist: New file.
25864 * sysdeps/generic/libnss_nisplus.abilist: New file.
25865 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25866 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25867 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25868 file.
25869 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25870 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25871 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25872 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25873 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25874 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25875 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25876 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25877 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25878 file.
25879 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25880 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25881 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25882 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25883 file.
25884 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25885 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25886 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25887 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25888 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25889 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25890 file.
25891 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25892 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25893 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25894 file.
25895 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25897 New file.
25898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25899 New file.
25900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25901 New file.
25902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25903 New file.
25904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25905 New file.
25906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25907 New file.
25908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25909 New file.
25910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25911 New file.
25912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25913 New file.
25914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25915 New file.
25916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25917 New file.
25918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25919 New file.
25920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25921 New file.
25922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25923 file.
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25925 New file.
25926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25927 New file.
25928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25929 file.
25930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25931 New file.
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25933 New file.
25934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25935 file.
25936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25937 New file.
25938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25939 New file.
25940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25941 New file.
25942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25943 New file.
25944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25945 New file.
25946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25947 New file.
25948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25950 file.
25951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25952 New file.
25953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25954 file.
25955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25956 file.
25957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25958 file.
25959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25960 file.
25961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25962 file.
25963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25964 New file.
25965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25966 file.
25967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25968 file.
25969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25970 New file.
25971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25972 file.
25973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25975 file.
25976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25977 New file.
25978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25979 file.
25980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25981 file.
25982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25983 file.
25984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25985 file.
25986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25987 file.
25988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25989 New file.
25990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25991 file.
25992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25993 file.
25994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25995 New file.
25996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25997 file.
25998 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25999 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26000 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26001 file.
26002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26003 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26004 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26005 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26006 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26007 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26008 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26009 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26010 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26011 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26014 file.
26015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26016 New file.
26017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26018 file.
26019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26020 file.
26021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26022 file.
26023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26024 file.
26025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26026 file.
26027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26028 New file.
26029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26030 New file.
26031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26032 file.
26033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26034 New file.
26035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26036 file.
26037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26039 file.
26040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26041 New file.
26042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26043 file.
26044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26045 file.
26046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26047 file.
26048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26049 file.
26050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26051 file.
26052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26053 New file.
26054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26055 New file.
26056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26057 file.
26058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26059 New file.
26060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26061 file.
26062
41d73a1b
JM
260632012-04-28 Joseph Myers <joseph@codesourcery.com>
26064
26065 * conform/conformtest.pl: Fix typo in handling typed-constant from
26066 allow-header.
26067
28aeeda4
JM
260682012-04-27 Joseph Myers <joseph@codesourcery.com>
26069
adae8f5e
JM
26070 * README: Cut down references to pre-2.6 Linux kernels and
26071 Linuxthreads. Update lists of configurations in libc and ports
26072 and sort alphabetically. Say "or newer" with Linux kernel version
26073 requirements.
26074
28aeeda4
JM
26075 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26076
a462cb63
RA
260772012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26078
26079 [BZ #887]
26080 * math/libm-test.inc (logb_test_downward): New test to expose
26081 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26082 rounding mode.
26083
6ad3493e
JM
260842012-04-27 Joseph Myers <joseph@codesourcery.com>
26085
26086 [BZ #14027]
26087 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26088 to be done.
26089 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26090 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26091
2ce4f015
JM
260922012-04-26 Joseph Myers <joseph@codesourcery.com>
26093
5aeb141a
JM
26094 * sysdeps/unix/i386/brk.S: Remove file.
26095 * sysdeps/unix/i386/dl-brk.S: Likewise.
26096 * sysdeps/unix/i386/pipe.S: Likewise.
26097 * sysdeps/unix/i386/sigreturn.S: Likewise.
26098 * sysdeps/unix/i386/syscall.S: Likewise.
26099 * sysdeps/unix/i386/vfork.S: Likewise.
26100 * sysdeps/unix/i386/wait.S: Likewise.
26101
7143acae
JM
26102 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26103 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26104
2ce4f015
JM
26105 * configure.in (arm*-none*): Do not allow without
26106 --enable-hacker-mode.
26107 (netbsd*): Remove case setting base_os.
26108 (386bsd*): Likewise.
26109 (freebsd*): Likewise.
26110 (bsdi*): Likewise.
26111 (osf*): Likewise.
26112 (sunos*): Likewise.
26113 (ultrix*): Likewise.
26114 (newsos*): Likewise.
26115 (dynix*): Likewise.
26116 (*bsd*): Likewise.
26117 (sysv*): Likewise.
26118 (isc*): Likewise.
26119 (esix*): Likewise.
26120 (sco*): Likewise.
26121 (minix*): Likewise.
26122 (irix4*): Likewise.
26123 (irix6*): Likewise.
26124 (solaris[2-9]*): Likewise.
26125 (none): Likewise.
26126 * configure: Regenerated.
26127
0ac229c8
AZ
261282012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26129
26130 [BZ #11521]
26131 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26132 overflow or cancellation in calculating denominator.
26133 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26134 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26135 down expression to avoid unexpected rounding in newer GCCs.
26136 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26137
33f244f4
DM
261382012-04-26 David S. Miller <davem@davemloft.net>
26139
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26141 long-double compat symbols.
26142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26155
cfa1f3e8
DM
261562012-04-25 David S. Miller <davem@davemloft.net>
26157
26158 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26159 HWCAP_* values only after the memory barriers have been defined.
26160 (atomic_full_barrier): Define.
26161 (atomic_read_barrier): Define.
26162 (atomic_write_barrier): Define.
26163
6e236b92
SP
261642012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26165
26166 * shlib-versions: Add libgcc_s version information.
26167 * sysdeps/generic/libgcc_s.h: Remove.
26168 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26169 libgcc_s.h.
26170 * sysdeps/gnu/unwind-resume.c: Likewise.
26171 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26172
aab39a09
DM
261732012-04-25 David S. Miller <davem@davemloft.net>
26174
26175 * sysdeps/unix/sparc/brk.S: Delete.
26176 * sysdeps/unix/sparc/dl-brk.S: Delete.
26177 * sysdeps/unix/sparc/pipe.S: Delete.
26178 * sysdeps/unix/sparc/sysdep.S: Delete.
26179 * sysdeps/unix/sparc/sysdep.h: Delete.
26180 * sysdeps/unix/sparc/vfork.S: Delete.
26181 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26182 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26183 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26184 ret_ERRVAL, r0, r1, MOVE): Define.
26185 (JUMPTARGET): Remove.
26186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26187 sysdeps/unix/sparc/sysdep.h
26188 (ENTRY, END): Remove.
26189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26190
a3cc4f48
JM
261912012-04-25 Joseph Myers <joseph@codesourcery.com>
26192
2ed8cda2
JM
26193 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26194 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26195 -DIS_IN_build.
26196
35d76d59
JM
26197 * timezone/README: Update upstream location and email address for
26198 tzcode and tzdata.
26199 * timezone/zdump.c: Update from tzcode 2012b.
26200 * timezone/zic.c: Likewise.
26201
a3cc4f48
JM
26202 * configure.in (libc_cv_as_needed): Remove test.
26203 * configure: Regenerated.
26204 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26205 conditional definition.
26206 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26207 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26208 * config.make.in (have-as-needed): Remove variable.
26209
ceab42c3
SP
262102012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26211 Paul Pluzhnikov <ppluzhnikov@google.com>
26212
26213 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26214 strings correctly.
26215
3ce2865f
CLT
262162012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26217
26218 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26219 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26220 * sysdeps/sh/strlen.S: Likewise.
26221
f37e0d68
JM
262222012-04-24 Joseph Myers <joseph@codesourcery.com>
26223
ae186e9a
JM
26224 * sysdeps/unix/fork.S: Remove file.
26225 * sysdeps/unix/i386/fork.S: Likewise.
26226 * sysdeps/unix/sparc/fork.S: Likewise.
26227
b96914af
JM
26228 * sysdeps/unix/system.c: Remove file.
26229 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26230
f37e0d68
JM
26231 * sysdeps/unix/getegid.S: Remove file.
26232 * sysdeps/unix/geteuid.S: Likewise.
26233
87ef29ca
RM
262342012-04-24 Roland McGrath <roland@hack.frob.com>
26235
83bcd236
RM
26236 * scripts/check-localplt.awk: New file.
26237 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26238 of diff.
26239 * scripts/data/localplt-generic.data: Add a comment.
26240
87ef29ca
RM
26241 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26242 NODE when __dir_mkfile failed.
26243 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26244 Reported by Ludovic Courtès <ludo@gnu.org>.
26245
e5a6e567
AJ
262462012-04-24 Andreas Jaeger <aj@suse.de>
26247
26248 * Makerules (common-clean): Also remove gen-as-const-headers
26249 files.
26250
c1820385
JM
262512012-04-24 Joseph Myers <joseph@codesourcery.com>
26252
26253 * Makerules (native-compile): Do not change working directory for
26254 build. Use $(OUTPUT_OPTION) in command.
26255 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26256
94e02fc4
AZ
262572012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26258
26259 [BZ #13886]
26260 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26261 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26262 * math/libm-test.inc (floor_test): Add more tests.
26263 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26264
3a533ca3
JM
262652012-04-24 Joseph Myers <joseph@codesourcery.com>
26266
940ab4b3
JM
26267 * sysdeps/unix/getdents.c: Remove file.
26268 * sysdeps/unix/sysv/getdents.c: Likewise.
26269 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26270
90e037bd
JM
26271 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26272 sysdeps/unix/mman/syscalls.list.
26273 (mmap): Likewise.
26274 (mprotect): Likewise.
26275 (msync): Likewise.
26276 (munmap): Likewise.
26277 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26278 * sysdeps/unix/mman/syscalls.list: Remove.
26279 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26280
3a533ca3
JM
26281 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26282 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26283 * configure: Regenerated.
26284 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26285 $(libgcc_s_suffix).
26286 * config.make.in (libgcc_s_suffix): Remove variable.
26287
1ad743de
JM
262882012-04-23 Joseph Myers <joseph@codesourcery.com>
26289
4ad451e2
JM
26290 * sysdeps/unix/sysv/gethostname.c: Move to ...
26291 * sysdeps/posix/gethostname.c: ... here.
26292
5e37ce39
JM
26293 * sysdeps/unix/execve.S: Remove file.
26294
1ad743de
JM
26295 * sysdeps/unix/_exit.S: Remove file.
26296
4e681b5b
AJ
262972012-04-23 Andreas Jaeger <aj@suse.de>
26298
26299 [BZ #13739]
26300 * manual/Makefile: Remove make dist support, there's no
26301 need for a stand-alone documentation tar ball.
26302 (TEXI2DVI): Define always, it's not in Makeconfig.
26303 (dist): Removed.
26304 (tar-it): Removed.
26305 (edition): Removed.
26306 (glibc-doc-$(edition).tar): Removed
26307 (%.Z): Removed.
26308 (%.gz): Removed.
26309 (%.uu): Removed.
26310 (ETAGS): Remove, it's in Makeconfig.
26311 (move-if-change): Remove, it's in Makeconfig.
26312
38686a03 263132012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26314
26315 [BZ #13970]
26316 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26317 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26318 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26319 (strtod_l, strtof_l, strtold_l): Remove __wur.
26320 It is not necessarily an error to ignore strtol's return value.
26321 One can reliably look at the stored endptr to decide whether
26322 the number had valid syntax.
26323
7c0616fa
AJ
263242012-04-21 Andreas Jaeger <aj@suse.de>
26325
803cb6b7 26326 [BZ #13739]
7c0616fa
AJ
26327 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26328
b0fe253f
JM
263292012-04-21 Joseph Myers <joseph@codesourcery.com>
26330
26331 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26332 * sysdeps/unix/sysv/Versions: Remove file.
26333
8280f22d
MT
263342012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26335
26336 [BZ #13927]
26337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26338
75ce411f 263392012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26340
26341 [BZ #7064]
26342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26343 version from __vm86.
26344
097d59fa
JM
263452012-04-20 Joseph Myers <joseph@codesourcery.com>
26346
a90f3bcb
JM
26347 * sysdeps/unix/common/lxstat.c: Remove file.
26348 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26349
edc7ea78
JM
26350 * sysdeps/unix/sysv/Makefile: Remove file.
26351
cb78c221
JM
26352 * sysdeps/unix/sysv/direct.h: Remove file.
26353
efa6a45f
JM
26354 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26355 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26356 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26357 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26358 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26359 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26360 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26361
9c9f2d0c
JM
26362 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26363
4541c83b
JM
26364 * sysdeps/unix/xmknod.c: Remove file.
26365 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26366
f5d153a0
JM
26367 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26368
aa746595
JM
26369 * sysdeps/unix/sysv/i386/time.S: Remove file.
26370
cce5905e
JM
26371 * sysdeps/unix/fxstat.c: Remove file.
26372 * sysdeps/unix/xstat.c: Likewise.
26373 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26374
37fa3841
JM
26375 * sysdeps/unix/sysv/sigaction.c: Remove file.
26376
ff1962a3
JM
26377 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26378 (sysdep_headers): Remove variable.
26379 [termio.h not in sysdep_headers] (generated): Likewise.
26380 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26381 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26382 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26383 * sysdeps/unix/sysv/tcflow.c: Likewise.
26384 * sysdeps/unix/sysv/tcflush.c: Likewise.
26385 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26386 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26387 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26388 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26389 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26390
e7740d31
JM
26391 * sysdeps/unix/siglist.c: Remove file.
26392
ee06f18b
JM
26393 * sysdeps/unix/getppid.S: Remove file.
26394
097d59fa
JM
26395 * sysdeps/unix/mkdir.c: Remove file.
26396 * sysdeps/unix/rmdir.c: Likewise.
26397
ff3d51ec
AS
263982012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26399
26400 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26401 ERR_MAX value.
26402 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26403 errlist-compat value.
26404
50f81fd7
DM
264052012-04-18 David S. Miller <davem@davemloft.net>
26406
26407 * sysdeps/generic/memcopy.h (reg_char): Delete.
26408 * debug/strcat_chk.c: Use char, not reg_char.
26409 * debug/strcpy_chk.c: Likewise.
26410 * debug/strncat_chk.c: Likewise.
26411 * debug/strncpy_chk.c: Likewise.
26412 * string/memchr.c: Likewise.
26413 * string/memrchr.c: Likewise.
26414 * string/rawmemchr.c: Likewise.
26415 * string/strcat.c: Likewise.
26416 * string/strchr.c: Likewise.
26417 * string/strchrnul.c: Likewise.
26418 * string/strcmp.c: Likewise.
26419 * string/strcpy.c: Likewise.
26420 * string/strncat.c: Likewise.
26421 * string/strncmp.c: Likewise.
26422 * string/strncpy.c: Likewise.
26423
8ff41c46
WS
264242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26425
26426 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26427 __builtin_memcopy is called when src and dest ranges are known to not
26428 overlap.
26429
6b652f46
WS
264302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26431
26432 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26433 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26434 fwd_align_merge macro call.
26435 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26436 bwd_align_merge macro call.
26437 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26438
b282631e
WS
264392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26440
26441 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26442 bwd_align_merge macros.
26443 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26444 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26445 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26446
95aa737c
DM
264472012-04-18 David S. Miller <davem@davemloft.net>
26448
26449 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26450
7a99a614
AJ
264512012-04-18 Andreas Jaeger <aj@suse.de>
26452
26453 [BZ# 6794]
26454 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26455 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26456 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26457
26458 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26459 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26460 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26461
26462 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26463 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26464 Adjust for changed ldbl-128 files.
26465
26466 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26467 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26468 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26469
e5270c23
DM
264702012-04-17 David S. Miller <davem@davemloft.net>
26471
26472 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26473
fb5e92c9
AS
264742012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26475
26476 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26477 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26478 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26479 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26480 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26481 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26482
76da7265
AZ
264832012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26484
26485 [BZ #6794]
26486 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26487 * math/libm-test.inc: Add ilogb errno and exception tests.
26488 * math/w_ilogb.c: New file: ilogb wrapper.
26489 * math/w_ilogbf.c: New file: ilogbf wrapper.
26490 * math/w_ilogbl.c: New file: ilogbl wrapper.
26491 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26492 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26493 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26494 exception being thrown with 0.0 as argument.
26495 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26496 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26497 exception being thrown with 0.0 as argument.
26498 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26499 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26500 exception being thrown with 0.0 as argument.
26501 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26502 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26503 exception being thrown with 0.0 as argument.
26504 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26505 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26506 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26507 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26508 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26509 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26510 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26511 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26512 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26513
0396e69d
PB
265142012-04-17 Petr Baudis <pasky@ucw.cz>
26515
26516 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26517 with altivec.
26518
750b5926
MP
265192012-04-16 Marek Polacek <polacek@redhat.com>
26520
26521 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26522
751728a1
MP
265232012-04-16 Marek Polacek <polacek@redhat.com>
26524
26525 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26526 operands of fdivp instruction.
26527
34a27407
L
265282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26529
26530 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26531 * elf/tst-auditmod3b.c: Likewise.
26532 * elf/tst-auditmod4b.c: Likewise.
26533 * elf/tst-auditmod5b.c: Likewise.
26534 * elf/tst-auditmod6b.c: Likewise.
26535 * elf/tst-auditmod6c.c: Likewise.
26536 * elf/tst-auditmod7b.c: Likewise.
26537 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26538 * sysdeps/x86_64/preconfigure.in: Likewise.
26539 * sysdeps/x86_64/preconfigure: Regenerated.
26540
7e73e17d
L
265412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26542
26543 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26544 __ILP32__.
26545
c7a6ab72
AB
265462012-04-13 Antoine Balestrat <merkil33@gmail.com>
26547
26548 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26549 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26550
a9e8e0e0
CL
265512012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26552
26553 [BZ #13973]
26554 * locale/iso-639.def: Fix gl language name. Spotted by
26555 Yaron Shahrabani.
26556
ec98af7d
RM
265572012-04-12 Roland McGrath <roland@hack.frob.com>
26558
26559 [BZ #2074]
26560 * libio/libio.h (__io_write_fn): Update comment.
26561
247c3ede
PB
265622012-04-12 Petr Baudis <pasky@ucw.cz>
26563
26564 [BZ #2074]
26565 * stdio.texi (Hook Functions): The user provided writer function
26566 is not allowed to return -1.
26567
55939d6d
DM
265682012-04-11 David S. Miller <davem@davemloft.net>
26569
26570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26571
90020f5a
MF
265722012-04-11 Mike Frysinger <vapier@gentoo.org>
26573
26574 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26575 Add a leading slash to rtkaio.
26576
288f9098
JM
265772012-04-11 Jim Meyering <meyering@redhat.com>
26578
90020f5a
MF
26579 [BZ #11959]
26580 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26581 It is not necessarily an error to ignore fwrite's return
26582 value. One can reliably use ferror to test for errors after
26583 the fact.
288f9098 26584
4be2b570
L
265852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26586
26587 * bits/types.h (__snseconds_t): New type.
26588 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26589
26590 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26592 (__SNSECONDS_T_TYPE): Likewise.
26593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26594 (__SNSECONDS_T_TYPE): Likewise.
26595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26596 (__SNSECONDS_T_TYPE): Likewise.
26597
288f9098 265982012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26599
26600 [BZ #2636]
26601 * manual/time.texi (Processor Time): Return type of times is
26602 elapsed real time since an arbitrary point in the past.
26603 (CPU Time): Move CLK_TCK from here...
26604 (Processor Time): ...to here. Correct description.
26605 * manual/conf.texi (Constants for Sysconf): Correct description of
26606 _SC_CLK_TCK.
26607
d7dd4413
DM
266082012-04-10 David S. Miller <davem@davemloft.net>
26609
26610 [BZ #13967]
26611 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26612 where the is a gap between DT_REL(A) and DT_JMPREL.
26613
b46068fc
L
266142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26615
26616 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26617 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26618 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26619
73d65cc3
SP
266202012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26621
26622 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26623 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26624 (dl_main): Handle --inhibit-cache.
26625 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26626 _dl_inhibit_cache.
26627 * elf/dl-load.c (_dl_map_object): Use it.
26628 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26629
bcc8d661
JM
266302012-04-09 Joseph Myers <joseph@codesourcery.com>
26631
8f9a2fae
JM
26632 [BZ #13872]
26633 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26634 (__ieee754_powl): Saturate large exponents rather than testing for
26635 overflow of y*log2(x).
26636 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26637 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26638 exceptions.
26639
bcc8d661
JM
26640 [BZ #11521]
26641 * math/s_ctan.c: Include <float.h>.
26642 (__ctan): Avoid internal overflow or cancellation in calculating
26643 denominator.
26644 * math/s_ctanf.c: Likewise.
26645 * math/s_ctanl.c: Likewise.
26646 * math/s_ctanh.c: Likewise.
26647 * math/s_ctanhf.c: Likewise.
26648 * math/s_ctanhl.c: Likewise.
26649 * math/libm-test.inc (ctan_test): Add more tests.
26650 (ctanh_test): Likewise.
26651 * sysdeps/i386/fpu/libm-test-ulps: Update.
26652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26653
823fbbb4
AJ
266542012-04-09 Andreas Jaeger <aj@suse.de>
26655
03879793
AJ
26656 [BZ #6894]
26657 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26658 is an optional BSD extension.
26659
823fbbb4
AJ
26660 [BZ #10254]
26661 * manual/stdio.texi (Opening Streams): Document additional fopen
26662 parameters.
26663
8de131cb
RM
266642012-04-09 Roland McGrath <roland@hack.frob.com>
26665
26666 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26667 %eax without telling the compiler.
26668
c0ed9d7d
CD
266692012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26670
26671 [BZ # 13963]
26672 * manual/install.texi: Use sourceware.org.
26673
c483f6b4
JM
266742012-04-09 Joseph Myers <joseph@codesourcery.com>
26675
d7dd9453
JM
26676 [BZ #13873]
26677 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26678 (__ieee754_pow): Generate overflow and underflow using huge*huge
26679 and tiny*tiny rather than just returning constant infinity or zero
26680 for large exponents.
26681 * math/libm-test.inc (pow_test): Require overflow exceptions for
26682 applicable cases of large exponents.
26683
c483f6b4
JM
26684 [BZ #706]
26685 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26686 (__ieee754_pow): Use iterative multiplication algorithm only for
26687 integer exponents with absolute value below 1024. Check for odd
26688 integer exponents when using algorithm for real exponents.
26689 * math/libm-test.inc (pow_test): Add more tests.
26690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26691
d2de7579
JM
266922012-04-08 Joseph Myers <joseph@codesourcery.com>
26693
26694 [BZ #13705]
26695 * math/libm-test.inc (exp_test): Do not allow overflow exception
26696 on underflow test.
26697
f77f1232
AJ
266982012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26699
26700 [BZ #13705]
26701 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26702 instead of __kernel_standard_f.
26703
3884932b
MF
267042012-04-08 Mike Frysinger <vapier@gentoo.org>
26705
26706 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26707 * sysdeps/x86_64/memset_chk.S: Likewise.
26708
54472e9c
AJ
267092012-04-08 Andreas Jaeger <aj@suse.de>
26710
6ab0fbfc
AJ
26711 [BZ #10153]
26712 * manual/startup.texi (Environment Access): Describe return value
26713 for putenv and setenv.
26714
61efba8c
AJ
26715 [BZ #6895]
26716 * manual/filesys.texi (Directory Entries): Add description for
26717 DT_LNK.
26718
95c3f29a
AJ
26719 [BZ #6890]
26720 * manual/filesys.texi (Directory Entries): Clarify that it's file
26721 system not operating system in the description of DT_UNKNOWN.
26722
54472e9c
AJ
26723 [BZ #6578]
26724 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26725
624254b1
SC
267262012-04-08 Stephen Compall <s11@member.fsf.org>
26727
26728 [BZ #6649]
26729 * manual/llio.texi (Opening and Closing Files): Add cross
26730 reference to explain mode argument.
26731
1e4920e0
MF
267322012-04-07 Mike Frysinger <vapier@gentoo.org>
26733
26734 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26735 * sysdeps/x86_64/memset_chk.S: Likewise.
26736
5ed848f3
DM
267372012-04-07 David S. Miller <davem@davemloft.net>
26738
26739 * elf/elf.h (R_SPARC_WDISP10): Define.
26740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26741 R_SPARC_SIZE32.
26742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26743 R_SPARC_SIZE64 and R_SPARC_H34.
26744
96154cd8
CD
267452012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26746
26747 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26748 conditions and remove no longer applicable assertion.
26749
9904dc47
L
267502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26751
26752 * bits/byteswap.h: Include <features.h>.
26753 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26754 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26755
f8887d0a
L
267562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26757
26758 * bits/byteswap.h (__bswap_16): Removed.
26759 Include <bits/byteswap-16.h> to get __bswap_16.
26760 * sysdeps/i386/bits/byteswap.h: Likewise.
26761 * sysdeps/s390/bits/byteswap.h: Likewise.
26762 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26763 * bits/byteswap-16.h: New file.
26764 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26765 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26766 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26767 * string/Makefile (headers): Add bits/byteswap-16.h.
26768
62470f60
PP
267692012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26770
26771 [BZ #13895]
26772 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26773 extra indirection.
26774 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26775 * nss/tst-nss-static.c: New.
26776
4dad7bab
RM
267772012-04-06 Robert Millan <rmh@gnu.org>
26778
26779 [BZ #6486]
26780 * manual/llio.texi (File Position Primitive): lseek
26781 refers to WHENCE when it really means OFFSET.
26782
e9142a17
AJ
267832012-04-06 Andreas Jaeger <aj@suse.de>
26784
2c040eff
AJ
26785 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26786 strncmp declarations.
26787
e9142a17
AJ
26788 * abilist/libc.abilist: Add __poll and __ppoll.
26789
ff9f1c5f
DM
267902012-04-05 David S. Miller <davem@davemloft.net>
26791
dcd2ae90
DM
26792 * scripts/check-local-headers.sh: Accept a host triplet in the
26793 path matched by the exclude regexp.
26794
993eb054
DM
26795 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26796 definition.
26797 * sysdeps/powerpc/powerpc32/dl-machine.h
26798 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26799 * sysdeps/s390/s390-32/dl-machine.h
26800 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26801 * sysdeps/sparc/sparc32/dl-machine.h
26802 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26803 * sysdeps/sparc/sparc64/dl-machine.h
26804 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26805
ff9f1c5f
DM
26806 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26807 lazy binding.
48e2e132 26808 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26809 undefined symbol errors.
26810
48e2e132 26811 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26812 DT_NEEDED entries.
26813
e80d6f94
MM
268142012-04-05 Michael Matz <matz@suse.de>
26815
26816 [BZ #13592]
26817 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26818
349fa79f
AJ
268192012-04-05 Andreas Jaeger <aj@suse.de>
26820
26821 [BZ #13908]
26822 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26823 comment.
26824
f402708f
KK
268252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26826
26827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26828 which ROUND is no valid rounding mode.
26829
2ecccfc9
KK
268302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26831
26832 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26833 read again.
26834 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26835
8a53f50f
KK
268362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26837
26838 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26839 an exception using FPU order intentionally.
26840
268412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26842
26843 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26844 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26845 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26846 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26847
d653abb7
SJ
268482012-04-05 Simon Josefsson <simon@josefsson.org>
26849
26850 [BZ #12340]
26851 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26852 EINVAL when BUFLEN is too smal.
26853
c3b1bf7d
TS
268542012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26855
26856 [BZ #13553]
26857 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26858 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26859
b1aa60f3
AJ
268602012-04-03 Andreas Jaeger <aj@suse.de>
26861
c3b1bf7d 26862 [BZ #13938]
67f60a26
AJ
26863 * manual/setjmp.texi (System V contexts): Fix sentence.
26864
b1aa60f3
AJ
26865 [BZ #13926]
26866 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26867 New macro for this case.
26868 [!__GNUC__] (__bswap_64): New inline function for this case.
26869 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26870 * bits/byteswap.h: Likewise.
26871 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26872 ull, guard with __GLIBC_HAVE_LONG_LONG.
26873
26874 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26875 __GLIBC_HAVE_LONG_LONG.
26876
26877 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26878 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26879
39c59c35
TMQMF
268802012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26881
26882 [BZ #13691]
26883 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26884 inptr and inend, rather than using last_ch.
26885
135ffda8
DM
268862012-04-02 David S. Miller <davem@davemloft.net>
26887
26888 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26889 * stdio-common/printf-parse.h (read_int): Change return type to
26890 'int', return -1 on INT_MAX overflow.
26891 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26892 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26893 overflows INT_MAX. Check for overflow of in-format-string precision
26894 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26895 SIZE_MAX not INT_MAX for integer overflow test.
26896 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26897 skip the construct in the format string but do not record anything.
26898 * stdio-common/bug22.c: Adjust to test both width/prevision
26899 INT_MAX overflow as well as total length INT_MAX overflow. Check
26900 explicitly for proper errno values.
26901
228c019e
TS
269022012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26903
302cadd3
TS
26904 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26905 CHAR_MAX.
26906 * string/test-strcmp.c [! WIDE]: Likewise.
26907 * time/tst-mktime2.c: Likewise for INT_MAX.
26908 * string/test-string.h: #include <sys/param.h> for MIN.
26909
228c019e
TS
26910 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26911 * sysdeps/i386/init-first.c (init): Likewise.
26912 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26913 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26914 * sysdeps/sh/init-first.c (init): Likewise.
26915
cfa633f5
UD
269162012-04-01 Ulrich Drepper <drepper@gmail.com>
26917
26918 * po/ru.po: Update from translation team.
d1635ef8 26919 * po/vi.po: Likewise.
cfa633f5 26920
6cd0a5ea
SP
269212012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26922
26923 * resolv/nss_dns/dns-host.c: Merge copyright years.
26924
4b43400f
LD
269252012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26926
26927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26928 Optimize memcpy with prefetch if
26929 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26930 src, dst pointers have unequal 16 byte alignments.
26931
48c41d04
SP
269322012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26933
26934 [BZ #13928]
26935 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26936 from a CNAME entry and return the minimum ttl for the query.
26937 (gaih_getanswer_slice): Likewise.
26938
b8dc394d
JL
269392012-03-30 Jeff Law <law@redhat.com>
26940
26941 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26942 due to long keys.
26943 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26944 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26945
2f5a5ed0
JL
26946 * resolv/nss_dns/dns-host.c: Update copyright year.
26947
1d39e359
UD
269482012-03-30 Ulrich Drepper <drepper@gmail.com>
26949
c030f70c 26950 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26951 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26952
1d39e359
UD
26953 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26954 comments for sendmmsg.
26955
269562012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26957
26958 [BZ #13691]
26959 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26960 with only 1 character between 0x0041 and 0x01b0.
26961 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26962 * wcsmbs/tst-mbsnrtowcs.c: New file.
26963
20fde227
DM
269642012-03-29 David S. Miller <davem@davemloft.net>
26965
26966 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26967 small copies by hand.
26968
984a4237
JL
269692012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26970
26971 [BZ #13761]
26972 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26973 _nss_compat_initgroups_dyn): Fall back to malloc/free
26974 for large group memberships.
26975
18c9d62b
DM
269762012-03-28 David S. Miller <davem@davemloft.net>
26977
88d85d4f
DM
26978 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26979 that branches into memcpy.
26980 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26981 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26982 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26983 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26985 bits.
26986 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26987 implementation too.
26988 * sysdeps/sparc/mempcpy.S: New file.
26989
e5aa83e1
DM
26990 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26991 the IFUNC routine in the libc case.
26992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26993
88570753
DM
26994 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26995 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26996 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26997 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26998 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26999 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27000 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27001 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27002
249d7567
DM
27003 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27004 loop to 256 bytes instead of 64 bytes and fix test signedness.
27005
18c9d62b
DM
27006 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27007 * sysdeps/sparc/sparc32/Makefile: rather than here...
27008 * sysdeps/sparc/sparc64/Makefile: and here.
27009
05f3d1f6
UD
270102012-03-28 Ulrich Drepper <drepper@gmail.com>
27011
27012 * malloc/mallocbug.c: Avoid warnings about unused variables.
27013
86ae07a8
JL
270142012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27015
27016 [BZ #13760]
27017 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27018 in the right place. Discard and retry query if response is
27019 larger than input buffer size.
27020
41bf21a1
JM
270212012-03-28 Joseph Myers <joseph@codesourcery.com>
27022
d6270972
JM
27023 [BZ #369]
27024 [BZ #2678]
27025 [BZ #3866]
27026 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27027 x for large integer exponent.
27028 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27029 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27030 sign of result as needed afterwards.
27031 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27032 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27033 result for underflowing pow the same as for overflow.
27034 (__kernel_standard_l): Handle powl overflow and underflow here
27035 rather than calling __kernel_standard.
27036 * math/libm-test.inc (pow_test): Add more tests.
27037
414fca03 27038 [BZ #3868]
41bf21a1
JM
27039 [BZ #13879]
27040 [BZ #13910]
27041 [BZ #13911]
27042 [BZ #13912]
27043 [BZ #13913]
27044 [BZ #13915]
27045 [BZ #13916]
27046 [BZ #13917]
27047 [BZ #13918]
27048 [BZ #13919]
27049 [BZ #13920]
27050 [BZ #13921]
27051 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27052 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27053 (__kernel_standard_l): New function.
27054 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27055 __kernel_standard.
27056 * math/w_acosl.c (__acosl): Likewise.
27057 * math/w_asinl.c (__asinl): Likewise.
27058 * math/w_atan2l.c (__atan2l): Likewise.
27059 * math/w_atanhl.c (__atanhl): Likewise.
27060 * math/w_coshl.c (__coshl): Likewise.
27061 * math/w_exp10l.c (__exp10l): Likewise.
27062 * math/w_exp2l.c (__exp2l): Likewise.
27063 * math/w_fmodl.c (__fmodl): Likewise.
27064 * math/w_hypotl.c (__hypotl): Likewise.
27065 * math/w_j0l.c (__j0l, __y0l): Likewise.
27066 * math/w_j1l.c (__j1l, __y1l): Likewise.
27067 * math/w_jnl.c (__jnl, __ynl): Likewise.
27068 * math/w_lgammal.c (__lgammal): Likewise.
27069 * math/w_log10l.c (__log10l): Likewise.
27070 * math/w_log2l.c (__log2l): Likewise.
27071 * math/w_logl.c (__logl): Likewise.
27072 * math/w_powl.c (__powl): Likewise.
27073 * math/w_remainderl.c (__remainderl): Likewise.
27074 * math/w_scalbl.c (sysv_scalbl): Likewise.
27075 * math/w_sinhl.c (__sinhl): Likewise.
27076 * math/w_sqrtl.c (__sqrtl): Likewise.
27077 * math/w_tgammal.c (__tgammal): Likewise.
27078 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27079 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27080 * math/libm-test.inc (acos_test): Add more tests.
27081 (acosh_test): Likewise.
27082 (asin_test): Likewise.
27083 (atanh_test): Likewise.
27084 (exp_test): Likewise.
27085 (exp10_test): Likewise.
27086 (exp2_test): Likewise.
27087 (expm1_test): Likewise.
27088 (lgamma_test): Likewise.
27089 (log_test): Likewise.
27090 (log10_test): Likewise.
27091 (log1p_test): Likewise.
27092 (log2_test): Likewise.
27093 (pow_test): Do not allow some spurious overflow exceptions.
27094 (sqrt_test): Add more tests.
27095 (tgamma_test): Likewise.
27096 (y0_test): Likewise.
27097 (y1_test): Likewise.
27098 (yn_test): Likewise.
27099
dd62fda6
AB
271002012-03-27 Anton Blanchard <anton@samba.org>
27101
27102 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27103 MAP_HUGETLB.
27104 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27105 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27106 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27107
1e3cdfda
AJ
271082012-03-27 David S. Miller <davem@davemloft.net>
27109
b855ab85
DM
27110 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27111
1e3cdfda
AJ
27112 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27113 have-as-vis3 check.
27114
271152012-03-27 Andreas Jaeger <aj@suse.de>
27116
27117 * sysdeps/x86_64/elf/configure.in: Moved to ...
27118 * sysdeps/x86_64/configure.in: ... here.
27119 * sysdeps/x86_64/elf/start.S: Moved to ...
27120 * sysdeps/x86_64/start.S: ... here.
27121 * sysdeps/x86_64/elf/configure: Delete.
27122
27123 * sysdeps/x86_64/configure.in: Merge contents from
27124 sysdeps/i386/configure.in (without i686 check).
27125
27126 * sysdeps/i386/elf/Versions: Merge into ...
27127 * sysdeps/i386/Versions: ... this.
27128 * sysdeps/i386/elf/Versions: Delete file.
27129 * sysdeps/i386/elf/start.S: Moved to ...
27130 * sysdeps/i386/start.S: ...here.
27131 * sysdeps/i386/elf/configure.in: Merge into...
27132 * sysdeps/i386/configure.in: ...here.
27133 * sysdeps/i386/elf/configure.in: Delete file.
27134 * sysdeps/i386/elf/configure: Delete file.
27135
27136 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27137 * debug/backtracesyms.c: ... here.
27138 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27139 * debug/backtracesymsfd.c: ... here.
27140 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27141 * sysdeps/generic/ifunc-sel.h: ... here.
27142
27143 * sysdeps/unix/i386/start.c: Delete file.
27144 * sysdeps/unix/sparc/start.c: Delete file.
27145 * sysdeps/unix/start.c: Delete file.
27146
27147 * sysdeps/sh/elf/configure.in: Moved to ...
27148 * sysdeps/sh/configure.in: ... here.
27149 * sysdeps/sh/elf/start.S: Moved to ...
27150 * sysdeps/sh/start.S: ... here.
27151 * sysdeps/sh/elf/configure: Delete file.
27152
27153 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27154 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27155 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27156 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27157 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27158 * sysdeps/powerpc/powerpc64/start.S: here.
27159 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27160 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27161 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27162 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27163 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27164
27165 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27166 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27167 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27168 * sysdeps/powerpc/powerpc32/start.S: ... here.
27169 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27170 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27171 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27172
27173 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27174 * sysdeps/powerpc/ifunc-sel.h: ... here.
27175 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27176 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27177
27178 * sysdeps/sparc/elf/configure.in: Moved to ...
27179 * sysdeps/sparc/configure.in: ... here.
27180 * sysdeps/sparc/elf/configure: Delete file.
27181 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27182 * sysdeps/sparc/sparc32/start.S: ... here.
27183 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27184 * sysdeps/sparc/sparc64/start.S: ... here.
27185 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27186 * sysdeps/sparc/sparc32/Makefile: ... this.
27187 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27188 * sysdeps/sparc/sparc64/Makefile: ... this.
27189
27190 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27191 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27192 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27193 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27194 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27195 * sysdeps/s390/s390-32/setjmp.S: ... here.
27196 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27197 * sysdeps/s390/s390-32/configure.in: ... here.
27198 * sysdeps/s390/s390-32/elf/configure: Delete file.
27199 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27200 * sysdeps/s390/s390-32/start.S: ... here.
27201
27202 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27203 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27204 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27205 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27206 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27207 * sysdeps/s390/s390-64/setjmp.S: ... here.
27208 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27209 * sysdeps/s390/s390-64/configure.in: ... here
27210 * sysdeps/s390/s390-64/elf/configure: Delete file.
27211 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27212 * sysdeps/s390/s390-64/start.S: ... here.
27213 * sysdeps/s390/s390-64/elf/configure: Delete.
27214
27215 * configure.in: Remove support for elf directories in sysdeps.
27216
27217 * configure: Regenerated.
27218 * sysdeps/i386/configure: Regenerated.
27219 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27220 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27221 * sysdeps/s390/s390-32/configure: Regenerated.
27222 * sysdeps/s390/s390-64/configure: Regenerated.
27223 * sysdeps/sh/configure: Regenerated.
27224 * sysdeps/sparc/configure: Regenerated.
27225 * sysdeps/x86_64/configure: Regenerated.
27226
a3f61311
AS
272272012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27228
c876e002
AS
27229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27230
a3f61311
AS
27231 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27232 denormal result into account.
27233
ac4c54f0
RM
272342012-03-25 Roland McGrath <roland@hack.frob.com>
27235
27236 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27237 Reported by Allan McRae <allan@archlinux.org>.
27238
6a9b9c02
JL
272392012-03-23 Jeff Law <law@redhat.com>
27240
27241 * nss/getnssent.c (__nss_getent): Fix typo.
27242
4c42a0c1
DM
272432012-03-23 David S. Miller <davem@davemloft.net>
27244
27245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27246
1532c7ac
L
272472012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27248
27249 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27250 to pad to uint64_t for each field.
27251 (dl_tls_index): Replace unsigned long with uint64_t.
27252
3ff42526
PP
272532012-03-23 Daniel Jacobowitz <dmj@google.com>
27254 Paul Pluzhnikov <ppluzhnikov@google.com>
27255
27256 [BZ #6528]
27257 * grp/Makefile (otherlibs): Don't set it.
27258 * inet/Makefile (otherlibs): Likewise.
27259 * login/Makefile (otherlibs): Likewise.
27260 * nscd/Makefile (otherlibs): Likewise.
27261 * posix/Makefile (otherlibs): Likewise.
27262 * pwd/Makefile (otherlibs): Likewise.
27263 * rt/Makefile (otherlibs): Likewise.
27264 * sunrpc/Makefile (otherlibs): Likewise.
27265 * nss/Makefile (otherlibs): Likewise.
27266 Add libnss_files to routines and static-only-routines.
27267 ($(objpfx)getent): Remove rule.
27268 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27269 static-only-routines.
27270
7c69cd14
JM
272712012-03-22 Joseph Myers <joseph@codesourcery.com>
27272
27273 [BZ #13892]
27274 * math/s_cexp.c: Include <float.h>.
27275 (__cexp): Handle exp result overflowing not necessarily
27276 overflowing both real and imaginary parts of result.
27277 * math/s_cexpf.c: Likewise.
27278 * math/s_cexpl.c: Likewise.
27279 * math/libm-test.inc (cexp_test): Add more tests.
27280 * sysdeps/i386/fpu/libm-test-ulps: Update.
27281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27282
81b035fe
L
272832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27284
27285 * include/link.h (ELFW): New macro.
27286 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27287 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27288
1da7940c
L
272892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27290
27291 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27292 with uint64_t.
27293
b749dbb9
L
272942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27295
27296 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27297 declaration.
27298 (struct La_x32_retval): Likewise.
27299
2ff87f3f
L
273002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27301
27302 * sysdeps/x86_64/preconfigure.in: New file.
27303 * sysdeps/x86_64/preconfigure: New generated file.
27304
c0df8e69
JM
273052012-03-22 Joseph Myers <joseph@codesourcery.com>
27306
48e44791
JM
27307 [BZ #13824]
27308 * math/e_exp2l.c: Include <float.h>.
27309 (__ieee754_exp2l): Handle overflow and underflow cases
27310 separately. Only pass fractional part of argument to
27311 __ieee754_expl.
27312 * math/libm-test.inc (exp2_test): Add more tests.
27313
c0df8e69
JM
27314 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27315 negating x to take absolute value.
27316 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27317 Likewise.
27318 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27319 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27320 Likewise.
27321 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27322 computing low part if x was negated.
27323 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27324
c8e43ba7
L
273252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27326
27327 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27328 la_x32_gnu_pltexit.
27329 (pltexit): Cast int_retval to ptrdiff_t.
27330 * elf/tst-auditmod3b.c: Likewise.
27331 * elf/tst-auditmod4b.c: Likewise.
27332 * elf/tst-auditmod5b.c: Likewise.
27333 * elf/tst-auditmod6b.c: Likewise.
27334 * elf/tst-auditmod6c.c: Likewise.
27335 * elf/tst-auditmod7b.c: Likewise.
27336
27337 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27338 and x32_gnu_pltexit.
27339
27340 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27341 __ELF_NATIVE_CLASS.
27342 (La_x32_regs): New macro.
27343 (La_x32_retval): Likewise.
27344 (la_x32_gnu_pltenter): New function prototype.
27345 (la_x32_gnu_pltexit): Likewise.
27346
7998fa78
AS
273472012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27348
dcb33988
AS
27349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27350 exponent.
27351
233fc563
AS
27352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27353
7998fa78
AS
27354 * configure.in (libc_cv_cc_nofma): Check for option to disable
27355 generation of FMA instructions.
27356 * configure: Regenerate.
27357 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27358 * sysdeps/ieee754/dbl-64/Makefile: New file.
27359 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27360 Remove brandred-fma4.
27361 (CFLAGS-brandred-fma4.c): Remove.
27362 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27364 define.
27365 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27366 define.
27367
8e95c99a
L
273682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27369
27370 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27371 LLONG_MAX != LONG_MAX.
27372 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27373 (_fitoa_word): Likewise.
27374 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27375 LLONG_MAX != LONG_MAX.
27376 * stdio-common/_itowa.h: Include <_itoa.h>.
27377 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27378 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27379 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27380 only if not defined.
27381 (_ITOA_WORD_TYPE): Likewise.
27382 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27383 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27384
6f4db457
DM
273852012-03-21 David S. Miller <davem@davemloft.net>
27386
27387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27388
7785fe5a
L
273892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27390
27391 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27392 of x86_64 when setting libc_cv_slibdir, libdir and
27393 libc_cv_localedir.
27394 * sysdeps/unix/sysv/linux/configure: Regenerated.
27395
4535cd55
JM
273962012-03-21 Joseph Myers <joseph@codesourcery.com>
27397
27398 * manual/lang.texi (Old Varargs): Remove section.
27399 (How Variadic): Update menu.
27400 (va_start): Do not mention varargs.h.
27401
17228132
TS
274022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27403 Joseph Myers <joseph@codesourcery.com>
27404
27405 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27406 link test.
27407 * configure: Regenerated.
27408
8149f976
TS
274092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27410
05f3d1f6
UD
27411 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27412 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27413 conformtest.pl
8149f976 27414
1a4ac776
JM
274152012-03-21 Joseph Myers <joseph@codesourcery.com>
27416
be22ce65
JM
27417 * NOTES: Remove.
27418 * Makefile (files-for-dist): Remove NOTES.
27419 (NOTES): Remove rule.
27420 * README: Don't refer to NOTES.
27421 * manual/creature.texi: Don't include macros.texi.
27422 * manual/intro.texi (creature.texi): Remove comment referring to
27423 NOTES.
27424
40b601fb
JM
27425 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27426 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27427 * configure: Regenerated.
27428 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27429 LIBC_TRY_CC_OPTION.
27430 (libc_cv_as_i686): Likewise.
27431 (libc_cv_cc_avx): Likewise.
27432 (libc_cv_cc_sse2avx): Likewise.
27433 (libc_cv_cc_fma4): Likewise.
27434 (libc_cv_cc_novzeroupper): Likewise.
27435 * sysdeps/i386/configure: Regenerated.
27436
1a4ac776
JM
27437 [BZ #13883]
27438 * sysdeps/i386/fpu/s_cexp.S: Remove.
27439 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27440 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27441 * math/libm-test.inc (cexp_test): Add more tests.
27442 * sysdeps/i386/fpu/libm-test-ulps: Update.
27443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27444
a458e7fe
AM
274452012-03-21 Allan McRae <allan@archlinux.org>
27446
27447 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27448
0cb7efc5
JM
274492012-03-21 Joseph Myers <joseph@codesourcery.com>
27450
27451 [BZ #13871]
27452 * math/w_exp2.c: Do not include <float.h>.
27453 (o_threshold, u_threshold): Remove.
27454 (__exp2): Calculate result before checking finiteness and calling
27455 __kernel_standard.
27456 * math/w_exp2f.c: Likewise.
27457 * math/w_exp2l.c: Likewise.
27458 * math/libm-test.inc (exp2_test): Require overflow exception for
27459 1e6 input.
2460d3aa
JM
27460
27461 [BZ #3866]
27462 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27463 range of signed 64-bit integers before using fistpll. Remove
27464 checks for whether integers fit in mantissa bits.
27465 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27466 the range of signed 32-bit integers before using fistpl. Remove
27467 checks for whether integers fit in mantissa bits.
27468 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27469 (__ieee754_powl): Test for y outside the range of signed 64-bit
27470 integers before using fistpll. Reduce 64-bit values to 63-bit
27471 ones as needed.
27472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27473 divide-by-zero is raised for zero to large negative powers.
27474 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27475 (__ieee754_powl): Test for y outside the range of signed 64-bit
27476 integers before using fistpll. Reduce 64-bit values to 63-bit
27477 ones as needed.
27478 * math/libm-test.inc (pow_test): Add more tests.
27479
eb96ffb0
L
274802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27481
27482 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27483 <stdio-common/_itoa.h>.
27484 * debug/segfault.c: Likewise.
27485 * elf/dl-cache.c: Likewise.
27486 * elf/dl-minimal.c: Likewise.
27487 * elf/dl-misc.c: Likewise.
27488 * elf/dl-sysdep.c: Likewise.
27489 * elf/dl-version.c: Likewise.
27490 * elf/rtld.c: Likewise.
27491 * hurd/hurdsock.c: Likewise.
27492 * hurd/lookup-retry.c: Likewise.
27493 * malloc/malloc.c: Likewise.
27494 * malloc/mtrace.c: Likewise.
27495 * nscd/nscd_getgr_r.c: Likewise.
27496 * nscd/nscd_getpw_r.c: Likewise.
27497 * nscd/nscd_getserv_r.c: Likewise.
27498 * posix/getopt_init.c: Likewise.
27499 * posix/wordexp.c: Likewise.
27500 * stdio-common/_itoa.c: Likewise.
27501 * stdio-common/printf_fphex.c: Likewise.
27502 * stdio-common/vfprintf.c: Likewise.
27503 * string/_strerror.c: Likewise.
27504 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27505 * sysdeps/i386/i686/hp-timing.h: Likewise.
27506 * sysdeps/mach/_strerror.c: Likewise.
27507 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27508 * sysdeps/mach/hurd/sethostid.c: Likewise.
27509 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27510 * sysdeps/mach/xpg-strerror.c: Likewise.
27511 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27512 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27513 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27514 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27515 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27516 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27517 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27518 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27519 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27520 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27521 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27522 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27523 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27524 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27525 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27526 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27527 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27528 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27529 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27530 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27531 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27532
27533 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27534
27535 * stdio-common/_itoa.h: Moved to ...
27536 * sysdeps/generic/_itoa.h: Here.
27537
27538 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27539
27540 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27541 instead of "_itoa.h" and "_itowa.h".
27542 * stdio-common/vfprintf.: Likewise.
27543
d1af992d
L
275442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27545
27546 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27547 <bits/wordsize.h>.
27548 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27549 (__signbit): Likwise.
27550 (llrintf): Likwise.
27551 (llrint): Likwise.
27552
114883e0
L
275532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27554
27555 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27556 __WORDSIZE != 64.
27557
c135cc1b
JM
275582012-03-20 Joseph Myers <joseph@codesourcery.com>
27559
27560 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27561 OVERFLOW_EXCEPTION_OK.
27562 * math/libm-test.inc ("Philosophy"): Update comment about
27563 exception testing.
27564 (OVERFLOW_EXCEPTION): Define.
27565 (OVERFLOW_EXCEPTION_OK): Likewise.
27566 (INVALID_EXCEPTION_OK): Renumber.
27567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27568 (IGNORE_ZERO_INF_SIGN): Likewise.
27569 (test_exceptions): Handle FE_OVERFLOW.
27570 (exp10_test): Expect overflow exceptions.
27571 (exp2_test): Likewise.
27572 (expm1_test): Likewise.
27573 (nextafter_test): Likewise.
27574 (pow_test): Likewise.
27575 (scalbn_test): Likewise.
27576 (scalbln_test): Likewise.
27577
95443d88
L
275782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27579
27580 * sysdeps/x86_64/bits/atomic.h
27581 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27582 64bit integer.
27583 (atomic_exchange_acq): Likewise.
27584 (__arch_exchange_and_add_body): Likewise.
27585 (__arch_add_body): Likewise.
27586 (atomic_add_negative): Likewise.
27587 (atomic_add_zero): Likewise.
27588
490df6c4
L
275892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27590
c2722551 27591 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27592 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27593
5e52b189
L
275942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27595
27596 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27597 Check __x86_64__ instead of __WORDSIZE.
27598
a9879d4c
L
275992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27600
27601 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27602
5df98260
DM
276032012-03-19 David S. Miller <davem@davemloft.net>
27604
e1497744
DM
27605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27606
5df98260
DM
27607 * sysdeps/sparc/fpu/fenv_private.h: New file.
27608 * sysdeps/sparc/fpu/math_private.h: Use it.
27609 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27610 Remove.
27611 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27612 (libc_feholdexcept_setroundl): Remove.
27613 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27614 Remove.
27615 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27616 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27617
b4c35121
L
276182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27619
27620 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27621 int64_t instead of long int.
27622 (INSERT_WORDS64): Likwise.
27623
56965fd7
L
276242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27625
27626 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27627 _Unwind_GetCFA return to _Unwind_Ptr first.
27628
83d1aec8
JM
276292012-03-19 Joseph Myers <joseph@codesourcery.com>
27630
1897ad44
JM
27631 [BZ #13629]
27632 * math/s_clog.c: Include <float.h>.
27633 (__clog): Scale large or subnormal inputs.
27634 * math/s_clogf.c: Likewise.
27635 * math/s_clogl.c: Likewise.
27636 * math/s_clog10.c: Include <float.h>.
27637 (M_LOG10_2): Define.
27638 (__clog10): Scale large or subnormal inputs.
27639 * math/s_clog10f.c: Likewise.
27640 * math/s_clog10l.c: Likewise.
27641 * math/libm-test.inc (clog_test): Add more tests.
27642 (clog10_test): Likewise.
27643 * sysdeps/i386/fpu/libm-test-ulps: Update.
27644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27645
7726d6a9
JM
27646 [BZ #11451]
27647 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27648 x and y.
27649 * math/libm-test.inc (atan2_test): Add another test.
27650
83d1aec8
JM
27651 * Makerules (common-objdir-compile): Remove.
27652 * sysdeps/unix/Makefile (config-generated): Do not add
27653 $(unix-generated) to variable.
27654 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27655 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27656 Remove rule.
27657 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27658 Likewise.
27659 [generic bits/local_lim.h] (before-compile): Do not append to
27660 variable.
27661 [generic bits/local_lim.h] (common-generated): Likewise.
27662 [generic sys/param.h] (before-compile): Do not append to variable.
27663 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27664 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27665 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27666 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27667 include.
27668 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27669 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27670 [generic sys/param.h] ($(addprefix
27671 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27672 [generic sys/param.h] (common-generated): Do not append to
27673 variable.
27674 [generic sys/param.h] (sysdep_headers): Likewise.
27675 [generic bits/errno.h] (before-compile): Do not append to
27676 variable.
27677 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27678 rule.
27679 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27680 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27681 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27682 [generic bits/errno.h] (common-generated): Do not append to
27683 variable.
27684 [generic bits/ioctls.h] (before-compile): Do not append to
27685 variable.
27686 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27687 rule.
27688 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27689 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27690 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27691 rule.
27692 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27693 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27694 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27695 [generic bits/ioctls.h] (common-generated): Do not append to
27696 variable.
27697 [generic sys/syscall.h] (syscall.h): Remove variable.
27698 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27699 rule.
27700 [generic sys/syscall.h] (before-compile): Do not append to
27701 variable.
27702 [generic sys/syscall.h] (common-generated): Likewise.
27703 * sysdeps/unix/errnos-tmpl.c: Remove file.
27704 * sysdeps/unix/errnos.awk: Likewise.
27705 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27706 * sysdeps/unix/ioctls.awk: Likewise.
27707 * sysdeps/unix/mk-local_lim.c: Likewise.
27708 * sysdeps/unix/snarf-ioctls: Likewise.
27709
4851a949
RH
277102012-03-19 Richard Henderson <rth@twiddle.net>
27711
bd37f2ee
RH
27712 * sysdeps/i386/fpu/fenv_private.h: New file.
27713 * sysdeps/i386/fpu/math_private.h: Use it.
27714 (math_opt_barrier, math_force_eval): Remove.
27715 (libc_feholdexcept_setround_53bit): Remove.
27716 (libc_feupdateenv_53bit): Remove.
27717 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27718 (math_opt_barrier, math_force_eval): Remove.
27719 (libc_feholdexcept): Remove.
27720 (libc_feholdexcept_setround): Remove.
27721 (libc_fetestexcept, libc_fesetenv): Remove.
27722 (libc_feupdateenv_test): Remove.
27723 (libc_feupdateenv, libc_feholdsetround): Remove.
27724 (libc_feresetround): Remove.
27725
d0adc922
RH
27726 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27727 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27728
0fe0f1f8
RH
27729 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27730 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27731 (libc_feupdateenv_testl): New.
27732 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27733 (libc_feupdateenv_testf): New.
27734 (libc_feupdateenv): Use libc_feupdateenv_test.
27735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27737
eb92c487
RH
27738 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27739 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27740 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27741 (libc_feresetround_noex): New.
27742 (libc_feresetround_noexf): New.
27743 (libc_feresetround_noexl): New.
27744 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27745 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27746 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27747 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27748 SET_RESTORE_ROUND.
27749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27750 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27751 (__cos): Likewise.
27752 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27753 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27754 SET_RESTORE_ROUND_NOEX.
27755 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27756 SET_RESTORE_ROUND_NOEXF.
27757 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27758 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27759 (libc_feholdsetroundf): New.
27760 (libc_feresetround, libc_feresetroundf): New.
27761
7d2e8012
RH
27762 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27763 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27764 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27765
b4dabbb4
RH
27766 * sysdeps/generic/math_private.h: Include <fenv.h>.
27767 (default_libc_feholdexcept): New.
27768 (default_libc_feholdexcept_setround): New.
27769 (default_libc_fesetenv, default_libc_feupdateenv): New.
27770 (libc_feholdexcept): Only define if undefined.
27771 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27772 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27773 (libc_feholdexcept_setroundl): Likewise.
27774 (libc_feholdexcept_setround_53bit): Likewise.
27775 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27776 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27777 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27778 (libc_feupdateenv_53bit): Likewise.
27779 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27780 (libc_feholdexcept): Convert from macro to inline function.
27781 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27782 (libc_fesetenv, libc_feupdateenv): Likewise.
27783
4851a949
RH
27784 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27785 not previously defined.
27786 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27787 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27788 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27789 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27790 * sysdeps/ieee754/flt-32/math_private.h: New file.
27791 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27792 math_private.h below SET_FLOAT_WORD.
27793 (__isnan, __isinf_ns, __finite): Remove.
27794 (__isnanf, __isinf_nsf, __finitef): Remove.
27795
e79d442e
AS
277962012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27797
27798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27799
90b80344
DM
278002012-03-17 David S. Miller <davem@davemloft.net>
27801
27802 [BZ #6471]
27803 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27804 for 2.16.
27805
edc21804
DM
278062012-03-16 David S. Miller <davem@davemloft.net>
27807
77e927af
DM
27808 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27809 warnings.
27810
374976dd
DM
27811 [BZ #6471]
27812 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27813 properly.
27814 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27815 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27816 sysdep_routines when subdir is sysvipc.
27817 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27818 __getshmlba helper.
27819
edc21804
DM
27820 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27821
473c3ef3
L
278222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27823
27824 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27825 [__LP64__].
27826
eb0f39b6
L
278272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27828
27829 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27830 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27831 (__lround): Renamed to ...
27832 (__llround): This. Replace long int with long long int.
27833 Define lround functions as aliases of llround functions.
27834 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27835
6b6cd74b
L
278362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27837
27838 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27839 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27840 adresses to uintptr_t. Replace "long int" and "unsigned long
27841 int" with "greg_t" on va_arg.
27842
f1a77b01
L
278432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27844
27845 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27846 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27847
27848 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27849 Move e_machine check before EI_CLASS check. Handle x32
27850 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27851 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27852 SKIP_EM_IA_64 and include
27853 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27854
27855 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27856 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27857 (add_system_dir): New macro.
27858
27859 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27860 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27861
11b90b9f
JM
278622012-03-16 Joseph Myers <joseph@codesourcery.com>
27863
c36e1d23
JM
27864 [BZ #2551]
27865 [BZ #2552]
27866 [BZ #2553]
27867 [BZ #2554]
27868 [BZ #2562]
27869 [BZ #2563]
27870 [BZ #2565]
27871 [BZ #2566]
27872 [BZ #2576]
27873 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27874 (y0): Likewise.
27875 * math/w_j0f.c (j0f): Likewise.
27876 (y0f): Likewise.
27877 * math/w_j0l.c (__j0l): Likewise.
27878 (__y0l): Likewise.
27879 * math/w_j1.c (j1): Likewise.
27880 (y1): Likewise.
27881 * math/w_j1f.c (j1f): Likewise.
27882 (y1f): Likewise.
27883 * math/w_j1l.c (__j1l): Likewise.
27884 (__y1l): Likewise.
27885 * math/w_jn.c (jn): Likewise.
27886 (yn): Likewise.
27887 * math/w_jnf.c (jnf): Likewise.
27888 (ynf): Likewise.
27889 * math/w_jnl.c (__jnl): Likewise.
27890 (__ynl): Likewise.
27891 * math/libm-test.inc (j0_test): Add more tests.
27892 (j1_test): Likewise.
27893 (jn_test): Likewise. Add trailing semicolon to existing test.
27894 (y0_test): Likewise.
27895 (y1_test): Likewise.
27896 * sysdeps/i386/fpu/libm-test-ulps: Update.
27897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27898
11b90b9f
JM
27899 [BZ #13851]
27900 [BZ #13854]
27901 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27902 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27903 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27904 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27905 (__tanl): Set errno for infinite argument.
27906 * sysdeps/i386/fpu/mptan.c: Remove.
27907 * sysdeps/i386/fpu/s_tan.S: Likewise.
27908 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27909 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27910 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27911 * math/libm-test.inc (tan_test): Add more tests and enable more
27912 tests for double and long double.
27913 * sysdeps/i386/fpu/libm-test-ulps: Update.
27914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27915
6a1bd2a1
JK
279162012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27917
27918 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27919 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27920
10a803e0
RM
279212012-03-16 Roland McGrath <roland@hack.frob.com>
27922
27923 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27924 * configure.in: Use it for both main tree and add-ons.
27925 * configure: Regenerated.
27926
f196c7f7
L
279272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27928
27929 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27930
8848d99d
JM
279312012-03-16 Joseph Myers <joseph@codesourcery.com>
27932
96cbe7f4
JM
27933 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27934 in comment.
27935
8848d99d
JM
27936 [BZ #13851]
27937 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27938 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27939 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27940 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27941 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27942 infinite argument.
27943 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27944 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27945 != 0 for prec == 2.
27946 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27947 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27948 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27949 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27950 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27951 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27952 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27953 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27954 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27955 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27956 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27957 * math/libm-test.inc (cos_test): Add more tests and enable more
27958 tests for long double.
27959 (sin_test): Likewise.
27960 (sincos_test): Likewise.
27961 * sysdeps/i386/fpu/libm-test-ulps: Update.
27962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27963
dd7f4703
DM
279642012-03-16 David S. Miller <davem@davemloft.net>
27965
27966 * sysdeps/sparc/fpu/math_private.h: New file.
27967
006f1daa
DM
279682012-03-15 David S. Miller <davem@davemloft.net>
27969
c0c83bc8
DM
27970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27971 file.
e6a62e18 27972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27974 file.
e6a62e18
DM
27975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27981 sysdep routines.
27982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27983
88cb87d9
DM
27984 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27985 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27986
006f1daa 27987 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27989 sparc-ifunc.h
006f1daa 27990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27992 Likewise.
27993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27994 Likewise.
006f1daa
DM
27995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27999 Likewise.
006f1daa
DM
28000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28005 Likewise.
28006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28007 Likewise.
006f1daa
DM
28008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28026 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28027 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28028 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28029 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28032
11e0098e
AS
280332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28034
28035 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28036 scaling.
28037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28038
e85b09d0
AJ
280392012-03-15 Andreas Jaeger <aj@suse.de>
28040
28041 [BZ #13852]
28042 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28043 ieee754/flt-32 implementation for sin, cos and sincos.
28044 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28045 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28046 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28047 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28048 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28049 ieee754/flt-32 implementation for tan.
28050
28051 * math/libm-test.inc (cos_test): Enable some large input tests for
28052 float as well
28053 (sin_test): Likewise.
28054 (sincos_test): Likewise.
28055 (tan_test): Add tests for large input.
28056
28057 * sysdeps/i386/fpu/libm-test-ulps: Update.
28058
81c64153
AJ
280592012-03-15 Andreas Jaeger <aj@suse.de>
28060
28061 [BZ #13658]
28062 * math/libm-test.inc (cos_test): Add more test cases.
28063 (sin_test): Likewise.
28064 (sincos_test): Likewise.
28065
7bbfa5c6
AJ
280662012-03-15 Andreas Jaeger <aj@suse.de>
28067
28068 [BZ #13837]
28069 * math/libm-test.inc (cos_test): Add a test case for large input
28070 value.
28071 (sin_test): Likewise.
28072 (sincos_test): Likewise.
28073
280742012-03-15 Andreas Jaeger <aj@suse.de>,
28075 Joseph Myers <joseph@codesourcery.com>
28076
28077 [BZ #13658]
0671f479 28078 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28079 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28080 * sysdeps/i386/fpu/branred.c: Likewise.
28081 * sysdeps/i386/fpu/dosincos.c: Likewise.
28082 * sysdeps/i386/fpu/mpa.c: Likewise.
28083 * sysdeps/i386/fpu/s_cos.S: Likewise.
28084 * sysdeps/i386/fpu/s_sin.S: Likewise.
28085 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28086 * sysdeps/i386/fpu/sincos32.c: Likewise.
28087
28088 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28089 Define.
28090 (libc_feupdateenv_53bit): Define.
28091 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28092 Define.
28093 (libc_feupdateenv_53bit): Define.
28094
28095 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28096 53 bit (without extend i386 double precision).
28097
28098 * math/libm-test.inc (sincos_test): Add tests for large input.
28099 (sin): Likewise.
28100 (cos): Likewise.
28101
28102 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28103
9cad04ea
AS
281042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28105
28106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28107
f7062b9a
DM
281082012-03-15 David S. Miller <davem@davemloft.net>
28109
28110 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28111 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28112 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28113 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28126 file.
f7062b9a 28127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28129 file.
f7062b9a 28130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28132 file.
f7062b9a 28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28135 file.
f7062b9a
DM
28136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28138 fmin/fmax sysdep routines.
28139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28140
7bd951ff
DM
281412012-03-14 David S. Miller <davem@davemloft.net>
28142
559398ab
DM
28143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28172 routines.
28173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28174 file.
559398ab 28175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28177 file.
559398ab 28178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28180 file.
559398ab 28181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28183 file.
559398ab 28184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28186 file.
559398ab 28187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28189 file.
28190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28191 file.
28192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28193 file.
28194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28195 file.
28196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28197 New file.
28198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28199 file.
28200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28201 file.
559398ab 28202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28204 file.
559398ab 28205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28207 file.
559398ab 28208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28210 file.
559398ab 28211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28213 VIS3 routines.
559398ab
DM
28214
28215 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28216 New file.
28217
5a1c1e32
DM
28218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28219
eae47a36
DM
28220 * sysdeps/sparc/configure.in: New file.
28221 * sysdeps/sparc/configure: Generate.
28222 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28223 * configure: Regenerate.
28224 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28225 * config.make.in (have-as-vis3): New.
28226 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28227 available use -Av9d instead of -Av9a.
28228 * sysdeps/sparc/sparc64/Makefile: Likewise.
28229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28231 New file.
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28233 file.
28234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28235 New file.
28236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28237 file.
eae47a36
DM
28238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28239 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28243
c0c83bc8
DM
28244 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28245 fzeros/fnegs to load 0x80000000 into a float register instead of
28246 using the stack.
7bd951ff
DM
28247 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28248
bd951ccb
JM
282492012-03-14 Joseph Myers <joseph@codesourcery.com>
28250
28251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28252 bits/syscall.h.
28253 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28254 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28255 ($(inst_includedir)/bits/syscall.h): Remove rule.
28256 ($(objpfx)bits/syscall.d): Include instead of
28257 $(objpfx)syscall-list.d.
28258 (generated): Change syscall-list.h and syscall-list.d to
28259 bits/syscall.h and bits/syscall.d.
28260
bb4e6db2
RM
282612012-03-14 Roland McGrath <roland@hack.frob.com>
28262
28263 [BZ #13846]
28264 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28265
aa4a2ae1
JM
282662012-03-14 Joseph Myers <joseph@codesourcery.com>
28267
e456826d
JM
28268 [BZ #13841]
28269 * math/s_csqrt.c: Include <float.h>.
28270 (__csqrt): Scale large or subnormal inputs.
28271 * math/s_csqrtf.c: Likewise.
28272 * math/s_csqrtl.c: Likewise.
28273 * math/libm-test.inc (csqrt_test): Add more tests.
28274 * sysdeps/i386/fpu/libm-test-ulps: Update.
28275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28276
aa4a2ae1
JM
28277 [BZ #13840]
28278 * math/libm-test.inc (hypot_test): Add more tests.
28279
7c10fd35
DM
282802012-03-13 David S. Miller <davem@davemloft.net>
28281
28282 [BZ #13840]
28283 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28284 double-precision for the calculation instead of scaling.
28285
f453b98b
JM
282862012-03-13 Joseph Myers <joseph@codesourcery.com>
28287
28288 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28289 manipulate bits before adding and subtracting TWO52[sx].
28290 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28291 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28292 Likewise.
28293 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28294
09a3453f
DM
282952012-03-13 David S. Miller <davem@davemloft.net>
28296
8e59da90
DM
28297 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28298 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28300 rtld-global-offsets.h
28301 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28302
2a8ab7f2
DM
28303 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28304 large parameters.
28305
10f62770
DM
28306 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28307
5f0bdb18
DM
28308 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28309 'err' in the ifdef scope in which it is actually used.
28310
09a3453f
DM
28311 * nss/nss_db/db-init.c: Include string.h
28312
b4b2eb5e
DM
283132012-03-12 David S. Miller <davem@davemloft.net>
28314
98bb2f1c
DM
28315 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28316 masking out of the most significant byte of random value used.
28317 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28318 Fix coding style in previous change.
28319
b4b2eb5e
DM
28320 * sysdeps/unix/sysv/linux/kernel-features.h
28321 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28322 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28323 expression.
28324 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28325 later.
28326
6e226b09
DM
283272012-03-11 David S. Miller <davem@davemloft.net>
28328
a1bcbd40
DM
28329 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28330 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28332 for 'resultvar' otherwise things get truncated on 64-bit.
28333
cb9d6174
DM
28334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28335 Fix masking out of the most significant byte of random value used.
28336
6e226b09
DM
28337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28338
058c132d
AS
283392012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28340
28341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28342
2d2cd515
DM
283432012-03-09 David S. Miller <davem@davemloft.net>
28344
28345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28346 variables with appropriate CPP guards.
28347 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28348 frame pointer, not the stack pointer. Correct layout comments. Fix test
28349 on resulting framesize and the management of the outregs buffer for pltexit.
28350 Preserve floating point return values across _dl_call_pltexit call.
28351 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28352 framesize and the management of the outregs buffer for pltexit.
28353 Preserve floating point return values across _dl_call_pltexit
28354 call.
28355 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28356 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28357 (print_exit): Fix format string for return register value.
28358
9a07f9d0
JM
283592012-03-10 Joseph Myers <joseph@codesourcery.com>
28360
28361 * sunrpc/Makefile (others): Add rpcgen.
28362 ($(objpfx)rpcgen): Remove special build rule and dependency on
28363 libc.
28364 * sunrpc/rpcgen.c: New file.
28365
547b5e30
PE
283662012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28367
c524201a
PE
28368 [BZ #13673]
28369 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28370 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28371 * sysdeps/i386/crti.S: Likewise.
28372 * sysdeps/i386/crtn.S: Likewise.
28373 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28374 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28375 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28376 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28377 * sysdeps/sh/crti.S: Likewise.
28378 * sysdeps/sh/crtn.S: Likewise.
28379 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28380
7b6235f2
PE
28381 [BZ #13673]
28382 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28383 with URL.
28384 * locale/programs/locfile-kw.gperf: Likewise.
28385 * locale/programs/charmap-kw.h: Regenerated.
28386 * locale/programs/locfile-kw.h: Likewise.
28387
547b5e30
PE
28388 [BZ #13673]
28389 * intl/plural.y: Replace FSF snail mail address with URL.
28390 * intl/plural.c: Regenerated.
28391
5f0a5dae
RH
283922012-03-09 Richard Henderson <rth@twiddle.net>
28393
28394 * include/math_private.h: Remove file.
28395 * math/math_private.h: Move file ...
28396 * sysdeps/generic/math_private.h: ... here.
28397
b8c03620
RH
28398 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28399 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28400 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28401
4e234f5d 28402 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28403 and <math_private.h>.
28404 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28405 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28406 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28407 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28408 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28409 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28410 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28412 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28413 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28415 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28416 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28417 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28418 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28419 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28420 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28421 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28422 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28423 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28425 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28426 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28436 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28442 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28444 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28445 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28446 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28447 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28451 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28452 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28453 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28454 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28455 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28456 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28457 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28458 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28459 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28460 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28468 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28469 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28470 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28471 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28472 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28473 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28474 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28492 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28493 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28494 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28495 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28497 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28498 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28499 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28500 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28501 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28502 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28503 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28504 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28505 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28506 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28507 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28508 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28509 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28510 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28511 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28512 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28513 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28514 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28515 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28516 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28517 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28518 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28519 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28520 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28521 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28522 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28523 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28524 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28525 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28526 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28527 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28528 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28529 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28530 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28531 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28532 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28533 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28534 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28535 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28536 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28537 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28538 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28539 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28540 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28541 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28542 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28543 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28544 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28545 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28546 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28547 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28548 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28549 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28550 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28551 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28552 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28553 * sysdeps/ieee754/k_standard.c: Likewise.
28554 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28555 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28556 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28557 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28558 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28559 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28560 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28561 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28562 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28563 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28564 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28565 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28566 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28568 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28569 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28570 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28571 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28572 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28573 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28576 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28577 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28578 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28582 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28583 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28584 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28585 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28586 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28658 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28659 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28660 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28665 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28666 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28667 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28669 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28670 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28671 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28672 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28673 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28674 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28676 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28677 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28681 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28684 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28686 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28701 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28702 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28703 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28704 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28714 * sysdeps/ieee754/s_lib_version.c: Likewise.
28715 * sysdeps/ieee754/s_matherr.c: Likewise.
28716 * sysdeps/ieee754/s_signgam.c: Likewise.
28717 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28718 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28719 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28720 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28721 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28722 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28723 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28724 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28725 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28726 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28727 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28728 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28729 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28730 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28731 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28732 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28733 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28734 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28735 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28736 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28737 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28738
1991fa03
JM
287392012-03-09 Joseph Myers <joseph@codesourcery.com>
28740
28741 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28742 * sunrpc/rpc_main.c: Likewise.
28743 * sunrpc/rpc_svcout.c: Likewise.
28744
60d6f5a6
DM
287452012-03-09 David S. Miller <davem@davemloft.net>
28746
28747 * include/math_private.h: New file.
28748
4962050e
JM
287492012-03-09 Joseph Myers <joseph@codesourcery.com>
28750
02a6f887
JM
28751 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28752 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28753 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28754 from <bits/socket_type.h>.
28755 (enum __socket_type): Don't define here.
28756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28758 bits/socket_type.h.
28759
c6e013c1
JM
28760 [BZ #13566]
28761 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28762 checking __USE_GNU.
28763
4962050e
JM
28764 * Makerules ($(inst_includedir)/%.h): New rule.
28765 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28766 (install-others): Remove variable setting.
28767 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28768
38842f45
RH
287692012-03-08 Richard Henderson <rth@twiddle.net>
28770
67bb6da6
RH
28771 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28772 from macro to inline function; merge with the
28773 !__LIBC_INTERNAL_MATH_INLINES version.
28774 (__ieee754_sqrtf): Likewise.
28775
15194b4b
RH
28776 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28777 to inline function.
28778 (__rintf, __floor, __floorf): Likewise.
28779
64e21ede
RH
28780 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28781 macro to inline function.
28782 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28783
38842f45
RH
28784 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28785 not <math/math_private.h>.
28786
c64bf5fe
DM
287872012-03-08 David S. Miller <davem@davemloft.net>
28788
28789 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28790 copyright year.
28791 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28792
82d86f28
TS
287932012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28794
28795 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28796 normalization.
28797 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28798 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28799
aea5d727
UD
288002012-03-08 Ulrich Drepper <drepper@gmail.com>
28801
28802 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28803 be defined individually, they must be defined as a block. Define
28804 S for printing a string instead of hidint the different by using a
28805 macro for adding the 'l'.
28806 * stdio-common/tst-fphex-wide.c: Adjust.
28807
70bca0a3
MP
288082012-03-07 Marek Polacek <polacek@redhat.com>
28809
28810 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28811
65b81130
MP
288122012-03-08 Marek Polacek <polacek@redhat.com>
28813
28814 [BZ #13806]
28815 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28816 * stdio-common/tst-fphex.c: Define a few macros to make the
28817 test reusable. Use them.
28818 * stdio-common/tst-fphex-wide.c: New file.
28819
07037eeb
JM
288202012-03-08 Joseph Myers <joseph@codesourcery.com>
28821
a7a93d50
JM
28822 [BZ #6911]
28823 * manual/macros.texi (gnusystems): New macro.
28824 (nongnusystems): Likewise.
28825 (gnulinuxhurdsystems): Likewise.
28826 (gnuhurdsystems): Likewise..
28827 (gnulinuxsystems): Likewise.
28828 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28829 variants of the GNU system, not "GNU system".
28830 * manual/conf.texi: Likewise.
28831 * manual/errno.texi: Likewise. Update example of errno macro
28832 expansion.
28833 * manual/filesys.texi: Likewise.
28834 (getumask): Document as specific to GNU/Hurd.
28835 * manual/install.texi: Likewise. Reword some references to
28836 GNU/Linux.
28837 * manual/intro.texi: Likewise.
28838 * manual/io.texi: Likewise.
28839 (File Name Portability): Detail which constraints are inapplicable
28840 to all GNU systems and which are only inapplicable to GNU/Hurd.
28841 * manual/job.texi: Likewise.
28842 * manual/llio.texi: Likewise.
28843 (O_NOCTTY): Document as present on GNU/Linux.
28844 * manual/maint.texi: Likewise.
28845 * manual/memory.texi: Likewise.
28846 * manual/pattern.texi: Likewise.
28847 * manual/pipe.texi: Likewise.
28848 * manual/process.texi: Likewise.
28849 * manual/resource.texi: Likewise.
28850 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28851 child on GNU/Hurd.
28852 * manual/setjmp.texi: Likewise.
28853 * manual/signal.texi: Likewise.
28854 * manual/startup.texi: Likewise.
28855 * manual/stdio.texi: Likewise.
28856 * manual/terminal.texi: Likewise.
28857 (ONLCR): Document as POSIX.
28858 (OXTABS): Document availability on GNU/Linux as XTABS.
28859 (ONOEOT): Document availability separately from other bits.
28860 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28861 * manual/time.texi: Likewise.
28862 * manual/users.texi: Likewise.
28863 * INSTALL: Regenerated.
28864 * sysdeps/gnu/errlist.c: Regenerated.
28865
07037eeb
JM
28866 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28867 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28868 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28869 puts.
28870 * configure: Regenerated.
28871
d1d3431a
JM
288722012-03-07 Joseph Myers <joseph@codesourcery.com>
28873
af6a1e37
JM
28874 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28875 default includes instead of AC_HEADER_CHECK.
28876 * sysdeps/i386/configure: Regenerated.
28877
d1d3431a
JM
28878 [BZ #10716]
28879 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28880 * math/s_cacoshf.c (__cacoshf): Likewise.
28881 * math/s_cacoshl.c (__cacoshl): Likewise.
28882 * math/s_casinh.c (__casinh): Set signs of result from argument.
28883 * math/s_casinhf.c (__casinhf): Likewise.
28884 * math/s_casinhl.c (__casinhl): Likewise.
28885 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28886 (casinh_test): Add more tests.
28887 * sysdeps/i386/fpu/libm-test-ulps: Update.
28888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28889
482ff4da
UD
288902012-03-07 Ulrich Drepper <drepper@gmail.com>
28891
872fda05
UD
28892 * po/zh_TW.po: Update from translation team.
28893
a4300c7a
UD
28894 * login/Makefile (distribute): Remove variable.
28895 * catgets/Makefile: Likewise.
28896 * mach/Makefile: Likewise.
28897 * malloc/Makefile: Likewise.
28898 * misc/Makefile: Likewise.
28899 * iconv/Makefile: Likewise.
28900 * nscd/Makefile: Likewise.
28901 * hurd/Makefile: Likewise.
28902 * manual/Makefile: Likewise.
28903 * locale/Makefile: Likewise.
28904 * intl/Makefile: Likewise.
28905 * conform/Makefile: Likewise.
28906 * nss/Makefile: Likewise.
28907 * time/Makefile: Likewise.
28908 * soft-fp/Makefile: Likewise.
28909 * dirent/Makefile: Likewise.
28910 * gmon/Makefile: Likewise.
28911 * po/Makefile: Likewise.
28912 * rt/Makefile: Likewise.
28913 * socket/Makefile: Likewise.
28914 * math/Makefile: Likewise.
28915 * signal/Makefile: Likewise.
28916 * debug/Makefile: Likewise.
28917 * elf/Makefile: Likewise.
28918 * timezone/Makefile: Likewise.
28919 * stdlib/Makefile: Likewise.
28920 * iconvdata/Makefile: Likewise.
28921 * sunrpc/Makefile: Likewise.
28922 * io/Makefile: Likewise.
28923 * argp/Makefile: Likewise.
28924 * inet/Makefile: Likewise.
28925 * hesiod/Makefile: Likewise.
28926 * grp/Makefile: Likewise.
28927 * csu/Makefile: Likewise.
28928 * wctype/Makefile: Likewise.
28929 * crypt/Makefile: Likewise.
28930 * libio/Makefile: Likewise.
28931 * string/Makefile: Likewise.
28932 * nis/Makefile: Likewise.
28933 * resolv/Makefile: Likewise.
28934 * stdio-common/Makefile: Likewise.
28935 * wcsmbs/Makefile: Likewise.
28936 * dlfcn/Makefile: Likewise.
28937 * posix/Makefile: Likewise.
28938
3b7c4e74 28939 [BZ #6959]
482ff4da
UD
28940 * timezone/Makefile: Don't install timezone files, just the programs
28941 and scripts.
28942
f72ed77d
UD
289432012-03-06 Ulrich Drepper <drepper@gmail.com>
28944
a000466f
UD
28945 * nss/databases.def: Add missing gshadow entry.
28946
f72ed77d
UD
28947 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28948
a53b7a4e
MP
289492012-03-06 Marek Polacek <polacek@redhat.com>
28950
28951 [BZ #13726]
28952 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28953 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28954 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28955 * stdio-common/tst-long-dbl-fphex.c: New file.
28956
e9258400
DM
289572012-03-06 David S. Miller <davem@davemloft.net>
28958
28959 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28960 (set_obp_int): New function.
28961 (get_obp_int): New function.
28962 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28963 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28964 Avoid unused variable warnings on 'val' and use builtin_expect.
28965 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28966 __builtin_expect.
e9258400
DM
28967 (INLINE_CLONE_SYSCALL): Likewise.
28968
3bd2c723
DM
289692012-03-05 David S. Miller <davem@davemloft.net>
28970
28971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28972
bbb78d03
AS
289732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28974
884c5db4
AS
28975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28976
bbb78d03
AS
28977 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28978 only for |x| >= 40.
28979 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28980
1c9f702a 289812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28982
28983 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28984 Replace gettimeofday with __vdso_gettimeofday.
28985
7be16f82
RM
28986 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28987 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28988 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28989
28990 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28991 time with __vdso_time.
28992
ed58a00f
JM
289932012-03-05 Joseph Myers <joseph@codesourcery.com>
28994
28995 * manual/lang.texi (size_t): Note types to which size_t may be
28996 equivalent with the GNU C Library, but do not describe when
28997 differences between them are significant.
28998
30ee4ced
AJ
289992012-03-05 Andreas Jaeger <aj@suse.de>
29000
29001 * sysdeps/i386/fpu/libm-test-ulps: Update.
29002
b7cd39e8
JM
290032012-03-05 Joseph Myers <joseph@codesourcery.com>
29004
29005 [BZ #3976]
29006 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29007 (__ieee754_pow): Save and restore rounding mode and use
29008 round-to-nearest for main computations.
29009 * math/libm-test.inc (pow_test_tonearest): New function.
29010 (pow_test_towardzero): Likewise.
29011 (pow_test_downward): Likewise.
29012 (pow_test_upward): Likewise.
29013 (main): Call the new functions.
29014 * sysdeps/i386/fpu/libm-test-ulps: Update.
29015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29016
29017 [BZ #3976]
29018 * math/libm-test.inc (cosh_test_tonearest): New function.
29019 (cosh_test_towardzero): Likewise.
29020 (cosh_test_downward): Likewise.
29021 (cosh_test_upward): Likewise.
29022 (sinh_test_tonearest): Likewise.
29023 (sinh_test_towardzero): Likewise.
29024 (sinh_test_downward): Likewise.
29025 (sinh_test_upward): Likewise.
29026 (main): Call the new functions.
29027 * sysdeps/i386/fpu/libm-test-ulps: Update.
29028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29029
6c6a98c9
TV
290302012-03-05 Tom de Vries <tom@codesourcery.com>
29031
29032 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29033 default stack guard is set in last bytes.
29034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29035
21bb2d2e 290362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29037
21bb2d2e 29038 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29039
21bb2d2e
AJ
29040 [BZ #13656]
29041 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29042 possibly allocate from heap instead of stack.
29043 * stdio-common/bug-vfprintf-nargs.c: New file.
29044 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29045
c6922934
AS
290462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29047
29048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29049
bc957d53
MP
290502012-03-03 Marek Polacek <polacek@redhat.com>
29051
29052 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29053 * math/math_private.h: Likewise.
29054 * stdlib/tst-strtod.c: Likewise.
29055 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29056 * sysdeps/x86_64/bits/atomic.h: Likewise.
29057
6358490d
DM
290582012-03-02 David S. Miller <davem@davemloft.net>
29059
29060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29064 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29065 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29066 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29067 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29068
01ae168d
RM
290692012-03-02 Roland McGrath <roland@hack.frob.com>
29070
d9a17c07
RM
29071 [BZ #13792]
29072 * manual/examples/README: New file, says the example source files
29073 can be used under GPL>=2.
29074 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29075 line containing just "*/".
29076 * manual/examples/add.c: Add copyright header (GPL>=2).
29077 * manual/examples/argp-ex1.c: Likewise.
29078 * manual/examples/argp-ex2.c: Likewise.
29079 * manual/examples/argp-ex3.c: Likewise.
29080 * manual/examples/argp-ex4.c: Likewise.
29081 * manual/examples/atexit.c: Likewise.
29082 * manual/examples/db.c: Likewise.
29083 * manual/examples/dir.c: Likewise.
29084 * manual/examples/dir2.c: Likewise.
29085 * manual/examples/execinfo.c: Likewise.
29086 * manual/examples/filecli.c: Likewise.
29087 * manual/examples/filesrv.c: Likewise.
29088 * manual/examples/fmtmsgexpl.c: Likewise.
29089 * manual/examples/genpass.c: Likewise.
29090 * manual/examples/inetcli.c: Likewise.
29091 * manual/examples/inetsrv.c: Likewise.
29092 * manual/examples/isockad.c: Likewise.
29093 * manual/examples/longopt.c: Likewise.
29094 * manual/examples/memopen.c: Likewise.
29095 * manual/examples/memstrm.c: Likewise.
29096 * manual/examples/mkfsock.c: Likewise.
29097 * manual/examples/mkisock.c: Likewise.
29098 * manual/examples/mygetpass.c: Likewise.
29099 * manual/examples/pipe.c: Likewise.
29100 * manual/examples/popen.c: Likewise.
29101 * manual/examples/rprintf.c: Likewise.
29102 * manual/examples/search.c: Likewise.
29103 * manual/examples/select.c: Likewise.
29104 * manual/examples/setjmp.c: Likewise.
29105 * manual/examples/sigh1.c: Likewise.
29106 * manual/examples/sigusr.c: Likewise.
29107 * manual/examples/stpcpy.c: Likewise.
29108 * manual/examples/strdupa.c: Likewise.
29109 * manual/examples/strftim.c: Likewise.
29110 * manual/examples/strncat.c: Likewise.
29111 * manual/examples/subopt.c: Likewise.
29112 * manual/examples/swapcontext.c: Likewise.
29113 * manual/examples/termios.c: Likewise.
29114 * manual/examples/testopt.c: Likewise.
29115 * manual/examples/testpass.c: Likewise.
29116 * manual/examples/timeval_subtract.c: Likewise.
29117
01ae168d
RM
29118 [BZ #13792]
29119 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29120 function to ...
29121 * manual/timeval_subtract.c.texi: ... here, new file.
29122
49efa33d
DM
291232012-03-02 David S. Miller <davem@davemloft.net>
29124
29125 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29126
28afd92d
JM
291272012-03-02 Joseph Myers <joseph@codesourcery.com>
29128
804360ed
JM
29129 [BZ #3976]
29130 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29131 (__sin): Save and restore rounding mode and use round-to-nearest
29132 for all computations.
29133 (__cos): Save and restore rounding mode and use round-to-nearest
29134 for all computations.
29135 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29136 <fenv.h>.
29137 (tan): Save and restore rounding mode and use round-to-nearest for
29138 all computations.
29139 * math/libm-test.inc (cos_test_tonearest): New function.
29140 (cos_test_towardzero): Likewise.
29141 (cos_test_downward): Likewise.
29142 (cos_test_upward): Likewise.
29143 (sin_test_tonearest): Likewise.
29144 (sin_test_towardzero): Likewise.
29145 (sin_test_downward): Likewise.
29146 (sin_test_upward): Likewise.
29147 (tan_test_tonearest): Likewise.
29148 (tan_test_towardzero): Likewise.
29149 (tan_test_downward): Likewise.
29150 (tan_test_upward): Likewise.
29151 (main): Call the new functions.
29152 * sysdeps/i386/fpu/libm-test-ulps: Update.
29153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29154
a6d06d7b
JM
29155 [BZ #10135]
29156 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29157 small n, then large n, before computing and testing k+n.
29158 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29159 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29160 Likewise.
29161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29162 Likewise.
29163 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29164 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29165 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29166 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29167 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29168 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29169 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29170 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29171 * math/libm-test.inc (scalbn_test): Add more tests.
29172 (scalbln_test): Likewise.
29173
07e12bb3
JM
29174 * manual/filesys.texi (mode_t): Describe constraints on size and
29175 signedness, not exact equivalence to a particular type.
29176 (ino_t): Likewise.
29177 (ino64_t): Likewise.
29178 (dev_t): Likewise.
29179 (nlink_t): Likewise.
29180 (blkcnt_t): Likewise.
29181 (blkcnt64_t): Likewise.
29182 * manual/llio.texi (off_t): Likewise.
29183
28afd92d
JM
29184 [BZ #3976]
29185 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29186 (__ieee754_exp): Save and restore rounding mode and use
29187 round-to-nearest for all computations.
29188 * math/libm-test.inc (exp_test_tonearest): New function.
29189 (exp_test_towardzero): Likewise.
29190 (exp_test_downward): Likewise.
29191 (exp_test_upward): Likewise.
29192 (main): Call the new functions.
29193 * sysdeps/i386/fpu/libm-test-ulps: Update.
29194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29195
b1eeb65d
CD
291962012-03-01 Chris Demetriou <cgd@google.com>
29197
29198 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29199 have predictable order.
29200
53362a4b
DM
292012012-03-01 David S. Miller <davem@davemloft.net>
29202
3c969083
DM
29203 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29204
759707de
DM
29205 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29206 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29207 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29208 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29209
dfdb8ff2
DM
29210 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29211 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29212 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29214 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29215 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29216 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29217 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29218 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29219
ead89f96
DM
29220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29221
7f66bd07
DM
29222 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29223 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29224 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29225
53362a4b
DM
29226 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29227 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29228 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29229 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29230 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29231 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29232 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29233 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29234 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29235 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29236 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29237 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29239 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29240 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29242 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29243 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29244 * sysdeps/sparc/elf/configure: Regenerated.
29245
7b1902cb
JM
292462012-03-01 Joseph Myers <joseph@codesourcery.com>
29247
bec039bc
JM
29248 * configure.in (AS, LD): Require binutils 2.20 or later.
29249 * configure: Regenerated.
29250 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29251 as required minimum version.
29252 * INSTALL: Regenerated.
29253
7b1902cb
JM
29254 [BZ #2541]
29255 [BZ #4108]
29256 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29257 before squaring exponent.
29258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29259 bottom long double and 27 bits of top long double before squaring
29260 exponent.
29261 * math/libm-test.inc (erfc_test): Add more tests.
29262 * sysdeps/i386/fpu/libm-test-ulps: Update.
29263 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29265
f775c276
KT
292662012-03-01 Kai Tietz <ktietz@redhat.com>
29267
29268 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29269 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29270 containing bit-fields.
29271 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29272 * soft-fp/single.h (_FP_UNION_S): Likewise.
29273 * soft-fp/double.h (_FP_UNION_D): Likewise.
29274
5b8a4d4a
JM
292752012-02-29 Joseph Myers <joseph@codesourcery.com>
29276
0bab47b6
JM
29277 [BZ #13786]
29278 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29279 not include ../strcmp.S.
29280 [USE_AS_STRNCASECMP_L]: Likewise.
29281 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29282 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29283 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29284 (__strncasecmp_l_ia32): Define as alias to
29285 __strncasecmp_l_nonascii.
29286
0fcad3e2
JM
29287 [BZ #5794]
29288 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29289 * sysdeps/i386/fpu/libm-test-ulps: Update.
29290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29291
5b8a4d4a
JM
29292 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29294
8fdceb2e
JL
292952012-02-29 Jeff Law <law@redhat.com>
29296
29297 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29298 out of bounds read.
29299
1f393a11
MP
293002012-02-29 Marek Polacek <polacek@redhat.com>
29301
29302 [BZ #13706]
29303 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29304 * elf/Makefile: Add rules to run tst-unused-dep.out.
29305
8847f037
DM
293062012-02-28 David S. Miller <davem@davemloft.net>
29307
29308 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29309 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29310 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29311 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29312 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29313 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29314
169d7f11
JM
293152012-02-29 Joseph Myers <joseph@codesourcery.com>
29316
29317 * math/libm-test.inc (llround_test): Move one test from
29318 lround_test. Use TEST_f_L in moved test.
29319 (lround_test): Move misplaced test to llround_test. Add testcase
29320 from bug 2561.
29321
39adf059
UD
293222012-02-28 Ulrich Drepper <drepper@gmail.com>
29323
29324 * sysdeps/x86_64/fpu/e_expf.S: New file.
29325 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29326
71b5d1c5
SB
293272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29328
29329 [BZ #13637]
29330 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29331 of remain_len that may cause incomplete multi-byte character and
29332 false match.
29333 * posix/bug-regex33.c: New file.
29334 * posix/Makefile (tests): Add bug-regex33.
29335
1f77f049
JM
293362012-02-28 Joseph Myers <joseph@codesourcery.com>
29337
29338 * manual/macros.texi: New file.
29339 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29340 * manual/libc.texinfo: Include macros.texi.
29341 * manual/creatute.texi: Likewise.
29342 * manual/install.texi: Likewise.
29343 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29344 @glibcadj{} in references to the GNU C Library.
29345 * manual/charset.texi: Likewise.
29346 * manual/conf.texi: Likewise.
29347 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29348 when not using those macros.
29349 * manual/creature.texi: Likewise.
29350 * manual/crypt.texi: Likewise.
29351 * manual/errno.texi: Likewise.
29352 * manual/filesys.texi: Likewise.
29353 * manual/header.texi: Likewise.
29354 * manual/install.texi: Likewise.
29355 * manual/intro.texi: Likewise.
29356 * manual/io.texi: Likewise.
29357 * manual/job.texi: Likewise.
29358 * manual/lang.texi: Likewise.
29359 * manual/libc.texiinfo: Likewise.
29360 * manual/llio.texi: Likewise.
29361 * manual/locale.texi: Likewise.
29362 * manual/maint.texi: Likewise.
29363 * manual/math.texi: Likewise.
29364 * manual/memory.texi: Likewise.
29365 * manual/message.texi: Likewise.
29366 * manual/nss.texi: Likewise.
29367 * manual/pattern.texi: Likewise.
29368 * manual/process.texi: Likewise.
29369 * manual/resource.texi: Likewise.
29370 * manual/search.texi: Likewise.
29371 * manual/setjmp.texi: Likewise.
29372 * manual/signal.texi: Likewise.
29373 * manual/socket.texi: Likewise.
29374 * manual/startup.texi: Likewise.
29375 * manual/stdio.texi: Likewise.
29376 * manual/string.texi: Likewise.
29377 * manual/sysinfo.texi: Likewise.
29378 * manual/syslog.texi: Likewise.
29379 * manual/terminal.texi: Likewise.
29380 * manual/time.texi: Likewise.
29381 * manual/users.texi: Likewise.
29382 * INSTALL: Regenerated.
29383 * NOTES: Regenerated.
d40c5d54 29384 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29385
450bf206
AS
293862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29387
29388 * include/dirent.h: Include <dirstream.h> before
29389 <dirent/dirent.h>.
29390
741a235b
DM
293912012-02-28 David S. Miller <davem@davemloft.net>
29392
29393 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29394 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29395 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29396 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29397
d6b5aa58
DM
293982012-02-27 David S. Miller <davem@davemloft.net>
29399
1aff59a3
DM
29400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29402 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29403 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29404
d6b5aa58
DM
29405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29406 frame pointer instead of stack pointer relative arg slot.
29407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29408 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29409 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29410
433f48bf
CD
294112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29412
29413 [BZ #3992]
29414 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29415
d674b76d
DM
294162012-02-27 David S. Miller <davem@davemloft.net>
29417
29418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29422 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29423 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29424 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29425 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29426
0e7727f7
JM
294272012-02-27 Joseph Myers <joseph@codesourcery.com>
29428
29429 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29430 later. Allow versions 5-9.
43be4ca2 29431 * configure: Regenerated.
0e7727f7
JM
29432 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29433 required minimum version and 4.6 as recommended version. Do not
29434 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29435 * INSTALL: Regenerated.
0e7727f7 29436
a78bc654
DM
294372012-02-27 David S. Miller <davem@davemloft.net>
29438
428d5830
DM
29439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29443 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29444 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29445 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29446 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29447
a78bc654
DM
29448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29449 manipulate bits before adding and subtracting TWO112[sx].
29450 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29451
4579f81c
RM
294522012-02-27 Roland McGrath <roland@hack.frob.com>
29453
36c8acb4
RM
29454 [BZ #13775]
29455 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29456 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29457 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29458 being in POSIX, because they are in 1003.1-2008.
29459
84ad622b
RM
29460 * rt/tst-aio.c: Include <fcntl.h>.
29461 * rt/tst-aio7.c: Likewise.
29462 * rt/tst-aio64.c: Likewise.
29463
4579f81c
RM
29464 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29465
abd923db
JM
294662012-02-27 Joseph Myers <joseph@codesourcery.com>
29467
29468 * manual/install.texi (--with-headers): Describe headers as
29469 interface headers, not private headers.
29470 (Specific advice for GNU/Linux systems): Describe use of headers
29471 from "make headers_install", not private headers from older
29472 kernels.
43be4ca2 29473 * INSTALL: Regenerated.
abd923db
JM
29474 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29475 Change to 2.6.19.
29476 * sysdeps/unix/sysv/linux/configure: Regenerated.
29477
6664049b
JM
29478 * manual/llio.texi (fclean): Remove documentation.
29479
bb8b6697
JM
29480 * manual/Makefile (libc-texi-generated): New variable. Include
29481 version.texi.
29482 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29483 $(libc-texi-generated), not duplicated list of files.
29484 (version.texi, stamp-version): New rules.
29485 (realclean): Remove $(libc-texi-generated), not individual files
29486 from that list. Do not remove dir-add.texinfo.
29487 * manual/libc.texinfo: Comment out uses of edition numbers and
29488 references to printed manual. Remove last-updated dates.
29489 (EDITION): Comment out.
29490 (ISBN): Likewise.
29491 (VERSION, UPDATED): Remove.
29492 (version.texi): Include.
29493
12e5c3b9
AS
294942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29495
29496 * sysdeps/posix/spawni.c: Include <signal.h>.
29497 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29498 * sysdeps/pthread/aio_fsync.c: Likewise.
29499
4efeffc1 295002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29501
ba63ba08
UD
29502 * conform/Makefile (tests): Run only when not cross-compiling and
29503 when fast-check is not defined.
29504
d94a4670
UD
29505 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29506 * conform/data/limits.h-data: Fixes for POSIX2008.
29507 * conform/run-conformtest.sh: Run all tests.
29508 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29509 headers.
29510 * include/bits/dlfcn.h: Likewise.
29511 * include/langinfo.h: Likewise.
29512 * include/monetary.h: Likewise.
29513 * include/sys/poll.h: Likewise.
29514
29515 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29516 for __USE_GNU.
29517 * posix/spawn.h: Define __need_sigset_t.
29518 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29519 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29520 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29521 to get sigevent_t only.
29522 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29523 only for __USE_GNU.
29524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29525 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29526 process_vm_writev only for __USE_GNU.
29527 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29528
29529 * conform/Makefile: For now ignore errors from run-conformtest.
29530 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29531 POSIX to avoid namespace pollution. Don't prepend headers.
29532 * conform/data/aio.h-data: Fixes for POSIX testing.
29533 * conform/data/fcntl.h-data: Likewise.
29534 * conform/data/glob.h-data: Likewise.
29535 * conform/data/grp.h-data: Likewise.
29536 * conform/data/pthread.h-data: Likewise.
29537 * conform/data/pwd.h-data: Likewise.
29538 * conform/data/signal.h-data: Likewise.
29539 * conform/data/spawn.h-data: Likewise.
29540 * conform/data/stdio.h-data: Likewise.
29541 * conform/data/stdlib.h-data: Likewise.
29542 * conform/data/stropts.h-data: Likewise.
29543 * conform/data/sys/mman.h-data: Likewise.
29544 * conform/data/sys/stat.h-data: Likewise.
29545 * conform/data/sys/types.h-data: Likewise.
29546 * conform/data/sys/wait.h-data: Likewise.
29547 * conform/data/time.h-data: Likewise.
29548 * conform/data/unistd.h-data: Likewise.
29549 * conform/data/utime.h-data: Likewise.
29550
29551 * io/sys/stat.h: fchmod was always in POSIX.
29552 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29553 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29554 * rt/aio.h: Define __need_timespec before including <time.h>.
29555 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29556 struct. Add forward declaration of pthread_attr_t and use it in
29557 sigevent.
29558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29560 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29561 always remove CLK_TCK definition.
29562
c20105c3
AS
295632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29564
29565 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29566
7a270350
UD
295672012-02-25 Ulrich Drepper <drepper@gmail.com>
29568
31341567
UD
29569 * conform/run-conformtest.sh: New file.
29570 * conform/Makefile: Run run-conformtest for tests.
29571 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29572 support.
29573
29574 * conform/data/uchar.h-data: New file.
29575 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29576 * conform/data/arpa/inet.h-data: Likewise.
29577 * conform/data/assert.h-data: Likewise.
29578 * conform/data/complex.h-data: Likewise.
29579 * conform/data/cpio.h-data: Likewise.
29580 * conform/data/ctype.h-data: Likewise.
29581 * conform/data/dirent.h-data: Likewise.
29582 * conform/data/dlfcn.h-data: Likewise.
29583 * conform/data/errno.h-data: Likewise.
29584 * conform/data/fcntl.h-data: Likewise.
29585 * conform/data/float.h-data: Likewise.
29586 * conform/data/fmtmsg.h-data: Likewise.
29587 * conform/data/fnmatch.h-data: Likewise.
29588 * conform/data/ftw.h-data: Likewise.
29589 * conform/data/glob.h-data: Likewise.
29590 * conform/data/grp.h-data: Likewise.
29591 * conform/data/iconv.h-data: Likewise.
29592 * conform/data/inttypes.h-data: Likewise.
29593 * conform/data/langinfo.h-data: Likewise.
29594 * conform/data/libgen.h-data: Likewise.
29595 * conform/data/limits.h-data: Likewise.
29596 * conform/data/locale.h-data: Likewise.
29597 * conform/data/math.h-data: Likewise.
29598 * conform/data/monetary.h-data: Likewise.
29599 * conform/data/mqueue.h-data: Likewise.
29600 * conform/data/ndbm.h-data: Likewise.
29601 * conform/data/net/if.h-data: Likewise.
29602 * conform/data/netdb.h-data: Likewise.
29603 * conform/data/netinet/in.h-data: Likewise.
29604 * conform/data/nl_types.h-data: Likewise.
29605 * conform/data/poll.h-data: Likewise.
29606 * conform/data/pthread.h-data: Likewise.
29607 * conform/data/pwd.h-data: Likewise.
29608 * conform/data/regex.h-data: Likewise.
29609 * conform/data/sched.h-data: Likewise.
29610 * conform/data/search.h-data: Likewise.
29611 * conform/data/semaphore.h-data: Likewise.
29612 * conform/data/setjmp.h-data: Likewise.
29613 * conform/data/signal.h-data: Likewise.
29614 * conform/data/spawn.h-data: Likewise.
29615 * conform/data/stdarg.h-data: Likewise.
29616 * conform/data/stdio.h-data: Likewise.
29617 * conform/data/stdlib.h-data: Likewise.
29618 * conform/data/string.h-data: Likewise.
29619 * conform/data/strings.h-data: Likewise.
29620 * conform/data/stropts.h-data: Likewise.
29621 * conform/data/sys/ipc.h-data: Likewise.
29622 * conform/data/sys/mman.h-data: Likewise.
29623 * conform/data/sys/msg.h-data: Likewise.
29624 * conform/data/sys/resource.h-data: Likewise.
29625 * conform/data/sys/select.h-data: Likewise.
29626 * conform/data/sys/sem.h-data: Likewise.
29627 * conform/data/sys/shm.h-data: Likewise.
29628 * conform/data/sys/socket.h-data: Likewise.
29629 * conform/data/sys/stat.h-data: Likewise.
29630 * conform/data/sys/statvfs.h-data: Likewise.
29631 * conform/data/sys/time.h-data: Likewise.
29632 * conform/data/sys/timeb.h-data: Likewise.
29633 * conform/data/sys/times.h-data: Likewise.
29634 * conform/data/sys/types.h-data: Likewise.
29635 * conform/data/sys/uio.h-data: Likewise.
29636 * conform/data/sys/un.h-data: Likewise.
29637 * conform/data/sys/utsname.h-data: Likewise.
29638 * conform/data/sys/wait.h-data: Likewise.
29639 * conform/data/syslog.h-data: Likewise.
29640 * conform/data/tar.h-data: Likewise.
29641 * conform/data/termios.h-data: Likewise.
29642 * conform/data/utime.h-data: Likewise.
29643 * conform/data/utmpx.h-data: Likewise.
29644 * conform/data/varargs.h-data: Likewise.
29645 * conform/data/wchar.h-data: Likewise.
29646 * conform/data/wctype.h-data: Likewise.
29647 * conform/data/wordexp.h-data: Likewise.
29648
29649 * include/stropts.h: New file.
29650 * include/uchar.h: New file.
29651 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29652 * include/assert.h: Likewise.
29653 * include/ctype.h: Likewise.
29654 * include/dirent.h: Likewise.
29655 * include/dlfcn.h: Likewise.
29656 * include/fcntl.h: Likewise.
29657 * include/fnmatch.h: Likewise.
29658 * include/glob.h: Likewise.
29659 * include/grp.h: Likewise.
29660 * include/libio.h: Likewise.
29661 * include/locale.h: Likewise.
29662 * include/math.h: Likewise.
29663 * include/net/if.h: Likewise.
29664 * include/netdb.h: Likewise.
29665 * include/netinet/in.h: Likewise.
29666 * include/pthread.h: Likewise.
29667 * include/pwd.h: Likewise.
29668 * include/regex.h: Likewise.
29669 * include/sched.h: Likewise.
29670 * include/search.h: Likewise.
29671 * include/setjmp.h: Likewise.
29672 * include/signal.h: Likewise.
29673 * include/stdio.h: Likewise.
29674 * include/stdlib.h: Likewise.
29675 * include/string.h: Likewise.
29676 * include/sys/cdefs.h: Likewise.
29677 * include/sys/mman.h: Likewise.
29678 * include/sys/msg.h: Likewise.
29679 * include/sys/resource.h: Likewise.
29680 * include/sys/select.h: Likewise.
29681 * include/sys/socket.h: Likewise.
29682 * include/sys/stat.h: Likewise.
29683 * include/sys/statvfs.h: Likewise.
29684 * include/sys/time.h: Likewise.
29685 * include/sys/times.h: Likewise.
29686 * include/sys/uio.h: Likewise.
29687 * include/sys/utsname.h: Likewise.
29688 * include/sys/wait.h: Likewise.
29689 * include/termios.h: Likewise.
29690 * include/time.h: Likewise.
29691 * include/ulimit.h: Likewise.
29692 * include/unistd.h: Likewise.
29693 * include/utime.h: Likewise.
29694 * include/wchar.h: Likewise.
29695 * include/wctype.h: Likewise.
29696 * include/wordexp.h: Likewise.
29697
29698 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29699
7a270350
UD
29700 * time/time.h: TIME_UTC must be a macro.
29701 Make timespec_get available for ISO C11 only as well.
29702
7724defc
UD
297032012-02-24 Ulrich Drepper <drepper@gmail.com>
29704
29705 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29706 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29707
6b1d1d46
JM
297082012-02-24 Joseph Myers <joseph@codesourcery.com>
29709
29710 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29711
0f8bbd69
JM
297122012-02-24 Joseph Myers <joseph@codesourcery.com>
29713
29714 * manual/texinfo.tex: Update to version 2012-01-19.16.
29715
66ab80bc
JM
297162012-02-24 Joseph Myers <joseph@codesourcery.com>
29717
29718 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29719
74981cc5
RM
297202012-02-24 Roland McGrath <roland@hack.frob.com>
29721
ee968201
RM
29722 [BZ #13738]
29723 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29724 * manual/fdl-1.3.texi: New file.
29725 * manual/fdl-1.1.texi: File removed.
29726
74981cc5
RM
29727 [BZ #13738]
29728 * manual/libc.texinfo (FDL_VERSION): New @set.
29729 Use it for mention of FDL in cover text.
29730 (Documentation License): Use it in @include file name.
29731
7bb764bc
JM
297322012-02-22 Joseph Myers <joseph@codesourcery.com>
29733 Roland McGrath <roland@hack.frob.com>
29734
29735 [BZ #5461]
29736 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29737 not LONG_LONG_MAX and LONG_LONG_MIN.
29738 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29739 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29740 name.
29741 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29742
6cbeae47
JM
297432012-02-22 Joseph Myers <joseph@codesourcery.com>
29744
29745 [BZ #2547]
29746 [BZ #11365]
29747 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29748 manipulate bits before adding and subtracting TWO23[sx].
29749 * math/libm-test.inc (nearbyint_test): Add more tests.
29750
fe45ce09
JM
297512012-02-22 Joseph Myers <joseph@codesourcery.com>
29752
29753 [BZ #2548]
29754 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29755 bits before adding and subtracting TWO23[sx].
29756 * math/libm-test.inc (rint_test): Add more tests.
29757 (rint_test_tonearest): Likewise.
29758 (rint_test_towardzero): Likewise.
29759 (rint_test_downward): Likewise.
29760 (rint_test_upward: Likewise.
29761
ff3b3d82
JM
297622012-02-22 Joseph Myers <joseph@codesourcery.com>
29763
29764 [BZ #10110]
29765 * include/stdc-predef.h: New file. Extracted from features.h.
29766 * include/features.h: Include stdc-predef.h.
29767 * Makefile (headers): Add stdc-predef.h.
29768 * CONFORMANCE (Compiler limitations): Update.
29769
ef0aab35
JM
297702012-02-22 Joseph Myers <joseph@codesourcery.com>
29771
29772 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29773
58639409
DM
297742012-02-21 David S. Miller <davem@davemloft.net>
29775
29776 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29777 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29778
c0e70b25
DM
297792012-02-20 David S. Miller <davem@davemloft.net>
29780
29781 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29782 using a normal save/restore sequence, rather than allocating a
29783 dummy stack frame just to store a frame pointer and restore.
29784 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29785
fb06851d
JM
297862012-02-21 Joseph Myers <joseph@codesourcery.com>
29787
29788 * manual/install.texi: Fix stray word in line-wrapped comment.
29789
7a8b71c3
DM
297902012-02-20 David S. Miller <davem@davemloft.net>
29791
d510c123
DM
29792 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29793 both binutils and gcc support GOTDATA.
29794
0722d7c2
DM
29795 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29796 "rd %pc" in the PIC register setup sequences.
29797
3d2b3019
DM
29798 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29799 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29800 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29801 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29802 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29804 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29805 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29806 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29807 (SYSCALL_ERROR_HANDLER): Likewise.
29808 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29809 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29811 (SYSCALL_ERROR_HANDLER): Likewise.
29812
c80098a9
DM
29813 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29814 (HAVE_GCC_GOTDATA): New.
29815 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29816 relocation support in both binutils and gcc.
29817 * sysdeps/sparc/elf/configure: Regenerate.
29818
3a2545a0
DM
29819 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29820 * sysdeps/sparc/sparc32/elf/configure: Delete.
29821 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29822 * sysdeps/sparc/sparc64/elf/configure: Delete.
29823 * sysdeps/sparc/elf/configure.in: New file.
29824 * sysdeps/sparc/elf/configure: Generate.
29825
7a8b71c3
DM
29826 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29827 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29828 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29829 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29830 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29831
f1e86fca
JM
298322012-02-21 Joseph Myers <joseph@codesourcery.com>
29833
29834 * manual/install.texi: Do not mention specific glibc version
29835 numbers.
29836 * manual/libc.texinfo (VERSION, UPDATED): Update.
29837 (@copying): Use @copyright{} and range of years.
29838
0e7dfaef
JM
298392012-02-21 Joseph Myers <joseph@codesourcery.com>
29840
29841 [BZ #13695]
29842 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29843 [crti.S not in sysdirs] (generated): Do not append.
29844 [crti.S not in sysdirs] (omit-deps): Likewise.
29845 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29846 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29847 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29848 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29849 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29850 Likewise.
29851 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29852 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29853 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29854 * csu/defs.awk: Remove file.
29855 * sysdeps/generic/initfini.c: Likewise.
29856 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29857 variable.
29858 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29859 Likewise.
29860
599af3ca
JM
298612012-02-20 Joseph Myers <joseph@codesourcery.com>
29862
29863 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29864 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29865 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29867 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29868 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29869 <bits/epoll.h>.
29870 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29871 (__EPOLL_PACKED): Define to empty if not defined by
29872 <bits/epoll.h>.
29873 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29875 bits/epoll.h.
29876
0e499750
JM
298772012-02-20 Joseph Myers <joseph@codesourcery.com>
29878
29879 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29880 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29881 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29882 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29883 <bits/timerfd.h>.
29884 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29886 bits/timerfd.h.
29887
5ad91f6e
JM
298882012-02-20 Joseph Myers <joseph@codesourcery.com>
29889
29890 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29891 in C locale.
29892 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29893 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29896
06b99b02
AJ
298972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29898
29899 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29900 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29901
7638c0fd
AS
299022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29903
29904 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29905 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29906 defined.
29907 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29908 Likewise.
29909 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29910 entry for 2.16.
29911
92221550
AJ
299122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29913
29914 * math/w_acos.c: Use non-signaling floating-point comparisons.
29915 * math/w_acosf.c: Likewise.
29916 * math/w_acosh.c: Likewise.
29917 * math/w_acoshf.c: Likewise.
29918 * math/w_acoshl.c: Likewise.
29919 * math/w_acosl.c: Likewise.
29920 * math/w_asin.c: Likewise.
29921 * math/w_asinf.c: Likewise.
29922 * math/w_asinl.c: Likewise.
29923 * math/w_atanh.c: Likewise.
29924 * math/w_atanhf.c: Likewise.
29925 * math/w_atanhl.c: Likewise.
29926 * math/w_exp2.c: Likewise.
29927 * math/w_exp2f.c: Likewise.
29928 * math/w_exp2l.c: Likewise.
29929 * math/w_j0.c: Likewise.
29930 * math/w_j0f.c: Likewise.
29931 * math/w_j0l.c: Likewise.
29932 * math/w_j1.c: Likewise.
29933 * math/w_j1f.c: Likewise.
29934 * math/w_j1l.c: Likewise.
29935 * math/w_jn.c: Likewise.
29936 * math/w_jnf.c: Likewise.
29937 * math/w_log.c: Likewise.
29938 * math/w_log10.c: Likewise.
29939 * math/w_log10f.c: Likewise.
29940 * math/w_log10l.c: Likewise.
29941 * math/w_log2.c: Likewise.
29942 * math/w_log2f.c: Likewise.
29943 * math/w_log2l.c: Likewise.
29944 * math/w_logf.c: Likewise.
29945 * math/w_logl.c: Likewise.
29946 * math/w_sqrt.c: Likewise.
29947 * math/w_sqrtf.c: Likewise.
29948 * math/w_sqrtl.c: Likewise.
29949 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29950 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29951 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29952 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29953 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29954
ebaf36eb
JM
299552012-02-19 Joseph Myers <joseph@codesourcery.com>
29956
29957 [BZ #9739]
29958 * manual/string.texi (strnlen): Use correct parameter name in
29959 equivalent expression.
29960
71c254a6
JM
299612012-02-19 Joseph Myers <joseph@codesourcery.com>
29962
29963 [BZ #11174]
29964 * manual/users.texi (seteuid): Consistently use neweuid for
29965 argument name.
29966
16d2c631
JM
299672012-02-19 Joseph Myers <joseph@codesourcery.com>
29968
29969 [BZ #13704]
29970 * manual/nss.texi (Services in the NSS configuration): Correct
29971 list of services in example configuration file.
29972
cd837b09
NB
299732012-02-19 Nick Bowler <nbowler@draconx.ca>
29974
29975 [BZ #11322]
29976 * manual/arith.texi: Remove statements about negative zero
29977 behaving identically to zero.
29978
02c4bbad
JM
299792012-02-18 Joseph Myers <joseph@codesourcery.com>
29980
29981 [BZ #5993]
29982 * manual/install.texi: Do not document upgrading from libc5.
29983
366842e7
JM
299842012-02-18 Joseph Myers <joseph@codesourcery.com>
29985
29986 [BZ #4596]
29987 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29988
dd54084d
DM
299892012-02-18 David S. Miller <davem@davemloft.net>
29990
29991 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29992 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29993 %o7 across the call.
29994 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29995 instead.
29996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29997 SETUP_PIC_REG_LEAF.
29998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29999 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30000 * sysdeps/sparc/crtn.S: Likewise.
30001
2bcc53a3
UD
300022012-02-17 Ulrich Drepper <drepper@gmail.com>
30003
30004 * aout/Makefile: Remove.
30005
09c093b5
RK
300062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30007
30008 [BZ #13058]
30009 * manual/examples/argp-ex1.c (main): Format definition in GNU
30010 style.
30011 * manual/examples/argp-ex2.c (main): Likewise.
30012 * manual/examples/argp-ex3.c (main): Likewise.
30013 * manual/examples/argp-ex4.c (main): Likewise.
30014 * manual/examples/longopt.c (main): Use new-style prototype
30015 definition.
30016 * manual/examples/strncat.c (main): Specify return type and use
30017 (void) for arguments.
30018 * manual/examples/subopt.c (main): Use char **argv argument.
30019
2ee633a2
JM
300202012-02-17 Joseph Myers <joseph@codesourcery.com>
30021
30022 [BZ #5077]
30023 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30024 rounding modes.
30025
0520adde
FB
300262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30027
30028 [BZ #6907]
30029 * manual/string.texi (strchr): Change when strchrnul is
30030 recommended.
30031
3f4081cd
DGM
300322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30033
30034 [BZ #174]
30035 * manual/locale.texi (setlocale): Document LOCPATH.
30036
d1b10e78
JM
300372012-02-17 Joseph Myers <joseph@codesourcery.com>
30038
30039 [BZ #10210]
30040 * manual/process.texi (execle): Move @dots{} before last argument.
30041
79c6869c
PB
300422012-02-17 Paul Bolle <pebolle@tiscali.nl>
30043
30044 [BZ #12047]
30045 * manual/charset.texi (Generic Charset Conversion): Fix typo
30046 (LC_TYPE -> LC_CTYPE).
30047
cc6e48bc
NB
300482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30049
30050 [BZ #5805]
30051 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30052 (scalbnf): Likewise.
30053 (scalbnl): Likewise.
30054 (scalbln): Likewise.
30055 (scalblnf): Likewise.
30056 (scalblnl): Likewise.
30057 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30058 (vwarnx): Likewise.
30059 (verr): Likewise.
30060 (verrx): Likewise.
30061 * manual/filesys.texi (telldir): Use braces around return type.
30062 * manual/llio.texi (mmap): Add space after comma.
30063 (mmap64): Likewise.
30064 * manual/math.texi (jn): Use @var{} on parameter names.
30065 (jnf): Likewise.
30066 (jnl): Likewise.
30067 (yn): Likewise.
30068 (ynf): Likewise.
30069 (ynl): Likewise.
30070 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30071 line.
30072 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30073 "...".
30074 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30075 (sched_get_priority_max): Likewise.
30076 * manual/signal.texi (sigvec): Add space after comma.
30077 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30078 names.
30079 (if_indextoname): Likewise.
30080 (if_freenameindex): Likewise.
30081 (sendto): Use ',' instead of '.' in prototype.
30082 * manual/startup.texi (syscall): Use @dots{} instead of literal
30083 "...".
30084 * manual/stdio.texi (__fpending): Separate initial words of
30085 paragraph from @deftypefun line.
30086 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30087 "...".
30088 (vsyslog): Use @var{} on parameter names.
30089 * manual/terminal.texi (stty): Use @var{} on parameter names.
30090 * manual/users.texi (getutmp): Use @var{} on parameter names.
30091 (getutmpx): Likewise.
30092
5b23062f
JM
300932012-02-17 Joseph Myers <joseph@codesourcery.com>
30094
30095 [BZ #6884]
30096 * manual/stdio.texi (fopen): Fix typos in description of
30097 ",ccs=STRING".
30098
8dee4833
AJ
300992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30100
30101 [BZ #4026]
30102 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30103 get clock_id definition.
30104
9078ce93
TS
301052012-02-17 Thomas Schwinge <thomas@schwinge.name>
30106
30107 [BZ #4822]
30108 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30109 (madvise): Cast every argument to void on its own.
30110
3835c55f
JM
301112012-02-17 Joseph Myers <joseph@codesourcery.com>
30112
30113 [BZ #9902]
30114 * manual/startup.texi (Exit Status): Fix typo.
30115
35c47e37
JM
301162012-02-17 Joseph Myers <joseph@codesourcery.com>
30117
30118 [BZ #10140]
30119 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30120 * manual/examples/argp-ex2.c: Likewise.
30121 * manual/examples/argp-ex3.c: Likewise.
30122
e3b69ca7
RH
301232012-02-16 Richard Henderson <rth@redhat.com>
30124
30125 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30126 * sysdeps/s390/s390-32/initfini.c: Remove.
30127 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30128 * sysdeps/s390/s390-64/initfini.c: Remove.
30129
df83af67
KK
301302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30131
30132 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30133 compiler output for sysdeps/generic/initfini.c.
30134 * sysdeps/sh/elf/initfini.c: Remove file.
30135
f63f3380
DM
301362012-02-16 David S. Miller <davem@davemloft.net>
30137
fb59b3a4
DM
30138 [BZ #11494]
30139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30140
f63f3380
DM
30141 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30142 * sysdeps/sparc/crti.S: New file.
30143 * sysdeps/sparc/crtn.S: New file.
30144 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30145 * sysdeps/sparc/sparc64/Makefile: Likewise.
30146
df6a4a4a
MF
301472012-02-15 Mike Frysinger <vapier@gentoo.org>
30148
6dd8f3dc 30149 [BZ #3335]
df6a4a4a
MF
30150 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30151
1cac7236
RM
301522012-02-15 Roland McGrath <roland@hack.frob.com>
30153
d2c736f8
RM
30154 [BZ #4822]
30155 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30156
1cac7236
RM
30157 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30158 (write, read, close): Likewise.
30159 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30160
8e475601
JM
301612012-02-15 Joseph Myers <joseph@codesourcery.com>
30162
30163 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30164 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30165 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30166 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30167 <bits/signalfd.h>.
30168 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30170 bits/signalfd.h.
30171
ed656b40
MP
301722012-02-14 Marek Polacek <polacek@redhat.com>
30173
30174 * sysdeps/x86_64/crti.S: New file.
30175 * sysdeps/x86_64/crtn.S: New file.
30176 * sysdeps/x86_64/elf/initfini.c: Remove file.
30177
2a979d3a
JM
301782012-02-13 Joseph Myers <joseph@codesourcery.com>
30179
30180 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30181 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30182 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30183 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30184 <bits/inotify.h>.
30185 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30187 bits/inotify.h.
30188
2a418ac3
JM
301892012-02-13 Joseph Myers <joseph@codesourcery.com>
30190
30191 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30192 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30193 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30194 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30195 <bits/eventfd.h>.
30196 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30198 bits/eventfd.h.
30199
fb779be7
TS
302002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30201
e19e83c5
RM
30202 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30203 __feraiseexcept instead of feraiseexcept.
7c35ffed 30204
fb779be7
TS
30205 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30206 nanosleep invocations.
30207 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30208 strings, and add error checking for a nanosleep invocations.
30209
59ba27a6
PE
302102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30211
30212 Replace FSF snail mail address with URLs, as per GNU coding standards.
30213 Most of the snail mail addresses were wrong anyway, and omitting
30214 them makes the source code easier to maintain. Almost all of the
30215 changes are to license notices and to locale LC_IDENTIFICATION
30216 addresses, except for this one:
30217 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30218 not its snail mail address.
30219
57b957eb
RH
302202012-02-09 Richard Henderson <rth@twiddle.net>
30221
af850b1c
RH
30222 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30223 of kernel-features.h.
30224
57b957eb
RH
30225 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30226
6b73181a
MP
302272012-02-08 Marek Polacek <polacek@redhat.com>
30228
30229 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30230 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30231 * sysdeps/gnu/_G_config.h: Likewise.
30232 * sysdeps/generic/_G_config.h: Likewise.
30233
26ecc33a
AS
302342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30235
6c6dbc63
AS
30236 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30237 tests.
30238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30239
e216c012
AS
30240 * sysdeps/powerpc/powerpc32/crti.S: New file.
30241 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30242 * sysdeps/powerpc/powerpc64/crti.S: New file.
30243 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30244
26ecc33a
AS
30245 * Makeconfig (have-initfini): Don't set.
30246 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30247 * configure.in (nopic_initfini): Don't substitute.
30248 * config.h.in (HAVE_INITFINI): Don't #undef.
30249 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30250 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30251
3add8e13
JM
302522012-02-08 Joseph Myers <joseph@codesourcery.com>
30253
30254 Support crti.S and crtn.S provided directly by architectures.
30255 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30256 [crti.S in sysdirs] (omit-deps): Likewise.
30257 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30258 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30259 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30260 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30261 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30262 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30263 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30264 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30265 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30266 compiler output for sysdeps/generic/initfini.c.
30267 * sysdeps/i386/elf/Makefile: Remove file.
30268 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30269
a22f12b4
MP
302702012-02-07 Marek Polacek <polacek@redhat.com>
30271
30272 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30273 * sysdeps/gnu/_G_config.h: Likewise.
30274 * sysdeps/mach/hurd/_G_config.h: Likewise.
30275
148cf100
MP
302762012-02-07 Marek Polacek <polacek@redhat.com>
30277
30278 * math/Makefile (tests): Add tst-CMPLX2.
30279 * math/tst-CMPLX2.c: New file.
30280
cfdc0dd7
AS
302812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30282
84ba42c4
AS
30283 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30284
cfdc0dd7
AS
30285 * math/libm-test.inc (jn_test): Add missing L suffix.
30286
622c86f4
MP
302872012-02-06 Marek Polacek <polacek@redhat.com>
30288
30289 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30290 * sysdeps/i386/fpu/e_powf.S: Likewise.
30291 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30292 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30293 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30294 * sysdeps/i386/fpu/e_pow.S: Likewise.
30295 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30296 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30297 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30298 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30299 * sysdeps/i386/fpu/e_log2.S: Likewise.
30300 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30301 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30302 * sysdeps/i386/fpu/e_powl.S: Likewise.
30303 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30304 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30305 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30306 * sysdeps/i386/fpu/e_logl.S: Likewise.
30307 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30308 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30309 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30310 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30311 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30312 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30313 * sysdeps/i386/fpu/e_log.S: Likewise.
30314 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30315 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30316 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30317 * sysdeps/i386/fpu/e_logf.S: Likewise.
30318 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30319 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30320 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30321 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30322 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30323 * sysdeps/i386/fpu/e_log10.S: Likewise.
30324 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30325 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30326 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30327 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30328 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30329 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30330 * sysdeps/i386/asm-syntax.h: Likewise.
30331 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30332 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30333 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30334 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30335 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30336 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30337 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30338 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30339 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30340 * sysdeps/powerpc/sysdep.h: Likewise.
30341 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30342 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30343
d4a54ac6
JM
303442012-02-06 Joseph Myers <joseph@codesourcery.com>
30345
30346 [BZ #411]
30347 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30348
314054ea
JM
303492012-02-06 Joseph Myers <joseph@codesourcery.com>
30350
30351 * sysdeps/i386/sysdep.h: Include <features.h>.
30352 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30353 version.
30354
d8e0ca50
JM
303552012-02-05 Joseph Myers <joseph@codesourcery.com>
30356
30357 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30358 Define.
30359 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30360 LOAD_PIC_REG_STR.
30361
b1da7dd9
JM
303622012-02-03 Joseph Myers <joseph@codesourcery.com>
30363
30364 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30365 (SETUP_PIC_REG): Use GET_PC_THUNK.
30366 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30367 macro.
30368
9a1d9254
JM
303692012-02-03 Joseph Myers <joseph@codesourcery.com>
30370
30371 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30372 for non-PIC compilation.
30373 (SETUP_PIC_REG): Add .p2align directive.
30374 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30375 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30376 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30377 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30378 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30379 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30380 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30382 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30383 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30384 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30385 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30386 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30387 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30388 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30389 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30390 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30391 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30392 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30393 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30395 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30396 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30397 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30398 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30400 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30401 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30402 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30403 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30404 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30406 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30407 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30408 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30409 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30410 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30411 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30412 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30413 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30414 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30415
65dc3b75
JM
304162012-02-03 Joseph Myers <joseph@codesourcery.com>
30417
30418 * math/tst-CMPLX.c: Include <stdio.h>.
30419
d55bf177
JM
304202012-01-31 Joseph Myers <joseph@codesourcery.com>
30421
30422 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30423 float.
30424 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30425 * sysdeps/sparc/bits/mathdef.h: Likewise.
30426
69db4f8f
MP
304272012-01-31 Marek Polacek <polacek@redhat.com>
30428
30429 * libio/libio.h: Don't define _PARAMS.
30430 * locale/programs/config.h: Don't define PARAMS.
30431 * stdlib/strtol_l.c: Likewise.
30432 (__strtol_l): Remove PARAMS from the prototype.
30433
41b81892
UD
304342012-01-31 Ulrich Drepper <drepper@gmail.com>
30435
3b49edc0
UD
30436 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30437 names. Just use the correct names. Remove unnecessary wrapper
30438 functions.
30439 * malloc/arena.c: Likewise.
30440 * malloc/hooks.c: Likewise.
30441
41b81892
UD
30442 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30443 ARENA_TEST says not to. Simplify test for creation of a new arena.
30444 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30445
27a25b6e
UD
304462012-01-30 Ulrich Drepper <drepper@gmail.com>
30447
30448 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30449 into tail calls.
30450 (update_get_addr): New function.
30451 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30452 GET_ADDR_MODULE parameter.
30453
c8a89e7d
JM
304542012-01-30 Joseph Myers <joseph@codesourcery.com>
30455
30456 * crypt/cert.c: Remove __STDC__ conditionals.
30457 * crypt/crypt-entry.c: Likewise.
30458 * crypt/crypt_util.c: Likewise.
30459 * libio/filedoalloc.c: Likewise.
30460 * libio/fileops.c: Likewise.
30461 * libio/genops.c: Likewise.
30462 * libio/iofclose.c: Likewise.
30463 * libio/iofdopen.c: Likewise.
30464 * libio/iofopen.c: Likewise.
30465 * libio/iofopen64.c: Likewise.
30466 * libio/iogetdelim.c: Likewise.
30467 * libio/iopopen.c: Likewise.
30468 * libio/obprintf.c: Likewise.
30469 * libio/oldfileops.c: Likewise.
30470 * libio/oldiofclose.c: Likewise.
30471 * libio/oldiofdopen.c: Likewise.
30472 * libio/oldiofopen.c: Likewise.
30473 * libio/oldiopopen.c: Likewise.
30474 * libio/wfiledoalloc.c: Likewise.
30475 * libio/wgenops.c: Likewise.
30476 * locale/programs/xmalloc.c: Likewise.
30477 * misc/syslog.c: Likewise.
30478 * stdio-common/xbug.c: Likewise.
30479 * string/memchr.c: Likewise.
30480 * string/memcmp.c: Likewise.
30481 * string/memrchr.c: Likewise.
30482 * string/rawmemchr.c: Likewise.
30483 * sysdeps/posix/getcwd.c: Likewise.
30484 * time/strftime_l.c: Likewise.
30485
3b100462
JM
304862012-01-30 Joseph Myers <joseph@codesourcery.com>
30487
30488 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30489 * config.make.in (config-cflags-sse2avx): Define.
30490 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30491 Fix typo.
30492
607998af
CM
304932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30494
30495 * scripts/config.guess: Update from upstream config git repository.
30496 * scripts/config.sub: Likewise.
30497
3601428f
CM
304982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30499
3ac8b282
CM
30500 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30501 (EM_NUM): Update.
30502 (R_TILEPRO_*, R_TILEGX_*): New macros.
30503
e034841e
CM
30504 * scripts/firstversions.awk: Fix bug in version range handling.
30505
540d7568
CM
30506 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30507
3601428f
CM
30508 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30509
463de862
CM
30510 * include/sys/epoll.h: New file.
30511 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30512 libc_hidden_def.
30513
73139a76
UD
305142012-01-28 Ulrich Drepper <drepper@gmail.com>
30515
96bc5b45
UD
30516 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30517 Avoid unnecessary __WORDSIZE == 64 test.
30518 (fmaxf): Use VEX format if possible.
30519 (fmax): Likewise.
30520 (fminf): Likewise.
30521 (fmin): Likewise.
30522
56f6f6a2
UD
30523 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30524 * math/math_private.h: Remove libc_fegetround* and
30525 libc_fesetround*.
30526 * sysdeps/i386/configure.in: Check for -msse2avx.
30527 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30528 also if SSE2AVX is defined.
30529 Remove libc_fegetround* and libc_fesetround*.
30530 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30531 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30532 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30533 of HAS_YMM_USABLE.
30534 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30535 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30536 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30537 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30538 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30539
73139a76
UD
30540 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30541
d73f93a4
AZ
305422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30543
30544 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30545 size is not set.
30546 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30547
6ee65ed6
UD
305482012-01-27 Ulrich Drepper <drepper@gmail.com>
30549
30550 [BZ #13618]
30551 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30552 relocation.
30553 * Makeconfig (libm): Define.
30554 * elf/Makefile: Add rules to build and run tst-relsort1.
30555 * elf/tst-relsort1.c: New file.
30556 * elf/tst-relsort1mod1.c: New file.
30557 * elf/tst-relsort1mod2.c: New file.
30558
8db21882
JM
305592012-01-27 Joseph Myers <joseph@codesourcery.com>
30560
30561 * math/s_ldexp.c: Remove __STDC__ conditionals.
30562 * math/s_ldexpf.c: Likewise.
30563 * math/s_ldexpl.c: Likewise.
30564 * math/s_nextafter.c: Likewise.
30565 * math/s_nexttowardf.c: Likewise.
30566 * math/s_significand.c: Likewise.
30567 * math/s_significandf.c: Likewise.
30568 * math/s_significandl.c: Likewise.
30569 * math/w_jnl.c: Likewise.
30570 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30571 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30572 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30573 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30574 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30585 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30586 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30591 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30592 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30593 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30594 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30595 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30596 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30597 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30598 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30599 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30600 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30601 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30602 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30603 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30604 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30605 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30606 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30607 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30608 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30609 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30610 * sysdeps/ieee754/k_standard.c: Likewise.
30611 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30612 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30613 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30614 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30615 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30616 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30617 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30618 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30619 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30620 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30621 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30623 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30624 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30625 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30626 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30627 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30628 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30629 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30630 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30631 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30632 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30633 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30634 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30635 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30636 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30637 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30638 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30640 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30641 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30642 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30643 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30644 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30645 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30646 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30648 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30649 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30650 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30659 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30660 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30661 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30662 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30671 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30672 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30677 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30685 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30686 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30690 * sysdeps/ieee754/s_matherr.c: Likewise.
30691 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30692 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30693 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30694 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30695
965a54a4
JM
306962012-01-26 Joseph Myers <joseph@codesourcery.com>
30697
30698 * crypt/md5.h: Remove __STDC__ conditionals.
30699 * libio/libioP.h: Likewise.
30700 * locale/programs/config.h: Likewise.
30701 * sysdeps/generic/sysdep.h: Likewise.
30702 * sysdeps/i386/asm-syntax.h: Likewise.
30703 * sysdeps/s390/asm-syntax.h: Likewise.
30704 * sysdeps/unix/sysdep.h: Likewise.
30705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30707
7071ad79
JM
307082012-01-26 Joseph Myers <joseph@codesourcery.com>
30709
30710 * libio/libio.h: Remove __STDC__ conditionals.
30711 * malloc/obstack.h: Likewise.
30712 * math/complex.h: Likewise.
30713 * math/math.h: Likewise.
30714 * sysdeps/generic/_G_config.h: Likewise.
30715 * sysdeps/gnu/_G_config.h: Likewise.
30716 * sysdeps/mach/hurd/_G_config.h: Likewise.
30717 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30718 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30719 * sysdeps/sparc/bits/mathdef.h: Likewise.
30720
afc5ed09
UD
307212012-01-26 Ulrich Drepper <drepper@gmail.com>
30722
30723 [BZ #13583]
30724 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30725 Clean up HAS_* macros.
afc5ed09 30726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30727 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30728 possible.
30729 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30730 HAS_AVX.
30731 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30732 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30733 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30734 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30735 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30736
bdb6de1d
JM
307372012-01-25 Joseph Myers <joseph@codesourcery.com>
30738
30739 * elf/tst-unique3.cc (gets): Remove declaration.
30740 * elf/tst-unique3lib.cc (gets): Likewise.
30741 * elf/tst-unique3lib2.cc (gets): Likewise.
30742 * elf/tst-unique4.cc (gets): Likewise.
30743
b15549e6
UD
307442012-01-24 Ulrich Drepper <drepper@gmail.com>
30745
30746 * include/stdio.h: Add C++ protection. Add gets declarations and
30747 definitions.
30748 * debug/tst-chk1.c: Don't declare gets here.
30749 * stdio-common/tst-gets.c: Likewise.
30750
a037381f
JM
307512012-01-24 Joseph Myers <joseph@codesourcery.com>
30752
30753 * posix/glob: Remove directory.
30754
f1d4aa75
JM
307552012-01-24 Joseph Myers <joseph@codesourcery.com>
30756
30757 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30758
81c0c964
PT
307592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30760
30761 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30762 of the non-standard EPFNOSUPPORT.
30763
0ea698ae
ST
307642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30765
30766 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30767 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30768 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30769
d220b117
UD
307702012-01-21 Ulrich Drepper <drepper@gmail.com>
30771
30772 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30773
3e1aa84e
UD
307742012-01-20 Ulrich Drepper <drepper@gmail.com>
30775
30776 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30777 transient errors.
30778 * nscd/grpcache.c (cache_addgr): Likewise.
30779 * nscd/hstcache.c (cache_addhst): Likewise.
30780 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30781 * nscd/pwdcache.c (cache_addpw): Likewise.
30782 * nscd/servicescache.c (cache_addserv): Likewise.
30783
400aa020
UD
307842012-01-16 Ulrich Drepper <drepper@gmail.com>
30785
d77e7869
UD
30786 * malloc/malloc.c: Various cleanups.
30787 * malloc/hooks.c: Likewise.
30788
400aa020
UD
30789 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30790 * stdlib/bug-fmtmsg1.c: New file.
30791
30792 * stdlib/fmtmsg.c (init): Add missing unlock.
30793 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30794
e0a309cf
MP
307952012-01-12 Marek Polacek <polacek@redhat.com>
30796
30797 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30798 and _GNU_SOURCE.
30799
929d11c7
WS
308002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30801
30802 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30803 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30804 macro to ensure uniqueness of label name.
30805 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30806 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30807
41d0e869
UD
308082012-01-11 Ulrich Drepper <drepper@gmail.com>
30809
0cc5ed3b
UD
30810 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30811
41d0e869
UD
30812 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30813 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30815 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30816
a47a831a
UD
308172012-01-10 Ulrich Drepper <drepper@gmail.com>
30818
daa891c0
UD
30819 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30820
30821 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30822 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30824
e58ef0f2
UD
30825 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30826
a47a831a 30827 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30828 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30830 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30831
30832 * math/bits/math-finite.h: Add ldexp support.
30833
a0bfc9c7
MP
308342012-01-10 Marek Polacek <polacek@redhat.com>
30835
30836 * locale/programs/localedef.h (show_archive_content): Add noreturn
30837 attribute.
30838
d6e97a1d
UD
308392012-01-09 Ulrich Drepper <drepper@gmail.com>
30840
30841 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30842
d5835c26
UD
308432012-01-08 Ulrich Drepper <drepper@gmail.com>
30844
e5f484c6
UD
30845 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30846
d5835c26
UD
30847 * io/Makefile (headers): Add bits/poll2.h.
30848
d1f741e9
WS
308492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30850
30851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30852 typo #include statement.
30853
ec09c1c4
UD
308542012-01-08 Ulrich Drepper <drepper@gmail.com>
30855
30856 * include/sys/cdefs.h: Define __attribute_alloc_size.
30857 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30858 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30859 * elf/pldd.c: Likewise.
30860 * iconv/iconv_charmap.c: Likewise.
30861 * iconv/iconvconfig.c: Likewise.
30862 * iconv/strtab.c: Likewise.
30863 * locale/programs/locale.c: Likewise.
30864 * locale/programs/localedef.h: Likewise.
30865 * locale/programs/simple-hash.c: Likewise.
30866 * nscd/nscd.h: Likewise.
30867 * nss/makedb.c: Likewise.
30868 * sysdeps/generic/ldconfig.h: Likewise.
30869 * locale/programs/localedef.c: Remove xmalloc prototype.
30870 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30871
20b38e03
PP
308722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30873
30874 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30875 appropriate.
30876
a0da5fe1
UD
308772012-01-08 Ulrich Drepper <drepper@gmail.com>
30878
1d5a644a 30879 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30880 * math/tst-CMPLX.c: New file.
1d5a644a 30881
8784a6db
UD
30882 * math/complex.h (CMPLXL): Fix typo.
30883
d9a216c0
UD
30884 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30885 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30886 GLIBC_2.16.
30887 * debug/tst-chk1.c: Add poll and ppoll tests.
30888 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30889 * include/sys/poll.h: Add hidden proto for ppoll.
30890 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30891 * sysdeps/mach/hurd/ppoll.c: Likewise.
30892 * io/ppoll.c: Likewise.
30893 * debug/poll_chk.c: New file.
30894 * debug/ppoll_chk.c: New file.
30895 * include/bits/poll2.h: New file.
30896 * io/bits/poll2.h: New file.
30897
ac097f5c
UD
30898 [BZ #1350]
30899 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30900
2119dcfa
UD
30901 * configure.in: static is always set to yes. Remove.
30902 * config.make.in: Don't set build-static.
30903 * Makeconfig: Remove use of build-static.
30904 * dlfcn/Makefile: Likewise.
30905 * elf/Makefile: Likewise.
30906 * math/Makefile: Likewise.
30907 * misc/Makefile: Likewise.
30908 * nptl/Makefile: Likewise.
30909 * sysdeps/mach/hurd/Makefile: Likewise.
30910
121766a9
UD
30911 * configure.in: PWD_P is not used anymore.
30912 * config.make.in: Remove PWD_P entry.
30913
51a1d39c 30914 * configure.in: Remove last remnants of RANLIB.
8720d066 30915 No need to check for signed size_t anymore.
215f4bdc
UD
30916 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30917 and IA-64.
3857022a 30918 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30919 * aclocal.m4: Likewise.
30920
d3ed7225
UD
30921 * wcsmbs/mbrtoc16.c: Implement using towc function.
30922 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30923 * wcsmbs/wcsmbsload.c: Likewise.
30924 * iconv/gconv_simple.c: Likewise.
30925 * iconv/gconv_int.h: Likewise.
30926 * iconv/gconv_builtin.h: Likewise.
30927 * iconv/iconv_prog.c: Remove CHAR16 handling.
30928
30929 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30930
30931 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30932
a0da5fe1
UD
30933 * configure.in: Remove --with-elf and --enable-bounded options.
30934 Dont set base_machine for ia64. More non-ELF conditions removed.
30935 Remove testing and setting of leading underscore information.
30936 * config.make.in (build-bounded): Set to no.
30937 * config.h.in: Remove NO_UNDERSCORES entry.
30938 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30939 them.
30940 * csu/start.c: Remove !NO_UNDERSCORE code.
30941 * locale/localeinfo.h: Likewise.
30942 * sysdeps/generic/machine-gmon.h: Likewise.
30943 * sysdeps/generic/sysdep.h: Likewise.
30944 * sysdeps/i386/sysdep.h: Likewise.
30945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30946 * sysdeps/mach/sysdep.h: Likewise.
30947 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30948 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30949 * sysdeps/sh/sysdep.h: Likewise.
30950 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30951 * sysdeps/unix/i386/sysdep.S: Likewise.
30952 * sysdeps/unix/sparc/start.c: Likewise.
30953 * sysdeps/unix/sparc/sysdep.S: Likewise.
30954 * sysdeps/unix/sparc/sysdep.h: Likewise.
30955 * sysdeps/unix/start.c: Likewise.
30956 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30957 * sysdeps/x86_64/sysdep.h: Likewise.
30958
df78418a
UD
309592012-01-07 Ulrich Drepper <drepper@gmail.com>
30960
a784e502
UD
30961 [BZ #13553]
30962 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30963 for non-gcc.
30964 * argp/argp-fmtstream.h: Use const instead __const.
30965 * argp/argp.h: Likewise.
30966 * assert/assert.h: Likewise.
30967 * bits/fenv.h: Likewise.
30968 * bits/sched.h: Likewise.
30969 * bits/sigset.h: Likewise.
30970 * bits/sigthread.h: Likewise.
30971 * catgets/nl_types.h: Likewise.
30972 * conform/data/pthread.h-data: Likewise.
30973 * crypt/crypt-private.h: Likewise.
30974 * crypt/crypt.h: Likewise.
30975 * crypt/crypt_util.c: Likewise.
30976 * ctype/ctype.h: Likewise.
30977 * debug/execinfo.h: Likewise.
30978 * debug/mbsnrtowcs_chk.c: Likewise.
30979 * debug/mbsrtowcs_chk.c: Likewise.
30980 * debug/wcsnrtombs_chk.c: Likewise.
30981 * debug/wcsrtombs_chk.c: Likewise.
30982 * debug/wcstombs_chk.c: Likewise.
30983 * dirent/dirent.h: Likewise.
30984 * dlfcn/dlfcn.h: Likewise.
30985 * elf/neededtest4.c: Likewise.
30986 * grp/grp.h: Likewise.
30987 * gshadow/gshadow.h: Likewise.
30988 * iconv/gconv.h: Likewise.
30989 * iconv/gconv_int.h: Likewise.
30990 * iconv/gconv_simple.c: Likewise.
30991 * iconv/iconv.h: Likewise.
30992 * iconv/loop.c: Likewise.
30993 * iconv/skeleton.c: Likewise.
30994 * include/aio.h: Likewise.
30995 * include/aliases.h: Likewise.
30996 * include/argz.h: Likewise.
30997 * include/arpa/inet.h: Likewise.
30998 * include/assert.h: Likewise.
30999 * include/dirent.h: Likewise.
31000 * include/dlfcn.h: Likewise.
31001 * include/execinfo.h: Likewise.
31002 * include/fcntl.h: Likewise.
31003 * include/fenv.h: Likewise.
31004 * include/glob.h: Likewise.
31005 * include/grp.h: Likewise.
31006 * include/libintl.h: Likewise.
31007 * include/mntent.h: Likewise.
31008 * include/netdb.h: Likewise.
31009 * include/pwd.h: Likewise.
31010 * include/rpc/netdb.h: Likewise.
31011 * include/sched.h: Likewise.
31012 * include/search.h: Likewise.
31013 * include/shadow.h: Likewise.
31014 * include/signal.h: Likewise.
31015 * include/stdio.h: Likewise.
31016 * include/stdlib.h: Likewise.
31017 * include/string.h: Likewise.
31018 * include/sys/socket.h: Likewise.
31019 * include/sys/stat.h: Likewise.
31020 * include/sys/statfs.h: Likewise.
31021 * include/sys/statvfs.h: Likewise.
31022 * include/sys/syslog.h: Likewise.
31023 * include/sys/time.h: Likewise.
31024 * include/sys/uio.h: Likewise.
31025 * include/time.h: Likewise.
31026 * include/unistd.h: Likewise.
31027 * include/utmp.h: Likewise.
31028 * include/wchar.h: Likewise.
31029 * include/wctype.h: Likewise.
31030 * inet/aliases.h: Likewise.
31031 * inet/arpa/inet.h: Likewise.
31032 * inet/netinet/ether.h: Likewise.
31033 * inet/netinet/in.h: Likewise.
31034 * intl/libintl.h: Likewise.
31035 * io/bits/fcntl2.h: Likewise.
31036 * io/fcntl.h: Likewise.
31037 * io/ftw.h: Likewise.
31038 * io/sys/poll.h: Likewise.
31039 * io/sys/stat.h: Likewise.
31040 * io/sys/statfs.h: Likewise.
31041 * io/sys/statvfs.h: Likewise.
31042 * io/utime.h: Likewise.
31043 * libio/bits/stdio.h: Likewise.
31044 * libio/bits/stdio2.h: Likewise.
31045 * libio/libio.h: Likewise.
31046 * libio/libioP.h: Likewise.
31047 * libio/stdio.h: Likewise.
31048 * locale/lc-ctype.c: Likewise.
31049 * locale/locale.h: Likewise.
31050 * login/utmp.h: Likewise.
31051 * malloc/arena.c: Likewise.
31052 * malloc/malloc.c: Likewise.
31053 * malloc/malloc.h: Likewise.
31054 * malloc/mcheck.c: Likewise.
31055 * malloc/mtrace.c: Likewise.
31056 * math/bits/mathcalls.h: Likewise.
31057 * math/fenv.h: Likewise.
31058 * math/math_private.h: Likewise.
31059 * misc/bits/error.h: Likewise.
31060 * misc/bits/syslog.h: Likewise.
31061 * misc/err.h: Likewise.
31062 * misc/error.h: Likewise.
31063 * misc/fstab.h: Likewise.
31064 * misc/mntent.h: Likewise.
31065 * misc/regexp.h: Likewise.
31066 * misc/search.h: Likewise.
31067 * misc/sgtty.h: Likewise.
31068 * misc/sys/mman.h: Likewise.
31069 * misc/sys/syslog.h: Likewise.
31070 * misc/sys/uio.h: Likewise.
31071 * misc/sys/xattr.h: Likewise.
31072 * misc/ttyent.h: Likewise.
31073 * nis/rpcsvc/ypclnt.h: Likewise.
31074 * nss/nss.h: Likewise.
31075 * posix/bits/unistd.h: Likewise.
31076 * posix/fnmatch.h: Likewise.
31077 * posix/glob.h: Likewise.
31078 * posix/sched.h: Likewise.
31079 * posix/spawn.h: Likewise.
31080 * posix/sys/wait.h: Likewise.
31081 * posix/unistd.h: Likewise.
31082 * posix/wordexp.h: Likewise.
31083 * pwd/pwd.h: Likewise.
31084 * resolv/netdb.h: Likewise.
31085 * resource/sys/resource.h: Likewise.
31086 * rt/aio.h: Likewise.
31087 * rt/bits/mqueue2.h: Likewise.
31088 * rt/mqueue.h: Likewise.
31089 * shadow/shadow.h: Likewise.
31090 * signal/signal.h: Likewise.
31091 * socket/send.c: Likewise.
31092 * socket/sendto.c: Likewise.
31093 * socket/sys/socket.h: Likewise.
31094 * stdio-common/printf.h: Likewise.
31095 * stdlib/bits/stdlib.h: Likewise.
31096 * stdlib/fmtmsg.h: Likewise.
31097 * stdlib/monetary.h: Likewise.
31098 * stdlib/stdlib.h: Likewise.
31099 * stdlib/ucontext.h: Likewise.
31100 * streams/stropts.h: Likewise.
31101 * string/argz.h: Likewise.
31102 * string/bits/string2.h: Likewise.
31103 * string/string.h: Likewise.
31104 * string/strings.h: Likewise.
31105 * sunrpc/rpc/auth.h: Likewise.
31106 * sunrpc/rpc/auth_des.h: Likewise.
31107 * sunrpc/rpc/clnt.h: Likewise.
31108 * sunrpc/rpc/netdb.h: Likewise.
31109 * sunrpc/rpc/pmap_clnt.h: Likewise.
31110 * sunrpc/rpc/xdr.h: Likewise.
31111 * sysdeps/generic/inttypes.h: Likewise.
31112 * sysdeps/generic/net/if.h: Likewise.
31113 * sysdeps/generic/sys/swap.h: Likewise.
31114 * sysdeps/gnu/net/if.h: Likewise.
31115 * sysdeps/gnu/utmpx.h: Likewise.
31116 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31117 * sysdeps/i386/i486/bits/string.h: Likewise.
31118 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31119 * sysdeps/s390/bits/string.h: Likewise.
31120 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31121 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31122 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31123 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31124 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31125 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31126 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31127 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31128 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31129 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31130 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31131 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31132 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31133 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31134 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31135 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31136 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31138 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31139 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31140 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31141 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31142 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31143 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31144 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31145 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31146 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31147 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31148 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31149 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31150 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31151 * sysvipc/sys/ipc.h: Likewise.
31152 * sysvipc/sys/msg.h: Likewise.
31153 * sysvipc/sys/sem.h: Likewise.
31154 * sysvipc/sys/shm.h: Likewise.
31155 * termios/termios.h: Likewise.
31156 * time/sys/time.h: Likewise.
31157 * time/time.h: Likewise.
31158 * wcsmbs/bits/wchar2.h: Likewise.
31159 * wcsmbs/uchar.h: Likewise.
31160 * wcsmbs/wchar.h: Likewise.
31161 * wctype/wctype.h: Likewise.
31162
0269750c
UD
31163 [BZ #13551]
31164 * Makeconfig: Remove all but ELF support including AIX support.
31165 * Makerules: Likewise.
31166 * config.h.in: Likewise.
31167 * config.make.in: Likewise.
31168 * configure: Likewise.
31169 * configure.in: Likewise.
31170 * csu/Makefile: Likewise.
31171 * csu/version.c: Likewise.
31172 * debug/Makefile: Likewise.
31173 * dlfcn/Makefile: Likewise.
31174 * elf/Makefile: Likewise.
31175 * extra-lib.mk: Likewise.
31176 * iconv/Makefile: Likewise.
31177 * include/libc-symbols.h: Likewise.
31178 * include/shlib-compat.h: Likewise.
31179 * resolv/Makefile: Likewise.
31180 * resolv/res_libc.c: Likewise.
31181 * rt/Makefile: Likewise.
31182 * sysdeps/i386/asm-syntax.h: Likewise.
31183 * sysdeps/i386/sysdep.h: Likewise.
31184 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31185 * sysdeps/mach/sysdep.h: Likewise.
31186 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31187 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31188 * sysdeps/s390/asm-syntax.h: Likewise.
31189 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31190 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31191 * sysdeps/sh/sysdep.h: Likewise.
31192 * sysdeps/unix/sparc/sysdep.h: Likewise.
31193 * sysdeps/wordsize-32/divdi3.c: Likewise.
31194 * sysdeps/x86_64/sysdep.h: Likewise.
31195
00bbd29b
UD
31196 * argp/Versions: Remove _argp_unlock_xxx.
31197
31198 [BZ #13559]
31199 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31200 * abilist/libBrokenLocale.abilist: Likewise.
31201 * abilist/libanl.abilist: Likewise.
31202 * abilist/libc.abilist: Likewise.
31203 * abilist/libcrypt.abilist: Likewise.
31204 * abilist/libdl.abilist: Likewise.
31205 * abilist/libm.abilist: Likewise.
31206 * abilist/libnsl.abilist: Likewise.
31207 * abilist/libpthread.abilist: Likewise.
31208 * abilist/libresolv.abilist: Likewise.
31209 * abilist/librt.abilist: Likewise.
31210 * abilist/libthread_db.abilist: Likewise.
31211 * abilist/libutil.abilist: Likewise.
31212 * abilist/libnss_db.abilist: New file.
31213
31214 * scripts/abilist.awk: Add support for indirect functions.
31215
a2693a0e
UD
31216 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31217
3f05895f
UD
31218 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31219
ecb6fb48
UD
31220 * shlib-versions: Remove entries for ports architectures.
31221
664f8cb9
UD
31222 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31223 files in ports.
31224 * elf/stackguard-macros.h: Remove support for IA-64.
31225 * elf/tst-auditmod1.c: Likewise.
31226 * sysdeps/generic/ldsodefs.h: Likewise.
31227
7ae81d88
UD
31228 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31229 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31230 configure files.
31231
bdeba135
UD
31232 [BZ #13552]
31233 * configure.in: Remove --enable-omitfp support.
31234 * FAQ.in: Adjust.
31235 * config.make.in: Likewise.
31236 * Makeconfig: Likewise.
31237 * manual/install.texi: Likewise.
31238
d75a0a62
UD
31239 In case anyone cares, the IA-64 architecture could move to ports.
31240 * sysdeps/ia64/*: Removed.
31241 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31242 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31243
dcc9756b
UD
31244 [BZ #13555]
31245 * configure.in: Remove entries for unsupported architectures.
31246
d3761ebc 31247 [BZ #13533]
9954432e
UD
31248 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31249 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31250 routines.
31251 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31252 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31253 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31254 fall back to using wcrtomb.
31255 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31256 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31257 renaming.
31258 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31259 * wcsmbs/tst-c16c32-1.c: New file.
31260
31261 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31262 local variable.
31263
c3a87236
UD
31264 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31265
28926a1b
UD
31266 * elf/tst-unique3.cc: Add explicit declaration of gets.
31267 * elf/tst-unique3lib.cc: Likewise.
31268 * elf/tst-unique3lib2.cc: Likewise.
31269 * elf/tst-unique4.cc: Likewise.
31270
df78418a
UD
31271 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31272
8ecd6b2a
JM
312732012-01-06 Joseph Myers <joseph@codesourcery.com>
31274
31275 [BZ #13566]
31276 * assert/assert.h (static_assert): Don't define for C++.
31277 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31278 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31279
9f115170
UD
312802012-01-03 Ulrich Drepper <drepper@gmail.com>
31281
5e0d0300
UD
31282 * iconv/loop.c (single loop): Fix assertion in storing of
31283 remaining bytes.
31284
9f115170
UD
31285 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31286
81fb02b0
UD
312872012-01-01 Ulrich Drepper <drepper@gmail.com>
31288
31289 * posix/getconf.c: Update copyright year.
31290 * nss/getent.c: Likewise.
a316c1f6 31291 * nss/makedb.c: Likewise.
81fb02b0
UD
31292 * iconv/iconvconfig.c: Likewise.
31293 * iconv/iconv_prog.c: Likewise.
31294 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31295 * elf/pldd.c: Likewise.
31296 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31297 * catgets/gencat.c: Likewise.
31298 * csu/version.c: Likewise.
31299 * elf/ldd.bash.in: Likewise.
31300 * elf/sprof.c (print_version): Likewise.
31301 * locale/programs/locale.c: Likewise.
31302 * locale/programs/localedef.c: Likewise.
a316c1f6 31303 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31304 * nscd/nscd.c (print_version): Likewise.
31305 * debug/xtrace.sh: Likewise.
31306 * malloc/memusage.sh: Likewise.
31307 * malloc/mtrace.pl: Likewise.
31308 * debug/catchsegv.sh: Likewise.
31309
2ba92745
JJ
313102011-12-30 Jakub Jelinek <jakub@redhat.com>
31311
31312 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31313 pure attribute.
31314
dadebdae
UD
313152011-12-24 Ulrich Drepper <drepper@gmail.com>
31316
d3761ebc 31317 [BZ #13533]
db6af3eb
UD
31318 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31319 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31320 transformations.
31321 * iconv/gconv_int.h: Likewise.
31322 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31323 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31324 from libc for GLIBC_2.16.
31325 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31326 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31327 * wcsmbs/uchar.h: Really define mbstate_t.
31328 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31329 * wcsmbs/c16rtomb.c: New file.
31330 * wcsmbs/mbrtoc16.c: New file.
31331 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31332 for C/POSIX locale.
31333 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31334 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31335
dadebdae
UD
31336 * wcsmbs/wchar.h: Add missing __restrict.
31337
67371b56
UD
313382011-12-23 Ulrich Drepper <drepper@gmail.com>
31339
74033a25
UD
31340 [BZ #13532]
31341 * time/Makefile (routines): Add timespec_get.
31342 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31343 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31344 timespec for ISO C11.
31345 * time/timespec_get.c: New file.
31346 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31347 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31348
380d7e87
UD
31349 [BZ #13531]
31350 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31351 * stdlib/stdlib.h: Declare aligned_alloc.
31352 * Versions.def: Add GLIBC_2.16 for libc.
31353 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31354
4e9e7a35
UD
31355 [BZ 13527]
31356 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31357 ISO C11.
31358
380d7e87 31359 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31360 code.
31361
03a71829
UD
31362 [BZ #13528]
31363 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31364
839e283e
UD
31365 [BZ #13529]
31366 * assert/assert.h (static_assert): Define.
31367
ce5294e2 31368 * version.h: Update for 2.16 development version.
90fa7312 31369
8d44e150 31370 [BZ #13526]
d7809905
UD
31371 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31372 _ISOC11_SOURCE.
31373
c0da14cd
UD
31374 * version.h (RELEASE): Bump for 2.15 release.
31375 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31376
530a3249
MP
31377 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31378 Patch by Marek Polacek <mpolacek@redhat.com>.
31379
67371b56
UD
31380 * bits/byteswap.h: Protect long long constants with __extension__.
31381 * sysdeps/i386/bits/byteswap.h: Likewise.
31382 * sysdeps/ia64/bits/byteswap.h: Likewise.
31383 * sysdeps/s390/bits/byteswap.h: Likewise.
31384 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31385
15db4de1
LD
313862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31387
31388 [BZ #13540]
bbe315ea
LD
31389 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31390 destination buffer.
15db4de1
LD
31391 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31392
2b2596b1
MP
313932011-12-23 Marek Polacek <polacek@redhat.com>
31394
31395 * elf/dl-addr.c (determine_info): Add inline keyword.
31396 * elf/tst-auditmod4b.c (check_avx): Likewise.
31397 * elf/tst-auditmod6b.c (check_avx): Likewise.
31398 * elf/tst-auditmod6c.c (check_avx): Likewise.
31399 * elf/tst-auditmod7b.c (check_avx): Likewise.
31400
70c6c246
UD
314012011-12-23 Ulrich Drepper <drepper@gmail.com>
31402
31403 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31404 !__SSE_MATH__.
31405
c044cf14
LD
314062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31407
15db4de1 31408 [BZ #13540]
c044cf14
LD
31409 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31410 processing for last bytes.
31411
6b13d9d9
BH
314122011-08-06 Bruno Haible <bruno@clisp.org>
31413
d455f537
BH
31414 [BZ #13061]
31415 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31416 U+0385, not to U+1FEE.
31417
6b13d9d9
BH
31418 [BZ #13062]
31419 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31420 entry for U+00A5 U+0301.
31421
db910efd
UD
314222011-12-22 Ulrich Drepper <drepper@gmail.com>
31423
27deeafc
UD
31424 [BZ #13166]
31425 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31426 buffer for the output is too small.
31427
aed9d171
UD
31428 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31429 optimization.
31430
db910efd
UD
31431 [BZ #13185]
31432 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31433 SSE flags if possible.
31434
2bd779ae
LD
314352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31436
e7f9dac3 31437 [BZ #13540]
2bd779ae
LD
31438 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31439 processing for last bytes.
31440
154bfc16
JM
314412011-12-22 Joseph Myers <joseph@codesourcery.com>
31442
31443 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31444 (syscall-list-default-options, syscall-list-default-condition)
31445 (syscall-list-includes): Define.
31446 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31447 list of ABIs and options and #if conditions for each ABI. Do not
31448 handle common syscalls between ABIs specially.
31449 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
31455 (syscall-list-variants, syscall-list-32bit-options)
31456 (syscall-list-32bit-condition, syscall-list-64bit-options)
31457 (syscall-list-64bit-condition): Define.
31458 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31459 Remove.
31460 (syscall-list-variants, syscall-list-32bit-options)
31461 (syscall-list-32bit-condition, syscall-list-64bit-options)
31462 (syscall-list-64bit-condition): Define.
31463 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31464 Remove.
31465 (syscall-list-variants, syscall-list-32bit-options)
31466 (syscall-list-32bit-condition, syscall-list-64bit-options)
31467 (syscall-list-64bit-condition): Define.
31468
21eaf3a5
UD
314692011-12-22 Ulrich Drepper <drepper@gmail.com>
31470
16c6f992
UD
31471 * locale/iso-639.def: Add brx entry.
31472
41043168
UD
31473 [BZ #13328]
31474 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31475 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31476
21eaf3a5
UD
31477 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31478 __feraiseexcept_renamed.
31479
e3a851a2
UD
314802011-12-21 Ulrich Drepper <drepper@gmail.com>
31481
4920765e
UD
31482 [BZ #13538]
31483 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31484 EPOLLET with unsigned values.
31485 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31486 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31487
e3a851a2
UD
31488 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31489 to large cancellation.
31490 * math/s_cacoshf.c: Likewise.
31491 * math/s_cacoshl.c: Likewise.
31492
b27e24b8
RK
314932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31494
31495 [BZ #13305]
aebefeee 31496 [BZ #12786]
b27e24b8
RK
31497 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31498 * math/s_cacoshf.c: Likewise.
31499 * math/s_cacoshl.c: Likewise.
31500
ee190f67
UD
315012011-12-21 Ulrich Drepper <drepper@gmail.com>
31502
31503 [BZ #13439]
31504 * iconv/gconv.h: Define __GCONV_SWAP.
31505 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31506 * iconvdata/utf-16.c: Likewise.
31507 * iconvdata/utf-32.c: Likewise.
31508
707f25df
AS
315092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31510
31511 [BZ #13524]
31512 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31513 numerator after shifting it by one limb.
31514
d2daaa1e
RÁE
315152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31516
31517 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31518 under [__USE_EXTERN_INLINES].
31519
a4647e72
UD
315202011-12-17 Ulrich Drepper <drepper@gmail.com>
31521
31522 [BZ #13446]
31523 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31524
f0b264f1
AZ
315252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31526
31527 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31528 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31529 optimized code.
31530 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31531 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31532 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31533 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31534 for strncasecmp/strncasecmp_l compilation.
31535 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31536 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31537
8ef4f244
MP
315382011-12-08 Marek Polacek <mpolacek@redhat.com>
31539
31540 [BZ #13484]
31541 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31542 of __asm__.
31543
97ac2654
UD
315442011-12-17 Ulrich Drepper <drepper@gmail.com>
31545
31546 [BZ #13506]
31547 * time/tzfile.c (__tzfile_read): Check values from file header.
31548
91d2a845
WS
315492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31550
31551 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31552 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31553 * powerpc/powerpc32/dl-start.S: Likewise.
31554 * powerpc/powerpc32/elf/start.S: Likewise.
31555 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31556 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31557 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31558 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31559 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31560 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31561 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31562 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31563 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31564 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31565 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31566 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31567 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31568 * powerpc/powerpc32/memset.S: Likewise.
31569 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31570 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31571 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31572 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31573 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31574 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31575 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31576 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31577 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31578 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31579 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31580 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31581 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31582
a1267ba1
AZ
315832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31584
31585 * math/libm-test.inc: Added more nearbyint tests.
31586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31587 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31588 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31589 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31590
ad8ac1bd
RL
315912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31592
31593 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31594 FD_CLOEXEC.
31595
1d3e4b61
UD
315962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31597
31598 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31599 Add wcscpy-ssse3 wcscpy-c.
31600 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31601 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31602 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31603 * sysdeps/x86_64/wcschr.S: New file.
31604 * sysdeps/x86_64/wcsrchr.S: New file.
31605 * string/test-strcmp.c: Remove checking of wcscmp function for
31606 wrong alignments.
31607 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31608 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31609 wcsrchr-sse2 wcsrchr-c.
31610 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31611 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31612 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31613 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31614 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31615 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31616 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31617 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31618 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31619 * wcsmbc/wcschr.c (WCSCHR): New macro.
31620
5b330a2d
UD
316212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31622
31623 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31624 * wcsmbs/test-wcsrchr.c: New file.
31625 * string/test-strrchr.c: Add wcsrchr support.
31626 (WIDE): New macro.
31627 * wcsmbs/test-wcscpy.c: New file.
31628 * string/test-strcpy.c: Add wcscpy support.
31629 (WIDE): New macro.
26428b7c 31630
f039c043
UD
316312011-12-10 Ulrich Drepper <drepper@gmail.com>
31632
31633 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31634 the inner loop.
31635
850fb039
AS
316362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31637
31638 [BZ #13472]
31639 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31640
4efbd5cb
UD
316412011-12-04 Ulrich Drepper <drepper@gmail.com>
31642
52ff5dd0 31643 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31644 Minor optimizations.
52ff5dd0 31645
4efbd5cb
UD
31646 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31647 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31648 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31649
8a426e12
UD
316502011-12-03 Ulrich Drepper <drepper@gmail.com>
31651
aff2453d
UD
31652 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31653 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31654 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31655 for gcc to avoid warnings.
31656 * inet/Makefile (tests): Add tst-checks.
31657 * inet/tst-checks.c: New file.
31658
31659 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31660 warning.
31661
31662 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31663 __wmemcmp_sse2.
31664
31665 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31666 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31667
8a426e12
UD
31668 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31669
9bea3473
UD
316702011-12-02 Ulrich Drepper <drepper@gmail.com>
31671
3a965496
UD
31672 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31673 problem.
31674
9bea3473
UD
31675 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31676
f101631b
UD
316772011-11-29 Joseph Myers <joseph@codesourcery.com>
31678
31679 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31680 conditional on GCC version.
31681 (__arch_compare_and_exchange_val_8_acq)
31682 (__arch_compare_and_exchange_val_16_acq)
31683 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31684 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31685 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31686
a98275aa
UD
316872011-12-02 Joseph Myers <joseph@codesourcery.com>
31688
31689 * sysdeps/sh/backtrace.c: New file.
31690
d4cc29a2
AS
316912011-12-02 Andreas Schwab <schwab@redhat.com>
31692
31693 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31694 parenthesis.
31695
6257af2d
AS
316962011-12-01 Andreas Schwab <schwab@redhat.com>
31697
31698 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31699 falling back to utime.
31700
b5f44c1a
AS
317012011-11-30 Andreas Schwab <schwab@redhat.com>
31702
31703 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31704 expectations for float.
31705
f3a6cc0a
AS
317062011-11-29 Andreas Schwab <schwab@redhat.com>
31707
31708 * locale/weight.h (findidx): Add parameter len.
31709 * locale/weightwc.h (findidx): Likewise.
31710 * posix/fnmatch_loop.c (FCT): Adjust caller.
31711 * posix/regcomp.c (build_equiv_class): Likewise.
31712 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31713 * posix/regexec.c (check_node_accept_bytes): Likewise.
31714 * string/strcoll_l.c (STRCOLL): Likewise.
31715 * string/strxfrm_l.c (STRXFRM): Likewise.
31716
9d65ea3a
UD
317172011-11-17 Ulrich Drepper <drepper@gmail.com>
31718
31719 * Makefile.in: Remove CVSOPT handling.
31720 * configure.in: Remove use of AC_REVISION.
31721 * iconvdata/Makefile (distribute): No need to filter out CVS.
31722 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31723 handling.
31724
5583a086
AS
317252011-11-16 Andreas Schwab <schwab@redhat.com>
31726
31727 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31728 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31729 [USE_AS_STRNCASECMP_L]: Likewise.
31730 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31731 NO_TLS_DIRECT_SEG_REFS.
31732 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31733 Fix argument offsets for non-PIC.
31734 [USE_AS_STRNCASECMP_L]: Likewise.
31735 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31736 NO_TLS_DIRECT_SEG_REFS.
31737
d62a8200
UD
317382011-11-15 Ulrich Drepper <drepper@gmail.com>
31739
9d65ea3a 31740 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31741 O_CLOEXEC.
31742 * locale/loadlocale.c (_nl_load_locale): Likewise.
31743
09f93bd3
AS
317442011-11-15 Andreas Schwab <schwab@redhat.com>
31745
446514f9
AS
31746 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31747 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31748 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31749 (SYSCALL_GETTIME): Set errno on error.
31750
09f93bd3
AS
31751 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31752 count references to noai6ai_cached.
31753
312be3f9
UD
317542011-11-15 Ulrich Drepper <drepper@gmail.com>
31755
31756 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31757
31758 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31759 FD_CLOEXEC for /proc/self/maps.
31760
31761 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31762 FD_CLOEXEC for /proc/meminfo.
31763
31764 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31765 gai.conf.
31766
31767 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31768 FD_CLOEXEC for given file.
31769
31770 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31771
31772 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31773 FD_CLOEXEC for /etc/hosts.
31774 (_gethtent): Likewise.
31775
31776 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31777
31778 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31779 cancellation and set FD_CLOEXEC for /etc/netgroup.
31780
31781 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31782 reading /etc/publickey.
31783
31784 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31785 allow cancellation when reading /etc/group.
31786
31787 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31788 cancellation.
31789 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31790
31791 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31792 when using data file.
31793
31794 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31795
31796 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31797 (write_nis_obj): Use "c" and "e" in fopen.
31798
31799 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31800
31801 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31802
31803 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31804
31805 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31806
31807 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31808 locale.alias.
31809
31810 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31811
31812 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31813
31814 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31815
31816 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31817 file parsing and set FD_CLOEXEC.
31818
82af0fa8
UD
318192011-11-14 Ulrich Drepper <drepper@gmail.com>
31820
31821 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31822
a5fb313c
AS
318232011-11-14 Andreas Schwab <schwab@redhat.com>
31824
31825 * malloc/arena.c (arena_get2): Don't call reused_arena when
31826 _int_new_arena failed.
31827
6abf3465
UD
318282011-11-14 Ulrich Drepper <drepper@gmail.com>
31829
31830 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31831 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31832 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31833 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31834 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31836 to compile strcasecmp and strncasecmp.
31837 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31838 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31839
31840 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31841
76e3966e
UD
318422011-11-13 Ulrich Drepper <drepper@gmail.com>
31843
31844 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31845 locale-defines.sym to gen-as-const-headers.
31846 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31847 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31849 to compile strcasecmp and strncasecmp.
31850 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31851 strcasecmp_l and strncasecmp_l.
31852 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31853 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31854 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31855 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31856 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31857 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31858 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31859 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31860 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31861 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31862 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31863
ab26144e
UD
318642011-11-12 Ulrich Drepper <drepper@gmail.com>
31865
7edb22ef
UD
31866 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31867 result of SYSDEP_GETTIME_CPU to retval.
31868 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31869 parameter list to macro. Remove trailing semicolon. Adjust users.
31870
9694fc44
UD
31871 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31872 variable.
31873
8ad89ef8
UD
31874 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31875 mantissa words.
31876 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31877
0c822ef9
UD
31878 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31879 from unused variable.
31880
874e0564
UD
31881 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31882 DWARF definitions.
31883 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31884 for assembling.
31885
3a2edc79
UD
31886 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31887 over namespaces.
31888
f3c2577f
UD
31889 * sunrpc/rpc_prot.c (rejected): Fix case value.
31890
294ce126
UD
31891 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31892 unsigned long long int to avoid warnings in shift.
31893
5e2b63c6
UD
31894 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31895 of use of trans.
31896 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31897 variable tmp.
31898
e7f4b08e
UD
31899 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31900 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31901 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31902
ab26144e
UD
31903 * nis/nis_table.c (nis_list): Use variable of correct type for
31904 result of __follow_path call.
31905
8a6d5255
AZ
319062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31907
31908 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31909 of math functions ceil, trunc, floor, round, and sqrt, when
31910 avaliable on the platform.
31911 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31912 name clash.
31913 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31914 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31915 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31916
aaddc98c
MP
319172011-10-30 Marek Polacek <mpolacek@redhat.com>
31918
31919 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31920 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31921
95b7042b
RM
319222011-11-11 Roland McGrath <roland@hack.frob.com>
31923
31924 * include/unistd.h: Fix __readlink return type.
31925 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31926
57769839
UD
319272011-11-11 Ulrich Drepper <drepper@gmail.com>
31928
31929 * stdlib/ucontext.h: Undo last change for makecontext.
31930
edc5984d
AS
319312011-11-11 Andreas Schwab <schwab@redhat.com>
31932
98591e58
AS
31933 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31934
edc5984d
AS
31935 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31936 * setjmp/setjmp.h: Mark functions as non-leaf.
31937 * setjmp/bits/setjmp2.h: Likewise.
31938 * stdlib/ucontext.h: Likewise.
31939
77cdc054
AS
319402011-11-10 Andreas Schwab <schwab@redhat.com>
31941
31942 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31943 (reused_arena): Don't check arena limit.
31944 (arena_get2): Atomically check arena limit.
31945
fe72eebd
UD
319462011-11-08 Ulrich Drepper <drepper@gmail.com>
31947
5f078c32
UD
31948 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31949 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31950
fe72eebd
UD
31951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31952 instructions.
31953
ae1bc2fa
AS
319542011-11-07 Andreas Schwab <schwab@redhat.com>
31955
7583a88d
AS
31956 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31957 handler when locking.
31958
ae1bc2fa
AS
31959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31960 Fix size of allocated buffer.
31961
10fb0bfa
AS
319622011-11-04 Andreas Schwab <schwab@redhat.com>
31963
998832a4
AS
31964 [BZ #10103]
31965 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31966 declarations for long double functions.
31967 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31968
10fb0bfa
AS
31969 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31970
3d7ba52b
AS
319712011-11-03 Andreas Schwab <schwab@redhat.com>
31972
a9ae54a1
AS
31973 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31974 installed.
31975
3d7ba52b
AS
31976 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31977 is disabled.
31978
bc8db248
ST
319792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31980
31981 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31982
45b96dd6
AS
319832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31984
647776f6
AS
31985 * include/alloca.h (stackinfo_alloca_round): Define.
31986 (extend_alloca): Use it.
31987 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31988 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31989 here.
31990
d91a8b93
AS
31991 * scripts/check-local-headers.sh: Ignore libaudit.h.
31992
45b96dd6
AS
31993 * nscd/Makefile (extra-objs): Make recursively expanded.
31994
432d41ce
UD
319952011-11-01 Ulrich Drepper <drepper@gmail.com>
31996
34372fc6
UD
31997 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31999
fadb59f8
UD
32000 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32001 * posix/tst-rfc3484-2.c: Likewise.
32002 * posix/tst-rfc3484-3.c: Likewise.
32003
78239589
UD
32004 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32005 process_vm_writev.
32006 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32007 process_vm_writev.
32008 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32009 process_vm_writev from libc using GLIBC_2.15 version.
32010
432d41ce
UD
32011 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32012
02f9c6cf
PP
320132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32014
32015 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32016 stack usage.
32017
3a2c0242
UD
320182011-10-31 Ulrich Drepper <drepper@gmail.com>
32019
f4ec4833
UD
32020 [BZ #13367]
32021 * nss/getent.c (initgroups_keys): Show error message in case no group
32022 names are given.
32023
3a2c0242
UD
32024 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32025 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32026 __bump_nl_timestamp.
32027 * nscd/connections (nscd_init): When host database is served open
32028 netlink socket and request notification about configuration changes.
32029 (main_loop_poll): Track netlink file descriptor and bump timestamp
32030 in case data becomes available.
32031 (main_loop_epoll): Likewise.
32032 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32033 (database_pers_head): Add extra_data fileds.
32034 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32035 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32036 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32037 Adjust caller.
32038 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32039 in6ai data, call __free_in6ai.
32040 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32041 Add -DHAVE_NETLINK.
32042 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32043 interface information. Reuse previous data if netlink timestamp
32044 is not changed.
32045 (__bump_nl_timestamp): New function.
32046 (__free_in6ai): New function.
32047
636064eb
UD
320482011-10-30 Ulrich Drepper <drepper@gmail.com>
32049
32050 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32051 close_not_cancel_no_status here.
32052 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32053
9beb2334
UD
320542011-10-29 Ulrich Drepper <drepper@gmail.com>
32055
6ef76f3b
UD
32056 [BZ #13276]
32057 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32058 return value.
32059
0ffc4f3e 32060 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32061 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32062 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32063
cb95113e
UD
320642011-07-03 Andreas Jaeger <aj@suse.de>
32065
32066 [BZ #10709]
32067 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32068 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32069 * math/libm-test.inc (sin_test): Add test case.
32070
a1b560ff
UD
320712011-10-29 Ulrich Drepper <drepper@gmail.com>
32072
c9aaface
UD
32073 [BZ #13337]
32074 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32075 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32076
d272e7f1
UD
32077 * elf/chroot_canon.c (chroot_canon): Cleanups.
32078
1bc33071
UD
32079 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32080
1760874d
TJ
32081 [BZ #13335]
32082 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32083 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32084
51d91b18
UD
32085 * string/test-strchr.c: Make usable for strchrnul testing.
32086 * string/test-strchrnul.c: New file.
32087 * string/Makefile (strop-tests): Add strchrnul.
32088
a1b560ff 32089 * po/it.po: Update from translation team.
b611fb81 32090 * po/es.po: Likewise.
a1b560ff 32091
a5b81e1f
UD
320922011-10-28 Ulrich Drepper <drepper@gmail.com>
32093
fd52bc6d
UD
32094 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32095 the three constants needed as parameters. Drop the others.
32096 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32097 __m128i_strloadu_tolower.
52e4b9eb
UD
32098 Create and initialize variable zero and use it in all the places
32099 where _mm_setzero_si128 was used.
fd52bc6d 32100
a5b81e1f
UD
32101 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32102 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32103 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32104 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32105 anymore.
32106 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32107 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32108 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32109 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32110 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32111 __mpranred, __mptan.
32112 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32113 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32114 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32115 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32116 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32117 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32118 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32119 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32120 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32121
b4343346
AS
321222011-10-28 Andreas Schwab <schwab@redhat.com>
32123
0c92d8a8
AS
32124 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32125 redefine if SHARED.
32126 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32127
b4343346
AS
32128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32129 wide char related routines to wcsmbs subdir.
32130
3871f58f
AS
321312011-10-27 Andreas Schwab <schwab@redhat.com>
32132
32133 [BZ #13344]
32134 * misc/sys/cdefs.h (__THROWNL): Define.
32135 * posix/unistd.h: Use __THREADNL instead of __THREAD
32136 for memory synchronization functions.
32137
94d44d9f
RM
321382011-10-26 Roland McGrath <roland@hack.frob.com>
32139
21b64b15 32140 [BZ #13349]
94d44d9f
RM
32141 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32142 doesn't exist.
32143 * manual/stdio.texi (Obstack Streams): Node removed.
32144
f6ce9294
AS
321452011-10-26 Andreas Schwab <schwab@redhat.com>
32146
80479147
AS
32147 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32148 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32149 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32150
f6ce9294
AS
32151 * math/math_private.h (math_force_eval): Allow non-addressable
32152 arguments.
32153 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32154
618280a1
UD
321552011-10-25 Ulrich Drepper <drepper@gmail.com>
32156
e0016b11
UD
32157 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32158 file is not needed.
32159
32160 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32162 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32163 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32164 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32165 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32166 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32167 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32168 Add AVX variants.
32169 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32170 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32171 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32172 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32173 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32174 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32175 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32176 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32177 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32178 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32179 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32180 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32181 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32182 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32183 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32184 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32185 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32186 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32187 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32188
32189 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32190 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32191
618280a1
UD
32192 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32193 place. Use VEX encoding when compiling for AVX.
32194
37822576
AS
321952011-10-25 Andreas Schwab <schwab@redhat.com>
32196
1f1e1947
AS
32197 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32198 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32199
37822576
AS
32200 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32201
31ea014d
UD
322022011-10-25 Ulrich Drepper <drepper@gmail.com>
32203
d7826aa1 32204 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32205 useless if() expression.
d7826aa1
UD
32206 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32207 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32208 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32209 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32210 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32211 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32214 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32215 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32216 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32217 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32218 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32219 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32220 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32221 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32222 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32223 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32224 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32225
31ea014d
UD
32226 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32227
16437fec
AS
322282011-10-25 Andreas Schwab <schwab@redhat.com>
32229
32230 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32231 condition.
32232 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32233
31d3cc00
UD
322342011-10-25 Ulrich Drepper <drepper@gmail.com>
32235
32236 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32237 .text section. Avoid duplicate constants.
32238 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32239 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32240 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32242 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32243 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32244 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32245 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32246 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32247 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32248 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32249 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32250 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32251 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32252 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32253 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32254 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32255 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32256 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32258 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32259 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32260 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32261 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32262 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32263 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32264 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32265 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32266 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32267 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32268 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32269 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32270 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32271 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32272 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32273 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32274 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32275 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32276 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32277 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32278 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32279 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32280 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32281 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32282 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32283
58985aa9
UD
322842011-10-24 Ulrich Drepper <drepper@gmail.com>
32285
202c9deb
UD
32286 * sysdeps/x86_64/dla.h: Move to ...
32287 * sysdeps/x86_64/fpu/dla.h: ...here.
32288 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32289 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32290
af968f62
UD
32291 * config.make.in: Add have-mfma4 entry.
32292 * configure.in: Substitute libc_cv_cc_fma4.
32293 * math/Makefile (dbl-only-routines): Add sincostab.
32294 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32295 Use __sincostab not sincos.
32296 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32297 name is a macro.
32298 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32299 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32300 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32301 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32302 using __copysign.
32303 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32304 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32305 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32306 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32307 and __inv.
32308 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32309 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32310 __copysign.
32311 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32312 define aliases when function name is a macro.
32313 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32314 sysdeps/ieee754/dbl-64/sincos.tbl.
32315 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32316 fma4-enabled routines.
32317 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32318 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32319 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32320 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32322 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32323 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32324 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32325 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32326 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32327 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32328 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32329 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32330 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32331 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32332 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32333 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32334 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32335 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32337 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32338 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32339 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32340 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32341 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32342 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32343 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32344 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32345 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32346 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32347
58985aa9
UD
32348 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32349 rename.
32350 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32358
a201fbcf
AS
323592011-10-24 Andreas Schwab <schwab@redhat.com>
32360
32361 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32362
fc2ee42a
LD
323632011-10-23 Ulrich Drepper <drepper@gmail.com>
32364
bb3129bd
UD
32365 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32366
0275fff8
UD
32367 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32368 prediction.
32369 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32370
2fa2ae85
UD
32371 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32372 Remove unused variable magic_bits.
32373 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32374
fc2ee42a
LD
32375 * string/strnlen.c: Define and use STRNLEN macro.
32376 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32377 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32378 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32379 * wcsmbs/wcslen.c: Define and use WCSLEN.
32380 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32381 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32382 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32383 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32384 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32385 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32386 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32387
ce7dd29f
LD
323882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32389
32390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32391 strnlen-sse2-no-bsf.
32392 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32394 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32395 Add strnlen support.
32396 (USE_AS_STRNLEN): New macro.
32397 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32398 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32399 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32400 * sysdeps/x86_64/wcslen.S: New file.
32401
979c70a3
MZ
324022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32403
32404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32405 XMM-moves are used for copying on small sizes.
32406
2d09f82f
LD
324072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32408
32409 * wcsmbs/Makefile (strop-tests): Add wcschr.
32410 * wcsmbs/test-wcschr.c: New file.
32411 * string/test-strchr.c: Update.
32412 Add wcschr support.
32413 (WIDE): New macro.
32414
619fccca
LD
324152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32416
2d09f82f 32417 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32418 * wcsmbs/test-wcslen.c: New file.
32419 * string/test-strlen.c: Update.
32420 Add wcslen support.
32421 (WIDE): New macro.
32422
09f699ea
UD
324232011-10-23 Ulrich Drepper <drepper@gmail.com>
32424
32425 * po/it.po: Update from translation team.
32426
95584d3b
LD
324272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32428
32429 * sysdeps/x86_64/wcscmp.S: Update.
32430 Fix wrong comparison semantics.
32431 wcscmp shall use signed comparison not unsigned.
32432 Don't use substraction to avoid overflow bug.
32433 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32434 * wcsmbc/wcscmp.c: Likewise.
32435 * string/test-strcmp.c: Likewise.
32436 Add new tests to check cases with negative values.
32437
c8b3296b
UD
324382011-10-23 Ulrich Drepper <drepper@gmail.com>
32439
32440 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32441 * sysdeps/x86_64/dla.h: ...here. New file.
32442 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32447 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32450 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32451
246ad57a
AS
324522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32453
32454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32455 __ynl_finite aliases.
32456
a1a87169
UD
324572011-10-22 Ulrich Drepper <drepper@gmail.com>
32458
0d355eb7
UD
32459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32460
a1a87169
UD
32461 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32462 define DLA_FMA.
32463 [DLA_FMA] (EMULV): Use DLA_FMA.
32464 [DLA_FMA] (MUL12): Use EMULV.
32465 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32466 that are not needed.
32467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32473 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32474
ee2aafe0
AS
324752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32476
32477 * math/s_nan.c: Undef __nan.
32478 * math/s_nanf.c: Undef __nanf.
32479 * math/s_nanl.c: Undef __nanl.
32480 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32481 "math_private.h".
32482
bc62c2fb
UD
324832011-10-22 Ulrich Drepper <drepper@gmail.com>
32484
77425c63
UD
32485 * math/s_catan.c: Add branch predictions.
32486 * math/s_catanf.c: Likewise.
32487 * math/s_catanh.c: Likewise.
32488 * math/s_catanhf.c: Likewise.
32489 * math/s_catanhl.c: Likewise.
32490 * math/s_catanl.c: Likewise.
32491 * math/s_cexp.c: Likewise.
32492 * math/s_cexpf.c: Likewise.
32493 * math/s_cexpl.c: Likewise.
32494 * math/s_clog.c: Likewise.
32495 * math/s_clog10.c: Likewise.
32496 * math/s_clog10f.c: Likewise.
32497 * math/s_clog10l.c: Likewise.
32498 * math/s_clogf.c: Likewise.
32499 * math/s_clogl.c: Likewise.
32500 * math/s_csqrt.c: Likewise.
32501 * math/s_csqrtf.c: Likewise.
32502 * math/s_csqrtl.c: Likewise.
32503 * math/s_ctanf.c: Likewise.
32504 * math/s_ctanh.c: Likewise.
32505 * math/s_ctanhf.c: Likewise.
32506 * math/s_ctanhl.c: Likewise.
32507 * math/s_ctanl.c: Likewise.
32508
bc62c2fb
UD
32509 * math/math_private.h: Define __nan, __nanf, __nanl.
32510 * math/s_cacosh.c: Include <math_private.h>.
32511 * math/s_cacoshl.c: Likewise.
32512 * math/s_casinh.c: Likewise.
32513 * math/s_casinhf.c: Likewise.
32514 * math/s_casinhl.c: Likewise.
32515 * math/s_ccos.c: Rely entire on ccosh.
32516 * math/s_ccosf.c: Rely entire on ccoshf.
32517 * math/s_ccosl.c: Rely entirely on ccoshl.
32518 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32519 Remove tests for FE_INVALID.
32520 * math/s_ccoshf.c: Likewise.
32521 * math/s_ccoshl.c: Likewise.
32522 * math/s_csin.c: Likewise.
32523 * math/s_csinf.c: Likewise.
32524 * math/s_csinh.c Likewise.
32525 * math/s_csinhf.c: Likewise.
32526 * math/s_csinhl.c: Likewise.
32527 * math/s_csinl.c: Likewise.
32528 * math/s_ctan.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32530 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32531 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32532
8ec250a4
UD
325332011-10-21 Ulrich Drepper <drepper@gmail.com>
32534
c196fed8
UD
32535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32536 compilation problems.
32537
8ec250a4
UD
32538 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32539 __builtin_expect.
32540
8d4f46c6
UD
325412011-10-20 Ulrich Drepper <drepper@gmail.com>
32542
ed72b654
UD
32543 * sysdeps/i386/configure.in: Test for -mfma4 option.
32544 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32545 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32546 COMMON_CPUID_INDEX_80000001.
32547 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32548 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32549 use it if FMA3 is not supported.
32550 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32551
8d4f46c6
UD
32552 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32553 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32554
d45c60c2
AS
325552011-10-20 Andreas Schwab <schwab@redhat.com>
32556
32557 [BZ #12892]
32558 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32559 it would create a cycle with a link time dependency.
32560
d9a4d2ab
UD
325612011-10-19 Ulrich Drepper <drepper@gmail.com>
32562
855d1560
UD
32563 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32564 instruction.
32565 * string/Makefile (strop-tests): Add rawmemchr.
32566 * string/test-rawmemchr.c: New file.
32567
d9a4d2ab
UD
32568 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32570 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32571 when compiling str{,n}casecmp and when AVX is available. Hook up
32572 new optimized code in initializers.
32573
8f3b1ffe
AS
325742011-10-19 Andreas Schwab <schwab@redhat.com>
32575
32576 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32577 __feraiseexcept instead of feraiseexcept.
32578
d38f1dba
UD
325792011-10-18 Ulrich Drepper <drepper@gmail.com>
32580
d9a8d0ab
UD
32581 * math/math_private.h: Define defaults for libc_fetestexcept and
32582 libc_feupdateenv.
32583 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32584 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32585 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32586 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32587 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32588 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32589 libc_fetestexcept and libc_feupdateenv.
32590
4855e3dd
UD
32591 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32592 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32593 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32594 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32595 libc_feholdexcept_setround.
32596
581d30e3
UD
32597 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32598 Add s_nearbyint-c and s_nearbyintf-c.
32599 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32600 nearbyintf inlines.
32601 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32602 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32603 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32604 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32605
d38f1dba
UD
32606 * math/math_private.h: Define defaults for libc_fegetround,
32607 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32608 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32609 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32610 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32611 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32612 standard functions.
32613 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32614 Remove comments and hacks for old compiler versions.
32615 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32616 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32617 libc_feholdexceptl.
32618
caa6c9d8
AS
326192011-10-18 Andreas Schwab <schwab@redhat.com>
32620
32621 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32622 (__feraiseexcept_renamed): Add __NTH.
32623 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32624 namespace violations.
32625
97c066e6
UD
326262011-10-17 Ulrich Drepper <drepper@gmail.com>
32627
99ce7b04
UD
32628 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32629
1004d182
UD
32630 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32631
228a984d
UD
32632 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32633 recently added interfaces.
32634 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32635
c8553a6a
UD
32636 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32637 about macro parameter expansion.
32638
ed22dcf6
UD
32639 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32640 __NO_MATH_INLINES is defined. Cleanups.
32641
32642 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32643 and __floorf is target has SSE4.1.
32644 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32645 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32646 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32647 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32648
b171c137
UD
32649 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32650 name.
32651 (floorf): Likewise.
32652
97c066e6
UD
32653 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32654
629f62ef
AS
326552011-10-17 Andreas Schwab <schwab@redhat.com>
32656
49a43d80
AS
32657 * misc/sys/cdefs.h: Fix last change.
32658
629f62ef
AS
32659 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32660 database lookup.
32661
e453f6cd
UD
326622011-10-16 Ulrich Drepper <drepper@gmail.com>
32663
aa78043a
UD
32664 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32665
ad0f5cad
UD
32666 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32667 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32668 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32669 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32670 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32671 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32672 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32673 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32674 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32675 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32676 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32677 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32678 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32679 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32680 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32681 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32682 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32683 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32684 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32685 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32686 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32687 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32688
32689 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32690 ceil, ceilf, floor, floorf.
32691
32692 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32693 Perform IRELATIVE relocations last.
32694
e453f6cd
UD
32695 * elf/do-rel.h: Add another parameter nrelative, replacing the
32696 local variable with the same name. Change name of the function
32697 to end in Rel or Rela (uppercase).
32698 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32699 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32700 elf_dynamic_do_##reloc function.
32701
fd5bdc09
UD
327022011-10-15 Ulrich Drepper <drepper@gmail.com>
32703
79b195b5
UD
32704 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32705 is sufficient, at least on modern CPUs.
32706
d4a28569
UD
32707 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32708
b61099b5
UD
32709 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32710 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32711
bcf01e6d
UD
32712 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32713 __expl_finite.
32714 * math/bits/math-finite.h: Add entries for exp.
32715 * math/e_expl.c: Add __*_finite alias.
32716 * sysdeps/i386/fpu/e_exp.S: Likewise.
32717 * sysdeps/i386/fpu/e_expf.S: Likewise.
32718 * sysdeps/i386/fpu/e_expl.c: Likewise.
32719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32720 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32721 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32723 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32724 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32725 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32726
ba1a0d59
UD
32727 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32728 is sufficient, at least on modern CPUs.
32729
fd5bdc09
UD
32730 * ctype/ctype-info.c (__ctype_init): Define.
32731 * include/ctype.h (__ctype_init): Declare.
32732 (__ctype_b_loc): The variable is always initialized.
32733 (__ctype_toupper_loc): Likewise.
32734 (__ctype_tolower_loc): Likewise.
32735 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32736 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32737
7872cfb0
AS
327382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32739
b468825a
AS
32740 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32741
7872cfb0
AS
32742 * configure.in: Also look in $cxxmachine/include for C++ system
32743 headers.
32744
be13f7bf
LD
327452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32746
32747 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32748 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32749 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32750 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32751 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32752 (USE_AS_WMEMCMP): New macro.
32753 Fixing indents.
32754 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32755 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32756 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32757 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32759 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32760 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32761 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32762 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32763 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32764 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32765 (USE_AS_WMEMCMP): New macro.
32766 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32767 * sysdeps/string/test-memcmp.c: Update.
32768 Fix simple_wmemcmp.
32769 Add new tests.
32770 * wcsmbs/wmemcmp.c: Update.
32771 (WMEMCMP): New macro.
32772 Fix overflow bug.
32773
556a2007
AJ
327742011-10-12 Andreas Jaeger <aj@suse.de>
32775
32776 [BZ #13268]
32777 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32778
538faaa7
UD
327792011-10-15 Ulrich Drepper <drepper@gmail.com>
32780
ab6737ff
UD
32781 * libio/iofwide.c (do_length): Avoid warning.
32782
538faaa7
UD
32783 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32784
396a21b1
UD
327852011-10-14 Ulrich Drepper <drepper@gmail.com>
32786
cdf2901f
UD
32787 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32788
38ad40ce
UD
32789 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32790 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32791 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32792 * sysdeps/i386/i686/fpu/e_log.S: New file.
32793 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32794 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32795
396a21b1
UD
32796 * ctype/ctype.h: Add support for inlined isXXX functions when
32797 compiling C++ code.
32798
6b1f68c9
AS
327992011-10-14 Andreas Schwab <schwab@redhat.com>
32800
349290c0
AS
32801 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32802
6b1f68c9
AS
32803 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32804
f2282d42
RM
328052011-10-13 Roland McGrath <roland@hack.frob.com>
32806
32807 [BZ #13291]
32808 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32809
5298ffa8
AS
328102011-10-13 Andreas Schwab <schwab@redhat.com>
32811
714fad23
AS
32812 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32813 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32814 feraiseexcept.
32815
81dcc7fb
AS
32816 * sysdeps/x86_64/memrchr.S: Check for zero size.
32817
5298ffa8
AS
32818 * string/stratcliff.c: Add memrchr tests.
32819
951fbcec
LD
328202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32821
32822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32823 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32824 rawmemchr-sse2 rawmemchr-sse2-bsf.
32825 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32826 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32827 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32828 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32829 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32830 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32831 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32832 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32833 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32834 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32835 * string/memrchr.c (MEMRCHR): New macro.
32836
0ac5ae23
UD
328372011-10-12 Ulrich Drepper <drepper@gmail.com>
32838
32839 Add integration with gcc's -ffinite-math-only and optimize wrapper
32840 functions in libm.
32841 * Versions.def: Define GLIBC_2.15 version for libm.
32842 * math/Makefile (headers): Add bits/math-finite.h.
32843 * math/bits/math-finite.h: New file.
32844 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32845 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32846 * math/e_acoshl.c: Add __*_finite alias.
32847 * math/e_acosl.c: Likewise.
32848 * math/e_asinl.c: Likewise.
32849 * math/e_atan2l.c: Likewise.
32850 * math/e_atanhl.c: Likewise.
32851 * math/e_coshl.c: Likewise.
32852 * math/e_exp10.c: Likewise.
32853 * math/e_exp10f.c: Likewise.
32854 * math/e_exp10l.c: Likewise.
32855 * math/e_exp2l.c: Likewise.
32856 * math/e_fmodl.c: Likewise.
32857 * math/e_gammal_r.c: Likewise.
32858 * math/e_hypotl.c: Likewise.
32859 * math/e_j0l.c: Likewise.
32860 * math/e_j1l.c: Likewise.
32861 * math/e_jnl.c: Likewise.
32862 * math/e_lgammal_r.c: Likewise.
32863 * math/e_log10l.c: Likewise.
32864 * math/e_log2l.c: Likewise.
32865 * math/e_logl.c: Likewise.
32866 * math/e_powl.c: Likewise.
32867 * math/e_sinhl.c: Likewise.
32868 * math/e_sqrtl.c: Likewise.
32869 * math/e_scalb.c: Completely rewritten and optimized.
32870 * math/e_scalbf.c: Likewise.
32871 * math/e_scalbl.c: Likewise.
32872 * math/w_acos.c: Likewise.
32873 * math/w_acosf.c: Likewise.
32874 * math/w_acosl.c: Likewise.
32875 * math/w_acosh.c: Likewise.
32876 * math/w_acoshf.c: Likewise.
32877 * math/w_acoshl.c: Likewise.
32878 * math/w_asin.c: Likewise.
32879 * math/w_asinf.c: Likewise.
32880 * math/w_asinl.c: Likewise.
32881 * math/w_atan2.c: Likewise.
32882 * math/w_atan2f.c: Likewise.
32883 * math/w_atan2l.c: Likewise.
32884 * math/w_atanh.c: Likewise.
32885 * math/w_atanhf.c: Likewise.
32886 * math/w_atanhl.c: Likewise.
32887 * math/w_exp10.c: Likewise.
32888 * math/w_exp10f.c: Likewise.
32889 * math/w_exp10l.c: Likewise.
32890 * math/w_fmod.c: Likewise.
32891 * math/w_fmodf.c: Likewise.
32892 * math/w_fmodl.c: Likewise.
32893 * math/w_j0.c: Likewise.
32894 * math/w_j0f.c: Likewise.
32895 * math/w_j0l.c: Likewise.
32896 * math/w_j1.c: Likewise.
32897 * math/w_j1f.c: Likewise.
32898 * math/w_j1l.c: Likewise.
32899 * math/w_jn.c: Likewise.
32900 * math/w_jnf.c: Likewise.
32901 * math/w_log.c: Likewise.
32902 * math/w_logf.c: Likewise.
32903 * math/w_logl.c: Likewise.
32904 * math/w_log10.c: Likewise.
32905 * math/w_log10f.c: Likewise.
32906 * math/w_log10l.c: Likewise.
32907 * math/w_log2.c: Likewise.
32908 * math/w_log2f.c: Likewise.
32909 * math/w_log2l.c: Likewise.
32910 * math/w_pow.c: Likewise.
32911 * math/w_powf.c: Likewise.
32912 * math/w_powl.c: Likewise.
32913 * math/w_remainder.c: Likewise.
32914 * math/w_remainderf.c: Likewise.
32915 * math/w_remainderl.c: Likewise.
32916 * math/w_scalb.c: Likewise.
32917 * math/w_scalbf.c: Likewise.
32918 * math/w_scalbl.c: Likewise.
32919 * math/w_sqrt.c: Likewise.
32920 * math/w_sqrtf.c: Likewise.
32921 * math/w_sqrtl.c: Likewise.
32922 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32923 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32924 used.
32925 * math/math_private.h: Declare __kernel_standard_f.
32926 * math/w_cosh.c: Remove cruft and optimize a bit.
32927 * math/w_coshf.c: Likewise.
32928 * math/w_coshl.c: Likewise.
32929 * math/w_exp2.c: Likewise.
32930 * math/w_exp2f.c: Likewise.
32931 * math/w_exp2l.c: Likewise.
32932 * math/w_hypot.c: Likewise.
32933 * math/w_hypotf.c: Likewise.
32934 * math/w_hypotl.c: Likewise.
32935 * math/w_lgamma.c: Likewise.
32936 * math/w_lgamma_r.c: Likewise.
32937 * math/w_lgammaf.c: Likewise.
32938 * math/w_lgammaf_r.c: Likewise.
32939 * math/w_lgammal.c: Likewise.
32940 * math/w_lgammal_r.c: Likewise.
32941 * math/w_sinh.c: Likewise.
32942 * math/w_sinhf.c: Likewise.
32943 * math/w_sinhl.c: Likewise.
32944 * math/w_tgamma.c: Likewise.
32945 * math/w_tgammaf.c: Likewise.
32946 * math/w_tgammal.c: Likewise.
32947 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32948 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32949 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32950 Minor optimizations. Pretty printing. Remove cruft.
32951 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32952 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32953 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32954 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32955 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32956 * sysdeps/i386/fpu/e_asin.S: Likewise.
32957 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32958 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32959 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32960 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32961 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32962 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32963 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32964 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32965 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32966 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32967 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32968 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32969 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32970 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32971 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32972 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32973 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32974 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32975 * sysdeps/i386/fpu/e_log.S: Likewise.
32976 * sysdeps/i386/fpu/e_log10.S: Likewise.
32977 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32978 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32979 * sysdeps/i386/fpu/e_log2.S: Likewise.
32980 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32981 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32982 * sysdeps/i386/fpu/e_logf.S: Likewise.
32983 * sysdeps/i386/fpu/e_logl.S: Likewise.
32984 * sysdeps/i386/fpu/e_pow.S: Likewise.
32985 * sysdeps/i386/fpu/e_powf.S: Likewise.
32986 * sysdeps/i386/fpu/e_powl.S: Likewise.
32987 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32988 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32989 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32990 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32991 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32992 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32993 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32994 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32995 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33017 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33018 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33019 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33020 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33021 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33022 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33023 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33024 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33025 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33026 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33027 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33028 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33029 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33030 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33031 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33032 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33033 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33034 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33035 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33036 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33037 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33038 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33039 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33040 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33041 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33042 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33043 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33045 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33046 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33047 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33048 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33076 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33077 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33079 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33081 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33082 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33083 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33084 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33087 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33088 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33089 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33090 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33091 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33092 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33093 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33094 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33095 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33096 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33097 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33098 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33099 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33100 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33101 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33102 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33103 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33104 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33105 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33106 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33107 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33108 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33109 (__isnanf): Likewise.
33110 (__isinf_ns): Likewise.
33111 (__isinf_nsf): Likewise.
33112 (__finite): Likewise.
33113 (__finitef): Likewise.
33114 (__ieee754_sqrt): Define as macro.
33115 (__ieee754_sqrtf): Define as macro.
33116 (__ieee754_sqrtl): Define as macro.
33117 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33118 inlined copy.
33119 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33120 __FINITE_MATH_ONLY__ consistent.
33121 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33122
12cc2fcd
AS
331232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33124
a843a204
AS
33125 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33126 of rawmemchr.
33127
12cc2fcd
AS
33128 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33129
c853acd5
UD
331302011-10-09 Ulrich Drepper <drepper@gmail.com>
33131
33132 * po/ja.po: Update from translation team.
33133
c658d255
RM
331342011-10-08 Roland McGrath <roland@hack.frob.com>
33135
110946e4
RM
33136 * locale/programs/locarchive.c (prepare_address_space): New function.
33137 (create_archive, enlarge_archive, open_archive): Use it.
33138
50604220
RM
33139 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33140 inside [SHARED], where it is used.
33141
c658d255
RM
33142 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33143
33144 * nss/getent.c (netgroup_keys): Remove unused variable.
33145 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33146
6a621eb7
UD
331472011-10-08 Ulrich Drepper <drepper@gmail.com>
33148
7edb55ce
UD
33149 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33150 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33152 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33153 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33154 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33155 * math/Makefile (libm-calls): Add s_isinf_ns.
33156 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33157 * math/multc3.c: Likewise.
33158 * math/s_casin.c: Likewise.
33159 * math/s_casinf.c: Likewise.
33160 * math/s_casinl.c: Likewise.
33161 * math/s_ccos.c: Likewise.
33162 * math/s_ccosf.c: Likewise.
33163 * math/s_ccosl.c: Likewise.
33164 * math/s_ctan.c: Likewise.
33165 * math/s_ctanf.c: Likewise.
33166 * math/s_ctanh.c: Likewise.
33167 * math/s_ctanhf.c: Likewise.
33168 * math/s_ctanhl.c: Likewise.
33169 * math/s_ctanl.c: Likewise.
33170 * math/w_fmod.c: Likewise.
33171 * math/w_fmodf.c: Likewise.
33172 * math/w_fmodl.c: Likewise.
33173 * math/w_remainder.c: Likewise.
33174 * math/w_remainderf.c: Likewise.
33175 * math/w_remainderl.c: Likewise.
33176 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33177 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33178 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33180 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33181 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33182 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33183 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33184
187da0ae
UD
33185 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33186 of the number.
33187 * stdio-common/printf_fphex.c: Likewise.
33188 * stdio-common/printf_size.c: Likewise.
33189
9277c064
UD
33190 * math/e_exp10.c: Include math_private.h using <...> not "...".
33191 * math/e_exp10f.c: Likewise.
33192 * math/e_exp10l.c: Likewise.
33193 * math/e_exp2l.c: Likewise.
33194 * math/e_j0l.c: Likewise.
33195 * math/e_j1l.c: Likewise.
33196 * math/e_jnl.c: Likewise.
33197 * math/e_lgammal_r.c: Likewise.
33198 * math/e_rem_pio2l.c: Likewise.
33199 * math/e_scalb.c: Likewise.
33200 * math/e_scalbf.c: Likewise.
33201 * math/e_scalbl.c: Likewise.
33202 * math/k_cosl.c: Likewise.
33203 * math/k_sinl.c: Likewise.
33204 * math/k_tanl.c: Likewise.
33205 * math/s_cacoshf.c: Likewise.
33206 * math/s_catan.c: Likewise.
33207 * math/s_catanf.c: Likewise.
33208 * math/s_catanh.c: Likewise.
33209 * math/s_catanhf.c: Likewise.
33210 * math/s_catanhl.c: Likewise.
33211 * math/s_catanl.c: Likewise.
33212 * math/s_ccosh.c: Likewise.
33213 * math/s_ccoshf.c: Likewise.
33214 * math/s_ccoshl.c: Likewise.
33215 * math/s_cexp.c: Likewise.
33216 * math/s_cexpf.c: Likewise.
33217 * math/s_cexpl.c: Likewise.
33218 * math/s_clog.c: Likewise.
33219 * math/s_clog10.c: Likewise.
33220 * math/s_clog10f.c: Likewise.
33221 * math/s_clog10l.c: Likewise.
33222 * math/s_clogf.c: Likewise.
33223 * math/s_clogl.c: Likewise.
33224 * math/s_csin.c: Likewise.
33225 * math/s_csinf.c: Likewise.
33226 * math/s_csinh.c: Likewise.
33227 * math/s_csinhf.c: Likewise.
33228 * math/s_csinhl.c: Likewise.
33229 * math/s_csinl.c: Likewise.
33230 * math/s_csqrt.c: Likewise.
33231 * math/s_csqrtf.c: Likewise.
33232 * math/s_csqrtl.c: Likewise.
33233 * math/s_ctan.c: Likewise.
33234 * math/s_ctanf.c: Likewise.
33235 * math/s_ctanh.c: Likewise.
33236 * math/s_ctanhf.c: Likewise.
33237 * math/s_ctanhl.c: Likewise.
33238 * math/s_ctanl.c: Likewise.
33239 * math/s_ldexp.c: Likewise.
33240 * math/s_ldexpf.c: Likewise.
33241 * math/s_ldexpl.c: Likewise.
33242 * math/s_significand.c: Likewise.
33243 * math/s_significandf.c: Likewise.
33244 * math/s_significandl.c: Likewise.
33245 * math/w_acos.c: Likewise.
33246 * math/w_acosf.c: Likewise.
33247 * math/w_acosh.c: Likewise.
33248 * math/w_acoshf.c: Likewise.
33249 * math/w_acoshl.c: Likewise.
33250 * math/w_acosl.c: Likewise.
33251 * math/w_asin.c: Likewise.
33252 * math/w_asinf.c: Likewise.
33253 * math/w_asinl.c: Likewise.
33254 * math/w_atan2.c: Likewise.
33255 * math/w_atan2f.c: Likewise.
33256 * math/w_atan2l.c: Likewise.
33257 * math/w_atanh.c: Likewise.
33258 * math/w_atanhf.c: Likewise.
33259 * math/w_atanhl.c: Likewise.
33260 * math/w_cosh.c: Likewise.
33261 * math/w_coshf.c: Likewise.
33262 * math/w_coshl.c: Likewise.
33263 * math/w_dremf.c: Likewise.
33264 * math/w_exp10.c: Likewise.
33265 * math/w_exp10f.c: Likewise.
33266 * math/w_exp10l.c: Likewise.
33267 * math/w_exp2.c: Likewise.
33268 * math/w_exp2f.c: Likewise.
33269 * math/w_fmod.c: Likewise.
33270 * math/w_fmodf.c: Likewise.
33271 * math/w_fmodl.c: Likewise.
33272 * math/w_hypot.c: Likewise.
33273 * math/w_hypotf.c: Likewise.
33274 * math/w_hypotl.c: Likewise.
33275 * math/w_j0.c: Likewise.
33276 * math/w_j0f.c: Likewise.
33277 * math/w_j0l.c: Likewise.
33278 * math/w_j1.c: Likewise.
33279 * math/w_j1f.c: Likewise.
33280 * math/w_j1l.c: Likewise.
33281 * math/w_jn.c: Likewise.
33282 * math/w_jnf.c: Likewise.
33283 * math/w_jnl.c: Likewise.
33284 * math/w_lgamma.c: Likewise.
33285 * math/w_lgamma_r.c: Likewise.
33286 * math/w_lgammaf.c: Likewise.
33287 * math/w_lgammaf_r.c: Likewise.
33288 * math/w_lgammal.c: Likewise.
33289 * math/w_lgammal_r.c: Likewise.
33290 * math/w_log.c: Likewise.
33291 * math/w_log10.c: Likewise.
33292 * math/w_log10f.c: Likewise.
33293 * math/w_log10l.c: Likewise.
33294 * math/w_log2.c: Likewise.
33295 * math/w_log2f.c: Likewise.
33296 * math/w_log2l.c: Likewise.
33297 * math/w_logf.c: Likewise.
33298 * math/w_logl.c: Likewise.
33299 * math/w_pow.c: Likewise.
33300 * math/w_powf.c: Likewise.
33301 * math/w_powl.c: Likewise.
33302 * math/w_remainder.c: Likewise.
33303 * math/w_remainderf.c: Likewise.
33304 * math/w_remainderl.c: Likewise.
33305 * math/w_scalb.c: Likewise.
33306 * math/w_scalbf.c: Likewise.
33307 * math/w_scalbl.c: Likewise.
33308 * math/w_sinh.c: Likewise.
33309 * math/w_sinhf.c: Likewise.
33310 * math/w_sinhl.c: Likewise.
33311 * math/w_sqrt.c: Likewise.
33312 * math/w_sqrtf.c: Likewise.
33313 * math/w_sqrtl.c: Likewise.
33314 * math/w_tgamma.c: Likewise.
33315 * math/w_tgammaf.c: Likewise.
33316 * math/w_tgammal.c: Likewise.
33317
6a621eb7
UD
33318 * po/ja.po: Update from translation team.
33319
bf582445
AJ
333202011-09-29 Andreas Jaeger <aj@suse.de>
33321
f9efbf3a
AJ
33322 [BZ #13179]
33323 * sunrpc/netname.c (netname2host): Fix logic.
33324
bf582445
AJ
33325 [BZ #6779]
33326 [BZ #6783]
33327 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33328 correctly.
33329 * math/w_remainder.c (__remainder): Likewise.
33330 * math/w_remainderf.c (__remainderf): Likewise.
33331 * math/libm-test.inc (remainder_test): Add test cases.
33332
48693bea
AK
333332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33334
33335 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33336 sdiv_qrnnd.
33337
42622229
LD
333382011-10-07 Ulrich Drepper <drepper@gmail.com>
33339
33340 * string/test-memcmp.c: Avoid unncessary #defines.
33341 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33342
093ecf92
LD
333432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33344
33345 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33346 Use new sse2 version for core i3 - i7 as it's faster
33347 than sse42 version.
33348 (bit_Prefer_PMINUB_for_stringop): New.
33349 * sysdeps/x86_64/rawmemchr.S: Update.
33350 Replace with faster SSE2 version.
33351 * sysdeps/x86_64/memrchr.S: New file.
33352 * sysdeps/x86_64/memchr.S: Update.
33353 Replace with faster SSE2 version.
33354
fde56e5c
MP
333552011-09-12 Marek Polacek <mpolacek@redhat.com>
33356
33357 * elf/dl-load.c (lose): Add cast to avoid warning.
33358
21fd49a9
UD
333592011-10-07 Ulrich Drepper <drepper@gmail.com>
33360
5a06e643
UD
33361 * po/ca.po: Update from translation team.
33362
684ae515
UD
33363 * inet/getnetgrent_r.c: Hook up nscd.
33364 * nscd/Makefile (routines): Add nscd_netgroup.
33365 (nscd-modules): Add netgroupcache.
33366 (CFLAGS-netgroupcache.c): Define.
33367 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33368 (cache_search): Add const to second parameter.
33369 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33370 INNETGR.
33371 (dbs): Add netgrdb entry.
33372 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33373 (verify_persistent_db): Handle netgrdb.
33374 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33375 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33376 GETFDNETGR.
33377 (netgroup_response_header): Define.
33378 (innetgroup_response_header): Define.
33379 (datahead): Add netgroup_response_header and innetgroup_response_header
33380 elements.
33381 * nscd/nscd.conf: Add entries for netgroup cache.
33382 * nscd/nscd.h (dbtype): Add netgrdb.
33383 (_PATH_NSCD_NETGROUP_DB): Define.
33384 (netgroup_iov_disabled): Declare.
33385 (xmalloc, xcalloc, xrealloc): Move declarations here.
33386 (cache_search): Adjust prototype.
33387 Add netgroup-related prototypes.
33388 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33389 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33390 (__nscd_innetgr): Declare.
33391 * nscd/selinux.c (perms): Use access_vector_t as element type and
33392 add netgroup-related initializers.
33393 * nscd/netgroupcache.c: New file.
33394 * nscd/nscd_netgroup.c: New file.
33395 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33396 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33397 For four parameters use innetgr.
33398 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33399 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33400 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33401 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33402
21fd49a9
UD
33403 * nscd/connections.c (register_traced_file): Don't register file
33404 for disabled databases.
33405
054c0457
UD
334062011-10-06 Ulrich Drepper <drepper@gmail.com>
33407
32b63198
UD
33408 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33409
054c0457
UD
33410 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33411 from tree and freeing node.
33412
64031225
JO
334132011-09-25 Jiri Olsa <jolsa@redhat.com>
33414
33415 * nss/nsswitch.c (__nss_database_lookup): Handle
33416 nss_parse_service_list out of memory case.
33417
0490345c
JO
334182011-09-15 Jiri Olsa <jolsa@redhat.com>
33419
33420 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33421 out of memory case.
33422
3a62d00d
AS
334232011-10-04 Andreas Schwab <schwab@redhat.com>
33424
33425 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33426 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33427 pass it down.
33428 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33429 elf_machine_rela, elf_machine_lazy_rel.
33430 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33431 (ELF_DYNAMIC_DO_REL): Likewise.
33432 (ELF_DYNAMIC_DO_RELA): Likewise.
33433 (ELF_DYNAMIC_RELOCATE): Likewise.
33434 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33435 to ELF_DYNAMIC_DO_REL.
33436 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33437 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33438 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33439 elf_machine_rela.
33440 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33441 skip_ifunc, don't call ifunc function if non-zero.
33442 (elf_machine_rela): Likewise.
33443 (elf_machine_lazy_rel): Likewise.
33444 (elf_machine_lazy_rela): Likewise.
33445 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33446 (elf_machine_lazy_rel): Likewise.
33447 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33448 Likewise.
33449 (elf_machine_lazy_rel): Likewise.
33450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33451 Likewise.
33452 (elf_machine_lazy_rel): Likewise.
33453 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33454 (elf_machine_lazy_rel): Likewise.
33455 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33456 (elf_machine_lazy_rel): Likewise.
33457 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33458 (elf_machine_lazy_rel): Likewise.
33459 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33460 (elf_machine_lazy_rel): Likewise.
33461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33462 (elf_machine_lazy_rel): Likewise.
33463 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33464 (elf_machine_lazy_rel): Likewise.
33465
68577918
UD
334662011-09-28 Ulrich Drepper <drepper@gmail.com>
33467
33468 * nss/nss_files/files-init.c (_nss_files_init): Use static
33469 initialization for all the *_traced_file variables.
33470
68822d74
AS
334712011-09-28 Andreas Schwab <schwab@redhat.com>
33472
33473 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33474
2056100b
RM
334752011-09-27 Roland McGrath <roland@hack.frob.com>
33476
33477 [BZ #13226]
33478 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33479
32c76b63
AS
334802011-09-27 Andreas Schwab <schwab@redhat.com>
33481
33482 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33483 Reread the line before reparsing it.
33484
bf972c9d
AS
334852011-09-26 Andreas Schwab <schwab@redhat.com>
33486
33487 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33488
e057a1b5
JM
334892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33490 Maxim Kuvyrkov <maxim@codesourcery.com>
33491 Joseph Myers <joseph@codesourcery.com>
33492
33493 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33494 if needed for __stack_chk_guard.
33495
bc7e1c36
RM
334962011-09-19 Roland McGrath <roland@hack.frob.com>
33497
ecb1482f
RM
33498 * sysdeps/posix/spawni.c (script_execute): Always define it.
33499 It will be optimized away if unused.
33500 (maybe_script_execute): New function.
33501 (__spawni): Call it.
33502
bc7e1c36
RM
33503 * Makerules: Don't include tls.make.
33504 (config-tls): Always set to thread.
33505 * tls.make.c: File removed.
33506
1c3b002b
MF
335072011-09-19 Mike Frysinger <vapier@gentoo.org>
33508
33509 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33510 * config.make.in (CPPFLAGS-config): New substituted variable.
33511
2840865d
UD
335122011-09-15 Ulrich Drepper <drepper@gmail.com>
33513
88738eb6
UD
33514 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33515
cbf645a6 33516 [BZ #13192]
2840865d
UD
33517 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33518 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33519
b402e91a
RM
335202011-09-15 Roland McGrath <roland@hack.frob.com>
33521
33522 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33523 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33525 (CALL_FAIL): Likewise.
33526 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33527 (CALL_FAIL): Macro removed.
33528 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33529
4c1a1f71
UD
335302011-09-15 Ulrich Drepper <drepper@gmail.com>
33531
33532 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33533 for __FINITE_MATH_ONLY__ == 1.
33534
edc121be
AS
335352011-09-15 Andreas Schwab <schwab@redhat.com>
33536
33537 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33538 __ieee754_sqrt instead of sqrt.
33539 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33540 __ieee754_sqrtf instead of sqrtf.
33541 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33542 __floorf instead of floorf.
33543 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33544 __floorf, __truncf instead of floorf, truncf.
33545
cd205654
UD
335462011-09-14 Ulrich Drepper <drepper@gmail.com>
33547
ee4d0315
UD
33548 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33549
cd205654
UD
33550 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33551 __extern_always_inline.
33552 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33553 32-bit.
33554
48b67d71
AS
335552011-09-14 Andreas Schwab <schwab@redhat.com>
33556
33557 * elf/rtld.c (dl_main): Also relocate in dependency order when
33558 doing symbol dependency testing.
33559
1ae12c75
AS
335602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33561
33562 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33563 Always define `refsym'.
33564
995a80df
AS
335652011-09-13 Andreas Schwab <schwab@redhat.com>
33566
e529793b
AS
33567 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33568 (__FD_ELT): Renamed from __FDELT.
33569 * misc/bits/select2.h (__FD_ELT): Likewise.
33570 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33571 __FD_MASK instead of __FDELT, __FDMASK.
33572 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33573 Likewise.
33574 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33575 Likewise.
33576
52d4fef8
AS
33577 * elf/Makefile (gen-ldd): Fix pattern.
33578
995a80df
AS
33579 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33580 (init_tls): Likewise.
33581
8682f8b0
UD
335822011-09-12 Ulrich Drepper <drepper@gmail.com>
33583
33584 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33585
de82006d
AS
335862011-09-12 Andreas Schwab <schwab@redhat.com>
33587
a7c8e6a1
AS
33588 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33589 `struct cmsghdr *' instead of `void *'.
33590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33591 Likewise.
33592
0f31fe77
AS
335932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33594
33595 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33596 if non-absolute.
33597 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33598 ldd_rewrite_script.
0f31fe77 33599
32b4c839
UD
336002011-09-11 Ulrich Drepper <drepper@gmail.com>
33601
83cd1420
UD
33602 * configure.in: Remove --with-tls option.
33603 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33604 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33605 out in case it is missing.
33606 * sysdeps/ia64/elf/configure.in: Likewise.
33607 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33608 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33609 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33610 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33611 * sysdeps/sh/elf/configure.in: Likewise.
33612 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33613 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33614 * sysdeps/x86_64/elf/configure.in: Likewise.
33615 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33616 * sysdeps/mach/hurd/tls.h: Likewise.
33617
633f745d
UD
33618 [BZ #13067]
33619 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33620
f318beb8
UD
33621 [BZ #13090]
33622 * configure.in: Fix use of AC_INIT.
33623
32b4c839
UD
33624 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33625
3ce1f295
UD
336262011-09-10 Ulrich Drepper <drepper@gmail.com>
33627
bb016596
UD
33628 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33629 __set_errno.
8e58439c
UD
33630 * malloc/hooks.c: Likewise.
33631
aebae053 33632 [BZ #11929]
02d46fc4
UD
33633 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33634 variables statically.
33635 (narenas): Initialize.
33636 (list_lock): Initialize.
bb016596
UD
33637 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33638 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33639 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33640 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33641 Add initializers to main_arena and mp_.
33642 (malloc_state): Remove pagesize member. Change all users to use
33643 GLRO(dl_pagesize).
33644
33645 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33646 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33647 is always initialized.
33648
22a89187
UD
33649 * malloc/malloc.c: Removed unused configurations and dead code.
33650 * malloc/arena.c: Likewise.
33651 * malloc/hooks.c: Likewise.
02d46fc4 33652 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33653
d063d164
UD
33654 * include/tls.h: Removed. USE___THREAD must always be defined.
33655 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33656 * elf/dl-libc.c: Likewise.
33657 * elf/dl-tsd.c: Likewise.
33658 * include/errno.h: Likewise.
33659 * include/netdb.h: Likewise.
33660 * include/resolv.h: Likewise.
33661 * inet/herrno-loc.c: Likewise.
33662 * inet/herrno.c: Likewise.
33663 * malloc/arena.c: Likewise.
33664 * malloc/hooks.c: Likewise.
33665 * malloc/malloc.c: Likewise.
33666 * resolv/res-state.c: Likewise.
33667 * resolv/res_libc.c: Likewise.
33668 * sysdeps/i386/dl-machine.h: Likewise.
33669 * sysdeps/ia64/dl-machine.h: Likewise.
33670 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33671 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33672 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33673 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33674 * sysdeps/sh/dl-machine.h: Likewise.
33675 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33676 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33677 * sysdeps/unix/i386/sysdep.S: Likewise.
33678 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33679 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33680 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33681 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33682 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33684 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33686 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33688 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33689 * sysdeps/x86_64/dl-machine.h: Likewise.
33690 * tls.make.c: Likewise.
33691
3ce1f295
UD
33692 * configure.in: Remove --with-__thread option. Make tests for
33693 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33694 tls_model attribute fail if no support is available. Remove
33695 USE_IN_LIBIO.
33696 * Makeconfig: Adjust for dropped configure option. All features are
33697 now mandatory.
33698 * Makerules: Likewise.
33699 * Versions.def: Likewise.
33700 * argp/argp-fmtstream.c: Likewise.
33701 * argp/argp-fmtstream.h: Likewise.
33702 * argp/argp-help.c: Likewise.
33703 * assert/assert.c: Likewise.
33704 * config.h.in: Likewise.
33705 * config.make.in: Likewise.
33706 * configure: Likewise.
33707 * configure.in: Likewise.
33708 * csu/Versions: Likewise.
33709 * csu/init.c: Likewise.
33710 * elf/tst-audit2.c: Likewise.
33711 * elf/tst-tls10.c: Likewise.
33712 * elf/tst-tls10.h: Likewise.
33713 * elf/tst-tls11.c: Likewise.
33714 * elf/tst-tls12.c: Likewise.
33715 * elf/tst-tls14.c: Likewise.
33716 * elf/tst-tlsmod11.c: Likewise.
33717 * elf/tst-tlsmod12.c: Likewise.
33718 * elf/tst-tlsmod13.c: Likewise.
33719 * elf/tst-tlsmod13a.c: Likewise.
33720 * elf/tst-tlsmod14a.c: Likewise.
33721 * elf/tst-tlsmod15b.c: Likewise.
33722 * elf/tst-tlsmod16a.c: Likewise.
33723 * elf/tst-tlsmod16b.c: Likewise.
33724 * elf/tst-tlsmod7.c: Likewise.
33725 * elf/tst-tlsmod8.c: Likewise.
33726 * elf/tst-tlsmod9.c: Likewise.
33727 * gmon/gmon.c: Likewise.
33728 * grp/fgetgrent_r.c: Likewise.
33729 * grp/putgrent.c: Likewise.
33730 * hurd/fopenport.c: Likewise.
33731 * include/libc-symbols.h: Likewise.
33732 * include/tls.h: Likewise.
33733 * intl/gettextP.h: Likewise.
33734 * intl/loadinfo.h: Likewise.
33735 * locale/global-locale.c: Likewise.
33736 * locale/localeinfo.h: Likewise.
33737 * mach/devstream.c: Likewise.
33738 * malloc/arena.c: Likewise.
33739 * malloc/set-freeres.c: Likewise.
33740 * misc/err.c: Likewise.
33741 * misc/getttyent.c: Likewise.
33742 * misc/mntent_r.c: Likewise.
33743 * posix/getopt.c: Likewise.
33744 * posix/wordexp.c: Likewise.
33745 * pwd/fgetpwent_r.c: Likewise.
33746 * resolv/Versions: Likewise.
33747 * resolv/res_hconf.c: Likewise.
33748 * shadow/fgetspent_r.c: Likewise.
33749 * shadow/putspent.c: Likewise.
33750 * stdio-common/printf_fphex.c: Likewise.
33751 * stdio-common/tmpfile.c: Likewise.
33752 * stdlib/abort.c: Likewise.
33753 * stdlib/fmtmsg.c: Likewise.
33754 * sunrpc/auth_unix.c: Likewise.
33755 * sunrpc/clnt_perr.c: Likewise.
33756 * sunrpc/clnt_tcp.c: Likewise.
33757 * sunrpc/clnt_udp.c: Likewise.
33758 * sunrpc/clnt_unix.c: Likewise.
33759 * sunrpc/openchild.c: Likewise.
33760 * sunrpc/svc_simple.c: Likewise.
33761 * sunrpc/svc_tcp.c: Likewise.
33762 * sunrpc/svc_udp.c: Likewise.
33763 * sunrpc/svc_unix.c: Likewise.
33764 * sunrpc/xdr.c: Likewise.
33765 * sunrpc/xdr_array.c: Likewise.
33766 * sunrpc/xdr_rec.c: Likewise.
33767 * sunrpc/xdr_ref.c: Likewise.
33768 * sunrpc/xdr_stdio.c: Likewise.
33769
1248c1c4
PB
337702011-09-09 Ulrich Drepper <drepper@gmail.com>
33771
33772 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33773
337742011-07-03 Andreas Jaeger <aj@suse.de>
33775
33776 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33777 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33778 regenerate with gen-libm-tests.pl.
33779
337802010-05-12 Petr Baudis <pasky@suse.cz>
33781
33782 [BZ #11589]
33783 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33784 around j0() zero points by switching to j1().
33785 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33789
f22e1074
UD
337902011-09-09 Ulrich Drepper <drepper@gmail.com>
33791
f19009c1
UD
33792 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33793 instead of 0.
33794 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33795 instead of 0.
f19009c1
UD
33796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33797 Patch in part by Pavel Roskin <proski@gnu.org>.
33798
3f8cc204
UD
33799 [BZ #13138]
33800 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33801 realloc.
33802 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33803 Free memory block if necessary.
33804
f22e1074
UD
33805 [BZ #12847]
33806 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33807 be NULL. Don't lock in this case.
33808
0a2349f9
RM
338092011-09-09 Roland McGrath <roland@hack.frob.com>
33810
33811 * elf/elf.h (ELFOSABI_GNU): New macro.
33812 (ELFOSABI_LINUX): Define to that.
33813
f3cdd467
DZ
338142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33815
33816 * string/strncat.c (strncat): Undef the symbol in case it has been
33817 defined in bits/string.h.
33818
74718d13
UD
338192011-09-09 Ulrich Drepper <drepper@gmail.com>
33820
633e9e0f
UD
33821 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33822
0a2349f9 33823 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33824 link map.
33825
f9924780
AJ
338262011-08-17 Andreas Jaeger <aj@suse.de>
33827
33828 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33829
7f5517aa
PP
338302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33831 Ian Lance Taylor <iant@google.com>
33832
33833 * math/libm-test.inc (lround_test): New testcase.
33834 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33835
762011fe
UD
338362011-09-08 Ulrich Drepper <drepper@gmail.com>
33837
92963737
UD
33838 * Makefile: Remove support for automatic cvs check-ins.
33839 * Makerules: Likewise.
33840 * config.make.in: Likewise.
33841 * configure.in: Likewise.
33842 * intl/Makefile: Likewise.
33843 * locale/Makefile: Likewise.
33844 * po/Makefile: Likewise.
33845 * posix/Makefile: Likewise.
33846 * sysdeps/gnu/Makefile: Likewise.
33847 * sysdeps/mach/hurd/Makefile: Likewise.
33848 * sysdeps/sparc/sparc32/Makefile: Likewise.
33849
b0727fd8
JS
33850 [BZ #13118]
33851 * posix/Makefile (bug-regex32-ENV): Define.
33852 Patch by John Stanley <jpsinthemix@verizon.net>.
33853
a0f33f99
UD
33854 * misc/Makefile (headers): Add bits/select2.h.
33855 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33856 * misc/bits/select2.h: New file.
33857 * include/bits/select2.h: New file.
33858 * debug/Makefile (routines): Add fdelt_chk.
33859 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33860 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33861 FD_ISSET.
33862 * debug/fdelt_chk.c: New file.
33863
762011fe
UD
33864 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33865 * wcsmbs/test-wmemcmp.c: Likewise.
33866 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33867 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33868
338692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33870
33871 * string/Makefile (strop-tests): Add memcmp.
33872 * string/test-wmemcmp.c: New file.
33873 * string/test-memcmp.c: Add wmemcmp support.
33874
7f513ec8
RM
338752011-09-08 Roland McGrath <roland@hack.frob.com>
33876
0442afb4
RM
33877 [BZ #13153]
33878 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33879 2011-07-19 change.
33880
7f513ec8
RM
33881 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33882 garbage value in a __mach_port_mod_refs call in the cases of the
33883 task-self and thread-self ports.
33884
a12b2239
ST
338852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33886
33887 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33888
610f9ab4
AS
338892011-09-08 Andreas Schwab <schwab@redhat.com>
33890
7f513ec8 33891 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33892
48882a1a
LD
338932011-09-07 Ulrich Drepper <drepper@gmail.com>
33894
b49865be
UD
33895 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33896
fdc86bc9
UD
33897 * elf/dl-libc.c (dlerror_run): Pass back error code from
33898 dl_catch_error.
33899
c966526a
UD
33900 [BZ #13123]
33901 * elf/dl-load.c (lose): Free l_origin if it is valid.
33902
48882a1a
LD
33903 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33904 names.
33905 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33906 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33907 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33908 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33909 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33910 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33911
77a2a8b4
AZ
339122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33913
33914 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33915 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33916 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33917 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33918 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33919 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33920 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33921 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33922 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33923 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33924
24f579d8
AM
339252011-08-15 Alan Modra <amodra@gmail.com>
33926
33927 [BZ #13092]
33928 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33929 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33930 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33931 ppc_mcount to static-only-routines.
33932 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33933 __mcount_internal.
33934 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33935 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33936
3d4837df
UD
339372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33938
33939 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33940 for finite and infinity parameters.
33941
22700377
WS
339422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33943
33944 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33945 and add nop instructions for throughput optimization.
33946 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33947
5025581e
WS
339482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33949
33950 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33951 aligned copy for power7 with vector-scalar instructions.
33952 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33953
08a300c9
L
339542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33955
33956 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33957 AVX check.
33958
59178ef9
AS
339592011-09-07 Andreas Schwab <schwab@redhat.com>
33960
33961 [BZ #13144]
33962 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33963 last change.
33964
e38ba7ab
UD
339652011-09-07 Ulrich Drepper <drepper@gmail.com>
33966
33967 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33968 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33969 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33970 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33971 clock_gettime.
33972
d53a73ac
UD
339732011-09-06 Ulrich Drepper <drepper@gmail.com>
33974
fc8bffcc
UD
33975 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33976 Forgot to demangle the pointer.
33977
ceaa0c5d
UD
33978 * sysdeps/i386/sysdep.h: Define atom_text_section.
33979 * sysdeps/x86_64/sysdep.h: Likewise.
33980 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33981 section with atom_text_section.
33982 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33983 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33984 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33986 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33987
a77d3c17
UD
33988 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33989 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33990 already be defined. Change to take two parameters and don't assign
33991 result to variable. Adjust all users.
33992 Define INTERNAL_GETTIME if not already defined.
33993 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33994 call.
33995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33996 HAVE_CLOCK_GETTIME_VSYSCALL.
33997 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33998
d53a73ac
UD
33999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34000 gettimeofday vsyscall, just use time.
34001
a8f84144
AS
340022011-09-06 Andreas Schwab <schwab@redhat.com>
34003
34004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34005 <errno.h>.
34006
ef606249
UD
340072011-09-06 Ulrich Drepper <drepper@gmail.com>
34008
34009 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34010 syscall on x86-64.
34011 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34012 syscall.
34013 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34015 syscall if possible.
34016
6585cb60
UD
340172011-09-05 Ulrich Drepper <drepper@gmail.com>
34018
34019 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34020 e_ident. Don't pass to find_mapsXX.
34021 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34022
a5f524e4
LD
340232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34024
34025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34026 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34027 * sysdeps/x86_64/multiarch/strchr.S: Update.
34028 Check bit_slow_BSF bit.
34029 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34030 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34031 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34032
554881ef
UD
340332011-09-05 Ulrich Drepper <drepper@gmail.com>
34034
d96de963
UD
34035 [BZ #13134]
34036 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34037 before glibc 2.15.
34038 (tryshell): Define.
34039 (__spawni): Change last parameter to be flag. Test
34040 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34041 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34042 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34043 * posix/spawni.c: Likewise.
34044 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34045 * posix/spawnp.c: Likewise. Change normal version to use
34046 SPAWN_XFLAGS_USE_PATH.
34047 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34048 SPAWN_XFLAGS_TRY_SHELL.
34049
d48e5868
UD
34050 [BZ #13150]
34051 * posix/glob.h: Remove gcc 1.x support.
34052
554881ef
UD
34053 [BZ #13068]
34054 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34055
693fb948
LD
340562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34057
34058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34059 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34060 strrchr-sse2-bsf
34061 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34062 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34063 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34065 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34066 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34067
1b48c537
UD
340682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34069
49d42c37
UD
34070 * sysdeps/x86_64/wcscmp.S: New file.
34071
1b48c537
UD
34072 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34073 wcscmp-c wcscmp-sse2
34074 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34075 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34076 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34077 * wcsmbs/wcscmp.c: Allow renaming.
34078
15c95c5d
DM
340792011-09-05 David S. Miller <davem@davemloft.net>
34080
34081 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34082 stack slot, rather than the struct return pointer slot.
34083 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34084 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34086 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34087
2f0ad8f3
UD
340882011-09-05 Ulrich Drepper <drepper@gmail.com>
34089
d88ae418
UD
34090 * po/ja.po: Update from translation team.
34091
2f0ad8f3
UD
34092 [BZ #13144]
34093 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34094 kernel in 64-bit binaries.
34095
5f4318d1
DM
340962011-09-01 David S. Miller <davem@davemloft.net>
34097
34098 * elf/elf.h (HWCAP_SPARC_*): Move to..
34099 * sysdeps/sparc/sysdep.h: this new file and add new values.
34100 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34101 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34102 _DL_HWCAP_COUNT to 24.
34103 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34104 entries.
34105 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34106 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34107 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34109 instead of magic constants.
34110 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34111
3ba57516
DM
341122011-08-31 David S. Miller <davem@davemloft.net>
34113
34114 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34115 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34116 Reimplement to do errno handling inline.
34117 (SYSCALL_ERROR_HANDLER): New macro.
34118 (__SYSCALL_STRING): Do not do errno handling in asm.
34119 (__CLONE_SYSCALL_STRING): Delete.
34120 (__INTERNAL_SYSCALL_STRING): Delete.
34121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34122 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34123 (PSEUDO): Reimplement to do errno handling inline.
34124 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34125 (SYSCALL_ERROR_HANDLER): New macro.
34126 (__SYSCALL_STRING): Do not do errno handling in asm.
34127 (__CLONE_SYSCALL_STRING): Delete.
34128 (__INTERNAL_SYSCALL_STRING): Delete.
34129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34130 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34131 i386.
34132 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34133 (inline_syscall*): Add 'err' argument.
34134 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34135 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34136 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34137 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34138
34139 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34140 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34141
2bc17433
AS
341422011-08-30 Andreas Schwab <schwab@redhat.com>
34143
34144 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34145
fbeb5f4d
JO
341462011-08-29 Jiri Olsa <jolsa@redhat.com>
34147
34148 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34149 directive.
34150
ad69cc26
DM
341512011-08-24 David S. Miller <davem@davemloft.net>
34152
34153 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34154
39dd69df
AS
341552011-08-24 Andreas Schwab <schwab@redhat.com>
34156
34157 * elf/Makefile: Add rules to build and run unload8 test.
34158 * elf/unload8.c: New file.
34159 * elf/unload8mod1.c: New file.
34160 * elf/unload8mod1x.c: New file.
34161 * elf/unload8mod2.c: New file.
34162 * elf/unload8mod3.c: New file.
34163
34164 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34165 it wasn't used.
34166
2c0b250a
DM
341672011-08-23 David S. Miller <davem@davemloft.net>
34168
34169 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34170 subtract stack bias.
34171 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34172 %sp not %fp in calculations.
34173 (_JMPBUF_UNWINDS_ADJ): Likewise.
34174
22044b48
DM
34175 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34176 (aio_suspend): Call it to force an exception region around the
34177 AIO_MISC_WAIT() invocation.
34178
2cae4995
AS
341792011-08-23 Andreas Schwab <schwab@redhat.com>
34180
34181 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34182 backslash.
34183
873a772e
AJ
341842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34185
34186 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34187 protection macro.
34188 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34189 and <dl-machine.h>.
34190 (Elf64_FuncDesc): Remove.
34191
25ad0df1
DM
341922011-08-22 David S. Miller <davem@davemloft.net>
34193
34194 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34195 sigaltstack check, add missing cfi directives.
34196 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34197 missing cfi directives, and sigaltstack handling.
34198
e888bcbe
AS
341992011-08-16 Andreas Schwab <schwab@redhat.com>
34200
34201 [BZ #11724]
34202 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34203 object is seen twice.
34204 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34205
34206 * elf/Makefile (distribute): Add tst-initorder2.c.
34207 (tests): Add tst-initorder2.
34208 (modules-names): Add tst-initorder2a tst-initorder2b
34209 tst-initorder2c tst-initorder2d. Add rules to build them.
34210 ($(objpfx)tst-initorder2.out): New rule.
34211 * elf/tst-initorder2.c: New file.
34212 * elf/tst-initorder2.exp: New file.
34213
87162f46
AS
342142011-08-22 Andreas Schwab <schwab@redhat.com>
34215
70538b7f
AS
34216 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34217
f55ffe58
AS
34218 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34219 dependencies back to end of function.
34220
87162f46
AS
34221 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34222 $(elfobjdir)/ld.so.
34223
91b392a4
UD
342242011-08-21 Ulrich Drepper <drepper@gmail.com>
34225
34226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34227 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34228 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34229 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34230 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34231 of __vdso_gettimeofday.
34232 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34233 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34234 attribute_hidden.
34235 (_libc_vdso_platform_setup): Remove initialization of
34236 __vdso_gettimeofday and __vdso_time.
34237
5c43483f
UD
342382011-08-20 Ulrich Drepper <drepper@gmail.com>
34239
775a77e7
UD
34240 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34241 and fgetc_unlocked.
34242 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34243 getc_unlocked.
89f447ed 34244
49c74ba9
UD
34245 * elf/dl-open.c (add_to_global): Report additions to the global scope
34246 for LD_DEBUG=scopes.
34247 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34248 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34249
5c43483f
UD
34250 [BZ #13114]
34251 * stdio-common/Makefile (tests): Add bug24.
34252 * stdio-common/bug24.c: New file.
34253
a101b025
AJ
342542011-08-19 Andreas Jaeger <aj@suse.de>
34255
34256 [BZ #13114]
34257 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34258 non-existant file when using close-on-exec mode.
34259
c88f1766
UD
342602011-08-20 Ulrich Drepper <drepper@gmail.com>
34261
0276a718
UD
34262 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34263 the very first instruction.
34264
c88f1766
UD
34265 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34266 the CFI state in the end.
34267 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34268 inclusion of dl-trampoline.h.
34269 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34270
51ccffa0
AS
342712011-08-19 Andreas Schwab <schwab@redhat.com>
34272
94d7165f
AS
34273 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34274 expectations for long double.
34275
51ccffa0
AS
34276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34277 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34278
fd708658 342792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34280
34281 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34282 artificual limit depends upon the system page size.
34283
44f0a71e
UD
342842011-08-17 Ulrich Drepper <drepper@gmail.com>
34285
34286 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34287 * resolv/Makefile: Define CFLAGS-libresolv.
34288
8de79a24
AS
342892011-08-17 Andreas Schwab <schwab@redhat.com>
34290
34291 * nss/makedb.c (compute_tables): Make variables used in nested
34292 function static.
34293
27724598
UD
342942011-08-17 Ulrich Drepper <drepper@gmail.com>
34295
c5305d88
UD
34296 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34297 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34298 if buffer was too small.
34299
27724598
UD
34300 * elf/pldd.c (main): Attach to all threads in the process.
34301 Rewrite /proc handling to use *at functions.
34302
076fe015
UD
343032011-08-16 Ulrich Drepper <drepper@gmail.com>
34304
174baab3
UD
34305 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34306 specifies first scope to show.
34307 (dl_open_worker): Update callers. Move printing scope of new
34308 object to before the relocation.
44f0a71e 34309 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34310 * sysdeps/generic/ldsodefs.h: Update declaration.
34311
076fe015
UD
34312 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34313 string for the scope number.
34314
a60df2c3
UD
343152011-08-14 Ulrich Drepper <drepper@gmail.com>
34316
34317 * nscd/servicescache.c (cache_addserv): Make sure written is always
34318 initialized.
34319
5e4287d1
RM
343202011-08-14 Roland McGrath <roland@hack.frob.com>
34321
85ae0589
RM
34322 * sysdeps/i386/i486/bits/atomic.h
34323 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34324 statement expression, so as to suppress "set but not used" warning.
34325 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34326
69f63097
RM
34327 * string/strncat.c (STRNCAT): Use prototype definition.
34328
675456ef
RM
34329 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34330 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34331 -Iprograms here.
34332 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34333 (localedef-modules): Add localedef.
34334 (locale-modules): Add locale.
34335
5e4287d1
RM
34336 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34337 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34338 to avoid a warning.
34339
9c96ff23
DM
343402011-08-14 David S. Miller <davem@davemloft.net>
34341
34342 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34343 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34344
f9ddf089
UD
343452011-08-13 Ulrich Drepper <drepper@gmail.com>
34346
44f0a71e 34347 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34348 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34349 * elf/rtld.c (dl_main): Set l_name of vDSO.
34350 Call _dl_show_scope when DL_DEBUG_SCOPES.
34351 (process_dl_debug): Recognize scopes flag and also set it for all.
34352 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34353 Declare _dl_show_scope.
34354
1dc27704
UD
34355 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34356 (do_dlopen): Pass caller_dlopen to dl_open.
34357 (__libc_dlopen_mode): Initialize caller_dlopen.
34358
f9ddf089
UD
34359 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34360 of libc. Make tolower call locale-independent. Optimize a bit by
34361 using isdigit instead of isalnum.
34362 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34363
9ac533d3
UD
343642011-08-12 Ulrich Drepper <drepper@gmail.com>
34365
34366 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34367 was a dependency or dynamically loaded.
34368
89edf2e9
UD
343692011-08-11 Ulrich Drepper <drepper@gmail.com>
34370
8e999d29
UD
34371 * intl/l10nflist.c: Allow architecture-specific pop function.
34372 * sysdeps/x86_64/l10nflist.c: New file.
34373
89edf2e9
UD
34374 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34375 classification.
34376
14d96785
AS
343772011-08-10 Andreas Schwab <schwab@redhat.com>
34378
34379 * include/dirent.h: Add libc_hidden_proto for scandirat and
34380 scandirat64. Don't declare __scandirat64.
34381 * dirent/scandirat.c: Add libc_hidden_def.
34382 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34383 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34384
6761ac04
DM
343852011-08-10 David S. Miller <davem@davemloft.net>
34386
34387 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34388 enum.
34389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34390 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34391 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34392
c55fbd1e
UD
343932011-08-09 Ulrich Drepper <drepper@gmail.com>
34394
34395 * Versions.def [libc]: Add GLIBC_2.15.
34396 * dirent/Makefile (routines): Add scandirat and scandirat64.
34397 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34398 GLIBC_2.15.
34399 * dirent/dirent.h: Declare scandirat and scandirat64.
34400 * dirent/scandirat.c: New file.
34401 * dirent/scandirat64.c: New file.
34402 * sysdeps/wordsize-64/scandirat.c: New file.
34403 * sysdeps/wordsize-64/scandirat64.c: New file.
34404 * dirent/opendir.c: Define opendirat.
34405 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34406 using scandirat.
34407 * dirent/scandir64.c: Adjust for scandir.c change.
34408 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34409 __scandirat64, and __scandir_cancel_handler.
34410 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34411 additional parameter and use openat instead of open (outside of ld.so).
34412 Add new __opendir as wrapper around __opendirat.
34413 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34414 here without requiring old scandirat implementation.
34415
879165f2
UD
344162011-08-08 Ulrich Drepper <drepper@gmail.com>
34417
34418 * dirent/scandir.c (cancel_handler): Renamed to
34419 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34420 defined. Adjust users.
34421 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34422 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34423
cb7e923b
UD
344242011-08-04 Ulrich Drepper <drepper@gmail.com>
34425
16292edd
UD
34426 * string/test-string.h (IMPL): Use __STRING to expand name and then
34427 stringify it.
34428
cb7e923b
UD
34429 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34430 of cleanups.
34431
cff82933
LD
344322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34433
34434 * string/Makefile: Update.
34435 (strop-tests): Append strncat.
34436 * string/test-wcscmp.c: New file.
34437 New comprehensive test for wcscmp.
34438 * string/test-strcmp.c: Update.
34439 (WIDE): New define.
34440
9be9bfcc
AS
344412011-07-22 Andreas Schwab <schwab@redhat.com>
34442
34443 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34444 line.
34445
2e96f1c7
AS
344462011-07-26 Andreas Schwab <schwab@redhat.com>
34447
34448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34449 encoding to ACE if AI_IDN.
34450
85188888
JJ
344512011-08-01 Jakub Jelinek <jakub@redhat.com>
34452
34453 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34454 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34455
5fa16e9b
LD
344562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34457
34458 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34459 Fix overflow bug in strncat.
34460 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34461
34462 * string/test-strncat.c: Update.
34463 Add new tests for checking overflow bugs.
34464
344652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34466
34467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34468 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34469 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34470 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34471 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34472 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34473 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34474 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34475 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34476
34477 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34478 (USE_AS_STRCAT): Define.
34479 Add strcat and strncat support.
34480 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34481
8c1a459f
AS
344822011-07-25 Andreas Schwab <schwab@redhat.com>
34483
34484 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34485 __n bigger than INT_MAX+1.
34486 (__strncmp_g): Likewise.
34487
bba33c28
UD
344882011-07-23 Ulrich Drepper <drepper@gmail.com>
34489
798be72d
UD
34490 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34491 * libio/stido.h: Likewise.
34492
8accd4dc
UD
34493 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34494 (AF_NFC): Define.
34495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34496 (AF_NFC): Define.
34497
cbff0d96
UD
34498 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34501 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34502 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34503
9191c04a
UD
34504 [BZ #13021]
34505 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34506 installed.
34507
bba33c28
UD
34508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34509 typo.
34510 (_dl_x86_64_save_sse): Likewise.
34511
90f139dd
UD
345122011-07-22 Ulrich Drepper <drepper@gmail.com>
34513
1aae088a
UD
34514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34515 OSXSAVE.
34516 (_dl_x86_64_save_sse): Likewise.
34517
8e2045f5
UD
34518 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34519
90f139dd
UD
34520 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34521
1d002f25
AS
345222011-07-21 Andreas Schwab <schwab@redhat.com>
34523
34524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34525 change.
34526 (_dl_x86_64_save_sse): Use correct AVX check.
34527
21137f89
UD
345282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34529
34530 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34531 bug in strncpy/strncat.
34532 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34533
a65c0b7a
UD
345342011-07-21 Ulrich Drepper <drepper@gmail.com>
34535
34536 * string/tester.c (test_strcat): Add tests for different alignments
34537 of source and destination.
34538 (test_strncat): Likewise.
34539
6986b98a
UD
345402011-07-20 Ulrich Drepper <drepper@gmail.com>
34541
90bb2039
UD
34542 [BZ #12852]
34543 * posix/glob.c (glob): Check passed in values before using them in
34544 expressions to avoid some overflows.
34545 (glob_in_dir): Likewise.
34546
5644ef54
UD
34547 [BZ #13007]
34548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34549 check for AVX enablement so that we don't crash with old kernels and
34550 new hardware.
34551 * elf/tst-audit4.c: Add same checks here.
34552 * elf/tst-audit6.c: Likewise.
34553
34554 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34555
bfc9dc9b
AS
345562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34557
34558 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34559
702e64bb
UD
345602011-07-20 Ulrich Drepper <drepper@gmail.com>
34561
34562 * po/cs.po: Update from translation team.
34563 * po/bg.po: Likewise.
34564
295e904f
MP
345652011-07-12 Marek Polacek <mpolacek@redhat.com>
34566
34567 * misc/sys/cdefs.h: Add support for const attribute.
34568 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34569 to gnu_dev_{major,minor,makedev} functions.
34570
3ff94596
MP
345712011-07-20 Marek Polacek <mpolacek@redhat.com>
34572
34573 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34574
28b59fca
AS
345752011-07-20 Andreas Schwab <schwab@redhat.com>
34576
34577 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34578 strlen results.
34579
19df733e
AK
345802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34581
34582 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34583 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34584 register in order to avoid conflicts with the soft frame pointer
34585 being held in r11 when necessary.
34586 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34587 (INTERNAL_VSYSCALL_NCS): Likewise.
34588
c8835729
MP
345892011-07-14 Marek Polacek <mpolacek@redhat.com>
34590
34591 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34592 * elf/dl-fini.c (_dl_fini): Adjust caller.
34593 * elf/dl-close.c (_dl_close_worker): Likewise.
34594 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34595
b902330c
MP
345962011-07-15 Marek Polacek <mpolacek@redhat.com>
34597
8991e135
MP
34598 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34599 "aux_cache->nlibs < 0".
34600
b902330c
MP
34601 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34602 in the reload-count case.
34603
99710781
LD
346042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34605
34606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34607 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34608 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34609 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34610 * sysdeps/x86_64/multiarch/strcat.S: New file.
34611 * sysdeps/x86_64/multiarch/strncat.S: New file.
34612 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34613 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34614 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34615 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34616 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34617 (USE_AS_STRCAT): Define.
34618 Add strcat and strncat support.
34619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34620 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34621 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34622 * string/strncat.c: Update.
34623 (USE_AS_STRNCAT): Define.
34624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34625 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34626 and i7.
34627 * sysdeps/x86_64/multiarch/init-arch.h
34628 (bit_Prefer_PMINUB_for_stringop): New.
34629 (index_Prefer_PMINUB_for_stringop): Likewise.
34630 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34631 bit_Prefer_PMINUB_for_stringop.
34632
7dc6bd90
UD
346332011-07-19 Ulrich Drepper <drepper@gmail.com>
34634
34635 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34636 buffer64.
34637 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34638 of casting of buffer.
34639 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34640 buffer32 and buffer64.
34641 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34642 writes instead of casting of buffer.
34643 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34644 buffer32.
34645 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34646 casting of buffer.
34647
e0e72284
AS
346482011-07-19 Andreas Schwab <schwab@redhat.com>
34649
34650 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34651
feb1eb0b
UD
346522011-07-19 Ulrich Drepper <drepper@gmail.com>
34653
34654 * nscd/nscd.c (termination_handler): Don't do anything for a database
34655 if it has not yet been initialized.
34656
298711ff
UD
346572011-07-18 Ulrich Drepper <drepper@gmail.com>
34658
34659 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34660
346612011-07-15 Marek Polacek <mpolacek@redhat.com>
34662
34663 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34664
f9d68389
UD
346652011-07-18 Ulrich Drepper <drepper@gmail.com>
34666
34667 * po/nl.po: Update from translation team.
34668 * po/sv.po: Likewise.
34669
db290cf5
RM
346702011-07-16 Roland McGrath <roland@hack.frob.com>
34671
34672 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34673 now disallowed by GCC.
5c550700 34674
fd5e21c7
RM
34675 * configure.in (use-default-link): Default to yes if a test -shared
34676 link meets our qualifications.
34677 * configure: Regenerated.
34678
5c550700
RM
34679 * config.make.in (output-format): New variable.
34680 * configure.in: Check for ld --print-output-format support.
34681 * configure: Regenerated.
34682 * Makerules ($(common-objpfx)format.lds)
34683 [$(output-format) != unknown]: Just use $(output-format),
34684 instead of the linker-script munging.
34685
9fa2c032
RM
346862011-07-14 Roland McGrath <roland@hack.frob.com>
34687
a6928d51
RM
34688 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34689 of $(common-objpfx)shlib.lds.
34690 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34691
661607b3
RM
34692 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34693 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34694
9fa2c032
RM
34695 * configure.in (-z relro check): Adjust test code to add a large
34696 writable data section after it.
34697 * configure: Regenerated.
34698
defe9061
RM
346992011-07-11 Roland McGrath <roland@hack.frob.com>
34700
34701 * configure.in (-z relro check): Fix test code to make the variable
34702 truly const.
34703 * configure: Regenerated.
34704
319b9ad4
UD
347052011-07-11 Ulrich Drepper <drepper@gmail.com>
34706
34707 * nscd/nscd.h (struct traced_file): Define.
34708 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34709 elements. Add traced_files.
34710 (inotify_fd): Declare.
34711 (register_traced_file): Declare.
34712 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34713 (inotify_fd): Export.
34714 (resolv_conf_descr): Remove.
34715 (nscd_init): Move inotify descriptor creation to main.
34716 Don't register files for notification here.
34717 (register_traced_file): New function.
34718 (invalidate_cache): Don't use reset_res to determine whether to call
34719 res_init, go through the list of registered files.
34720 (main_loop_poll): The inotify descriptors are now stored in the
34721 structures for the traced files.
34722 (main_loop_epoll): Likewise
34723 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34724 to __nss_disable_nscd.
34725 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34726 for a database anymore. Check the records for all the registered
34727 files instead.
34728 * nss/Makefile (libnss_files-routines): Add files-init.
34729 (libnss_db-routines): Add db-init.
34730 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34731 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34732 * nss/nss_db/db-init.c: New file.
34733 * nss/nss_files/files-init.c: New file.
34734 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34735 __nss_lookup_function.
34736 (__nss_lookup_function): Call nss_load_library.
34737 (nss_load_all_libraries): New function.
34738 (__nss_disable_nscd): Take parameter with callback function for files
34739 to register. Set is_nscd. Load all the DSOs for the NSS modules
34740 used for the cached services.
34741 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34742 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34743 options for features to all the files in nscd.
34744
34745 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34746
23bee3e8
RM
347472011-07-10 Roland McGrath <roland@hack.frob.com>
34748
34749 * csu/elf-init.c (__libc_csu_init): Comment typo.
34750
46a5b7f0
UD
347512011-07-09 Ulrich Drepper <drepper@gmail.com>
34752
34753 * po/pl.po: Update from translation team.
34754 * po/ja.po: Likewise.
34755 * po/ru.po: Likewise.
34756 * po/ko.po: Likewise.
34757 * po/fr.po: Likewise.
34758
d30cf5bb
RM
347592011-07-09 Roland McGrath <roland@hack.frob.com>
34760
113ddea4
RM
34761 * configure.in (.ctors/.dtors header and trailer check):
34762 Use an empirical test on a built program.
34763 * configure: Regenerated.
34764
574920b4
RM
34765 * configure.in (-z relro check): Use an empirical test on a built DSO.
34766 Detect, but do not require, on ia64.
34767 * configure: Regenerated.
34768
d30cf5bb
RM
34769 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34770 Update tests that use readelf to use $READELF instead.
34771 * configure: Regenerated.
34772
8538fdb3
UD
347732011-07-08 Ulrich Drepper <drepper@gmail.com>
34774
34775 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34776 if the result is not used.
34777
04d08991
AJ
347782011-07-05 Andreas Jaeger <aj@suse.de>
34779
34780 [BZ#9696]
34781 * stdlib/tst-strtod.c: Add testcase.
34782
de283087
AD
347832011-07-07 Ulrich Drepper <drepper@gmail.com>
34784
4e5f31c8 34785 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34786 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34787 The latter has a higher limit. Take additional parameter to pass to
34788 the new function.
34789 (__pathconf): Pass file to __statfs_link_max.
34790 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34791 __statfs_link_max.
34792 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34793 __statfs_link_max.
34794
de283087
AD
34795 [BZ #12868]
34796 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34797 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34798 Handle Lustre.
34799 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34800 (__statfs_filesize_max): Likewise.
34801 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34802
c75fa153
AJ
348032011-07-05 Andreas Jaeger <aj@suse.de>
34804
34805 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34806
1a544854
UD
348072011-07-06 Marek Polacek <mpolacek@redhat.com>
34808
34809 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34810 `status' variable.
34811 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34812 Likewise.
34813
6f0eec67
UD
348142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34815
34816 * Makefile (strop-tests): Add strncat.
34817 * string/test-strncat.c: New file.
34818
aae30307
UD
348192011-06-30 Marek Polacek <mpolacek@redhat.com>
34820
34821 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34822
c0cfb5eb
UD
348232011-06-21 Andreas Jaeger <aj@suse.de>
34824
34825 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34826 Copy rule from iconvdata/Makefile.
34827
01636b21
UD
348282011-07-06 Ulrich Drepper <drepper@gmail.com>
34829
34830 [BZ #12922]
34831 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34832 but no long options are defined, just return 'W'.
34833
9895c8bc
UD
348342011-06-22 Marek Polacek <mpolacek@redhat.com>
34835
34836 [BZ #9696]
34837 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34838
5d4cf042
UD
348392011-07-06 Ulrich Drepper <drepper@gmail.com>
34840
34841 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34842 netgroups to read.
960e5535 34843 (innetgr): Likewise.
5d4cf042 34844
751eb97e
RM
348452011-07-05 Roland McGrath <roland@hack.frob.com>
34846
34847 * config.make.in (install_root): Default to $(DESTDIR).
34848
f15f1e45
UD
348492011-07-05 Ulrich Drepper <drepper@gmail.com>
34850
34851 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34852
4e34ac6a
RM
348532011-07-02 Roland McGrath <roland@hack.frob.com>
34854
5e9b6af4
RM
34855 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34856
84f9ea0f
RM
34857 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34858 containing directory rather than embedding absolute directory names.
34859
ea5ee9f7
RM
34860 * scripts/check-local-headers.sh: Rewritten using awk.
34861 Match by word, not by line. Print error messages for matches.
34862 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34863
1b74661a
RM
34864 * Makerules [shlib-lds-flags empty]:
34865 ($(common-objpfx)libc_pic.opts): New target.
34866 ($(common-objpfx)libc_pic.os.clean): New target.
34867 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34868
34869 * config.make.in (OBJCOPY): New variable.
34870 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34871 * configure: Regenerated.
34872
f781ef40
RM
34873 * config.make.in (use-default-link): New variable.
34874 * configure.in (use_default_link): Grok --with-default-link to set it.
34875 * configure: Regenerated.
34876 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34877 (shlib-lds, shlib-lds-flags): Define to empty.
34878
2d4fa81e
RM
34879 * Makerules (shlib-lds): New variable.
34880 (shlib-lds-flags): New variable.
34881 (build-shlib, build-moduile, build-module-asneeded): Use it.
34882 ($(common-objpfx)libc.so): Use $(shlib-lds).
34883 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34884 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34885
31fffa6b
RM
34886 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34887 DT_FLAGS/DT_FLAGS_1 with zero flags.
34888
4e34ac6a
RM
34889 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34890 linker script munging.
34891
fcfc776b
UD
348922011-07-02 Ulrich Drepper <drepper@gmail.com>
34893
34894 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34895 as 128-bit value.
34896 * crypt/sha512.c (sha512_process_block): Perform total addition using
34897 128-bit if possible.
34898 (__sha512_finish_ctx): Likewise.
34899 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34900 as 64-bit value.
34901 * crypt/sha256.c (SWAP64): Define.
34902 (sha256_process_block): Perform total addition using 64-bit if
34903 possible.
34904 (__sha256_finish_ctx): Likewise.
34905
99231d9a
UD
349062011-07-01 Ulrich Drepper <drepper@gmail.com>
34907
34908 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34914
445b4a53
TK
349152011-07-01 Thorsten Kukuk <kukuk@suse.de>
34916
34917 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34919 * nscd/hstcache.c (cache_addhst): Likewise.
34920 * nscd/grpcache.c (cache_addgr): Likewise.
34921 * nscd/aicache.c (addhstaiX): Likewise
34922
6d4d8e8e
AS
349232011-07-01 Andreas Schwab <schwab@redhat.com>
34924
34925 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34926 domain only when needed.
34927
89f654c5
AS
349282011-06-30 Andreas Schwab <schwab@redhat.com>
34929
34930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34931 is always restored.
34932
cf3b23ff
UD
349332011-06-29 Ulrich Drepper <drepper@gmail.com>
34934
34935 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34936 are re-adding the entry.
34937 * nscd/servicescache.c (cache_addserv): Likewise.
34938
751626f9
AJ
349392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34940
34941 * sysdeps/generic/dl-irel.h: fix protection against multiple
34942 inclusions.
34943 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34944
9113ea1f
UD
349452011-06-28 Ulrich Drepper <drepper@gmail.com>
34946
5c0b8d90
UD
34947 [BZ #12935]
34948 * malloc/memusage.sh: Fix quoting in message.
34949 * debug/xtrace.sh: Likewise.
34950
9113ea1f
UD
34951 * configure.in: Remove support for --experimental-malloc option, make
34952 it the default.
34953 * config.make.in: Likewise.
34954 * malloc/Makefile: Likewise.
34955
a4172181
AS
349562011-06-27 Andreas Schwab <schwab@redhat.com>
34957
34958 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34959 two-byte characters.
34960
78a7eee7
RM
349612011-06-27 Roland McGrath <roland@hack.frob.com>
34962
62bede13
RM
34963 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34964 AC_CACHE_CHECK invocation.
34965 * configure: Regenerated.
34966
78a7eee7
RM
34967 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34968
5ce33a62
UD
349692011-06-27 Ulrich Drepper <drepper@gmail.com>
34970
034807a9
UD
34971 [BZ #12350]
34972 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34973 bit from old_res_options.
34974
4902da17
UD
34975 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34976
5ce33a62
UD
34977 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34978 value type for setfct.
34979
c2344f56
L
349802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34981
34982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34983 __gettimeofday instead of gettimeofday.
34984
68468076
UD
349852011-06-26 Ulrich Drepper <drepper@gmail.com>
34986
34987 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34988
acb0d739
L
349892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34990
34991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34992
34993 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34994 info.
34995
8912479f
L
349962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34997
34998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34999 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35000 strcpy-sse2-unaligned strncpy-sse2-unaligned
35001 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35002 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35003 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35004 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35005 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35006 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35007 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35008 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35009 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35010 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35011 (STRCPY): Support SSE2 and SSSE3 versions.
35012
d5495a11
UD
350132011-06-24 Ulrich Drepper <drepper@gmail.com>
35014
35015 [BZ #12874]
35016 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35017 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35018 kernels which artificially limit size of requests.
35019
0b1cbaae
L
350202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35021
35022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35023 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35024 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35025 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35026 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35027 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35028 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35029 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35030 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35032 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35033 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35034 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35035 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35036 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35038 Enable unaligned load optimization for Intel Core i3, i5 and i7
35039 processors.
35040 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35041 Define.
35042 (index_Fast_Unaligned_Load): Define.
35043 (HAS_FAST_UNALIGNED_LOAD): Define.
35044
07f494a0
MP
350452011-06-23 Marek Polacek <mpolacek@redhat.com>
35046
35047 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35048
fa3fc0fe
UD
350492011-06-22 Ulrich Drepper <drepper@gmail.com>
35050
35051 [BZ #12907]
35052 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35053 until it is clear that the information is realy needed.
35054 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35055
e12df166
AS
350562011-06-22 Andreas Schwab <schwab@redhat.com>
35057
35058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35059
852eb34d
UD
350602011-06-22 Ulrich Drepper <drepper@gmail.com>
35061
84e2a551
UD
35062 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35063 /sys/devices/system/cpu/online if it is usable.
35064
852eb34d
UD
35065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35066 reading the information from the /proc filesystem to once a second.
35067
6e502e19
UD
350682011-06-21 Andreas Jaeger <aj@suse.de>
35069
35070 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35071 NULL after inclusion of kernel headers.
35072
75d39ff2
UD
350732011-06-21 Ulrich Drepper <drepper@gmail.com>
35074
51f9aa6a
UD
35075 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35076 calls to internal_setent.
35077
c0244a9d
UD
35078 [BZ #12885]
35079 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35080 addresses using gethostbyname4_r ignore IPv4 addresses.
35081
c5e3c2ae
UD
35082 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35083 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35084
75d39ff2
UD
35085 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35086
42675c6f
DM
350872011-06-20 David S. Miller <davem@davemloft.net>
35088
35089 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35090 inclusions.
35091 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35092
35093 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35094 (elf_irel): Use it.
35095 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35096 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35097 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35098 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35099 * sysdeps/x86_64/dl-irel.h: Likewise.
35100
35101 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35102 * elf/dl-sym.c: Likewise.
35103
57912a71
UD
351042011-06-15 Ulrich Drepper <drepper@gmail.com>
35105
35106 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35107 need to dereference resplen2.
35108
ee22793d
AS
351092011-06-14 Andreas Schwab <schwab@redhat.com>
35110
35111 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35112
a9e836b0
UD
351132011-06-15 Ulrich Drepper <drepper@gmail.com>
35114
77fb9117
UD
35115 * Makeconfig: Define vardbdir and inst_vardbdir.
35116 * nss/Makefile: Add rules to install db-Makefile.
35117
40c1b22c
UD
35118 * nss/nss_db/db-XXX.c: Cleanup.
35119
9f2da732
UD
35120 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35121 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35122 GLIBC_PRIVATE.
35123 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35124 * nss/makedb.c: Implement -g option to specify that value strings
35125 are generated and should not be added to table iterated over for
35126 get*ent calls.
35127 * nss/nss_db/db-initgroups.c: New file.
35128
82e9a1f7
UD
35129 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35130 interface.
35131
c41af17e
UD
35132 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35133 (internal_getgrouplist): Adjust to name change.
35134 Update use_initgroups_entry if this is not the first call.
35135 * nss/databases.def: Add initgroups entry.
35136
a9e836b0
UD
35137 * nss/makedb.c (compute_tables): Check result of multiple hash table
35138 sizes to minimize maximum chain length.
35139
2666d441
UD
351402011-06-14 Ulrich Drepper <drepper@gmail.com>
35141
35142 * Versions.def: Add entry for libnss_db.
35143 * shlib-versions: Likewise.
35144 * nss/Makefile: Add rules to build libnss_db.
35145 * nss/Versions: Add libnss_db information. Organize libnss_files
35146 entries better.
35147 * nss/db-Makefile: Add gshadow support. Change rules for the new
35148 makedb progra. Some minor improvements to generate smaller files.
35149 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35150 here from...
35151 * nss/makedb.c: ...here.
35152 Improve database format to be smaller and require less memory at
35153 runtime.
35154 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35155 db anymore.
35156 * nss/nss_db/db-netgrp.c: Likewise.
35157 * nss/nss_db/db-open.c: Likewise.
35158 * nss/nss_files/flies-XXX.x: Adjust comments.
35159 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35160 * nss/nss_files/files-grp.c: Likewise.
35161 * nss/nss_files/files-hosts.c: Likewise.
35162 * nss/nss_files/files-network.c: Likewise.
35163 * nss/nss_files/files-proto.c: Likewise.
35164 * nss/nss_files/files-pwd.c: Likewise.
35165 * nss/nss_files/files-rpc.c: Likewise.
35166 * nss/nss_files/files-service.c: Likewise.
35167 * nss/nss_files/files-sgrp.c: Likewise.
35168 * nss/nss_files/files-spwd.c: Likewise.
35169 * nss/nss_db/db-alias.c: Removed.
35170 * nss/nss_db/dummy-db.h: Removed.
35171
9ee76b5a
UD
351722011-06-02 Ulrich Drepper <drepper@gmail.com>
35173
35174 * nss/makedb.c: Rewritten to not use database library.
35175 * nss/Makefile: Update to build new makedb program.
35176
c71ca1f8
AJ
351772011-06-14 Andreas Jaeger <aj@suse.de>
35178
35179 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35180 memset declaration.
35181
3154bfb8
UD
351822011-06-10 Andreas Schwab <schwab@redhat.com>
35183
35184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35185 tmpbuf.
35186
b350afab
RM
351872011-06-10 Roland McGrath <roland@hack.frob.com>
35188
decd4e50
RM
35189 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35190 * elf/Makefile ($(objpfx)ld.so): Likewise.
35191
5615eaf2
RM
35192 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35193 Don't list ld.so twice in dependencies.
35194
35195 * posix/bug-regex31.c: Include <stdlib.h>.
35196
35197 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35198
35199 * nis/nss_compat/compat-spwd.c
35200 (getspent_next_nss_netgr): Remove unused variable.
35201 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35202
35203 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35204 nonmembers" output to use the right array.
35205
35206 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35207
35208 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35209
35210 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35211 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35212 * catgets/gencat.c (read_input_file): Likewise.
35213 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35214
35215 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35216 variable definition inside #if's controlling its use.
35217
35218 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35219
35220 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35221
35222 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35223
35224 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35225 unreachable code.
35226
35227 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35228
b68e08db
RM
35229 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35230 * configure: Regenerated.
35231
b350afab
RM
35232 * Makerules: Revert last change.
35233 * elf/Makefile: Likewise.
35234
28368601
RM
352352011-06-09 Roland McGrath <roland@hack.frob.com>
35236
35237 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35238 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35239 (reloc-link): Likewise.
35240
11988f8f
UD
352412011-06-09 Ulrich Drepper <drepper@gmail.com>
35242
35243 * elf/Makefile: Add rules to build pldd.
35244 * elf/pldd.c: New file.
35245 * elf/pldd-xx.c: New file.
35246
e80fab37
UD
352472011-06-07 Ulrich Drepper <drepper@gmail.com>
35248
35249 * version.h: Update for 2.15 development version.
35250
9b849836
DM
352512011-06-07 David S. Miller <davem@davemloft.net>
35252
35253 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35254 ifuncs.
35255 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35256 elf_machine_lazy_rel): Likewise.
35257 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35259 elf_machine_lazy_rel): Likewise.
35260 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35261 dl_hwcap via passed in argument.
35262 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35263 Likewise.
35264
5a31b283
AK
352652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35266
35267 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35268
069e52f8
RM
352692011-06-06 Roland McGrath <roland@hack.frob.com>
35270
35271 [BZ #12849]
35272 * manual/fdl-1.1.texi: New file, verbatim from:
35273 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35274 * manual/lgpl-2.1.texi: New file, verbatim from:
35275 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35276 * manual/Makefile (licenses): New variable, list those new file names.
35277 (texis): Use it.
35278 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35279
35280 * manual/fdl.texi: File removed.
35281 * manual/lesser.texi: File removed.
35282 * manual/libc.texinfo (Copying, Documentation License):
35283 Use new @include file names, put @appendix directive before @include.
35284
f16846a5
JJ
352852011-06-04 Jakub Jelinek <jakub@redhat.com>
35286
35287 [BZ #12841]
35288 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35289 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35290 (mq_open): Add __NTH.
35291
3d29045b
L
352922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35293
35294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35295 Assume Intel Core i3/i5/i7 processor if AVX is available.
35296
8c297311
UD
352972011-05-31 Ulrich Drepper <drepper@gmail.com>
35298
35299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35300 typo.
35301
c8fc0c91
UD
353022011-05-31 Andreas Schwab <schwab@redhat.com>
35303
35304 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35305 memory. Use alloca_account. Fix memory leak when retrying.
35306
5b27a807
UD
353072011-05-31 Ulrich Drepper <drepper@gmail.com>
35308
356f8bc6
UD
35309 * version.h (RELEASE): Bump for 2.14 release.
35310 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35311
5b27a807
UD
35312 * config.make.in (RANLIB): Remove entry.
35313
01f16ab0
UD
353142011-05-30 Ulrich Drepper <drepper@gmail.com>
35315
41fce8bd
UD
35316 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35317 (libc.pot): Work around missing support for .ksh extension in xgettext.
35318
4769ae77
UD
35319 [BZ #12684]
35320 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35321 if both request failed.
35322 (send_dg): In case of server errors clear resplen or *resplen2.
35323
6b1e7d19
UD
35324 [BZ #12454]
35325 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35326 when there are multiple maps.
35327 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35328 (_dl_fini): Remove test here.
35329
01f16ab0
UD
35330 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35331
b1ebd700
UD
353322011-05-29 Ulrich Drepper <drepper@gmail.com>
35333
7ae22829
UD
35334 [BZ #12350]
35335 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35336 bit from old_res_options.
35337 (gaih_inet): Likewise.
35338
553149f6 35339 [BZ #11099]
18a84741 35340 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35341 as signed.
35342
652ffab1
UD
35343 * resolv/res_init.c (res_setoptions): Make the code more compact.
35344
16985fd0
UD
35345 [BZ #11558]
35346 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35347 set RES_USEVC.
35348
0464f746
UD
35349 [BZ #11634]
35350 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35351
7d17596c
UD
35352 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35353
cf6bbbd7
UD
35354 [BZ #11781]
35355 * malloc/malloc.h: Declare malloc hook variables as volatile.
35356
13f1ab36
UD
35357 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35358 in last patch.
35359
b1ebd700
UD
35360 [BZ #11799]
35361 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35362 raise in the comment.
80e2212d
UD
35363 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35364 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35365 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35366
ce67228d
UD
353672011-05-28 Ulrich Drepper <drepper@gmail.com>
35368
8887a920
UD
35369 [BZ #12811]
35370 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35371 grow the buffers more if it already has to be sufficient.
35372 (build_wcs_upper_buffer): Likewise.
35373 * posix/regexec.c (check_matching): Likewise.
35374 (clean_state_log_if_needed): Likewise.
35375 (extend_buffers): Don't enlarge buffers beyond size of the input
35376 buffer.
35377 Patches mostly by Emil Wojak <emil@wojak.eu>.
35378 * posix/bug-regex32.c: New file.
35379 * posix/Makefile (tests): Add bug-regex32.
35380
4f031072
UD
35381 * locale/findlocale.c (_nl_find_locale): Return right away if
35382 _nl_explode_name failed.
35383 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35384
d0478f0c
UD
35385 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35386
de81b246
UD
35387 * debug/xtrace.sh: Unify messages.
35388 * malloc/memusage.sh: Likewise.
35389
c738465a
UD
35390 [BZ #12813]
35391 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35392 time symbol from vDSO. Substitute with vsyscall if not available.
35393 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35394 __vdso_time.
35395
f1f929d7
UD
35396 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35397 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35398 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35399 Add sendmmsg and internal_sendmmsg.
35400 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35401 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35402 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35403
ce67228d
UD
35404 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35405 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35406 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35407
e57420c6
UD
354082011-05-27 Ulrich Drepper <drepper@gmail.com>
35409
a8509ca5
UD
35410 [BZ #12813]
35411 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35412 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35413 available.
35414 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35415 __vdso_getcpu.
35416
e57420c6
UD
35417 [BZ #12814]
35418 * iconvdata/Makefile (tests): Add bug-iconv9.
35419 * iconvdata/bug-iconv9.c: New file.
35420
4d07db15
AS
354212011-05-27 Andreas Schwab <schwab@redhat.com>
35422
35423 [BZ #12814]
35424 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35425
ea486f69
JJ
354262011-05-25 Jakub Jelinek <jakub@redhat.com>
35427
35428 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35429 (struct user_regs_struct): Change intcs field back to cs.
35430
6f038433
UD
354312011-05-25 Ulrich Drepper <drepper@gmail.com>
35432
35433 * po/ja.po: Update from translation team.
35434
67f86a25
UD
354352011-05-23 Ulrich Drepper <drepper@gmail.com>
35436
35437 [BZ #12795]
35438 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35439 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35440
def7fbd6
AS
354412011-05-20 Andreas Schwab <schwab@redhat.com>
35442
35443 * stdlib/longlong.h: Update from GCC.
35444
f50ef8f1
AS
354452011-05-23 Andreas Schwab <schwab@redhat.com>
35446
35447 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35448 parameter name.
35449 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35450 Add parameter name.
35451 (__sysconf): Pass it down.
35452
de7ce8f1
UD
354532011-05-22 Ulrich Drepper <drepper@gmail.com>
35454
f2962a71
UD
35455 [BZ #12671]
35456 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35457 some situations.
35458 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35459 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35460 add in in __libc_use_alloca calls. Adjust callers.
35461 (glob): Use malloc in some situations.
35462
de7ce8f1
UD
35463 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35464 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35465 pltexit.
35466
aec84f53
UD
354672011-05-21 Ulrich Drepper <drepper@gmail.com>
35468
05bb4a68
UD
35469 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35470 and CLOCK_BOOTTIME_ALARM.
35471
7ea72f99
UD
35472 [BZ #12782]
35473 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35474 is returned.
35475
7e4afad5
UD
35476 * string/_strerror.c (__strerror_r): Print negative errors as signed
35477 numbers.
35478
8e211fec
UD
35479 [BZ #12777]
35480 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35481 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35482 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35483
f7d82dc9
UD
35484 * configure.in: Fix typo in redirection and correct removal of test
35485 files in two cases.
35486
cc9e536d
UD
35487 [BZ #12788]
35488 * locale/setlocale.c (new_composite_name): Fix test to check for
35489 identical name of all categories.
35490
aec84f53
UD
35491 [BZ #12792]
35492 * libio/filedoalloc.c (local_isatty): New function.
35493 (_IO_file_doallocate): Use local_isatty.
35494 * stdio-common/perror.c (perror): In case a new stream is used
35495 forward the stream error.
35496 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35497 error flag.
35498
78e64fdc
RT
354992011-05-20 Ulrich Drepper <drepper@gmail.com>
35500
34a9094f
UD
35501 [BZ #11869]
35502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35503 alloca.
35504 * include/alloca.h (extend_alloca_account): Define.
35505
78e64fdc
RT
35506 [BZ #11857]
35507 * posix/regex.h: Fix comments with documentation of user-accessible
35508 fields after compilation and describe correct free'ing of pattern
35509 after re_compile_pattern.
35510 Patch by Reuben Thomas <rrt@sc3d.org>.
35511
457bddfc
RA
355122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35513
35514 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35515 and -mno-altivec to prevent the compiler from using Altivec and/or
35516 VSX instructions when the corresponding registers are not available.
35517
a4527b51
AS
355182011-05-19 Andreas Schwab <schwab@redhat.com>
35519
35520 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35521
ed690b2f
UD
355222011-05-19 Ulrich Drepper <drepper@gmail.com>
35523
35524 * libio/freopen.c (freopen): Use __dup2, not dup2.
35525 * libio/freopen64.c (freopen64): Likewise.
35526
8db73634
L
355272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35528
35529 [BZ #12775]
35530 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35531 * math/Makefile (tests): Add test-powl.
35532 (CFLAGS-test-powl.c): Define.
35533 * math/test-powl.c: New file.
35534
0a197a9d
L
355352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35536
35537 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35538
ee30c380
UD
355392011-05-17 Ulrich Drepper <drepper@gmail.com>
35540
35541 [BZ #11837]
35542 * iconvdata/gb18030.c: Update to GB18020-2005.
35543
6ce75379
UD
355442011-05-16 Ulrich Drepper <drepper@gmail.com>
35545
a4b89fd8
AR
35546 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35547 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35548 Patch by Aharon Robbins <arnold@skeeve.com>.
35549
ea389b12
UD
35550 [BZ #11892]
35551 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35552 on the stack.
35553
68a3f91f
UD
35554 [BZ #11895]
35555 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35556 through underflows.
35557
15cc7dd1
UD
35558 [BZ #12766]
35559 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35560 point to strings before performing equality test for error_one_per_line
35561 mode.
35562
f3799213
UD
35563 [BZ #11697]
35564 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35565
d79a9c94
UD
35566 [BZ #11820]
35567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35568 (struct user_fpregs_struct): Avoid __uint*_t types.
35569
56e5eb46
UD
35570 [BZ #6420]
35571 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35572 symbol info. Use it instead of calling _dl_addr locally.
35573 (lock_and_info): New function.
35574 (tr_freehook): Call lock_and_info and pass symbol info as additional
35575 parameter to tr_where.
35576 (tr_mallochook): Likewise.
35577 (tr_reallochook): Likewise.
35578 (tr_memalignhook): Likewise.
35579
6ce75379
UD
35580 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35581 used and couldn't be at all thread-safe.
35582
f8a3b5bf
UD
355832011-05-15 Ulrich Drepper <drepper@gmail.com>
35584
94b7cc37
UD
35585 * libio/freopen.c (freopen): Don't close old file descriptor
35586 before the new one is opened. Instead dup the new file descriptor
35587 to the old one after the new stream is created.
35588 * libio/freopen64.c (freopen64): Likewise.
35589 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35590 * libio/fileops.c (_IO_new_file_close_it): Handle new
35591 _IO_FLAGS2_NOCLOSE flag.
35592 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35593 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35594 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35595 _IO_FLAGS2_NOCLOSE flag.
35596 * include/unistd.h: Add hidden_proto for dup3.
35597 Define __have_dup3.
35598 * io/dup3.c: Define hidden symbol.
35599 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35600
bd25564e
UD
35601 [BZ #7101]
35602 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35603 when an incomplete long option is used.
35604 * posix/tst-getopt_long1.c: New file.
35605 * posix/Makefile (tests): Add tst-getopt_long1.
35606
c84cfef4
UD
35607 [BZ #10138]
35608 * scripts/config.guess: Update from autoconf-2.68.
35609 * scripts/config.sub: Likewise.
35610
3b85df27
UD
35611 [BZ #10157]
35612 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35613 tests into ...
35614 (has_cpuclock): ...this. New function.
35615 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35616 macro here based on has_cpuclock code.
35617
15a856b1
UD
35618 [BZ #10149]
35619 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35620 First byte (not low byte) is now always NUL.
35621 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35622
05f399e6
UD
35623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35624 Use non-cancelable interfaces.
35625
10a52685 35626 [BZ #9809]
94ecc67d
UD
35627 * locale/iso-639.def: Add entry for Sorani.
35628
f8a3b5bf
UD
35629 [BZ #11901]
35630 * include/stdlib.h: Move include protection to the right place.
35631 Define abort_msg_s. Declare __abort_msg with it.
35632 * stdlib/abort.c (__abort_msg): Adjust type.
35633 * assert/assert.c (__assert_fail_base): New function. Majority
35634 of code from __assert_fail. Allocate memory for __abort_msg with
35635 mmap.
35636 (__assert_fail): Now call __assert_fail_base.
35637 * assert/assert-perr.c: Remove bulk of implementation. Use
35638 __assert_fail_base.
35639 * include/assert.hL Declare __assert_fail_base.
35640 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35641 mmap.
35642 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35643
1af4e298
UD
356442011-05-14 Ulrich Drepper <drepper@gmail.com>
35645
f8a3b5bf 35646 [BZ #11952]
d26dfc60
MG
35647 [BZ #12453]
35648 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35649 until all modules are registered in the DTV.
35650 * elf/Makefile: Add rules to build and run tst-tls19.
35651 * elf/tst-tls19.c: New file.
35652 * elf/tst-tls19mod1.c: New file.
35653 * elf/tst-tls19mod2.c: New file.
35654 * elf/tst-tls19mod3.c: New file.
35655 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35656
2fc54d6f
UD
35657 [BZ #12083]
35658 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35659 correctly.
35660
98d76b46
UD
35661 [BZ #12601]
35662 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35663 two-byte sequence errors.
35664 * iconvdata/Makefile (tests): Add bug-iconv8.
35665 * iconvdata/bug-iconv8.c: New file.
35666
da3c19ef
UD
35667 [BZ #12626]
35668 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35669 buf2 definition.
35670
ca408c15
UD
35671 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35672
d6f67f7d
UD
35673 [BZ #12432]
35674 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35675 (dummy_getcfa): New function.
35676 (init): Get _Unwind_GetCFA address, use dummy if not found.
35677 (backtrace_helper): In recursion check, also check whether CFA changes.
35678 (__backtrace): Completely initialize arg.
35679
1af4e298 35680 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35681 storing incomplete byte sequence in state object. Avoid testing for
35682 guaranteed too small input if we know there is enough data available.
1af4e298 35683
da62f81b
AS
356842011-05-11 Andreas Schwab <schwab@redhat.com>
35685
35686 * Makeconfig (+link-pie): Indent.
35687 * Rules (binaries-pie): Define if $(have-fpie) and
35688 $(build-shared).
35689 (binaries-shared): Also filter out $(binaries-pie).
35690 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35691 * nscd/Makefile (others-pie): Add nscd.
35692 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35693 ($(objpfx)nscd): Remove command override.
35694 * login/Makefile (others-pie): Add pt_chown.
35695 ($(objpfx)pt_chown): Remove command override.
35696 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35697 remove command overrides.
35698
fcabc0f8
UD
356992011-05-13 Ulrich Drepper <drepper@gmail.com>
35700
20030ae6
UD
35701 * libio/tst_putwc.c: Fix error messages.
35702
fcabc0f8
UD
35703 [BZ #12724]
35704 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35705 currently writing and seek to current position when not.
35706 * libio/Makefile (tests): Add bug-fclose1.
35707 * libio/bug-fclose1.c: New file.
35708
320a5dc0
PB
357092011-05-12 Ulrich Drepper <drepper@gmail.com>
35710
35711 [BZ #12511]
35712 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35713 don't set DF_1_NODELETE here.
35714 (do_lookup_x): When entering new entry test for copy relocation
35715 and if necessary set DF_1_NODELETE flag.
35716 * elf/tst-unique4.cc: New file.
35717 * elf/tst-unique4.h: New file.
35718 * elf/tst-unique4lib.cc: New file.
35719 * elf/Makefile: Add rules to build and run tst-unique4.
35720 Patch by Piotr Bury <pbury@goahead.com>.
35721
22836f52
UD
357222011-05-11 Ulrich Drepper <drepper@gmail.com>
35723
f574184a
UD
35724 [BZ #12052]
35725 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35726
e1fb097f
UD
35727 [BZ #12625]
35728 * misc/mntent_r.c (addmntent): Flush the stream after the output
35729
22836f52
UD
35730 [BZ #12393]
35731 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35732 (is_trusted_path_normalize): Skip initial colon. Append slash
35733 to empty buffer. Duplicate is_trusted_path code but allow
35734 constructed patch to be prefix.
35735 (is_dst): Allow $ORIGIN followed by /.
35736 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35737 Correct testing of result of is_trusted_path_normalize
35738 (decompose_rpath): Fix warning.
35739
7b3b0b2a
UD
357402011-05-10 Ulrich Drepper <drepper@gmail.com>
35741
35742 [BZ #11257]
35743 * grp/initgroups.c (internal_getgrouplist): When we found the service
35744 list through the initgroups entry in nsswitch.conf do not always
35745 continue on a successful lookup. Don't always use the
eac80ce2 35746 __nss_group_database value if it is set.
7b3b0b2a
UD
35747 * nss/nsswitch.conf (initgroups): Change action for successful db
35748 lookup to continue for compatibility.
35749
2a81eaa5
UD
357502011-05-09 Ulrich Drepper <drepper@gmail.com>
35751
be97a69e
UD
35752 [BZ #11532]
35753 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35754 and CP774 modules.
35755 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35756 and CP774 modules.
35757 * iconvdata/tst-tables.sh: Likewise.
35758 * iconvdata/cp770.c: New file.
35759 * iconvdata/cp771.c: New file.
35760 * iconvdata/cp772.c: New file.
35761 * iconvdata/cp773.c: New file.
35762 * iconvdata/cp774.c: New file.
35763 * iconvdata/testdata/CP770: New file.
35764 * iconvdata/testdata/CP770..UTF8: New file.
35765 * iconvdata/testdata/CP771: New file.
35766 * iconvdata/testdata/CP771..UTF8: New file.
35767 * iconvdata/testdata/CP772: New file.
35768 * iconvdata/testdata/CP772..UTF8: New file.
35769 * iconvdata/testdata/CP773: New file.
35770 * iconvdata/testdata/CP773..UTF8: New file.
35771 * iconvdata/testdata/CP774: New file.
35772 * iconvdata/testdata/CP774..UTF8: New file.
35773
35774 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35775 END CHARMAP line.
35776 * iconvdata/gen-8bit-gap.sh: Likewise.
35777 * iconvdata/gen-8bit.sh: Likewise.
35778
c1e9e399
UD
35779 * locale/iso-639.def: Add ary entry.
35780
24c55fb3 35781 [BZ #11258]
96b4b1b0
UD
35782 * locale/C-translit.h.in: Add U20A1 transliteration.
35783
bdc2f971
KB
35784 [BZ #12178]
35785 * locale/iso-639.def: Add wae entry.
35786 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35787
2952b117
UD
35788 [BZ #12545]
35789 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35790 for n.
35791
2a81eaa5
UD
35792 [BZ #12711]
35793 * locale/C-translit.h.in: Add entry for U20B9.
35794 Patch by pravin.d.s@gmail.com.
35795
28377d1b
UD
357962011-05-08 Ulrich Drepper <drepper@gmail.com>
35797
7fb90fb8
UD
35798 [BZ #12713]
35799 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35800 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35801 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35802 in rtld. Use *stat64.
7fb90fb8 35803 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35804 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35805 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35806 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35807 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35808 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35809 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35810 __fstatat64 macros.
7fb90fb8
UD
35811 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35812 * dirent/rewinddir.c: Add libc_hidden_def.
35813 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35814 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35815
28377d1b
UD
35816 * include/dirent.h (__alloc_dir): Add flags parameter.
35817 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35818 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35819 __alloc_dir.
35820 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35821 from fdopendir if O_CLOEXEC is already set.
35822
66bdbaa4
AM
358232011-03-15 Alan Modra <amodra@gmail.com>
35824
35825 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35826 l_tls_firstbyte_offset non-zero. Save padding offset in
35827 l_tls_firstbyte_offset for later use.
35828 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35829 freeing static tls block.
35830
95721191
JN
358312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35832
35833 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35834 where #ifdef was intended. The intent is to prevent ARG_MAX from
35835 being defined by the kernel headers.
35836
f87dfb1f
UD
358372011-05-07 Ulrich Drepper <drepper@gmail.com>
35838
35839 [BZ #12734]
35840 * resolv/resolv.h: Define RES_NOTLDQUERY.
35841 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35842 no-tld-query and set RES_NOTLDQUERY.
35843 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35844 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35845 modern BIND to search name as TLD unless forbidden.
35846
47c3cd7a
UD
358472011-05-07 Petr Baudis <pasky@suse.cz>
35848 Ulrich Drepper <drepper@gmail.com>
35849
35850 [BZ #12393]
35851 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35852 (is_trusted_path): ...to here.
c1e9ea35 35853 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35854 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35855 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35856
8a35c912
PP
358572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35858
35859 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35860 __BEGIN/__END_DECLS.
35861
acd41f47
UD
358622011-05-06 Ulrich Drepper <drepper@gmail.com>
35863
35864 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35865 NSS_STATUS_NOTFOUND if no record was found.
35866
597df647
AS
358672011-05-05 Andreas Schwab <schwab@redhat.com>
35868
35869 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35870 (headers-not-in-tirpc): Remove rpc/netdb.h
35871 * resolv/netdb.h: Revert last change.
35872
b9af1301
PP
358732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35874
35875 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35876 circular dependency between libgcc.a and libc.a.
35877
4e34d5f5
AS
358782011-05-05 Andreas Schwab <schwab@redhat.com>
35879
35880 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35881 * nis/Makefile: Don't install rpcsvc/*.
35882 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35883 instead of <rpc/types.h>.
35884 (MAXHOSTNAMELEN): Define.
35885
00ee369c
AS
358862011-05-03 Andreas Schwab <schwab@redhat.com>
35887
35888 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35889
0b592a30
MB
358902011-04-28 Maciej Babinski <mbabinski@google.com>
35891
35892 [BZ #12714]
35893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35894 gethostbyname4_r when IPv6 results are possible.
35895
6e04cbbe
UD
358962011-05-02 Ulrich Drepper <drepper@gmail.com>
35897
35898 [BZ #12723]
35899 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35900 _PC_PIPE_BUF handling.
35901
e4ecafe0
BH
359022011-04-30 Bruno Haible <bruno@clisp.org>
35903
35904 [BZ #12717]
35905 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35906 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35907 to 'int'.
35908 * inet/getnameinfo.c (getnameinfo): Likewise.
35909
125ee683
UD
359102011-04-29 Ulrich Drepper <drepper@gmail.com>
35911
35912 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35913 to groups setting in database lookup.
35914 * nss/nsswitch.conf: Add initgroups entry.
35915
b722481a
EB
359162011-04-22 Ulrich Drepper <drepper@gmail.com>
35917
35918 [BZ #12685]
35919 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35920 mode string.
35921 Patch by Eric Blake <eblake@redhat.com>.
35922
4df46dbd
L
359232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35924
35925 * sunrpc/Makefile (need-export-routines): Add svc_run.
35926 (routines): Remove svc_run.
35927 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35928 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35929 * sunrpc/svc_run.c (svc_run): Likewise.
35930 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35931
e84142d2
UD
359322011-04-21 Ulrich Drepper <drepper@gmail.com>
35933
35934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35935 problem in reallocation in last patch.
35936
877175d8
UD
359372011-04-20 Ulrich Drepper <drepper@gmail.com>
35938
35939 * sunrpc/Makefile: Move inclusion of Rules.
35940
ab8eed78
UD
359412011-04-19 Ulrich Drepper <drepper@gmail.com>
35942
35943 * nss/nss_files/files-initgroups.c: New file.
35944 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35945 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35946 _nss_files_initgroups_dyn.
35947
e3d8f584
RS
359482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35949
35950 * elf/elf.h (R_ARM_IRELATIVE): Define.
35951
af190f45
UD
359522011-04-19 Ulrich Drepper <drepper@gmail.com>
35953
35954 * po/ru.po: Update from translation team.
35955
53cf59ef
UD
359562011-04-17 Ulrich Drepper <drepper@gmail.com>
35957
35958 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35959 dependencies.
35960
4c559bcd
MF
359612011-02-06 Mike Frysinger <vapier@gentoo.org>
35962
35963 [BZ #12653]
35964 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35965 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35966 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35967 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35968 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35969
4420675c
AS
359702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35971
35972 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35973 differing bytes.
35974 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35975 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35977
75ea32ab
UD
359782011-04-17 Ulrich Drepper <drepper@gmail.com>
35979
35980 [BZ #12420]
35981 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35982 storing it.
35983 * stdlib/bug-getcontext.c: New file.
35984 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35985
27390476
AK
359862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35987
35988 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35989 instructions into .machine "z9-109".
35990 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35991 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35992
10442705
AK
359932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35994
35995 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35996 between environment variables and auxiliary vector.
35997
7b57bfe5
UD
359982011-04-16 Ulrich Drepper <drepper@gmail.com>
35999
36000 * Makefile: Add rules to build linkobj/libc.so.
36001 * include/libc-symbols.h: Define libc_hidden_nolink.
36002 * include/rpc/auth.h: Mark functions which are to be hidden.
36003 * include/rpc/auth_des.h: Likewise.
36004 * include/rpc/auth_unix.h: Likewise.
36005 * include/rpc/clnt.h: Likewise.
36006 * include/rpc/des_crypt.h: Likewise.
36007 * include/rpc/key_prot.h: Likewise.
36008 * include/rpc/pmap_clnt.h: Likewise.
36009 * include/rpc/pmap_prot.h: Likewise.
36010 * include/rpc/pmap_rmt.h: Likewise.
36011 * include/rpc/rpc_msg.h: Likewise.
36012 * include/rpc/svc.h: Likewise.
36013 * include/rpc/svc_auth.h: Likewise.
36014 * include/rpc/xdr.h: Likewise.
36015 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36016 * nss/Makefile: Likewise.
36017 * sunrpc/Makefile: Don't install headers. Build library with normal
36018 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36019 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36020 for the compat linking library. Remove use of INTDEF/INTUSE.
36021 * sunrpc/auth_none.c: Likewise.
36022 * sunrpc/auth_unix.c: Likewise.
36023 * sunrpc/authdes_prot.c: Likewise.
36024 * sunrpc/authuxprot.c: Likewise.
36025 * sunrpc/clnt_gen.c: Likewise.
36026 * sunrpc/clnt_perr.c: Likewise.
36027 * sunrpc/clnt_raw.c: Likewise.
36028 * sunrpc/clnt_simp.c: Likewise.
36029 * sunrpc/clnt_tcp.c: Likewise.
36030 * sunrpc/clnt_udp.c: Likewise.
36031 * sunrpc/clnt_unix.c: Likewise.
36032 * sunrpc/des_crypt.c: Likewise.
36033 * sunrpc/des_soft.c: Likewise.
36034 * sunrpc/get_myaddr.c: Likewise.
36035 * sunrpc/key_call.c: Likewise.
36036 * sunrpc/key_prot.c: Likewise.
36037 * sunrpc/netname.c: Likewise.
36038 * sunrpc/pm_getmaps.c: Likewise.
36039 * sunrpc/pm_getport.c: Likewise.
36040 * sunrpc/pmap_clnt.c: Likewise.
36041 * sunrpc/pmap_prot.c: Likewise.
36042 * sunrpc/pmap_prot2.c: Likewise.
36043 * sunrpc/pmap_rmt.c: Likewise.
36044 * sunrpc/publickey.c: Likewise.
36045 * sunrpc/rpc_cmsg.c: Likewise.
36046 * sunrpc/rpc_common.c: Likewise.
36047 * sunrpc/rpc_dtable.c: Likewise.
36048 * sunrpc/rpc_prot.c: Likewise.
36049 * sunrpc/rpc_thread.c: Likewise.
36050 * sunrpc/rtime.c: Likewise.
36051 * sunrpc/svc.c: Likewise.
36052 * sunrpc/svc_auth.c: Likewise.
36053 * sunrpc/svc_authux.c: Likewise.
36054 * sunrpc/svc_raw.c: Likewise.
36055 * sunrpc/svc_run.c: Likewise.
36056 * sunrpc/svc_simple.c: Likewise.
36057 * sunrpc/svc_tcp.c: Likewise.
36058 * sunrpc/svc_udp.c: Likewise.
36059 * sunrpc/svc_unix.c: Likewise.
36060 * sunrpc/svcauth_des.c: Likewise.
36061 * sunrpc/xcrypt.c: Likewise.
36062 * sunrpc/xdr.c: Likewise.
36063 * sunrpc/xdr_array.c: Likewise.
36064 * sunrpc/xdr_float.c: Likewise.
36065 * sunrpc/xdr_intXX_t.c: Likewise.
36066 * sunrpc/xdr_mem.c: Likewise.
36067 * sunrpc/xdr_rec.c: Likewise.
36068 * sunrpc/xdr_ref.c: Likewise.
36069 * sunrpc/xdr_sizeof.c: Likewise.
36070 * sunrpc/xdr_stdio.c: Likewise.
36071
e6c61494
UD
360722011-04-10 Ulrich Drepper <drepper@gmail.com>
36073
36074 [BZ #12650]
36075 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36076 * sysdeps/ia64/dl-tls.h: Likewise.
36077 * sysdeps/powerpc/dl-tls.h: Likewise.
36078 * sysdeps/s390/dl-tls.h: Likewise.
36079 * sysdeps/sh/dl-tls.h: Likewise.
36080 * sysdeps/sparc/dl-tls.h: Likewise.
36081 * sysdeps/x86_64/dl-tls.h: Likewise.
36082 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36083
34fe483e
AS
360842011-03-14 Andreas Schwab <schwab@redhat.com>
36085
36086 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36087 rpath element also skip the following colon.
36088 (expand_dynamic_string_token): Add is_path parameter and pass
36089 down to DL_DST_REQUIRED and _dl_dst_substitute.
36090 (decompose_rpath): Call expand_dynamic_string_token with
36091 non-zero is_path. Ignore empty rpaths.
36092 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36093 with zero is_path.
36094
f12a32e6
AS
360952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36096
36097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36098 Make cancelable.
36099
38a7d692
UD
361002011-04-09 Ulrich Drepper <drepper@gmail.com>
36101
36102 [BZ #12655]
36103 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36104 Patch by Filipe David Manana <fdmanana@apache.org>.
36105
e451d22b
AS
361062011-04-07 Andreas Schwab <schwab@redhat.com>
36107
36108 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36109 Maintain aligned stack.
36110 (CHECK_RSP): Remove unused macro.
36111
dedc7c7b
UD
361122011-04-03 Ulrich Drepper <drepper@gmail.com>
36113
36114 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36115 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36116
94521213
UD
361172011-04-02 Ulrich Drepper <drepper@gmail.com>
36118
36119 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36120
8cb700c0 36121 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36122
0354e355
L
361232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36124
36125 [BZ #12518]
36126 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36127 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36128 * sysdeps/x86_64/memmove.c: New file.
36129 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36130 (memcpy): Renamed to ...
36131 (__new_memcpy): This.
36132 (memcpy): Provide GLIBC_2_14 memcpy.
36133 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36134 (memcpy): Provide GLIBC_2_2_5 memcpy.
36135
8593482f
UD
361362011-04-01 Ulrich Drepper <drepper@gmail.com>
36137
36138 [BZ #12631]
36139 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36140
81a5726b
AS
361412011-03-30 Andreas Schwab <schwab@redhat.com>
36142
36143 * misc/syncfs.c: New file.
36144 * misc/Makefile (routines): Add syncfs.
36145 * posix/unistd.h: Declare syncfs.
36146 * sysdeps/unix/syscalls.list: Add syncfs.
36147
00e5419f
AS
361482011-04-01 Andreas Schwab <schwab@redhat.com>
36149
36150 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36151 open_by_handle_at.
36152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36155 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36157 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36159
748876bf
UD
361602011-04-01 Ulrich Drepper <drepper@gmail.com>
36161
658e451d
UD
36162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36163 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36164 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36166 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36169
748876bf
UD
36170 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36171 sync_file_range.c with -fexceptions.
36172 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36173 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36174 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36175 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36176 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36177 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36179 sync_file_range as cancellation point
36180 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36181 now a wrapper around __call_sync_file_range with cancellation handling.
36182 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36183 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36184 function name to __call_sync_file_range.
36185 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36186 Add call_sync_file_range.
748876bf 36187
6e63d5e1
AS
361882011-04-01 Andreas Schwab <schwab@redhat.com>
36189
36190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36191 bits/timex.h.
6e63d5e1 36192
46998f74
UD
361932011-04-01 Ulrich Drepper <drepper@gmail.com>
36194
4c1423ed
UD
36195 * iconv/iconv.h: Fix typo in comment.
36196 * io/fcntl.h: Likewise.
36197 * libio/stdio.h: Likewise.
36198 * posix/spawn.h: Likewise.
36199 * posix/unistd.h: Likewise.
36200 * stdlib/stdlib.h: Likewise.
36201 * time/time.h: Likewise.
36202 * wcsmbs/wchar.h: Likewise.
36203
158648c0
UD
36204 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36205 open_by_handle): Add.
36206 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36207 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36208 Augment a few comments.
36209 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36210 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36211 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36213 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36214 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36215 open_by_handle.
36216
46998f74
UD
36217 * io/fcntl.h (AT_EMPTY_PATH): Define.
36218
83fe108b
UD
362192011-03-30 Ulrich Drepper <drepper@gmail.com>
36220
36221 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36222 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36223 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36224 to...
36225 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36226 * Versions.def: Add GLIBC_2.14.
36227 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36228 Export.
83fe108b 36229
bb242059
UD
362302011-03-22 Ulrich Drepper <drepper@gmail.com>
36231
36232 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36233 round counter.
36234 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36235
c97a1282
L
362362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36237
36238 [BZ #12597]
36239 * string/test-strncmp.c (do_page_test): New function.
36240 (check2): Likewise.
36241 (test_main): Call check2.
36242 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36243
2a115601
UD
362442011-03-20 Ulrich Drepper <drepper@gmail.com>
36245
36246 [BZ #12587]
36247 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36248 Handle cache information in CPU leaf 4.
36249 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36250
8126d904
UD
362512011-03-18 Ulrich Drepper <drepper@gmail.com>
36252
042c49c6 36253 [BZ #12583]
8126d904
UD
36254 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36255 character representation.
36256 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36257
ccfe366e
RA
362582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36259
36260 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36261 END(__isnan) to END(__isnanf) to match function entry point/label
36262 EALIGN(__isnanf,...).
36263
c6e13027
JJ
362642011-03-10 Jakub Jelinek <jakub@redhat.com>
36265
36266 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36267
33f85a3f
UD
362682011-03-10 Ulrich Drepper <drepper@gmail.com>
36269
028478fa
UD
36270 [BZ #12510]
36271 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36272 copy from the symbol referenced in the relocation to initialize the
36273 used variable.
36274 Patch by Piotr Bury <pbury@goahead.com>.
36275 * elf/Makefile: Add rules to build and tst-unique3.
36276 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36277 * elf/tst-unique3.cc: New file.
36278 * elf/tst-unique3.h: New file.
36279 * elf/tst-unique3lib.cc: New file.
36280 * elf/tst-unique3lib2.cc: New file.
36281
33f85a3f
UD
36282 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36283
03592fc7
MF
362842011-03-10 Mike Frysinger <vapier@gentoo.org>
36285
36286 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36287 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36288 to _start.
03592fc7 36289
6a5ee102
UD
362902011-03-06 Ulrich Drepper <drepper@gmail.com>
36291
36292 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36293 to-be-loaded object along a path to loader is ld.so.
36294
7e4ba49c
HJ
362952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36296 Ulrich Drepper <drepper@gmail.com>
36297
36298 * sysdeps/x86_64/memset.S: After aligning destination, code
36299 branches to different locations depending on the value of
36300 misalignment, when multiarch is enabled. Fix this.
36301
363022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36303
36304 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36305 Set _x86_64_preferred_memory_instruction for AMD processsors.
36306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36307 Set bit_Prefer_SSE_for_memop for AMD processors.
36308
13a804de
UD
363092011-03-04 Ulrich Drepper <drepper@gmail.com>
36310
36311 * libio/fmemopen.c (fmemopen): Optimize a bit.
36312
9d25c392
AS
363132011-03-03 Andreas Schwab <schwab@redhat.com>
36314
36315 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36316
a5543c6a
RM
363172011-03-03 Roland McGrath <roland@redhat.com>
36318
36319 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36320
012d35f7
DM
363212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36322
7e4ba49c 36323 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36324 __bzero_ultra1 instead of __memset_ultra1.
36325
4bff6e01
AS
363262011-02-23 Andreas Schwab <schwab@redhat.com>
36327 Ulrich Drepper <drepper@gmail.com>
36328
36329 [BZ #12509]
36330 * include/link.h (struct link_map): Add l_orig_initfini.
36331 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36332 returning unsuccessfully.
36333 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36334 close of a file loaded at startup, restore the original l_initfini
36335 list.
36336 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36337 list, store the pointer.
36338 * elf/Makefile ($(objpfx)noload-mem): New rule.
36339 (noload-ENV): Define.
36340 (tests): Add $(objpfx)noload-mem.
36341 * elf/noload.c: Include <memcheck.h>.
36342 (main): Call mtrace. Close all opened handles.
36343
f2092faf
AS
363442011-02-17 Andreas Schwab <schwab@redhat.com>
36345
36346 [BZ #12454]
36347 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36348 dependencies are missing.
36349
6c8a2e88
ST
363502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36351
f2092faf 36352 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36353 Hurd needs munmap.
36354 * sysdeps/mach/hurd/ifreq.h: New file.
36355
84a42118
PB
363562011-01-27 Petr Baudis <pasky@suse.cz>
36357 Ulrich Drepper <drepper@gmail.com>
36358
071f805e 36359 [BZ 12445]#
84a42118
PB
36360 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36361 to extend_alloca().
36362 * stdio-common/bug23.c: New file.
36363 * stdio-common/Makefile (tests): Add bug23.
36364
e23fe25b
AS
363652010-09-28 Andreas Schwab <schwab@redhat.com>
36366 Ulrich Drepper <drepper@gmail.com>
36367
36368 [BZ #12489]
36369 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36370 before performing relro protection. At old place add assertion
36371 to make sure nothing changed.
36372
d3f02e10
NS
363732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36374 Glauber de Oliveira Costa <glommer@gmail.com>
36375
36376 * elf/elf.h: Add new ARM TLS relocs.
36377
d55fd7a5
RA
363782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36379
36380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36381 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36382 cast from r3.
36383 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36384 'tests' variable.
36385 * sysdeps/wordsize-64/tst-writev.c: New file.
36386
2206397e
RA
363872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36388
36389 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36390 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36391 insns in _dl_start to prevent a TOC reference before relocs are
36392 resolved.
36393
e9433893
UD
363942011-02-15 Ulrich Drepper <drepper@gmail.com>
36395
36396 [BZ #12469]
36397 * Makeconfig: Remove RANLIB definition.
36398 * Makerules: Don't use RANLIB.
36399 * aclocal.m4: Remove ranlib test.
36400 * configure.in: No need to check for ranlib.
36401 * elf/rtld-Rules: Don't use RANLIB.
36402
f75286c6
ST
364032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36404
8e31c82d
ST
36405 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36406 protection macro.
36407 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36408 inclusion protection macro.
36409
f75286c6
ST
36410 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36411 SIGRTMIN and SIGRTMAX and print information in that case only when
36412 SIGRTMIN is defined.
36413
c1d0e639
JJ
364142011-02-11 Jakub Jelinek <jakub@redhat.com>
36415
36416 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36417 arginfo fn returning -1.
36418
36419 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36420 and thousands string is zero terminated.
36421
edf9294e
AS
364222011-02-03 Andreas Schwab <schwab@redhat.com>
36423
36424 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36425 sysdeps/unix/sysv/linux/bits/socket.h.
36426
2b7e92df
ST
364272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36428
edf9294e
AS
36429 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36430 (__CPU_COUNT): Remove old macros.
36431 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36432 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36433 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36434 (__sched_cpualloc, __sched_cpufree): Add declarations.
36435
a4c7ea7b
UD
364362011-02-05 Ulrich Drepper <drepper@gmail.com>
36437
36438 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36439 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36440 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36441 (readdhstai): Return value of addhstaiX call.
36442 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36443 (addgrbyX): Return value returned by cache_addgr.
36444 (readdgrbyname): Return value returned by addgrbyX.
36445 (readdgrbygid): Likewise.
36446 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36447 (addpwbyX): Return value returned by cache_addpw.
36448 (readdpwbyname): Return value returned by addhstbyX.
36449 (readdpwbyuid): Likewise.
36450 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36451 (addservbyX): Return value returned by cache_addserv.
36452 (readdservbyname): Return value returned by addservbyX:
36453 (readdservbyport): Likewise.
36454 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36455 (addhstbyX): Return value returned by cache_addhst.
36456 (readdhstbyname): Return value returned by addhstbyX.
36457 (readdhstbyaddr): Likewise.
36458 (readdhstbynamev6): Likewise.
36459 (readdhstbyaddrv6): Likewise.
36460 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36461 (readdinitgroups): Return value returned by addinitgroupsX.
36462 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36463 (prune_cache): Keep track of timeout value of re-added entries.
36464 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36465 * nscd/nscd.h: Adjust prototypes of readd* functions.
36466
a0bf67cc
RM
364672011-02-04 Roland McGrath <roland@redhat.com>
36468
36469 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36470 (nis_stats): Likewise.
36471 * nis/nis_modify.c (nis_modify): Likewise.
36472 * nis/nis_remove.c (nis_remove): Likewise.
36473 * nis/nis_add.c (nis_add): Likewise.
36474
36475 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36476
36477 * posix/fnmatch_loop.c: Add some consts.
36478
36479 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36480
435b95eb
L
364812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36482
36483 [BZ #12460]
36484 * config.make.in (config-cflags-novzeroupper): Define.
36485 * configure.in: Substitute libc_cv_cc_novzeroupper.
36486 * elf/Makefile (AVX-CFLAGS): Define.
36487 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36488 (CFLAGS-tst-auditmod4a.c): Likewise.
36489 (CFLAGS-tst-auditmod4b.c): Likewise.
36490 (CFLAGS-tst-auditmod6b.c): Likewise.
36491 (CFLAGS-tst-auditmod6c.c): Likewise.
36492 (CFLAGS-tst-auditmod7b.c): Likewise.
36493 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36494
8517b15e
UD
364952011-02-02 Ulrich Drepper <drepper@gmail.com>
36496
36497 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36498 function to the callback.
36499 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36500
10a656fe
AS
365012011-02-02 Andreas Schwab <schwab@redhat.com>
36502
36503 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36504 of errno.
36505
968dad0a
UD
365062011-01-19 Ulrich Drepper <drepper@gmail.com>
36507
9f94d2ea 36508 [BZ #11724]
968dad0a
UD
36509 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36510 of constructors.
36511 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36512 of destructors.
36513 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36514
36515 [BZ #11724]
36516 * elf/Makefile: Add rules to build and run new test.
36517 * elf/tst-initorder.c: New file.
36518 * elf/tst-initorder.exp: New file.
36519 * elf/tst-initordera1.c: New file.
36520 * elf/tst-initordera2.c: New file.
36521 * elf/tst-initordera3.c: New file.
36522 * elf/tst-initordera4.c: New file.
36523 * elf/tst-initorderb1.c: New file.
36524 * elf/tst-initorderb2.c: New file.
36525 * elf/tst-order-a1.c: New file.
36526 * elf/tst-order-a2.c: New file.
36527 * elf/tst-order-a3.c: New file.
36528 * elf/tst-order-a4.c: New file.
36529 * elf/tst-order-b1.c: New file.
36530 * elf/tst-order-b2.c: New file.
36531 * elf/tst-order-main.c: New file.
36532 New test case by George Gensure <werkt0@gmail.com>.
36533
86e92359
UD
365342010-10-01 Andreas Schwab <schwab@redhat.com>
36535
36536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36537 decoding ACE if AI_CANONIDN.
36538
5d5732b0
UD
365392011-01-18 Ulrich Drepper <drepper@gmail.com>
36540
36541 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36542
a77e8cbc
UD
365432011-01-17 Ulrich Drepper <drepper@gmail.com>
36544
6392473f
UD
36545 * version.h (RELEASE): Bump for 2.13 release.
36546 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36547
620a0529
UD
36548 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36549
18ba70a5
UD
36550 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36551 MADV_NOHUGEPAGE.
32465c3e
UD
36552 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36553 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36554 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36555 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36556 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36557 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36558
c0dafcf1
UD
36559 * posix/getconf.c: Update copyright year.
36560 * catgets/gencat.c: Likewise.
36561 * csu/version.c: Likewise.
36562 * debug/catchsegv.sh: Likewise.
36563 * debug/xtrace.sh: Likewise.
36564 * elf/ldconfig.c: Likewise.
36565 * elf/ldd.bash.in: Likewise.
36566 * elf/sprof.c (print_version): Likewise.
36567 * iconv/iconv_prog.c: Likewise.
36568 * iconv/iconvconfig.c: Likewise.
36569 * locale/programs/locale.c: Likewise.
36570 * locale/programs/localedef.c: Likewise.
36571 * malloc/memusage.sh: Likewise.
36572 * malloc/mtrace.pl: Likewise.
36573 * nscd/nscd.c (print_version): Likewise.
36574 * nss/getent.c: Likewise.
36575
a77e8cbc
UD
36576 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36577 PF_CAIF, and PF_ALG.
36578 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36579
77e8bddf
AS
365802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36581
1f20b93a
AS
36582 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36583 (modules-names): Use them.
36584 (ifunc-test-modules, ifunc-pie-tests): Define.
36585 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36586 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36587 (test-extras): Likewise.
36588 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36589 $(compile-command.c).
36590 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36591 (all-built-dso): Define.
36592 (check-textrel.out, check-execstack.out): Depend on it.
36593
77e8bddf
AS
36594 * configure.in: Don't override --enable-multi-arch.
36595
bc425b33
UD
365962011-01-15 Ulrich Drepper <drepper@gmail.com>
36597
36598 [BZ #6812]
36599 * nscd/hstcache.c (tryagain): Define.
36600 (cache_addhst): Return tryagain not notfound for temporary errors.
36601 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36602 failed.
36603
794c3ad3
UD
366042011-01-14 Ulrich Drepper <drepper@gmail.com>
36605
70181fdd
UD
36606 [BZ #10563]
36607 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36608 to make the syscall.
36609 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36610
794c3ad3
UD
36611 [BZ #12378]
36612 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36613 and fall back to matching as normal character if the string ends before
36614 the matching ']' is found. This is what POSIX requires.
36615 * posix/testfnm.c: Adjust test result.
36616 * posix/globtest.sh: Adjust test result. Add new test.
36617 * posix/tst-fnmatch.input: Likewise.
36618 * posix/tst-fnmatch2.c: Add new test.
36619
68dc9497
AS
366202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36621
36622 * elf/Makefile (check-execstack): Revert last change. Depend on
36623 check-execstack.h.
36624 (check-execstack.h): New target.
36625 (generated): Add check-execstack.h.
36626 * elf/check-execstack.c: Include "check-execstack.h".
36627 (main): Revert last change.
36628 (handle_file): Return zero if GNU_STACK is absent and
36629 DEFAULT_STACK_PERMS doesn't include PF_X.
36630
451f001b
UD
366312011-01-13 Ulrich Drepper <drepper@gmail.com>
36632
cfa28e56
UD
36633 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36634 in child fails because the descriptor is already closed.
8cf8ce17
UD
36635 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36636 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36637 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36638
1086d70d
UD
36639 [BZ #12397]
36640 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36641 syscall.
36642
451f001b
UD
36643 [BZ #10484]
36644 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36645 temporary buffer used to handle multi lookups locally.
a85b5cb4 36646 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36647
08769175
UD
366482011-01-12 Ulrich Drepper <drepper@gmail.com>
36649
36650 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36651 loader is ld.so.
36652
5e49c52e
UD
366532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36654
36655 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36656 alignment for SSE2.
36657
60522a5f
UD
366582011-01-12 Ulrich Drepper <drepper@gmail.com>
36659
36660 [BZ #12394]
36661 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36662 characters. When rounding increased number of integer digits recompute
36663 number of groups.
36664 * stdio-common/tst-grouping.c: New file.
36665 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36666
f257bbd7
UD
366672011-01-09 Ulrich Drepper <drepper@gmail.com>
36668
36669 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36670 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36671
36672 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36673 void.
36674 * bits/select.h: Likewise.
36675
fa9c15cb
UD
366762011-01-08 Ulrich Drepper <drepper@gmail.com>
36677
36678 * po/ja.po: Update from translation team.
36679
16c2895f
DM
366802011-01-04 David S. Miller <davem@sunset.davemloft.net>
36681
36682 [BZ #11155]
36683 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36684 implementation just like for lxstat, fxstatat, et al.
36685
2543fef2
JM
366862010-12-27 Jim Meyering <meyering@redhat.com>
36687
36688 [BZ #12348]
36689 * posix/regexec.c (build_trtable): Return failure indication upon
36690 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36691
98727dbe
UD
366922010-12-25 Ulrich Drepper <drepper@gmail.com>
36693
5bd6dc5c
UD
36694 [BZ #12201]
36695 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36696 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36697 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36698 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36699
97983464
UD
36700 [BZ #12207]
36701 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36702
98727dbe
UD
36703 [BZ #12204]
36704 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36705 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36706
4a531bb0
L
367072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36708
36709 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36710 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36711 script has SORT_BY_INIT_PRIORITY.
36712 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36713 NO_CTORS_DTORS_SECTIONS is defined.
36714 * elf/soinit.c: Likewise.
36715 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36716 NO_CTORS_DTORS_SECTIONS is defined.
36717 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36718 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36719 * sysdeps/sh/init-first.c: Likewise.
36720 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36721
07eb4b71
UD
367222010-12-24 Ulrich Drepper <drepper@gmail.com>
36723
36724 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36725 always use the slow path.
36726
30950a5f
RA
367272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36728
36729 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36730 similar rule which adds the sysdep directories to the header search in
36731 order to pick up the correct platform stackinfo.h.
36732 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36733 perform test if it is, otherwise return successfully without testing.
36734 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36735 DEFAULT_STACK_PERMS define in stackinfo.h.
36736 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36737 defined in stackinfo.h.
36738 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36739 DEFAULT_STACK_PERMS defined in stackinfo.h.
36740 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36741 * sysdeps/ia64/stackinfo.h: Likewise.
36742 * sysdeps/s390/stackinfo.h: Likewise.
36743 * sysdeps/sh/stackinfo.h: Likewise.
36744 * sysdeps/sparc/stackinfo.h: Likewise.
36745 * sysdeps/x86_64/stackinfo.h: Likewise.
36746 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36747 PF_X for powerpc64. Retain PF_X for powerpc32.
36748
db753e2c
UD
367492010-12-19 Ulrich Drepper <drepper@gmail.com>
36750
14b697f7
UD
36751 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36752 accurately.
db753e2c
UD
36753 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36754 GETDENTS_64BIT_ALIGNED.
36755
28300719
UD
367562010-12-14 Ulrich Drepper <dreper@gmail.com>
36757
14b697f7 36758 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36759
4f197237
AS
367602010-12-10 Andreas Schwab <schwab@redhat.com>
36761
dbb0472f
AS
36762 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36763 _GNU_SOURCE.
36764
4f197237
AS
36765 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36766 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36767 Remove __restrict.
36768 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36769 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36770
fb88ac72
UD
367712010-12-09 Ulrich Drepper <drepper@gmail.com>
36772
36773 [BZ #11655]
36774 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36775 are initialized.
36776
42acbb92
JJ
367772010-12-09 Jakub Jelinek <jakub@redhat.com>
36778
36779 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36780
c038d98d
UD
367812010-12-03 Ulrich Drepper <drepper@gmail.com>
36782
36783 * po/it.po: Update from translation team.
36784
3a4a2499
L
367852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36786
36787 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36788 unused codes.
36789
1e24cf6e
UD
367902010-11-30 Ulrich Drepper <drepper@gmail.com>
36791
36792 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36793
a7690819
AS
367942010-11-24 Andreas Schwab <schwab@redhat.com>
36795
36796 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36797 specially.
36798 (gaih_getanswer_slice): Likewise.
36799
3bf8d1b1
JJ
368002010-10-20 Jakub Jelinek <jakub@redhat.com>
36801
36802 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36803
6db52fbb
PB
368042010-05-31 Petr Baudis <pasky@suse.cz>
36805
36806 [BZ #11149]
36807 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36808 silently even in the chroot mode.
36809
eaca7569
UD
368102010-11-22 Ulrich Drepper <drepper@gmail.com>
36811
36812 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36813 last patch a bit. Pretty printing
36814
3056dcdb
UD
368152010-05-31 Petr Baudis <pasky@suse.cz>
36816
36817 [BZ #10085]
36818 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36819 initialization of skip_initgroups_dyn.
36820
cf7c9078
UD
368212010-11-19 Ulrich Drepper <drepper@gmail.com>
36822
36823 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36824 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36825
a1fb5e3e
UD
368262010-11-16 Ulrich Drepper <drepper@gmail.com>
36827
36828 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36829
3540d66b
AS
368302010-11-11 Andreas Schwab <schwab@redhat.com>
36831
36832 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36833 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36834 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36835 ($(objpfx)tst-fnmatch-mem): New rule.
36836 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36837 * posix/tst-fnmatch.c (main): Call mtrace.
36838
13b69574
L
368392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36840
36841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36842 Support Intel processor model 6 and model 0x2c.
36843
da93d214
LM
368442010-11-10 Luis Machado <luisgpm@br.ibm.com>
36845
36846 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36847 signed comparison.
36848
8ca52c6e
L
368492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36850
36851 [BZ #12205]
36852 * string/test-strncasecmp.c (check_result): New function.
36853 (do_one_test): Use it.
36854 (check1): New function.
36855 (test_main): Use it.
36856 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36857 Support strcasecmp and strncasecmp.
36858
69da074d
UD
368592010-11-08 Ulrich Drepper <drepper@gmail.com>
36860
36861 [BZ #12194]
36862 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36863 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36864
ff02d528
L
368652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36866
36867 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36868 IFUNC support.
36869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36870 memset-x86-64.
36871 * sysdeps/x86_64/multiarch/bzero.S: New file.
36872 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36873 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36874 * sysdeps/x86_64/multiarch/memset.S: New file.
36875 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36877 Set bit_Prefer_SSE_for_memop for Intel processors.
36878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36879 Define.
36880 (index_Prefer_SSE_for_memop): Define.
36881 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36882
344d0b54
LM
368832010-11-04 Luis Machado <luisgpm@br.ibm.com>
36884
36885 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36886 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36887
c0dde15b
UD
368882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36889
36890 [BZ #12191]
36891 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36892 (__x86_64_raw_data_cache_size_half): Likewise.
36893 (__x86_64_raw_shared_cache_size): Likewise.
36894 (__x86_64_raw_shared_cache_size_half): Likewise.
36895
36896 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36897 (__x86_64_raw_data_cache_size_half): Likewise.
36898 (__x86_64_raw_shared_cache_size): Likewise.
36899 (__x86_64_raw_shared_cache_size_half): Likewise.
36900 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36901 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36902 and __x86_64_raw_shared_cache_size_half. Round
36903 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36904 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36905 to multiple of 256 bytes.
36906
0e516e0e
MS
369072010-11-03 Ulrich Drepper <drepper@gmail.com>
36908
36909 [BZ #12167]
36910 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36911 of inacessible symlinks. Verify result of symlink before returning it.
36912 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36913 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36914
0e012e87
ER
369152010-10-28 Erich Ritz <erichritz@gmail.com>
36916
36917 * math/math.h (isinf): Fix typo in comment.
36918
de0ff7bc
UD
369192010-11-01 Ulrich Drepper <drepper@gmail.com>
36920
36921 * po/da.po: Update from translation team.
36922
fa41c84d
UD
369232010-10-26 Ulrich Drepper <drepper@gmail.com>
36924
36925 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36926 is added to the list.
36927
f0967738
AK
369282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36929 Ulrich Drepper <drepper@gmail.com>
36930
36931 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36932 the global list here. Move code to...
36933 (_dl_add_to_namespace_list): ...here. New function.
36934 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36935 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36936 * elf/dl-load.c (lose): Don't remove the element from the list.
36937 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36938 (_dl_map_object): Likewise.
36939
369402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36941
36942 [BZ #12159]
36943 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36944 into all bytes of SSE register.
36945 Patch by Richard Li <richardpku@gmail.com>.
36946
f0967738 369472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36948
36949 [BZ #12140]
36950 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36951 perturbing.
36952
d0b9e94f
MB
369532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36954
36955 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36956 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36957 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36958 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36960 submachine.
36961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36962
8e9f92e9
AS
369632010-10-22 Andreas Schwab <schwab@redhat.com>
36964
36965 * include/dlfcn.h (__RTLD_SECURE): Define.
36966 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36967 mode & __RTLD_SECURE instead.
36968 (open_path): Rename preloaded parameter to secure.
36969 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36970 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36971 * elf/dl-deps.c (openaux): Likewise.
36972 * elf/rtld.c (struct map_args): Remove is_preloaded.
36973 (map_doit): Don't use it.
36974 (dl_main): Likewise.
36975 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36976 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36977
bc96fbda
AS
369782010-09-09 Andreas Schwab <schwab@redhat.com>
36979
36980 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36981 (sysd-rules-targets): Remove duplicates.
36982 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36983 rtld-%.$o dependency.
36984
22cd1c9b
AS
369852010-10-18 Andreas Schwab <schwab@redhat.com>
36986
36987 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36988 _dl_map_object do it.
36989
18edac48
UD
369902010-10-19 Ulrich Drepper <drepper@gmail.com>
36991
36992 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36993 fast fma builtins, define the macros in the C99 standard.
36994 (FP_FAST_FMAF): Likewise.
36995 (FP_FAST_FMAL): Likewise.
36996 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36997
36998 * bits/mathdef.h: Update copyright year.
36999 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37000
d2050124
MM
370012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37002
37003 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37004 builtins, define the macros in the C99 standard.
37005 (FP_FAST_FMAF): Likewise.
37006 (FP_FAST_FMAL): Likewise.
37007 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37008 multiply/add.
37009 (FP_FAST_FMAF): Likewise.
37010
475facd1
JJ
370112010-10-15 Jakub Jelinek <jakub@redhat.com>
37012
37013 [BZ #3268]
37014 * math/libm-test.inc (fma_test): Some new testcases.
37015 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37016 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37017 y and infinite z. Do multiplication by C already in long double.
37018 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37020 y and infinite z. Do bitwise or of inexact bit into u.d.
37021 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37022 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37023 * sysdeps/i386/fpu/s_fma.S: Removed.
37024 * sysdeps/i386/fpu/s_fmal.S: Removed.
37025
7c08a05c
JJ
370262010-10-16 Jakub Jelinek <jakub@redhat.com>
37027
37028 [BZ #3268]
37029 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37031 computation is not scheduled after fetestexcept. Fix value
37032 of minimum denormal long double.
37033
f3f7372d
JJ
370342010-10-14 Jakub Jelinek <jakub@redhat.com>
37035
37036 [BZ #3268]
37037 * math/libm-test.inc (fma_test): Add some more tests.
37038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37039 correctly.
37040
14d43591
AS
370412010-10-15 Andreas Schwab <schwab@redhat.com>
37042
37043 * scripts/data/localplt-s390-linux-gnu.data: New file.
37044 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37045
5e908464
JJ
370462010-10-13 Jakub Jelinek <jakub@redhat.com>
37047
37048 [BZ #3268]
37049 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37050 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37051 instead of dbl-64.
37052 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37053 inlines.
37054 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37056 if one of x and y is very large and the other is subnormal.
37057 * sysdeps/s390/fpu/s_fmaf.c: New file.
37058 * sysdeps/s390/fpu/s_fma.c: New file.
37059 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37060 * sysdeps/powerpc/fpu/s_fma.S: New file.
37061 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37062 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37063 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37064
370652010-10-12 Jakub Jelinek <jakub@redhat.com>
37066
37067 [BZ #3268]
37068 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37069 fma tests.
37070 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37071 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37072 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37073 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37074 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37075 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37076 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37077
b833d51f
UD
370782010-10-12 Ulrich Drepper <drepper@redhat.com>
37079
37080 [BZ #12078]
37081 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37082 * posix/bug-regex31.input: Add test case.
37083
1751705d
UD
370842010-10-11 Ulrich Drepper <drepper@gmail.com>
37085
e9b9cbf5
UD
37086 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37087 * posix/bug-regex31.input: New file.
37088
37089 [BZ #12078]
37090 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37091 (parse_sub_exp): Fix last change, use postorder.
37092
ef06edbe
UD
37093 * posix/bug-regex31.c: New file.
37094 * posix/Makefile: Add rules to build and run bug-regex31.
37095
a129c80d
UD
37096 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37097
37098 [BZ #12078]
37099 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37100
b76b818e
UD
37101 [BZ #12108]
37102 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37103 to have entries in sys_siglist.
37104
1751705d
UD
37105 [BZ #12093]
37106 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37107 be NULL.
37108
9ff8d36f
JJ
371092010-10-07 Jakub Jelinek <jakub@redhat.com>
37110
37111 [BZ #3268]
37112 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37113 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37114 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37115 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37116 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37117 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37118 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37119 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37120 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37121 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37122 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37123 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37124 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37125 * math/ftestexcept.c (fetestexcept): Likewise.
37126 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37127 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37128 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37129 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37130 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37131 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37132 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37133
af325969
UD
371342010-10-11 Ulrich Drepper <drepper@gmail.com>
37135
c579b202 37136 [BZ #12107]
af325969
UD
37137 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37138 newline.
37139
67a67b95
UD
371402010-10-06 Ulrich Drepper <drepper@gmail.com>
37141
37142 * string/bug-strstr1.c: New file.
37143 * string/Makefile: Add rules to build and run bug-strstr1.
37144
5fb308bc
EB
371452010-10-05 Eric Blake <eblake@redhat.com>
37146
37147 [BZ #12092]
37148 * string/str-two-way.h (two_way_long_needle): Always clear memory
37149 when skipping input due to the shift table.
37150
45db99c7
UD
371512010-10-03 Ulrich Drepper <drepper@gmail.com>
37152
3b111893
UD
37153 [BZ #12005]
37154 * malloc/mcheck.c: Handle large requests.
37155
45db99c7
UD
37156 [BZ #12077]
37157 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37158 for strncmp and strncasecmp.
37159 * string/stratcliff.c: Add tests for strcmp and strncmp.
37160 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37161
cf7a1eb8
NI
371622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37163
37164 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37165 __set_fpscr.
37166
6484ba5e
AJ
371672010-09-30 Andreas Jaeger <aj@suse.de>
37168
37169 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37170 (CGROUP_SUPER_MAGIC): Define.
37171 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37172 Handle btrfs and cgroup file systems.
37173 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37174 Likewise.
37175
91c42559
LM
371762010-09-27 Luis Machado <luisgpm@br.ibm.com>
37177
37178 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37179 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37180
87a97932
AK
371812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37182
37183 [BZ #12067]
37184 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37185 trying to locate the ELF header.
37186
c21cc9bc
AS
371872010-09-27 Andreas Schwab <schwab@redhat.com>
37188
37189 [BZ #11611]
37190 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37191 Mask out sign-bit copies when constructing f_fsid.
37192
315970f6
PB
371932010-09-24 Petr Baudis <pasky@suse.cz>
37194
37195 * debug/stack_chk_fail_local.c: Add missing licence exception.
37196 * debug/warning-nop.c: Likewise.
37197
1ac7a2c7
JM
371982010-09-15 Joseph Myers <joseph@codesourcery.com>
37199
37200 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37201 implementing getdents64 using getdents syscall, set d_type if
37202 __ASSUME_GETDENTS32_D_TYPE.
37203
56801c50
AS
372042010-09-16 Andreas Schwab <schwab@redhat.com>
37205
37206 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37207 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37208
dda51327
UD
372092010-09-21 Ulrich Drepper <drepper@redhat.com>
37210
37211 [BZ #12037]
37212 * posix/unistd.h: Undo change of feature selection for ftruncate from
37213 2010-01-11.
37214
8ffcee4a
UD
372152010-09-20 Ulrich Drepper <drepper@redhat.com>
37216
a545ecd9 37217 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37218 detection.
37219
e24f0a8b
AS
372202010-09-20 Andreas Schwab <schwab@redhat.com>
37221
37222 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37223 fanotify_mark.
37224 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37225
7291c56f
AS
372262010-09-14 Andreas Schwab <schwab@redhat.com>
37227
37228 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37229 variables after CHECK_SP call.
37230 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37231
bc5fb037
AS
372322010-09-13 Andreas Schwab <schwab@redhat.com>
37233 Ulrich Drepper <drepper@redhat.com>
37234
37235 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37236 re-relocationg ld.so.
37237 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37238 _dl_init_paths call.
37239 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37240 here anymore.
37241
e66e7419
UD
372422010-09-14 Ulrich Drepper <drepper@redhat.com>
37243
37244 * resolv/res_init.c (__res_vinit): Count the default server we added.
37245
c044aa75
CLT
372462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37247 Ulrich Drepper <drepper@redhat.com>
37248
37249 [BZ #11968]
37250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37251 (____longjmp_chk): Use %ebx for saving value across system call.
37252 Add unwind info.
37253
32cf4069
AS
372542010-09-06 Andreas Schwab <schwab@redhat.com>
37255
37256 * manual/Makefile: Don't mix pattern rules with normal rules.
37257
817328ee
AS
372582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37259
37260 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37261 operation.
37262 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37263 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37264 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37265 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37266 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37267 Likewise.
37268
29fddf61
UD
372692010-09-04 Ulrich Drepper <drepper@redhat.com>
37270
37271 [BZ #11979]
37272 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37273 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37274
0959ffc9
UD
372752010-09-02 Ulrich Drepper <drepper@redhat.com>
37276
37277 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37278 * sysdeps/x86_64/addmul_1.S: Likewise.
37279 * sysdeps/x86_64/lshift.S: Likewise.
37280 * sysdeps/x86_64/mul_1.S: Likewise.
37281 * sysdeps/x86_64/rshift.S: Likewise.
37282 * sysdeps/x86_64/sub_n.S: Likewise.
37283 * sysdeps/x86_64/submul_1.S: Likewise.
37284
ece29840
ST
372852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37286
0959ffc9
UD
37287 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37288 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37289 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37290 * bits/sched.h [__need_schedparam]
ece29840 37291 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37292 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37293 (__defined_schedparam): Define to 1.
ece29840
ST
37294 (__sched_param): New structure, identical to sched_param.
37295 (__need_schedparam): Undefine.
37296
e53a31fe
MF
372972010-08-31 Mike Frysinger <vapier@gentoo.org>
37298
fdc0c10d
MF
37299 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37300 (epoll_create1): Declare.
37301
e53a31fe
MF
37302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37303
a726d796
AS
373042010-08-31 Andreas Schwab <schwab@redhat.com>
37305
37306 [BZ #7066]
37307 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37308 shifting retval into place.
37309
2f3e3dc7
UD
373102010-09-01 Ulrich Drepper <drepper@redhat.com>
37311
f2933da9
UD
37312 * nis/rpcsvc/nis.h: Update copyright notice.
37313 * nis/rpcsvc/nis.x: Likewise.
37314 * nis/rpcsvc/nis_callback.h: Likewise.
37315 * nis/rpcsvc/nis_callback.x: Likewise.
37316 * nis/rpcsvc/nis_object.x: Likewise.
37317 * nis/rpcsvc/nis_tags.h: Likewise.
37318 * nis/rpcsvc/yp.h: Likewise.
37319 * nis/rpcsvc/yp.x: Likewise.
37320 * nis/rpcsvc/ypupd.h: Likewise.
37321 * nis/yp_xdr.c: Likewise.
37322 * nis/ypupdate_xdr.c: Likewise.
37323
2f3e3dc7
UD
37324 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37325 mainly the body of pmap_getport. Add parameters to specify timeouts.
37326 (pmap_getport): Use __libc_rpc_getport.
37327 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37328 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37329 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37330
f3dcc2f9
AS
373312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37332
37333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37334 fanotify_mark.
37335
6d34eb5b
RM
373362010-08-27 Roland McGrath <roland@redhat.com>
37337
37338 * sysdeps/i386/i686/multiarch/Makefile
37339 (CFLAGS-varshift.c): New variable.
37340
9ea3de11
UD
373412010-08-27 Ulrich Drepper <drepper@redhat.com>
37342
c96d23fc
UD
37343 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37344 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37345
9ea3de11
UD
37346 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37347
37348 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37349
623aac7f
L
373502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37351
37352 * sysdeps/x86_64/strlen.S: Unroll the loop.
37353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37354 strlen-sse2 strlen-sse2-bsf.
37355 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37356 __strlen_no_bsf if bit_Slow_BSF is set.
37357 (__strlen_sse42): Removed.
37358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37359 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37360
8b2b7715
RM
373612010-08-25 Roland McGrath <roland@redhat.com>
37362
37363 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37364 * sysdeps/x86_64/multiarch/varshift.c: New file.
37365 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37366 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37367 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37368 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37369
e73015f2
L
373702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37371
37372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37373 strlen-sse2 strlen-sse2-bsf.
37374 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37375 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37376 (__strlen_sse2): Removed.
37377 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37378 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37380 bit_Slow_BSF for Atom.
37381 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37382 (index_Slow_BSF): Define.
37383 (HAS_SLOW_BSF): Define.
37384
df24a73e
UD
373852010-08-25 Ulrich Drepper <drepper@redhat.com>
37386
37387 [BZ #10851]
37388 * resolv/res_init.c (__res_vinit): When no server address at all
37389 is given default to loopback.
37390
f2ac4868
RM
373912010-08-24 Roland McGrath <roland@redhat.com>
37392
09055553
RM
37393 * configure.in: Remove config-name.h generation.
37394 * configure: Regenerated.
37395 * config-name.in: File removed.
37396 * scripts/config-uname.sh: New file.
37397 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37398 ($(objdir)config-name.h): New target.
37399
f2ac4868
RM
37400 * sunrpc/rpc_parse.h: Avoid nested comment.
37401
73f27d5e
RH
374022010-08-24 Richard Henderson <rth@redhat.com>
37403 Ulrich Drepper <drepper@redhat.com>
37404 H.J. Lu <hongjiu.lu@intel.com>
37405
37406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37408 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37409 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37410 _mm_alignr_epi8 with _mm_loadu_si128.
37411 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37412 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37413 (__m128i_shift_right): Removed.
37414 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37415 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37416 * sysdeps/x86_64/multiarch/varshift.h: New file.
37417 * sysdeps/x86_64/multiarch/varshift.S: New file.
37418
84b9230c
MF
374192010-08-21 Mike Frysinger <vapier@gentoo.org>
37420
37421 * configure.in: Move assembler checks to before sysdep dir checking.
37422
9bbd0ddc
PB
374232010-08-20 Petr Baudis <pasky@suse.cz>
37424
37425 * LICENSES: Sync the sunrpc license.
37426
9da4bb31
UD
374272010-08-19 Ulrich Drepper <drepper@redhat.com>
37428
a7ab6ec8
UD
37429 * sunrpc/auth_des.c: Update copyright notice once again.
37430 * sunrpc/auth_none.c: Likewise.
37431 * sunrpc/auth_unix.c: Likewise.
37432 * sunrpc/authdes_prot.c: Likewise.
37433 * sunrpc/authuxprot.c: Likewise.
37434 * sunrpc/bindrsvprt.c: Likewise.
37435 * sunrpc/clnt_gen.c: Likewise.
37436 * sunrpc/clnt_perr.c: Likewise.
37437 * sunrpc/clnt_raw.c: Likewise.
37438 * sunrpc/clnt_simp.c: Likewise.
37439 * sunrpc/clnt_tcp.c: Likewise.
37440 * sunrpc/clnt_udp.c: Likewise.
37441 * sunrpc/clnt_unix.c: Likewise.
37442 * sunrpc/des_crypt.c: Likewise.
37443 * sunrpc/des_soft.c: Likewise.
37444 * sunrpc/get_myaddr.c: Likewise.
37445 * sunrpc/getrpcport.c: Likewise.
37446 * sunrpc/key_call.c: Likewise.
37447 * sunrpc/key_prot.c: Likewise.
37448 * sunrpc/openchild.c: Likewise.
37449 * sunrpc/pm_getmaps.c: Likewise.
37450 * sunrpc/pm_getport.c: Likewise.
37451 * sunrpc/pmap_clnt.c: Likewise.
37452 * sunrpc/pmap_prot.c: Likewise.
37453 * sunrpc/pmap_prot2.c: Likewise.
37454 * sunrpc/pmap_rmt.c: Likewise.
37455 * sunrpc/rpc/auth.h: Likewise.
37456 * sunrpc/rpc/auth_unix.h: Likewise.
37457 * sunrpc/rpc/clnt.h: Likewise.
37458 * sunrpc/rpc/des_crypt.h: Likewise.
37459 * sunrpc/rpc/key_prot.h: Likewise.
37460 * sunrpc/rpc/netdb.h: Likewise.
37461 * sunrpc/rpc/pmap_clnt.h: Likewise.
37462 * sunrpc/rpc/pmap_prot.h: Likewise.
37463 * sunrpc/rpc/pmap_rmt.h: Likewise.
37464 * sunrpc/rpc/rpc.h: Likewise.
37465 * sunrpc/rpc/rpc_des.h: Likewise.
37466 * sunrpc/rpc/rpc_msg.h: Likewise.
37467 * sunrpc/rpc/svc.h: Likewise.
37468 * sunrpc/rpc/svc_auth.h: Likewise.
37469 * sunrpc/rpc/types.h: Likewise.
37470 * sunrpc/rpc/xdr.h: Likewise.
37471 * sunrpc/rpc_clntout.c: Likewise.
37472 * sunrpc/rpc_cmsg.c: Likewise.
37473 * sunrpc/rpc_common.c: Likewise.
37474 * sunrpc/rpc_cout.c: Likewise.
37475 * sunrpc/rpc_dtable.c: Likewise.
37476 * sunrpc/rpc_hout.c: Likewise.
37477 * sunrpc/rpc_main.c: Likewise.
37478 * sunrpc/rpc_parse.c: Likewise.
37479 * sunrpc/rpc_parse.h: Likewise.
37480 * sunrpc/rpc_prot.c: Likewise.
37481 * sunrpc/rpc_sample.c: Likewise.
37482 * sunrpc/rpc_scan.c: Likewise.
37483 * sunrpc/rpc_scan.h: Likewise.
37484 * sunrpc/rpc_svcout.c: Likewise.
37485 * sunrpc/rpc_tblout.c: Likewise.
37486 * sunrpc/rpc_util.c: Likewise.
37487 * sunrpc/rpc_util.h: Likewise.
37488 * sunrpc/rpcinfo.c: Likewise.
37489 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37490 * sunrpc/rpcsvc/key_prot.x: Likewise.
37491 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37492 * sunrpc/rpcsvc/mount.x: Likewise.
37493 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37494 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37495 * sunrpc/rpcsvc/rex.x: Likewise.
37496 * sunrpc/rpcsvc/rstat.x: Likewise.
37497 * sunrpc/rpcsvc/rusers.x: Likewise.
37498 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37499 * sunrpc/rpcsvc/spray.x: Likewise.
37500 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37501 * sunrpc/rtime.c: Likewise.
37502 * sunrpc/svc.c: Likewise.
37503 * sunrpc/svc_auth.c: Likewise.
37504 * sunrpc/svc_authux.c: Likewise.
37505 * sunrpc/svc_raw.c: Likewise.
37506 * sunrpc/svc_run.c: Likewise.
37507 * sunrpc/svc_simple.c: Likewise.
37508 * sunrpc/svc_tcp.c: Likewise.
37509 * sunrpc/svc_udp.c: Likewise.
37510 * sunrpc/svc_unix.c: Likewise.
37511 * sunrpc/svcauth_des.c: Likewise.
37512 * sunrpc/xcrypt.c: Likewise.
37513 * sunrpc/xdr.c: Likewise.
37514 * sunrpc/xdr_array.c: Likewise.
37515 * sunrpc/xdr_float.c: Likewise.
37516 * sunrpc/xdr_mem.c: Likewise.
37517 * sunrpc/xdr_rec.c: Likewise.
37518 * sunrpc/xdr_ref.c: Likewise.
37519 * sunrpc/xdr_sizeof.c: Likewise.
37520 * sunrpc/xdr_stdio.c: Likewise.
37521
9da4bb31
UD
37522 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37523 handling.
37524
bdaa77bc
AS
375252010-08-19 Andreas Schwab <schwab@redhat.com>
37526
37527 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37528
fe2f79db
LM
375292010-08-19 Luis Machado <luisgpm@br.ibm.com>
37530
37531 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37532 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37533 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37534 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37535 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37536 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37537 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37538 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37539 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37540 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37541 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37542 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37543 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37544 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37545
b9b42ee0
AB
375462010-07-26 Anton Blanchard <anton@samba.org>
37547
37548 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37549 * malloc/arena.c (heap_trim): Likewise.
37550
1c06ba31
UD
375512010-08-16 Ulrich Drepper <drepper@redhat.com>
37552
37553 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37554 here. Not...
37555 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37556 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37557
f8392f40
L
375582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37559
37560 * sysdeps/i386/elf/Makefile: New file.
37561
3162f12e
AS
375622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37563
37564 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37565 from fanotify_init.
37566 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37568
28c90b2c
UD
375692010-08-15 Ulrich Drepper <drepper@redhat.com>
37570
37571 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37572 of strncasecmp_l.
1feccb6c 37573 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37574
ca6bb004
UD
375752010-08-14 Ulrich Drepper <drepper@redhat.com>
37576
e9f82e0d
UD
37577 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37578 strncase_l-nonascii.
37579 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37580 Add strncase_l-ssse3.
37581 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37582 * sysdeps/x86_64/strcmp.S: Likewise.
37583 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37584 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37585 * sysdeps/x86_64/strncase.S: New file.
37586 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37587 * sysdeps/x86_64/strncase_l.S: New file.
37588 * string/Makefile (strop-tests): Add strncasecmp.
37589 * string/test-strncasecmp.c: New file.
37590
37591 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37592 warning.
37593
ca6bb004
UD
37594 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37595 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37596
052fa7b3
AS
375972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37598
37599 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37600
962dba78
UD
376012010-08-12 Ulrich Drepper <drepper@redhat.com>
37602
37603 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37604 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37605 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37606
bebff237
AM
376072010-05-01 Alan Modra <amodra@gmail.com>
37608
37609 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37610 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37611 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37612 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37613 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37614 tidying. Don't tail-call __sigjmp_save for static lib.
37615 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37616 save location.
37617 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37618 (CALL_MCOUNT): Add eh info, and nop after bl.
37619 (TAIL_CALL_SYSCALL_ERROR): New macro.
37620 (PSEUDO_RET): Use it.
37621 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37622 Correct save location of integer regs and cr.
37623 (_dl_profile_resolve): Correct cr save location. Delete nops
37624 after bl when SHARED. Reduce cfi size a little by better
37625 placement of cfi directives.
37626 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37627 make a stack frame. Instead use parm save area as a temp.
37628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37629 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37631 Don't make a stack frame for parent, use parm save area.
37632 Increase child stack frame to 112 bytes. Don't save unused reg,
37633 and adjust reg usage. Set up cfi on error recovery and
37634 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37636 (__makecontext): Add dummy nop after jump to exit.
37637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37638 Use correct parm save area and cr save, reduce stack frame.
37639 Correct cfi for possible PSEUDO_RET frame setup.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37641 Branch to local label emitted by PSEUDO_RET rather than
37642 __syscall_error.
37643
02637374
AS
376442010-08-12 Andreas Schwab <schwab@redhat.com>
37645
37646 [BZ #11904]
37647 * locale/programs/locale.c (print_assignment): New function.
37648 (show_locale_vars): Use it.
37649
c3e2f19b
UD
376502010-08-11 Ulrich Drepper <drepper@redhat.com>
37651
3cdaa6ad
UD
37652 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37653 field.
37654 (struct statfs64): Likewise.
37655 (_STATFS_F_FLAGS): Define.
37656 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37657 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37658 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37659 (ST_VALID): Define locally.
37660 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37661 __statvfs_getflags, use the provided value.
37662 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37663 __ASSUME_STATFS_F_FLAGS.
37664
754f7da3
UD
37665 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37666
10b3bedc
UD
37667 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37668 Add sys/fanotify.h.
37669 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37670 fanotify_mask for GLIBC_2.13.
37671 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37672 fanotify_init and fanotify_mark.
37673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37674 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37675
c08fb0d7
UD
37676 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37677 Add prlimit.
37678 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37679 prlimit64 for GLIBC_2.13.
37680 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37681 prlimit64.
37682 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37683 syscall.
37684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37685 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37686 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37687 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37688 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37689 add prlimit alias.
37690 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37691
15bac72b
UD
37692 [BZ #11903]
37693 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37694 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37695
c3e2f19b
UD
37696 * nss/Makefile: Add rules to build and run tst-nss-test1.
37697 * shlib-versions: Add entry for libnss_test1.
37698 * nss/nss_test1.c: New file.
37699 * nss/tst-nss-test1.c: New file.
37700
37701 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37702 (__nss_configure_lookup): Set appropriate entry in
37703 __nss_configure_lookup to true.
37704 * nss/nsswitch.h: Define enum with indeces of databases in
37705 databases and __nss_database_custom arrays. Declare
37706 __nss_database_custom.
37707 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37708 to avoid using nscd when custom rules are installed.
37709 * nss/getXXbyYY_r.c: Likewise.
37710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37711
37712 * nss/nss_files/files-parse.c: Whitespace fixes.
37713
f15ce4d8
UD
377142010-08-09 Ulrich Drepper <drepper@redhat.com>
37715
37716 [BZ #11883]
37717 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37718 * posix/fnmatch_loop.c: Likewise.
37719
d22e4cc9
AK
377202010-07-17 Andi Kleen <ak@linux.intel.com>
37721
37722 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37723 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37724 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37725 * Versions.def [GLIBC_2.13]: Add.
37726
805bc17d
UD
377272010-08-06 Ulrich Drepper <drepper@redhat.com>
37728
37729 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37730 Also fail if tpwd after pwuid call is NULL.
37731
5a42321d
ST
377322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37733
37734 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37735 when converting to ms.
37736
fd3ebeda
ST
377372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37738
37739 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37740 EOPNOTSUPP errors with ENOTTY.
37741 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37742 EOPNOTSUPP errors with ENOTTY.
37743
73507d3a
UD
377442010-07-31 Ulrich Drepper <drepper@redhat.com>
37745
37746 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37747 Add strcasecmp_l-ssse3.
37748 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37749 strcasecmp.
37750 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37751 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37752 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37753
fe36dd02
UD
377542010-07-30 Ulrich Drepper <drepper@redhat.com>
37755
66f6765a
UD
37756 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37757
42e08a54
UD
37758 * string/Makefile (strop-tests): Add strcasecmp.
37759 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37760 strcasecmp_l-nonascii.
37761 (gen-as-const-headers): Add locale-defines.sym.
37762 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37763 * sysdeps/x86_64/strcasecmp.S: New file.
37764 * sysdeps/x86_64/strcasecmp_l.S: New file.
37765 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37766 * sysdeps/x86_64/locale-defines.sym: New file.
37767 * string/test-strcasecmp.c: New file.
37768
fe36dd02
UD
37769 * string/test-strcasestr.c: Test both ends of the range of characters.
37770 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37771
48cbc0d6
RM
377722010-07-29 Roland McGrath <roland@redhat.com>
37773
76e6d6bc 37774 [BZ #11856]
48cbc0d6
RM
37775 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37776
880113d9
UD
377772010-07-27 Ulrich Drepper <drepper@redhat.com>
37778
37779 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37780 for ld.so.
37781
deb9cabb
AS
377822010-07-27 Andreas Schwab <schwab@redhat.com>
37783
37784 * manual/memory.texi (Malloc Tunable Parameters): Document
37785 M_PERTURB.
37786
1c7570ff
RM
377872010-07-26 Roland McGrath <roland@redhat.com>
37788
37789 [BZ #11840]
37790 * configure.in (-fgnu89-inline check): Set and substitute
37791 gnu89_inline, not libc_cv_gnu89_inline.
37792 * configure: Regenerated.
37793 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37794
24fb0f88
UD
377952010-07-26 Ulrich Drepper <drepper@redhat.com>
37796
37797 * string/test-strnlen.c: New file.
37798 * string/Makefile (strop-tests): Add strnlen.
37799 * string/tester.c (test_strnlen): Add a few more test cases.
37800 * string/tst-strlen.c: Better error reporting.
37801
37802 * sysdeps/x86_64/strnlen.S: New file.
37803
8e96b93a
UD
378042010-07-24 Ulrich Drepper <drepper@redhat.com>
37805
37806 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37807 lower-latency instructions.
37808
dbc676d4
UD
378092010-07-23 Ulrich Drepper <drepper@redhat.com>
37810
37811 * string/test-strcasestr.c: New file.
37812 * string/test-strstr.c: New file.
37813 * string/Makefile (strop-tests): Add strstr and strcasestr.
37814 * string/str-two-way.h: Don't undefine MAX.
37815 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37816
f6a31e0e
AS
378172010-07-21 Andreas Schwab <schwab@redhat.com>
37818
37819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37820 strcasestr-nonascii.
37821 (CFLAGS-strcasestr-nonascii.c): Define.
37822 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37823 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37824 Remove unused attribute.
37825
5dbc3b6c
RM
378262010-07-20 Roland McGrath <roland@redhat.com>
37827
37828 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37829 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37830 ld.so.cache was broken. With it, there is no way to disable dsocaps
37831 like LD_HWCAP_MASK can disable hwcaps.
37832
23d101d8
EPM
378332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37834
37835 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37836
cc9f2e47
UD
378372010-07-16 Ulrich Drepper <drepper@redhat.com>
37838
37839 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37840 call in strcasestr.
37841 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37842 __strcasestr_sse42_nonascii.
37843 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37844 strcasestr-nonascii.c.
37845 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37846
77c1b069
LM
378472010-06-15 Luis Machado <luisgpm@br.ibm.com>
37848
37849 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37850 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37851 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37852 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37853
440566c3
UD
378542010-07-09 Ulrich Drepper <drepper@redhat.com>
37855
37856 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37857 fcntl.
37858
5be9d05d
AS
378592010-07-06 Andreas Schwab <schwab@redhat.com>
37860
c30b7ee2 37861 [BZ #11577]
5be9d05d
AS
37862 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37863 dl_signal_cerror.
37864
8a492a67
UD
378652010-07-06 Ulrich Drepper <drepper@redhat.com>
37866
37867 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37868 _PC_PIPE_BUF using F_GETPIPE_SZ.
37869
713df3d5
RM
378702010-07-05 Roland McGrath <roland@redhat.com>
37871
37872 * manual/arith.texi (Rounding Functions): Fix rint description
37873 implicit in round description.
37874
702e8f14
UD
378752010-07-02 Ulrich Drepper <drepper@redhat.com>
37876
37877 * elf/Makefile: Fix linking for a few tests to make recent linker
37878 happy.
37879
52ed8be9
AS
378802010-06-30 Andreas Schwab <schwab@redhat.com>
37881
37882 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37883 $(common-objpfx)libc_nonshared.a.
37884
f47c9a11
LM
378852010-06-21 Luis Machado <luisgpm@br.ibm.com>
37886
37887 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37888 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37889 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37890 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37891 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37892 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37893 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37894 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37909 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37910 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37911 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37912 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37913 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37914 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37915 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37916 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37917 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37918 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37919 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37920 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37935
6fb8cbcb
L
379362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37937
37938 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37939 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37940 * string/memmove.c (memmove): Renamed to ...
37941 (MEMMOVE): ...this. Default to memmove.
37942 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37943 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37944 (END_CHK): Define.
37945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37946 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37947 mempcpy-ssse3-back memmove-ssse3-back.
37948 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37950 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37951 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37952 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37953 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37954 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37955 * sysdeps/x86_64/multiarch/memmove.c: New file.
37956 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37957 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37958 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37959 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37960 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37961 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37962 Define.
37963 (index_Fast_Copy_Backward): Define.
37964 (HAS_ARCH_FEATURE): Define.
37965 (HAS_FAST_REP_STRING): Define.
37966 (HAS_FAST_COPY_BACKWARD): Define.
37967
4e733bac 379682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37969
37970 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37971 Restore proper fallback handling.
37972
63c4ed22
UD
379732010-06-19 Ulrich Drepper <drepper@redhat.com>
37974
ac2b484c
UD
37975 [BZ #11701]
37976 * posix/group_member.c (__group_member): Correct checking loop.
37977
63c4ed22
UD
37978 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37979 OOM in getpwuid_r correctly. Return error number when the caller
37980 should return, otherwise -1.
37981 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37982 call returning > 0 value.
37983 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37984
765ade4b
AS
379852010-06-07 Andreas Schwab <schwab@redhat.com>
37986
37987 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37988 libc_nonshared.a from targets in modules-names.
37989
80da2e09
KS
379902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37991
37992 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37993 requires it.
37994
158db122
LM
379952010-06-10 Luis Machado <luisgpm@br.ibm.com>
37996
37997 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37998 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38001
caa78cf8
AS
380022010-06-02 Andreas Schwab <schwab@redhat.com>
38003
38004 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38005
b2ef2c01
UD
380062010-06-14 Ulrich Drepper <drepper@redhat.com>
38007
38008 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38009 and F_GETPIPE_SZ.
38010 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38011 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38012 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38014 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38015 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38016
fbd643b6
RM
380172010-06-14 Roland McGrath <roland@redhat.com>
38018
38019 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38020
f32f2869
JJ
380212010-06-07 Jakub Jelinek <jakub@redhat.com>
38022
38023 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38024 __REDIRECT followed by __THROW.
38025 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38026 * posix/getopt.h (getopt): Likewise.
38027
2a50c078
EPM
380282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38029
38030 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38031 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38032 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38033 in AT_FLAGS.
38034 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38035 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38036
eb5ad2eb
LM
380372010-05-28 Luis Machado <luisgpm@br.ibm.com>
38038
38039 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38040
3c88fe1e
L
380412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38042
38043 [BZ #11640]
38044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38045 Properly check family and model.
38046
d2f73151
TY
380472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38048
38049 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38050
ebd2e13d
LM
380512010-05-24 Luis Machado <luisgpm@br.ibm.com>
38052
38053 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38054
b32b8b45
UD
380552010-05-21 Ulrich Drepper <drepper@redhat.com>
38056
38057 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38058 symbol reference.
38059
9acbe24d
AS
380602010-05-19 Andreas Schwab <schwab@redhat.com>
38061
38062 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38063 symbol reference.
38064
f0ccf6ea
AS
380652010-05-21 Andreas Schwab <schwab@redhat.com>
38066
3d04ff3a
AS
38067 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38068 and internal_recvmmsg.
38069 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38070 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38071 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38072 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38073
f0ccf6ea
AS
38074 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38075 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38076 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38077
5b08ac57
AS
380782010-05-20 Andreas Schwab <schwab@redhat.com>
38079
38080 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38081
4828935d
LM
380822010-05-17 Luis Machado <luisgpm@br.ibm.com>
38083
38084 POWER7 optimizations.
38085 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38086 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38087
373d545e
UD
380882010-05-19 Ulrich Drepper <drepper@redhat.com>
38089
38090 * version.h: Update for 2.13 development version.
38091
21a2b1ae
AS
380922010-05-12 Andrew Stubbs <ams@codesourcery.com>
38093
38094 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38095 exceptions. Return 0.
38096
3f7dcb2b
RM
380972010-05-07 Roland McGrath <roland@redhat.com>
38098
38099 * elf/ldconfig.c (main): Add a const.
38100
5f24d53a 381012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38102
a160f8d8
UD
38103 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38104 (args_options): Add no-idn option.
38105 (ahosts_keys_int): Add idn_flags to ai_flags.
38106 (parse_option): Handle 'i' option to clear idn_flags.
38107
5f24d53a
UD
38108 * malloc/malloc.c (_int_free): Possible race in the most recently
38109 added check. Only act on the data if no current modification
38110 happened.
265bb1ce
UD
38111
38112See ChangeLog.17 for earlier changes.
This page took 5.172545 seconds and 5 git commands to generate.