]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
scripts/update-copyrights: adjust configure input file suffix
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d4697bc9
AM
12014-01-01 Allan McRae <allan@archlinux.org>
2
ddb3687f
AM
3 * scripts/update-copyrights: Update configure input file suffix.
4
88726d48
AM
5 * NEWS: Update copyright year.
6 * catgets/gencat.c: Likewise.
7 * csu/version.c: Likewise.
8 * debug/catchsegv.sh: Likewise.
9 * debug/pcprofiledump.c: Likewise.
10 * debug/xtrace.sh: Likewise.
11 * elf/ldconfig.c: Likewise.
12 * elf/ldd.bash.in: Likewise.
13 * elf/pldd.c: Likewise.
14 * elf/sotruss.ksh: Likewise.
15 * elf/sprof.c: Likewise.
16 * iconv/iconv_prog.c: Likewise.
17 * iconv/iconvconfig.c: Likewise.
18 * locale/programs/locale.c: Likewise.
19 * locale/programs/localedef.c: Likewise.
20 * login/programs/pt_chown.c: Likewise.
21 * malloc/memusage.sh: Likewise.
22 * malloc/memusagestat.c: Likewise.
23 * malloc/mtrace.pl: Likewise.
24 * manual/libc.texinfo: Likewise.
25 * nscd/nscd.c: Likewise.
26 * nss/getent.c: Likewise.
27 * nss/makedb.c: Likewise.
28 * posix/getconf.c: Likewise.
29 * scripts/test-installation.pl: Likewise.
30
d4697bc9
AM
31 * All files with FSF copyright notices: Update copyright dates
32 using scripts/update-copyrights.
33 * intl/plural.c: Regenerated.
34 * locale/programs/charmap-kw.h: Likewise.
35 * locale/programs/locfile-kw.h: Likewise.
36
c8590f9d
MF
372013-12-31 Mike Frysinger <vapier@gentoo.org>
38
39 * sysdeps/unix/sysv/linux/configure: Regenerated.
40 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41 the linux/fanotify.h header.
42 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43 HAVE_LINUX_FANOTIFY_H is defined.
44
b19221b9
SP
452013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46
dd1d85e5
SP
47 * benchtests/cos-inputs: New inputs.
48 * benchtests/sin-inputs: Likewise.
49
1acbb90f
SP
50 * benchtests/atan-inputs: New inputs. Fix name of multiple
51 precision fallback inputs.
52
4c012ed3
SP
53 * benchtests/atanh-inputs: New inputs.
54 * benchtests/tanh-inputs: Likewise.
55
eff98324
SP
56 * benchtests/acosh-inputs: New inputs.
57 * benchtests/asinh-inputs: Likewise.
58
ce641152
SP
59 * benchtests/cosh-inputs: New inputs.
60 * benchtests/sinh-inputs: Likewise.
61
b19221b9
SP
62 * benchtests/acos-inputs: Add more inputs.
63 * benchtests/asin-inputs: Likewise.
64
030a4976 652013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 66
030a4976 67 [BZ #16375]
9dcc8f11
VS
68 * manual/arith.texi: Fix spelling.
69 * manual/charset.texi: Likewise.
70 * manual/errno.texi: Likewise.
71 * manual/filesys.texi: Likewise.
72 * manual/lang.texi: Likewise.
73 * manual/llio.texi: Likewise.
74 * manual/locale.texi: Likewise.
75 * manual/message.texi: Likewise.
76 * manual/resource.texi: Likewise.
77 * manual/search.texi: Likewise.
78 * manual/setjmp.texi: Likewise.
79 * manual/stdio.texi: Likewise.
80 * manual/string.texi: Likewise.
81 * manual/sysinfo.texi: Likewise.
82 * manual/time.texi: Likewise.
83
11520a57
CD
842013-12-27 Carlos O'Donell <carlos@redhat.com>
85
86 * po/sl.po: New file.
87
471103ae
MF
882013-12-27 Mike Frysinger <vapier@gentoo.org>
89
90 * .gitignore: Add core/.gdbinit/.gdb_history.
91
6c9642ed
AM
922013-12-27 Allan McRae <allan@archlinux.org>
93
94 [BZ #16369]
95 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
96 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
97
3f637079
BM
982013-12-24 Brooks Moses <bmoses@google.com>
99
100 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
101 all compilers that claim C++98 compliance, not just GCC.
102 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
103 Likewise.
104
abc26e99
MK
1052013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
106
107 * NEWS: Restore accidentally deleted bug-fix entries.
108
362b47fe
MK
1092013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
110 Ondřej Bílka <neleai@seznam.cz>
111
112 [BZ #15073]
113 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 114 have_lock.
362b47fe 115
b9bcbbcb
OB
1162013-12-23 Ondřej Bílka <neleai@seznam.cz>
117
118 [BZ #12986]
119 * manual/stdio.texi (String Input Conversions): Clarify that character
120 classes are not supported.
121
fb55fcd2
AZ
1222013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
123
124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
125
ef7344f0
JM
1262013-12-22 Joseph Myers <joseph@codesourcery.com>
127
4f40e4b3
JM
128 [BZ #16337]
129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
130 Calculate results for small negative arguments directly rather
131 than using reflection formula with special underflow handling.
132
ef7344f0
JM
133 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
134 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
135 sysdeps/unix/bsd/bsd4.4/syscalls.list.
136 (fchflags): Likewise.
137 (revoke): Likewise.
138 (setlogin): Likewise.
139 (sigaltstack): Likewise.
140 (wait4): Likewise.
141 (sigblock): Remove.
142 (sigsetmask): Likewise.
143 (wait3): Likewise.
144 (waitpid): Likewise.
145 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
146 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
147 file.
148 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
149 * sysdeps/unix/bsd/Makefile: ... here.
150 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
151 * sysdeps/unix/bsd/Versions: ... here.
152 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
153 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
154 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
155 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
156 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
157 * sysdeps/unix/bsd/sigblock.c: ... here.
158 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
159 * sysdeps/unix/bsd/sigsetmask.c: ... here.
160 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
161 * sysdeps/unix/bsd/sigvec.c: ... here.
162 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
163 * sysdeps/unix/bsd/tcdrain.c: ... here.
164 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
165 * sysdeps/unix/bsd/tcgetattr.c: ... here.
166 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
167 * sysdeps/unix/bsd/tcsetattr.c: ... here.
168 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
169 * sysdeps/unix/bsd/wait.c: ... here.
170 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
171 * sysdeps/unix/bsd/wait3.c: ... here.
172 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
173 * sysdeps/unix/bsd/waitpid.c: ... here.
174
5b0626b9
JM
1752013-12-21 Joseph Myers <joseph@codesourcery.com>
176
177 [BZ #16356]
178 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
179 round-to-nearest for [!USE_AS_EXPM1L].
180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
181 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
182 more tests of exp and exp10. Expect some exp10 tests to miss
183 exceptions or fail in directed rounding modes.
184 * math/auto-libm-test-out: Regenerated.
185 * math/libm-test.inc (exp10_tonearest_test_data): New array.
186 (exp10_test_tonearest): New function.
187 (exp10_towardzero_test_data): New array.
188 (exp10_test_towardzero): New function.
189 (exp10_downward_test_data): New array.
190 (exp10_test_downward): New function.
191 (exp10_upward_test_data): New array.
192 (exp10_test_upward): New function.
193 (main): Call the new functions.
194 * sysdeps/i386/fpu/libm-test-ulps: Update.
195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
196
7fda5682
JM
1972013-12-20 Joseph Myers <joseph@codesourcery.com>
198
31e3a405
JM
199 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
200 asinh, atan, atan2, atanh, cbrt, cos and cosh.
201 * math/auto-libm-test-out: Regenerated.
202 * math/libm-test.inc (acosh_test_data): Add more tests.
203 (atanh_test_data): Likewise.
204 (ceil_test_data): Likewise.
205 (copysign_test_data): Likewise.
206 * sysdeps/i386/fpu/libm-test-ulps: Update.
207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
208
85bff96a
JM
209 * timezone/checktab.awk: Update from tzcode 2013i.
210 * timezone/private.h: Likewise.
211 * timezone/scheck.c: Likewise.
212 * timezone/tzfile.h: Likewise.
213 * timezone/tzselect.ksh: Likewise.
214 * timezone/zdump.c: Likewise.
215 * timezone/zic.c: Likewise.
216
b7867a3b
JM
217 * math/auto-libm-test-in: Add tests of cpow.
218 * math/auto-libm-test-out: Regenerated.
219 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
220 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
221 mpc_cc_c.
222 (func_calc_desc): Add mpc_cc_c union field.
223 (test_functions): Add cpow.
224 (special_fill_2pi): New function.
225 (special_real_inputs): Add 2pi.
226 (calc_generic_results): Handle mpc_cc_c.
227 * sysdeps/i386/fpu/libm-test-ulps: Update.
228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
229
7fda5682
JM
230 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
231 csqrt, ctan and ctanh.
232 * math/auto-libm-test-out: Regenerated.
233 * math/libm-test.inc (TEST_COND_x86_64): New macro.
234 (TEST_COND_x86): Likewise.
235 (ccos_test_data): Use AUTO_TESTS_c_c.
236 (ccosh_test_data): Likewise.
237 (cexp_test_data): Likewise.
238 (clog_test_data): Likewise.
239 (csqrt_test_data): Likewise.
240 (ctan_test_data): Likewise.
241 (ctan_tonearest_test_data): Likewise.
242 (ctan_towardzero_test_data): Likewise.
243 (ctan_downward_test_data): Likewise.
244 (ctan_upward_test_data): Likewise.
245 (ctanh_test_data): Likewise.
246 (ctanh_tonearest_test_data): Likewise.
247 (ctanh_towardzero_test_data): Likewise.
248 (ctanh_downward_test_data): Likewise.
249 (ctanh_upward_test_data): Likewise.
250 * math/gen-auto-libm-tests.c (func_calc_method): Add value
251 mpc_c_c.
252 (func_calc_desc): Add mpc_c_c union field.
253 (FUNC_mpc_c_c): New macro.
254 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
255 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
256 ctanh.
257 (special_fill_min_subnorm_p120): New function.
258 (special_real_inputs): Add min_subnorm_p120.
259 (calc_generic_results): Handle mpc_c_c.
260 * sysdeps/i386/fpu/libm-test-ulps: Update.
261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
262
5ff8d60e
SP
2632013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
264
392dd2de
SP
265 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
266 do_sin_slow): New functions.
267 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
268 cslow2, csloww1, csloww2): Use the new functions.
269
84ba214c
SP
270 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
271 Use M to change sign of result instead of X. Assume X is
272 positive.
273 (csloww1): Likewise.
274 (__sin): Adjust.
275 (__cos): Adjust.
276
975195e4
SP
277 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
278 arguments A and DA.
279 (__sin): Adjust.
280 (__cos): Likewise.
281
5ff8d60e
SP
282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
283 (__cos): Likewise.
284 (sloww1): Don't adjust sign of DX.
285 (csloww1): Likewise.
286 (sloww2): Use X directly and don't adjust sign of DX.
287 (csloww2): Likewise.
288
eb983568
JM
2892013-12-19 Joseph Myers <joseph@codesourcery.com>
290
64a17f1a
JM
291 * math/auto-libm-test-in: Add tests of cabs and carg.
292 * math/auto-libm-test-out: Regenerated.
293 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
294 (carg_test_data): Likewise.
295 * math/gen-auto-libm-tests.c (func_calc_method): Add value
296 mpc_c_f.
297 (func_calc_desc): Add mpc_c_f union field.
298 (test_functions): Add cabs and carg.
299 (calc_generic_results): Handle mpc_c_f.
300
eb983568
JM
301 * sysdeps/powerpc/powerpc32/libgcc-compat.S
302 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
303 as a macro and a compat symbol.
304 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
305 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
306 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
307 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
308 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
309 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
310 not use .hidden.
311 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
312 Likewise.
313 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
314 Likewise.
315 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
316 Likewise.
317 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
318 Likewise.
319 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
320 Likewise.
321 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
322 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
323 from GLIBC_2.3.2.
324
6eeb678a
AZ
3252013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
326
327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
328
063b2acb
PP
3292013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
330
331 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
332 (__signal_safe_memalign, __signal_safe_free): Use it.
333 (__signal_safe_realloc): Likewise.
334
6f6fc482
JM
3352013-12-19 Joseph Myers <joseph@codesourcery.com>
336
21fea2e2
JM
337 * manual/texinfo.tex: Update to version 2013-11-26.10 with
338 trailing whitespace removed.
339 * scripts/config.guess: Update to version 2013-11-29.
340 * scripts/config.sub: Update to version 2013-10-01.
341
6f6fc482
JM
342 * math/auto-libm-test-in: Add tests of sincos.
343 * math/auto-libm-test-out: Regenerated.
344 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
345 * math/gen-auto-libm-tests.c (func_calc_method): Add value
346 mpfr_f_11.
347 (func_calc_desc): Add mpfr_f_11 union field.
348 (test_functions): Add sincos.
349 (calc_generic_results): Handle mpfr_f_11.
350 * sysdeps/i386/fpu/libm-test-ulps: Update.
351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
352
83f5c32d
AS
3532013-12-19 Andreas Schwab <schwab@suse.de>
354
355 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
356 CALL_MCOUNT.
357 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
358 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
359 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
360
c688b419
JM
3612013-12-19 Joseph Myers <joseph@codesourcery.com>
362
335ee092
JM
363 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
364 * sysdeps/i386/fpu/libm-test-ulps: Update.
365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
366
f88acd39
JM
367 [BZ #16293]
368 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
369 round-to-nearest mode when using frndint.
370 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
371 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
372 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
373 Likewise.
374 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
375 sinh test to fail.
376 * math/auto-libm-test-out: Regenerated.
377 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
378 (TEST_COND_x86): Likewise.
379 (expm1_tonearest_test_data): New array.
380 (expm1_test_tonearest): New function.
381 (expm1_towardzero_test_data): New array.
382 (expm1_test_towardzero): New function.
383 (expm1_downward_test_data): New array.
384 (expm1_test_downward): New function.
385 (expm1_upward_test_data): New array.
386 (expm1_test_upward): New function.
387 (main): Run the new test functions.
388 * sysdeps/i386/fpu/libm-test-ulps: Update.
389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
390
c688b419
JM
391 * include/features.h: Update comment documenting feature test
392 macros. Mention _DEFAULT_SOURCE in comment.
393 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
394 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
395 _BSD_SOURCE and _SVID_SOURCE.
396 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
397 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
398 !_SVID_SOURCE]: Likewise.
399 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
400 (__USE_POSIX_IMPLICITLY): Define.
401 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
402 (_POSIX_SOURCE): Undefine and redefine.
403 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
404 (_POSIX_C_SOURCE): Likewise.
405 * manual/creature.texi (_DEFAULT_SOURCE): Document.
406 (Feature Test Macros): Update documentation of default features.
407
9f6e964c
RS
4082013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
409
410 * benchtests/Makefile: Add bench-strtok.
411 * benchtests/bench-strtok.c: New file: strtok benchtest.
412
ee0a148a
AM
4132013-12-19 Allan McRae <allan@archlinux.org>
414
415 * manual/install.texi: Suppress menu for plain text output.
416 * INSTALL: Regenerated.
417
1f33d36a
PP
4182013-12-18 Andrew Hunter <ahh@google.com>
419
420 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
421 (__signal_safe_malloc, __signal_safe_free): Likewise.
422 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
423 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
424 (__signal_safe_memalign, __signal_safe_malloc): New function.
425 (__signal_safe_free, __signal_safe_realloc): Likewise.
426 (__signal_safe_calloc): Likewise.
427 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
428 functions.
429 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
430
35e8f7ab
PP
4312013-12-18 Andrew Hunter <ahh@google.com>
432
433 * elf/Versions (ld): Add _dl_clear_dtv.
434 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
435 * elf/dl-tls.c (_dl_clear_dtv): New function.
436 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
437
69a17d9d
PP
4382013-12-18 Andrew Hunter <ahh@google.com>
439
440 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
441 (_dl_unmask_signals): Likewise.
442 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
443 (_dl_unmask_all_signals): Likewise.
444 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
445 (_dl_unmask_all_signals): Likewise.
446 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
447 (_dl_unmask_signals): Likewise.
448
b9ab448f
BM
4492013-12-18 Brooks Moses <bmoses@google.com>
450
451 [BZ #15846]
452 * misc/getauxval.c: Include errno.h.
453 (__getauxval): Set errno to ENOENT if the requested type is not
454 found.
455 * misc/sys/auxv.h (getauxval): Document that it may set errno;
456 don't declare with __attribute_const__.
457 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
458 * manual/startup.texi: Document that getauxval sets errno.
459
23776487
JM
4602013-12-18 Joseph Myers <joseph@codesourcery.com>
461
f889953b
JM
462 * math/auto-libm-test-in: Add tests of jn and yn.
463 * math/auto-libm-test-out: Regenerated.
464 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
465 (yn_test_data): Likewise.
466 * math/gen-auto-libm-tests.c (func_calc_method): Add value
467 mpfr_if_f.
468 (func_calc_desc): Add mpfr_if_f union field.
469 (FUNC_mpfr_if_f): New macro.
470 (test_functions): Add jn and yn.
471 (calc_generic_results): Assert type of second input for
472 mpfr_ff_f. Handle mpfr_if_f.
473 (output_for_one_input_case): Disable all checking for arguments
474 fitting floating-point types in case of an integer argument.
475 * sysdeps/i386/fpu/libm-test-ulps: Update.
476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
477
23776487
JM
478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
479 Don't expect fegetround reference in libm.so.
480
cb756c6d
MS
4812013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
482
483 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
484 $(config-cflags-nofma).
485
2dec468f
JM
4862013-12-18 Joseph Myers <joseph@codesourcery.com>
487
5953eb3a
JM
488 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
489 * math/auto-libm-test-out: Regenerated.
490
2dec468f
JM
491 [BZ #16338]
492 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
493 to determine exponent and adjust argument to have exponent of -1.
494 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
495 log2.
496 * math/auto-libm-test-out: Regenerated.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
499
4d84e6ad
OB
5002013-12-18 Ondřej Bílka <neleai@seznam.cz>
501
502 * manual/probes.texi: Remove cases when per-thread arenas are
503 disabled.
504
1818483b
AS
5052013-12-18 Andreas Schwab <schwab@suse.de>
506
507 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
508 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
509 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
510 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
511 * sysdeps/i386/i686/multiarch/Makefile: Update.
512 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
513
25de95bf
JM
5142013-12-17 Joseph Myers <joseph@codesourcery.com>
515
516 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
517 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
518
674762d9
PE
5192013-12-17 Paul Eggert <eggert@cs.ucla.edu>
520
0748546f
PE
521 Support TZ transition times < 00:00:00.
522 This is needed for version-3 tz-format files; it supports time
523 stamps past 2037 for America/Godthab (the only entry in the tz
524 database for which this change is relevant).
525 * manual/time.texi (TZ Variable): Document transition times
526 from -167:59:59 through -00:00:01.
527 * time/tzset.c (tz_rule): Time of day is now signed.
528 (__tzset_parse_tz): Parse negative time of day.
529
4480e934
PE
530 Document TZ transition times >= 25:00:00.
531 * manual/time.texi (TZ Variable): Document transition times from
532 25:00:00 through 167:59:59. These are already supported, and this
533 support will help with version-3 tz-format files.
534
69947401
PE
535 * manual/time.texi (TZ Variable): Modernize North America example
536 to reflect current (i.e., 2007-and-later) daylight saving rules.
537
674762d9
PE
538 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
539
7011c262
JM
5402013-12-17 Joseph Myers <joseph@codesourcery.com>
541
2fc6557e
JM
542 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
543 * sysdeps/unix/bsd/bits/stat.h: Likewise.
544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
545 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
546 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
547 * sysdeps/unix/bsd/bsdstat.h: Likewise.
548 * sysdeps/unix/bsd/clock.c: Likewise.
549 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
550 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
551 * sysdeps/unix/bsd/init-posix.c: Likewise.
552 * sysdeps/unix/bsd/poll.c: Likewise.
553 * sysdeps/unix/bsd/ptsname.c: Likewise.
554 * sysdeps/unix/bsd/seekdir.c: Likewise.
555 * sysdeps/unix/bsd/setegid.c: Likewise.
556 * sysdeps/unix/bsd/seteuid.c: Likewise.
557 * sysdeps/unix/bsd/setgid.c: Likewise.
558 * sysdeps/unix/bsd/setrgid.c: Likewise.
559 * sysdeps/unix/bsd/setruid.c: Likewise.
560 * sysdeps/unix/bsd/setsid.c: Likewise.
561 * sysdeps/unix/bsd/setuid.c: Likewise.
562 * sysdeps/unix/bsd/sigaction.c: Likewise.
563 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
564 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
565 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
566 * sysdeps/unix/bsd/telldir.c: Likewise.
567 * sysdeps/unix/bsd/times.c: Likewise.
568 * sysdeps/unix/bsd/usleep.c: Likewise.
569
029c7b25
JM
570 * misc/Makefile (install-lib): Remove libbsd-compat.a.
571 ($(objpfx)libbsd-compat.a): Remove rule.
572
7011c262
JM
573 * include/features.h (__FAVOR_BSD): Do not define.
574 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
575 features conflicting with POSIX.
576 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
577 (_BSD_SOURCE): Remove description of not being a subset of other
578 feature test macros.
579 * manual/job.texi (getpgrp): Do not document BSD version.
580 (getpgid): Do not document by reference to BSD getpgrp.
581 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
582 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
583 * signal/signal.h [__FAVOR_BSD]: Likewise.
584 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
585 instead of making contents conditional on [__FAVOR_BSD].
586 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
587
affb6f78
AZ
5882013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
589
590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
591
c88769dd
JM
5922013-12-17 Joseph Myers <joseph@codesourcery.com>
593
6432a540
JM
594 [BZ #16314]
595 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
596 values below 2**-450, not 2**-500.
597 * math/auto-libm-test-in: Don't allow spurious underflow from
598 hypot.
599 * math/auto-libm-test-out: Regenerated.
600
c88769dd
JM
601 [BZ #16316]
602 [BZ #16330]
603 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
604 values of ha and hb and sort them after adjusting subnormal
605 arguments.
606 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
607 Likewise.
608 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
609 values of ea and eb and sort them after adjusting subnormal
610 arguments.
611 * math/auto-libm-test-in: Do not expect some hypot tests of
612 subnormals to fail. Add more hypot tests.
613 * math/auto-libm-test-out: Regenerated.
614
29618f6b
KK
6152013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
616
617 [BZ #13304]
618 * sysdeps/sh/s_fma.c: New file.
619 * sysdeps/sh/s_fmaf.c: New file.
620 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
621 version.
622 * sysdeps/sh/Implies: Add sh/soft-fp.
623
eacfdfbf
RM
6242013-12-16 Roland McGrath <roland@hack.frob.com>
625
626 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
627 level of indirection to members `objname', `errstring', `malloced'.
628 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
629 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
630 it as the __longjmp argument (just pass 1 instead).
631 (_dl_catch_error): Initialize C with argument pointers and address of
632 volatile local ERRCODE rather than copying values out of C at return.
633
ff362e5b
JM
6342013-12-16 Joseph Myers <joseph@codesourcery.com>
635
636 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
637 * math/auto-libm-test-out: Regenerated.
638 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
639 (hypot_test_data): Likewise.
640 (pow_test_data): Likewise.
641 (pow_tonearest_test_data): Likewise.
642 * math/gen-auto-libm-tests.c (func_calc_method): Add value
643 mpfr_ff_f.
644 (func_calc_desc): Add mpfr_ff_f union field.
645 (FUNC_mpfr_ff_f): New macro.
646 (test_functions): Add atan2, hypot and pow.
647 (special_fill_min): New function.
648 (special_fill_minus_min): Likewise.
649 (special_fill_min_subnorm): Likewise.
650 (special_fill_minus_min_subnorm): Likewise.
651 (special_real_inputs): Add min, -min, min_subnorm and
652 -min_subnorm.
653 (calc_generic_results): Handle mpfr_ff_f.
654 * sysdeps/i386/fpu/libm-test-ulps: Update.
655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
656
5764c27f
WN
6572013-12-16 Will Newton <will.newton@linaro.org>
658
659 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
660 (Aligned Memory Blocks): Add documentation for aligned_alloc
661 and suggest it as an alternative to posix_memalign.
662 (Hooks for Malloc): Document __memalign_hook is also called
663 for aligned_alloc. (Summary of Malloc): Add summary for
664 aligned alloc. Document __memalign_hook is also called
665 for aligned_alloc.
666
0a096e44
WN
6672013-12-16 Will Newton <will.newton@linaro.org>
668
669 * manual/memory.texi (Malloc Examples): Clarify default
670 alignment documentation. Suggest posix_memalign rather
671 than memalign or valloc.
672 (Aligned Memory Blocks): Remove suggestion to use memalign
673 or valloc. Remove obsolete comment about BSD.
674 Document memalign errno values and mark the function obsolete.
675 Document posix_memalign returned error codes. Mark valloc
676 as obsolete. (Hooks for Malloc): __memalign_hook is also
677 called for posix_memalign and valloc.
678 (Summary of Malloc): Add posix_memalign to function summary.
679 __memalign_hook is also called for posix_memalign and valloc.
680
8d561986
SP
6812013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
682
683 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
684 TAYLOR_SIN.
685 (__sin): Adjust.
686 (__cos): Likewise.
687 (sloww): Use mynumber union. Expand ternary operator into
688 if-else statements.
689 (cslow): use mynumber union.
690
73616a74
AM
6912013-12-16 Allan McRae <allan@archlinux.org>
692
9e8ac24b
AM
693 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
694 * configure: Regenerated.
695
6f8e37eb
AM
696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
697
8894bad3
AM
698 [BZ #14120]
699 * configure.ac: Added --enable-maintainer-mode. Check for
700 autoconf when enabled.
701 * configure: Regenerated.
702
73616a74
AM
703 * nscd/nscd.service: New file.
704 * nscd/nscd.tmpfiles: New file.
705
584b18eb
OB
7062013-12-14 Ondřej Bílka <neleai@seznam.cz>
707
708 [BZ #12100]
709 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
710 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
711 * sysdeps/x86_64/multiarch/strstr.c: ... here.
712 (strstr): Add __strstr_sse2_unaligned ifunc.
713 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
714 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
715 (strcasestr): Remove __strcasestr_sse42 ifunc.
716 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
717 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
719
8a5c7897
KK
7202013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
721
722 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
723 * sysdeps/sh/bits/fenv.h: ... here.
724 * sysdeps/sh/sh4/fpu/bits: Remove directory.
725
fd712ef3
AZ
7262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
727
728 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
729
42fcb46c
AZ
7302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
731
732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
733 hypotf multiarch implementations.
734 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
735 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
736 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
737 multiarch hypot for PPC64.
738 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
740 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
741 multiarch hypotf for PPC64.
742
83efded4
AZ
7432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
744
745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
746 modff multiarch implementations.
747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
750 multiarch modf for PPC64.
751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
754 multiarch modff for PPC64.
755
43e246d2
AZ
7562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
757
758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
759 and logl multiarch implementations.
760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
763 multiarch logb for PPC64.
764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
767 multiarch logb for PPC64.
768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
771 multiarch logb for PPC64.
772
8fdad123
AZ
7732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
774
775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
776 isinff multiarch implementation.
777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
778 file.
779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
781 multiarch isinf for PPC64.
782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
783 file.
784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
785 multiarch isinff for PPC64.
786
1481d706
AZ
7872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
788
789 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
790 finitef multiarch implementation.
791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
792 file.
793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
795 multiarch finite for PPC64.
796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
797 file.
798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
799 multiarch finitef for PPC64.
800
5ccd5fc8
AZ
8012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
802
803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
804 lrint multiarch implementation.
805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
806 file.
807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
809 multiarch llrint for PPC64.
810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
811 multiarch lrint for PPC64.
812
2568f3fa
AZ
8132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
814
815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
816 copysignf multiarch implementation.
817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
818 file.
819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
820 file.
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
822 multiarch copysign for PPC64.
823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
824 multiarch copysignf for PPC64.
825
1cb341fd
AZ
8262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
827
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
829 multiarch implementation.
830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
831 file.
832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
833 file.
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
835 file.
836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
837 file.
838 multiarch llround for PPC64.
839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
840 multiarch trunc for PPC64.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
842 multiarch truncf for PPC64.
843
59a3e194
AZ
8442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
845
846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
847 multiarch implementation.
848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
849 file.
850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
851 file.
852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
853 file.
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
855 file.
856 multiarch llround for PPC64.
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
858 multiarch round for PPC64.
859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
860 multiarch roundf for PPC64.
861
357fd3b4
AZ
8622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
863
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
865 multiarch implementation.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
867 file.
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
869 file.
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
871 file.
872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
873 file.
874 multiarch llround for PPC64.
875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
876 multiarch floor for PPC64.
877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
878 multiarch floorf for PPC64.
879
96770f12
AZ
8802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
881
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
883 multiarch implementation.
884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
885 file.
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
887 file.
888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
889 file.
890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
891 file.
892 multiarch llround for PPC64.
893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
894 multiarch ceil for PPC64.
895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
896 multiarch ceilf for PPC64.
897
c3627f6e
AZ
8982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
899
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
901 multiarch implementation.
902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
903 file.
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
905 file.
906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
907 file.
908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
909 multiarch llround for PPC64.
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
911 multiarch lround for PPC64.
912
b2284ad7
AZ
9132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
914
915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
916 multiarch implementation.
917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
920 file.
921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
924 multiarch isnan for PPC64.
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
926 multiarch isnanf for PPC64.
927
69bbc63d
AZ
9282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
929
930 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
931 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
932 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
933 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
934 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
936
c24517c9
AZ
9372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
938
939 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
940 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
942 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
943
a52374e8
AZ
9442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945
946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
947 multiarch implementations.
948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
949 (__libc_ifunc_impl_list): Likewise.
950 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
951 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
952 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
953 multiarch stpcpy for PPC64.
954
7f5ec113
AZ
9552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
956
957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
958 multiarch implementations.
959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
960 (__libc_ifunc_impl_list): Likewise.
961 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
962 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
963 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
964 multiarch strcpy for PPC64.
965
e28bcd42
AZ
9662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
967
968 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
969 redefine function name.
970 (_wordcopy_fwd_dest_aligned): Likewise.
971 (_wordcopy_bwd_aligned): Likewise.
972 (_wordcopy_bwd_dest_aligned): Likewise.
973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
974 multiarch implementations.
975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
976 (__libc_ifunc_impl_list): Likewise.
977 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
978 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
979 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
980 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
981 multiarch wcscpy for PPC64.
982
92cacfce
AZ
9832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984
985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
986 multiarch implementations.
987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
988 (__libc_ifunc_impl_list): Likewise.
989 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
990 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
991 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
992 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
993 multiarch wcscpy for PPC64.
994
7b714620
AZ
9952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996
997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
998 multiarch implementations.
999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1000 (__libc_ifunc_impl_list): Likewise.
1001 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1002 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1003 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1004 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1005 multiarch wcsrchr for PPC64.
1006
16fd2ae3
AZ
10072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1008
1009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1010 multiarch implementations.
1011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1012 (__libc_ifunc_impl_list): Likewise.
1013 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1014 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1015 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1016 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1017 multiarch wcschr for PPC64.
1018
9ee2969b
AZ
10192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1020
1021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1022 multiarch implementations.
1023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1024 (__libc_ifunc_impl_list): Likewise.
1025 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1026 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1027 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1028 multiarch strchrnul for PPC64.
1029
372dc060
AZ
10302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1031
1032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1033 implementations.
1034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1035 (__libc_ifunc_impl_list): Likewise.
1036 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1037 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1038 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1039 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1040 strchr for PPC64.
1041
24c2c3b9
AZ
10422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1043
1044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1045 implementations.
1046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1047 (__libc_ifunc_impl_list): Likewise.
1048 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1049 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1050 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1051 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1052 strncmp for PPC64.
1053
1c92d9a0
AZ
10542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1055
1056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1057 multiarch implementations.
1058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1059 (__libc_ifunc_impl_list): Likewise.
1060 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1061 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1062 strncasecmp for PPC64.
1063 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1064 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1065 multiarch strncasecmp_l for PPC64.
1066
17de3ee3
AZ
10672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1068
1069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1070 multiarch implementations.
1071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1072 (__libc_ifunc_impl_list): Likewise.
1073 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1074 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1075 multiarch strcasecmp for PPC64.
1076 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1077 file.
1078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1079 multiarch strcasecmp_l for PPC64.
1080
62982bf9
AZ
10812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1082
1083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1084 implementations.
1085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1086 (__libc_ifunc_impl_list): Likewise.
1087 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1088 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1089 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1090 strnlen for PPC64.
1091
a65f4904
AZ
10922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1093
1094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1095 implementations.
1096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1097 (__libc_ifunc_impl_list): Likewise.
1098 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1099 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1100 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1101 strlen for PPC64.
1102
1fd005ad
AZ
11032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1104
1105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1106 implementations.
1107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1108 (__libc_ifunc_impl_list): Likewise.
1109 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1110 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1111 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1112 rawmemrchr for PPC64.
1113
cd05ba91
AZ
11142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1115
1116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1117 implementation.
1118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1119 (__libc_ifunc_impl_list): Likewise.
1120 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1121 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1122 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1123 memrchr for PPC64.
1124
870f8676
AZ
11252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1126
1127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1128 implementation.
1129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1130 (__libc_ifunc_impl_list): Likewise.
1131 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1132 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1133 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1134 memchr for PPC64.
1135
f00be62b
AZ
11362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1137
1138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1139 implementation.
1140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1141 (__libc_ifunc_impl_list): Likewise.
1142 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1143 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1144 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1145 mempcpy for PPC64.
1146
8a29a3d0
AZ
11472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1148
1149 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1150 avoid cretion of __bzero symbol.
1151 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1152 Likewise.
1153 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1154 Likewise.
1155 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1156 Likewise.
1157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1158 multiarch implementations.
1159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1160 (__libc_ifunc_impl_list): Likewise.
1161 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1162 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1163 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1164 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1165 bzero for PPC32.
1166 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1167 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1168 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1169 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1170 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1171 memset for PPC64.
1172 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1173
07253fcf
AZ
11742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1175
1176 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1178 implementations.
1179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1180 (__libc_ifunc_impl_list): Likewise.
1181 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1182 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1183 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1184 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1185 memcmp for PPC64.
1186
b5beafbc
AZ
11872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188
1189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1190 multiarch for POWER/PPC64.
1191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1192 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1193 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1194 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1195 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1196 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1197 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1198 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1199 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1200 memcpy for PPC64.
1201
5e6a4d4b
AZ
12022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1203
1204 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1205 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1206 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1207 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1208 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1209 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1210 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1211 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1212 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1213 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1214 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1215 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1216 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1217 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1218 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1226
ddfab6dc
KK
12272013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1228
1229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1230
19b5525e
SP
12312013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1232
1233 * benchtests/Makefile (bench): Add exp2 and log2.
1234 (LDLIBS-bench-exp2): Add -lm.
1235 (LDLIBS-bench-log2): Likewise.
1236 * benchtests/exp2-inputs: New inputs file.
1237 * benchtests/log2-inputs: New inputs file.
1238 * benchtests/log-inputs: Add new inputs.
1239 * benchtests/tan-inputs: Likewise.
1240
196f7f5d
SP
12412013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1242
7a74607f
SP
1243 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1244 definition...
1245 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1246 csloww1, csloww2): ... from here.
1247
196f7f5d
SP
1248 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1249 instead of structures.
1250 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1251 (POLYNOMIAL): Likewise.
1252 (TAYLOR_SLOW): Likewise.
1253 (__sin): Likewise.
1254 (__cos): Likewise.
1255 (slow1): Likewise.
1256 (slow2): Likewise.
1257 (sloww): Likewise.
1258 (sloww1); Likewise.
1259 (sloww2): Likewise.
1260 (bsloww1): Likewise.
1261 (bsloww2): Likewise.
1262 (cslow2): Likewise.
1263 (csloww): Likewise.
1264 (csloww1): Likewise.
1265 (csloww2): Likewise.
1266
0dfa665c
OB
12672013-12-10 Ondřej Bílka <neleai@seznam.cz>
1268
1269 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1270 (__malloc_assert, __libc_realloc, __libc_calloc,
1271 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1272 memcpy and memset.
1273 * malloc/hooks.c (realloc_check): Likewise.
1274
5782a80f
OB
12752013-12-10 Ondřej Bílka <neleai@seznam.cz>
1276
1277 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1278 * malloc/arena.c: Remove PER_THREAD conditional.
1279 [!PER_THREAD]: Remove code.
1280 (ptmalloc_unlock_all2): Likewise.
1281 (ptmalloc_init): Likewise.
1282 (_int_new_arena): Likewise.
1283 (arena_get2): Likewise.
1284 * malloc/hooks.c (__malloc_get_state): Likewise.
1285 (__malloc_set_state): Likewise.
1286 * malloc/malloc.c: Likewise.
1287 (struct malloc_state): Likewise.
1288 (struct malloc_par): Likewise.
1289 (__libc_realloc): Likewise.
1290 (__libc_mallopt): Likewise.
1291
aeb95445
AZ
12922013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1293
1294 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1295
e8349efd
OB
12962013-12-09 Ondřej Bílka <neleai@seznam.cz>
1297
1298 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1299 macro to a function. Check for zero perturb_byte.
1300 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1301
f3eeb3fc
OB
13022013-12-09 Ondřej Bílka <neleai@seznam.cz>
1303
1304 * malloc/malloc.c: (force_reg): Remove.
1305 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1306 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1307 force_reg by atomic_forced_read.
1308 * malloc/arena.c (ptmalloc_init): Likewise.
1309 * malloc/hooks.c (top_check): Likewise.
1310
be2f9009
AZ
13112013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1312
1313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1314
e7b914bd
MT
13152013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1316
1317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1318
9f0be4f8
JM
13192013-12-08 Joseph Myers <joseph@codesourcery.com>
1320
1321 * math/auto-libm-test-in: Add tests of lgamma.
1322 * math/auto-libm-test-out: Regenerated.
1323 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1324 (M_LOG_2_SQRT_PIl): Likewise.
1325 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1326 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1327 mpfr_f_f1.
1328 (func_calc_desc): Add mpfr_f_f1 union field.
1329 (ARGS1): New macro.
1330 (ARGS2): Likewise.
1331 (ARGS3): Likewise.
1332 (ARGS4): Likewise.
1333 (RET1): Likewise.
1334 (RET2): Likewise.
1335 (CALC): Likewise.
1336 (FUNC): Likewise.
1337 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1338 (test_functions): Add lgamma.
1339 (calc_generic_results): Handle mpfr_f_f1.
1340 * sysdeps/i386/fpu/libm-test-ulps: Update.
1341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1342
24eeafdb
AZ
13432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344
1345 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1346 __mpn_add_n for PowerPC64/POWER7.
1347 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1348 __mpn_sub_n for PowerPC64/POWER7.
1349
4a2c0fd4
AZ
13502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1351
1352 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1353 __mpn_addmul_1 for PowerPC64.
1354 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1355 __mpn_submul_1 for PowerPC64.
1356 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1357 for PowerPC64.
1358 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1359 for PowerPC64.
1360
4b5b548c
FS
13612013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1362
1363 [BZ #15089]
1364 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1365
0a3ac0aa
AZ
13662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1367
1368 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1369
ccdc8438
AZ
13702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371
1372 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1373 add multiarch folders.
1374 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1375 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1376 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1377 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1378 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1379 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1380 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1381 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1382 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1383 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1384 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1391
2e973d99
AZ
13922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1393
1394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1395 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1397 New file.
1398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1399 New file.
1400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1401 multiarch __ieee754_hypot for PowerPC32.
1402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1403 New file.
1404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1405 New file.
1406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1407 multiarch __ieee754_hypotf for PowerPC32.
1408
2d9470b2
AZ
14092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1410
1411 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1412 long_double_symbol only if __logbl is defined.
1413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1414 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1416 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1418 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1419 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1420 path for implementation.
1421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1424 logb, and logbl multiarch implementations for PowerPC32.
1425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1426 file.
1427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1428 file.
1429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1430 multiarch logb for PowerPC32.
1431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1432 file.
1433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1434 file.
1435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1436 multiarch logbf for PowerPC32.
1437 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1439 file.
1440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1441 multiarch logbl implementation for PowerPC32.
1442
5212ffce
AZ
14432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1444
1445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1446 and modff multiarch implementations.
1447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1448 New file.
1449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1450 New file.
1451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1452 multiarch modf for PowerPC32.
1453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1454 New file.
1455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1456 New file.
1457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1458 multiarch modff for PowerPC32.
1459
79dccf31
AZ
14602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461
1462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1463 and lrintf multiarch implementations.
1464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1465 New file.
1466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1467 New file.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1469 multiarch lrint for PowerPC32.
1470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1471 file: multiarch lrintf for PowerPC32.
1472
deb66480
AZ
14732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474
1475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1476 and lroundf multiarch implementations.
1477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1478 New file.
1479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1480 New file.
1481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1482 New file.
1483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1484 multiarch lround for PowerPC32.
1485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1486 file: multiarch lroundf for PowerPC32.
1487
264b036b
AZ
14882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1489
1490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1491 copysign and copysignf multiarch implementations.
1492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1493 New file.
1494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1495 New file.
1496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1497 file: multiarch copysign for PowerPC32.
1498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1499 file: multiarch copysignf for PowerPC32.
1500
d47db6c9
AZ
15012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1502
1503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1504 and truncf multiarch implementations.
1505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1506 New file.
1507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1508 file.
1509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1510 multiarch trunc for PowerPC32.
1511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1512 New file.
1513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1514 New file.
1515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1516 multiarch truncf for PowerPC32.
1517
ddb60b5a
AZ
15182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1519
1520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1521 and roundf multiarch implementations.
1522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1523 New file.
1524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1525 file.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1527 multiarch round for PowerPC32.
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1529 New file.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1531 New file.
1532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1533 multiarch roundf for PowerPC32.
1534
bedcf49b
AZ
15352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1536
1537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1538 and floorf multiarch implementations.
1539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1540 New file.
1541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1542 file.
1543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1544 multiarch floor for PowerPC32.
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1546 New file.
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1548 New file.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1550 multiarch floorf for PowerPC32.
1551
35ae5b40
AZ
15522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1555 and ceilf multiarch implementations.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1557 New file.
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1559 file.
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1561 multiarch ceil for PowerPC32.
1562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1563 New file.
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1565 file.
1566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1567 multiarch ceilf for PowerPC32.
1568
ae1a4cd9
AZ
15692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570
1571 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1572 is defined.
1573 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1574 FINITEF is defined.
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1576 and finitef multiarch implementations.
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1578 New file.
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1580 file.
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1582 multiarch finite for PowerPC32.
1583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1584 New file.
1585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1586 file: multiarch finitef for PowerPC32.
1587
64fffd65
AZ
15882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589
1590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1591 and isinff multiarch implementations.
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1593 file.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1595 file.
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1597 multiarch isinf for PowerPC32.
1598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1599 New file.
1600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1601 multiarch isinff for PowerPC32.
1602
8e4e7ba2
AZ
16032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1604
1605 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1606 alias when __isnan is defined.
1607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1608 and isnanf multiarch implementations.
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1610 file.
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1612 file.
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1614 file.
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1616 file.
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1618 multiarch isnan for PowerPC32.
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1620 New file.
1621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1622 New file.
1623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1624 multiarch isnanf for PowerPC32.
1625
ddba588e
AZ
16262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1629 and sqrtf multiarch implementations.
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1631 file.
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1633 file.
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1635 multiarch sqrt for PowerPC32.
1636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1637 file.
1638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1639 file.
1640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1641 multiarch sqrtf for PowerPC32.
1642
0f96a2f0
AZ
16432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1644
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1646 and llroundf multiarch implementations.
1647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1648 New file.
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1650 New file.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1652 New file.
1653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1654 file: multiarch llround for PowerPC32.
1655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1656 file: multiarch llroundf for PowerPC32.
1657
c9b5d79e
AZ
16582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1659
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1661 multiarch PowerPC32 fpu implementations.
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1663 New file.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1665 New file.
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1667 multiarch llrint for PowerPC32.
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1669 New file.
1670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1671 New file.
1672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1673 file.
1674
9cbb3aab
AZ
16752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1678
ea5a72f8
AZ
16792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1680
1681 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1682 file.
1683 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1684 file.
1685 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1686 file.
1687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1688 multiarch wordcopy for PPC32.
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1690 wordcopy objects.
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1692 (__libc_ifunc_impl_list): Likewise.
1693 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1694 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1695 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1696 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1697 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1698 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1699
93be09e7
AZ
17002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1701
1702 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1704 file.
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1706 file.
1707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1708 file.
1709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1710 multiarch wcscpy for PPC32.
1711 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1712 multiarch objects.
1713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1714 (__libc_ifunc_impl_list): Likewise.
1715 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1716 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1717 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1718 sysdeps/powerpc/power6/wcscpy.c.
1719
bb04e529
AZ
17202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1721
1722 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1724 file.
1725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1726 file.
1727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1728 file.
1729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1730 multiarch wcsrchr for PPC32.
1731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1732 multiarch objects.
1733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1734 (__libc_ifunc_impl_list): Likewise.
1735 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1736 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1737 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1738 sysdeps/powerpc/power6/wcsrchr.c.
1739
05b5cd1c
AZ
17402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1741
1742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1743 file.
1744 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1745 file.
1746 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1748 multiarch wcschr for PPc32.
1749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1750 multiarch objects.
1751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1752 (__libc_ifunc_impl_list): Likewise.
1753 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1754 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1755 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1756 sysdeps/powerpc/power6/wcschr.c.
1757
ba964147
AZ
17582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1759
1760 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1761 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1762 file.
1763 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1764 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1765 file: multiarch strchr for PPC32.
1766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1767 multiarch objects.
1768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1769 (__libc_ifunc_impl_list): Likewise.
1770
31c81aaa
AZ
17712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1772
1773 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1774 name.
1775 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1776 file.
1777 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1778 file.
1779 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1780 multiarch strchrnul for PPC32.
1781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1782 multiarch objects.
1783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1784 (__libc_ifunc_impl_list): Likewise.
1785
0d0607d9
AZ
17862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1787
1788 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1789 file.
1790 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1791 multiarch strncasecmp for PPC32.
1792 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1793 file.
1794 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1795 multiarch strncasecmp_l for PPC32.
1796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1797 strncasecmp multiarch objects.
1798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1799 (__libc_ifunc_impl_list): Likewise.
1800
4dfd5c86
AZ
18012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1802
1803 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1804 file.
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1806 multiarch strncasecmp for PPC32.
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1808 New file.
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1810 multiarch strcasecmp_l for PPC32.
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1812 multiarch objects.
1813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1814 (__libc_ifunc_impl_list): Likewise.
1815
a19e01a3
AZ
18162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1817
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1819 file.
1820 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1821 file.
1822 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1823 multiarch strncmp for PPC32.
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1825 multiarch objects.
1826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1827 (__libc_ifunc_impl_list): Likewise.
1828
ae9cf7a2
AZ
18292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1830
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1832 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1833 file.
1834 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1835 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1837 multiarch objects.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1839 (__libc_ifunc_impl_list): Likewise.
1840
3148bb7d
AZ
18412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1844 file.
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1846 file.
1847 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1849 multiarch objects.
1850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1851 (__libc_ifunc_impl_list): Likewise.
1852
7af8b946
AZ
18532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1854
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1856 file.
1857 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1858 file.
1859 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1860 multiarch rawmemchr for PPC32.
1861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1862 multiarch objects.
1863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1864 (__libc_ifunc_impl_list): Likewise.
1865
03a6aa6a
AZ
18662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1867
1868 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1869 file.
1870 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1871 file.
1872 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1873 file: memrchr multiarch for PPC32.
1874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1875 multiarch objects.
1876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1877 (__libc_ifunc_impl_list): Likewise.
1878
1c62e6d9
AZ
18792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1880
1881 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1882 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1883 file.
1884 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1886 multiarch memchr for PPC32.
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1888 multiarch objects.
1889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1890 (__libc_ifunc_impl_list): Likewise.
1891
87da8bdb
AZ
18922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1893
1894 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1895 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1896 file.
1897 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1898 file.
1899 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1900 file: multiarch mempcpy for PPC32.
1901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1902 multiarch objects.
1903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1904 (__libc_ifunc_impl_list): Likewise.
1905
20ed4714
AZ
19062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1907
1908 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1910 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1911 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1912 multiarch bzero for PPC32.
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1914 file.
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1916 file.
1917 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1918 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1919 file: multiarch memset for PPC32.
1920 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1922 memset multiarch objects.
1923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1924 (__libc_ifunc_impl_list): Likewise.
1925
ab3e3a46
AZ
19262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1927
1928 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1929 file.
1930 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1931 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1932 memcmp for PPC32.
1933 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1935 multiarch objects.
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1937 (__libc_ifunc_impl_list): Likewise.
1938
930de6f0
AZ
19392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940
1941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1942 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1943 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1944 file.
1945 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1946 file.
1947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1948 file.
1949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1950 multiarch memcpy for PPC32.
1951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1952 multiarch objects.
1953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1954 (__libc_ifunc_impl_list): Likewise.
1955
4c628e00
AZ
19562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1957
1958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1959 support multiarch for POWER/PPC32.
1960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1961 Likewise.
1962 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1964 Implies file to make multiarch folder appers before the fpu and
1965 default folder for power4 configuration.
1966
f4479220
SP
19672013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1968
1969 * scripts/bench.pl: Append volatile keyword to type.
1970
8517800f
KK
19712013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1972
1973 * sysdeps/sh/sotruss-lib.c: New file.
1974 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1975
180138f1
AZ
19762013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1977
1978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1979
bbf37bdc
JM
19802013-12-05 Joseph Myers <joseph@codesourcery.com>
1981
e47cc4e0
JM
1982 [BZ #6810]
1983 * math/w_tgamma.c: Include <errno.h>.
1984 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1985 * math/w_tgammaf.c: Include <errno.h>.
1986 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1987 * math/w_tgammal.c: Include <errno.h>.
1988 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1989 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1990 underflow. Add more tgamma tests.
1991 * math/auto-libm-test-out: Regenerated.
1992 * sysdeps/i386/fpu/libm-test-ulps: Update.
1993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1994
bbf37bdc
JM
1995 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1996 sin, sinh, tan, tanh, tgamma, y0 and y1.
1997 * math/auto-libm-test-out: Regenerated.
1998 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1999 (TEST_COND_x86): Likewise.
2000 (M_E2l): Remove macro.
2001 (M_E3l): Likewise.
2002 (M_2_SQRT_PIl): Likewise.
2003 (M_SQRT_PIl): Likewise.
2004 (M_1_DIV_El): Likewise.
2005 (log_test_data): Use AUTO_TESTS_f_f.
2006 (log10_test_data): Likewise.
2007 (log1p_test_data): Likewise.
2008 (log2_test_data): Likewise.
2009 (sin_test_data): Likewise.
2010 (sin_tonearest_test_data): Likewise.
2011 (sin_towardzero_test_data): Likewise.
2012 (sin_downward_test_data): Likewise.
2013 (sin_upward_test_data): Likewise.
2014 (sinh_test_data): Likewise.
2015 (sinh_tonearest_test_data): Likewise.
2016 (sinh_towardzero_test_data): Likewise.
2017 (sinh_downward_test_data): Likewise.
2018 (sinh_upward_test_data): Likewise.
2019 (tan_test_data): Likewise.
2020 (tan_tonearest_test_data): Likewise.
2021 (tan_towardzero_test_data): Likewise.
2022 (tan_downward_test_data): Likewise.
2023 (tan_upward_test_data): Likewise.
2024 (tanh_test_data): Likewise.
2025 (tgamma_test_data): Likewise.
2026 (y0_test_data): Likewise.
2027 (y1_test_data): Likewise.
2028 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2029 (special_real_inputs): Add pi/4.
2030 * sysdeps/i386/fpu/libm-test-ulps: Update.
2031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2032
eb5ad6b9
AZ
20332013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2034
2035 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2036 "longjmp_target" static probes.
2037 (__longjmp): Rename to __longjmp_symbol.
2038 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2039 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2040 on which longjmp to generate.
2041 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2042 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2043 probe.
2044 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2045 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2046 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2047 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2048 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2049 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2051 __longjmp_symbol based on which __longjmp to generate.
2052 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2053 probe.
2054 (setjmp): Rename to setjmp_symbol.
2055 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2056 (_setjmp): Rename to _setjmp_symbol.
2057 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2058 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2059 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2060 which setjmp to generate.
2061 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2062 "longjmp_target" static probes.
2063
d136c6dc
SP
20642013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2065
9298ecba
SP
2066 * benchtests/README: Add note about output arguments.
2067 * benchtests/bench-sincos.c: Remove file.
2068 * benchtests/sincos-inputs: New file.
2069 * scripts/bench.pl: Identify output arguments and define
2070 static variables for them.
2071
232983e9
SP
2072 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2073
d136c6dc
SP
2074 [BZ #15941]
2075 * Makefile (INSTALL): Add install-plain.texi as the primary
2076 dependency.
2077 * manual/install-plain.texi: New file.
2078 * manual/install.texi: Include node directive only for
2079 non-plaintext output.
2080
699ff837
JM
20812013-12-04 Joseph Myers <joseph@codesourcery.com>
2082
ab07cea8
JM
2083 * stdlib/longlong.h: Update from GCC.
2084
699ff837
JM
2085 [BZ #6807]
2086 [BZ #15901]
2087 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2088 * math/w_j0f.c (y0f): Likewise.
2089 * math/w_j0l.c (__y0l): Likewise.
2090 * math/w_j1.c (y1): Likewise.
2091 * math/w_j1f.c (y1f): Likewise.
2092 * math/w_j1l.c (__y1l): Likewise
2093 * math/w_jn.c (yn): Likewise.
2094 * math/w_jnf.c (ynf): Likewise.
2095 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2096 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2097 value for Bessel function domain errors outside _SVID_ mode.
2098 Adjust sign of return value for yn (negative integer, 0).
2099 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2100 by zero in return for negative x and set sign appropriately for
2101 negative n.
2102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2103 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2104 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2105 expectations in error cases.
2106 (y1_test_data): Likewise.
2107 (yn_test_data): Likewise.
2108 * sysdeps/i386/fpu/libm-test-ulps: Update.
2109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2110
5b118558
UW
21112013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2112
2113 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2114 "64" to "64-v1". Add "64-v2".
2115 (abi-64-options): Rename to ...
2116 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2117 (abi-64-condition): Rename to ...
2118 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2119 (abi-64-ld-soname): Rename to ...
2120 (abi-64-v1-ld-soname): ... this.
2121 (abi-64-v2-options): Define.
2122 (abi-64-v2-condition): Likewise.
2123 (abi-64-v2-ld-soname): Likewise.
2124 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2125 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2129
61cd8fe4
UW
21302013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2131 Alan Modra <amodra@gmail.com>
2132
2133 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2134 New versions for use with the ELFv2 ABI.
2135 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2136 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2137 declaration.
2138 (struct La_ppc64v2_retval): Likewise.
2139 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2140 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2141 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2142 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2143 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2144 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2145 Do not save or restore CR.
2146 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2147 (_dl_profile_resolve): Do no save or restore CR. Support extended
2148 return values for ELFv2 ABI. Fix location of FPR return registers.
2149 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2150 updated values for _CALL_ELF == 2.
2151 (La_regs, La_retval, int_retval): Likewise.
2152
8b8a692c
UW
21532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2154
2155 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2156 (FRAME_MIN_SIZE_PARM): Likewise.
2157 (FRAME_BACKCHAIN): Likewise.
2158 (FRAME_CR_SAVE): Likewise.
2159 (FRAME_LR_SAVE): Likewise.
2160 (FRAME_TOC_SAVE): Likewise.
2161 (FRAME_PARM_SAVE): Likewise.
2162 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2163 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2164 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2165 (call_mcount_parm_offset): New macro.
2166 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2167 (PROF): Use symbolic stack frame offsets.
2168 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2169 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2170 Redefine in terms of FRAME_MIN_SIZE.
2171 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2172 (_dl_profile_resolve): Likewise. Update comment.
2173 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2174 symbols stack frame offsets.
2175 (__sigsetjmp): Likewise.
2176 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2177 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2178 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2179 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2180
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2182 (FRAME_BACKCHAIN): Remove.
2183 (FRAME_CR_SAVE): Likewise.
2184 (FRAME_LR_SAVE): Likewise.
2185 (FRAME_COMPILER_DW): Likewise.
2186 (FRAME_LINKER_DW): Likewise.
2187 (FRAME_TOC_SAVE): Likewise.
2188 (FRAME_PARM_SAVE): Likewise.
2189 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2190 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2191 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2193 (CHECK_SP): Use symbolic stack frame offsets.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2195 zone" instead of caller's parameter save area for temp storage.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2197 Likewise. Also, use symbolic stack frame offsets.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2199 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2200 our own stack frame instead of the caller's.
2201 (__socket): Use symbolic stack frame offsets.
2202
122b66de
UW
22032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2204 Alan Modra <amodra@gmail.com>
2205
2206 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2207 Define.
2208 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2209 PPC64_LOCAL_ENTRY_OFFSET): Define.
2210 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2211 New function.
2212 (elf_machine_fixup_plt): Call it.
2213 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2214 reloc arguments.
2215 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2216 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2217 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2218 r2 before calling target.
2219
696caf1d
UW
22202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2221 Alan Modra <amodra@gmail.com>
2222
2223 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2224 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2225 versions of macros to support ELFv2 ABI.
2226 (LOCALENTRY): New macro.
2227 (ENTRY, EALIGN): Use it.
2228 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2229 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2230 fall through into ENTRY entry point.
2231 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2232 Only define if _CALL_ELF != 2.
2233
2234 (elf_machine_matches_host): Verify ABI version matches.
2235 (RTLD_START): Use LOCALENTRY.
2236 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2237 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2238 (PLT_ENTRY_WORDS): New macro.
2239 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2240 (elf_machine_runtime_setup): Support ELFv2 ABI.
2241 (elf_machine_fixup_plt): Likewise.
2242 (elf_machine_plt_conflict): Likewise.
2243 (resolve_ifunc): Likewise.
2244 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2246 Likewise.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2248 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2250 (makecontext): Support ELFv2 ABI.
2251 * elf/elf.h (EF_PPC64_ABI): Define.
2252
d31beafa
UW
22532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2254
2255 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2256 New assembler macro.
2257 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2258 [ASSEMBLER] (ENTRY): ... but instead here ...
2259 [ASSEMBLER] (EALIGN): ... and here.
2260 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2261 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2262 [!ASSEMBLER] (ENTRY_2): Use it.
2263 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2264 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2265 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2266 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2267 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2269 Use PPC64_LOAD_FUNCPTR.
2270
b525166b
UW
22712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2272
2273 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2274
7ec07d9a
AM
22752013-12-04 Alan Modra <amodra@gmail.com>
2276
2277 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2278 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2279 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2280 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2281
2282 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2283 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2284 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2285 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2286 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2287 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2288
5162e7dd
UW
22892013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2290
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2292 (__makecontext): Fix incorrect CFI when backtracing out of
2293 context created via makecontext.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2295 (__setcontext): Fix incorrect CFI during switch to new context.
2296 (__novec_setcontext): Likewise.
2297
19e3372b
OB
22982013-12-04 Ondřej Bílka <neleai@seznam.cz>
2299
2300 [BZ #4772]
2301 * time/strptime_l.c (__strptime_internal): Allow modifiers
2302 in strptime.
2303 * time/tst-strptime.c (day_tests): Add testcase.
2304
2305
ecaf142d
SP
23062013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2307
2308 * scripts/bench.pl: Skip over blank lines.
2309
fbf964ae
PE
23102013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2311
2312 [BZ #926]
2313 * manual/time.texi (Calendar Time): Clarify what timezone functions
2314 use.
2315
fa60a674
AZ
23162013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2317
2318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2319
d674f0ef
OB
23202013-12-04 Ondřej Bílka <neleai@seznam.cz>
2321
2322 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2323 implementation.
2324 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2325 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2326 * debug/memset_chk.c (__memset_chk): Likewise.
2327 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2328 * debug/strncpy_chk.c: Likewise.
2329
17dea188
JM
23302013-12-03 Joseph Myers <joseph@codesourcery.com>
2331
749008ff
JM
2332 [BZ #15268]
2333 [BZ #15425]
2334 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2335 (__ieee754_exp): For possibly underflowing results, check size of
2336 result and force underflow exception if required.
2337 * math/auto-libm-test-in: Add more tests of exp.
2338 * math/auto-libm-test-out: Regenerated.
2339 * sysdeps/i386/fpu/libm-test-ulps: Update.
2340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2341
17dea188
JM
2342 [BZ #16283]
2343 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2344 * math/w_exp2f.c (__exp2f): Likewise.
2345 * math/w_exp2l.c (__exp2l): Likewise.
2346 * math/auto-libm-test-in: Do not allow missing errno on exp2
2347 underflow.
2348 * math/auto-libm-test-out: Regenerated.
2349
b20de2c3
OB
23502013-12-03 Ondřej Bílka <neleai@seznam.cz>
2351
2352 [BZ #16274]
2353 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2354 handle filename validation.
2355 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2356 (do_open): Delete.
2357
d8e2dbe3
JM
23582013-12-03 Joseph Myers <joseph@codesourcery.com>
2359
34e16df5
JM
2360 [BZ #6786]
2361 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2362 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2363 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2364 <float.h>.
2365 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2366 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2367 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2368 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2369 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2370 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2371 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2372 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2373 Add more erfc tests.
2374 * math/auto-libm-test-out: Regenerated.
2375 * sysdeps/i386/fpu/libm-test-ulps: Update.
2376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2377
d8e2dbe3
JM
2378 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2379 exp2, expm1, j0 and j1.
2380 * math/auto-libm-test-out: Regenerated.
2381 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2382 (erfc_test_data): Likewise.
2383 (exp_test_data): Likewise.
2384 (exp_tonearest_test_data): Likewise.
2385 (exp_towardzero_test_data): Likewise.
2386 (exp_downward_test_data): Likewise.
2387 (exp_upward_test_data): Likewise.
2388 (exp10_test_data): Likewise.
2389 (exp2_test_data): Likewise.
2390 (expm1_test_data): Likewise.
2391 (j0_test_data): Likewise.
2392 (j1_test_data): Likewise.
2393 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2394 (input_flag_type): Add flag_xfail_rounding.
2395 (input_flags): Add xfail-rounding.
2396 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2397 (output_for_one_input_case): Handle flag_xfail_rounding.
2398 * sysdeps/i386/fpu/libm-test-ulps: Update.
2399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2400
18d14251
AJ
24012013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2402
3d2e6075 2403 [BZ #16289]
18d14251
AJ
2404 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2405 division by 0.
2406
520d437b
SP
24072013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2408
2409 [BZ #16195]
2410 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2411 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2412 (STAP_PROBE0): New macro.
2413 (STAP_PROBE1): Likewise.
2414 (STAP_PROBE2): Likewise.
2415 (STAP_PROBE3): Likewise.
2416 (STAP_PROBE4): Likewise.
2417
416e0145
OB
24182013-12-02 Ondřej Bílka <neleai@seznam.cz>
2419
2420 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2421
9d17796a
SE
24222013-12-02 Steve Ellcey <sellcey@mips.com>
2423
2424 * benchtests/Makefile (bench): Add sqrt.
2425 (LDLIBS-bench-sqrt): New.
2426 * benchtests/sqrt-input: New.
2427
f524d6a8
PS
24282013-12-02 Pavel Simerda <psimerda@redhat.com>
2429
639a0ef8
PS
2430 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2431 (GAIH_EAI): Likewise.
2432 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2433 (gaih_inet): Likewise.
2434 (getaddrinfo): Don't use GAIH_EAI.
2435
f524d6a8
PS
2436 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2437 (struct gaih): Remove definition.
2438
df3aedaf
SP
24392013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2440
2441 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2442 Use HERRNOP directly.
2443
1ab19dec
AZ
24442013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2445
b42ad38d 2446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2447
176b0c79
JM
24482013-11-30 Joseph Myers <joseph@codesourcery.com>
2449
2450 * math/gen-auto-libm-tests.c (test_functions): Add more
2451 single-argument functions.
2452 (special_fill_pi_2): New function.
2453 (special_fill_minus_pi_2): Likewise.
2454 (special_fill_pi_6): Likewise.
2455 (special_fill_minus_pi_6): Likewise.
2456 (special_fill_pi_3): Likewise.
2457 (special_fill_2pi_3): Likewise.
2458 (special_fill_e): Likewise.
2459 (special_fill_1_e): Likewise.
2460 (special_fill_e_minus_1): Likewise.
2461 (special_real_inputs): Add more special inputs.
2462 (output_for_one_input_case): Do not require ERANGE on underflow to
2463 zero if round-to-nearest result does not underflow to zero, unless
2464 exact results required.
2465 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2466 atan, atanh, cbrt, cos and cosh.
2467 * math/auto-libm-test-out: Regenerated.
2468 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2469 (acos_tonearest_test_data): Likewise.
2470 (acos_towardzero_test_data): Likewise.
2471 (acos_downward_test_data): Likewise.
2472 (acos_upward_test_data): Likewise.
2473 (acosh_test_data): Likewise.
2474 (asin_test_data): Likewise.
2475 (asin_tonearest_test_data): Likewise.
2476 (asin_towardzero_test_data): Likewise.
2477 (asin_upward_test_data): Likewise.
2478 (asinh_test_data): Likewise.
2479 (atan_test_data): Likewise.
2480 (atanh_test_data): Likewise.
2481 (cbrt_test_data): Likewise.
2482 (cos_test_data): Likewise.
2483 (cos_tonearest_test_data): Likewise.
2484 (cos_towardzero_test_data): Likewise.
2485 (cos_downward_test_data): Likewise.
2486 (cos_upward_test_data): Likewise.
2487 (cosh_test_data): Likewise.
2488 (cosh_tonearest_test_data): Likewise.
2489 (cosh_towardzero_test_data): Likewise.
2490 (cosh_downward_test_data): Likewise.
2491 (cosh_upward_test_data): Likewise.
2492 * sysdeps/i386/fpu/libm-test-ulps: Update.
2493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2494
ffb536d0
JM
24952013-11-29 Joseph Myers <joseph@codesourcery.com>
2496
2a77a467
JM
2497 [BZ #6787]
2498 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2499 * math/w_exp10f.c (__exp10f): Likewise.
2500 * math/w_exp10l.c (__exp10l): Likewise.
2501 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2502 errno settings in existing tests.
2503
ea3bc4e8
JM
2504 [BZ #14032]
2505 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2506 precision control set to double precision.
2507 * sysdeps/i386/fpu/w_sqrt.c: New file.
2508 * math/auto-libm-test-in: Add more tests.
2509 * math/auto-libm-test-out: Update.
2510
0712c9d8
JM
2511 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2512 (sqrt_test_tonearest): New function.
2513 (sqrt_towardzero_test_data): New variable.
2514 (sqrt_test_towardzero): New function.
2515 (sqrt_downward_test_data): New variable.
2516 (sqrt_test_downward): New function.
2517 (sqrt_upward_test_data): New variable.
2518 (sqrt_test_upward): New function.
2519 (main): Call the new functions.
2520
ffb536d0
JM
2521 * math/gen-auto-libm-tests.c: New file.
2522 * math/auto-libm-test-in: Likewise.
2523 * math/auto-libm-test-out: New generated file.
2524 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2525 variables.
2526 (%beautify): Add generated representations of zero.
2527 (top level): Set $auto_input and call parse_auto_input.
2528 (beautify): Remove trailing "f" from hex float constants.
2529 (parse_args): Handle XFAIL_TEST.
2530 (convert_condition): New function.
2531 (or_value): Likewise.
2532 (or_cond_value): Likewise.
2533 (generate_testfile): Handle AUTO_TESTS_* lines.
2534 (parse_auto_input): New function.
2535 * math/libm-test.inc (XFAIL_TEST): New macro.
2536 (ERRNO_UNCHANGED): Update value.
2537 (ERRNO_EDOM): Likewise.
2538 (ERRNO_ERANGE): Likewise.
2539 (IGNORE_RESULT): Likewise.
2540 (TEST_COND_flt_32): New macro.
2541 (TEST_COND_dbl_64): Likewise.
2542 (TEST_COND_ldbl_96_intel): Likewise.
2543 (TEST_COND_ldbl_96_m68k): Likewise.
2544 (TEST_COND_ldbl_128): Likewise.
2545 (TEST_COND_ldbl_128ibm): Likewise.
2546 (TEST_COND_long32): Likewise.
2547 (TEST_COND_long64): Likewise.
2548 (TEST_COND_before_rounding): Likewise.
2549 (TEST_COND_after_rounding): Likewise.
2550 (enable_test): Handle XFAIL_TEST flag.
2551 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2552 with finite results.
2553 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2554 auto-libm-test-out.
2555
acd98a8e
AK
25562013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2557 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2558
2559 [BZ #16214]
2560 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2561 __tls_get_addr_internal instead of __tls_get_offset in order to
2562 avoid GOT pointer dependency. Make rtld export
2563 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2564 __tls_get_addr since we are a __tls_get_offset platform.
2565 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2566 GOT pointer being set up before.
2567 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2568
3c1c46a6
JM
25692013-11-28 Joseph Myers <joseph@codesourcery.com>
2570
7475aef5
JM
2571 * manual/math.texi (Errors in Math Functions): Document accuracy
2572 goals.
2573
8bca7cd8
JM
2574 [BZ #15004]
2575 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2576 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2577 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2579 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2581 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2582 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2584 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2585 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2587 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2589 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2590 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2591
91a1f3fe
JM
2592 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2593 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2594 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2595 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2596 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2597 Likewise.
2598 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2599 Likewise.
2600 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2601 Likewise.
2602 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2603 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2604 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2605 atomic-feupdateenv and flt-rounds.
2606 * sysdeps/powerpc/nofpu/Versions (libc): Add
2607 __atomic_feholdexcept, __atomic_feclearexcept,
2608 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2609 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2610 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2611 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2612 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2613 here.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2615 Update.
2616
c5df7609
JM
2617 * manual/arith.texi (FP Exceptions): Document that exceptions may
2618 not be raised when matherr is used.
2619 (Math Error Reporting): Document overflow in directed rounding
2620 modes. Document that errno may not be set when finite values are
2621 returned on overflow. Document intent to set errno on underflow
2622 only for underflow to zero.
2623
3c1c46a6
JM
2624 [BZ #16271]
2625 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2626 round-to-nearest then adjust result for other rounding modes.
2627 * include/fenv.h (fegetround): Use libm_hidden_proto.
2628 * math/fegetround.c (fegetround): Use libm_hidden_def.
2629 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2630 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2631 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2632 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2633 Likewise.
2634 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2635 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2636 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2637 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2638
5a4c6d53
SP
26392013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2640
2641 [BZ #16077]
2642 * nss/Versions (libnss_files): Add
2643 _nss_files_gethostbyname3_r.
2644 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2645 New function.
2646 (HOST_DB_LOOKUP): Remove macro.
2647 (_nss_files_gethostbyname_r): Implement function without the
2648 HOST_DB_LOOKUP macro.
2649 (_nss_files_gethostbyname2_r): Likewise.
2650
897b98ba
OB
26512013-11-28 Ondřej Bílka <neleai@seznam.cz>
2652
2653 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2654
6f476861
UB
26552013-11-26 Uros Bizjak <ubizjak@gmail.com>
2656
2657 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2658 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2659 warning.
2660
bd12ab55
AZ
26612013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2662
2663 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2664 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2665 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2666 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2667 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2668 __fe_nomask_env_priv and attribute_hidden.
2669 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2670 (libc_feupdateenv_test_ppc): Likewise.
2671 (libc_feresetround_ppc): Likewise.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2673 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2674 compat_symbol macro.
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2676 (__fe_nomask_env): Likewise.
2677 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2678
52bb6543
OB
26792013-11-26 Ondřej Bílka <neleai@seznam.cz>
2680
2681 * string/Makefile: Remove ifunc tests.
2682 * string/test-string.h: Define TEST_IFUNC.
2683 * string/test-bcopy-ifunc.c: Remove.
2684 * string/test-bzero-ifunc.c: Likewise.
2685 * string/test-memccpy-ifunc.c: Likewise.
2686 * string/test-memchr-ifunc.c: Likewise.
2687 * string/test-memcmp-ifunc.c: Likewise.
2688 * string/test-memcpy-ifunc.c: Likewise.
2689 * string/test-memmem-ifunc.c: Likewise.
2690 * string/test-memmove-ifunc.c: Likewise.
2691 * string/test-mempcpy-ifunc.c: Likewise.
2692 * string/test-memrchr-ifunc.c: Likewise.
2693 * string/test-memset-ifunc.c: Likewise.
2694 * string/test-rawmemchr-ifunc.c: Likewise.
2695 * string/test-stpcpy-ifunc.c: Likewise.
2696 * string/test-stpncpy-ifunc.c: Likewise.
2697 * string/test-strcasecmp-ifunc.c: Likewise.
2698 * string/test-strcasestr-ifunc.c: Likewise.
2699 * string/test-strcat-ifunc.c: Likewise.
2700 * string/test-strchr-ifunc.c: Likewise.
2701 * string/test-strchrnul-ifunc.c: Likewise.
2702 * string/test-strcmp-ifunc.c: Likewise.
2703 * string/test-strcpy-ifunc.c: Likewise.
2704 * string/test-strcspn-ifunc.c: Likewise.
2705 * string/test-strlen-ifunc.c: Likewise.
2706 * string/test-strncasecmp-ifunc.c: Likewise.
2707 * string/test-strncat-ifunc.c: Likewise.
2708 * string/test-strncmp-ifunc.c: Likewise.
2709 * string/test-strncpy-ifunc.c: Likewise.
2710 * string/test-strnlen-ifunc.c: Likewise.
2711 * string/test-strpbrk-ifunc.c: Likewise.
2712 * string/test-strrchr-ifunc.c: Likewise.
2713 * string/test-strspn-ifunc.c: Likewise.
2714 * string/test-strstr-ifunc.c: Likewise.
2715
ab260039 27162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2717
2718 * benchtests/Makefile: Remove ifunc tests.
2719 * benchtests/bench-string.h: Define TEST_IFUNC.
2720 * benchtests/bench-bcopy-ifunc.c: Remove.
2721 * benchtests/bench-bzero-ifunc.c: Likewise.
2722 * benchtests/bench-memccpy-ifunc.c: Likewise.
2723 * benchtests/bench-memchr-ifunc.c: Likewise.
2724 * benchtests/bench-memcmp-ifunc.c: Likewise.
2725 * benchtests/bench-memcpy-ifunc.c: Likewise.
2726 * benchtests/bench-memmem-ifunc.c: Likewise.
2727 * benchtests/bench-memmove-ifunc.c: Likewise.
2728 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2729 * benchtests/bench-memrchr-ifunc.c: Likewise.
2730 * benchtests/bench-memset-ifunc.c: Likewise.
2731 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2732 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2733 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2734 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2735 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2736 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2737 * benchtests/bench-strcat-ifunc.c: Likewise.
2738 * benchtests/bench-strchr-ifunc.c: Likewise.
2739 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2740 * benchtests/bench-strcmp-ifunc.c: Likewise.
2741 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2742 * benchtests/bench-strcpy-ifunc.c: Likewise.
2743 * benchtests/bench-strcspn-ifunc.c: Likewise.
2744 * benchtests/bench-strlen-ifunc.c: Likewise.
2745 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2746 * benchtests/bench-strncat-ifunc.c: Likewise.
2747 * benchtests/bench-strncmp-ifunc.c: Likewise.
2748 * benchtests/bench-strncpy-ifunc.c: Likewise.
2749 * benchtests/bench-strnlen-ifunc.c: Likewise.
2750 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2751 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2752 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2753 * benchtests/bench-strspn-ifunc.c: Likewise.
2754 * benchtests/bench-strstr-ifunc.c: Likewise.
2755
27562013-11-26 Ondřej Bílka <neleai@seznam.cz>
2757
ab260039
OB
2758 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2759
d1d9eaf4 27602013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2761
d1d9eaf4
OB
2762 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2763 * rt/aio.h: Likewise.
2764 * sysdeps/gnu/bits/utmp.h: Likewise.
2765 * sysdeps/gnu/bits/utmpx.h: Likewise.
2766 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2767 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2768 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2769 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2770 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2771 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2772 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2773 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2775 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2777 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2780 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2781 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2782 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2783 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2784 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2785 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2786 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2787 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2788 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2789 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2790 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2792 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2793 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2794 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2795 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2796 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2798 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2799 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2800 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2801 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2802 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2803 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2804 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2805 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2806 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2807 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2808
a7624ed9
CD
28092013-11-25 Carlos O'Donell <carlos@redhat.com>
2810
2811 [BZ #16245]
2812 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2813 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2814
63cfe52b
JM
28152013-11-25 Joseph Myers <joseph@codesourcery.com>
2816
2817 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2818 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2819 Likewise.
2820
41e8926a
AZ
28212013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2822
2823 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2824 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2825 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2826 (__fesetround): Remove define.
2827 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2828 rounding and exceptions handling.
2829 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2830 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2831 (__fe_nomask_env): Likewise.
2832 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2833 __fegetround instead of fegetround.
2834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2835 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2836
6851bd4d
RM
28372013-11-21 Roland McGrath <roland@hack.frob.com>
2838
070906ff
RM
2839 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2840 it's there.
2841
6851bd4d
RM
2842 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2843
84ae135d
MI
28442013-11-21 Meador Inge <meadori@codesourcery.com>
2845
2846 [BZ #11157]
2847 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2848 (encrypt_r): Likewise.
2849 * malloc/obstack.h (obstack_free): Likewise.
2850 * posix/unistd.h (encrypt): Likewise.
2851
daf75146
GM
28522013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2853
2854 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2855 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2856 DL_CALL_DT_FINI() that call the functions directly.
2857 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2858 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2859 * elf/dl-fini.c: Likewise.
2860
10ad46bc
OB
28612013-11-20 Ondřej Bílka <neleai@seznam.cz>
2862
2863 * malloc/hooks.c (memalign_check): Add alignment rounding.
2864 * malloc/malloc.c (_mid_memalign): New function.
2865 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2866 Implement by calling _mid_memalign.
2867 * manual/probes.texi (Memory Allocation Probes): Remove
2868 memory_valloc_retry and memory_pvalloc_retry.
2869
f3fd2628
SP
28702013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2871
4712799f
SP
2872 * locale/programs/locarchive.c (open_archive): Add const
2873 qualifier to ARCHIVEFNAME and copy default fname to
2874 DEFAULT_FNAME.
2875
0417b20f
SP
2876 [BZ #15601]
2877 * libio/tst-widetext.input: Rename Oriya to Odia.
2878 * locale/iso-639.def: Likewise.
2879
f3fd2628
SP
2880 * manual/probes.texi (Mathematical Function Probes): Add
2881 documentation for sin, cos, asin and acos probes.
2882 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2883 (__sin32): Add slowasin probe.
2884 (__cos32): Add slowacos probe.
2885 (__mpsin): Add slowsin probe.
2886 (__mpcos): Add slowcos probe.
2887
73c1ce4f
JM
28882013-11-19 Joseph Myers <joseph@codesourcery.com>
2889
2890 [BZ #15483]
2891 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2892 thread-local __sim_exceptions_thread and global
2893 __sim_exceptions_global.
2894 (__sim_disabled_exceptions): Change to thread-local
2895 __sim_disabled_exceptions_thread and global
2896 __sim_disabled_exceptions_global.
2897 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2898 and global __sim_round_mode_global.
2899 (__simulate_exceptions): Use thread-local floating-point state and
2900 set global state from it as needed.
2901 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2902 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2903 __sim_round_mode_thread.
2904 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2905 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2906 and global __sim_exceptions_global.
2907 (__sim_disabled_exceptions): Change to thread-local
2908 __sim_disabled_exceptions_thread and global
2909 __sim_disabled_exceptions_global.
2910 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2911 and global __sim_round_mode_global.
2912 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2913 (SIM_SET_GLOBAL): Likewise.
2914 * sysdeps/powerpc/soft-fp/sfp-machine.h
2915 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2916 __sim_round_mode_thread.
2917 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2918 __sim_disabled_exceptions_thread.
2919 (__sim_exceptions): Change to __sim_exceptions_thread.
2920 (__sim_disabled_exceptions): Change to
2921 __sim_disabled_exceptions_thread.
2922 (__sim_round_mode): Change to __sim_round_mode_thread.
2923 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2924 thread-local floating-point state and set global state from it as
2925 needed.
2926 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2927 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2928 (__sim_disabled_exceptions): Remove extern declaration.
2929 (feenableexcept): Use thread-local floating-point state and set
2930 global state from it as needed.
2931 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2932 extern declaration.
2933 (__sim_disabled_exceptions): Likewise.
2934 (__sim_round_mode): Likewise.
2935 (__fegetenv): Use thread-local floating-point state.
2936 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2937 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2938 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2939 floating-point state and set global state from it as needed.
2940 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2941 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2942 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2943 Likewise.
2944 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2945 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2946 Likewise.
2947 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2948 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2949 Use __sim_round_mode_thread.
2950 * math/test-fenv-tls.c: New file.
2951 * math/Makefile (tests): Add test-fenv-tls.
2952 ($(objpfx)test-fenv-tls): Depend on
2953 $(common-objpfx)nptl/libpthread.so.
2954
b5449b12
AS
29552013-11-19 Andreas Schwab <schwab@suse.de>
2956
2957 * locale/programs/locale.c (show_info): Decode wordarray elements.
2958 * locale/categories.def (LC_MONETARY): Add element for
2959 _NL_MONETARY_CRNCYSTR.
2960 * locale/C-monetary.c (conversion_rate): New variable.
2961 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2962 element.
2963
e186536b
CM
29642013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2965
2966 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2967 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2968
5c349950
PP
29692013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2970
2971 * elf/Makefile (tst-auxv): New test.
2972 * elf/tst-auxv.c: New
2973 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2974
699df45b
JM
29752013-11-18 Joseph Myers <joseph@codesourcery.com>
2976
2977 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2978 (hidden_proto): Caller changed.
2979 (hidden_tls_proto): New macro.
2980 (libc_hidden_tls_proto): Likewise.
2981 (rtld_hidden_tls_proto): Likewise.
2982 (libm_hidden_tls_proto): Likewise.
2983 (libresolv_hidden_tls_proto): Likewise.
2984 (librt_hidden_tls_proto): Likewise.
2985 (libdl_hidden_tls_proto): Likewise.
2986 (libnss_files_hidden_tls_proto): Likewise.
2987 (libnsl_hidden_tls_proto): Likewise.
2988 (libnss_nisplus_hidden_tls_proto): Likewise.
2989 (libutil_hidden_tls_proto): Likewise.
2990
b7589107
OB
29912013-11-18 Ondřej Bílka <neleai@seznam.cz>
2992
2993 [BZ #10253]
2994 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2995 (decompose_rpath): Defer expansion to fillin_rpath.
2996 (_dl_init_paths): Pass linkmap to fillin_rpath.
2997
250c23bd
RS
29982013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2999
3000 * benchtests/Makefile: Add strsep.
3001 * benchtests/bench-strsep.c: New file: strsep benchtest.
3002 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3003
a7931fcf
AS
30042013-11-18 Andreas Schwab <schwab@suse.de>
3005
3006 * locale/programs/locale.c (show_info) [case byte]: Check for
3007 '\377' instead of '\177'.
3008 * locale/C-monetary.c (not_available): Always use "\377".
3009 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3010 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3011 detect unavailable sign_posn locale elements.
3012 * locale/localeconv.c (__localeconv): For grouping and
3013 mon_grouping handle "\177" and "\377" like no grouping.
3014 (INT_ELEM): New macro. Use it to set all numeric members.
3015 * locale/programs/ld-monetary.c (monetary_read)
3016 <tok_mon_grouping>: Normalize single -1 to the empty string.
3017 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3018 Likewise.
3019
728dab0e
OB
30202013-11-07 Ondřej Bílka <neleai@seznam.cz>
3021
3022 [BZ #16055]
3023 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3024 when we match (nil).
3025 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3026
66294491
JM
30272013-11-16 Joseph Myers <joseph@codesourcery.com>
3028
ce665817
JM
3029 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3030 (NO_TEST_INLINE): Update value.
3031 (ERRNO_UNCHANGED): Likewise.
3032 (ERRNO_EDOM): Likewise.
3033 (ERRNO_ERANGE): Likewise.
3034 (IGNORE_RESULT): Likewise.
3035 (check_float_internal): Check signs of NaN results if
3036 TEST_NAN_SIGN used.
3037 (check_complex): Pass TEST_NAN_SIGN flag through to second
3038 check_float_internal call.
3039 (copysign_test_data): Add tests with quiet NaNs as second
3040 argument. Use TEST_NAN_SIGN.
3041 (fabs_test_data): Add test of negative quiet NaN argument. Use
3042 TEST_NAN_SIGN.
3043 (signbit_test_data): Add tests of quiet NaN argument.
3044 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3045
ee1466a9
JM
3046 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3047 $ignore_result.
3048 (parse_args): Handle function results specified as IGNORE.
3049 * math/libm-test.inc (IGNORE_RESULT): New macro.
3050 (check_float_internal): Do not check numerical result if flag
3051 IGNORE_RESULT set.
3052 (check_complex): Pass through IGNORE_RESULT to second
3053 check_float_internal call.
3054 (check_int): Do not check numerical result if flag IGNORE_RESULT
3055 set.
3056 (check_long): Likewise.
3057 (check_bool): Likewise.
3058 (check_longlong): Likewise.
3059 (lrint_test_data): Add tests of infinite and NaN arguments.
3060 (lrint_tonearest_test_data): Likewise.
3061 (lrint_towardzero_test_data): Likewise.
3062 (lrint_downward_test_data): Likewise.
3063 (lrint_upward_test_data): Likewise.
3064 (llrint_test_data): Likewise.
3065 (llrint_tonearest_test_data): Likewise.
3066 (llrint_towardzero_test_data): Likewise.
3067 (llrint_downward_test_data): Likewise.
3068 (llrint_upward_test_data): Likewise.
3069 (lround_test_data): Likewise.
3070 (llround_test_data): Likewise.
3071
14407b7e
JM
3072 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3073 (ERRNO_UNCHANGED): Update value.
3074 (ERRNO_EDOM): Likewise.
3075 (ERRNO_ERANGE): Likewise.
3076 (NO_TEST_INLINE_FLOAT): New macro.
3077 (NO_TEST_INLINE_DOUBLE): Likewise.
3078 (enable_test): New function.
3079 (RUN_TEST_f_f): Check enable_test before running test.
3080 (RUN_TEST_2_f): Likewise.
3081 (RUN_TEST_fff_f): Likewise.
3082 (RUN_TEST_c_f): Likewise.
3083 (RUN_TEST_f_f1): Likewise.
3084 (RUN_TEST_fF_f1): Likewise.
3085 (RUN_TEST_fI_f1): Likewise.
3086 (RUN_TEST_ffI_f1): Likewise.
3087 (RUN_TEST_c_c): Likewise.
3088 (RUN_TEST_cc_c): Likewise.
3089 (RUN_TEST_f_i): Likewise.
3090 (RUN_TEST_f_i_tg): Likewise.
3091 (RUN_TEST_ff_i_tg): Likewise.
3092 (RUN_TEST_f_b): Likewise.
3093 (RUN_TEST_f_b_tg): Likewise.
3094 (RUN_TEST_f_l): Likewise.
3095 (RUN_TEST_f_L): Likewise.
3096 (RUN_TEST_fFF_11): Likewise.
3097 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3098 conditionals.
3099 (cosh_test_data): Likewise.
3100 (exp_test_data): Likewise.
3101 (expm1_test_data): Likewise.
3102 (hypot_test_data): Likewise.
3103 (pow_test_data): Likewise.
3104 (sinh_test_data): Likewise.
3105 (tanh_test_data): Likewise.
3106 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3107 flags argument.
3108
ca07f197
JM
3109 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3110 tests with quiet NaN input and output.
3111 (acosh_test_data): Likewise.
3112 (asin_test_data): Likewise.
3113 (asinh_test_data): Likewise.
3114 (atan_test_data): Likewise.
3115 (atanh_test_data): Likewise.
3116 (atan2_test_data): Likewise.
3117 (cbrt_test_data): Likewise.
3118 (cos_test_data): Likewise.
3119 (cosh_test_data): Likewise.
3120 (erf_test_data): Likewise.
3121 (erfc_test_data): Likewise.
3122 (exp_test_data): Likewise.
3123 (exp10_test_data): Likewise.
3124 (exp2_test_data): Likewise.
3125 (expm1_test_data): Likewise.
3126 (hypot_test_data): Likewise.
3127 (j0_test_data): Likewise.
3128 (j1_test_data): Likewise.
3129 (jn_test_data): Likewise.
3130 (lgamma_test_data): Likewise.
3131 (log_test_data): Likewise.
3132 (log10_test_data): Likewise.
3133 (log1p_test_data): Likewise.
3134 (log2_test_data): Likewise.
3135 (pow_test_data): Likewise.
3136 (scalb_test_data): Likewise.
3137 (sin_test_data): Likewise.
3138 (sincos_test_data): Likewise.
3139 (sinh_test_data): Likewise.
3140 (tan_test_data): Likewise.
3141 (tanh_test_data): Likewise.
3142 (tgamma_test_data): Likewise.
3143 (y0_test_data): Likewise.
3144 (y1_test_data): Likewise.
3145 (yn_test_data): Likewise.
3146
66294491
JM
3147 [BZ #16167]
3148 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3149 argument being NaN and avoid computations with second argument in
3150 that case.
3151 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3152 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3153 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3154
1820b143
CL
31552013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3156
3157 * locale/iso-639.def: Add Chitwani Tharu (the).
3158
714bd261
AS
31592013-11-14 Andreas Schwab <schwab@suse.de>
3160
3161 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3162 word instead of empty string.
3163
7ab44563
AZ
31642013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3165
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3167 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3169 (__fe_nomask_env): Likewise.
3170
e8470ea2
SE
31712013-11-13 Steve Ellcey <sellcey@mips.com>
3172
3173 * benchtests/bench-timing.h: Include time.h.
3174
17c1d9f0
L
31752013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3176
3177 [BZ #15997]
3178 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3179 to 3.4.0 for x32.
3180 * sysdeps/unix/sysv/linux/configure: Regenerated.
3181
9310c284
JM
31822013-11-13 Joseph Myers <joseph@codesourcery.com>
3183
3184 [BZ #16151]
3185 * stdlib/strtod_l.c (round_and_return): Do not consider
3186 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3187 exponent one less than half the least subnormal exponent.
3188 * stdlib/test-strtod-round-data: Add more tests.
3189 * stdlib/tst-strtod-round.c (tests): Regenerated.
3190
7a2ad8cf
AZ
31912013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192
3193 [BZ #14143]
3194 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3195 (__fe_mask_env): Likewise.
3196 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3197 libm_hidden_proto and add function prototype.
3198 (__fe_mask_env): Add function prototype.
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3200 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3202 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3204 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3205
50727aa7
MS
32062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3207
b2f386c1 3208 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3209 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3210
a615be46
MS
32112013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3212
3213 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3214 of htab_find_slot().
3215
7ddace62
DM
32162013-11-11 David S. Miller <davem@davemloft.net>
3217
3218 [BZ #16150]
3219 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3220 symbol in the non-vis3 case in static builds.
3221 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3222 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3223 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3224 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3225
9182aa67
JK
32262013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3227
3228 [BZ #387]
3229 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3230 it is empty.
3231
450a2e2d
AZ
32322013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3233
b2f386c1
SP
3234 * benchtests/Makefile: Add bench-strtod.
3235 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3236
8ec3f656
AS
32372013-11-11 Andreas Schwab <schwab@suse.de>
3238
3239 [BZ #16153]
3240 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3241 terminating NUL in key length.
3242
76a9b998
AZ
32432013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3244
3245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3246 Add artificial ODP entry for vDSO symbol for PPC64.
3247 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3248 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3249
e4368156
OB
32502013-11-07 Ondřej Bílka <neleai@seznam.cz>
3251
3252 [BZ #15374]
3253 * nss/getent.c (services_keys): Recognize services starting with digit.
3254
8d6bb57c
DM
32552013-11-06 David S. Miller <davem@davemloft.net>
3256
3257 [BZ #15985]
3258 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3259 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3260
e256c421
WN
32612013-11-06 Will Newton <will.newton@linaro.org>
3262
3263 * manual/memory.texi (Malloc Examples): Remove register
3264 keyword from examples.
3265
f6e12daa 32662013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3267
f6e12daa 3268 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3269
9d880655
AS
32702013-11-04 Joseph Myers <joseph@codesourcery.com>
3271
3272 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3273 depending on [__GCC_IEC_559 > 0].
3274 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3275 depending on [__GCC_IEC_559_COMPLEX > 0].
3276
ae129d3c
CL
32772013-11-03 Chris Leonard <cjl@sugarlabs.org>
3278
3279 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3280 to iso-639.def.
3281
4a15c2a4 32822013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3283
3284 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3285
8b35e35d
OB
32862013-11-01 Ondřej Bílka <neleai@seznam.cz>
3287
3288 [BZ #16112]
3289 * malloc/malloc (malloc_info): Do not handle first bin as
3290 special case.
3291
1d70fd6c
CL
32922013-11-01 Chris Leonard <cjl@sugarlabs.org>
3293
3294 * locale/iso-639.def: Add Central Nahuatl (nhn).
3295
8c5c2600
BH
32962013-11-01 Bruno Haible <bruno@clisp.org>
3297
3298 [BZ #7003]
3299 * manual/math.texi (BSD Random): Specify range upper bound as
3300 in POSIX.
3301
da5579c2
CL
33022013-10-31 Chris Leonard <cjl@sugarlabs.org>
3303
3304 * locale/iso-639.def: Add Meadow Mari (mhr).
3305
5d30d853
OB
33062013-10-31 Ondřej Bílka <neleai@seznam.cz>
3307
3308 [BZ #14752], [BZ #15763]
3309 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3310 Validate name.
3311 * rt/tst_shm.c: Add test for escaping directory.
3312
a4966c61
AS
33132013-10-31 Andreas Schwab <schwab@suse.de>
3314
8a43e768 3315 [BZ #15917]
a4966c61
AS
3316 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3317 followed by 'x' as part of digit sequence.
3318 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3319
28d708c4
MAP
33202013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3321
3322 [BZ #16037]
3323 * configure.ac: allow GNU Make 4.0 and greater.
3324 * configure: Regenerated.
3325
a56ee40b
WN
33262013-10-30 Will Newton <will.newton@linaro.org>
3327
3328 [BZ #16038]
3329 * malloc/hooks.c (memalign_check): Limit alignment to the
3330 maximum representable power of two.
3331 * malloc/malloc.c (__libc_memalign): Likewise.
3332 * malloc/tst-memalign.c (do_test): Add test for very
3333 large alignment values.
3334 * malloc/tst-posix_memalign.c (do_test): Likewise.
3335
c6e4925d
OB
33362013-10-30 Ondřej Bílka <neleai@seznam.cz>
3337
3338 [BZ #11087]
3339 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3340 (munmap_chunk): Likewise.
3341 (mremap_chunk): Likewise.
3342
33432013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3344
8a43e768 3345 [BZ #15799]
bbea82f7
OB
3346 * stdlib/div.c (div): Remove obsolete code.
3347 * stdlib/ldiv.c (ldiv): Likewise.
3348 * stdlib/lldiv.c (lldiv): Likewise.
3349
977f4b31
SP
33502013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3351
3352 [BZ #16071]
3353 * nss/nss_files/files-XXX.c (get_contents_ret): New
3354 enumerator.
3355 (get_contents): New function.
3356 (internal_getent): Use it. Expand size of LINEBUFLEN.
3357
cb8a6dbd
MF
33582013-10-30 Mike Frysinger <vapier@gentoo.org>
3359
3360 * configure.in: Moved to ...
3361 * configure.ac: ... here. Change reference to configure.in
3362 to configure.ac.
3363 * sysdeps/arm/preconfigure.ac: ... here.
3364 configure.in to configure.ac.
3365 * sysdeps/gnu/configure.in: Moved to ...
3366 * sysdeps/gnu/configure.ac: ... here.
3367 * sysdeps/i386/configure.in: Moved to ...
3368 * sysdeps/i386/configure.ac: ... here.
3369 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3370 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3371 * sysdeps/mach/configure.in: Moved to ...
3372 * sysdeps/mach/configure.ac: ... here.
3373 * sysdeps/mach/hurd/configure.in: Moved to ...
3374 * sysdeps/mach/hurd/configure.ac: ... here.
3375 * sysdeps/powerpc/configure.in: Moved to ...
3376 * sysdeps/powerpc/configure.ac: ... here.
3377 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3378 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3379 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3380 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3381 * sysdeps/s390/s390-32/configure.in: Moved to ...
3382 * sysdeps/s390/s390-32/configure.ac: ... here.
3383 * sysdeps/s390/s390-64/configure.in: Moved to ...
3384 * sysdeps/s390/s390-64/configure.ac: ... here.
3385 * sysdeps/sh/configure.in: Moved to ...
3386 * sysdeps/sh/configure.ac: ... here.
3387 * sysdeps/sparc/configure.in: Moved to ...
3388 * sysdeps/sparc/configure.ac: ... here.
3389 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3390 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3391 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3392 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3393 * sysdeps/x86_64/configure.in: Moved to ...
3394 * sysdeps/x86_64/configure.ac: ... here.
3395 * sysdeps/x86_64/preconfigure.in: Moved to ...
3396 * sysdeps/x86_64/preconfigure.ac: ... here.
3397 * aclocal.m4: Change reference to configure.in to configure.ac.
3398 * config.h.in: Likewise.
3399 * manual/install.texi: Likewise.
3400 * manual/maint.texi: Likewise.
3401 * Makefile: Likewise.
3402 * malloc/Makefile: Likewise.
3403 * nscd/Makefile: Likewise.
3404 * Makeconfig: Change reference to configure.in and
3405 preconfigure.in to configure.ac and preconfigure.ac
3406 respectively.
3407 * INSTALL: Regenerated.
3408 * configure: Likewise.
3409 * sysdeps/gnu/configure: Likewise.
3410 * sysdeps/i386/configure: Likewise.
3411 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3412 * sysdeps/mach/configure: Likewise.
3413 * sysdeps/mach/hurd/configure: Likewise.
3414 * sysdeps/powerpc/configure: Likewise.
3415 * sysdeps/powerpc/powerpc32/configure: Likewise.
3416 * sysdeps/powerpc/powerpc64/configure: Likewise.
3417 * sysdeps/s390/s390-32/configure: Likewise.
3418 * sysdeps/s390/s390-64/configure: Likewise.
3419 * sysdeps/sh/configure: Likewise.
3420 * sysdeps/sparc/configure: Likewise.
3421 * sysdeps/unix/sysv/linux/configure: Likewise.
3422 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3423 * sysdeps/x86_64/configure: Likewise.
3424 * sysdeps/x86_64/preconfigure: Likewise.
3425
36a4953a
AS
34262013-10-29 Andreas Schwab <schwab@suse.de>
3427
3428 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3429
c79a1204
SP
34302013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3431
dfa1b402
SP
3432 * benchtests/pow-inputs: Add new inputs.
3433
54f73d9c
SP
3434 * benchtests/exp-inputs: Add new inputs.
3435
c79a1204
SP
3436 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3437 conditional check for return value.
3438 (__cos32): Likewise.
3439
67beb545 34402013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3441
3442 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3443 to provide a boost for large inputs with word alignment.
3444 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3445 implementation based on optimized PPC64 strcpy.
3446 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3447 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3448 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3449 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3450
151659f6
OB
34512013-10-25 Ondřej Bílka <neleai@seznam.cz>
3452
482a077e 3453 [BZ #2801]
151659f6
OB
3454 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3455
10b0f26b
OB
34562013-10-25 Ondřej Bílka <neleai@seznam.cz>
3457
3458 [BZ #14876]
3459 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3460 * time/tst-strptime.c (day_tests): Add testcase.
3461
ca42d35e
OB
34622013-10-25 Ondřej Bílka <neleai@seznam.cz>
3463
482a077e 3464 [BZ #14029]
ca42d35e
OB
3465 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3466
52e6d801
FB
34672013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3468
3469 [BZ #16074]
3470 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3471 MAP_FAILED on error.
3472
7cbcdb36
SP
34732013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3474
3475 [BZ #16072]
3476 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3477 heap for large requests.
3478
894f3f10
AM
34792013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3480
3481 [BZ #9954]
3482 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3483 result if the result has no associated interface.
3484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3485 interface for all 127.X.Y.Z addresses.
3486
b85545a6
CL
34872013-10-24 Chris Leonard <cjl@sugarlabs.org>
3488
3489 * locale/iso-639.def: Add Ligurian (lij)
3490
d1f23d46
OB
34912013-10-21 Ondřej Bílka <neleai@seznam.cz>
3492
3493 [BZ #15825]
3494 * sunrpc/rpc_main.c: Document rpcgen -5.
3495
4db5b08f
MS
34962013-10-19 Michael Stahl <mstahl@redhat.com>
3497
3498 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3499
a471e96a
OB
35002013-10-19 Ondřej Bílka <neleai@seznam.cz>
3501
d1f23d46 3502 [BZ #10278]
a471e96a
OB
3503 * posix/glob.c: Match only directories when trailing slash is present.
3504 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3505 (main): Add testcase.
3506
45c30c61
OB
35072013-10-19 Ondřej Bílka <neleai@seznam.cz>
3508
3509 [BZ #15670]
3510 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3511
484c12fb
CD
35122013-10-18 Carlos O'Donell <carlos@redhat.com>
3513
3d7dc513
CD
3514 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3515 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3516 AUTH_DES and cindex for FIPS 140-2.
3517 (DES Encryption): Add cindex FIPS 46-3.
3518
484c12fb
CD
3519 * locale/locarchive.h (struct locarhandle): Add fname.
3520 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3521 if an optional argument was specified to --list-archive,
3522 otherwise NULL.
3523 * locale/programs/locarchive.c (show_archive_content): Take new
3524 argument fname and pass it via ah.fname to open_archive.
3525 * locale/programs/localedef.h: Update decl.
3526 (open_archive): If AH->fname is non-null, open that file
3527 rather than the default file name, and don't ignore ENOENT.
3528 (create_archive): Set AH.fname to NULL.
3529 (delete_locales_from_archive): Likewise.
3530 (add_locales_to_archive): Likewise.
3531 * locale/programs/locfile.c (write_all_categories): Likewise.
3532
3c8325fb
JM
35332013-10-18 Joseph Myers <joseph@codesourcery.com>
3534 Aldy Hernandez <aldyh@redhat.com>
3535
3536 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3537 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3538 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3539 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3540 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3541 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3542 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3543 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3544 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3545 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3546 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3547 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3548 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3549 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3550 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3551 Likewise.
3552 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3553 Likewise.
3554 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3555 Likewise.
3556 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3557 Likewise.
3558 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3559 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3560 Likewise.
3561 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3562 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3563 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3564 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3565 Likewise.
3566 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3567 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3568 * sysdeps/powerpc/preconfigure: Likewise.
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3570 Likewise.
3571 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3572 Replace contents of file by #include of <fenv_libc.h>.
3573 * sysdeps/powerpc/soft-fp/sfp-machine.h
3574 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3575 and <sys/prctl.h>.
3576 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3577 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3578 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3589 Allow copysignl PLT reference to be missing.
3590
5abe0682
RS
35912013-10-18 Richard Sandiford <richard@codesourcery.com>
3592 Joseph Myers <joseph@codesourcery.com
3593
3594 [BZ #15948]
3595 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3596 single character.
3597 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3598
c7738d08
SP
35992013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3600
3601 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3602 * elf/tst-tls1.c: Likewise.
3603 * elf/tst-tls10.h: Likewise.
3604 * elf/tst-tls14.c: Likewise.
3605 * elf/tst-tls2.c: Likewise.
3606 * elf/tst-tls3.c: Likewise.
3607 * elf/tst-tls4.c: Likewise.
3608 * elf/tst-tls5.c: Likewise.
3609 * elf/tst-tls6.c: Likewise.
3610 * elf/tst-tls7.c: Likewise.
3611 * elf/tst-tls8.c: Likewise.
3612 * elf/tst-tls9.c: Likewise.
3613 * elf/tst-tlsmod1.c: Likewise.
3614 * elf/tst-tlsmod13.c: Likewise.
3615 * elf/tst-tlsmod13a.c: Likewise.
3616 * elf/tst-tlsmod14a.c: Likewise.
3617 * elf/tst-tlsmod16a.c: Likewise.
3618 * elf/tst-tlsmod16b.c: Likewise.
3619 * elf/tst-tlsmod2.c: Likewise.
3620 * elf/tst-tlsmod3.c: Likewise.
3621 * elf/tst-tlsmod4.c: Likewise.
3622 * elf/tst-tlsmod5.c: Likewise.
3623 * elf/tst-tlsmod6.c: Likewise.
3624
0bfcf2c7
OB
36252013-10-18 Ondřej Bílka <neleai@seznam.cz>
3626
3627 [BZ #12486]
3628 * malloc/malloc.c: remove checks for statistics.
3629
264aad1e
OB
36302013-10-17 Ondřej Bílka <neleai@seznam.cz>
3631
3632 [BZ #15277]
3633 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3634 * inet/tst-network.c: Add testcase.
3635
b957ced8
AS
36362013-10-17 Andreas Schwab <schwab@suse.de>
3637
3638 [BZ #15218]
3639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3640 to determine canonical name.
3641
c5d5d574
OB
36422013-10-17 Ondřej Bílka <neleai@seznam.cz>
3643
3644 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3645 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3649 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3650 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3652 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3654 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3661 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3667 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3668 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3670 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3671 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3672 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3673 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3674 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3676 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3677 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3678 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3681 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3682 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3684 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3685 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3686 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3687 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3688 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3692 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3693 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3694 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3695 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3696 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3697 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3698 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3699 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3700 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3701 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3702
e5c2c2d0
JM
37032013-10-17 Joseph Myers <joseph@codesourcery.com>
3704
3705 [BZ #16041]
3706 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3707 make result into a quiet NaN.
3708
51ca9e29
JM
37092013-10-16 Joseph Myers <joseph@codesourcery.com>
3710
3711 * soft-fp/adddf3.c: Fix horizontal whitespace.
3712 * soft-fp/addsf3.c: Likewise.
3713 * soft-fp/addtf3.c: Likewise.
3714 * soft-fp/divdf3.c: Likewise.
3715 * soft-fp/divsf3.c: Likewise.
3716 * soft-fp/divtf3.c: Likewise.
3717 * soft-fp/double.h: Likewise.
3718 * soft-fp/eqdf2.c: Likewise.
3719 * soft-fp/eqsf2.c: Likewise.
3720 * soft-fp/eqtf2.c: Likewise.
3721 * soft-fp/extenddftf2.c: Likewise.
3722 * soft-fp/extended.h: Likewise.
3723 * soft-fp/extendsfdf2.c: Likewise.
3724 * soft-fp/extendsftf2.c: Likewise.
3725 * soft-fp/extendxftf2.c: Likewise.
3726 * soft-fp/fixdfdi.c: Likewise.
3727 * soft-fp/fixdfsi.c: Likewise.
3728 * soft-fp/fixdfti.c: Likewise.
3729 * soft-fp/fixsfdi.c: Likewise.
3730 * soft-fp/fixsfsi.c: Likewise.
3731 * soft-fp/fixsfti.c: Likewise.
3732 * soft-fp/fixtfdi.c: Likewise.
3733 * soft-fp/fixtfsi.c: Likewise.
3734 * soft-fp/fixtfti.c: Likewise.
3735 * soft-fp/fixunsdfdi.c: Likewise.
3736 * soft-fp/fixunsdfsi.c: Likewise.
3737 * soft-fp/fixunsdfti.c: Likewise.
3738 * soft-fp/fixunssfdi.c: Likewise.
3739 * soft-fp/fixunssfsi.c: Likewise.
3740 * soft-fp/fixunssfti.c: Likewise.
3741 * soft-fp/fixunstfdi.c: Likewise.
3742 * soft-fp/fixunstfsi.c: Likewise.
3743 * soft-fp/fixunstfti.c: Likewise.
3744 * soft-fp/floatdidf.c: Likewise.
3745 * soft-fp/floatdisf.c: Likewise.
3746 * soft-fp/floatditf.c: Likewise.
3747 * soft-fp/floatsidf.c: Likewise.
3748 * soft-fp/floatsisf.c: Likewise.
3749 * soft-fp/floatsitf.c: Likewise.
3750 * soft-fp/floattidf.c: Likewise.
3751 * soft-fp/floattisf.c: Likewise.
3752 * soft-fp/floattitf.c: Likewise.
3753 * soft-fp/floatundidf.c: Likewise.
3754 * soft-fp/floatundisf.c: Likewise.
3755 * soft-fp/floatunditf.c: Likewise.
3756 * soft-fp/floatunsidf.c: Likewise.
3757 * soft-fp/floatunsisf.c: Likewise.
3758 * soft-fp/floatunsitf.c: Likewise.
3759 * soft-fp/floatuntidf.c: Likewise.
3760 * soft-fp/floatuntisf.c: Likewise.
3761 * soft-fp/floatuntitf.c: Likewise.
3762 * soft-fp/fmadf4.c: Likewise.
3763 * soft-fp/fmasf4.c: Likewise.
3764 * soft-fp/fmatf4.c: Likewise.
3765 * soft-fp/gedf2.c: Likewise.
3766 * soft-fp/gesf2.c: Likewise.
3767 * soft-fp/getf2.c: Likewise.
3768 * soft-fp/ledf2.c: Likewise.
3769 * soft-fp/lesf2.c: Likewise.
3770 * soft-fp/letf2.c: Likewise.
3771 * soft-fp/muldf3.c: Likewise.
3772 * soft-fp/mulsf3.c: Likewise.
3773 * soft-fp/multf3.c: Likewise.
3774 * soft-fp/negdf2.c: Likewise.
3775 * soft-fp/negsf2.c: Likewise.
3776 * soft-fp/negtf2.c: Likewise.
3777 * soft-fp/op-1.h: Likewise.
3778 * soft-fp/op-2.h: Likewise.
3779 * soft-fp/op-4.h: Likewise.
3780 * soft-fp/op-8.h: Likewise.
3781 * soft-fp/op-common.h: Likewise.
3782 * soft-fp/quad.h: Likewise.
3783 * soft-fp/single.h: Likewise.
3784 * soft-fp/soft-fp.h: Likewise.
3785 * soft-fp/sqrtdf2.c: Likewise.
3786 * soft-fp/sqrtsf2.c: Likewise.
3787 * soft-fp/sqrttf2.c: Likewise.
3788 * soft-fp/subdf3.c: Likewise.
3789 * soft-fp/subsf3.c: Likewise.
3790 * soft-fp/subtf3.c: Likewise.
3791 * soft-fp/truncdfsf2.c: Likewise.
3792 * soft-fp/trunctfdf2.c: Likewise.
3793 * soft-fp/trunctfsf2.c: Likewise.
3794 * soft-fp/trunctfxf2.c: Likewise.
3795 * soft-fp/unorddf2.c: Likewise.
3796 * soft-fp/unordsf2.c: Likewise.
3797 * soft-fp/unordtf2.c: Likewise.
3798
9ebb0332
JM
37992013-10-15 Joseph Myers <joseph@codesourcery.com>
3800
3801 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3802 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3803
4b1a6d8b
OB
38042013-10-15 Ondřej Bílka <neleai@seznam.cz>
3805
3806 * elf/dl-libc.c: Clear initfini list after freeing.
3807
1e145589
JM
38082013-10-14 Joseph Myers <joseph@codesourcery.com>
3809
3810 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3811 * soft-fp/addsf3.c: Likewise.
3812 * soft-fp/addtf3.c: Likewise.
3813 * soft-fp/divdf3.c: Likewise.
3814 * soft-fp/divsf3.c: Likewise.
3815 * soft-fp/divtf3.c: Likewise.
3816 * soft-fp/double.h: Likewise.
3817 * soft-fp/eqdf2.c: Likewise.
3818 * soft-fp/eqsf2.c: Likewise.
3819 * soft-fp/eqtf2.c: Likewise.
3820 * soft-fp/extenddftf2.c: Likewise.
3821 * soft-fp/extended.h: Likewise.
3822 * soft-fp/extendsfdf2.c: Likewise.
3823 * soft-fp/extendsftf2.c: Likewise.
3824 * soft-fp/extendxftf2.c: Likewise.
3825 * soft-fp/fixdfdi.c: Likewise.
3826 * soft-fp/fixdfsi.c: Likewise.
3827 * soft-fp/fixdfti.c: Likewise.
3828 * soft-fp/fixsfdi.c: Likewise.
3829 * soft-fp/fixsfsi.c: Likewise.
3830 * soft-fp/fixsfti.c: Likewise.
3831 * soft-fp/fixtfdi.c: Likewise.
3832 * soft-fp/fixtfsi.c: Likewise.
3833 * soft-fp/fixtfti.c: Likewise.
3834 * soft-fp/fixunsdfdi.c: Likewise.
3835 * soft-fp/fixunsdfsi.c: Likewise.
3836 * soft-fp/fixunsdfti.c: Likewise.
3837 * soft-fp/fixunssfdi.c: Likewise.
3838 * soft-fp/fixunssfsi.c: Likewise.
3839 * soft-fp/fixunssfti.c: Likewise.
3840 * soft-fp/fixunstfdi.c: Likewise.
3841 * soft-fp/fixunstfsi.c: Likewise.
3842 * soft-fp/fixunstfti.c: Likewise.
3843 * soft-fp/floatdidf.c: Likewise.
3844 * soft-fp/floatdisf.c: Likewise.
3845 * soft-fp/floatditf.c: Likewise.
3846 * soft-fp/floatsidf.c: Likewise.
3847 * soft-fp/floatsisf.c: Likewise.
3848 * soft-fp/floatsitf.c: Likewise.
3849 * soft-fp/floattidf.c: Likewise.
3850 * soft-fp/floattisf.c: Likewise.
3851 * soft-fp/floattitf.c: Likewise.
3852 * soft-fp/floatundidf.c: Likewise.
3853 * soft-fp/floatundisf.c: Likewise.
3854 * soft-fp/floatunsidf.c: Likewise.
3855 * soft-fp/floatunsisf.c: Likewise.
3856 * soft-fp/floatuntidf.c: Likewise.
3857 * soft-fp/floatuntisf.c: Likewise.
3858 * soft-fp/floatuntitf.c: Likewise.
3859 * soft-fp/fmadf4.c: Likewise.
3860 * soft-fp/fmasf4.c: Likewise.
3861 * soft-fp/fmatf4.c: Likewise.
3862 * soft-fp/gedf2.c: Likewise.
3863 * soft-fp/gesf2.c: Likewise.
3864 * soft-fp/getf2.c: Likewise.
3865 * soft-fp/ledf2.c: Likewise.
3866 * soft-fp/lesf2.c: Likewise.
3867 * soft-fp/letf2.c: Likewise.
3868 * soft-fp/muldf3.c: Likewise.
3869 * soft-fp/mulsf3.c: Likewise.
3870 * soft-fp/multf3.c: Likewise.
3871 * soft-fp/negdf2.c: Likewise.
3872 * soft-fp/negsf2.c: Likewise.
3873 * soft-fp/negtf2.c: Likewise.
3874 * soft-fp/op-1.h: Likewise.
3875 * soft-fp/op-2.h: Likewise.
3876 * soft-fp/op-4.h: Likewise.
3877 * soft-fp/op-8.h: Likewise.
3878 * soft-fp/op-common.h: Likewise.
3879 * soft-fp/quad.h: Likewise.
3880 * soft-fp/single.h: Likewise.
3881 * soft-fp/soft-fp.h: Likewise.
3882 * soft-fp/sqrtdf2.c: Likewise.
3883 * soft-fp/sqrtsf2.c: Likewise.
3884 * soft-fp/sqrttf2.c: Likewise.
3885 * soft-fp/subdf3.c: Likewise.
3886 * soft-fp/subsf3.c: Likewise.
3887 * soft-fp/subtf3.c: Likewise.
3888 * soft-fp/truncdfsf2.c: Likewise.
3889 * soft-fp/trunctfdf2.c: Likewise.
3890 * soft-fp/trunctfsf2.c: Likewise.
3891 * soft-fp/trunctfxf2.c: Likewise.
3892 * soft-fp/unorddf2.c: Likewise.
3893 * soft-fp/unordsf2.c: Likewise.
3894 * soft-fp/unordtf2.c: Likewise.
3895
17c48a60
OB
38962013-10-14 Ondřej Bílka <neleai@seznam.cz>
3897
3898 [BZ #15672]
3899 * misc/error.c (error_tail): Fix possible buffer overflow.
3900
cabba934
OB
39012013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3902
3903 [BZ #13028]
3904 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3905 address.
3906
94bf958a
PM
39072013-10-14 P. J. McDermott <pj@pehjota.net>
3908
3909 [BZ #832]
3910 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3911 testing pipefail option.
3912
71b4dea7
JM
39132013-10-12 Joseph Myers <joseph@codesourcery.com>
3914
3915 * soft-fp/double.h: Indent preprocessor directives inside #if.
3916 * soft-fp/extended.h: Likewise.
3917 * soft-fp/op-2.h: Likewise.
3918 * soft-fp/op-4.h: Likewise.
3919 * soft-fp/op-common.h: Likewise.
3920 * soft-fp/quad.h: Likewise.
3921 * soft-fp/single.h: Likewise.
3922 * soft-fp/soft-fp.h: Likewise.
3923
55602758
YC
39242013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3925
3926 * iconv/iconv_prog.c: Fix typos.
3927 * stdio-common/psiginfo-data.h: Likewise.
3928
9cd83302
RT
39292013-10-12 Reuben Thomas <rrt@sc3d.org>
3930
3931 [BZ #15764]
3932 * locale/setlocale.c: Fix typo.
3933
99fd9f47
JM
39342013-10-12 Joseph Myers <joseph@codesourcery.com>
3935
b7ea74f0
JM
3936 [BZ #16036]
3937 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3938 signaling NaN arguments.
3939 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3940 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3941
8a509447
JM
3942 [BZ #14910]
3943 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3944 unordered operands.
3945 * soft-fp/gesf2.c (__gesf2): Likewise.
3946 * soft-fp/getf2.c (__getf2): Likewise.
3947 * soft-fp/ledf2.c (__ledf2): Likewise.
3948 * soft-fp/lesf2.c (__lesf2): Likewise.
3949 * soft-fp/letf2.c (__letf2): Likewise.
3950
98998e9f
JM
3951 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3952 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3953 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3954 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3955 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3956 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3957 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3958 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3959 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3960 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3961 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3962 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3963 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3964 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3965 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3966 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3967 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3968 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3969 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3970 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3971 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3972 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3973 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3974 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3975 * soft-fp/floattidf.c (__floattidf): Likewise.
3976 * soft-fp/floattisf.c (__floattisf): Likewise.
3977 * soft-fp/floattitf.c (__floattitf): Likewise.
3978 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3979 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3980 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3981 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3982 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3983 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3984 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3985 * soft-fp/gesf2.c (__gesf2): Likewise.
3986 * soft-fp/getf2.c (__getf2): Likewise.
3987 * soft-fp/ledf2.c (__ledf2): Likewise.
3988 * soft-fp/lesf2.c (__lesf2): Likewise.
3989 * soft-fp/letf2.c (__letf2): Likewise.
3990
8edc4a11
JM
3991 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3992 Undefine and redefine.
3993 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3994 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3995 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3996 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3997 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3998 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3999 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4000 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4001 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4002 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4003 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4004 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4005 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4006 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4007 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4008
8399acaf
JM
4009 [BZ #16032]
4010 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4011 without decrementing exponent if mantissa >= that for the
4012 denominator, not >.
4013 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4014 denominator, not >. Decrement exponent in < case instead of
4015 incrementing in >= case.
4016 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4017 without decrementing exponent if mantissa >= that for the
4018 denominator, not >.
4019
99fd9f47
JM
4020 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4021 computing saturated result for unsigned overflow.
4022
10e1cf6b
SP
40232013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4024 Jeff Law <law@redhat.com>
4025
4026 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4027 (atan2Mp): Add systemtap probe marker.
4028 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4029 (__ieee754_log): Add systemtap probe marker.
4030 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4031 (atanMp): Add systemtap probe marker.
4032 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4033 (tanMp): Add systemtap probe marker.
4034 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4035 (__slowexp): Add systemtap probe marker.
4036 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4037 (__slowpow): Add systemtap probe marker.
4038 * manual/probes.texi: Document probes.
4039
3d110c7c
EB
40402013-10-11 Eric Biggers <ebiggers3@gmail.com>
4041
4042 [BZ #15362]
4043 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4044 written.
4045 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4046 written.
4047 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4048 written to buffer but not flushed.
4049 * libio/iofwrite_u.c: Likewise.
4050 * libio/iopadn.c: Return bytes returned even if EOF was
4051 encountered.
4052 * libio/iowpadn.c: Likewise.
4053 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4054 if _IO_padn does not write the whole buffer.
4055 [!COMPILE_WPRINTF] (PAD): Likewise.
4056
75b4202a
DM
40572013-10-10 David S. Miller <davem@davemloft.net>
4058
4059 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4060 directory block.
4061
6c6352e6
JM
40622013-10-10 Joseph Myers <joseph@codesourcery.com>
4063
33b853c3
JM
4064 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4065 instead of FSF address.
4066 * soft-fp/fixdfti.c: Likewise.
4067 * soft-fp/fixsfti.c: Likewise.
4068 * soft-fp/fixtfti.c: Likewise.
4069 * soft-fp/fixunsdfti.c: Likewise.
4070 * soft-fp/fixunssfti.c: Likewise.
4071 * soft-fp/fixunstfti.c: Likewise.
4072 * soft-fp/floattidf.c: Likewise.
4073 * soft-fp/floattisf.c: Likewise.
4074 * soft-fp/floattitf.c: Likewise.
4075 * soft-fp/floatuntidf.c: Likewise.
4076 * soft-fp/floatuntisf.c: Likewise.
4077 * soft-fp/floatuntitf.c: Likewise.
4078 * soft-fp/trunctfxf2.c: Likewise.
4079
6c6352e6
JM
4080 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4081 * soft-fp/fixdfti.c: Likewise.
4082 * soft-fp/fixsfti.c: Likewise.
4083 * soft-fp/fixtfti.c: Likewise.
4084 * soft-fp/fixunsdfti.c: Likewise.
4085 * soft-fp/fixunssfti.c: Likewise.
4086 * soft-fp/fixunstfti.c: Likewise.
4087 * soft-fp/floattidf.c: Likewise.
4088 * soft-fp/floattisf.c: Likewise.
4089 * soft-fp/floattitf.c: Likewise.
4090 * soft-fp/floatuntidf.c: Likewise.
4091 * soft-fp/floatuntisf.c: Likewise.
4092 * soft-fp/floatuntitf.c: Likewise.
4093 * soft-fp/trunctfxf2.c: Likewise.
4094
3bf78b71
DM
40952013-10-10 David S. Miller <davem@davemloft.net>
4096
4097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4098
6f10289e
JM
40992013-10-10 Joseph Myers <joseph@codsourcery.com>
4100
bd878fc0
JM
4101 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4102 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4103 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4104 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4105 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4106 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4107 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4108
6f10289e
JM
4109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4110 for NaNs before doing comparisons on argument.
4111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4112 Likewise.
4113
321e2684
WN
41142013-10-10 Will Newton <will.newton@linaro.org>
4115
4116 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4117 passed to _int_memalign does not overflow.
4118
40fefba1
TR
41192013-10-10 Torvald Riegel <triegel@redhat.com>
4120
4121 * scripts/bench.pl: Add include-sources directive.
4122 * benchtests/README: Update documentation.
4123
2ae21ed2
JM
41242013-10-10 Joseph Myers <joseph@codesourcery.com>
4125
dcc2dd3f
JM
4126 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4127 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4128 instead of FP_INIT_ROUNDMODE.
4129 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4130 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4131
2ae21ed2
JM
4132 [BZ #16034]
4133 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4134 copy class of input value.
4135 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4136 not handle exceptions.
4137 * soft-fp/negsf2.c (__negsf2): Likewise.
4138 * soft-fp/negtf2.c (__negtf2): Likewise.
4139 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4140
cb8f9562
JM
41412013-10-09 Joseph Myers <joseph@codesourcery.com>
4142
4143 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4144 semicolon. From Linux kernel.
4145
5b60c59d
AB
41462013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4147
4148 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4149
b86835ca
YC
41502013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4151
4152 [BZ #156]
4153 * manual/socket.texi: Added statement about buffer
4154 for gethostbyname2_r.
4155
e7044ea7
OB
41562013-10-08 Ondřej Bílka <neleai@seznam.cz>
4157
4158 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4159 Use .p2align directive instead, throughout.
4160 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4161 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4162 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4165 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4166 * sysdeps/x86_64/strchr.S: Likewise.
4167 * sysdeps/x86_64/strrchr.S: Likewise.
4168
09544cbc
SP
41692013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4170
88576635
SP
4171 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4172
e7b2d1dd
SP
4173 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4174
09544cbc
SP
4175 * sysdeps/generic/math_private.h (__mpsin1): Remove
4176 declaration.
4177 (__mpcos1): Likewise.
4178 (__mpsin): New argument __range_reduce.
4179 (__mpcos): Likewise.
4180 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4181 (slow): Use __mpsin and __mpcos.
4182 (slow1): Likewise.
4183 (slow2): Likewise.
4184 (sloww): Likewise.
4185 (sloww1): Likewise.
4186 (sloww2): Likewise.
4187 (bsloww): Likewise.
4188 (bsloww1): Likewise.
4189 (bsloww2): Likewise.
4190 (cslow2): Likewise.
4191 (csloww): Likewise.
4192 (csloww1): Likewise.
4193 (csloww2): Likewise.
4194 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4195 range_reduce. Merge in __mpsin1.
4196 (__mpcos): Likewise.
4197 (__mpsin1): Remove.
4198 (__mpcos1): Likewise.
4199
7602d070
JM
42002013-10-07 Joseph Myers <joseph@codesourcery.com>
4201
4202 * locale/loadlocale.c (_nl_intern_locale_data): Use
4203 LOCFILE_ALIGNED_P.
4204 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4205 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4206 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4207 obstack data is appropriately aligned.
4208 (obstack_int32_grow_fast): Likewise.
4209 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4210 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4211 (add_locale_uint32_array): Likewise.
4212
a357259b
SP
42132013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4214
4215 * benchtests/Makefile: Remove ARGLIST and RET variables.
4216 ($(objpfx)bench-%.c): Pass only function name to the script.
4217 * benchtests/README: Update documentation.
4218 * benchtests/acos-inputs: Add new directives.
4219 * benchtests/acosh-inputs: Likewise.
4220 * benchtests/asin-inputs: Likewise.
4221 * benchtests/asinh-inputs: Likewise.
4222 * benchtests/atan-inputs: Likewise.
4223 * benchtests/atanh-inputs: Likewise.
4224 * benchtests/cos-inputs: Likewise.
4225 * benchtests/cosh-inputs: Likewise.
4226 * benchtests/exp-inputs: Likewise.
4227 * benchtests/log-inputs: Likewise.
4228 * benchtests/pow-inputs: Likewise.
4229 * benchtests/rint-inputs: Likewise.
4230 * benchtests/sin-inputs: Likewise.
4231 * benchtests/sinh-inputs: Likewise.
4232 * benchtests/tan-inputs: Likewise.
4233 * benchtests/tanh-inputs: Likewise.
4234 * scripts/bench.pl: Add support for new directives.
4235
9ec1b13d
AM
42362013-10-07 Alan Modra <amodra@gmail.com>
4237
4238 * README: Fix careless merge.
4239
8b7d57cd
AM
42402013-10-05 Alan Modra <amodra@gmail.com>
4241
4242 * NEWS: Mention powerpc64le support and bugs fixed.
4243 * README: Both big-endian and little-endian powerpc64 supported.
4244
7b7bab13
ST
42452013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4246
4247 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4248 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4249 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4250 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4251
d39baad1
RA
42522013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4253
4254 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4255 match prototype.
4256
cd78f7e7
JM
42572013-10-04 Joseph Myers <joseph@codesourcery.com>
4258
29d73d86
JM
4259 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4260 Move -mhard-float appending from
4261 ports/sysdeps/powerpc/powerpc32/Makefile.
4262 [$(with-fp) = yes] (ASFLAGS): Likewise.
4263 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4264 * sysdeps/powerpc/nofpu: Move directory from
4265 ports/sysdeps/powerpc/nofpu.
4266 * sysdeps/powerpc/soft-fp: Move directory from
4267 ports/sysdeps/powerpc/soft-fp.
4268 * sysdeps/powerpc/powerpc32/405: Move directory from
4269 ports/sysdeps/powerpc/powerpc32/405.
4270 * sysdeps/powerpc/powerpc32/440: Move directory from
4271 ports/sysdeps/powerpc/powerpc32/440.
4272 * sysdeps/powerpc/powerpc32/464: Move directory from
4273 ports/sysdeps/powerpc/powerpc32/464.
4274 * sysdeps/powerpc/powerpc32/476: Move directory from
4275 ports/sysdeps/powerpc/powerpc32/476.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4277 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4279 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4281 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4283 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4285 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4286 * README: Update for powerpc-*-linux-gnu software floating point
4287 support in libc.
4288
e246b347
JM
4289 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4290 case to powerpc/powerpc32*.
4291 * sysdeps/unix/sysv/linux/configure: Regenerated.
4292
89c2003e
JM
4293 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4294 (_FPU_MASK_OM): Define as 0x04.
4295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4297 0x00c10080.
4298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4299 0x0000003c.
4300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4301
cd78f7e7
JM
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4303 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4304 getcontext_e500.
4305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4306 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4307 setcontext_e500.
4308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4309 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4310 and setcontext_e500.
4311
c755294d
CL
43122013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4313
4314 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4315
e16d221c
SP
43162013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4317
4318 * manual/threads.texi (Default Thread Attributes): Fix typo.
4319
215c7d43
WN
43202013-10-04 Will Newton <will.newton@linaro.org>
4321
4322 * malloc/Makefile: Add tst-memalign.
4323 * malloc/tst-memalign.c: New file.
4324
27d0461b
WN
4325 * malloc/tst-posix_memalign.c: Add comments.
4326 (do_test): Add comments and call free on all potentially
4327 allocated pointers. Add space after cast.
4328
1bc92709
WN
4329 * malloc/tst-pvalloc.c: Add comments.
4330 (do_test): Add comments and call free on all potentially
4331 allocated pointers. Remove duplicate check for NULL pointer.
4332 Add space after cast.
4333
66a9be9d
WN
4334 * malloc/tst-valloc.c: Add comments.
4335 (do_test): Add comments and call free on all potentially
4336 allocated pointers. Remove duplicate check for NULL pointer.
4337 Add space after cast.
4338
4cb81307
AM
43392013-10-04 Alan Modra <amodra@gmail.com>
4340
4341 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4342 Use stdint types in rather than __attribute__((mode())).
4343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4344
f8e3e9f3
AM
43452013-10-04 Alan Modra <amodra@gmail.com>
4346
4347 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4348 Correct handling of unaligned relocs for little-endian.
4349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4350
8f9ebb08
AM
43512013-10-04 Alan Modra <amodra@gmail.com>
4352
4353 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4354 * configure: Regenerate.
4355 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4356 * shlib-versions: Likewise.
4357
0edf96c2
AM
43582013-10-04 Alan Modra <amodra@gmail.com>
4359
4360 * string/tester.c (test_memrchr): Increment reported test cycle.
4361
e0f7a380
AM
43622013-10-04 Alan Modra <amodra@gmail.com>
4363
4364 * string/test-memcpy.c (do_one_test): When reporting errors, print
4365 string address and don't overrun end of string.
4366
466b0393
AM
43672013-10-04 Alan Modra <amodra@gmail.com>
4368
4369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4370 insrdi. Make better use of reg selection to speed exit slightly.
4371 Schedule entry path a little better. Remove useless "are we done"
4372 checks on entry to main loop. Handle wrapping around zero address.
4373 Correct main loop count. Handle single left-over word from main
4374 loop inline rather than by using loop_small. Remove extra word
4375 case in loop_small caused by wrong loop count. Add little-endian
4376 support.
4377 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4379 cache hint.
4380 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4381 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4382 support. Avoid rlwimi.
4383 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4384
3be87c77
AM
43852013-10-04 Alan Modra <amodra@gmail.com>
4386
4387 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4388 insrdi. Formatting.
3be87c77
AM
4389 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4390 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4391 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4392 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4393 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4394 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4395
759cfef3
AM
43962013-10-04 Alan Modra <amodra@gmail.com>
4397
4398 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4399 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4400 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4401 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4402 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4403 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4404 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4405 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4406 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4407 use of regs. Use power7 mtocrf. Tidy function tails.
4408
fe6e95d7
AM
44092013-10-04 Alan Modra <amodra@gmail.com>
4410
4411 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4412 Formatting. Consistently use rXXX register defines or rN defines.
4413 Use early exit labels that avoid restoring unused non-volatile regs.
4414 Make cr field use more consistent with rWORDn compares. Rename
4415 regs used as shift registers for unaligned loop, using rN defines
4416 for short lifetime/multiple use regs.
4417 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4418 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4419 addi 1,1,64 to pop stack frame. Simplify return value code.
4420 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4421
664318c3
AM
44222013-10-04 Alan Modra <amodra@gmail.com>
4423
4424 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4425 support. Correct typos, formatting. Optimize tail. Use insrdi
4426 rather than rlwimi.
4427 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4428 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4429 little-endian support. Correct typos.
4430 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4431 rather than rlwimi.
4432 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4433 in loop and entry code to keep "and." results.
4434 (strchr): Add little-endian support. Comment. Move cntlzd
4435 earlier in tail.
4436 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4437
43b84013
AM
44382013-10-04 Alan Modra <amodra@gmail.com>
4439
4440 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4441 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4442 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4443 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4444
8a7413f9
AM
44452013-10-04 Alan Modra <amodra@gmail.com>
4446
4447 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4448 (rTMP): Define as r11.
4449 (strcmp): Add little-endian support. Optimise tail.
4450 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4451 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4452 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4453 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4454 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4457
33ee81de
AM
44582013-10-04 Alan Modra <amodra@gmail.com>
4459
4460 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4461 little-endian support. Remove unnecessary "are we done" tests.
4462 Handle "s" wrapping around zero and extremely large "size".
4463 Correct main loop count. Handle single left-over word from main
4464 loop inline rather than by using small_loop. Correct comments.
4465 Delete "zero" tail, use "end_max" instead.
4466 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4467
db9b4570
AM
44682013-10-04 Alan Modra <amodra@gmail.com>
4469
4470 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4471 support. Don't branch over align.
4472 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4473 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4474 support. Rearrange tmp reg use to suit. Comment.
4475 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4476
f7c399cf
AM
44772013-10-04 Alan Modra <amodra@gmail.com>
4478
4479 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4480
0b2c2ace
AM
44812013-10-04 Alan Modra <amodra@gmail.com>
4482
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4484 conditional form of branch and link when obtaining pc.
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4486
02f04a6c
AM
44872013-10-04 Alan Modra <amodra@gmail.com>
4488
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4490 HIWORD/LOWORD.
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4493
9b874b2f
AM
44942013-10-04 Alan Modra <amodra@gmail.com>
4495
4496 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4497 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4498 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4499 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4500 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4501 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4502 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4503 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4504 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4505 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4506
be1e5d31
AB
45072013-10-04 Anton Blanchard <anton@au1.ibm.com>
4508 Alistair Popple <alistair@ozlabs.au.ibm.com>
4509 Alan Modra <amodra@gmail.com>
4510
4511 [BZ #15723]
4512 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4513 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4514 _dl_hwcap access for little-endian.
4515 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4516 destroy vmx regs when saving unaligned.
4517 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4518 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4519 destroy vmx regs when saving unaligned.
4520
fef13a78
AM
45212013-10-04 Alan Modra <amodra@gmail.com>
4522
4523 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4524 Don't use a union to pack hi/low value.
4525
76a66d51
AB
45262013-10-04 Anton Blanchard <anton@au1.ibm.com>
4527
4528 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4529 for little-endian.
4530 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4531 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4532 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4533 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4534 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4535
6a31fe7f
AM
45362013-10-04 Alan Modra <amodra@gmail.com>
4537
4538 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4539 constants to usual value for .cst8 section, and remove redundant
4540 high address load.
4541 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4542 constant for 0x1p52. Load little-endian words of double from
4543 correct stack offsets.
4544
7b88401f
AM
45452013-10-04 Alan Modra <amodra@gmail.com>
4546
4547 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4548 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4549 words of double from correct stack offsets.
4550 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4551 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4552 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4553 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4554 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4555 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4556 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4557 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4559 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4560 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4561 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4562 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4563 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4564 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4565 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4566 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4567
9c008155
AM
45682013-10-04 Alan Modra <amodra@gmail.com>
4569
4570 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4571 64-bit int/double union.
4572 (_FPU_SETCW): Likewise.
4573 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4574 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4575
da13146d
AM
45762013-10-04 Alan Modra <amodra@gmail.com>
4577
4578 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4579 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4580
603e8410
AM
45812013-10-04 Alan Modra <amodra@gmail.com>
4582
4583 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4584 use vector int constants.
4585 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4586
4a28b3ca
AB
45872013-10-04 Anton Blanchard <anton@au1.ibm.com>
4588
4589 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4590 array with long long.
4591 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4592 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4593 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4594 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4595 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4596 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4597 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4598 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4599 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4600 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4601 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4602 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4603 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4604
2ca85d2b
AB
46052013-10-04 Anton Blanchard <anton@au1.ibm.com>
4606
4607 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4608 (__signbit): Likewise. Correct for little-endian.
4609 (__signbitl): Call __signbit.
4610 (lrint): Correct for little-endian.
4611 (lrintf): Call lrint.
4612
62a728ae
AM
46132013-10-04 Alan Modra <amodra@gmail.com>
4614
4615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4616 union 32-bit int array member with 64-bit int array.
4617 (t515, tm256): Double rather than long double.
4618 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4619
32c301df
AM
46202013-10-04 Alan Modra <amodra@gmail.com>
4621
4622 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4623 Delete.
4624 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4625 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4626 version of math_ldbl.h.
4627
650ef4bd
AM
46282013-10-04 Alan Modra <amodra@gmail.com>
4629
4630 [BZ #15734], [BZ #15735]
4631 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4632 all uses of ieee875 long double macros and unions. Simplify test
4633 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4634 ldbl_extract_mantissa value for ix,iy exponents. Properly
4635 normalize after ldbl_extract_mantissa, and don't add hidden bit
4636 already handled. Don't treat low word of ieee854 mantissa like
4637 low word of IBM long double and mask off bit when testing for
4638 zero.
4639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4640 all uses of ieee875 long double macros and unions. Simplify tests
4641 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4642 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4643 two1022, instead use their values. Recognise that tests for large
4644 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4645 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4646 Rewrite all uses of ieee875 long double macros and unions. Simplify
4647 test for 0.0L and nan. Correct negation.
4648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4649 ieee875 long double macros and unions. Correct output for large
4650 magnitude x. Correct absolute value calculation.
4651 (__erfcl): Likewise.
4652 * math/libm-test.inc: Add tests for errors discovered in IBM long
4653 double versions of fmodl, remainderl, erfl and erfcl.
4654
765714ca
AM
46552013-10-04 Alan Modra <amodra@gmail.com>
4656
4657 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4658 all uses of ieee854 long double macros and unions. Simplify tests
4659 for long doubles that are fully specified by the high double.
4660 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4661 Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4663 Remove dead code too.
4664 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4665 (__ieee754_ynl): Likewise.
4666 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4667 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4669 Remove dead code too.
4670 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4673 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4674 Simplify.
4675 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4676 Simplify.
4677 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4680 Comment on variable precision.
4681 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4683 Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4688 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4689
4ebd120c
AM
46902013-10-04 Alan Modra <amodra@gmail.com>
4691
4692 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4693 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4694 all uses of ieee854 long double macros and unions.
4695 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4696 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4697 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4699 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4701 Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4707 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4708 Simplify sign and nan test too.
4709 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4713 Likewise.
4714 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4716 Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4718 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4721 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4723
1b6adf88
AM
47242013-10-04 Alan Modra <amodra@gmail.com>
4725
4726 * stdio-common/printf_size.c (__printf_size): Don't use
4727 union ieee854_long_double in fpnum union.
4728 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4729 signbit macro to retrieve sign from long double.
4730 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4731 retrieve sign from long double.
4732 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4733 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4734 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4735 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4736 * math/test-misc.c (main): Don't use union ieee854_long_double.
4737
4cf69995
AM
47382013-10-04 Alan Modra <amodra@gmail.com>
4739
4740 [BZ #15680]
4741 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4742 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4743 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4744 calculation. Remove unnecessary test for denormal exponent.
4745 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4746 Correct handling of denormals. Avoid undefined shift behaviour.
4747 Correct normalisation of low mantissa when low double is denormal.
4748 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4749 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4750 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4751 Correct normalisation of low mantissa. Test for overflow of high
4752 mantissa and normalise.
4753 (ldbl_nearbyint): Use more readable constant for two52.
4754 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4755 (__mpn_construct_long_double): Fix test for overflow of high
4756 mantissa and correct normalisation. Avoid undefined shift.
4757
9605ca6c
AM
47582013-10-04 Alan Modra <amodra@gmail.com>
4759
4760 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4761 (union ibm_extended_long_double): Define as an array of ieee754_double.
4762 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4763 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4764 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4765 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4769 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4772 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4773
975569d0
JM
47742013-10-03 Joseph Myers <joseph@codesourcery.com>
4775
d3d23756
JM
4776 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4777 page size instead of calling getpagesize.
4778
975569d0
JM
4779 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4780 (LOCFILE_ALIGN_MASK): Likewise.
4781 (LOCFILE_ALIGN_UP): Likewise.
4782 (LOCFILE_ALIGNED_P): Likewise.
4783 * locale/programs/ld-collate.c (collate_output): Use the new
4784 macros instead of __alignof__ (int32_t).
4785 * locale/weight.h (findidx): Likewise.
4786
b1fe1f2b
OB
47872013-10-03 Ondřej Bílka <neleai@seznam.cz>
4788
4789 [BZ #431]
4790 * manual/string.texi: Fix strncat and wcsncat.
4791
5f855e35
BM
47922013-10-03 Brooks Moses <bmoses@google.com>
4793
4794 [BZ #15915]
4795 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4796 * Makerules: ...here, and adjust associated comments.
4797
3cef6009
WN
47982013-10-02 Will Newton <will.newton@linaro.org>
4799
4800 * malloc/Makefile: Add tst-pvalloc.
4801 * malloc/tst-pvalloc.c: New file.
4802
7815420b
WN
48032013-10-02 Will Newton <will.newton@linaro.org>
4804
4805 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4806 improve test coverage.
4807
4868b204
WN
48082013-10-02 Will Newton <will.newton@linaro.org>
4809
4810 * malloc/Makefile: Add tst-posix_memalign.
4811 * malloc/tst-posix_memalign.c: New file.
4812
29c793b3
EB
48132013-10-01 Eric Blake <eblake@redhat.com>
4814
4815 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4816 Use __THROWNL rather than __THROW on static functions.
4817
fd967522
PM
48182013-09-30 Petr Machata <pmachata@redhat.com>
4819
4820 * elf/elf.h (R_AARCH64_ABS16): New macro.
4821 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4822 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4823 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4824 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4825 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4826 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4827 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4828 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4829 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4830 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4831 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4832 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4833 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4834 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4835 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4836 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4837 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4838 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4839 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4840 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4841 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4842 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4843 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4844 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4845 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4846 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4847 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4848 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4849 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4850 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4851 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4852 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4853 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4854 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4855 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4856 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4857 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4858 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4859 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4860 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4861 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4862 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4863 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4864 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4865 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4866 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4867 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4868 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4869 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4870 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4871 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4872 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4873 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4874 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4875 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4876 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4877 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4878 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4879 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4880 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4881 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4882 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4883 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4884 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4885 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4886 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4887 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4888 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4889 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4890 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4891 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4892 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4893 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4894 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4895 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4896 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4897 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4898 (R_AARCH64_TLSDESC_LDR): Likewise.
4899 (R_AARCH64_TLSDESC_ADD): Likewise.
4900 (R_AARCH64_TLSDESC_CALL): Likewise.
4901
b2179107
AS
49022013-09-30 Andreas Schwab <schwab@suse.de>
4903
4904 [BZ #15048]
4905 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4906 the nss database lookup.
4907 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4909
47f28d0a
MF
49102013-09-28 Mike Frysinger <vapier@gentoo.org>
4911
4912 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4913
49142013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4915
4916 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4917 ${Bash-specific parameter/pattern/string} parameter expansion.
4918 * sysdeps/unix/make-syscalls.sh: Likewise.
4919
f4518a17
KK
49202013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4921
4922 * sysdeps/sh/stackguard-macros.h: New file.
4923
dc1a95c7
OB
49242013-09-26 Ondřej Bílka <neleai@seznam.cz>
4925
4926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4928 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4929 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4930 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4931 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4932
5ebbff8f
AZ
49332013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4934
4935 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4936 Fix thread ID register.
4937
4fd2cf9f
JM
49382013-09-25 Joseph Myers <joseph@codesourcery.com>
4939
4940 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4941 [POSIX || UNIX98]: Require rather than permitting all symbols from
4942 <time.h>.
4943 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4944 element of struct sched_param.
4945 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4946 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4947 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4948 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4949 constant.
4950
12c22bc4
OL
49512013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4952
4953 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4954 argument calculation.
4955
a03d8ea7
JM
49562013-09-24 Joseph Myers <joseph@codesourcery.com>
4957
4958 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4959 Expect macro.
4960 [POSIX] (pthread_attr_t): Do not require type.
4961 [POSIX] (pthread_cond_t): Likewise.
4962 [POSIX] (pthread_condattr_t): Likewise.
4963 [POSIX] (pthread_key_t): Likewise.
4964 [POSIX] (pthread_mutex_t): Likewise.
4965 [POSIX] (pthread_mutexattr_t): Likewise.
4966 [POSIX] (pthread_once_t): Likewise.
4967 [POSIX] (pthread_t): Likewise.
4968 [POSIX-based standards] (pthread_atfork): Expect function.
4969
6055173a
JM
49702013-09-24 Joseph Myers <joseph@codesourcery.com>
4971 Richard Sandiford <richard@codesourcery.com>
4972
4973 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4974 (swap_endianness_p): New extern variable.
4975 (set_big_endian): New inline function.
4976 (maybe_swap_uint32): Likewise.
4977 (maybe_swap_uint32_array): Likewise.
4978 (maybe_swap_uint32_obstack): Likewise.
4979 * locale/programs/locfile.c: Include <stdbool.h>.
4980 (swap_endianness_p): New variable.
4981 (add_locale_uint32): Call maybe_swap_uint32.
4982 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4983 (write_locale_data): Call maybe_swap_uint32_array.
4984 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4985 maybe_swap_uint32.
4986 (obstack_int32_grow_fast): Likewise.
4987 (output_weightwc): Call maybe_swap_uint32_obstack.
4988 (collate_output): Likewise.
4989 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4990 (OPT_LITTLE_ENDIAN): Likewise.
4991 (options): Add --little-endian and --big-endian options.
4992 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4993 * locale/programs/locarchive.c: Include "locfile.h".
4994 (GET): New macro.
4995 (SET): Likewise.
4996 (INC): Likewise.
4997 (create_archive): Use the new macros to access fields of
4998 structures directly mapped from or written to locale archives.
4999 (oldlocrecentcmp): Likewise.
5000 (enlarge_archive): Likewise.
5001 (insert_name): Likewise.
5002 (add_alias): Likewise.
5003 (add_locale): Likewise.
5004 (delete_locales_from_archive): Likewise.
5005 (show_archive_content): Likewise.
5006 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5007 locale data.
5008
39bf0bb4
RM
50092013-09-24 Roland McGrath <roland@hack.frob.com>
5010
5011 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5012 http://www.gnu.org/doc/freemanuals.texi.
5013 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5014
f02eed10
WN
50152013-09-24 Will Newton <will.newton@linaro.org>
5016
5017 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5018 macro.
5019
a3a6c312
JM
50202013-09-23 Joseph Myers <joseph@codesourcery.com>
5021
5022 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5023 unsigned char.
5024
107375ac
MR
50252013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5026
5027 * manual/threads.texi (POSIX Threads): Fix a typo.
5028
141f3a77
SP
50292013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5030
303e567a
SP
5031 [BZ #14547]
5032 * string/tst-strcoll-overflow.c: New test case.
5033 * string/Makefile (xtests): Add tst-strcoll-overflow.
5034 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5035 cache if string sizes may cause integer overflow.
5036
141f3a77
SP
5037 [BZ #14547]
5038 * string/strcoll_l.c (coll_seq): New members rule, idx,
5039 save_idx and back_us.
5040 (get_next_seq_nocache): New function.
5041 (do_compare_nocache): New function.
5042 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5043 when malloc fails.
5044
c61b4d41
CD
50452013-09-23 Carlos O'Donell <carlos@redhat.com>
5046
0b1f8e35
CD
5047 [BZ #15754]
5048 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5049 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5050 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5051
c61b4d41
CD
5052 [BZ #15754]
5053 * elf/Makefile (tests): Add tst-ptrguard1.
5054 (tests-static): Add tst-ptrguard1-static.
5055 (tst-ptrguard1-ARGS): Define.
5056 (tst-ptrguard1-static-ARGS): Define.
5057 * elf/tst-ptrguard1.c: New file.
5058 * elf/tst-ptrguard1-static.c: New file.
5059 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5060 * sysdeps/i386/stackguard-macros.h: Likewise.
5061 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5062 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5063 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5064 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5065 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5066 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5067
50682013-09-23 Hector Marco <hecmargi@upv.es>
5069 Ismael Ripoll <iripoll@disca.upv.es>
5070 Carlos O'Donell <carlos@redhat.com>
5071
5072 [BZ #15754]
5073 * sysdeps/generic/stackguard-macros.h: Define
5074 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5075 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5076 Define __pointer_chk_guard_local.
5077 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5078 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5079
f5f4e7b4
VV
50802013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5081
5082 [BZ #15859]
5083 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5084
5bb43a43
AS
50852013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5086
5087 * include/string.h (__ffs): Declare as hidden.
5088 * string/ffs.c (__ffs): Define as hidden.
5089 * sysdeps/i386/ffs.c (__ffs): Likewise.
5090 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5091 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5092 * sysdeps/s390/ffs.c (__ffs): Likewise.
5093 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5094
3ea5be54
AO
50952013-09-20 Alexandre Oliva <aoliva@redhat.com>
5096
ffb89e53
AO
5097 * NEWS: Mention malloc probes.
5098
322dea08
AO
5099 * malloc/arena.c (new_heap): New memory_heap_new probe.
5100 (grow_heap): New memory_heap_more probe.
5101 (shrink_heap): New memory_heap_less probe.
5102 (heap_trim): New memory_heap_free probe.
5103 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5104 (systrim): New memory_sbrk_less probe.
5105 * manual/probes.texi: Document them.
5106
655673f3
AO
5107 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5108 * manual/probes.texi: Document it.
5109
35fed6f1
AO
5110 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5111 (__libc_realloc): Add memory_realloc_retry probe.
5112 (__libc_memalign): Add memory_memalign_retry probe.
5113 (__libc_valloc): Add memory_valloc_retry probe.
5114 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5115 (__libc_calloc): Add memory_calloc_retry probe.
5116 * manual/probes.texi: Document them.
5117
6999d38c
AO
5118 * malloc/arena.c (get_free_list): Add probe
5119 memory_arena_reuse_free_list.
5120 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5121 and memory_arena_reuse.
5122 (arena_get2) [!PER_THREAD]: Likewise.
5123 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5124 memory_arena_reuse_realloc.
5125 * manual/probes.texi: Document them.
5126
0653427f
AO
5127 * malloc/malloc.c (__libc_free): Add
5128 memory_mallopt_free_dyn_thresholds probe.
5129 (__libc_mallopt): Add multiple memory_mallopt probes.
5130 * manual/probes.texi: Document them.
5131
3ea5be54
AO
5132 * malloc/malloc.c: Include stap-probe.h.
5133 (__libc_mallopt): Add memory_mallopt probe.
5134 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5135 * manual/probes.texi: New.
5136 * manual/Makefile (chapters): Add probes.
5137 * manual/threads.texi: Set next node.
5138
e35696c3 51392013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5140
e35696c3
CL
5141 [BZ #15963, #13985]
5142 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5143 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5144 Add `Chinese' to `nan' entry name.
5145
4aafb73c
SP
51462013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5147
5148 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5149 (POLYNOMIAL): Likewise.
5150 (TAYLOR_SINCOS): Likewise.
5151 (TAYLOR_SLOW): Likewise.
5152 (__sin): Use TAYLOR_SINCOS.
5153 (__cos): Likewise.
5154 (slow): Use TAYLOR_SLOW.
5155 (sloww): Likewise.
5156 (bsloww): Likewise.
5157 (csloww): Likewise.
5158
d84f25c7
LD
51592013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5160
5161 * stdlib/strtod_l.c: Fix buffer overrun.
5162
5eea0404
SP
51632013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5164
7849ff93
SP
5165 * benchtests/Makefile (bench): Add sincos.
5166 * benchtests/bench-sincos.c: New file.
5167
cfa3c886
SP
5168 * math/libm-test.inc (cos_test_data): New test inputs.
5169 (sin_test_data): Likewise.
5170
b348e1e3
SP
5171 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5172 macro.
5173 (__sin): Use it.
5174 (__cos): Likewise.
5175 (slow1): Likewise.
5176 (slow2): Likewise.
5177 (sloww1): Likewise.
5178 (sloww2): Likewise.
5179 (bsloww1): Likewise.
5180 (bsloww2): Likewise.
5181 (cslow2): Likewise.
5182 (csloww1): Likewise.
5183 (csloww2): Likewise.
5184
6cce25f8
SP
5185 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5186 function.
5187 (__sin): Use it.
5188 (__cos): Likewise.
5189
5eea0404
SP
5190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5191 gotos.
5192 (__cos): Likewise.
5193
9c21573c
MR
51942013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5195
5196 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5197 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5198 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5199 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5200 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5201 * elf/cache.c (print_entry): Handle the new cache flags.
5202
24d22e65
JM
52032013-09-18 Joseph Myers <joseph@codesourcery.com>
5204 Aldy Hernandez <aldyh@redhat.com>
5205
5206 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5207 Change condition to [_SOFT_FLOAT].
5208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5220 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5223 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5224 declaration.
5225
d13ef066
JM
52262013-09-18 Joseph Myers <joseph@codesourcery.com>
5227
2e071de0
JM
5228 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5229 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5230 (__longjmp): Use LOAD_GP to load saved GPRs.
5231 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5232 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5233 (__sigsetjmp): Use SAVE_GP to save GPRs.
5234
d13ef066
JM
5235 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5236 Do not append -msoft-float.
5237 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5238
97a0650b
SP
52392013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5240
5241 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5242
11ca09e9
JM
52432013-09-17 Joseph Myers <joseph@codesourcery.com>
5244
5245 [BZ #15966]
5246 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5247 (_FPU_GETCW): Use initial "__" on variable and field names but not
5248 on macro parameter name.
5249 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5250 parentheses around reference to macro parameter.
5251
08ffcf34
RS
52522013-09-13 Richard Sandiford <richard@codesourcery.com>
5253
5254 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5255 prototype.
5256 (ctype_startup): Use uint32_t in cast and sizeof for
5257 ctype->charnames.
5258
ae7080d3
JL
52592013-09-11 Jia Liu <proljc@gmail.com>
5260
5261 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5262 __daddr_t_defined.
5263 [__FreeBSD__]: Likewise.
5264
5905e7b3
OB
52652013-09-11 Ondřej Bílka <neleai@seznam.cz>
5266
5267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5268 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5269 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5270 (strchr): Remove __strchr_sse42 ifunc selection.
5271 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5272 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5273
b987c776
WN
52742013-09-11 Will Newton <will.newton@linaro.org>
5275
5276 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5277 parameter to RES. Remove hardcoded 1000 value.
5278 * benchtests/bench-skeleton.c (main): Pass RES parameter
5279 to TIMING_INIT and multiply result by 1000.
5280
ddf985af
AZ
52812013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5282
5283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5284
ffdd3181
AS
52852013-09-11 Andreas Schwab <schwab@suse.de>
5286
5287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5288 if not defined.
5289 (O_TMPFILE) [__USE_GNU]: Define.
5290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5291 Define.
5292
b73ed247
WN
52932013-09-11 Will Newton <will.newton@linaro.org>
5294
5295 [BZ #15857]
5296 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5297 does not overflow.
5298
55e17aad
WN
52992013-09-11 Will Newton <will.newton@linaro.org>
5300
5301 [BZ #15856]
5302 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5303 does not overflow.
5304
1159a193
WN
53052013-09-11 Will Newton <will.newton@linaro.org>
5306
5307 [BZ #15855]
5308 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5309 does not overflow.
5310
5905e7b3 53112013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5312
5313 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5314 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5318
cdfc721b
AM
53192013-09-10 Allan McRae <allan@archlinux.org>
5320
aa04af00
AM
5321 [BZ #15748]
5322 * manual/arith.texi (Parsing of Floats): Clarify
5323 cross-reference.
5324
cdfc721b
AM
5325 [BZ #15849]
5326 * manual/install.texi (Running make install): Mention
5327 --enable-pt-chown.
5328 * INSTALL: Regenerated.
5329
95e7cf29
MR
53302013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5331
5332 * csu/init-first.c (_init): Remove the !SHARED condition around
5333 FPU control word initialization.
5334 * elf/dl-support.c (_dl_fpu_control): New variable.
5335 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5336 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5337 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5338 * math/test-fpucw-static.c: New file.
5339 * math/test-fpucw-ieee.c: New file.
5340 * math/test-fpucw-ieee-static.c: New file.
5341 * math/Makefile (tests): Add `test-fpucw-ieee' and
5342 `$(tests-static)'.
5343 (tests-static): New variable.
5344 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5345 dependency to...
5346 [($(build-shared),yes)]
5347 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5348 ... this.
5349 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5350 New dependency.
5351
83e43bf0
AM
53522013-09-09 Allan McRae <allan@archlinux.org>
5353
a9f5ce09
AM
5354 [BZ #15939]
5355 * manual/string.texi (Collation Functions): Fix typo in
5356 strcoll example.
5357 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5358
34829bc2
AM
5359 [BZ #15893]
5360 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5361
3932737d
AM
5362 [BZ #15892]
5363 * libio/memstream.c (open_memstream): Fix memory leak.
5364 * libio/wmemstream.c (open_wmemstream): Likewise.
5365
83e43bf0
AM
5366 [BZ #15895]
5367 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5368
0c66b8e9
WN
53692013-09-09 Will Newton <will.newton@linaro.org>
5370
5371 * malloc/Makefile: Add tst-realloc to tests.
5372 * malloc/tst-realloc.c: New file.
5373
f6b00fd1
AM
53742013-09-09 Allan McRae <allan@archlinux.org>
5375
5376 [BZ #15844]
5377 * COPYING: Update from GNU website to fix FSF address.
5378 * COPYING.LIB: Likewise.
5379
eec55e16
DM
53802013-09-06 David S. Miller <davem@davemloft.net>
5381
5382 * po/zh_TW.po: Update Chinese (traditional) translation from
5383 translation project.
5384
1ecbb381
RS
53852013-09-06 Richard Sandiford <richard@codesourcery.com>
5386 Joseph Myers <joseph@codesourcery.com>
5387
5388 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5389 "localeinfo.h".
5390 (obstack_chunk_alloc): New macro.
5391 (obstack_chunk_free): Likewise.
5392 (record_offset): New function.
5393 (init_locale_data): Likewise.
5394 (align_locale_data): Likewise.
5395 (add_locale_empty): Likewise.
5396 (add_locale_raw_data): Likewise.
5397 (add_locale_raw_obstack): Likewise.
5398 (add_locale_string): Likewise.
5399 (add_locale_wstring): Likewise.
5400 (add_locale_uint32): Likewise.
5401 (add_locale_uint32_array): Likewise.
5402 (add_locale_char): Likewise.
5403 (start_locale_structure): Likewise.
5404 (end_locale_structure): Likewise.
5405 (start_locale_prelude): Likewise.
5406 (end_locale_prelude): Likewise.
5407 (write_locale_data): Take locale_file structure rather than an
5408 iovec.
5409 * locale/programs/locfile.h: Include "obstack.h".
5410 (struct locale_file): Change to store locale file contents instead
5411 of header.
5412 (init_locale_data): New prototype.
5413 (align_locale_data): Likewise.
5414 (add_locale_empty): Likewise.
5415 (add_locale_raw_data): Likewise.
5416 (add_locale_raw_obstack): Likewise.
5417 (add_locale_string): Likewise.
5418 (add_locale_wstring): Likewise.
5419 (add_locale_uint32): Likewise.
5420 (add_locale_uint32_array): Likewise.
5421 (add_locale_char): Likewise.
5422 (start_locale_structure): Likewise.
5423 (end_locale_structure): Likewise.
5424 (start_locale_prelude): Likewise.
5425 (end_locale_prelude): Likewise.
5426 (write_locale_data): Update prototype.
5427 * locale/programs/3level.h (struct TABLE): Remove result field.
5428 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5429 Use new locale_file interface.
5430 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5431 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5432 * locale/programs/ld-address.c (address_output): Use new
5433 locale_file interface.
5434 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5435 NO_ADD_LOCALE.
5436 (collate_finish): Don't call collseq_table_finalize.
5437 (collate_output): Use new locale_file interface.
5438 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5439 in file.
5440 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5441 (TABLE): Move defines earlier in file.
5442 (ELEMENT): Likewise.
5443 (DEFAULT): Likewise.
5444 (wctrans_table_add): Move macro and inline function earlier in
5445 file.
5446 (struct wctype_table): Move type earlier in file.
5447 (add_locale_wctype_table): New static prototype.
5448 (struct locale_ctype_t): Use logical types instead of struct iovec
5449 pointers for members.
5450 (ctype_output): Use new locale_file interface.
5451 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5452 new locale_file interface.
5453 (allocate_arrays): Update for use of new locale_file interface.
5454 * locale/programs/ld-identification.c (identification_output): Use
5455 new locale_file interface.
5456 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5457 * locale/programs/ld-messages.c (messages_output): Likewise.
5458 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5459 * locale/programs/ld-name.c (name_output): Likewise.
5460 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5461 * locale/programs/ld-paper.c (paper_output): Likewise.
5462 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5463 * locale/programs/ld-time.c (time_output): Likewise.
5464
e029e2e5
AZ
54652013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5466
5467 * benchtests/Makefile: Add memrchr benchmark.
5468 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5469 benchmark as memrchr.
5470 * benchtests/bench-memrchr-ifunc.c: New file.
5471 * benchtests/bench-memrchr.c: New file.
5472
bbf6e8e4
WN
54732013-09-06 Will Newton <will.newton@linaro.org>
5474
5475 * benchtests/Makefile (string-bench): Add memcpy.
5476
6c82a2f8
CD
54772013-09-05 Carlos O'Donell <carlos@redhat.com>
5478 Cong Wang <amwang@redhat.com>
5479
5480 * sysdeps/unix/sysv/linux/bits/in.h
5481 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5482 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5483 before __USE_KERNEL_IPV6_DEFS uses.
5484 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5485 IPPROTO_BEETPH.
5486 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5487 sockaddr_in6, or ipv6_mreq.
5488
5430fc65
AZ
54892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5490
5491 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5492 memory access for final bytes in some large inputs.
5493 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5494
4660856c
AZ
54952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5496
5497 * string/test-memrchr.c: New file.
5498 * string/test-memrchr-ifunc.c: New file.
5499 * string/Makefile: Add new memrchr testcase.
5500
bb8ea713
MF
55012013-09-05 Mike Frysinger <vapier@gentoo.org>
5502
5503 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5504 fanotify_init returns EPERM.
5505
b92a20b5
JM
55062013-09-04 Joseph Myers <joseph@codesourcery.com>
5507
5508 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5509 errors.
5510 (top level): Treat second token from macro or constant entries for
5511 allowed headers as allowed.
5512 * include/complex.h: Condition internal declarations on
5513 [!_ISOMAC].
5514 * include/fenv.h: Condition include of <stdbool.h> and internal
5515 declarations on [!_ISOMAC].
7447ccd9
CL
5516
55172013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5518
3e181dda 5519 [BZ #15923]
7447ccd9
CL
5520 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5521
3f2e46a4
JM
55222013-09-04 Joseph Myers <joseph@codesourcery.com>
5523
5524 * configure.in (--enable-versioning): Remove configure option.
5525 (libc_cv_asm_symver_directive): Remove configure test.
5526 (libc_cv_ld_version_script_option): Likewise.
5527 (VERSIONING): Remove variable and AC_SUBST.
5528 (DO_VERSIONING): Remove AC_DEFINE.
5529 * configure: Regenerated.
5530 * config.h.in (DO_VERSIONING): Remove macro.
5531 * Makerules [$(versioning) = yes]: Change conditionals to
5532 [$(build-shared) = yes].
5533 * config.make.in (versioning): Remove variable.
5534 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5535 [$(build-shared) = yes].
5536 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5537 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5538 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5539 [$(build-shared) = yes].
5540 * extra-lib.mk [$(versioning) = yes]: Likewise.
5541 * hurd/Makefile [$(versioning) = yes]: Likewise.
5542 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5543 [SHARED].
5544 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5545 [SHARED].
5546 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5547 [SHARED && !NO_HIDDEN].
5548 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5549 [SHARED].
5550 [SHARED && DO_VERSIONING]: Likewise..
5551 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5552 [$(build-shared) = yes].
5553 * manual/install.texi (--disable-versioning): Remove
5554 documentation.
5555 * INSTALL: Regenerated.
5556 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5557 to [SHARED].
5558 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5559 [$(build-shared) = yes].
5560 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5561 * sysdeps/i386/i686/multiarch/strstr-c.c
5562 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5563 [SHARED && !NO_HIDDEN].
5564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5565 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5566 * sysdeps/powerpc/powerpc32/dl-machine.c
5567 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5568 * sysdeps/powerpc/powerpc32/sysdep.h
5569 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5570 to [SHARED && PIC && !NO_HIDDEN].
5571 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5572 conditional to [SHARED].
5573
44558701
WN
55742013-09-04 Will Newton <will.newton@linaro.org>
5575
5576 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5577 * benchtests/bench-string.h: Include bench-timing.h instead
5578 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5579 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5580 call to HP_TIMING_DIFF_INIT.
5581 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5582 instead of hp-timing.h macros.
5583 * benchtests/bench-memchr.c: Likewise.
5584 * benchtests/bench-memcmp.c: Likewise.
5585 * benchtests/bench-memcpy.c: Likewise.
5586 * benchtests/bench-memmem.c: Likewise.
5587 * benchtests/bench-memmove.c: Likewise.
5588 * benchtests/bench-memset.c: Likewise.
5589 * benchtests/bench-rawmemchr.c: Likewise.
5590 * benchtests/bench-strcasecmp.c: Likewise.
5591 * benchtests/bench-strcasestr.c: Likewise.
5592 * benchtests/bench-strcat.c: Likewise.
5593 * benchtests/bench-strchr.c: Likewise.
5594 * benchtests/bench-strcmp.c: Likewise.
5595 * benchtests/bench-strcpy.c: Likewise.
5596 * benchtests/bench-strcpy_chk.c: Likewise.
5597 * benchtests/bench-strlen.c: Likewise.
5598 * benchtests/bench-strncasecmp.c: Likewise.
5599 * benchtests/bench-strncat.c: Likewise.
5600 * benchtests/bench-strncmp.c: Likewise.
5601 * benchtests/bench-strncpy.c: Likewise.
5602 * benchtests/bench-strnlen.c: Likewise.
5603 * benchtests/bench-strpbrk.c: Likewise.
5604 * benchtests/bench-strrchr.c: Likewise.
5605 * benchtests/bench-strspn.c: Likewise.
5606 * benchtests/bench-strstr.c: Likewise.
5607
cae16d66
WN
56082013-09-04 Will Newton <will.newton@linaro.org>
5609
5610 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5611
ffa3cd7f
JM
56122013-09-03 Joseph Myers <joseph@codesourcery.com>
5613
5614 [BZ #15427]
5615 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5616 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5617 * math/libm-test.inc (lgamma_test_data): Add more tests.
5618 * sysdeps/i386/fpu/libm-test-ulps: Update.
5619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5620
8f02859f
OB
56212013-09-03 Ondřej Bílka <neleai@seznam.cz>
5622
5623 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5624 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5625 Add ifunc.
5626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5627 Add strcmp-sse2-unaligned
5628 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5629
18d43716
MF
56302013-09-02 Mike Frysinger <vapier@gentoo.org>
5631
5632 * Versions.def (libc): Add GLIBC_2.19.
5633
ac444012
MF
56342013-09-02 Mike Frysinger <vapier@gentoo.org>
5635
5636 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5637 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5638
b7835e32
JM
56392013-09-02 Joseph Myers <joseph@codesourcery.com>
5640
5641 [BZ #14155]
5642 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5643 intermediate calculations in recurrence.
5644 (__ieee754_ynf): Likewise.
5645 * math/libm-test.inc (jn_test_data): Do not allow spurious
5646 underflow exception. Add more tests.
5647 (yn_test_data): Add more tests.
5648 * sysdeps/i386/fpu/libm-test-ulps: Update.
5649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650
8220f4f0
OB
56512013-09-02 Ondřej Bílka <neleai@seznam.cz>
5652
5653 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5654
f24a6d08
OB
56552013-08-30 Ondřej Bílka <neleai@seznam.cz>
5656
5657 * csu/init-first.c: Fix then/than typos.
5658 * locale/programs/ld-collate.c: Likewise.
5659 * locale/programs/linereader.h: Likewise.
5660 * manual/charset.texi: Likewise.
5661 * manual/filesys.texi: Likewise.
5662 * manual/stdio.texi: Likewise.
5663 * manual/string.texi: Likewise.
5664 * stdlib/fmtmsg.c: Likewise.
5665 * sysdeps/i386/stpncpy.S: Likewise.
5666 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5667 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5668 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5669 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5670
382466e0
OB
56712013-08-30 Ondřej Bílka <neleai@seznam.cz>
5672
5673 * elf/dl-open.c: Fix typos.
5674 * iconvdata/gbbig5.c: Likewise.
5675 * iconvdata/iso-2022-jp.c: Likewise.
5676 * iconv/gconv_int.h: Likewise.
5677 * iconv/loop.c: Likewise.
5678 * nis/rpcsvc/nis.h: Likewise.
5679 * resolv/ns_name.c: Likewise.
5680 * stdio-common/vfscanf.c: Likewise.
5681 * streams/stropts.h: Likewise.
5682 * sunrpc/rpc_thread.c: Likewise.
5683 * sysdeps/i386/strpbrk.S: Likewise.
5684 * sysdeps/ieee754/k_standard.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5687 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5688 * sysdeps/mach/hurd/profil.c: Likewise.
5689 * sysdeps/s390/dl-procinfo.h: Likewise.
5690 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5691 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5692 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5693 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5694 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5695
0186c6e9
OB
56962013-08-30 Ondřej Bílka <neleai@seznam.cz>
5697
5698 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5700
d4e16af1
OB
57012013-08-29 Ondřej Bílka <neleai@seznam.cz>
5702
5703 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5704 aix specific files.
5705 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5706 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5707 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5709 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5711 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5712 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5713
88335980
TS
57142013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5715 Roland McGrath <roland@hack.frob.com>
5716
5717 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5718 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5719
ed479b02
ST
57202013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5721
5722 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5723 __executable_start symbol instead of _start.
5724
f1cc4c86
TS
57252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5726
d821f07c
TS
5727 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5728 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5729 Move macros to...
5730 * sysdeps/gnu/ldsodefs.h: ... this new file.
5731
c54290cf
TS
5732 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5733 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5734 instead of ELFOSABI_LINUX.
5735
0007fc9b 5736 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5737 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5738 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5739 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5740 Likewise.
5741 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5742 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5743 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5744 Likewise.
5745 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5746 (ibm_extended_long_double): Add ieee_nan member.
5747 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5748 (do_test): New function.
5749
f1cc4c86
TS
5750 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5751 TEST_TRUNC.
5752 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5753 functions, renamed from truncdfsf_test, trunctfsf_test,
5754 trunctfdf_test.
5755 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5756 functions.
5757 (do_test): Run all these.
5758
6f65e668
OB
57592013-08-29 Ondřej Bílka <neleai@seznam.cz>
5760
5761 * argp/argp-help.c: Fix typos.
5762 * argp/argp-parse.c: Likewise.
5763 * debug/backtracesyms.c: Likewise.
5764 * elf/elf.h: Likewise.
5765 * malloc/malloc.c: Likewise.
5766 * nis/nis_print.c: Likewise.
5767 * resolv/res_comp.c: Likewise.
5768 * stdlib/stdlib.h: Likewise.
5769 * sunrpc/clnt_tcp.c: Likewise.
5770 * sunrpc/clnt_udp.c: Likewise.
5771 * sunrpc/clnt_unix.c: Likewise.
5772 * sysdeps/unix/bsd/ptsname.c: Likewise.
5773 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5774 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5776 Likewise.
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5778 Likewise.
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5780 Likewise.
6f65e668
OB
5781 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5782
3a309239
SP
57832013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5784
5785 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5787
3b813b29
MF
57882013-08-27 Mike Frysinger <vapier@gentoo.org>
5789
5790 [BZ #15897]
5791 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5792 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5793 ($(objpfx)bug-dl-leaf): New rule.
5794 ($(objpfx)bug-dl-leaf.so): Likewise.
5795 ($(objpfx)bug-dl-leaf.out): Likewise.
5796 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5797 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5798 * dlfcn/bug-dl-leaf.c: New test.
5799 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5800 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5801 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5802 (dlclose): Likewise.
5803 (dlmopen): Likewise.
5804
8cc3269f
RM
58052013-08-27 Roland McGrath <roland@hack.frob.com>
5806
7f9d0034
RM
5807 * include/netdb.h [!_ISOMAC]:
5808 Don't include <tls.h>.
5809 (h_errno, __libc_h_errno): Move declaration and macros out of
5810 [_LIBC_REENTRANT].
5811
fb431262
RM
5812 * include/resolv.h [_RESOLV_H_]:
5813 Don't include <tls.h>.
5814 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5815 * resolv/res_libc.c: Don't include <tls.h>.
5816 (_res): Use __attribute__ ((nocommon)) in place of
5817 __attribute__ ((section (".bss"))).
5818
bd81123a
RM
5819 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5820 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5821
c4e42566
RM
5822 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5823
f890a59b
RM
5824 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5825 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5826
5827 * resolv/res_mkquery.c: Include <sys/time.h>.
5828
5d1f0a09
RM
5829 * inet/ifreq.c: Moved to ...
5830 * sysdeps/unix/ifreq.c: ... here.
5831 * inet/ifreq.c: New file, true stub version.
5832
6fcf28b3
RM
5833 * socket/sa_len.c: New file.
5834 * socket/Makefile (aux): Add it.
5835 * sysdeps/unix/sysv/linux/Makefile
5836 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5837 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5838 and #include <socket/sa_len.c>.
5839 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5840 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5841
e041fb8b
RM
5842 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5843 * bits/socket.h: ... here.
5844
8cc3269f
RM
5845 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5846 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5847 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5848
5d228a43
AS
58492013-08-27 Andreas Schwab <schwab@suse.de>
5850
45b8accc
AS
5851 [BZ #15736]
5852 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5853 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5854 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5855 * string/test-strcasecmp.c (test_main): Run tests in several
5856 locales.
5857 * string/test-strncasecmp.c (test_main): Likewise.
5858
5d228a43
AS
5859 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5860 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5861 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5863 (__strncasecmp_ssse3) [PIC]: Likewise.
5864
59d112a4
RM
58652013-08-26 Roland McGrath <roland@hack.frob.com>
5866
53234cc3
RM
5867 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5868
59d112a4
RM
5869 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5870 instead of explicitly declaring xdecrypt.
5871 * nis/nss_nis/nis-publickey.c: Likewise.
5872
595aba70
SP
58732013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5874
5875 [BZ #15890]
5876 * nscd/aicache.c: Include res_hconf.h.
5877 (addhstaiX): Initialize res_hconf.
5878
ffabd393
AS
58792013-08-26 Andreas Schwab <schwab@suse.de>
5880
5881 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5882 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5883
e0a69f5c
SP
58842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5885
5886 * nscd/aicache.c (addhstaiX): Fix indentation.
5887
8c12f01d
MF
58882013-08-25 Mike Frysinger <vapier@gentoo.org>
5889
5890 * configure.ac: Quote $build_pt_chown test.
5891 * configure: Regenerated.
5892
8fe89494
JM
58932013-08-23 Joseph Myers <joseph@codesourcery.com>
5894
5895 [BZ #15532]
5896 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5897 * math/s_cexpf.c (__cexpf): Likewise.
5898 * math/s_cexpl.c (__cexpl): Likewise.
5899 * math/libm-test.inc (cexp_test_data): Correct expected return
5900 value for NaN + i0. Add another test.
5901
75b181d6
DM
59022013-08-22 David S. Miller <davem@davemloft.net>
5903
5904 * po/ca.po: Update Catalan translation from translation project.
936241e4 5905 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5906
acd06bb1
JM
59072013-08-21 Joseph Myers <joseph@codesourcery.com>
5908
5909 [BZ #15797]
5910 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5911 is infinite, not alongside NaN test.
5912 * math/s_fdimf.c (__fdimf): Likewise.
5913 * math/s_fdiml.c (__fdiml): Likewise.
5914 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5915 errno is unchanged.
5916
c0c3f78a
OB
59172013-08-21 Ondřej Bílka <neleai@seznam.cz>
5918
5919 * argp/argp-help.c: Fix typos.
5920 * crypt/speeds.c: Likewise.
5921 * csu/check_fds.c: Likewise.
5922 * elf/dl-load.c: Likewise.
5923 * elf/dl-open.c: Likewise.
5924 * elf/reldep3.c: Likewise.
5925 * elf/reldep.c: Likewise.
5926 * elf/sprof.c: Likewise.
5927 * iconv/iconv_charmap.c: Likewise.
5928 * iconv/skeleton.c: Likewise.
5929 * iconv/strtab.c: Likewise.
5930 * io/lockf64.c: Likewise.
5931 * libio/libioP.h: Likewise.
5932 * resolv/gai_notify.c: Likewise.
5933 * resolv/ns_name.c: Likewise.
5934 * resolv/ns_samedomain.c: Likewise.
5935 * resolv/res_send.c: Likewise.
5936 * stdlib/random.c: Likewise.
5937 * sunrpc/rpc/xdr.h: Likewise.
5938 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5939 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5940 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5941 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5942 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5945 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5946 * sysdeps/mach/hurd/check_fds.c: Likewise.
5947 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5948 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5949 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5950 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5951 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5952 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5953 * sysdeps/pthread/aio_notify.c: Likewise.
5954 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5955 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5956 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5958 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5959
46ed1038
LD
59602013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5961
5962 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5963 version if bit_Slow_SSE4_2 is set.
5964 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5966
d400dcac
AZ
59672013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5968
5969 [BZ #15867]
5970 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5971 trampoline stack frame information.
5972 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5973 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5974 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5975 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5976 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5977 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5978 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5979 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5980 sa_flags value.
5981 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5982 interrupting a syscall and set with option SA_SIGINFO.
5983
42c8fdd8
JM
59842013-08-20 Joseph Myers <joseph@codesourcery.com>
5985
c980f2f4
JM
5986 [BZ #15531]
5987 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5988 argument is infinite.
5989 * math/s_cprojf.c (__cprojf): Likewise.
5990 * math/s_cprojl.c (__cprojl): Likewise.
5991 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5992 * math/libm-test.inc (cproj_test_data): Add more tests.
5993
0716c4fc
JM
5994 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5995
42c8fdd8
JM
5996 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5997 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5998 size. Use __ffs to determine corresponding shift.
5999
b31469d0
JM
60002013-08-20 Joseph Myers <joseph@codesourcery.com>
6001 Roland McGrath <roland@hack.frob.com>
6002
6003 * Makefile (INSTALL): Remove trailing blank lines from output of
6004 makeinfo.
6005
4e39af6e
AK
60062013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6007
6008 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6009 Align 32 bit compat elf_greg to 8 bytes.
6010
f315524e
AA
60112013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6012
6013 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6014
1326ba1a
SP
60152013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6016
6017 * string/strcoll_l.c (coll_seq): New structure.
6018 (get_next_seq_cached): New function.
6019 (get_next_seq): New function.
6020 (do_compare): New function.
6021 (STRCOLL): Use GNU style definition. Simplify implementation
6022 by using get_next_seq, get_next_seq_cached and do_compare.
6023
91ce4085
FW
60242013-08-16 Florian Weimer <fweimer@redhat.com>
6025
6026 [BZ #14699]
6027 CVE-2013-4237
6028 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6029 member.
6030 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6031 member.
6032 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6033 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6034 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6035 conditional.
6036 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6037 GETDENTS_64BIT_ALIGNED.
6038 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6039 * manual/filesys.texi (Reading/Closing Directory): Document
6040 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6041 strongly.
6042 * manual/conf.texi (Limits for Files): Add portability note to
6043 NAME_MAX, PATH_MAX.
6044 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6045
ca0a6bc4
AS
60462013-08-13 Andreas Schwab <schwab@suse.de>
6047
6048 [BZ #15749]
6049 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6050 of fabs.
6051 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6052 LDBL_MAX_EXP >= 16384]: Add tests for it.
6053
6c1fd795
DM
60542013-08-12 David S. Miller <davem@davemloft.net>
6055
6056 * version.h (RELEASE): Set to "development".
6057 (VERSION): Set to "2.18.90".
6058 * NEWS: Add 2.19 section.
6059
31ad488d
DM
60602013-08-03 David S. Miller <davem@davemloft.net>
6061
6062 * po/ko.po: Update Korean translation from translation project.
6063
db24e684
DM
60642013-08-01 David S. Miller <davem@davemloft.net>
6065
6066 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6067 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6068 Bilka.
6069
f723285b
DM
60702013-07-30 David S. Miller <davem@davemloft.net>
6071
6072 * po/fr.po: Update French translation from translation project.
6073
3cbc52db
DM
60742013-07-28 David S. Miller <davem@davemloft.net>
6075
30bbc0cc
DM
6076 * po/cs.po: Update Czech translation from translation project.
6077
3cbc52db
DM
6078 * po/sv.po: Update Swedish translation from translation project.
6079
d492e6d0
DM
60802013-07-27 David S. Miller <davem@davemloft.net>
6081
f1a7f492
DM
6082 * po/eo.po: Update Esperanto translation from translation project.
6083
90e62a4a
DM
6084 * po/vi.po: Update Vietnamese translation from translation project.
6085
d492e6d0
DM
6086 * po/de.po: Update German translation from translation project.
6087
d4baa62d
DM
60882013-07-26 David S. Miller <davem@davemloft.net>
6089
641aa7b4
DM
6090 * po/bg.po: Update Bulgarian translation from translation project.
6091
d4baa62d
DM
6092 * po/nl.po: Update Dutch translation from translation project.
6093 * po/pl.po: Update Polish translation from translation project.
6094 * po/ru.po: Update Russian translation from translation project.
6095
61a9dcb9
DM
60962013-07-24 David S. Miller <davem@davemloft.net>
6097
6098 * po/libc.pot: Update.
6099
7b1f8b58
AZ
61002013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101
6102 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6103 variable page size.
6104 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6105 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6106 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6107
a8fc7a03
AK
61082013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6109
6110 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6111
e4608715
CD
61122013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6113 Andreas Schwab <schwab@suse.de>
6114 Roland McGrath <roland@hack.frob.com>
6115 Joseph Myers <joseph@codesourcery.com>
6116 Carlos O'Donell <carlos@redhat.com>
6117
6118 [BZ #15755]
6119 * config.h.in: Define HAVE_PT_CHOWN.
6120 * config.make.in (build-pt-chown): New variable.
6121 * configure.in (--enable-pt_chown): New configure option.
6122 * configure: Regenerate.
6123 * login/Makefile: Include Makeconfig. Build pt_chown only if
6124 build-pt-chown is enabled.
6125 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6126 pt_chown to fix pty ownership.
6127 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6128 CLOSE_ALL_FDS.
6129 * manual/install.texi (Configuring and compiling): Mention
6130 --enable-pt_chown. Add @findex for grantpt.
6131 * INSTALL: Regenerate.
6132
da2d62df
DM
61332013-07-20 David S. Miller <davem@davemloft.net>
6134
6135 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6136 difference between 32-bit and 64-bit.
6137
d7e06450
CD
61382013-07-15 Carlos O'Donell <carlos@redhat.com>
6139
6140 [BZ #15711]
6141 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6142 Avoid system header dependency with -ffreestanding.
6143 ($(objpfx)bits/syscall%d): Likewise.
6144
f959cfd7
DM
61452013-07-13 David S. Miller <davem@davemloft.net>
6146
6147 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6148 underflows from atanl/atan2l due to bug 15319.
6149 (casinh_test_data): Likewise.
6150
c61f8513
DM
61512013-07-07 David S. Miller <davem@davemloft.net>
6152
6153 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6154
72c90ed0
JA
61552013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6156
6157 * sysdeps/i386/fpu/libm-test-ulps: Update.
6158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6159
52dfbe13
SP
61602013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6161
6162 * configure.in (--enable-lock-elision): Fix message text.
6163 * INSTALL: Regenerate.
6164 * configure: Regenerate.
6165
3f169543
AZ
61662013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6167
6168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6169
521c6785
AJ
61702013-07-03 Andreas Jaeger <aj@suse.de>
6171
6172 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6173 define.
6174 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6175 (ptrace_peeksiginfo_args): Add.
6176 (__ptrace_peeksiginfo_flags): Add.
6177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6178 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6179 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6180
d2cc15cb
AM
61812013-07-03 Allan McRae <allan@archlinux.org>
6182
6183 * sysdeps/i386/fpu/libm-test-ulps: Update.
6184
3aaeeca7
DM
61852013-07-02 David S. Miller <davem@davemloft.net>
6186
6187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6188
5314ed1a
MT
61892013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6190
6191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6192
67338156
JM
61932013-07-02 Joseph Myers <joseph@codesourcery.com>
6194
6195 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6197
1717da59
AK
61982013-07-02 Andi Kleen <ak@linux.intel.com>
6199
6200 * config.h.in (ENABLE_LOCK_ELISION): Add.
6201 * configure.in (--enable-lock-elision): Add option.
6202 * manual/install.texi: Document --enable lock elision.
6203 * configure: Regenerate
6204 * INSTALL: Regenerate.
6205
1c81621c
L
62062013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6207
6208 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6209 SSE4.2 strcasecmp for libc.a.
6210 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6211
77f01ab5
JM
62122013-07-02 Joseph Myers <joseph@codesourcery.com>
6213
6214 [BZ #13304]
6215 * soft-fp/op-common.h (_FP_FMA): New macro.
6216 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6217 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6218 (_FP_MUL_MEAT_1_imm): ... here.
6219 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6220 (_FP_MUL_MEAT_1_wide): ... here.
6221 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6222 (_FP_MUL_MEAT_1_hard): ... here.
6223 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6224 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6225 (_FP_MUL_MEAT_2_wide): ... here.
6226 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6227 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6228 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6229 (_FP_MUL_MEAT_2_gmp): ... here.
6230 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6231 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6232 (_FP_MUL_MEAT_4_wide): ... here.
6233 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6234 (_FP_MUL_MEAT_4_gmp): ... here.
6235 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6236 (_FP_WFRACBITS_DW_S): Likewise.
6237 (_FP_WFRACXBITS_DW_S): Likewise.
6238 (_FP_HIGHBIT_DW_S): Likewise.
6239 (FP_FMA_S): Likewise.
6240 (_FP_FRAC_HIGH_DW_S): Likewise.
6241 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6242 (_FP_WFRACBITS_DW_D): Likewise.
6243 (_FP_WFRACXBITS_DW_D): Likewise.
6244 (_FP_HIGHBIT_DW_D): Likewise.
6245 (FP_FMA_D): Likewise.
6246 (_FP_FRAC_HIGH_DW_D): Likewise.
6247 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6248 (_FP_WFRACBITS_DW_E): Likewise.
6249 (_FP_WFRACXBITS_DW_E): Likewise.
6250 (_FP_HIGHBIT_DW_E): Likewise.
6251 (FP_FMA_E): Likewise.
6252 (_FP_FRAC_HIGH_DW_E): Likewise.
6253 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6254 (_FP_WFRACBITS_DW_Q): Likewise.
6255 (_FP_WFRACXBITS_DW_Q): Likewise.
6256 (_FP_HIGHBIT_DW_Q): Likewise.
6257 (FP_FMA_Q): Likewise.
6258 (_FP_FRAC_HIGH_DW_Q): Likewise.
6259 * soft-fp/fmasf4.c: New file.
6260 * soft-fp/fmadf4.c: Likewise.
6261 * soft-fp/fmatf4.c: Likewise.
6262
6308fd9a
LD
62632013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6264
6265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6266 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6267 Silvermont.
6268 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6269 macro.
6270 (index_Slow_SSE4_2): Likewise.
6271 (index_Prefer_PMINUB_for_stringop): Likewise.
6272 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6273 bit_Slow_SSE4_2 is set.
6274 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6275 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6276
89cd9569
RA
62772013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6278
6279 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6280 rtld_global._dl_hwcap2.
6281 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6282 POWER8.
6283 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6284 POWER8 feature descriptions defined in _dl_hwcap2.
6285 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6286 string handling for POWER8 feature bits.
6287 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6288 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6289 _dl_powerpc_cap_flags.
6290 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6291 * sysdeps/powerpc/rtld-global-offsets.sym
6292 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6293 _dl_hwcap2 in the rtld_global_ro structure.
6294
1ae8bfe0
RA
62952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6296
6297 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6298 hardware capabilities in support of AT_HWCAP2.
6299 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6300 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6301 GLRO(dl_hwcap2).
6302 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6303 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6304 explicitly the unknown a_type display mechanism is used.
6305 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6306 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6307 struct member.
6308 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6309 to macro prototype for AT_HWCAP2 support.
6310 * sysdeps/i386/dl-procinfo.h: Likewise.
6311 * sysdeps/s390/dl-procinfo.h: Likewise.
6312 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6313 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6314 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6315 return -1 for unknown a_type display fallback.
6316 * sysdeps/sparc/dl-procinfo.h: Likewise.
6317 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6318 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6319
8fbec010
JM
63202013-06-28 Joseph Myers <joseph@codesourcery.com>
6321
6322 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6323 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6324
0432680e
PY
63252013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6326
6327 [BZ #12492]
6328 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6329 mprotect making __stack_prot writable.
6330
ce61a2ad
NF
63312013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6332 Joseph Myers <joseph@codesourcery.com>
6333
6334 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6335 as being properly aligned.
6336
f91f1c0f
MR
63372013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6338
3d0f5d0c
MR
6339 * dlfcn/modstatic5.c: New file.
6340 * dlfcn/tststatic5.c: New file.
6341 * dlfcn/Makefile (tests): Add tststatic5.
6342 (tests-static): Likewise.
6343 (modules-names): Add modstatic5.
6344 (tststatic5-ENV): New variable.
6345 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6346
f91f1c0f
MR
6347 [BZ #15022]
6348 * elf/dl-support.c (_dl_main_map): New variable.
6349 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6350 (_dl_nns, _dl_load_adds): Set to 1.
6351 (_dl_initial_searchlist): Refer to _dl_main_map.
6352 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6353 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6354 call to _dl_get_origin.
6355 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6356 around call_map.
6357 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6358 * dlfcn/modstatic3.c: New file.
6359 * dlfcn/tststatic3.c: New file.
6360 * dlfcn/tststatic4.c: New file.
6361 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6362 (tests-static): Likewise.
6363 (modules-names): Add modstatic3.
6364 (tststatic3-ENV, tststatic4-ENV): New variables.
6365 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6366 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6367
cbe7d24b
JM
63682013-06-26 Joseph Myers <joseph@codesourcery.com>
6369
6370 * configure.in (CC): Require GCC version 4.4 or later.
6371 * configure: Regenerated.
6372 * manual/install.texi (Tools for Compilation): Update GCC version
6373 requirement.
6374 * INSTALL: Regenerated.
6375
11b8a0e1
LD
63762013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6377
6378 [BZ #15674]
bb5bb87c
L
6379 * string/test-memcmp.c (check2): New.
6380 (main): Call check2.
6381
11b8a0e1
LD
6382 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6383
b0037103
MR
63842013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6385
6386 [BZ #15022]
6387 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6388 over to...
6389 (dl_open_worker) [!SHARED]: ... here.
6390
c18c701d
RA
63912013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6392
6393 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6394
1d17fa5f
RH
63952013-06-25 Richard Henderson <rth@redhat.com>
6396
6397 * locale/programs/locarchive.c: Include <libc-internal.h>
6398
8fcb833a
JM
63992013-06-25 Joseph Myers <joseph@codesourcery.com>
6400
6401 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6402 trailing whitespace removed.
6403
17db6e8d
MF
64042013-06-24 Mike Frysinger <vapier@gentoo.org>
6405
6406 [BZ #10283]
17db6e8d
MF
6407 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6408 * locale/programs/locarchive.c: Include libc-mmap.h.
6409 (prepare_address_space): Take two new outputs (the mmap base and len).
6410 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6411 values.
6412 (create_archive): Declare new mmap base and len values for
6413 prepare_address_space, and store the result in ah.
6414 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6415 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6416 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6417 Declare new mmap base and len values for
6418 prepare_address_space, and store the result in new_ah.
6419 (open_archive): Declare new mmap base and len values for
6420 prepare_address_space, and store the result in ah.
6421 (close_archive): If ah->mmap_base is not NULL, use that and
6422 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6423 * sysdeps/generic/libc-mmap.h: New file.
6424
d605071e
MF
64252013-06-24 Mike Frysinger <vapier@gentoo.org>
6426
6427 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6428 (ALIGN_UP): Likewise.
6429 (PTR_ALIGN_DOWN): Likewise.
6430 (PTR_ALIGN_UP): Likewise.
6431
2f063a6e
RA
64322013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6433
6434 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6435 entry mapped to PPC_PLATFORM_POWER8.
6436 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6437 POWER8.
6438 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6439 (_dl_string_platform): Add case for exporting platform position for
6440 POWER8.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6442 search path to sysdeps/powerpc/powerpc32/power8 directory.
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6444 search path to sysdeps/powerpc/powerpc64/power8 directory.
6445 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6446 power7 directories.
6447 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6448 power7 directories.
6449
a31ee4b3
SP
64502013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6451
a74ca98f
SP
6452 * INSTALL: Regenerate.
6453
a31ee4b3
SP
6454 * nscd/connections.c (nscd_init): Fix comment.
6455
695c378f
JM
64562013-06-22 Joseph Myers <joseph@codesourcery.com>
6457
d8412221
JM
6458 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6459
695c378f
JM
6460 [BZ #15667]
6461 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6462 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6463
d1d54715
MR
64642013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6465
6466 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6467 DL_DST_REQ_STATIC.
6468 (DL_DST_REQ_STATIC): Remove macro.
6469
8fdda7af
JM
64702013-06-21 Joseph Myers <joseph@codesourcery.com>
6471
6472 [BZ #7006]
6473 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6474 with a shift of 0 bits.
6475
f3bc5e5a
MR
64762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6477
6478 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6479 $(tststatic-ENV).
6480
be09e8c9
KK
64812013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6482
6483 [BZ #15655]
6484 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6485
85c2e611
AZ
64862013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6487
6488 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6489 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6490 accepts -fno-tree-loop-distribute-patterns.
6491 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6492 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6493 recursive call.
6494 * string/memset.c (memset): Likewise.
6495 * string/test-memmove.c (simple_memmove): Disable loop transformation
6496 to library calls.
6497 * string/test-memset.c (simple_memset): Likewise.
6498 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6499 * benchtests/bench-memset.c (simple_memset): Likewise.
6500 * configure: Regenerated.
6501
c91e0825
JM
65022013-06-20 Joseph Myers <joseph@codesourcery.com>
6503
b8c792af
JM
6504 * math/test-misc.c (main): Ignore fesetround failure when failures
6505 of subsequent rounding tests would be ignored.
6506
c91e0825
JM
6507 [BZ #15654]
6508 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6509 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6510 * math/fegetenv.c (__fegetenv): Return 0.
6511 * math/fegetexcept.c (fegetexcept): Return 0.
6512 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6513 FE_TONEAREST.
6514 * math/feholdexcpt.c (feholdexcept): Return 0.
6515 * math/fesetenv.c (__fesetenv): Return 0.
6516 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6517 argument FE_TONEAREST.
6518 * math/feupdateenv.c (__feupdateenv): Return 0.
6519 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6520
bfcacbde
RM
65212013-06-18 Roland McGrath <roland@hack.frob.com>
6522
6523 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6524 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6525 ($(objpfx)rtld-%.os rules): Use them.
6526
e55a9b25
AZ
65272013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6528
6529 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6530 fields.
6531
346d65b3
RM
65322013-06-17 Roland McGrath <roland@hack.frob.com>
6533
12086fb4
RM
6534 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6535 length of target pattern, then descending length of dependency pattern.
6536 * configure.in (AWK): Require gawk 3.1.2 or newer.
6537 * manual/install.texi (Tools for Compilation): Say that we do.
6538 * configure: Regenerated.
6539
346d65b3
RM
6540 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6541 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6542 * scripts/sysd-rules.awk: ... this new script.
6543 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6544 than a glob-style pattern.
6545
1a846317
JM
65462013-06-17 Joseph Myers <joseph@codesourcery.com>
6547
6548 * math/test-misc.c (main): Do not treat incorrectly rounded
6549 conversions as failure unless ROUNDING_TESTS passes.
6550
8fc75e6f
JM
65512013-06-15 Joseph Myers <joseph@codesourcery.com>
6552
3711a167
JM
6553 [BZ #15631]
6554 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6555 restore exception state around main square root computation, then
6556 check for inexactness explicitly.
6557
8fc75e6f
JM
6558 * math/libm-test.inc (fma_test_data): Add another test.
6559
61dd6208
SP
65602013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6561
adf23d2c
SP
6562 * manual/threads.texi (Non-POSIX Extensions): New document
6563 node. Document pthread_getattr_default_np and
6564 pthread_setattr_default_np.
6565
61dd6208
SP
6566 * Versions.def (libpthread): Add GLIBC_2.18.
6567 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6569 Likewise.
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6571 Likewise.
6572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6573 Likewise.
6574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6575 Likewise.
6576 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6577 Likewise.
6578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6579 Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6581 Likewise.
6582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6583 Likewise.
6584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6585 Likewise.
6586
d086fc7b
LD
65872013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6588
6589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6590 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6591
747ef469
SP
65922013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6593 H.J. Lu <hjl.tools@gmail.com>
6594
6595 [BZ #15627]
6596 * sysdeps/x86_64/rtld-memset.c: Remove file.
6597 * sysdeps/x86_64/rtld-memset.S: New file.
6598
1b2feed2
JM
65992013-06-14 Joseph Myers <joseph@codesourcery.com>
6600
6601 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6602 (test_in_one_mode): Take arguments for whether the rounding mode
6603 is supported for each floating-point type.
6604 (do_test): Pass new arguments to test_in_one_mode using
6605 ROUNDING_TESTS.
6606
a58ad3f8
RM
66072013-06-13 Roland McGrath <roland@hack.frob.com>
6608
6609 * posix/tst-waitid.c (do_test): Distinguish different instances of
6610 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6611 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6612 before entering the kernel for waitpid.
6613
c204ab28
SP
66142013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6615
6616 * NEWS: Fix note on clock function precision. Text by Roland
6617 McGrath.
6618
f4a29fba
RM
66192013-06-13 Roland McGrath <roland@hack.frob.com>
6620
6621 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6622 it into place only when and if the sanity check passes.
6623
1f24b9ad
JM
66242013-06-13 Joseph Myers <joseph@codesourcery.com>
6625
6626 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6627 output for whether conversion result is exact. Take argument
6628 indicating whether type is IBM long double.
6629 (round_for_all): Change need_exact field to ibm_ld.
6630 * stdlib/tst-strtod-round.c (struct exactness): New type.
6631 (struct test): Change bool ld_ok field to struct exactness exact.
6632 (TEST): Update all definitions for change to field.
6633 (tests): Regenerate array contents.
6634 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6635 field value. Check for IBM long double here.
6636 (do_test): Update calls to test_in_one_mode.
6637
58206c68
SP
66382013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6639
6640 [BZ #12515]
6641 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6642 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6643
2d6f4c5b 66442013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6645
6646 [BZ #15605]
6647 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6648 generated by the compiler on loop optimizations.
6649 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6650 general definitions.
6651
94f2c076
JM
66522013-06-12 Joseph Myers <joseph@codesourcery.com>
6653
6654 * math/bug-nextafter.c: Include <math-tests.h>.
6655 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6656 the relevant type.
6657 * math/bug-nexttoward.c: Include <math-tests.h>.
6658 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6659 the relevant type.
6660 * math/test-misc.c: Include <math-tests.h>.
6661 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6662 the relevant type.
6663
e0e50a0a
AJ
66642013-06-12 Andreas Jaeger <aj@suse.de>
6665
6666 * po/ia.po: Update Interlingua translation from translation
6667 project.
6668
25061094
SP
66692013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6670
6671 * include/fenv.h: Include stdbool.h.
6672 (struct rm_ctx): New structure.
6673 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6674 Define macro.
6675 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6676 (SET_RESTORE_ROUNDF): Likewise.
6677 (SET_RESTORE_ROUNDL): Likewise.
6678 (SET_RESTORE_ROUND_NOEX): Likewise.
6679 (SET_RESTORE_ROUND_NOEXF): Likewise.
6680 (SET_RESTORE_ROUND_NOEXL): Likewise.
6681 (SET_RESTORE_ROUND_53BIT): Likewise.
6682 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6683 (libc_feresetround_noexf_ctx): Likewise.
6684 (libc_feresetround_noexl_ctx): Likewise.
6685 (libc_feholdsetround_53bit_ctx): Likewise.
6686 (libc_feresetround_53bit_ctx): Likewise.
6687 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6688 (libc_feholdexcept_setround_sse_ctx): New function.
6689 (libc_fesetenv_sse_ctx): Likewise.
6690 (libc_feupdateenv_sse_ctx): Likewise.
6691 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6692 (libc_feholdexcept_setround_387_ctx): Likewise.
6693 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6694 (libc_feholdsetround_387_prec_ctx): Likewise.
6695 (libc_feholdsetround_387_ctx): Likewise.
6696 (libc_feholdsetround_387_53bit_ctx): Likewise.
6697 (libc_feholdsetround_sse_ctx): Likewise.
6698 (libc_feresetround_sse_ctx): Likewise.
6699 (libc_feresetround_387_ctx): Likewise.
6700 (libc_feupdateenv_387_ctx): Likewise.
6701 (libc_feholdexcept_setroundf_ctx): Define macro.
6702 (libc_fesetenvf_ctx): Likewise.
6703 (libc_feupdateenvf_ctx): Likewise.
6704 (libc_feholdsetroundf_ctx): Likewise.
6705 (libc_feresetroundf_ctx): Likewise.
6706 (libc_feholdexcept_setround_ctx): Likewise.
6707 (libc_fesetenv_ctx): Likewise.
6708 (libc_feupdateenv_ctx): Likewise.
6709 (libc_feholdsetround_ctx): Likewise.
6710 (libc_feresetround_ctx): Likewise.
6711 (libc_feholdexcept_setroundl_ctx): Likewise.
6712 (libc_feupdateenvl_ctx): Likewise.
6713 (libc_feholdsetroundl_ctx): Likewise.
6714 (libc_feresetroundl_ctx): Likewise.
6715 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6716 (libc_feresetround_53bit_ctx): Likewise.
6717
59b30555
SP
67182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6719
6720 * locale/iso-639.def: Convert to UTF-8.
6721
f1d73d30
JM
67222013-06-11 Joseph Myers <joseph@codesourcery.com>
6723
6724 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6725 (EXCEPTION_TESTS_double): Likewise.
6726 (EXCEPTION_TESTS_long_double): Likewise.
6727 (EXCEPTION_TESTS): Likewise.
6728 * math/libm-test.inc (test_exceptions): Only test exceptions if
6729 EXCEPTION_TESTS (FLOAT).
6730
94aca5e7
SP
67312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6732
6733 * benchtests/Makefile (string-bench): Add strcpy_chk and
6734 stpcpy_chk.
6735 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6736 * benchtests/bench-stpcpy_chk.c: New file.
6737 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6738 * benchtests/bench-strcpy_chk.c: New file.
6739 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6740 code.
6741 (do_test): Likewise.
6742
fac0c5f2
RA
67432013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6744
6745 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6746 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6747 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6748 with tabs where appropriate.
6749 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6750 dl-procinfo.h.
6751 [PPC_PLATFORM_PPC440]: Likewise.
6752 [PPC_PLATFORM_PPC464]: Likewise.
6753 [PPC_PLATFORM_PPC476]: Likewise.
6754 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6755 ppc464, and ppc476 platform strings merging from ports/
6756 dl-procinfo.h.
6757
f22bc486
AS
67582013-06-11 Andreas Schwab <schwab@suse.de>
6759
6760 [BZ #14991]
6761 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6762 (from_ucs4_idx): Regenerate.
6763 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6764 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6765 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6766 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6767 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6768 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6769 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6770 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6771 from FROM_LOOP and TO_LOOP specific macros.
6772 (BODY): Handle combining characters.
6773 * iconvdata/BIG5HKSCS.irreversible: Update.
6774 * iconvdata/BIG5HKSCS.precomposed: New file.
6775 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6776 characters.
6777 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6778
c1f75dc3
SP
67792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6780
4eacded2
SP
6781 * include/sys/time.h: Fix indentation and add copyright header.
6782
fec799f8
SP
6783 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6784 (do_test): Likewise.
6785 * string/test-memchr.c (do_one_test): Likewise.
6786 (do_test): Likewise.
6787 * string/test-memcmp.c (do_one_test): Likewise.
6788 (do_test): Likewise.
6789 * string/test-memcpy.c (do_one_test): Likewise.
6790 (do_test): Likewise.
6791 * string/test-memmem.c (do_one_test): Likewise.
6792 (do_test): Likewise.
6793 (do_random_tests): Likewise.
6794 * string/test-memmove.c (do_one_test): Likewise.
6795 (do_test): Likewise.
6796 * string/test-memset.c (do_one_test): Likewise.
6797 (do_test): Likewise.
6798 * string/test-rawmemchr.c (do_one_test): Likewise.
6799 (do_test): Likewise.
6800 * string/test-strcasecmp.c (do_one_test): Likewise.
6801 (do_test): Likewise.
6802 * string/test-strcasestr.c (do_one_test): Likewise.
6803 (do_test): Likewise.
6804 * string/test-strcat.c (do_one_test): Likewise.
6805 (do_test): Likewise.
6806 * string/test-strchr.c (do_one_test): Likewise.
6807 (do_test): Likewise.
6808 * string/test-strcmp.c (do_one_test): Likewise.
6809 (do_test): Likewise.
6810 * string/test-strcpy.c (do_one_test): Likewise.
6811 (do_test): Likewise.
6812 * string/test-string.h: Likewise.
6813 (test_init): Likewise.
6814 * string/test-strlen.c (do_one_test): Likewise.
6815 (do_test): Likewise.
6816 * string/test-strncasecmp.c (do_one_test): Likewise.
6817 (do_test): Likewise.
6818 * string/test-strncat.c (do_one_test): Likewise.
6819 (do_test): Likewise.
6820 * string/test-strncmp.c (do_one_test): Likewise.
6821 (do_test_limit): Likewise.
6822 (do_test): Likewise.
6823 * string/test-strncpy.c (do_one_test): Likewise.
6824 (do_test): Likewise.
6825 * string/test-strnlen.c (do_one_test): Likewise.
6826 (do_test): Likewise.
6827 * string/test-strpbrk.c (do_one_test): Likewise.
6828 (do_test): Likewise.
6829 * string/test-strrchr.c (do_one_test): Likewise.
6830 (do_test): Likewise.
6831 * string/test-strspn.c (do_one_test): Likewise.
6832 (do_test): Likewise.
6833 * string/test-strstr.c (do_one_test): Likewise.
6834 (do_test): Likewise.
6835
97020474
SP
6836 * benchtests/Makefile (string-bench): Add string benchmarks.
6837 * benchtests/bench-bcopy-ifunc.c: New file.
6838 * benchtests/bench-bcopy.c: New file.
6839 * benchtests/bench-bzero-ifunc.c: New file.
6840 * benchtests/bench-bzero.c: New file.
6841 * benchtests/bench-memccpy-ifunc.c: New file.
6842 * benchtests/bench-memccpy.c: New file.
6843 * benchtests/bench-memchr-ifunc.c: New file.
6844 * benchtests/bench-memchr.c: New file.
6845 * benchtests/bench-memcmp-ifunc.c: New file.
6846 * benchtests/bench-memcmp.c: New file.
6847 * benchtests/bench-memmem-ifunc.c: New file.
6848 * benchtests/bench-memmem.c: New file.
6849 * benchtests/bench-memmove-ifunc.c: New file.
6850 * benchtests/bench-memmove.c: New file.
6851 * benchtests/bench-mempcpy-ifunc.c: New file.
6852 * benchtests/bench-mempcpy.c: New file.
6853 * benchtests/bench-memset-ifunc.c: New file.
6854 * benchtests/bench-memset.c: New file.
6855 * benchtests/bench-rawmemchr-ifunc.c: New file.
6856 * benchtests/bench-rawmemchr.c: New file.
6857 * benchtests/bench-stpcpy-ifunc.c: New file.
6858 * benchtests/bench-stpcpy.c: New file.
6859 * benchtests/bench-stpncpy-ifunc.c: New file.
6860 * benchtests/bench-stpncpy.c: New file.
6861 * benchtests/bench-strcasecmp-ifunc.c: New file.
6862 * benchtests/bench-strcasecmp.c: New file.
6863 * benchtests/bench-strcasestr-ifunc.c: New file.
6864 * benchtests/bench-strcasestr.c: New file.
6865 * benchtests/bench-strcat-ifunc.c: New file.
6866 * benchtests/bench-strcat.c: New file.
6867 * benchtests/bench-strchr-ifunc.c: New file.
6868 * benchtests/bench-strchr.c: New file.
6869 * benchtests/bench-strchrnul-ifunc.c: New file.
6870 * benchtests/bench-strchrnul.c: New file.
6871 * benchtests/bench-strcmp-ifunc.c: New file.
6872 * benchtests/bench-strcmp.c: New file.
6873 * benchtests/bench-strcpy-ifunc.c: New file.
6874 * benchtests/bench-strcpy.c: New file.
6875 * benchtests/bench-strcspn-ifunc.c: New file.
6876 * benchtests/bench-strcspn.c: New file.
6877 * benchtests/bench-strlen-ifunc.c: New file.
6878 * benchtests/bench-strlen.c: New file.
6879 * benchtests/bench-strncasecmp-ifunc.c: New file.
6880 * benchtests/bench-strncasecmp.c: New file.
6881 * benchtests/bench-strncat-ifunc.c: New file.
6882 * benchtests/bench-strncat.c: New file.
6883 * benchtests/bench-strncmp-ifunc.c: New file.
6884 * benchtests/bench-strncmp.c: New file.
6885 * benchtests/bench-strncpy-ifunc.c: New file.
6886 * benchtests/bench-strncpy.c: New file.
6887 * benchtests/bench-strnlen-ifunc.c: New file.
6888 * benchtests/bench-strnlen.c: New file.
6889 * benchtests/bench-strpbrk-ifunc.c: New file.
6890 * benchtests/bench-strpbrk.c: New file.
6891 * benchtests/bench-strrchr-ifunc.c: New file.
6892 * benchtests/bench-strrchr.c: New file.
6893 * benchtests/bench-strspn-ifunc.c: New file.
6894 * benchtests/bench-strspn.c: New file.
6895 * benchtests/bench-strstr-ifunc.c: New file.
6896 * benchtests/bench-strstr.c: New file.
6897
c1f75dc3
SP
6898 * benchtests/Makefile: Disable parallel execution of targets.
6899 (string-bench): Add memcpy.
6900 (benchset): New variable to store a list of benchmark sets.
6901 (bench-func): Renamed from bench.
6902 (bench-set): New target.
6903 (bench): Depend on bench-func and bench-set.
6904 * benchtests/README: Add section on benchmark sets.
6905 * benchtests/bench-memcpy-ifunc.c: New file.
6906 * benchtests/bench-memcpy.c: New file.
6907 * benchtests/bench-string.h: New file.
6908
50fd745b
AS
69092013-06-11 Andreas Schwab <schwab@suse.de>
6910
6911 [BZ #15577]
6912 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6913 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6914 values in the triple.
6915 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6916 terminator in the group key.
6917
3ee7e9fe
AJ
69182013-06-11 Andreas Jaeger <aj@suse.de>
6919
6920 * po/zh_TW.po: Update Chinese (traditional) translation from
6921 translation project.
6922
89fb6835
SP
69232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6924
6925 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6926 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6927 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6928 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6929 (clock_getcpuclockid): Likewise.
6930 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6931 Add weak_alias and libc_hidden_def.
6932 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6933 * rt/clock_gettime.c (clock_gettime): Rename to
6934 __clock_gettime. Add weak_alias and libc_hidden_def.
6935 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6936 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6937 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6938 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6939 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6940 Likewise.
6941 * rt/clock_settime.c (clock_settime): Rename to
6942 __clock_settime. Add weak_alias and libc_hidden_def.
6943 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6944
0efa6f8b
JM
69452013-06-10 Joseph Myers <joseph@codesourcery.com>
6946
b8c61b4b
JM
6947 * mach/err_boot.sub: Remove trailing whitespace.
6948 * mach/err_ipc.sub: Likewise.
6949 * mach/err_mach.sub: Likewise.
6950
0efa6f8b
JM
6951 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6952 (ROUNDING_TESTS_double): Likewise.
6953 (ROUNDING_TESTS_long_double): Likewise.
6954 (ROUNDING_TESTS): Likewise.
6955 * math/libm-test.inc: Include <math-tests.h>.
6956 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6957 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6958 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6959 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6960
50b818bf
SP
69612013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6962
6963 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6964 of assigning.
6965
60d2f8f3
JM
69662013-06-08 Joseph Myers <joseph@codesourcery.com>
6967
4902d2c3
JM
6968 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6969 otherwise empty TRANS lines.
6970 * sysdeps/gnu/errlist.c: Regenerated.
6971
60d2f8f3
JM
6972 * catgets/gencat.c (error_print): Use (void) in function
6973 definition.
6974 * crypt/crypt_util.c (__init_des): Likewise.
6975 * crypt/speeds.c (Stop): Likewise.
6976 (main): Likewise.
6977 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6978 * inet/ruserpass.c (token): Likewise.
6979 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6980 * intl/localealias.c (extend_alias_table): Likewise.
6981 * intl/plural-exp.c (init_germanic_plural): Likewise.
6982 * libio/fcloseall.c (__fcloseall): Likewise.
6983 * libio/genops.c (_IO_flush_all): Likewise.
6984 (_IO_flush_all_linebuffered): Likewise.
6985 (_IO_cleanup): Likewise.
6986 (_IO_iter_begin): Likewise.
6987 (_IO_iter_end): Likewise.
6988 (_IO_list_lock): Likewise.
6989 (_IO_list_unlock): Likewise.
6990 (_IO_list_resetlock): Likewise.
6991 * libio/getchar.c (getchar): Likewise.
6992 * libio/getchar_u.c (getchar_unlocked): Likewise.
6993 * libio/getwchar.c (getwchar): Likewise.
6994 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6995 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6996 * login/getpt.c (__getpt): Likewise.
6997 * login/tst-utmp.c (main): Likewise.
6998 * malloc/hooks.c (__malloc_check_init): Likewise.
6999 * malloc/malloc.c (__malloc_stats): Likewise.
7000 * malloc/mtrace.c (tr_break): Likewise.
7001 (mtrace): Likewise.
7002 (muntrace): Likewise.
7003 * misc/fstab.c (endfsent): Likewise.
7004 * misc/getclktck.c (__getclktck): Likewise.
7005 * misc/getdtsz.c (__getdtablesize): Likewise.
7006 * misc/gethostid.c (gethostid): Likewise.
7007 * misc/getpagesize.c (__getpagesize): Likewise.
7008 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7009 (__get_nprocs): Likewise.
7010 (__get_phys_pages): Likewise.
7011 (__get_avphys_pages): Likewise.
7012 * misc/getttyent.c (getttyent): Likewise.
7013 (setttyent): Likewise.
7014 (endttyent): Likewise.
7015 * misc/getusershell.c (getusershell): Likewise.
7016 (endusershell): Likewise.
7017 (setusershell): Likewise.
7018 (initshells): Likewise.
7019 * misc/hsearch.c (__hdestroy): Likewise.
7020 * misc/sync.c (sync): Likewise.
7021 * misc/syslog.c (closelog_internal): Likewise.
7022 (closelog): Likewise.
7023 * misc/ttyslot.c (ttyslot): Likewise.
7024 * misc/vhangup.c (vhangup): Likewise.
7025 * posix/fork.c (__fork): Likewise.
7026 * posix/getegid.c (__getegid): Likewise.
7027 * posix/geteuid.c (__geteuid): Likewise.
7028 * posix/getgid.c (__getgid): Likewise.
7029 * posix/getpid.c (__getpid): Likewise.
7030 * posix/getppid.c (__getppid): Likewise.
7031 * posix/getuid.c (__getuid): Likewise.
7032 * posix/pause.c (pause): Likewise.
7033 * posix/setpgrp.c (setpgrp): Likewise.
7034 * posix/setsid.c (__setsid): Likewise.
7035 * posix/test-vfork.c (noop): Likewise.
7036 * resolv/gethnamaddr.c (_endhtent): Likewise.
7037 (_gethtent): Likewise.
7038 (ht_endhostent): Likewise.
7039 (gethostent): Likewise.
7040 (dns_service): Likewise.
7041 * stdlib/drand48.c (drand48): Likewise.
7042 * stdlib/lrand48.c (lrand48): Likewise.
7043 * stdlib/mrand48.c (mrand48): Likewise.
7044 * stdlib/rand.c (rand): Likewise.
7045 * stdlib/random.c (__random): Likewise.
7046 * stdlib/setenv.c (clearenv): Likewise.
7047 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7048 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7049 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7050 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7051 (__get_nprocs): Likewise.
7052 (__get_phys_pages): Likewise.
7053 (__get_avphys_pages): Likewise.
7054 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7055 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7056 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7057 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7058 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7059 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7060 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7061 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7062 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7063 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7064 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7065 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7066 * sysdeps/posix/clock.c (clock): Likewise.
7067 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7068 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7069 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7070 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7071 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7073 (__get_nprocs_conf): Likewise.
7074 (__get_phys_pages): Likewise.
7075 (__get_avphys_pages): Likewise.
7076 * time/clock.c (clock): Likewise.
7077 * time/tzset.c (__tzname_max): Likewise.
7078
2e09a79a
JM
70792013-06-07 Joseph Myers <joseph@codesourcery.com>
7080
7081 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7082 (__bswap_32): Do not use "register".
7083 * crypt/crypt.c (_ufc_doit_r): Likewise.
7084 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7085 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7086 * gmon/gmon.c (__monstartup): Likewise.
7087 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7088 * hurd/hurdmalloc.c (more_memory): Likewise.
7089 (malloc): Likewise.
7090 (free): Likewise.
7091 (realloc): Likewise.
7092 (malloc_fork_prepare): Likewise.
7093 (malloc_fork_parent): Likewise.
7094 (malloc_fork_child): Likewise.
7095 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7096 (_svcauth_des): Likewise.
7097 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7098 * inet/inet_net.c (inet_network): Likewise.
7099 * inet/inet_netof.c (inet_netof): Likewise.
7100 * inet/rcmd.c (__validuser2_sa): Likewise.
7101 * io/fts.c (fts_open): Likewise.
7102 (fts_load): Likewise.
7103 (fts_close): Likewise.
7104 (fts_read): Likewise.
7105 (fts_children): Likewise.
7106 (fts_build): Likewise.
7107 (fts_stat): Likewise.
7108 (fts_sort): Likewise.
7109 (fts_alloc): Likewise.
7110 (fts_lfree): Likewise.
7111 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7112 (_IO_file_xsgetn): Likewise.
7113 (_IO_file_xsgetn_mmap): Likewise.
7114 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7115 (_IO_cookie_write): Likewise.
7116 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7117 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7118 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7119 * malloc/obstack.c (_obstack_begin): Likewise.
7120 (_obstack_begin_1): Likewise.
7121 (_obstack_newchunk): Likewise.
7122 (_obstack_allocated_p): Likewise.
7123 (obstack_free): Likewise.
7124 (_obstack_memory_used): Likewise.
7125 * misc/getttyent.c (getttynam): Likewise.
7126 (getttyent): Likewise.
7127 (skip): Likewise.
7128 (value): Likewise.
7129 * misc/getusershell.c (initshells): Likewise.
7130 * misc/syslog.c (__vsyslog_chk): Likewise.
7131 * misc/ttyslot.c (ttyslot): Likewise.
7132 * nis/nis_hash.c (__nis_hash): Likewise.
7133 * posix/fnmatch_loop.c (FCT): Likewise.
7134 * posix/getconf.c (print_all): Likewise.
7135 (main): Likewise.
7136 * posix/getopt.c (exchange): Likewise.
7137 * posix/glob.c (globfree): Likewise.
7138 (prefix_array): Likewise.
7139 (__glob_pattern_type): Likewise.
7140 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7141 (NS_GET32): Likewise.
7142 (NS_PUT16): Likewise.
7143 (NS_PUT32): Likewise.
7144 * resolv/gethnamaddr.c (getanswer): Likewise.
7145 (gethostbyname2): Likewise.
7146 (gethostbyaddr): Likewise.
7147 (_gethtent): Likewise.
7148 (_gethtbyname2): Likewise.
7149 (_gethtbyaddr): Likewise.
7150 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7151 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7152 * resolv/res_init.c (__res_vinit): Likewise.
7153 (net_mask): Likewise.
7154 * resolv/res_mkquery.c (outchar): Likewise.
7155 (PRINT): Likewise.
7156 * stdio-common/printf_fp.c (outchar): Likewise.
7157 (PRINT): Likewise.
7158 * stdio-common/printf_fphex.c (outchar): Likewise.
7159 (PRINT): Likewise.
7160 * stdio-common/printf_size.c (outchar): Likewise.
7161 (PRINT): Likewise.
7162 * stdio-common/test_rdwr.c (main): Likewise.
7163 * stdio-common/tfformat.c (matches): Likewise.
7164 * stdio-common/vfprintf.c (outchar): Likewise.
7165 (printf_unknown): Likewise.
7166 (buffered_vfprintf): Likewise.
7167 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7168 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7169 (ReadFile): Likewise.
7170 * stdlib/qsort.c (SWAP): Likewise.
7171 (_quicksort): Likewise.
7172 * stdlib/setenv.c (__add_to_environ): Likewise.
7173 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7174 * stdlib/strtol_l.c (__strtol_l): Likewise.
7175 * stdlib/tst-strtod.c (main): Likewise.
7176 * stdlib/tst-strtol.c (main): Likewise.
7177 * stdlib/tst-strtoll.c (main): Likewise.
7178 * string/bits/string2.h (__strcmp_cc): Likewise.
7179 (__strcmp_cg): Likewise.
7180 (__strcspn_c1): Likewise.
7181 (__strcspn_c2): Likewise.
7182 (__strcspn_c3): Likewise.
7183 (__strspn_c1): Likewise.
7184 (__strspn_c2): Likewise.
7185 (__strspn_c3): Likewise.
7186 (__strsep_1c): Likewise.
7187 (__strsep_2c): Likewise.
7188 (__strsep_3c): Likewise.
7189 * string/memccpy.c (__memccpy): Likewise.
7190 * string/stpcpy.c (__stpcpy): Likewise.
7191 * string/strcmp.c (strcmp): Likewise.
7192 * string/strrchr.c (strrchr): Likewise.
7193 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7194 Likewise.
7195 * sysdeps/mach/hurd/getcwd.c
7196 (_hurd_canonicalize_directory_name_internal): Likewise.
7197 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7198 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7199 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7200 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7201 Likewise, in both definitions.
7202 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7203 definitions.
7204 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7205 64] (__bswap_64): Likewise.
7206 * time/test_time.c (main): Likewise.
7207 * time/tzfile.c (__tzfile_read): Likewise.
7208 (__tzfile_compute): Likewise.
7209 * time/tzset.c (__tzset_parse_tz): Likewise.
7210 (tzset_internal): Likewise.
7211 (compute_change): Likewise.
7212 * wcsmbs/wcscat.c (__wcscat): Likewise.
7213 * wcsmbs/wcschr.c (wcschr): Likewise.
7214 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7215 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7216 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7217 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7218 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7219 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7220 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7221 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7222 * wcsmbs/wmemset.c (wmemset): Likewise.
7223
9e54314b
JM
72242013-06-06 Joseph Myers <joseph@codesourcery.com>
7225
7226 * scripts/config.guess: Update to version 2013-05-16.
7227 * scripts/config.sub: Update to version 2013-04-24.
7228 * scripts/install-sh: Update to version 2011-11-20.07.
7229 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7230 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7231
350635a5
OB
72322013-06-06 Ondřej Bílka <neleai@seznam.cz>
7233
7234 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7235 * elf/sln.c: Likewise.
7236 * hurd/hurd/ioctl.h: Likewise.
7237 * hurd/hurdmalloc.c: Likewise.
7238 * hurd/xattr.c: Likewise.
7239 * include/shlib-compat.h: Likewise.
7240 * inet/ruserpass.c: Likewise.
7241 * libio/iofgets_u.c: Likewise.
7242 * libio/iofgetws_u.c: Likewise.
7243 * locale/programs/ld-identification.c: Likewise.
7244 * locale/programs/ld-time.c: Likewise.
7245 * mach/msg-destroy.c: Likewise.
7246 * nss/nss_files/files-netgrp.c: Likewise.
7247 * resolv/res_data.c: Likewise.
7248 * soft-fp/op-1.h: Likewise.
7249 * soft-fp/op-2.h: Likewise.
7250 * soft-fp/op-4.h: Likewise.
7251 * soft-fp/op-common.h: Likewise.
7252 * stdio-common/printf_fphex.c: Likewise.
7253 * stdlib/strtod_l.c: Likewise.
7254 * sunrpc/rpc/clnt.h: Likewise.
7255 * sysdeps/generic/framestate.c: Likewise.
7256 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7257 * sysdeps/i386/bsd-setjmp.S: Likewise.
7258 * sysdeps/i386/__longjmp.S: Likewise.
7259 * sysdeps/i386/setjmp.S: Likewise.
7260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7261 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7262 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7278 * sysdeps/ieee754/support.c: Likewise.
7279 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7280 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7281 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7282 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7283 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7284 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7285 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7286 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7287 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7288 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7289 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7290 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7291 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7292 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7293 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7294 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7295 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7297
44a988af
OB
72982013-06-05 Ondřej Bílka <neleai@seznam.cz>
7299
25506f09 7300 * posix/transbug.c: Remove executable mode.
44a988af 7301
9c84384c
JM
73022013-06-05 Joseph Myers <joseph@codesourcery.com>
7303
7304 * crypt/speeds.c: Remove trailing whitespace.
7305 * dlfcn/default.c: Likewise.
7306 * elf/ifuncdep2.c: Likewise.
7307 * elf/ifuncmain1.c: Likewise.
7308 * elf/ifuncmain1vis.c: Likewise.
7309 * elf/testobj.h: Likewise.
7310 * elf/tst-stackguard1.c: Likewise.
7311 * gmon/sys/gmon.h: Likewise.
7312 * hurd/hurdmsg.c: Likewise.
7313 * hurd/new-fd.c: Likewise.
7314 * hurd/ports-get.c: Likewise.
7315 * iconvdata/ibm1008_420.c: Likewise.
7316 * inet/tst-getni1.c: Likewise.
7317 * inet/tst-getni2.c: Likewise.
7318 * libio/ioungetc.c: Likewise.
7319 * libio/wfiledoalloc.c: Likewise.
7320 * manual/libm-err-tab.pl: Likewise.
7321 * math/w_dremf.c: Likewise.
7322 * misc/ftruncate.c: Likewise.
7323 * posix/bug-glob2.c: Likewise.
7324 * posix/tst-pcre.c: Likewise.
7325 * posix/wait4.c: Likewise.
7326 * resolv/README: Likewise.
7327 * resolv/res_debug.h: Likewise.
7328 * resolv/tst-inet_ntop.c: Likewise.
7329 * setjmp/bug269-setjmp.c: Likewise.
7330 * soft-fp/extended.h: Likewise.
7331 * soft-fp/op-1.h: Likewise.
7332 * soft-fp/op-2.h: Likewise.
7333 * soft-fp/op-4.h: Likewise.
7334 * soft-fp/op-8.h: Likewise.
7335 * soft-fp/testit.c: Likewise.
7336 * stdio-common/bug16.c: Likewise.
7337 * stdlib/random.c: Likewise.
7338 * sunrpc/rpcsvc/rquota.x: Likewise.
7339 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7340 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7341 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7342 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7343 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7344 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7345 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7346 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7347 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7348 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7349 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7368 * sysdeps/ieee754/s_lib_version.c: Likewise.
7369 * sysdeps/mach/hurd/check_fds.c: Likewise.
7370 * sysdeps/mach/hurd/getsockname.c: Likewise.
7371 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7372 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7373 * sysdeps/powerpc/bits/link.h: Likewise.
7374 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7375 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7376 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7377 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7378 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7379 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7380 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7381 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7382 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7383 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7384 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7385 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7386 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7387 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7388 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7389 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7390 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7391 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7392 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7393 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7394 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7395 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7397 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7398 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7399 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7400 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7401 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7402 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7403 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7404 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7405 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7406 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7407 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7408 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7409 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7410 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7411 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7412 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7413 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7414 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7415 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7416 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7417 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7418 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7419 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7420 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7421 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7422 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7423 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7424 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7425 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7426 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7427 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7428 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7429 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7430 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7431 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7432 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7433 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7434 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7435 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7436 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7437 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7438 * sysdeps/powerpc/sysdep.h: Likewise.
7439 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7440 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7441 * sysdeps/sh/dl-trampoline.S: Likewise.
7442 * sysdeps/sh/memset.S: Likewise.
7443 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7444 * sysdeps/sh/strlen.S: Likewise.
7445 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7446 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7447 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7448 * sysdeps/sparc/sparc32/rem.S: Likewise.
7449 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7450 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7451 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7452 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7453 * sysdeps/sparc/sparc32/urem.S: Likewise.
7454 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7455 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7456 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7457 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7458 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7459 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7460 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7461 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7462 * sysdeps/unix/bsd/times.c: Likewise.
7463 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7464 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7468 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7469 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7470 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7471 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7472 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7473 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7474 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7475 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7476 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7477 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7478 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7479 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7480 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7481 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7482 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7483 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7484 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7485 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7486 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7487 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7488 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7490 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7491 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7492 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7493 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7494 * sysdeps/x86_64/strcspn.S: Likewise.
7495
869378a5
RA
74962013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7497
7498 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7499 generated file. Regenerate properly from gen-translit.pl.
7500 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7501 locale/C-translit.h.
7502
840e2943
AS
75032013-06-05 Andreas Schwab <schwab@suse.de>
7504
7505 [BZ #15100]
7506 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7507 week as 6 instead of -1.
7508 * time/tst-strptime.c (day_tests): Add test case.
7509
4c60cb0c
SP
75102013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7511
7512 * sysdeps/generic/math_private.h
7513 (libc_feholdexcept_setround_53bit): Replace with
7514 libc_feholdsetround_53bit.
7515 (libc_feupdateenv_53bit): Replace with
7516 libc_feresetround_53bit.
7517 (SET_RESTORE_ROUND_53BIT): Adjust.
7518
d180203e
SP
75192013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7520
96df079a
SP
7521 * string/test-strchrnul.c: Add copyright header.
7522
d180203e
SP
7523 * posix/tst-getaddrinfo4.c: Increase test timeout.
7524
8b0ccb2d
CD
75252013-06-03 Carlos O'Donell <carlos@redhat.com>
7526
7527 [BZ #15536]
7528 * math/libm-test.inc (MAX_EXP): Remove
7529 (MIN_EXP): Define.
7530 (ulp): Use MIN_EXP - MANT_DIG.
7531 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7532
3b3c4d40
CD
75332013-05-31 Carlos O'Donell <carlos@redhat.com>
7534
7535 * po/be.po: Revert last change.
7536 * po/zh_CN.po: Likewise.
7537 * po/header.pot: Likewise.
7538
fab7ce3f
JM
75392013-05-31 Joseph Myers <joseph@codesourcery.com>
7540
7541 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7542 link-libc-deps to empty as target-specific variable.
7543 * Makerules (link-libc-args): New variable.
7544 (libc-for-link): Likewise.
7545 (link-libc-deps): Likewise.
7546 (lib%.so): Depend on $(link-libc-deps). Link with
7547 $(link-libc-args).
7548 (build-module): Link with $(link-libc-args).
7549 (build-module-asneeded): Likewise.
7550 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7551 list of objects.
7552 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7553 target-specific variable.
7554 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7555 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7556 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7557 libc.
7558 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7559 libc and ld.so.
7560 ($(objpfx)libpcprofile.so): Likewise.
7561 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7562 libc_nonshared.a.
7563 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7564 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7565 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7566 $(link-libc-deps).
7567 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7568 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7569 * login/Makefile ($(objpfx)libutil.so): Likewise.
7570 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7571 * math/Makefile ($(objpfx)libm.so): Likewise.
7572 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7573 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7574 variable instead of depending directly on libc.
7575 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7576 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7577 $(link-libc-deps).
7578 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7579 libc.
7580 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7581 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7582 ($(objpfx)libanl.so): Likewise.
7583 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7584 ld.so.
7585 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7586 $(link-libc-deps).
7587 * sysdeps/i386/fpu/Makefile: Remove file.
7588 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7589 ($(objpfx)libm.so): Remove dependency on ld.so.
7590
eca5920c
PF
75912013-05-30 Patsy Franklin <pfrankli@redhat.com>
7592
7593 [BZ # 15553]
7594 * nis/yp_xdr.c (XDRMAXNAME): Define.
7595 (XDRMAXRECORD): Define.
7596 (xdr_domainname): Use XDRMAXNAME.
7597 (xdr_mapname): Likewise.
7598 (xdr_peername): Likewise.
7599 (xdr_keydat): Use XDRMAXRECORD.
7600 (xdr_valdat): Likewise.
7601
76022013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7603
7604 [BZ #14256]
7605 * manual/errno.texi (ESTALE): Update to account for more than
7606 just NFS file systems.
7607 * sysdeps/gnu/errlist.c: Regenerated.
7608
b9375348
SP
76092013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7610
7611 [BZ #15465]
7612 * elf/Makefile (tests): Add tst-null-argv.
7613 (modules-names): Add tst-null-argv-lib.
7614 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7615 (tst-null-argv-ENV): Set environment for tst-null-argv.
7616 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7617 (RTLD_PROGNAME): New macro.
7618 * elf/tst-null-argv.c: New test case.
7619 * elf/tst-null-argv-lib.c: Library for test case.
7620 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7621 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7622 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7623 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7624 * elf/dl-init.c (call_init): Likewise.
7625 (_dl_init): Likewise.
7626 * elf/dl-load.c (print_search_path): Likewise.
7627 (_dl_map_object): Likewise.
7628 * elf/dl-lookup.c (do_lookup_x): Likewise.
7629 (add_dependency): Likewise.
7630 (_dl_lookup_symbol_x): Likewise.
7631 (_dl_debug_bindings): Likewise.
7632 * elf/dl-open.c (_dl_show_scope): Likewise.
7633 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7634 * elf/dl-version.c (match_symbol): Likewise.
7635 (_dl_check_map_versions): Likewise.
7636 * elf/rtld.c (dl_main): Likewise.
7637 (print_unresolved): Use RTLD_PROGNAME.
7638 (print_missing_version): Likewise.
7639 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7640 (elf_machine_rela): Likewise.
7641 * sysdeps/powerpc/powerpc32/dl-machine.c
7642 (__process_machine_rela): Likewise.
7643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7644 Likewise.
7645 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7646 Likewise.
7647 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7648 Likewise.
7649 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7651 Likewise.
7652 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7653 Likewise.
7654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7655
8a9f20c8
CD
76562013-05-28 Carlos O'Donell <carlos@redhat.com>
7657
7658 * po/be.po: Add descriptive title.
7659 * po/zh_CN.po: Likewise.
7660 * po/header.pot: Likewise.
7661
0e60d68e
MF
76622013-05-28 Mike Frysinger <vapier@gentoo.org>
7663
7664 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7665 error message.
7666 (enlarge_archive): Likewise.
7667
56b672e9
BN
76682013-05-28 Ben North <ben@redfrontdoor.org>
7669
7670 * manual/arith.texi (frexp): It is the magnitude of the return
7671 value which lies in [0.5, 1), not the return value itself.
7672
5e056687
AZ
76732013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7674
7675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7676
2b66ef5d
TS
76772013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7678
528c2405
TS
7679 * stdio-common/bug26.c (main): Correct fscanf template.
7680
07b4c13d
TS
7681 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7682 declare _dl_skip_args.
7683
ec9dd97c
TS
7684 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7685 Don't declare.
7686
2b66ef5d
TS
7687 * manual/platform.texi: Add missing @end deftypefun.
7688
4f8dfe27
JM
76892013-05-24 Joseph Myers <joseph@codesourcery.com>
7690
0323d086
JM
7691 [BZ #15529]
7692 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7693 bit of mantissa of 2^16382.
7694 * math/libm-test.inc (hypot_test_data): Add more tests.
7695
dd4259b9
JM
7696 * math/libm-test.inc: Add drem and pow10 to list of tested
7697 functions.
7698 (pow10_test): New function.
7699 (drem_test): Likewise.
7700 (drem_test_tonearest): Likewise.
7701 (drem_test_towardzero): Likewise.
7702 (drem_test_downward): Likewise.
7703 (drem_test_upward): Likewise.
7704 (main): Call the new functions.
7705
4f8dfe27
JM
7706 * math/libm-test.inc (finite_test_data): Remove.
7707 (finite_test): Run tests from isfinite_test_data.
7708 (gamma_test_data): Remove.
7709 (gamma_test): Run tests from lgamma_test_data.
7710 * sysdeps/i386/fpu/libm-test-ulps: Update.
7711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7712
d116b7c4
AZ
77132013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7714
7715 * manual/platform.texi: Add PowerPC PPR function set documentation.
7716 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7717 implementation.
7718
e96e3767
CD
77192013-05-24 Carlos O'Donell <carlos@redhat.com>
7720
7721 * math/libm-test.inc (MAX_EXP): Define.
7722 (ULPDIFF): Define.
7723 (ulp): New function.
7724 (check_float_internal): Use ULPDIFF.
7725 (cpow_test): Disable failing test.
7726 (check_ulp): Test ulp() implemetnation.
7727 (main): Call check_ulp before starting tests.
7728
b679a606
JM
77292013-05-24 Joseph Myers <joseph@codesourcery.com>
7730
e8bdba36
JM
7731 * math/gen-libm-test.pl (generate_testfile): Do not handle
7732 START_DATA and END_DATA.
7733 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7734 END_DATA.
7735 (acos_tonearest_test_data): Likewise.
7736 (acos_towardzero_test_data): Likewise.
7737 (acos_downward_test_data): Likewise.
7738 (acos_upward_test_data): Likewise.
7739 (acosh_test_data): Likewise.
7740 (asin_test_data): Likewise.
7741 (asin_tonearest_test_data): Likewise.
7742 (asin_towardzero_test_data): Likewise.
7743 (asin_downward_test_data): Likewise.
7744 (asin_upward_test_data): Likewise.
7745 (asinh_test_data): Likewise.
7746 (atan_test_data): Likewise.
7747 (atanh_test_data): Likewise.
7748 (atan2_test_data): Likewise.
7749 (cabs_test_data): Likewise.
7750 (cacos_test_data): Likewise.
7751 (cacosh_test_data): Likewise.
7752 (carg_test_data): Likewise.
7753 (casin_test_data): Likewise.
7754 (casinh_test_data): Likewise.
7755 (catan_test_data): Likewise.
7756 (catanh_test_data): Likewise.
7757 (cbrt_test_data): Likewise.
7758 (ccos_test_data): Likewise.
7759 (ccosh_test_data): Likewise.
7760 (ceil_test_data): Likewise.
7761 (cexp_test_data): Likewise.
7762 (cimag_test_data): Likewise.
7763 (clog_test_data): Likewise.
7764 (clog10_test_data): Likewise.
7765 (conj_test_data): Likewise.
7766 (copysign_test_data): Likewise.
7767 (cos_test_data): Likewise.
7768 (cos_tonearest_test_data): Likewise.
7769 (cos_towardzero_test_data): Likewise.
7770 (cos_downward_test_data): Likewise.
7771 (cos_upward_test_data): Likewise.
7772 (cosh_test_data): Likewise.
7773 (cosh_tonearest_test_data): Likewise.
7774 (cosh_towardzero_test_data): Likewise.
7775 (cosh_downward_test_data): Likewise.
7776 (cosh_upward_test_data): Likewise.
7777 (cpow_test_data): Likewise.
7778 (cproj_test_data): Likewise.
7779 (creal_test_data): Likewise.
7780 (csin_test_data): Likewise.
7781 (csinh_test_data): Likewise.
7782 (csqrt_test_data): Likewise.
7783 (ctan_test_data): Likewise.
7784 (ctan_tonearest_test_data): Likewise.
7785 (ctan_towardzero_test_data): Likewise.
7786 (ctan_downward_test_data): Likewise.
7787 (ctan_upward_test_data): Likewise.
7788 (ctanh_test_data): Likewise.
7789 (ctanh_tonearest_test_data): Likewise.
7790 (ctanh_towardzero_test_data): Likewise.
7791 (ctanh_downward_test_data): Likewise.
7792 (ctanh_upward_test_data): Likewise.
7793 (erf_test_data): Likewise.
7794 (erfc_test_data): Likewise.
7795 (exp_test_data): Likewise.
7796 (exp_tonearest_test_data): Likewise.
7797 (exp_towardzero_test_data): Likewise.
7798 (exp_downward_test_data): Likewise.
7799 (exp_upward_test_data): Likewise.
7800 (exp10_test_data): Likewise.
7801 (exp2_test_data): Likewise.
7802 (expm1_test_data): Likewise.
7803 (fabs_test_data): Likewise.
7804 (fdim_test_data): Likewise.
7805 (finite_test_data): Likewise.
7806 (floor_test_data): Likewise.
7807 (fma_test_data): Likewise.
7808 (fma_towardzero_test_data): Likewise.
7809 (fma_downward_test_data): Likewise.
7810 (fma_upward_test_data): Likewise.
7811 (fmax_test_data): Likewise.
7812 (fmin_test_data): Likewise.
7813 (fmod_test_data): Likewise.
7814 (fpclassify_test_data): Likewise.
7815 (frexp_test_data): Likewise.
7816 (gamma_test_data): Likewise.
7817 (hypot_test_data): Likewise.
7818 (ilogb_test_data): Likewise.
7819 (isfinite_test_data): Likewise.
7820 (isgreater_test_data): Likewise.
7821 (isgreaterequal_test_data): Likewise.
7822 (isinf_test_data): Likewise.
7823 (isless_test_data): Likewise.
7824 (islessequal_test_data): Likewise.
7825 (islessgreater_test_data): Likewise.
7826 (isnan_test_data): Likewise.
7827 (isnormal_test_data): Likewise.
7828 (issignaling_test_data): Likewise.
7829 (isunordered_test_data): Likewise.
7830 (j0_test_data): Likewise.
7831 (j1_test_data): Likewise.
7832 (jn_test_data): Likewise.
7833 (ldexp_test_data): Likewise.
7834 (lgamma_test_data): Likewise.
7835 (lrint_test_data): Likewise.
7836 (lrint_tonearest_test_data): Likewise.
7837 (lrint_towardzero_test_data): Likewise.
7838 (lrint_downward_test_data): Likewise.
7839 (lrint_upward_test_data): Likewise.
7840 (llrint_test_data): Likewise.
7841 (llrint_tonearest_test_data): Likewise.
7842 (llrint_towardzero_test_data): Likewise.
7843 (llrint_downward_test_data): Likewise.
7844 (llrint_upward_test_data): Likewise.
7845 (log_test_data): Likewise.
7846 (log10_test_data): Likewise.
7847 (log1p_test_data): Likewise.
7848 (log2_test_data): Likewise.
7849 (logb_test_data): Likewise.
7850 (logb_downward_test_data): Likewise.
7851 (lround_test_data): Likewise.
7852 (llround_test_data): Likewise.
7853 (modf_test_data): Likewise.
7854 (nearbyint_test_data): Likewise.
7855 (nextafter_test_data): Likewise.
7856 (nexttoward_test_data): Likewise.
7857 (pow_test_data): Likewise.
7858 (pow_tonearest_test_data): Likewise.
7859 (pow_towardzero_test_data): Likewise.
7860 (pow_downward_test_data): Likewise.
7861 (pow_upward_test_data): Likewise.
7862 (remainder_test_data): Likewise.
7863 (remainder_tonearest_test_data): Likewise.
7864 (remainder_towardzero_test_data): Likewise.
7865 (remainder_downward_test_data): Likewise.
7866 (remainder_upward_test_data): Likewise.
7867 (remquo_test_data): Likewise.
7868 (rint_test_data): Likewise.
7869 (rint_tonearest_test_data): Likewise.
7870 (rint_towardzero_test_data): Likewise.
7871 (rint_downward_test_data): Likewise.
7872 (rint_upward_test_data): Likewise.
7873 (round_test_data): Likewise.
7874 (scalb_test_data): Likewise.
7875 (scalbn_test_data): Likewise.
7876 (scalbln_test_data): Likewise.
7877 (signbit_test_data): Likewise.
7878 (sin_test_data): Likewise.
7879 (sin_tonearest_test_data): Likewise.
7880 (sin_towardzero_test_data): Likewise.
7881 (sin_downward_test_data): Likewise.
7882 (sin_upward_test_data): Likewise.
7883 (sincos_test_data): Likewise.
7884 (sinh_test_data): Likewise.
7885 (sinh_tonearest_test_data): Likewise.
7886 (sinh_towardzero_test_data): Likewise.
7887 (sinh_downward_test_data): Likewise.
7888 (sinh_upward_test_data): Likewise.
7889 (sqrt_test_data): Likewise.
7890 (tan_test_data): Likewise.
7891 (tan_tonearest_test_data): Likewise.
7892 (tan_towardzero_test_data): Likewise.
7893 (tan_downward_test_data): Likewise.
7894 (tan_upward_test_data): Likewise.
7895 (tanh_test_data): Likewise.
7896 (tgamma_test_data): Likewise.
7897 (trunc_test_data): Likewise.
7898 (y0_test_data): Likewise.
7899 (y1_test_data): Likewise.
7900 (yn_test_data): Likewise.
7901 (significand_test_data): Likewise.
7902
b679a606
JM
7903 * math/gen-libm-test.pl (@functions): Remove variable.
7904 (generate_testfile): Don't handle START and END lines.
7905 * math/libm-test.inc (START): New macro.
7906 (END): Likewise.
7907 (END_COMPLEX): Likewise.
7908 (acos_test): Use END macro without arguments.
7909 (acos_test_tonearest): Likewise.
7910 (acos_test_towardzero): Likewise.
7911 (acos_test_downward): Likewise.
7912 (acos_test_upward): Likewise.
7913 (acosh_test): Likewise.
7914 (asin_test): Likewise.
7915 (asin_test_tonearest): Likewise.
7916 (asin_test_towardzero): Likewise.
7917 (asin_test_downward): Likewise.
7918 (asin_test_upward): Likewise.
7919 (asinh_test): Likewise.
7920 (atan_test): Likewise.
7921 (atanh_test): Likewise.
7922 (atan2_test): Likewise.
7923 (cabs_test): Likewise.
7924 (cacos_test): Use END_COMPLEX macro without arguments.
7925 (cacosh_test): Likewise.
7926 (carg_test): Use END macro without arguments.
7927 (casin_test): Use END_COMPLEX macro without arguments.
7928 (casinh_test): Likewise.
7929 (catan_test): Likewise.
7930 (catanh_test): Likewise.
7931 (cbrt_test): Use END macro without arguments.
7932 (ccos_test): Use END_COMPLEX macro without arguments.
7933 (ccosh_test): Likewise.
7934 (ceil_test): Use END macro without arguments.
7935 (cexp_test): Use END_COMPLEX macro without arguments.
7936 (cimag_test): Use END macro without arguments.
7937 (clog_test): Use END_COMPLEX macro without arguments.
7938 (clog10_test): Likewise.
7939 (conj_test): Likewise.
7940 (copysign_test): Use END macro without arguments.
7941 (cos_test): Likewise.
7942 (cos_test_tonearest): Likewise.
7943 (cos_test_towardzero): Likewise.
7944 (cos_test_downward): Likewise.
7945 (cos_test_upward): Likewise.
7946 (cosh_test): Likewise.
7947 (cosh_test_tonearest): Likewise.
7948 (cosh_test_towardzero): Likewise.
7949 (cosh_test_downward): Likewise.
7950 (cosh_test_upward): Likewise.
7951 (cpow_test): Use END_COMPLEX macro without arguments.
7952 (cproj_test): Likewise.
7953 (creal_test): Use END macro without arguments.
7954 (csin_test): Use END_COMPLEX macro without arguments.
7955 (csinh_test): Likewise.
7956 (csqrt_test): Likewise.
7957 (ctan_test): Likewise.
7958 (ctan_test_tonearest): Likewise.
7959 (ctan_test_towardzero): Likewise.
7960 (ctan_test_downward): Likewise.
7961 (ctan_test_upward): Likewise.
7962 (ctanh_test): Likewise.
7963 (ctanh_test_tonearest): Likewise.
7964 (ctanh_test_towardzero): Likewise.
7965 (ctanh_test_downward): Likewise.
7966 (ctanh_test_upward): Likewise.
7967 (erf_test): Use END macro without arguments.
7968 (erfc_test): Likewise.
7969 (exp_test): Likewise.
7970 (exp_test_tonearest): Likewise.
7971 (exp_test_towardzero): Likewise.
7972 (exp_test_downward): Likewise.
7973 (exp_test_upward): Likewise.
7974 (exp10_test): Likewise.
7975 (exp2_test): Likewise.
7976 (expm1_test): Likewise.
7977 (fabs_test): Likewise.
7978 (fdim_test): Likewise.
7979 (finite_test): Likewise.
7980 (floor_test): Likewise.
7981 (fma_test): Likewise.
7982 (fma_test_towardzero): Likewise.
7983 (fma_test_downward): Likewise.
7984 (fma_test_upward): Likewise.
7985 (fmax_test): Likewise.
7986 (fmin_test): Likewise.
7987 (fmod_test): Likewise.
7988 (fpclassify_test): Likewise.
7989 (frexp_test): Likewise.
7990 (gamma_test): Likewise.
7991 (hypot_test): Likewise.
7992 (ilogb_test): Likewise.
7993 (isfinite_test): Likewise.
7994 (isgreater_test): Likewise.
7995 (isgreaterequal_test): Likewise.
7996 (isinf_test): Likewise.
7997 (isless_test): Likewise.
7998 (islessequal_test): Likewise.
7999 (islessgreater_test): Likewise.
8000 (isnan_test): Likewise.
8001 (isnormal_test): Likewise.
8002 (issignaling_test): Likewise.
8003 (isunordered_test): Likewise.
8004 (j0_test): Likewise.
8005 (j1_test): Likewise.
8006 (jn_test): Likewise.
8007 (ldexp_test): Likewise.
8008 (lgamma_test): Likewise.
8009 (lrint_test): Likewise.
8010 (lrint_test_tonearest): Likewise.
8011 (lrint_test_towardzero): Likewise.
8012 (lrint_test_downward): Likewise.
8013 (lrint_test_upward): Likewise.
8014 (llrint_test): Likewise.
8015 (llrint_test_tonearest): Likewise.
8016 (llrint_test_towardzero): Likewise.
8017 (llrint_test_downward): Likewise.
8018 (llrint_test_upward): Likewise.
8019 (log_test): Likewise.
8020 (log10_test): Likewise.
8021 (log1p_test): Likewise.
8022 (log2_test): Likewise.
8023 (logb_test): Likewise.
8024 (logb_test_downward): Likewise.
8025 (lround_test): Likewise.
8026 (llround_test): Likewise.
8027 (modf_test): Likewise.
8028 (nearbyint_test): Likewise.
8029 (nextafter_test): Likewise.
8030 (nexttoward_test): Likewise.
8031 (pow_test): Likewise.
8032 (pow_test_tonearest): Likewise.
8033 (pow_test_towardzero): Likewise.
8034 (pow_test_downward): Likewise.
8035 (pow_test_upward): Likewise.
8036 (remainder_test): Likewise.
8037 (remainder_test_tonearest): Likewise.
8038 (remainder_test_towardzero): Likewise.
8039 (remainder_test_downward): Likewise.
8040 (remainder_test_upward): Likewise.
8041 (remquo_test): Likewise.
8042 (rint_test): Likewise.
8043 (rint_test_tonearest): Likewise.
8044 (rint_test_towardzero): Likewise.
8045 (rint_test_downward): Likewise.
8046 (rint_test_upward): Likewise.
8047 (round_test): Likewise.
8048 (scalb_test): Likewise.
8049 (scalbn_test): Likewise.
8050 (scalbln_test): Likewise.
8051 (signbit_test): Likewise.
8052 (sin_test): Likewise.
8053 (sin_test_tonearest): Likewise.
8054 (sin_test_towardzero): Likewise.
8055 (sin_test_downward): Likewise.
8056 (sin_test_upward): Likewise.
8057 (sincos_test): Likewise.
8058 (sinh_test): Likewise.
8059 (sinh_test_tonearest): Likewise.
8060 (sinh_test_towardzero): Likewise.
8061 (sinh_test_downward): Likewise.
8062 (sinh_test_upward): Likewise.
8063 (sqrt_test): Likewise.
8064 (tan_test): Likewise.
8065 (tan_test_tonearest): Likewise.
8066 (tan_test_towardzero): Likewise.
8067 (tan_test_downward): Likewise.
8068 (tan_test_upward): Likewise.
8069 (tanh_test): Likewise.
8070 (tgamma_test): Likewise.
8071 (trunc_test): Likewise.
8072 (y0_test): Likewise.
8073 (y1_test): Likewise.
8074 (yn_test): Likewise.
8075 (significand_test): Likewise.
8076
bae143d2
OB
80772013-05-24 Ondřej Bílka <neleai@seznam.cz>
8078
8079 [BZ #15381]
8080 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8081
9323d39b
EM
80822013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8083
d4ea44a0 8084 [BZ #14894]
9323d39b
EM
8085 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8086 __ppc_mdoio and __ppc_mdoom.
8087 * manual/platform.texi: Document new functions __ppc_yield,
8088 __ppc_mdoio and __ppc_mdoom.
8089
13e23af7
CD
80902013-05-22 Carlos O'Donell <carlos@redhat.com>
8091
8092 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8093 (main): Mention "tls" pseudo-hwcap is legacy.
8094 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8095
351fe550
JM
80962013-05-22 Joseph Myers <joseph@codesourcery.com>
8097
8098 * math/gen-libm-test.pl (parse_args): Output only string of
8099 arguments as text for test name, not full call or descriptions of
8100 tests for extra outputs.
8101 (generate_testfile): Do not pass function name to parse_args.
8102 Generate this_func variable from START.
8103 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8104 field to arg_str.
8105 (struct test_ff_f_data): Likewise.
8106 (test_ff_f_data_nexttoward): Likewise.
8107 (struct test_fi_f_data): Likewise.
8108 (struct test_fl_f_data): Likewise.
8109 (struct test_if_f_data): Likewise.
8110 (struct test_fff_f_data): Likewise.
8111 (struct test_c_f_data): Likewise.
8112 (struct test_f_f1_data): Likewise. Remove field extra_name.
8113 (struct test_fF_f1_data): Likewise.
8114 (struct test_ffI_f1_data): Likewise.
8115 (struct test_c_c_data): Rename test_name field to arg_str.
8116 (struct test_cc_c_data): Likewise.
8117 (struct test_f_i_data): Likewise.
8118 (struct test_ff_i_data): Likewise.
8119 (struct test_f_l_data): Likewise.
8120 (struct test_f_L_data): Likewise.
8121 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8122 and extra2_name.
8123 (COMMON_TEST_SETUP): New macro.
8124 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8125 (COMMON_TEST_CLEANUP): Likewise.
8126 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8127 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8128 macros.
8129 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8130 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8131 macros.
8132 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8133 (RUN_TEST_fff_f): Take argument string. Call new setup and
8134 cleanup macros.
8135 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8136 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8137 macros.
8138 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8139 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8140 macros.
8141 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8142 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8143 cleanup macros.
8144 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8145 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8146 cleanup macros.
8147 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8148 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8149 cleanup macros.
8150 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8151 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8152 macros.
8153 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8154 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8155 macros.
8156 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8157 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8158 macros.
8159 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8160 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8161 cleanup macros.
8162 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8163 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8164 cleanup macros.
8165 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8166 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8167 macros.
8168 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8169 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8170 cleanup macros.
8171 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8172 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8173 macros.
8174 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8175 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8176 macros.
8177 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8178 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8179 cleanup macros.
8180 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8181
85118d4d
EBM
81822013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8183
8184 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8185 to _sifields.sigfault.
8186 (si_addr_lsb): Define new macro.
8187 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8188 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8189 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8190
7a44c18f
CD
81912013-05-03 Carlos O'Donell <carlos at redhat.com>
8192
8193 [BZ #15441]
8194 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8195 returns -1.
8196 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8197 null return -1.
8198 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8199 loading the domain.
8200
b50a7181
JM
82012013-05-22 Joseph Myers <joseph@codesourcery.com>
8202
8203 * math/gen-libm-test.pl (parse_args): Do not include expected
8204 result in test name.
8205 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8206 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8207 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8208 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8209 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8211
051063c8
SP
82122013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8213
3ce9e010
SP
8214 * benchtests/Makefile: Sort function entries.
8215
051063c8
SP
8216 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8217 tanh, asinh, acosh, atanh.
8218 * benchtests/acos-inputs: New file.
8219 * benchtests/acosh-inputs: New file.
8220 * benchtests/asin-inputs: New file.
8221 * benchtests/asinh-inputs: New file.
8222 * benchtests/atanh-inputs: New file.
8223 * benchtests/cosh-inputs: New file.
8224 * benchtests/log-inputs: New file.
8225 * benchtests/sinh-inputs: New file.
8226 * benchtests/tanh-inputs: New file.
8227
47c22455
DL
82282013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8229
8230 [BZ #15339]
8231 * posix/tst-getaddrinfo4.c: New test.
8232 * posix/Makefile (tests): Add it.
8233
3d04f5db
SP
82342013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8235
8236 [BZ #15339]
8237 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8238 when no services were used.
8239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8240 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8241
d5dd6189
AS
82422013-05-21 Andreas Schwab <schwab@suse.de>
8243
8244 [BZ #15014]
8245 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8246 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8247 successful.
8248 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8249 redundant variable declarations and reallocation of buffer when
8250 parsing as IPv6 address. Always set NSS status when called from
8251 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8252 buffer too small. Correct computation of needed size.
8253 * nss/Makefile (tests): Add test-digits-dots.
8254 * nss/test-digits-dots.c: New test.
8255
fef94eab
SP
82562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8257
8258 * benchtests/Makefile: Remove instructions for adding
8259 benchmark tests.
8260 * benchtests/README: New file to explain how to execute and
8261 enhance the benchmark tests.
8262
e39adf43
AS
82632013-05-21 Andreas Schwab <schwab@suse.de>
8264
8265 [BZ #15493]
8266 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8267 * setjmp/tst-sigsetjmp.c: New test.
8268
b2b671b6
OB
82692013-05-20 Ondřej Bílka <neleai@seznam.cz>
8270
8271 * sysdeps/x86_64/memset.S (memset): New implementation.
8272 (__bzero): Likewise.
8273 (__memset_tail): New function.
8274
2d48b41c
OB
82752013-05-20 Ondřej Bílka <neleai@seznam.cz>
8276
8277 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8278 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8279 __memcpy_sse2_unaligned ifunc selection.
8280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8281 Add memcpy-sse2-unaligned.S.
8282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8283 Add: __memcpy_sse2_unaligned.
8284
f16cc3eb
JM
82852013-05-19 Joseph Myers <joseph@codesourcery.com>
8286
3e694268
JM
8287 [BZ #15490]
8288 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8289 math_force_eval before restoring floating-point envrionment.
8290 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8292 Likewise.
8293 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8294 <math_private.h>.
8295 (__nearbyintl): Use math_force_eval before restoring
8296 floating-point environment.
8297 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8298
db62a907
JM
8299 * math/gen-libm-test.pl (special_functions): Remove.
8300 (parse_args): Don't handle TEST_extra. Handle functions with no
8301 return value.
8302 * math/libm-test.inc (struct test_sincos_data): Replace with
8303 struct test_fFF_11_data.
8304 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8305 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8306 (sincos_test_data): Change element type to struct
8307 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8308 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8309 RUN_TEST_LOOP_sincos.
8310 * math/README.libm-test: Don't mention special handling of
8311 individual functions.
8312 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8313 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8314 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8315 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8316 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8318
f16cc3eb
JM
8319 * math/gen-libm-test.pl (get_variable): Remove function.
8320 (parse_args): Don't show pointer parameters to call in test
8321 names. Use "extra output N" in test names for extra outputs
8322 rather than naming variables.
8323
3779b5b6
JM
83242013-05-18 Joseph Myers <joseph@codesourcery.com>
8325
2ee094ff
JM
8326 [BZ #15488]
8327 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8328 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8329 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8330 double tests.
8331 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8332 disable.
8333 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8334 check_long_double.
8335
3779b5b6
JM
8336 * math/gen-libm-test.pl (@tests): Remove variable.
8337 ($count): Likewise.
8338 (new_test): Remove function.
8339 (show_exceptions): New function.
8340 (special_functions): Use show_exceptions instead of new_test.
8341 (parse_args): Likewise.
8342 (generate_testfile): Pass only function name in generated call to
8343 print_max_error or print_complex_max_error.
8344 (get_ulps): Do not handle complex tests specially.
8345 (output_test): Rename to ...
8346 (get_all_ulps_for_test): ... this. Return a string rather than
8347 printing to a file. Require ulps to be present.
8348 (output_ulps): Generate arrays rather than #defines.
8349 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8350 (struct ulp_data): New type.
8351 (BUILD_COMPLEX_ULP): Remove macro.
8352 (compare_ulp_data): New function.
8353 (find_ulps): Likewise.
8354 (find_test_ulps): Likewise.
8355 (find_function_ulps): Likewise.
8356 (find_complex_function_ulps): Likewise.
8357 (print_max_error): Determine allowed ulps using
8358 find_function_ulps.
8359 (print_complex_max_error): Determine allowed ulps using
8360 find_complex_function_ulps.
8361 (check_float_internal): Determine max ulps using find_test_ulps.
8362 (check_float): Do not take max_ulp parameter. Update call to
8363 check_float_internal.
8364 (check_complex): Likewise.
8365 (check_int): Do not take max_ulp parameter.
8366 (check_long): Likewise.
8367 (check_bool): Likewise.
8368 (check_longlong): Likewise.
8369 (struct test_f_f_data): Remove max_ulp field.
8370 (struct test_ff_f_data): Likewise.
8371 (struct test_ff_f_data_nexttoward): Likewise.
8372 (struct test_fi_f_data): Likewise.
8373 (struct test_fl_f_data): Likewise.
8374 (struct test_if_f_data): Likewise.
8375 (struct test_fff_f_data): Likewise.
8376 (struct test_c_f_data): Likewise.
8377 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8378 (struct test_fF_f1_data): Likewise.
8379 (struct test_ffI_f1_data): Likewise.
8380 (struct test_c_c_data): Remove max_ulp field.
8381 (struct test_cc_c_data): Likewise.
8382 (struct test_f_i_data): Likewise.
8383 (struct test_ff_i_data): Likewise.
8384 (struct test_f_l_data): Likewise.
8385 (struct test_f_L_data): Likewise.
8386 (struct test_sincos_data): Likewise.
8387 (RUN_TEST_f_f): Do not handle ulps.
8388 (RUN_TEST_LOOP_f_f): Likewise.
8389 (RUN_TEST_2_f): Likewise.
8390 (RUN_TEST_LOOP_2_f): Likewise.
8391 (RUN_TEST_fff_f): Likewise.
8392 (RUN_TEST_LOOP_fff_f): Likewise.
8393 (RUN_TEST_c_f): Likewise.
8394 (RUN_TEST_LOOP_c_f): Likewise.
8395 (RUN_TEST_f_f1): Likewise.
8396 (RUN_TEST_LOOP_f_f1): Likewise.
8397 (RUN_TEST_fF_f1): Likewise.
8398 (RUN_TEST_LOOP_fF_f1): Likewise.
8399 (RUN_TEST_fI_f1): Likewise.
8400 (RUN_TEST_LOOP_fI_f1): Likewise.
8401 (RUN_TEST_ffI_f1): Likewise.
8402 (RUN_TEST_LOOP_ffI_f1): Likewise.
8403 (RUN_TEST_c_c): Likewise.
8404 (RUN_TEST_LOOP_c_c): Likewise.
8405 (RUN_TEST_cc_c): Likewise.
8406 (RUN_TEST_LOOP_cc_c): Likewise.
8407 (RUN_TEST_f_i): Likewise.
8408 (RUN_TEST_LOOP_f_i): Likewise.
8409 (RUN_TEST_f_i_tg): Likewise.
8410 (RUN_TEST_LOOP_f_i_tg): Likewise.
8411 (RUN_TEST_ff_i_tg): Likewise.
8412 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8413 (RUN_TEST_f_b): Likewise.
8414 (RUN_TEST_LOOP_f_b): Likewise.
8415 (RUN_TEST_f_b_tg): Likewise.
8416 (RUN_TEST_LOOP_f_b_tg): Likewise.
8417 (RUN_TEST_f_l): Likewise.
8418 (RUN_TEST_LOOP_f_l): Likewise.
8419 (RUN_TEST_f_L): Likewise.
8420 (RUN_TEST_LOOP_f_L): Likewise.
8421 (RUN_TEST_sincos): Likewise.
8422 (RUN_TEST_LOOP_sincos): Likewise.
8423
8269107f
JM
84242013-05-17 Joseph Myers <joseph@codesourcery.com>
8425
bb38759d
JM
8426 [BZ #15480]
8427 [BZ #15485]
8428 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8429 main case of finite arguments, set rounding mode to FE_TONEAREST
8430 and discard exceptions.
8431 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8432 exceptions.
8433 (remainder_tonearest_test_data): New variable.
8434 (remainder_test_tonearest): New function.
8435 (remainder_towardzero_test_data): New variable.
8436 (remainder_test_towardzero): New function.
8437 (remainder_downward_test_data): New variable.
8438 (remainder_test_downward): New function.
8439 (remainder_upward_test_data): New variable.
8440 (remainder_test_upward): New function.
8441 (main): Call the new test functions.
8442
a00bdcf0
JM
8443 * math/libm-test.inc (struct test_f_f1_data): Remove field
8444 extra_init.
8445 (struct test_fF_f1_data): Likewise.
8446 (struct test_ffI_f1_data): Likewise.
8447 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8448 based on value of EXTRA_EXPECTED.
8449 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8450 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8451 EXTRA_VAR based on value of EXTRA_EXPECTED.
8452 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8453 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8454 EXTRA_VAR based on value of EXTRA_EXPECTED.
8455 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8456 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8457 EXTRA_VAR based on value of EXTRA_EXPECTED.
8458 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8459 * math/gen-libm-test.pl (parse_args): Don't output initializers
8460 for extra output values.
8461
de407f79
JM
8462 * math/libm-test.inc (check_int): Expect result to be exactly
8463 equal to expected value and do not handle ulps.
8464 (check_long): Likewise.
8465 (check_longlong): Likewise.
8466
8269107f
JM
8467 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8468 exceptions.
8469 (cimag_test_data): Likewise.
8470 (conj_test_data): Likewise.
8471 (copysign_test_data): Likewise.
8472 (cproj_test_data): Likewise.
8473 (creal_test_data): Likewise.
8474 (fabs_test_data): Likewise.
8475 (fdim_test_data): Likewise.
8476 (finite_test_data): Likewise.
8477 (floor_test_data): Likewise.
8478 (fmax_test_data): Likewise.
8479 (fmin_test_data): Likewise.
8480 (fmod_test_data): Likewise.
8481 (fpclassify_test_data): Likewise.
8482 (frexp_test_data): Likewise.
8483 (ilogb_test_data): Likewise.
8484 (isfinite_test_data): Likewise.
8485 (isgreater_test_data): Likewise.
8486 (isgreaterequal_test_data): Likewise.
8487 (isinf_test_data): Likewise.
8488 (isless_test_data): Likewise.
8489 (islessequal_test_data): Likewise.
8490 (islessgreater_test_data): Likewise.
8491 (isnan_test_data): Likewise.
8492 (isnormal_test_data): Likewise.
8493 (issignaling_test_data): Likewise.
8494 (isunordered_test_data): Likewise.
8495 (ldexp_test_data): Likewise.
8496 (lrint_test_data): Likewise.
8497 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8498 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8499 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8500 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8501 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8502 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8503 test input.
8504 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8505 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8506 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8507 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8508 that test input.
8509 (lrint_downward_test_data): Test for "inexact" exceptions.
8510 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8511 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8512 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8513 test input.
8514 (lrint_upward_test_data): Test for "inexact" exceptions.
8515 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8516 test input.
8517 (llrint_test_data): Test for "inexact" exceptions.
8518 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8519 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8520 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8521 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8522 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8523 (llrint_downward_test_data): Test for "inexact" exceptions.
8524 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8525 (llrint_upward_test_data): Test for "inexact" exceptions.
8526 (logb_test_data): Likewise.
8527 (logb_downward_test_data): Likewise.
8528 (nextafter_test_data): Likewise.
8529 (nexttoward_test_data): Likewise.
8530 (remainder_test_data): Likewise.
8531 (remquo_test_data): Likewise.
8532 (scalbn_test_data): Likewise.
8533 (scalbln_test_data): Likewise.
8534 (signbit_test_data): Likewise.
8535 (sqrt_test_data): Likewise.
8536 (significand_test_data): Likewise.
8537
48a18de1
SP
85382013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8539
8540 [BZ #15424]
8541 * benchtests/bench-modf.c (struct args): Mark arg0 as
8542 volatile.
8543 * scripts/bench.pl: Mark members of struct args as volatile.
8544
13d3b41a
AZ
85452013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8546
68191c1d 8547 [BZ # 15497]
13d3b41a
AZ
8548 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8549 negative infinity on POWER6 or lower.
8550 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8551
2848b105
MR
85522013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8553
8554 [BZ #15442]
8555 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8556 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8557 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8558 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8559 (_FP_SETQNAN): New macro.
8560 (_FP_SETQNAN_SEMIRAW): Likewise.
8561 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8562 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8563 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8564 (FP_EXTEND): Use _FP_FRAC_SNANP.
8565 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8566 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8567 into account.
8568 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8569 New macro.
8570 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8571 Likewise.
8572
323e5cb7
JM
85732013-05-16 Joseph Myers <joseph@codesourcery.com>
8574
c58b274f
JM
8575 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8576 with DIVIDE_BY_ZERO_EXCEPTION.
8577 (gamma_test_data): Likewise.
8578 (lgamma_test_data): Likewise.
8579 (log_test_data): Likewise.
8580 (log10_test_data): Likewise.
8581 (log2_test_data): Likewise.
8582 (tgamma_test_data): Likewise.
8583
0ab34904
JM
8584 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8585 (acos_test_tonearest): Likewise.
8586 (acos_test_towardzero): Likewise.
8587 (acos_test_downward): Likewise.
8588 (acos_test_upward): Likewise.
8589 (acosh_test): Likewise.
8590 (asin_test): Likewise.
8591 (asin_test_tonearest): Likewise.
8592 (asin_test_towardzero): Likewise.
8593 (asin_test_downward): Likewise.
8594 (asin_test_upward): Likewise.
8595 (asinh_test): Likewise.
8596 (atan_test): Likewise.
8597 (atanh_test): Likewise.
8598 (atan2_test): Likewise.
8599 (cabs_test): Likewise.
8600 (cacos_test): Likewise.
8601 (cacosh_test): Likewise.
8602 (casin_test): Likewise.
8603 (casinh_test): Likewise.
8604 (catan_test): Likewise.
8605 (catanh_test): Likewise.
8606 (cbrt_test): Likewise.
8607 (ccos_test): Likewise.
8608 (ccosh_test): Likewise.
8609 (cexp_test): Likewise.
8610 (clog_test): Likewise.
8611 (clog10_test): Likewise.
8612 (cos_test): Likewise.
8613 (cos_test_tonearest): Likewise.
8614 (cos_test_towardzero): Likewise.
8615 (cos_test_downward): Likewise.
8616 (cos_test_upward): Likewise.
8617 (cosh_test): Likewise.
8618 (cosh_test_tonearest): Likewise.
8619 (cosh_test_towardzero): Likewise.
8620 (cosh_test_downward): Likewise.
8621 (cosh_test_upward): Likewise.
8622 (cpow_test): Likewise.
8623 (csin_test): Likewise.
8624 (csinh_test): Likewise.
8625 (csqrt_test): Likewise.
8626 (ctan_test): Likewise.
8627 (ctan_test_tonearest): Likewise.
8628 (ctan_test_towardzero): Likewise.
8629 (ctan_test_downward): Likewise.
8630 (ctan_test_upward): Likewise.
8631 (ctanh_test): Likewise.
8632 (ctanh_test_tonearest): Likewise.
8633 (ctanh_test_towardzero): Likewise.
8634 (ctanh_test_downward): Likewise.
8635 (ctanh_test_upward): Likewise.
8636 (erf_test): Likewise.
8637 (erfc_test): Likewise.
8638 (exp_test): Likewise.
8639 (exp_test_tonearest): Likewise.
8640 (exp_test_towardzero): Likewise.
8641 (exp_test_downward): Likewise.
8642 (exp_test_upward): Likewise.
8643 (exp10_test): Likewise.
8644 (exp2_test): Likewise.
8645 (expm1_test): Likewise.
8646 (fmod_test): Likewise.
8647 (gamma_test): Likewise.
8648 (hypot_test): Likewise.
8649 (j0_test): Likewise.
8650 (j1_test): Likewise.
8651 (jn_test): Likewise.
8652 (lgamma_test): Likewise.
8653 (log_test): Likewise.
8654 (log10_test): Likewise.
8655 (log1p_test): Likewise.
8656 (log2_test): Likewise.
8657 (logb_test_downward): Likewise.
8658 (pow_test): Likewise.
8659 (pow_test_tonearest): Likewise.
8660 (pow_test_towardzero): Likewise.
8661 (pow_test_downward): Likewise.
8662 (pow_test_upward): Likewise.
8663 (remainder_test): Likewise.
8664 (remquo_test): Likewise.
8665 (sin_test): Likewise.
8666 (sin_test_tonearest): Likewise.
8667 (sin_test_towardzero): Likewise.
8668 (sin_test_downward): Likewise.
8669 (sin_test_upward): Likewise.
8670 (sincos_test): Likewise.
8671 (sinh_test): Likewise.
8672 (sinh_test_tonearest): Likewise.
8673 (sinh_test_towardzero): Likewise.
8674 (sinh_test_downward): Likewise.
8675 (sinh_test_upward): Likewise.
8676 (sqrt_test): Likewise.
8677 (tan_test): Likewise.
8678 (tan_test_tonearest): Likewise.
8679 (tan_test_towardzero): Likewise.
8680 (tan_test_downward): Likewise.
8681 (tan_test_upward): Likewise.
8682 (tanh_test): Likewise.
8683 (tgamma_test): Likewise.
8684 (y0_test): Likewise.
8685 (y1_test): Likewise.
8686 (yn_test): Likewise.
8687
323e5cb7
JM
8688 * math/gen-libm-test.pl (adjust_arg): Remove function.
8689 (special_function): Remove argument $in_func. Only handle
8690 generating output for tables of tests, not inside functions.
8691 (parse_args): Likewise.
8692 (generate_testfile): Remove variable $in_func. Update call to
8693 parse_args.
8694 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8695 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8696 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8697 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8698 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8699 (MAX_VALUE_INIT): Rename macro to max_value.
8700 (MIN_VALUE_INIT): Rename macro to min_value.
8701 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8702 (plus_zero): Remove variable.
8703 (minus_zero): Likewise.
8704 (plus_infty): Likewise.
8705 (minus_infty): Likewise.
8706 (qnan_value): Likewise.
8707 (max_value): Likewise.
8708 (min_value): Likewise.
8709 (min_subnorm_value): Likewise.
8710
e054f494
RA
87112013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8712
8713 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8714 uint64_t or uint32_t usage.
8715 * crypt/sha256-block.c: Likewise.
8716 * crypt/sha256-crypt.c: Likewise.
8717 * crypt/sha256.c: Likewise.
8718 * crypt/sha512-block.c: Likewise.
8719 * crypt/sha512-crypt.c: Likewise.
8720 * crypt/sha512.c: Likewise.
8721 * debug/backtrace-tst.c: Likewise.
8722 * debug/pcprofiledump.c: Likewise.
8723 * elf/cache.c: Likewise.
8724 * elf/dl-cache.c: Likewise.
8725 * elf/dl-misc.c: Likewise.
8726 * elf/dl-profile.c: Likewise.
8727 * elf/dl-support.c: Likewise.
8728 * elf/ldconfig.c: Likewise.
8729 * elf/sprof.c: Likewise.
8730 * iconv/dummy-repertoire.c: Likewise.
8731 * iconv/iconv_charmap.c: Likewise.
8732 * iconv/skeleton.c: Likewise.
8733 * iconvdata/8bit-generic.c: Likewise.
8734 * iconvdata/cp737.h: Likewise.
8735 * iconvdata/cp775.h: Likewise.
8736 * iconvdata/ibm1008.h: Likewise.
8737 * iconvdata/ibm1025.h: Likewise.
8738 * iconvdata/ibm1046.h: Likewise.
8739 * iconvdata/ibm1097.h: Likewise.
8740 * iconvdata/ibm1112.h: Likewise.
8741 * iconvdata/ibm1122.h: Likewise.
8742 * iconvdata/ibm1123.h: Likewise.
8743 * iconvdata/ibm1124.h: Likewise.
8744 * iconvdata/ibm1129.h: Likewise.
8745 * iconvdata/ibm1130.h: Likewise.
8746 * iconvdata/ibm1132.h: Likewise.
8747 * iconvdata/ibm1133.h: Likewise.
8748 * iconvdata/ibm1137.h: Likewise.
8749 * iconvdata/ibm1140.h: Likewise.
8750 * iconvdata/ibm1141.h: Likewise.
8751 * iconvdata/ibm1142.h: Likewise.
8752 * iconvdata/ibm1143.h: Likewise.
8753 * iconvdata/ibm1144.h: Likewise.
8754 * iconvdata/ibm1145.h: Likewise.
8755 * iconvdata/ibm1146.h: Likewise.
8756 * iconvdata/ibm1147.h: Likewise.
8757 * iconvdata/ibm1148.h: Likewise.
8758 * iconvdata/ibm1149.h: Likewise.
8759 * iconvdata/ibm1153.h: Likewise.
8760 * iconvdata/ibm1154.h: Likewise.
8761 * iconvdata/ibm1155.h: Likewise.
8762 * iconvdata/ibm1156.h: Likewise.
8763 * iconvdata/ibm1157.h: Likewise.
8764 * iconvdata/ibm1158.h: Likewise.
8765 * iconvdata/ibm1160.h: Likewise.
8766 * iconvdata/ibm1161.h: Likewise.
8767 * iconvdata/ibm1162.h: Likewise.
8768 * iconvdata/ibm1163.h: Likewise.
8769 * iconvdata/ibm1164.h: Likewise.
8770 * iconvdata/ibm1166.h: Likewise.
8771 * iconvdata/ibm1167.h: Likewise.
8772 * iconvdata/ibm12712.h: Likewise.
8773 * iconvdata/ibm1390.h: Likewise.
8774 * iconvdata/ibm1399.h: Likewise.
8775 * iconvdata/ibm16804.h: Likewise.
8776 * iconvdata/ibm4517.h: Likewise.
8777 * iconvdata/ibm4899.h: Likewise.
8778 * iconvdata/ibm4909.h: Likewise.
8779 * iconvdata/ibm4971.h: Likewise.
8780 * iconvdata/ibm5347.h: Likewise.
8781 * iconvdata/ibm803.h: Likewise.
8782 * iconvdata/ibm856.h: Likewise.
8783 * iconvdata/ibm901.h: Likewise.
8784 * iconvdata/ibm902.h: Likewise.
8785 * iconvdata/ibm9030.h: Likewise.
8786 * iconvdata/ibm9066.h: Likewise.
8787 * iconvdata/ibm921.h: Likewise.
8788 * iconvdata/ibm922.h: Likewise.
8789 * iconvdata/ibm9448.h: Likewise.
8790 * iconvdata/isiri-3342.h: Likewise.
8791 * iconvdata/jis0201.h: Likewise.
8792 * include/link.h: Likewise.
8793 * include/netdb.h: Likewise.
8794 * inet/check_native.c: Likewise.
8795 * inet/check_pf.c: Likewise.
8796 * inet/getipv4sourcefilter.c: Likewise.
8797 * inet/getnameinfo.c: Likewise.
8798 * inet/getsourcefilter.c: Likewise.
8799 * inet/htonl.c: Likewise.
8800 * inet/setipv4sourcefilter.c: Likewise.
8801 * inet/setsourcefilter.c: Likewise.
8802 * inet/test-inet6_opt.c: Likewise.
8803 * inet/tst-network.c: Likewise.
8804 * locale/C-collate.c: Likewise.
8805 * locale/C-ctype.c: Likewise.
8806 * locale/C-time.c: Likewise.
8807 * locale/C-translit.h: Likewise.
8808 * locale/loadarchive.c: Likewise.
8809 * locale/programs/3level.h: Likewise.
8810 * locale/programs/charmap.c: Likewise.
8811 * locale/programs/charmap.h: Likewise.
8812 * locale/programs/ld-address.c: Likewise.
8813 * locale/programs/ld-collate.c: Likewise.
8814 * locale/programs/ld-ctype.c: Likewise.
8815 * locale/programs/ld-identification.c: Likewise.
8816 * locale/programs/ld-measurement.c: Likewise.
8817 * locale/programs/ld-messages.c: Likewise.
8818 * locale/programs/ld-monetary.c: Likewise.
8819 * locale/programs/ld-name.c: Likewise.
8820 * locale/programs/ld-numeric.c: Likewise.
8821 * locale/programs/ld-paper.c: Likewise.
8822 * locale/programs/ld-telephone.c: Likewise.
8823 * locale/programs/ld-time.c: Likewise.
8824 * locale/programs/linereader.c: Likewise.
8825 * locale/programs/locale.c: Likewise.
8826 * locale/programs/locarchive.c: Likewise.
8827 * locale/programs/locfile.h: Likewise.
8828 * locale/programs/repertoire.c: Likewise.
8829 * locale/programs/simple-hash.c: Likewise.
8830 * locale/programs/simple-hash.h: Likewise.
8831 * malloc/memusage.c: Likewise.
8832 * malloc/memusagestat.c: Likewise.
8833 * nis/nis_defaults.c: Likewise.
8834 * nis/nis_hash.c: Likewise.
8835 * nis/nis_print.c: Likewise.
8836 * nis/nis_xdr.c: Likewise.
8837 * nscd/connections.c: Likewise.
8838 * nscd/hstcache.c: Likewise.
8839 * nscd/nscd_gethst_r.c: Likewise.
8840 * nscd/nscd_getserv_r.c: Likewise.
8841 * nscd/nscd_helper.c: Likewise.
8842 * nscd/servicescache.c: Likewise.
8843 * nss/makedb.c: Likewise.
8844 * nss/nss_db/db-XXX.c: Likewise.
8845 * nss/nss_db/db-initgroups.c: Likewise.
8846 * nss/nss_db/db-netgrp.c: Likewise.
8847 * nss/nss_files/files-network.c: Likewise.
8848 * nss/nss_files/files-parse.c: Likewise.
8849 * posix/bug-regex5.c: Likewise.
8850 * posix/fnmatch_loop.c: Likewise.
8851 * posix/regcomp.c: Likewise.
8852 * posix/regexec.c: Likewise.
8853 * posix/tst-rfc3484-2.c: Likewise.
8854 * posix/tst-rfc3484-3.c: Likewise.
8855 * posix/tst-rfc3484.c: Likewise.
8856 * resolv/nss_dns/dns-canon.c: Likewise.
8857 * resolv/nss_dns/dns-network.c: Likewise.
8858 * resolv/res_init.c: Likewise.
8859 * resolv/res_mkquery.c: Likewise.
8860 * resolv/tst-aton.c: Likewise.
8861 * stdlib/cxa_atexit.c: Likewise.
8862 * stdlib/cxa_finalize.c: Likewise.
8863 * stdlib/gen-fpioconst.c: Likewise.
8864 * stdlib/strtol_l.c: Likewise.
8865 * string/tst-endian.c: Likewise.
8866 * sunrpc/auth_des.c: Likewise.
8867 * sunrpc/clnt_udp.c: Likewise.
8868 * sunrpc/rtime.c: Likewise.
8869 * sunrpc/svcauth_des.c: Likewise.
8870 * sunrpc/xdr.c: Likewise.
8871 * sunrpc/xdr_intXX_t.c: Likewise.
8872 * sunrpc/xdr_rec.c: Likewise.
8873 * sysdeps/generic/ldconfig.h: Likewise.
8874 * sysdeps/generic/ldsodefs.h: Likewise.
8875 * sysdeps/generic/memusage.h: Likewise.
8876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8879 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8886 * sysdeps/posix/getaddrinfo.c: Likewise.
8887 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8888 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8889 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8890 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8891 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8892 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8893 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8894 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8895 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8896 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8897 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8898 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8899 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8900 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8901 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8902 * sysdeps/x86_64/dl-tls.h: Likewise.
8903 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8904 * time/alt_digit.c: Likewise.
8905 * time/era.c: Likewise.
8906 * wcsmbs/tst-c16c32-1.c: Likewise.
8907
8c75f674
JM
89082013-05-16 Joseph Myers <joseph@codesourcery.com>
8909
8910 * math/libm-test.inc (struct test_sincos_data): New type.
8911 (RUN_TEST_LOOP_sincos): New macro.
8912 (sincos_test_data): New variable.
8913 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8914
e6e49e59
RH
89152013-05-16 Richard Henderson <rth@redhat.com>
8916
8917 * math/atest-exp2.c (LIMB64): New macro.
8918 (CONSTSZ): New macro.
8919 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8920 (hexdig): Move ...
8921 (print_mpn_fp): ... to function scope.
8922 (read_mpn_hex): Remove.
8923 (get_log2): Remove.
8924 (exp2_mpn): Use mp_log2.
8925 (main): Use mp_exp1.
8926
15c7c18d
JM
89272013-05-16 Joseph Myers <joseph@codesourcery.com>
8928
105a07df
JM
8929 * math/libm-test.inc: Remove comment about not testing "inexact"
8930 exceptions.
8931 (INEXACT_EXCEPTION): New macro.
8932 (NO_INEXACT_EXCEPTION): Likewise.
8933 (INVALID_EXCEPTION_OK): Update value.
8934 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8935 (OVERFLOW_EXCEPTION_OK): Likewise.
8936 (UNDERFLOW_EXCEPTION_OK): Likewise.
8937 (IGNORE_ZERO_INF_SIGN): Likewise.
8938 (ERRNO_UNCHANGED): Likewise.
8939 (ERRNO_EDOM): Likewise.
8940 (ERRNO_ERANGE): Likewise.
8941 (test_exceptions): Handle testing "inexact" exceptions.
8942 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8943 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8944 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8945 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8946 INEXACT_EXCEPTION.
8947 (rint_towardzero_test_data): Likewise.
8948 (rint_downward_test_data): Likewise.
8949 (rint_upward_test_data): Likewise.
8950
e9eee333
JM
8951 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8952 with OVERFLOW_EXCEPTION.
8953 (exp10_test_data): Likewise.
8954 (exp2_test_data): Likewise.
8955 (expm1_test_data): Likewise.
8956 (lgamma_test_data): Likewise.
8957 (pow_test_data): Likewise.
8958 (tgamma_test_data): Likewise.
8959 (yn_test_data): Remove duplicate test of overflow.
8960
1c38ff73
JM
8961 * math/libm-test.inc (struct test_cc_c_data): New type.
8962 (RUN_TEST_LOOP_cc_c): New macro.
8963 (cpow_test_data): New variable.
8964 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8965
15c7c18d
JM
8966 * math/libm-test.inc (struct test_f_L_data): New type.
8967 (RUN_TEST_LOOP_f_L): New macro.
8968 (llrint_test_data): New variable.
8969 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8970 (llrint_tonearest_test_data): New variable.
8971 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8972 (llrint_towardzero_test_data): New variable.
8973 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8974 (llrint_downward_test_data): New variable.
8975 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8976 (llrint_upward_test_data): New variable.
8977 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8978 (llround_test_data): New variable.
8979 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8980
f137ff13
PC
89812013-05-13 Peter Collingbourne <pcc@google.com>
8982
8983 * math/atest-exp2.c (get_log2): Remove const attribute.
8984
3608cb24
JM
89852013-05-15 Joseph Myers <joseph@codesourcery.com>
8986
8987 * math/libm-test.inc (struct test_f_l_data): New type.
8988 (RUN_TEST_LOOP_f_l): New macro.
8989 (lrint_test_data): New variable.
8990 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8991 (lrint_tonearest_test_data): New variable.
8992 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8993 (lrint_towardzero_test_data): New variable.
8994 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8995 (lrint_downward_test_data): New variable.
8996 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8997 (lrint_upward_test_data): New variable.
8998 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8999 (lround_test_data): New variable.
9000 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9001
39b1f617
PC
90022013-05-15 Peter Collingbourne <pcc@google.com>
9003
1deff3dc
PC
9004 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9005 (EXTRACT_WORDS64) Use where appropriate.
9006 (INSERT_WORDS64) Likewise.
9007
791f3ba0
PC
9008 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9009 constraints with x constraints.
9010 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9011
39b1f617
PC
9012 * malloc/obstack.c (_obstack_compat): Add initializer.
9013
12fba011
EM
90142013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9015
9016 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9017 si_trapno and add si_addr_lsb to _sifields.sigfault.
9018 (si_trapno): Remove macro.
9019 (si_addr_lsb): Define new macro.
9020 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9021
d369f531
JM
90222013-05-15 Joseph Myers <joseph@codesourcery.com>
9023
b861c6c4
JM
9024 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9025 instead of TEST_f_l.
9026 (llrint_test_tonearest): Likewise.
9027 (llrint_test_towardzero): Likewise.
9028 (llrint_test_downward): Likewise.
9029 (llrint_test_upward): Likewise.
9030 (llround_test): Likewise.
9031
7abeee12
JM
9032 * math/libm-test.inc (struct test_f_i_data): Add comment.
9033 (RUN_TEST_LOOP_f_b): New macro.
9034 (RUN_TEST_LOOP_f_b_tg): Likewise.
9035 (finite_test_data): New variable.
9036 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9037 (isfinite_test_data): New variable.
9038 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9039 (isinf_test_data): New variable.
9040 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9041 (isnan_test_data): New variable.
9042 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9043 (isnormal_test_data): New variable.
9044 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9045 (issignaling_test_data): New variable.
9046 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9047 (signbit_test_data): New variable.
9048 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9049
cbe8c4d3
JM
9050 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9051 with INVALID_EXCEPTION.
9052 (acosh_test_data): Likewise.
9053 (asin_test_data): Likewise.
9054 (atanh_test_data): Likewise.
9055 (fmod_test_data): Likewise.
9056 (log_test_data): Likewise.
9057 (log10_test_data): Likewise.
9058 (log2_test_data): Likewise.
9059 (pow_test_data): Likewise.
9060 (sqrt_test_data): Likewise.
9061 (y0_test_data): Likewise.
9062 (y1_test_data): Likewise.
9063 (yn_test_data): Likewise.
9064
5575c0e5
JM
9065 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9066 function contents.
9067
d369f531
JM
9068 * math/libm-test.inc (struct test_ff_i_data): New type.
9069 (RUN_TEST_LOOP_ff_i_tg): New macro.
9070 (isgreater_test_data): New variable.
9071 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9072 (isgreaterequal_test_data): New variable.
9073 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9074 (isless_test_data): New variable.
9075 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9076 (islessequal_test_data): New variable.
9077 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9078 (islessgreater_test_data): New variable.
9079 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9080 (isunordered_test_data): New variable.
9081 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9082
781fd748
DM
90832013-05-14 David S. Miller <davem@davemloft.net>
9084
9085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9086
87aa21df
JM
90872013-05-14 Joseph Myers <joseph@codesourcery.com>
9088
5e908270
JM
9089 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9090
f71172e5
JM
9091 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9092 extra_test to int.
9093 (struct test_f_i_data): Change type of max_ulp to int.
9094
8cfa635a
JM
9095 * math/libm-test.inc (test_ffI_f1_data): New type.
9096 (RUN_TEST_LOOP_ffI_f1): New macro.
9097 (remquo_test_data): New variable.
9098 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9099
2bcb36b2
JM
9100 * setjmp/tst-setjmp-fp.c: New file.
9101 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9102 (link-libm): New variable.
9103 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9104
acbd839a
JM
9105 * math/libm-test.inc (struct test_f_i_data): New type.
9106 (RUN_TEST_LOOP_f_i): New macro.
9107 (RUN_TEST_LOOP_f_i_tg): Likewise.
9108 (fpclassify_test_data): New variable.
9109 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9110 (ilogb_test_data): New variable.
9111 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9112
e414d745
JM
9113 * math/libm-test.inc (scalbln_test): Correct function name in END
9114 call.
9115
d9c2a0fd
JM
9116 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9117 (RUN_TEST_LOOP_fI_f1): New macro.
9118 (frexp_test_data): New variable.
9119 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9120
9dc9095d
JM
9121 * math/libm-test.inc (struct test_fF_f1_data): New type.
9122 (RUN_TEST_LOOP_fF_f1): New macro.
9123 (modf_test_data): New variable.
9124 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9125
87aa21df
JM
9126 * math/libm-test.inc (struct test_f_f1_data): New type.
9127 (RUN_TEST_LOOP_f_f1): New macro.
9128 (gamma_test_data): New variable.
9129 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9130 (lgamma_test_data): New variable.
9131 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9132
141af660
CD
91332013-05-13 Carlos O'Donell <carlos@redhat.com>
9134
9135 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9136 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9137 (main): Comment "tls" pseudo-hwcap.
9138
6d33265c
JM
91392013-05-13 Joseph Myers <joseph@codesourcery.com>
9140
68fc074c
JM
9141 * math/libm-test.inc (struct test_fl_f_data): New type.
9142 (RUN_TEST_LOOP_fl_f): New variable.
9143 (scalbln_test_data): New variable.
9144 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9145
243216e1
JM
9146 * math/libm-test.inc (struct test_fi_f_data): New type.
9147 (RUN_TEST_LOOP_fi_f): New macro.
9148 (ldexp_test_data): New variable.
9149 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9150 (scalbn_test_data): New variable.
9151 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9152
6a1992e2
JM
9153 * math/libm-test.inc (struct test_c_f_data): New type.
9154 (RUN_TEST_LOOP_c_f): New macro.
9155 (cabs_test_data): New variable.
9156 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9157 (carg_test_data): New variable.
9158 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9159 (cimag_test_data): New variable.
9160 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9161 (creal_test_data): New variable.
9162 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9163
0e400df5
JM
9164 * math/libm-test.inc (struct test_if_f_data): New type.
9165 (RUN_TEST_LOOP_if_f): New macro.
9166 (jn_test_data): New variable.
9167 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9168 (yn_test_data): New variable.
9169 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9170
6d33265c
JM
9171 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9172
f98ece5f
AZ
91732013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9174
9175 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9176 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9177
0f7d347b
SP
91782013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9179
43fe811b
SP
9180 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9181 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9182 (bench-deps): Add bench-timing.h.
9183 * benchtests-bench-skeleton.c: Include bench-timing.h.
9184 (main): Use TIMING_* macros instead of clock_gettime.
9185 * benchtests/bench-timing.h: New file.
9186
0f7d347b
SP
9187 [BZ #14582]
9188 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9189 Renamed from _LIB_VERSION.
9190 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9191
601a3a5f
JM
91922013-05-12 Joseph Myers <joseph@codesourcery.com>
9193
4f184d30
JM
9194 * math/libm-test.inc (struct test_fff_f_data): New type.
9195 (RUN_TEST_LOOP_fff_f): New macro.
9196 (fma_test_data): New variable.
9197 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9198 (fma_towardzero_test_data): New variable.
9199 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9200 (fma_downward_test_data): New variable.
9201 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9202 (fma_upward_test_data): New variable.
9203 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9204
08198877
JM
9205 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9206 (struct test_c_c_data): New type.
9207 (RUN_TEST_LOOP_c_c): New macro.
9208 (cacos_test_data): New variable.
9209 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9210 (cacosh_test_data): New variable.
9211 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9212 (casin_test_data): New variable.
9213 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9214 (casinh_test_data): New variable.
9215 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9216 (catan_test_data): New variable.
9217 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9218 (catanh_test_data): New variable.
9219 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9220 (ccos_test_data): New variable.
9221 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9222 (ccosh_test_data): New variable.
9223 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9224 (cexp_test_data): New variable.
9225 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9226 (clog_test_data): New variable.
9227 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9228 (clog10_test_data): New variable.
9229 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9230 (conj_test_data): New variable.
9231 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9232 (cproj_test_data): New variable.
9233 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9234 (csin_test_data): New variable.
9235 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9236 (csinh_test_data): New variable.
9237 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9238 (csqrt_test_data): New variable.
9239 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9240 (ctan_test_data): New variable.
9241 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9242 (ctan_tonearest_test_data): New variable.
9243 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9244 (ctan_towardzero_test_data): New variable.
9245 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9246 (ctan_downward_test_data): New variable.
9247 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9248 (ctan_upward_test_data): New variable.
9249 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9250 (ctanh_test_data): New variable.
9251 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9252 (ctanh_tonearest_test_data): New variable.
9253 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9254 (ctanh_towardzero_test_data): New variable.
9255 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9256 (ctanh_downward_test_data): New variable.
9257 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9258 (ctanh_upward_test_data): New variable.
9259 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9260 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9261 of BUILD_COMPLEX.
9262
601a3a5f
JM
9263 * math/libm-test.inc (struct test_ff_f_data): New type.
9264 (struct test_ff_f_data_nexttoward): Likewise.
9265 (RUN_TEST_LOOP_2_f): New macro.
9266 (RUN_TEST_LOOP_ff_f): Likewise.
9267 (atan2_test_data): New variable.
9268 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9269 (copysign_test_data): New variable.
9270 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9271 (fdim_test_data): New variable.
9272 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9273 (fmax_test_data): New variable.
9274 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9275 (fmin_test_data): New variable.
9276 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9277 (fmod_test_data): New variable.
9278 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9279 (hypot_test_data): New variable.
9280 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9281 (nextafter_test_data): New variable.
9282 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9283 (nexttoward_test_data): New variable.
9284 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9285 (pow_test_data): New variable.
9286 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9287 (pow_tonearest_test_data): New variable.
9288 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9289 (pow_towardzero_test_data): New variable.
9290 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9291 (pow_downward_test_data): New variable.
9292 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9293 (pow_upward_test_data): New variable.
9294 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9295 (remainder_test_data): New variable.
9296 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9297 (scalb_test_data): New variable.
9298 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9299 * sysdeps/i386/fpu/libm-test-ulps: Update.
9300
74c57478
JM
93012013-05-11 Joseph Myers <joseph@codesourcery.com>
9302
8329e4da
JM
9303 * math/libm-test.inc (fma_test): Use max_value instead of local
9304 variable fltmax.
9305 (nextafter_test): Likewise.
9306
74c57478
JM
9307 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9308 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9309 (acos_downward_test_data): New variable.
9310 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9311 (acos_upward_test_data): New variable.
9312 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9313 (acosh_test_data): New variable.
9314 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9315 (asin_test_data): New variable.
9316 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9317 (asin_tonearest_test_data): New variable.
9318 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9319 (asin_towardzero_test_data): New variable.
9320 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9321 (asin_downward_test_data): New variable.
9322 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9323 (asin_upward_test_data): New variable.
9324 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9325 (asinh_test_data): New variable.
9326 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9327 (atan_test_data): New variable.
9328 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9329 (atanh_test_data): New variable.
9330 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9331 (cbrt_test_data): New variable.
9332 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9333 (ceil_test_data): New variable.
9334 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9335 (cos_test_data): New variable.
9336 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9337 (cos_tonearest_test_data): New variable.
9338 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9339 (cos_towardzero_test_data): New variable.
9340 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9341 (cos_downward_test_data): New variable.
9342 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9343 (cos_upward_test_data): New variable.
9344 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9345 (cosh_test_data): New variable.
9346 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9347 (cosh_tonearest_test_data): New variable.
9348 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9349 (cosh_towardzero_test_data): New variable.
9350 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9351 (cosh_downward_test_data): New variable.
9352 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9353 (cosh_upward_test_data): New variable.
9354 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9355 (erf_test_data): New variable.
9356 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9357 (erfc_test_data): New variable.
9358 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9359 (exp_test_data): New variable.
9360 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9361 (exp_tonearest_test_data): New variable.
9362 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9363 (exp_towardzero_test_data): New variable.
9364 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9365 (exp_downward_test_data): New variable.
9366 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9367 (exp_upward_test_data): New variable.
9368 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9369 (exp10_test_data): New variable.
9370 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9371 (exp2_test_data): New variable.
9372 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9373 (expm1_test_data): New variable.
9374 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9375 (fabs_test_data): New variable.
9376 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9377 (floor_test_data): New variable.
9378 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9379 (j0_test_data): New variable.
9380 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9381 (j1_test_data): New variable.
9382 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9383 (log_test_data): New variable.
9384 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9385 (log10_test_data): New variable.
9386 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9387 (log1p_test_data): New variable.
9388 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9389 (log2_test_data): New variable.
9390 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9391 (logb_test_data): New variable.
9392 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9393 (logb_downward_test_data): New variable.
9394 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9395 (nearbyint_test_data): New variable.
9396 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9397 (rint_test_data): New variable.
9398 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9399 (rint_tonearest_test_data): New variable.
9400 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9401 (rint_towardzero_test_data): New variable.
9402 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9403 (rint_downward_test_data): New variable.
9404 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9405 (rint_upward_test_data): New variable.
9406 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9407 (round_test_data): New variable.
9408 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9409 (sin_test_data): New variable.
9410 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9411 (sin_tonearest_test_data): New variable.
9412 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9413 (sin_towardzero_test_data): New variable.
9414 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9415 (sin_downward_test_data): New variable.
9416 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9417 (sin_upward_test_data): New variable.
9418 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9419 (sinh_test_data): New variable.
9420 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9421 (sinh_tonearest_test_data): New variable.
9422 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9423 (sinh_towardzero_test_data): New variable.
9424 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9425 (sinh_downward_test_data): New variable.
9426 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9427 (sinh_upward_test_data): New variable.
9428 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9429 (sqrt_test_data): New variable.
9430 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9431 (tan_test_data): New variable.
9432 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9433 (tan_tonearest_test_data): New variable.
9434 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9435 (tan_towardzero_test_data): New variable.
9436 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9437 (tan_downward_test_data): New variable.
9438 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9439 (tan_upward_test_data): New variable.
9440 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9441 (tanh_test_data): New variable.
9442 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9443 (tgamma_test_data): New variable.
9444 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9445 (trunc_test_data): New variable.
9446 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9447 (y0_test_data): New variable.
9448 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9449 (y1_test_data): New variable.
9450 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9451 (significand_test_data): New variable.
9452 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9453
7187d844
CG
94542013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9455
9456 [BZ #12387]
9457 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9458
f63fae73
PT
94592013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9460
9461 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9462
8a67a4b3
AJ
94632013-05-10 Andreas Jaeger <aj@suse.de>
9464
9465 [BZ #15448]
9466 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9467 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9468
51df539d
JM
94692013-05-10 Joseph Myers <joseph@codesourcery.com>
9470
9471 * math/gen-libm-test.pl (adjust_arg): New function.
9472 (special_functions): Handle generating output in both functions
9473 and arrays.
9474 (parse_args): Likewise.
9475 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9476 $in_func argument to parse_args.
9477 * math/libm-test.inc (struct test_f_f_data): New type.
9478 (IF_ROUND_INIT_): New macro.
9479 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9480 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9481 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9482 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9483 (ROUND_RESTORE_): Likewise.
9484 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9485 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9486 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9487 (ROUND_RESTORE_FE_UPWARD): Likewise.
9488 (RUN_TEST_LOOP_f_f): New macro.
9489 (acos_test_data): New variable.
9490 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9491 (acos_tonearest_test_data): New variable.
9492 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9493
5c637fe5
SP
94942013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9495
9496 * benchtests/bench-skeleton.c (startup): Fix coding style.
9497
ab2b9461
JM
94982013-05-10 Joseph Myers <joseph@codesourcery.com>
9499
9500 [BZ #6809]
9501 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9502 negative infinity argument.
9503 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9504 negative infinity argument.
9505 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9506 negative infinity argument.
9507 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9508 domain errors.
9509
4c0fe6fe
FW
95102013-05-10 Florian Weimer <fweimer@redhat.com>
9511
9512 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9513 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9514 * iconv/iconv_prog.c (main): Likewise.
9515 * locale/programs/charmap-dir.c (charmap_readdir)
9516 (fopen_uncompressed): Likewise.
9517 * locale/programs/locfile.c (siblings_uncached)
9518 (write_locale_data): Use lstat64 instead of lstat.
9519 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9520 stat.
9521
a3375d29
AJ
95222013-05-10 Andreas Jaeger <aj@suse.de>
9523
9524 [BZ #15395]
9525 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9526 localization.
9527 Include <locale.h>.
9528
36129722
CD
95292013-05-09 Carlos O'Donell <carlos@redhat.com>
9530
9531 * elf/dl-close.c (_dl_close_worker): Add comments.
9532
faa7f811
JM
95332013-05-09 Joseph Myers <joseph@codesourcery.com>
9534
ed41ffef
JM
9535 [BZ #15359]
9536 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9537 high part of pi/2.
9538 (__ieee754_rem_pio2l): Update comments.
9539
d0213cd0
JM
9540 [BZ #15429]
9541 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9542 high part of pi/2.
9543 (__ieee754_rem_pio2l): Update comments.
9544
0d3e777a
JM
9545 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9546 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9547
24f56066
JM
9548 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9549 M_PI_4l.
9550
faa7f811
JM
9551 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9552 (M_PI_34_LOG10El): Likewise.
9553 (M_PI2_LOG10El): Likewise.
9554 (M_PI4_LOG10El): Likewise.
9555 (M_PI_LOG10El): Likewise.
9556
e9a5e0fd
AZ
95572013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9558
9559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9560
d8cd06db
JM
95612013-05-08 Joseph Myers <joseph@codesourcery.com>
9562
a0d9f9d7
JM
9563 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9564 (MINUS_ZERO_INIT): Likewise.
9565 (PLUS_INFTY_INIT): Likewise.
9566 (MINUS_INFTY_INIT): Likewise.
9567 (QNAN_VALUE_INIT): Likewise.
9568 (MAX_VALUE_INIT): Likewise.
9569 (MIN_VALUE_INIT): Likewise.
9570 (MIN_SUBNORM_VALUE_INIT): Likewise.
9571 (plus_zero): Initialize with PLUS_ZERO_INIT.
9572 (minus_zero): Initialize with MINUS_ZERO_INIT.
9573 (plus_infty): Initialize with PLUS_INFTY_INIT.
9574 (minus_infty): Initialize with MINUS_INFTY_INIT.
9575 (qnan_value): Initialize with QNAN_VALUE_INIT.
9576 (max_value): Initialize with MAX_VALUE_INIT.
9577 (min_value): Initialize with MIN_VALUE_INIT.
9578 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9579
ae08db3b
JM
9580 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9581 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9582 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9583 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9584
f44bf14a
JM
9585 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9586 (RUN_TEST_2_f): Likewise.
9587 (RUN_TEST_ff_f): Likewise.
9588 (RUN_TEST_fi_f): Likewise.
9589 (RUN_TEST_fl_f): Likewise.
9590 (RUN_TEST_fff_f): Likewise.
9591 (RUN_TEST_c_f): Likewise.
9592 (RUN_TEST_f_f1): Likewise.
9593 (RUN_TEST_fF_f1): Likewise.
9594 (RUN_TEST_fI_f1): Likewise.
9595 (RUN_TEST_ffI_f1): Likewise.
9596 (RUN_TEST_c_c): Likewise.
9597 (RUN_TEST_cc_c): Likewise.
9598 (RUN_TEST_f_i): Likewise.
9599 (RUN_TEST_f_i_tg): Likewise.
9600 (RUN_TEST_ff_i_tg): Likewise.
9601 (RUN_TEST_f_b): Likewise.
9602 (RUN_TEST_f_b_tg): Likewise.
9603 (RUN_TEST_f_l): Likewise.
9604 (RUN_TEST_f_L): Likewise.
9605 (RUN_TEST_sincos): Likewise.
9606 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9607 whether to show exceptions. Do not include ");\n" in return
9608 value.
9609 (special_functions): Output call to RUN_TEST_sincos instead of
9610 check_float calls. Update calls to new_test.
9611 (parse_args): Output call to single RUN_TEST_* macro instead of
9612 check_* calls and other assignments. Update calls to new_test.
9613
d8cd06db
JM
9614 [BZ #2546]
9615 [BZ #2560]
9616 [BZ #5159]
9617 [BZ #15426]
9618 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9619 input to result for tgamma overflow.
9620 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9621 (gamma_coeff): New variable.
9622 (NCOEFF): New macro.
9623 (gamma_positive): New function.
9624 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9625 underflow here. Use gamma_positive instead of exp (lgamma) for
9626 other arguments.
9627 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9628 (gamma_coeff): New variable.
9629 (NCOEFF): New macro.
9630 (gammaf_positive): New function.
9631 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9632 underflow here. Use gamma_positive instead of exp (lgamma) for
9633 other arguments.
9634 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9635 (gamma_coeff): New variable.
9636 (NCOEFF): New macro.
9637 (gammal_positive): New function.
9638 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9639 underflow here. Use gamma_positive instead of exp (lgamma) for
9640 other arguments.
9641 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9642 (gamma_coeff): New variable.
9643 (NCOEFF): New macro.
9644 (gammal_positive): New function.
9645 (__ieee754_gammal_r): Handle positive infinity, overflow and
9646 underflow here. Handle NaN the same as positive infinity. Remove
9647 check x < 0xffffffff for negative integers. Use gamma_positive
9648 instead of exp (lgamma) for other arguments.
9649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9650 (gamma_coeff): New variable.
9651 (NCOEFF): New macro.
9652 (gammal_positive): New function.
9653 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9654 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9658 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9659 * sysdeps/generic/math_private.h (__gamma_productf): New
9660 prototype.
9661 (__gamma_product): Likewise.
9662 (__gamma_productl): Likewise.
9663 * math/Makefile (libm-calls): Add gamma_product.
9664 * math/libm-test.inc (tgamma_test): Add more tests.
9665 * sysdeps/i386/fpu/libm-test-ulps: Update.
9666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9667
bb7cf681
OB
96682013-05-08 Ondřej Bílka <neleai@seznam.cz>
9669
9670 * benchtests/bench-skeleton.c (main): Preheat CPU.
9671
ba853947
AJ
96722013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9673
9674 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9675
8347c74c
RM
96762013-05-07 Roland McGrath <roland@hack.frob.com>
9677
9678 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9679 and _dl_skip_args_internal.
9680
e8dd4791
CD
96812013-05-07 Carlos O'Donell <carlos@redhat.com>
9682
9683 * manual/message.texi (Message Translation): Talk about users.
9684 Message to key mapping impacts design.
9685
c7405830
RM
96862013-05-06 Roland McGrath <roland@hack.frob.com>
9687
a9173057
RM
9688 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9689
976e2f03
RM
9690 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9691
9723ffc5
RM
9692 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9693 * sysdeps/wordsize-64/glob64.c: ... here.
9694
962e6658
RM
9695 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9696 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9697 New macros.
9698
ee586a6d
RM
9699 * debug/getlogin_r_chk.c: Moved to ...
9700 * login/getlogin_r_chk.c: ... here.
9701 * debug/Makefile (routines): Move getlogin_r_chk to ...
9702 * login/Makefile (routines): ... here.
9703 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9704 * login/Versions (libc: GLIBC_2.4): ... here.
9705
355f9165
RM
9706 * io/poll.c (__poll): Renamed from poll.
9707 Add libc_hidden_def.
9708 (poll): Define as weak alias.
9709
bd9ffde6
RM
9710 * debug/ptsname_r_chk.c: Moved to ...
9711 * login/ptsname_r_chk.c: ... here.
9712 * debug/Makefile (routines): Move ptsname_r_chk to ...
9713 * login/Makefile (routines): ... here.
9714 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9715 * login/Versions (libc: GLIBC_2.4): ... here.
9716
8fb16a04
RM
9717 * posix/getlogin.c: Moved to ...
9718 * login/getlogin.c: ... here.
9719 * posix/getlogin_r.c: Moved to ...
9720 * login/getlogin_r.c: ... here.
9721 * posix/getlogin_r.c: Moved to ...
9722 * login/getlogin_r.c: ... here.
9723 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9724 * login/Makefile (routines): ... here.
9725 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9726 * login/Versions (libc: GLIBC_2.0): ... here.
9727
b99b892f
RM
9728 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9729 (setrlimit): Define as weak alias.
9730
c7405830
RM
9731 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9732 Call __ names for open, ftruncate, and close.
9733 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9734 (truncate): Define as weak alias.
9735
5bf96de5
JM
97362013-05-06 Joseph Myers <joseph@codesourcery.com>
9737
9ea3513c
JM
9738 * math/gen-libm-test.pl (parse_args): Initialize x before each
9739 test of frexp, modf and remquo.
9740
5bf96de5
JM
9741 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9742 test signgam value.
9743
16e616a7
AZ
97442013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9745
9746 [BZ #15418]
9747 [BZ #15419]
9748 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9749 internal tests.
9750 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9751
d5e82754
RM
97522013-05-06 Roland McGrath <roland@hack.frob.com>
9753
9754 * elf/dl-writev.h: New file.
9755 * elf/dl-misc.c: Include it.
9756 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9757 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9758
a7548d41
JM
97592013-05-04 Joseph Myers <joseph@codesourcery.com>
9760
b7dab1e4
JM
9761 * math/libm-test.inc (noXFails): Remove variable.
9762 (noXPasses): Likewise.
9763 (BUILD_COMPLEX_INT): Remove macro.
9764 (print_screen): Remove xfail argument.
9765 (print_screen_max_error): Likewise.
9766 (update_stats): Likewise.
9767 (print_max_error): Likewise. Update calls to other affected
9768 functions.
9769 (print_complex_max_error): Likewise.
9770 (test_single_exception): Update calls to print_screen.
9771 (test_single_errno): Likewise.
9772 (check_float_internal): Remove xfail argument. Update calls to
9773 other affected functions.
9774 (check_float): Likewise.
9775 (check_complex): Likewise.
9776 (check_int): Likewise.
9777 (check_long): Likewise.
9778 (check_bool): Likewise.
9779 (check_longlong): Likewise.
9780 (main): Don't print noXFails and noXPasses.
9781 * math/gen-libm-test.pl (top level): Don't mention expected
9782 failure handling in comment.
9783 (new_test): Don't handle expected failures.
9784 (parse_args): Don't mention expected failure handling in comment.
9785 (generate_testfile): Don't handle expected failures.
9786 (parse_ulps): Likewise.
9787 (print_ulps_file): Likewise.
9788 (get_failure): Remove function.
9789 (output_test): Don't handle expected failures.
9790 * make/README.libm-test: Don't mention expected failure handling.
9791
a7548d41
JM
9792 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9793 (minus_zero): Likewise.
9794 (plus_infty): Likewise.
9795 (minus_infty): Likewise.
9796 (qnan_value): Likewise.
9797 (max_value): Likewise.
9798 (min_value): Likewise.
9799 (min_subnorm_value): Likewise.
9800 (initialize): Do not initialize those variables dynamically.
9801
60bfd54c
RM
98022013-05-03 Roland McGrath <roland@hack.frob.com>
9803
cc0e6ed8
RM
9804 * io/open.c (__open_2): Moved to ...
9805 * io/open_2.c: ... this new file.
9806 * io/open64.c (__open64_2): Moved to ...
9807 * io/open64_2.c: ... this new file.
9808 * io/openat.c (__openat_2): Moved to ...
9809 * io/openat_2.c: ... this new file.
9810 * io/openat64.c (__openat64_2): Moved to ...
9811 * io/openat64_2.c: ... this new file.
9812 * io/Makefile (routines): Add them.
9813 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9814 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9815 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9816 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9817 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9818 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9819 (__openat64): Add hidden_ver.
9820 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9821 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9822
60bfd54c
RM
9823 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9824 Separately conditionalize setting of GLRO(dl_sysinfo) so
9825 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9826 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9827
83e7640f
AZ
98282013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9829
9830 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9831 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9832 definition.
9833 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9834 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9835 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9836 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9837 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9838
d5dc2af3
JM
98392013-05-03 Joseph Myers <joseph@codesourcery.com>
9840
c31a5b1e
JM
9841 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9842 test signgam value.
9843
d5dc2af3
JM
9844 * math/libm-test.inc (hypot_test): Do not use
9845 IGNORE_ZERO_INF_SIGN.
9846
164fd39d
AJ
98472013-05-03 Andreas Jaeger <aj@suse.de>
9848
9849 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9850 Linux 3.9.
9851 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9852 (PF_MAX): Adjust for VSOCK change.
9853
8237f48c
AZ
98542013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9855
9856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9857
9df02941
CD
98582013-05-02 Carlos O'Donell <carlos@redhat.com>
9859
9860 [BZ #15264]
9861 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9862 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9863 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9864
d422395e
DM
98652013-05-02 David S. Miller <davem@davemloft.net>
9866
9867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9868
a07c5731
OB
98692013-05-01 Ondřej Bílka <neleai@seznam.cz>
9870
9871 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9872
1324e37f
RM
98732013-05-01 Roland McGrath <roland@hack.frob.com>
9874
9875 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9876
0695940b
RS
98772013-05-01 Richard Smith <richard@metafoo.co.uk>
9878
bb5f27ad 9879 [BZ #14952]
0695940b
RS
9880 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9881 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9882 Use __attribute__ ((__gnu_inline__)).
9883 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9884 Don't use __attribute__ ((__gnu_inline__)).
9885
10de07f5
JM
98862013-05-01 Joseph Myers <joseph@codesourcery.com>
9887
9888 [BZ #15423]
9889 * math/s_catan.c (__catan): Handle small real or imaginary part of
9890 input specially to avoid spurious underflow.
9891 * math/s_catanf.c (__catanf): Likewise.
9892 * math/s_catanh.c (__catanh): Likewise.
9893 * math/s_catanhf.c (__catanhf): Likewise.
9894 * math/s_catanhl.c (__catanhl): Likewise.
9895 * math/s_catanl.c (__catanl): Likewise.
9896 * math/libm-test.inc (catan_test): Add more tests.
9897 (catanh_test): Likewise.
9898 * sysdeps/i386/fpu/libm-test-ulps: Update.
9899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9900
cb4d5414
AZ
99012013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9902
9903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9904
caf84319
JM
99052013-04-30 Joseph Myers <joseph@codesourcery.com>
9906
9907 [BZ #15416]
9908 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9909 accurately for denominator in atan2.
9910 * math/s_catanf.c (__catanf): Likewise.
9911 * math/s_catanh.c (__catanh): Likewise.
9912 * math/s_catanhf.c (__catanhf): Likewise.
9913 * math/s_catanhl.c (__catanhl): Likewise.
9914 * math/s_catanl.c (__catanl): Likewise.
9915 * math/libm-test.inc (catan_test): Add more tests.
9916 (catanh_test): Likewise.
9917 * sysdeps/i386/fpu/libm-test-ulps: Update.
9918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9919
d569c6ee
SP
99202013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9921
6dbe713d
SP
9922 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9923
f0ee064b
SP
9924 * benchtests/Makefile (bench): Remove slow benchmarks.
9925 * benchtests/atan-inputs: Add slow benchmark inputs.
9926 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9927 (BENCH_FUNC): Accept variant offset.
9928 (VARIANT): Define.
9929 * benchtests/bench-skeleton.c (main): Run benchmark for each
9930 variant.
9931 * benchtests/cos-inputs: Add slow benchmark inputs.
9932 * benchtests/exp-inputs: Likewise.
9933 * benchtests/pow-inputs: Likewise.
9934 * benchtests/sin-inputs: Likewise.
9935 * benchtests/slowatan-inputs: Remove.
9936 * benchtests/slowatan.c: Remove.
9937 * benchtests/slowcos-inputs: Remove.
9938 * benchtests/slowcos.c: Remove.
9939 * benchtests/slowexp-inputs: Remove.
9940 * benchtests/slowexp.c: Remove.
9941 * benchtests/slowpow-inputs: Remove.
9942 * benchtests/slowpow.c: Remove.
9943 * benchtests/slowsin-inputs: Remove.
9944 * benchtests/slowsin.c: Remove.
9945 * benchtests/slowtan-inputs: Remove.
9946 * benchtests/slowtan.c: Remove.
9947 * benchtests/tan-inputs: Add slow benchmark inputs.
9948 * scripts/bench.pl: Parse comments and directives.
9949
d569c6ee
SP
9950 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9951 in CPPFLAGS.
9952 ($(objpfx)bench-%.c): Remove *-ITER.
9953 * benchtests/bench-modf.c: Remove definition of ITER.
9954 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9955 (main): Loop for DURATION seconds instead of fixed number of
9956 iterations.
9957 * scripts/bench.pl: Don't expect iterations in parameters.
9958
a6a242fe
RM
99592013-04-29 Roland McGrath <roland@hack.frob.com>
9960
9961 * io/fchdir.c (__fchdir): Renamed from fchdir.
9962 (fchdir): Define as weak alias.
9963
f2da7793
JM
99642013-04-29 Joseph Myers <joseph@codesourcery.com>
9965
9966 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9967 (ERRNO_EDOM): Likewise.
9968 (ERRNO_ERANGE): Likewise.
9969 (noErrnoTests): New variable.
9970 (init_max_error): Set errno to 0.
9971 (test_single_errno): New function.
9972 (test_errno): Likewise.
9973 (check_float_internal): Call test_errno. Set errno to 0.
9974 (check_complex): Refer to errno tests in comment.
9975 (check_int): Call test_errno. Set errno to 0.
9976 (check_long): Likewise.
9977 (check_bool): Likewise.
9978 (check_longlong): Likewise.
9979 (cos_test): Use ERRNO_* flags for errno tests instead of
9980 check_int.
9981 (expm1_test): Likewise.
9982 (fmod_test): Likewise.
9983 (ilogb_test): Likewise.
9984 (lgamma_test): Likewise.
9985 (pow_test): Likewise.
9986 (remainder_test): Likewise.
9987 (sin_test): Likewise.
9988 (tan_test): Likewise.
9989 (yn_test): Likewise.
9990 (initialize): Set errno to 0.
9991 (main): Print number of errno tests.
9992 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9993
b1a36ceb
AJ
99942013-04-29 Andreas Jaeger <aj@suse.de>
9995
c3ed8088
AJ
9996 [BZ #15084]
9997 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9998 and RES_USEVC.
9999
f1a24198
AJ
10000 [BZ #15085]
10001 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10002 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10003 unimplemented.
10004
9ce3b2cb
AJ
10005 [BZ #15380]
10006 * stdlib/random.c (__initstate): Return NULL if
10007 __initstate fails.
10008
f1a24198 10009 [BZ #15086]
b1a36ceb
AJ
10010 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10011 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10012 RES_SNGLKUPREOP.
10013
7e7b6f36
AZ
100142013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10015
10016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10017
4d14f449
JM
100182013-04-29 Joseph Myers <joseph@codesourcery.com>
10019
10020 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10021 of individual tests.
10022 (casin_test): Likewise.
10023 (casinh_test): Likewise.
10024
5b4217d7
JM
100252013-04-27 Joseph Myers <joseph@codesourcery.com>
10026
10027 [BZ #15409]
10028 * math/s_catan.c (__catan): Handle arguments with large real or
10029 imaginary part separately without squaring.
10030 * math/s_catanf.c (__catanf): Likewise.
10031 * math/s_catanh.c (__catanh): Likewise.
10032 * math/s_catanhf.c (__catanhf): Likewise.
10033 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10034 and redefine.
10035 (__catanhl): Handle arguments with large real or imaginary part
10036 separately without squaring.
10037 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10038 and redefine.
10039 (__catanl): Handle arguments with large real or imaginary part
10040 separately without squaring.
10041 * math/libm-test.inc (catan_test): Add more tests.
10042 (catanh_test): Likewise.
10043 * sysdeps/i386/fpu/libm-test-ulps: Update.
10044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10045
4220c3ef
AJ
100462013-04-27 Andreas Jaeger <aj@suse.de>
10047
10048 [BZ #15007]
10049 * stdlib/stdlib.h: Update guards for qecvt.
10050 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10051 <stdlib.h>.
10052
4721b2d1
AM
100532013-04-27 Allan McRae <allan@archlinux.org>
10054
10055 * sysdeps/i386/fpu/libm-test-ulps: Update.
10056
f0302940
JM
100572013-04-26 Joseph Myers <joseph@codesourcery.com>
10058
9457fd95
JM
10059 [BZ #15406]
10060 * math/s_catan.c: Include <float.h>.
10061 (__catan): Ensure underflow exception occurs for underflowed
10062 result.
10063 * math/s_catanf.c: Include <float.h>.
10064 (__catanf): Ensure underflow exception occurs for underflowed
10065 result.
10066 * math/s_catanh.c: Include <float.h>.
10067 (__catanh): Ensure underflow exception occurs for underflowed
10068 result.
10069 * math/s_catanhf.c: Include <float.h>.
10070 (__catanhf): Ensure underflow exception occurs for underflowed
10071 result.
10072 * math/s_catanhl.c: Include <float.h>.
10073 (__catanhl): Ensure underflow exception occurs for underflowed
10074 result.
10075 * math/s_catanl.c: Include <float.h>.
10076 (__catanl): Ensure underflow exception occurs for underflowed
10077 result.
10078 * math/libm-test.inc (catan_test): Add more tests.
10079 (catanh_test): Likewise.
10080
f0302940
JM
10081 [BZ #15405]
10082 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10083 underflowed result.
10084 * math/s_ccoshf.c (__ccoshf): Likewise.
10085 * math/s_ccoshl.c (__ccoshl): Likewise.
10086 * math/s_csin.c (__csin): Likewise.
10087 * math/s_csinf.c (__csinf): Likewise.
10088 * math/s_csinh.c (__csinh): Likewise.
10089 * math/s_csinhf.c (__csinhf): Likewise.
10090 * math/s_csinhl.c (__csinhl): Likewise.
10091 * math/s_csinl.c (__csinl): Likewise.
10092 * math/libm-test.inc (ccos_test): Add more tests.
10093 (ccosh_test): Likewise.
10094 (csin_test): Likewise.
10095 (csinh_test): Likewise.
10096
aa630f59
AZ
100972013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10098
10099 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10100 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10101 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10102 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10103 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10104 powerpc/power5+/fpu folders.
10105 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10106
10107
1b835983
MT
101082013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10109
10110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10111
73709b26
JM
101122013-04-25 Joseph Myers <joseph@codesourcery.com>
10113
10114 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10115 additions to variable.
10116 [$(config-machine) = x86_64] (modules-names): Likewise.
10117 ($(objpfx)tst-audit3): Remove dependency.
10118 ($(objpfx)tst-audit3.out): Likewise.
10119 ($(objpfx)tst-audit4): Likewise.
10120 ($(objpfx)tst-audit4.out): Likewise.
10121 ($(objpfx)tst-audit5): Likewise.
10122 ($(objpfx)tst-audit5.out): Likewise.
10123 ($(objpfx)tst-audit6): Likewise.
10124 ($(objpfx)tst-audit6.out): Likewise.
10125 ($(objpfx)tst-audit7): Likewise.
10126 ($(objpfx)tst-audit7.out): Likewise.
10127 (tst-audit3-ENV): Remove variable.
10128 (tst-audit4-ENV): Likewise.
10129 (tst-audit5-ENV): Likewise.
10130 (tst-audit6-ENV): Likewise.
10131 (tst-audit7-ENV): Likewise.
10132 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10133 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10134 addition to variable.
10135 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10136 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10137 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10138 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10139 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10140 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10141 tst-audit3, tst-audit4 and tst-audit5.
10142 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10143 tst-audit6 and tst-audit7.
10144 [$(subdir) = elf] (modules-names): Add audit modules for those
10145 tests.
10146 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10147 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10148 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10149 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10150 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10151 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10152 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10153 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10154 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10155 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10156 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10157 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10158 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10159 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10160 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10161 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10162 Likewise.
10163 [$(subdir) = elf && $(config-cflags-avx) = yes]
10164 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10165 [$(subdir) = elf && $(config-cflags-avx) = yes]
10166 (CFLAGS-tst-auditmod4a.c): Likewise.
10167 [$(subdir) = elf && $(config-cflags-avx) = yes]
10168 (CFLAGS-tst-auditmod4b.c): Likewise.
10169 [$(subdir) = elf && $(config-cflags-avx) = yes]
10170 (CFLAGS-tst-auditmod6b.c): Likewise.
10171 [$(subdir) = elf && $(config-cflags-avx) = yes]
10172 (CFLAGS-tst-auditmod6c.c): Likewise.
10173 [$(subdir) = elf && $(config-cflags-avx) = yes]
10174 (CFLAGS-tst-auditmod7b.c): Likewise.
10175 * elf/tst-audit3.c: Move to ...
10176 * sysdeps/x86_64/tst-audit3.c: ... here.
10177 * elf/tst-audit4.c: Move to ...
10178 * sysdeps/x86_64/tst-audit4.c: ... here.
10179 * elf/tst-audit5.c: Move to ...
10180 * sysdeps/x86_64/tst-audit5.c: ... here.
10181 * elf/tst-audit6.c: Move to ...
10182 * sysdeps/x86_64/tst-audit6.c: ... here.
10183 * elf/tst-audit7.c: Move to ...
10184 * sysdeps/x86_64/tst-audit7.c: ... here.
10185 * elf/tst-auditmod3a.c: Move to ...
10186 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10187 * elf/tst-auditmod3b.c: Move to ...
10188 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10189 * elf/tst-auditmod4a.c: Move to ...
10190 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10191 * elf/tst-auditmod4b.c: Move to ...
10192 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10193 * elf/tst-auditmod5a.c: Move to ...
10194 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10195 * elf/tst-auditmod5b.c: Move to ...
10196 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10197 * elf/tst-auditmod6a.c: Move to ...
10198 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10199 * elf/tst-auditmod6b.c: Move to ...
10200 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10201 * elf/tst-auditmod6c.c: Move to ...
10202 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10203 * elf/tst-auditmod7a.c: Move to ...
10204 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10205 * elf/tst-auditmod7b.c: Move to ...
10206 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10207
1ef74943
PP
102082013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10209
10210 [BZ #15366]
10211 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10212 define unconditionally.
10213 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10214 define unconditionally.
10215 (INT8_C, INT16_C, etc.): Likewise.
10216
93fd48c5
MR
102172013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10218
ae9552cf
MR
10219 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10220 __ehdr_start with hidden visibility.
10221
93fd48c5
MR
10222 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10223
418601aa
CD
102242013-04-24 Carlos O'Donell <carlos@redhat.com>
10225
10226 * math/libm-test.inc (cos_test): Use accurate hex constants.
10227 (sincost_test): Likewise.
10228
2f38fbfe
JM
102292013-04-24 Joseph Myers <joseph@codesourcery.com>
10230
5e221800
JM
10231 * math/libm-test.inc (catan_test): Add more tests.
10232 (catanh_test): Likewise.
10233
77f143fd
JM
10234 * math/s_catanf.c (__catanf): Use suffixed floating-point
10235 constants.
10236 * math/s_catanhf.c (__catanhf): Likewise.
10237 * math/s_catanhl.c (__catanhl): Likewise.
10238 * math/s_catanl.c (__catanl): Likewise.
10239
2f38fbfe
JM
10240 [BZ #15394]
10241 * math/s_catan.c (__catan): Calculate imaginary part of result
10242 with log1p not log unless computing log of number close to 0.
10243 * math/s_catanf.c (__catanf): Likewise.
10244 * math/s_catanl.c (__catanl): Likewise.
10245 * math/s_catanh.c (__catanh): Calculate real part of result with
10246 log1p not log unless computing log of number close to 0.
10247 * math/s_catanhf.c (__catanhf): Likewise.
10248 * math/s_catanhl.c (__catanhl): Likewise.
10249 * math/libm-test.inc (catan_test): Add more tests.
10250 (catanh_test): Likewise.
10251 * sysdeps/i386/fpu/libm-test-ulps: Update.
10252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10253
45d69176
SP
102542013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10255
10256 * benchtests/Makefile: Mention files in which fast and slow
10257 paths of math functions are implemented.
10258
87f51853
RM
102592013-04-23 Roland McGrath <roland@hack.frob.com>
10260
10261 * sysdeps/posix/timespec_get.c: New file.
10262
3c026539
AZ
102632013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10264
10265 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10266 POWER.
10267 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10268 for POWER.
10269 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10270 powerpc/power5/fpu folders.
10271 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10272 * benchtests/Makefile: Add modf testcase.
10273 * benchtests/bench-modf.c: New file: Benchmark test for mo
10274
ff491d14
SP
102752013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10276
10277 [BZ #14888]
10278 * time/Makefile (tests): Add tst-strptime-whitespace.
10279 * time/strptime_l.c (get_number): Use ISSPACE.
10280 (__strptime_internal): Likewise.
10281 * time/tst-strptime-whitespace.c: New test case.
10282
7ed3f4e8
AS
102832013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10284
10285 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10286 member.
10287 (_nss_files_init): Set it here.
10288
5c95f7b6
HC
102892013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10290
10291 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10292 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10293 unsigned.
10294
d34c9158
JBG
102952013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10296
10297 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10298
2169712d
SP
102992013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10300
10301 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10302 size just once.
10303
29c5de99
DM
103042013-04-21 David S. Miller <davem@davemloft.net>
10305
10306 * po/ru.po: Update Russion translation from translation project.
10307
ccdad15d
AC
103082013-04-17 Adam Conrad <adconrad@0c3.net>
10309
10310 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10311 and setfsgid.
10312
0f122b8d
CD
103132013-04-17 Carlos O'Donell <carlos@redhat.com>
10314
5c5b07da 10315 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10316 * configure: Regenerate.
5c5b07da 10317 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10318 Add example to error message.
10319 * sysdeps/i386/configure: Regenerate.
10320
037714dd
SP
103212013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10322
10323 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10324 slowtan.
10325 * benchtests/cos-inputs: New file.
10326 * benchtests/slowcos-inputs: New file.
10327 * benchtests/slowcos.c: New file.
10328 * benchtests/slowtan-inputs: New file.
10329 * benchtests/slowtan.c: New file.
10330 * benchtests/tan-inputs: New file.
10331
e913141d
RM
103322013-04-16 Roland McGrath <roland@hack.frob.com>
10333
10334 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10335 considered kosher.
10336
a2964074
SP
103372013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10338
4856bcd2
SP
10339 * benchtests/Makefile: Include cppflags-iterator.mk to add
10340 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10341
a2964074
SP
10342 * Makefile.in (bench-clean): New target.
10343 * benchtests/Makefile (bench-clean): Likewise.
10344
9fbf9aca
DH
103452013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10346
10347 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10348
207d1e2a
TS
103492013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10350
10351 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10352
306dfba9
AS
103532013-04-15 Andreas Schwab <schwab@suse.de>
10354
10355 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10356 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10357 * nscd/pwdcache.c (cache_addpw): Likewise.
10358 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10359 more than recsize.
10360
206a6699
SP
103612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10362
10363 * benchtests/Makefile (bench): Write all output to
10364 bench-out.tmp together.
10365
0582f6b3
AS
103662013-04-15 Andreas Schwab <schwab@suse.de>
10367
10368 * nscd/nscd.c (main): Don't fork again after closing files.
10369
acb4325f
SP
103702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10371
5cb26d0a
SP
10372 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10373
acb4325f
SP
10374 * benchtests/Rules (bench-deps): Collect dependencies into a
10375 single variable. Add Makefile to dependencies.
10376 ($(objpfx)bench-%.c): Depend on bench-deps.
10377
47792506
RM
103782013-04-12 Roland McGrath <roland@hack.frob.com>
10379 Xavier Roche <roche+kml2@exalead.com>
10380
10381 [BZ #15361]
10382 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10383 just that it's a file descriptor.
10384 * manual/llio.texi (Synchronizing AIO Operations): Update description
10385 for EBADF error from aio_fsync.
10386
8fc1bee5
SP
103872013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10388
10389 * Rules (bench): Move target definition...
10390 * benchtests/Makefile: ... here.
10391
aba5e333
CD
103922013-04-11 Carlos O'Donell <carlos@redhat.com>
10393
10394 * math/libm-test.inc (cos_test): Fix PI/2 test.
10395 (sincos_test): Likewise.
10396 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10397 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10398
273cdee8
AS
103992013-04-11 Andreas Schwab <schwab@suse.de>
10400
6ecec3b6
AS
10401 [BZ #13988]
10402 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10403 accept exponent character only when digits were seen.
10404 * stdio-common/Makefile (tests): Add bug26.
10405 * stdio-common/bug26.c: New file.
10406
273cdee8
AS
10407 [BZ #14293]
10408 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10409 non-freeable.
10410
8da491f5
SP
104112013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10412
01dc6df9
SP
10413 * Makeconfig (rtld-prefix): Define built linker prefix.
10414 * Rules (run-bench): Use it.
10415 * math/Makefile (run-regen-ulps): Likewise.
10416
8da491f5
SP
10417 * Rules (bench): Remove eval.
10418
abe7f530
SP
104192013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 Roland McGrath <roland@hack.frob.com>
10421 Ondrej Bilka <neleai@seznam.cz>
10422
10423 [BZ #15346]
10424 * time/getdate.c: Include ctype.h and alloca.h.
10425 (__getdate_r): Trim leading and trailing spaces of input.
10426 * time/tst-getdate.c (tests): Add tests with leading and
10427 trailing spaces.
10428
61c23e62
RM
104292013-04-08 Roland McGrath <roland@hack.frob.com>
10430
10431 [BZ #14280]
10432 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10433 when computing value.
10434
7208a313
CD
104352013-04-06 Carlos O'Donell <carlos@redhat.com>
10436
085b2d41
CD
10437 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10438 Use testrun.sh to run libm tests.
10439
7208a313
CD
10440 [BZ #15309]
10441 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10442
872c0acd
MM
104432013-04-06 Marko Myllynen <myllynen@redhat.com>
10444
10445 [BZ #15264]
10446 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10447
26510bdd
CD
104482013-04-06 Carlos O'Donell <carlos@redhat.com>
10449
10450 * Makefile.in (regen-ulps): New target.
10451 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10452 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10453 [ifneq (no,$(PERL)] (regen-ulps): New target.
10454 [ifeq (no,$(PERL)] (regen-ulps): New target.
10455 * math/libm-test.inc (ulps_file_name): Define.
10456 (output_dir): New variable.
10457 (options): Add "output-dir" option.
10458 (parse_opt): Handle 'o' case.
10459 (main): If output_dir is non-NULL use it as a prefix
10460 otherwise use "".
10461 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10462
a01f19c8
CD
104632013-04-06 Carlos O'Donell <carlos@redhat.com>
10464
10465 [BZ #10060, #10062]
10466 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10467 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10468 fail configure if __sync_val_compare_and_swap is not inlined.
10469 * sysdeps/i386/configure: Regenerate.
10470 * configure.in: Build for i686 when configured for i386.
10471 * configure: Regenerate.
10472 * README: Remove i386 reference.
10473
b7a329a5
CD
104742013-04-06 Carlos O'Donell <carlos@redhat.com>
10475
10476 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10477 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10478
bf0f50df
TS
104792013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10480
ee091edf
TS
10481 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10482 (lmsnanval): New variables.
10483 (F): Add conversion tests.
10484 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10485 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10486
a8b792d6
TS
10487 * stdio-common/tstdiomisc.c (F): Properly collect individual
10488 tests' results.
10489
a1cbf437
TS
10490 [BZ #14686, #15336]
10491 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10492 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10493 Instead, use input NaN values or generate a qNaN by arithmetic
10494 operation. Also fix bugs to comply with the standard.
10495 * math/libm-test.inc (remainder_test): Add more tests.
10496
8b43a0c9
TS
10497 [BZ #15335, #15342]
10498 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10500 input NaN values or generate a qNaN by arithmetic operation.
10501
d91da4ce
TS
10502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10503 unreachable code.
10504
bf0f50df
TS
10505 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10506 definitions.
10507
05e166c8
JM
105082013-04-03 Joseph Myers <joseph@codesourcery.com>
10509
10510 [BZ #14478]
10511 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10512 underflowed result.
10513 * math/s_cexpf.c (__cexpf): Likewise.
10514 * math/s_cexpl.c (__cexpl): Likewise.
10515 * math/libm-test.inc (cexp_test): Add more tests.
10516
1cef1b19
AS
105172013-04-03 Andreas Schwab <schwab@suse.de>
10518
10519 [BZ #15330]
10520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10521 order arrays from heap if bigger than alloca cutoff.
10522
74d87055
TS
105232013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10524
10525 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10526 (SNAN_TESTS_double): Refer to GCC PR56831.
10527 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10528 GCC PR56828.
10529
d755bba4
SP
105302013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10531
90d5d5bb
SP
10532 * Rules (bench): Move bench.out after the run is complete.
10533
73e0cd5d
SP
10534 * Rules (bench): Echo currently running benchmark.
10535
64aabd4b
SP
10536 * benchtests/Makefile (bench): Add atan and slowatan.
10537 * benchtests/atan-inputs: New file.
10538 * benchtests/slowatan-inputs: New file.
10539 * benchtests/slowatan.c: New file.
10540
c871eccd
SP
10541 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10542 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10543 its value.
10544
d755bba4
SP
10545 [BZ #15305]
10546 * sysdeps/unix/sysv/linux/kernel-features.h
10547 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10548 __ASSUME_XFS_RESTRICTED_CHOWN.
10549 * sysdeps/unix/sysv/linux/pathconf.c
10550 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10551 Save and restore errno.
10552
52ce4860
JM
105532013-04-02 Joseph Myers <joseph@codesourcery.com>
10554
10555 [BZ #15327]
10556 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10557 arguments using __kernel_casinh.
10558 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10559 arguments using __kernel_casinhf.
10560 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10561 arguments using __kernel_casinhl.
10562 * math/libm-test.inc (cacosh_test): Add more tests.
10563 * sysdeps/i386/fpu/libm-test-ulps: Update.
10564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10565
81f311c2
SP
105662013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10567
e7906a47
SP
10568 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10570
92e3664b
SP
10571 * bench/Makefile (bench): Add sin and slowsin.
10572 * benchtests/sin-inputs: New file.
10573 * benchtests/slowsin-inputs: New file.
10574 * benchtests/slowsin.c: New file.
10575
81f311c2
SP
10576 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10577 (bench): Add slowexp and slowpow.
10578 (exp-ITER): Increase iterations.
10579 (pow-ITER): Likewise.
10580 * benchtests/exp-inputs: Change input.
10581 * benchtests/pow-inputs: Likewise.
10582 * benchtests/slowexp-inputs: New file.
10583 * benchtests/slowexp.c: New file.
10584 * benchtests/slowpow-inputs: New file.
10585 * benchtests/slowpow.c: New file.
10586
ab0f1aa9
AZ
105872013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10588
10589 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10590 instructions.
10591 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10592 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10593 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10594 * benchtests/Makefile: Add rint benchtest.
10595 * benchtests/rint-inputs: Input for rint benchtest.
10596
57267616
TS
105972013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10598
10599 * Versions.def (libm): Add GLIBC_2.18.
10600 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10601 hidden libm prototypes.
10602 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10603 * math/Makefile (libm-calls): Add s_issignaling.
10604 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10605 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10606 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10607 declaration.
10608 * math/math.h [__USE_GNU] (issignaling): New macro.
10609 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10610 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10612 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10615 * manual/arith.texi (issignaling): New section.
10616 * manual/libm-err-tab.pl (@all_functions): Update comment.
10617 * math/gen-libm-test.pl (parse_args): Apply special handling for
10618 issignaling.
10619 * math/libm-test.inc (print_float, issignaling_test): New
10620 functions.
10621 (check_float_internal): Add issignaling checks.
10622 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10623 default definition.
10624 * sysdeps/powerpc/math-tests.h: New file.
10625 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10626 tests.
10627 * math/test-snan.c (TEST_FUNC): Likewise.
10628
6142896d
DM
106292013-03-30 David S. Miller <davem@davemloft.net>
10630
10631 * po/de.po: Update from translation team.
10632
ccc8cadf
JM
106332013-03-30 Joseph Myers <joseph@codesourcery.com>
10634
10635 [BZ #10357]
10636 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10637 imaginary part less than 1.0 and real part less than 0.5
10638 specially.
10639 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10640 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10641 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10642 (cacos_test): Add more tests.
10643 (casin_test): Likewise.
10644 (casinh_test): Likewise.
10645 * sysdeps/i386/fpu/libm-test-ulps: Update.
10646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10647
0f6a8d4b
SP
106482013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10649
0d1029de
SP
10650 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10651 ONE with its value.
10652
c2d94018
SP
10653 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10654 (__pow_mp): Replace ONE and MONE with their values.
10655 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10656 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10657 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10658 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10659 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10660 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10661
27ec37f1
SP
10662 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10663
a64d7e0e
SP
10664 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10665 (__pow_mp): Replace ZERO and MZERO with their values.
10666 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10667 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10668 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10670 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10671 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10672 (__sqr): Likewise.
10673
d26dd3eb
SP
10674 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10675
0f6a8d4b
SP
10676 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10677
e57b0c61
RM
106782013-03-28 Roland McGrath <roland@hack.frob.com>
10679
10680 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10681 Declare with __attribute__ ((weak)).
10682 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10683 Call __call_tls_dtors only if it's not NULL.
10684
356b3480
RM
106852013-03-28 Roland McGrath <roland@hack.frob.com>
10686
288f7d79
RM
10687 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10688 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10689 magic __ehdr_start linker symbol if it's defined.
10690 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10691 them up here if it was already done.
10692
dc0a0263
RM
10693 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10694 (_dl_aux_init): Use const in cast when setting it.
10695 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10696 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10697 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10698
3d3436ae
RM
10699 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10700 Declare them here.
10701 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10702 * csu/libc-tls.c: Nor here.
10703 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10704
356b3480
RM
10705 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10706 (__libc_message): Never call vsyslog.
10707
b0f1246a
AM
107082013-03-28 Alan Modra <amodra@gmail.com>
10709
10710 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10711 Define as empty.
10712 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10713 Likewise.
10714
fbbe2b9a
AZ
107152013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10716
10717 [BZ #15214]
10718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10719 underflow.
10720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10721
1728ab37
SP
107222013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10723
7a86be6e
SP
10724 [BZ #15304]
10725 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10726 Don't add gid passed as argument.
10727
1728ab37
SP
10728 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10729
3a7182a1
JM
107302013-03-27 Joseph Myers <joseph@codesourcery.com>
10731
10732 [BZ #15307]
10733 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10734 imaginary part between 1.0 and 1.5 and real part less than 0.5
10735 specially.
10736 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10737 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10738 * math/libm-test.inc (cacos_test): Add more tests.
10739 (casin_test): Likewise.
10740 (casinh_test): Likewise.
10741 * sysdeps/i386/fpu/libm-test-ulps: Update.
10742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10743
6f2e90e7
SP
107442013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10745
5739f705
SP
10746 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10747 constants.
10748 (norm): Likewise.
10749 (denorm): Likewise.
10750 (__dbl_mp): Likewise.
10751 (add_magnitudes): Likewise.
10752 (sub_magnitudes): Likewise.
10753 (__add): Likewise.
10754 (__sub): Likewise.
10755 (__mul): Likewise.
10756 (__sqr): Likewise.
10757 (__inv): Likewise.
10758 (__dvd): Likewise.
10759
e375e83d
SP
10760 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10761 commented code.
10762 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10763 (__dubcos): Likewise.
10764 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10765 (__ieee754_acos): Likewise.
10766 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10767 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10768 (__exp1): Likewise.
10769 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10770 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10771 (log1): Likewise.
10772 (my_log2): Likewise.
10773 (checkint): Likewise.
10774 * sysdeps/ieee754/dbl-64/e_remainder.c
10775 (__ieee754_remainder): Likewise.
10776 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10777 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10778 (bsloww): Likewise.
10779 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10780
6f2e90e7
SP
10781 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10782 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10783 MANTISSA_STORE_T to store computations on mantissa. Use
10784 macros for rounding and division.
10785 (denorm): Likewise.
10786 (__dbl_mp): Likewise.
10787 (add_magnitudes): Likewise.
10788 (sub_magnitudes): Likewise.
10789 (__mul): Likewise.
10790 (__sqr): Likewise.
10791 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10792 powers of two in terms of TWOPOW macro.
10793 (mp_no): Make type of mantissa as MANTISSA_T.
10794 [!RADIXI]: Define RADIXI.
10795 [!TWO52]: Define TWO52.
10796 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10797
fce14d4e
AZ
107982013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10799
10800 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10801 llroundl symbol when building for PPC32.
10802
9ad027fb
MW
108032013-03-24 Mark H Weaver <mhw@netris.org>
10804
10805 * manual/arith.texi (Normalization Functions): Fix prototypes for
10806 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10807
e42a38dd
AZ
108082013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10809
10810 [BZ #13889]
10811 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10812 high value to check if expl overflow.
10813 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10814 to check for underflow and overflow.
10815 * math/libm-test.inc: Add exp test.
10816
2e0fb521
DL
108172013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10818
10819 [BZ #11120]
10820 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10821 with NOT_IN_libc.
10822
b5784d95
AZ
108232013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10824
10825 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10826 symbol.
10827
5aa4a1a1
TS
108282013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10829
bdef0be7
TS
10830 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10831 wrap blocks consisting of several statements.
10832
5aa4a1a1
TS
10833 * sysdeps/generic/math-tests.h: New file.
10834 * sysdeps/i386/fpu/math-tests.h: Likewise.
10835 * math/test-snan.c: Include it.
10836 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10837
98c48fe5
JM
108382013-03-21 Joseph Myers <joseph@codesourcery.com>
10839
10840 [BZ #15285]
10841 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10842 (__ieee754_j0l): Do not improve calculations using cos of twice
10843 input for inputs above LDBL_MAX / 2.0L.
10844 (__ieee754_y0l): Likewise.
10845 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10846 (__ieee754_j1l): Do not improve calculations using cos of twice
10847 input for inputs above LDBL_MAX / 2.0L.
10848 (__ieee754_y1l): Likewise.
10849 * math/libm-test.inc (j0_test): Add another test.
10850 (j1_test): Likewise.
10851 (y0_test): Likewise.
10852 (y1_test): Likewise.
10853 * sysdeps/i386/fpu/libm-test-ulps: Update.
10854
3775a8bc
SP
108552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10856
10857 * Rules ($(objpfx)bench-%.c): Include code from a C source
10858 file.
10859
0a1b2ae6
JM
108602013-03-21 Joseph Myers <joseph@codesourcery.com>
10861
10862 [BZ #15287]
10863 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10864 imaginary part 1.0 and real part less than 0.5 specially.
10865 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10866 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10867 * math/libm-test.inc (cacos_test): Add more tests.
10868 (casin_test): Likewise.
10869 (casinh_test): Likewise.
10870 * sysdeps/i386/fpu/libm-test-ulps: Update.
10871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10872
b33d4ce4
SP
108732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10874
10875 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10876 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10877
bef0b507
JM
108782013-03-20 Joseph Myers <joseph@codesourcery.com>
10879
10880 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10881 * config.make.in (config-cflags-sse4): Remove variable.
10882 (config-cflags-avx): Likewise.
10883 (config-cflags-sse2avx): Likewise.
10884 (config-cflags-novzeroupper): Likewise.
10885 (config-asflags-i686): Likewise.
10886 (have-mfma4): Likewise.
10887 (have-as-vis3): Likewise.
10888 (MIG): Likewise.
10889 * configure.in (MIG): Do not AC_SUBST.
10890 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10891 (libc_cv_cc_sse4): Do not AC_SUBST.
10892 (libc_cv_cc_avx): Likewise.
10893 (libc_cv_cc_sse2avx): Likewise.
10894 (libc_cv_cc_novzeroupper): Likewise.
10895 (libc_cv_cc_fma4): Likewise.
10896 (libc_cv_as_i686): Likewise.
10897 (libc_cv_sparc_as_vis3): Likewise.
10898 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10899 LIBC_CONFIG_VAR.
10900 (config-asflags-i686): Likewise.
10901 (config-cflags-avx): Likewise.
10902 (config-cflags-sse2avx): Likewise.
10903 (have-mfma4): Likewise.
10904 (config-cflags-novzeroupper): Likewise.
10905 * sysdeps/mach/configure.in (MIG): Likewise.
10906 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10907 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10908 LIBC_CONFIG_VAR.
10909 (config-cflags-avx): Likewise.
10910 (config-cflags-sse2avx): Likewise.
10911 (have-mfma4): Likewise.
10912 (config-cflags-novzeroupper): Likewise.
10913 * configure: Regenerated.
10914 * sysdeps/i386/configure: Likewise.
10915 * sysdeps/mach/configure: Likewise.
10916 * sysdeps/sparc/configure: Likewise.
10917 * sysdeps/x86_64/configure: Likewise.
10918
912cc4b3
RM
109192013-03-20 Roland McGrath <roland@hack.frob.com>
10920
10921 [BZ #14812]
10922 * locale/programs/localedef.c (options): Put N_ translation marker
10923 on argument names, not just descriptions.
10924
04eed2b0
MS
109252013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10926
10927 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10928
a065ceff
OB
109292013-03-20 Ondřej Bílka <neleai@seznam.cz>
10930
9bb2a810 10931 [BZ #14176]
a065ceff
OB
10932 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10933
a600e5ce
RM
109342013-03-19 Roland McGrath <roland@hack.frob.com>
10935
10936 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10937 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10938 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10939 [!BEFORE_ABORT] (before_abort): New function.
10940 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10941 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10942 (writev_for_fatal): New function.
10943 (WRITEV_FOR_FATAL): New macro; call that.
10944 (backtrace_and_maps): New function.
10945 (BEFORE_ABORT): New macro; call that.
10946 (struct str_list): Type removed.
10947 (__libc_message, __libc_fatal): Functions removed.
10948 Include <sysdeps/posix/libc_fatal.c> instead.
10949
6b18bea6
JM
109502013-03-19 Joseph Myers <joseph@codesourcery.com>
10951
10952 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10953 constants.
10954 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10955 double constants.
10956
aaa8cb4b
AS
109572013-03-19 Andreas Schwab <schwab@suse.de>
10958
44673770
AS
10959 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10960 * sysdeps/gnu/configure: Regenerate.
10961
aaa8cb4b
AS
10962 * configure.in: Substitute libc_cv_rtlddir.
10963 * configure: Regenerate.
10964 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10965 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10966 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10967 * elf/Makefile (install-others, CFLAGS-interp.c)
10968 (ldso_install, common-ldd-rewrite): Likewise.
10969 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10970 $(inst_slibdir)/$(rtld-installed-name).
10971 * scripts/rellns-sh: Add -p option.
10972 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10973 for source.
10974
d3cfc668
SP
109752013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10976
10977 * manual/nptl.texi: Renamed to ...
10978 * manual/threads.texi: ... this.
10979 * manual/Makefile (chapters): Update.
10980
0e2b9cdd
RM
109812013-03-18 Roland McGrath <roland@hack.frob.com>
10982
10983 [BZ #14812]
10984 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10985 on argument names, not just descriptions.
0e2b9cdd
RM
10986 * malloc/memusagestat.c (options): Likewise.
10987 * nss/getent.c (options): Likewise.
63270c24
RM
10988
109892013-03-18 Benno Schulenberg <bensberg@justemail.net>
10990
10991 [BZ #14812]
10992 * iconv/iconv_prog.c (options): Put N_ translation marker
10993 on argument names, not just descriptions.
10994 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10995
b2e1393c
OB
109962013-03-18 Ondrej Bilka <neleai@seznam.cz>
10997
10998 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10999 implementation which is faster on all x86_64 architectures.
11000 Tested on AMD, Intel Nehalem, SNB, IVB.
11001 * sysdeps/x86_64/strnlen.S: Likewise.
11002
11003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11004 Remove all multiarch strlen and strnlen versions.
11005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11006 Remove strlen and strnlen related parts.
11007
11008 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11009 Inline strlen part.
11010 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11011
11012 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11013 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11014 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11015 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11016 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11017 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11018
ec4ff04d
CD
110192013-03-17 Carlos O'Donell <carlos@redhat.com>
11020
11021 * manual/memory.texi (Malloc Tunable Parameters):
11022 Sort parameters alphabetically. Add comments for missing entries.
11023
cd18e90a
DM
110242013-03-17 David S. Miller <davem@davemloft.net>
11025
11026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11027
2a185d32
JM
110282013-03-16 Joseph Myers <joseph@codesourcery.com>
11029
d2f9799e
JM
11030 [BZ #15283]
11031 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11032 for arguments at most half maximum finite value.
11033 * math/libm-test.inc (j0_test): Add more tests.
11034 (j1_test): Likewise.
11035 (y0_test): Likewise.
11036 (y1_test): Likewise.
11037 * sysdeps/i386/fpu/libm-test-ulps: Update.
11038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11039
2a185d32
JM
11040 [BZ #14155]
11041 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11042 1 / x and functions P and Q for arguments above 0x1p256L.
11043 (__ieee754_y0l): Likewise.
11044 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11045 (__ieee754_y1l): Likewise.
11046 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11047 (j1_test): Likewise.
11048 (y0_test): Likewise.
11049 (y1_test): Likewise.
11050
6cbec759
TS
110512013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11052
11053 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11054 variable.
11055
bc16e260
RM
110562013-03-15 Roland McGrath <roland@hack.frob.com>
11057
aefc9b8c
RM
11058 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11059 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11060 zero since it's initialized to EXEC_PAGESIZE.
11061
bc16e260
RM
11062 * sysdeps/unix/sysv/linux/ldsodefs.h
11063 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11064 * sysdeps/generic/ldsodefs.h: ... here.
11065
a57da955
TS
110662013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11067
af00a34d
TS
11068 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11069
495ded2c
TS
11070 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11071 math/test-snan.c.
11072 * math/test-snan.c: Renamed from
11073 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11074 * math/Makefile (tests): Add test-snan.
11075 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11076 test-powerpc-snan.
11077
777b0332
TS
11078 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11079 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11080 functions.
11081 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11082 __builtin_nan family of functions.
11083 * math/libm-test.inc (initialize): Initialize qnan_value with
11084 __builtin_nan family of functions.
11085 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11086 Remove variables.
11087 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11088 Remove functions.
11089 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11090 storage class. Initialize qNaN_var and sNaN_var with
11091 __builtin_nan and __builtin_nans families of functions,
11092 respectively.
11093
64d063b8
TS
11094 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11095 (sqrt_test): Remove duplicate test with qNaN input.
11096 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11097 (round_test, signbit_test, significand_test): Note missing +/-Inf
11098 as well as qNaN tests.
11099
67e971f1
TS
11100 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11101 qNaN_var. Fix a few strings, too.
11102 * math/libm-test.inc (nan_value): Rename to qnan_value.
11103 * math/gen-libm-test.pl (%beautify): Adjust to that.
11104 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11105 * math/test-misc.c (main): Likewise.
11106 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11107 to __qnan_bytes, and __qnan_union, respectively.
11108 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11109 Likewise.
11110 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11111 and lqnanval, respectively.
11112 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11113 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11114 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11115 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11116
64487e12
TS
11117 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11118 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11119 doubles.
11120
e015e27b
TS
11121 * math/test-misc.c (main): Fix copy'n'pastos.
11122 * misc/tst-efgcvt.c (special): Likewise.
11123
a57da955
TS
11124 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11125 Remove declarations.
11126
1e380345
SP
111272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11128
11129 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11130 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11131 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11132 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11133
ef26eece
AZ
111342013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11135
11136 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11137 macro to return vdso values correctly in IFUNC implementations.
11138 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11139 Optimization by using IFUNC.
11140
8cfdb7e0
SP
111412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11142 Richard Henderson <rth@redhat.com>
11143 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11144
11145 * Makefile.in (bench): New target.
11146 * NEWS: Mention the benchmark framework.
11147 * Rules (bench): Likewise.
11148 (binaries-bench): Generate binaries for functions to
11149 benchmark.
11150 * benchtests/Makefile: New makefile for benchmark tests.
11151 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11152 programs.
11153 * benchtests/exp-inputs: New input file for EXP function.
11154 * benchtests/pow-inputs: New input file for POW function.
11155 * scripts/bench.pl: New script to generate source files for
11156 benchmark programs.
11157
bcda9880
SP
111582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11159
d22ca8cd
SP
11160 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11161 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11162 computations on mantissa. Use macros for rounding and
11163 division.
11164 (denorm): Likewise.
11165 (__dbl_mp): Likewise.
11166 (add_magnitudes): Likewise.
11167 (sub_magnitudes): Likewise.
11168 (__mul): Likewise.
11169 (__sqr): Likewise.
11170 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11171 powers of two in terms of TWOPOW macro.
11172 (mp_no): Make type of mantissa as MANTISSA_T.
11173 [!RADIXI]: Define RADIXI.
11174 [!TWO52]: Define TWO52.
11175 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11176
bcda9880
SP
11177 * manual/nptl.texi (cindex): Modify threads to pthreads.
11178
06d5adfb
JM
111792013-03-15 Joseph Myers <joseph@codesourcery.com>
11180
11181 * sysdeps/x86_64/preconfigure: Regenerated.
11182
41c7328e
JM
111832013-03-14 Joseph Myers <joseph@codesourcery.com>
11184
11185 [BZ #14155]
11186 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11187 0x1p28 and above.
11188 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11189 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11190 0x1p28 and above.
11191 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11192 * math/libm-test.inc (j0_test): Do not allow one spurious
11193 underflow exception.
11194 (y1_test): Likewise.
11195
e25cfa60
SP
111962013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11197
0409959c
SP
11198 * manual/Makefile (chapters): Add nptl.
11199 * manual/debug.texi (Debugging Support): Add link to Threads
11200 chapter.
11201 * manual/nptl.texi: New file.
11202
e25cfa60
SP
11203 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11204
58a1335e
PB
112052013-03-14 Petr Baudis <pasky@ucw.cz>
11206
11207 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11208 for non-NULL pointer before the memory validity test. Pointed
11209 out by Holger Brunck <holger.brunck@keymile.com>.
11210
9dc7c64f
AS
112112013-03-13 Andreas Schwab <schwab@suse.de>
11212
11213 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11214 instead of .os.
11215
54206aa6
JM
112162013-03-13 Joseph Myers <joseph@codesourcery.com>
11217
11218 * timezone/zic.c: Update from tzcode 2013b.
11219
e98cdb38
CD
112202013-03-12 Carlos O'Donell <carlos@redhat.com>
11221
11222 * manual/install.texi (Configuring and compiling):
11223 Mention i686 and i586.
11224 * INSTALL: Regenerate.
11225
9967e003
RM
112262013-03-12 Roland McGrath <roland@hack.frob.com>
11227
11228 * sysdeps/init_array/elf-init.c: New file.
11229 * csu/elf-init.c
11230 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11231 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11232
11233 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11234 __gmon_start__ as global, but as static with a .preinit_array pointer.
11235 * sysdeps/init_array/gmon-start.c: New file. Use that.
11236 * sysdeps/init_array/crti.S: New file, empty except for comments.
11237 * sysdeps/init_array/crtn.S: Likewise.
11238
e6b5a293 112392013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11240
11241 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11242 definining bcopy.
80f844c9
OB
11243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11244 Remove Prefer_SSE_for_memop.
11245 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11246 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11247 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11249 memset-x86-64.
80f844c9 11250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11251 Remove bzero, memset ifunc support.
80f844c9
OB
11252 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11253 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11254 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11255 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11256
fb6b0fcb
AS
112572013-03-11 Andreas Schwab <schwab@suse.de>
11258
11259 [BZ #15234]
11260 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11261 by SHLIB_COMPAT.
11262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11263 (GLIBC_2.16): Remove pthread_atfork.
11264
3e6bd4b1
PP
112652013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11266
11267 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11268 (ptestcases.h): Likewise.
11269
222d7f00
RM
112702013-03-08 Roland McGrath <roland@hack.frob.com>
11271
11272 * Makeconfig ($(common-objpfx)config.status): Depend on
11273 sysdeps/*/preconfigure{,.in} too.
11274
1ba4f030
JM
112752013-03-08 Joseph Myers <joseph@codesourcery.com>
11276
a222d91a
JM
11277 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11278 (__free_hook): Use void * instead of __malloc_ptr_t.
11279 (__malloc_hook): Likewise.
11280 (__realloc_hook): Likewise.
11281 (__memalign_hook): Likewise.
11282 (__after_morecore_hook): Likewise.
11283 * malloc/arena.c (save_malloc_hook): Likewise.
11284 (save_free_hook): Likewise.
11285 * malloc/hooks.c (malloc_hook_ini): Likewise.
11286 (realloc_hook_ini): Likewise.
11287 (memalign_hook_ini): Likewise.
11288 * malloc/malloc.c (malloc_hook_ini): Likewise.
11289 (realloc_hook_ini): Likewise.
11290 (memalign_hook_ini): Likewise.
11291 (__free_hook): Likewise.
11292 (__malloc_hook): Likewise.
11293 (__realloc_hook): Likewise.
11294 (__memalign_hook): Likewise.
11295 (__libc_malloc): Likewise.
11296 (__libc_free): Likewise.
11297 (__libc_realloc): Likewise.
11298 (__libc_memalign): Likewise.
11299 (__libc_valloc): Likewise.
11300 (__libc_pvalloc): Likewise.
11301 (__libc_calloc): Likewise.
11302 (__posix_memalign): Likewise.
11303 * malloc/morecore.c (__sbrk): Likewise.
11304 (__default_morecore): Likewise.
11305
5cc45e10
JM
11306 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11307
dd54b864
JM
11308 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11309 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11310 __malloc_ptrdiff_t.
11311
1ba4f030
JM
11312 * malloc/malloc.h (__malloc_size_t): Remove macro.
11313 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11314 __malloc_size_t.
11315 (old_memalign_hook): Likewise.
11316 (old_realloc_hook): Likewise.
11317 (struct hdr): Likewise.
11318 (flood): Likewise.
11319 (mallochook): Likewise.
11320 (memalignhook): Likewise.
11321 (reallochook): Likewise.
11322 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11323 (tr_old_realloc_hook): Likewise.
11324 (tr_old_memalign_hook): Likewise.
11325 (tr_mallochook): Likewise.
11326 (tr_reallochook): Likewise.
11327 (tr_memalignhook): Likewise.
11328
edf66e57
AZ
113292013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11330
11331 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11332 default_ldbl_pack and using as default implementation.
11333 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11334 implementation.
11335 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11336 redundant definition.
11337 (ldbl_insert_mantissa): Likewise.
11338 (ldbl_canonicalize): Likewise.
11339 (ldbl_nearbyint): Likewise.
11340 (ldbl_pack): Rename to ldbl_pack_ppc.
11341 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11342 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11343 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11344
6d9145d8
SP
113452013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11346
11347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11348 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11349 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11350 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11352 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11353 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11354 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11355
4dd4e157
AJ
113562013-03-07 Andreas Jaeger <aj@suse.de>
11357
11358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11359 bits/mman-linux.h.
11360
adbb8027
SP
113612013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11362
ce544b5b
SP
11363 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11364 Include mpa.h and declare __MPEXP.
11365 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11366 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11367 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11368 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11369 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11370 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11371 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11372
4cc149fd
SP
11373 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11374 (__slowpow): Use long double EXPL and LOGL functions to
11375 compute POW.
11376 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11377 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11378 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11379 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11380 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11381 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11382
e6ebd4a7
SP
11383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11384 intermediate variable to calculate exponent.
11385 (__sqr): Likewise.
11386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11387 Likewise.
11388 (__sqr): Likewise.
11389
82a9811d
SP
11390 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11391 [!NO__SQR]: Define __sqr.
11392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11393 and NO__SQR. Remove all code except __mul and __sqr. Include
11394 sysdeps/ieee754/dbl-64/mpa.c.
11395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11396
adbb8027
SP
11397 [BZ #12723]
11398 * posix/Makefile (tests): Add tst-pathconf.
11399 * posix/tst-pathconf.c: New test case.
11400 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11401 _PC_PIPE_BUF.
11402 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11403
39120df9
PF
114042013-03-06 Patsy Franklin <pfrankli@redhat.com>
11405
11406 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11407
67525cb8
AJ
114082013-03-06 Andreas Jaeger <aj@suse.de>
11409
664a9ce4
AJ
11410 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11411 definition via __MAP_ANONYMOUS.
11412
8e39047d
AJ
11413 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11414 it's not part of Linux headers.
11415
67525cb8
AJ
11416 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11417 (MAP_HUGE_MASK): Define.
11418
11419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11420 Define.
11421 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11422 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11423 Define.
11424 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11425 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11426 Define.
11427 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11428 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11429 Define.
11430 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11431
11432 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11433 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11434 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11435 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11436 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11437 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11438
11439 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11440 Handle f2fs.
11441
11442 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11443 Handle f2fs and efivarfs.
11444
11445 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11446 f2fs.
11447
11448 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11449 (EFIVARFS_MAGIC): Add.
11450 (F2FS_LINK_MAX): Add.
11451
e1b42695
PP
114522013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11453
11454 * stdio-common/vfprintf.c: Replace __builtin_expect with
11455 __glibc_unlikely.
11456
2d67d91a
JM
114572013-03-06 Joseph Myers <joseph@codesourcery.com>
11458
11459 [BZ #13550]
11460 * sysdeps/generic/bp-sym.h: Remove file.
11461 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11462 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11463 <bp-sym.h> and <bp-asm.h>.
11464 (__longjmp): Don't use BP_SYM.
11465 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11466 and <bp-asm.h>.
11467 (memcpy): Don't use BP_SYM.
11468 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11469 <bp-sym.h> and <bp-asm.h>.
11470 (memcpy): Don't use BP_SYM.
11471 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11472 <bp-asm.h>.
11473 (memcpy): Don't use BP_SYM.
11474 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11475 <bp-asm.h>.
11476 (memset): Don't use BP_SYM.
11477 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11478 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11479 (__bzero): Don't use BP_SYM.
11480 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11481 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11482 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11483 <bp-sym.h> and <bp-asm.h>.
11484 (memcmp): Don't use BP_SYM. Remove comment about bounded
11485 pointers.
11486 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11487 <bp-sym.h> and <bp-asm.h>.
11488 (memcpy): Don't use BP_SYM.
11489 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11490 <bp-sym.h> and <bp-asm.h>.
11491 (memset): Don't use BP_SYM.
11492 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11493 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11494 (__bzero): Don't use BP_SYM.
11495 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11496 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11497 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11498 <bp-sym.h> and <bp-asm.h>.
11499 (strncmp): Don't use BP_SYM. Remove comment about bounded
11500 pointers.
11501 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11502 <bp-sym.h> and <bp-asm.h>.
11503 (memcpy): Don't use BP_SYM.
11504 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11505 <bp-sym.h> and <bp-asm.h>.
11506 (memset): Don't use BP_SYM.
11507 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11508 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11509 (__bzero): Don't use BP_SYM.
11510 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11511 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11512 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11513 <bp-sym.h> and <bp-asm.h>.
11514 (__memchr): Don't use BP_SYM.
11515 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11516 <bp-sym.h> and <bp-asm.h>.
11517 (memcmp): Don't use BP_SYM. Remove comment about bounded
11518 pointers.
11519 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11520 <bp-sym.h> and <bp-asm.h>.
11521 (memcpy): Don't use BP_SYM.
11522 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11523 <bp-sym.h> and <bp-asm.h>.
11524 (__mempcpy): Don't use BP_SYM.
11525 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11526 <bp-sym.h> and <bp-asm.h>.
11527 (__memrchr): Don't use BP_SYM.
11528 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11529 <bp-sym.h> and <bp-asm.h>.
11530 (memset): Don't use BP_SYM.
11531 (__bzero): Likewise.
11532 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11533 <bp-sym.h> and <bp-asm.h>.
11534 (__rawmemchr): Don't use BP_SYM.
11535 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11536 <bp-sym.h> and <bp-asm.h>.
11537 (__STRCMP): Don't use BP_SYM.
11538 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11539 <bp-sym.h> and <bp-asm.h>.
11540 (strchr): Don't use BP_SYM.
11541 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11542 <bp-sym.h> and <bp-asm.h>.
11543 (__strchrnul): Don't use BP_SYM.
11544 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11545 <bp-sym.h> and <bp-asm.h>.
11546 (strlen): Don't use BP_SYM.
11547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11548 <bp-sym.h> and <bp-asm.h>.
11549 (strncmp): Don't use BP_SYM. Remove comment about bounded
11550 pointers.
11551 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11552 <bp-sym.h> and <bp-asm.h>.
11553 (__strnlen): Don't use BP_SYM.
11554 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11555 <bp-sym.h> and <bp-asm.h>.
11556 (__GI__setjmp): Don't use BP_SYM.
11557 (_setjmp): Likewise.
11558 (__sigsetjmp): Likewise.
11559 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11560 (L(start_addresses)): Don't use BP_SYM.
11561 (_start): Likewise.
11562 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11563 <bp-asm.h>.
11564 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11565 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11566 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11567 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11568 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11569 <bp-asm.h>.
11570 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11571 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11572 about bounded pointers.
11573 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11574 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11575 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11576 <bp-asm.h>.
11577 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11578 about bounded pointers. Remove GKM FIXME comments.
11579 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11580 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11581 <bp-asm.h>.
11582 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11583 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11584 Remove GKM FIXME comments.
11585 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11586 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11587 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11588 <bp-asm.h>.
11589 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11590 about bounded pointers. Remove GKM FIXME comment.
11591 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11592 and <bp-asm.h>.
11593 (strncmp): Don't use BP_SYM. Remove comment about bounded
11594 pointers.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11596 <bp-sym.h> and <bp-asm.h>.
11597 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11599 <bp-sym.h> and <bp-asm.h>.
11600 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11601 comment.
11602
cdcf361f
PP
116032013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11604
11605 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11606 call free(NULL).
11607
3c4a2b15
DM
116082013-03-05 David S. Miller <davem@davemloft.net>
11609
11610 * po/es.po: Update from translation team.
11611
cdcf361f 116122013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11613
11614 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11615 <bits/mman-linux.h>.
11616 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11617 is fine.
11618 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11619 <bits/mman-linux.h> to end of file.
11620 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11621 is fine.
11622 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11623 <bits/mman-linux.h> to end of file.
11624 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11625 is fine.
11626 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11627 <bits/mman-linux.h> to end of file.
11628
11629 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11630 (MCL_CURRENT, MCL_FUTURE): Define here.
11631
5f67c04f
AK
116322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11633
8a4473cc 11634 [BZ #15232]
5f67c04f
AK
11635 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11636 attribute_hidden.
11637 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11638
c3e94a95
AK
116392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11640
11641 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11642 fourth parameter needed for rt_sigprocmask syscall.
11643 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11644 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11645 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11646 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11647 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11648 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11649
cfb6382a
JM
116502013-03-04 Joseph Myers <joseph@codesourcery.com>
11651
11652 [BZ #13550]
11653 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11654 comment about bounded pointers.
11655 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11656 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11657
539d8e01
AJ
116582013-03-04 Andreas Jaeger <aj@suse.de>
11659
11660 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11661 common definitions.
11662
11663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11664 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11665 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11667 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11669
2e167a70 116702013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11671
11672 [BZ #15055]
11673 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11674 __ieee754_sqrl instead of __sqrl.
11675
68508633
JM
116762013-03-01 Joseph Myers <joseph@codesourcery.com>
11677
11678 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11679 * sysdeps/powerpc/fpu_control.h: ... here.
11680 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11681 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11682 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11683 * sysdeps/powerpc/bits/mathinline.h: ... here.
11684
7775448e
RM
116852013-03-01 Roland McGrath <roland@hack.frob.com>
11686
11687 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11688 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11689 to just [NEED_DL_SYSINFO_DSO].
11690 * elf/dl-support.c: Likewise.
11691 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11692 * elf/rtld.c (dl_main): Likewise.
11693 * elf/setup-vdso.h (setup_vdso): Likewise.
11694 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11695 * sysdeps/unix/sysv/linux/dl-sysdep.c
11696 (_dl_discover_osversion): Likewise.
11697
4e9b5995
CD
116982013-03-01 Carlos O'Donell <carlos@redhat.com>
11699
11700 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11701 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11702
e23872c8
SP
117032013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11704
e5c74c63
SP
11705 * NEWS: Mention libm performance improvements and non-x86 PI
11706 futex support.
11707
e23872c8
SP
11708 * csu/libc-start.c (__pthread_initialize_minimal): Change
11709 function arguments.
11710 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11711
b5510883
JM
117122013-02-28 Joseph Myers <joseph@codesourcery.com>
11713
11714 [BZ #13550]
11715 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11716 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11717 <bp-sym.h> and <bp-asm.h>.
11718 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11719 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11720 and <bp-asm.h>.
11721 (memcpy): Don't use BP_SYM.
11722 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11723 <bp-asm.h>.
11724 (__mpn_add_n): Don't use BP_SYM.
11725 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11726 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11727 and <bp-asm.h>.
11728 (__mpn_addmul_1): Don't use BP_SYM.
11729 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11730 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11731 <bp-sym.h>.
11732 (_setjmp): Don't use BP_SYM.
11733 (__novmx_setjmp): Likewise.
11734 (__GI__setjmp): Likewise.
11735 (__vmx_setjmp): Likewise.
11736 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11737 <bp-sym.h>.
11738 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11739 (__bzero): Don't use BP_SYM.
11740 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11741 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11742 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11743 <bp-sym.h> and <bp-asm.h>.
11744 (memcpy): Don't use BP_SYM.
11745 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11746 <bp-sym.h> and <bp-asm.h>.
11747 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11748 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11749 <bp-sym.h> and <bp-asm.h>.
11750 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11751 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11752 <bp-asm.h>.
11753 (__mpn_lshift): Don't use BP_SYM.
11754 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11755 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11756 <bp-asm.h>.
11757 (memset): Don't use BP_SYM.
11758 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11759 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11760 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11761 <bp-asm.h>.
11762 (__mpn_mul_1): Don't use BP_SYM.
11763 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11764 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11765 <bp-sym.h> and <bp-asm.h>.
11766 (memcmp): Don't use BP_SYM.
11767 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11768 <bp-sym.h> and <bp-asm.h>.
11769 (memcpy): Don't use BP_SYM.
11770 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11771 <bp-sym.h> and <bp-asm.h>.
11772 (memset): Don't use BP_SYM.
11773 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11774 <bp-sym.h> and <bp-asm.h>.
11775 (strncmp): Don't use BP_SYM.
11776 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11777 <bp-sym.h> and <bp-asm.h>.
11778 (memcpy): Don't use BP_SYM.
11779 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11780 <bp-sym.h> and <bp-asm.h>.
11781 (memset): Don't use BP_SYM.
11782 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11783 <bp-sym.h> and <bp-asm.h>.
11784 (__memchr): Don't use BP_SYM.
11785 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11786 <bp-sym.h> and <bp-asm.h>.
11787 (memcmp): Don't use BP_SYM.
11788 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11789 <bp-sym.h> and <bp-asm.h>.
11790 (memcpy): Don't use BP_SYM.
11791 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11792 <bp-sym.h> and <bp-asm.h>.
11793 (__mempcpy): Don't use BP_SYM.
11794 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11795 <bp-sym.h> and <bp-asm.h>.
11796 (__memrchr): Don't use BP_SYM.
11797 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11798 <bp-sym.h> and <bp-asm.h>.
11799 (memset): Don't use BP_SYM.
11800 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11801 <bp-sym.h> and <bp-asm.h>.
11802 (__rawmemchr): Don't use BP_SYM.
11803 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11804 <bp-sym.h> and <bp-asm.h>.
11805 (__STRCMP): Don't use BP_SYM.
11806 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11807 <bp-sym.h> and <bp-asm.h>.
11808 (strchr): Don't use BP_SYM.
11809 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11810 <bp-sym.h> and <bp-asm.h>.
11811 (__strchrnul): Don't use BP_SYM.
11812 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11813 <bp-sym.h> and <bp-asm.h>.
11814 (strlen): Don't use BP_SYM.
11815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11816 <bp-sym.h> and <bp-asm.h>.
11817 (strncmp): Don't use BP_SYM.
11818 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11819 <bp-sym.h> and <bp-asm.h>.
11820 (__strnlen): Don't use BP_SYM.
11821 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11822 <bp-asm.h>.
11823 (__mpn_rshift): Don't use BP_SYM.
11824 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11825 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11826 <bp-sym.h> and <bp-asm.h>.
11827 (__sigsetjmp): Don't use BP_SYM.
11828 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11829 (L(start_addresses)): Don't use BP_SYM.
11830 (_start): Likewise.
11831 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11832 <bp-asm.h>.
11833 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11834 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11835 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11836 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11837 <bp-asm.h>.
11838 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11839 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11840 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11841 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11842 <bp-asm.h>.
11843 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11844 comments.
11845 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11846 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11847 <bp-asm.h>.
11848 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11849 FIXME comments.
11850 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11851 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11852 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11853 <bp-asm.h>.
11854 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11855 comment.
11856 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11857 and <bp-asm.h>.
11858 (strncmp): Don't use BP_SYM,
11859 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11860 <bp-asm.h>.
11861 (__mpn_sub_n): Don't use BP_SYM.
11862 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11863 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11864 and <bp-asm.h>.
11865 (__mpn_submul_1): Don't use BP_SYM.
11866 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11868 <bp-sym.h> and <bp-asm.h>.
11869 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11871 <bp-sym.h> and <bp-asm.h>.
11872 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11873 comment.
11874
8d19fe64
SP
118752013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11876
11877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11878 Use ZK to minimize writes to Z.
11879 (sub_magnitudes): Simplify code a bit.
11880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11881 Use ZK to minimize writes to Z.
11882 (sub_magnitudes): Simplify code a bit.
11883
85bd816a
RM
118842013-02-27 Roland McGrath <roland@hack.frob.com>
11885
11886 * csu/gmon-start.c: Add special exception to license text.
11887
b5977bf2
RH
118882013-02-27 Richard Henderson <rth@redhat.com>
11889
11890 * scripts/config.guess: Update from config.git.
11891 * scripts/config.sub: Likewise.
11892
11d6e2f2
SP
118932013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11894
09c14ed2
SP
11895 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11896
a688864e
SP
11897 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11898
6295157a
SP
11899 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11900
b8de2202
SP
11901 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11902
11d6e2f2
SP
11903 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11904
7e80ddb8
RM
119052013-02-26 Roland McGrath <roland@hack.frob.com>
11906
11907 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11908 [$(build-shared = yes].
7e80ddb8 11909
7da6d9ed
SP
119102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11911
45f05884
SP
11912 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11913 (__mul): Reduce iterations for calculating mantissa.
11914
2236d359
SP
11915 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11916 MPTWO.
11917 (__mpranred): Likewise.
11918
7da6d9ed
SP
11919 [BZ #15160]
11920 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11921 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11922
b7688c42
PE
119232013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11924
11925 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11926 Define __attribute__.
11927
53a5c423
SP
119282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11929
11930 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11931 unused.
11932 * posix/regex_internal.h (__attribute): Remove.
11933 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11934 (re_string_context_at): Likewise.
11935 (bitset_not): Use __attribute__ and mark function as possibly
11936 unused.
11937 (bitset_merge): Likewise.
11938 (bitset_mask): Likewise.
11939 (re_string_char_size_at): Likewise.
11940 (re_string_wchar_at): Likewise.
11941 (re_string_elem_size_at): Likewise.
11942
60f5a8b5
SP
119432013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11944
2a983a2e
SP
11945 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11946 code.
11947 (cc32): Likewise.
11948
e69804d1
SP
11949 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11950 (__acr): Likewise.
11951 (__cpy): Likewise.
11952 (norm): Likewise.
11953 (denorm): Likewise.
11954 (__dbl_mp): Likewise.
11955 (add_magnitudes): Likewise.
11956 (sub_magnitudes): Likewise.
11957 (__mul): Likewise.
11958 (__inv): Likewise.
11959
2f22a1e8
SP
11960 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11961 style.
11962
8930ddc7
SP
11963 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11964 style.
11965
dc60cb11
SP
11966 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11967 code.
11968
60f5a8b5
SP
11969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11970 up changes with default code.
11971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11972 Likewise.
11973
b4d1fd33
AM
119742013-02-24 Allan McRae <allan@archlinux.org>
11975
faf6f8bc
AM
11976 * manual/socket.texi (The Internet Namespace): Order menu items
11977 to match that in the file.
11978
b4d1fd33
AM
11979 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11980 node listing of the info page menu.
11981
2366713d
JM
119822013-02-21 Joseph Myers <joseph@codesourcery.com>
11983
11984 [BZ #13550]
11985 * sysdeps/i386/bp-asm.h: Remove file.
11986 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11987 (PARMS): Do not use macros from bp-asm.h.
11988 (S1): Likewise.
11989 (S2): Likewise.
11990 (SIZE): Likewise.
11991 (__mpn_add_n): Do not use BP_SYM
11992 * sysdeps/i386/addmul_1.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 (SIZE): Likewise.
11997 (__mpn_addmul_1): Do not use BP_SYM
11998 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11999 "bp-asm.h".
12000 (PARMS): Do not use macros from bp-asm.h.
12001 (SIGMSK): Likewise.
12002 (_setjmp): Likewise. Do not use BP_SYM.
12003 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12004 "bp-asm.h".
12005 (PARMS): Do not use macros from bp-asm.h.
12006 (SIGMSK): Likewise.
12007 (setjmp): Likewise. Do not use BP_SYM.
12008 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12009 "bp-asm.h".
12010 (PARMS): Do not use macros from bp-asm.h.
12011 (__frexp): Do not use BP_SYM.
12012 (frexp): Likewise.
12013 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12014 "bp-asm.h".
12015 (PARMS): Do not use macros from bp-asm.h.
12016 (__frexpf): Do not use BP_SYM.
12017 (frexpf): Likewise.
12018 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12019 "bp-asm.h".
12020 (PARMS): Do not use macros from bp-asm.h.
12021 (__frexpl): Do not use BP_SYM.
12022 (frexpl): Likewise.
12023 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12024 "bp-asm.h".
12025 (PARMS): Do not use macros from bp-asm.h.
12026 (__remquo): Do not use BP_SYM.
12027 (remquo): Likewise.
12028 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12029 "bp-asm.h".
12030 (PARMS): Do not use macros from bp-asm.h.
12031 (__remquof): Do not use BP_SYM.
12032 (remquof): Likewise.
12033 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12034 "bp-asm.h".
12035 (PARMS): Do not use macros from bp-asm.h.
12036 (__remquol): Do not use BP_SYM.
12037 (remquol): Likewise.
12038 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12039 "bp-asm.h".
12040 (PARMS): Do not use macros from bp-asm.h.
12041 (DEST): Likewise.
12042 (SRC): Likewise.
12043 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12044 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12045 "bp-asm.h".
12046 (PARMS): Do not use macros from bp-asm.h.
12047 (strlen): Do not use BP_SYM.
12048 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12049 "bp-asm.h".
12050 (PARMS): Do not use macros from bp-asm.h.
12051 (S1): Likewise.
12052 (S2): Likewise.
12053 (SIZE): Likewise.
12054 (__mpn_add_n): Do not use BP_SYM.
12055 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12056 "bp-asm.h".
12057 (PARMS): Do not use macros from bp-asm.h.
12058 (S1): Likewise.
12059 (SIZE): Likewise.
12060 (__mpn_addmul_1): Do not use BP_SYM.
12061 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12062 weak_alias.
12063 (bzero): Likewise.
12064 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12065 "bp-asm.h".
12066 (PARMS): Do not use macros from bp-asm.h.
12067 (S): Likewise.
12068 (SIZE): Likewise.
12069 (__mpn_lshift): Do not use BP_SYM.
12070 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12071 "bp-asm.h".
12072 (PARMS): Do not use macros from bp-asm.h.
12073 (DEST): Likewise.
12074 (SRC): Likewise.
12075 (LEN): Likewise.
12076 (memcpy): Likewise. Do not use BP_SYM.
12077 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12078 libc_hidden_def and weak_alias.
12079 (mempcpy): Do not use BP_SYM in weak_alias.
12080 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12081 "bp-asm.h".
12082 (PARMS): Do not use macros from bp-asm.h.
12083 (DEST): Likewise.
12084 (LEN): Likewise.
12085 [!BZERO_P] (CHR): Likewise.
12086 (memset): Likewise. Do not use BP_SYM.
12087 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12088 "bp-asm.h".
12089 (PARMS): Do not use macros from bp-asm.h.
12090 (S1): Likewise.
12091 (SIZE): Likewise.
12092 (__mpn_mul_1): Do not use BP_SYM.
12093 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12094 "bp-asm.h".
12095 (PARMS): Do not use macros from bp-asm.h.
12096 (S): Likewise.
12097 (SIZE): Likewise.
12098 (__mpn_rshift): Do not use BP_SYM.
12099 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12100 "bp-asm.h".
12101 (PARMS): Do not use macros from bp-asm.h.
12102 (STR): Likewise.
12103 (CHR): Likewise.
12104 (strchr): Likewise. Do not use BP_SYM.
12105 (index): Do not use BP_SYM in weak_alias.
12106 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12107 "bp-asm.h".
12108 (PARMS): Do not use macros from bp-asm.h.
12109 (DEST): Likewise.
12110 (SRC): Likewise.
12111 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12112 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12113 "bp-asm.h".
12114 (PARMS): Do not use macros from bp-asm.h.
12115 (strlen): Do not use BP_SYM.
12116 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12117 "bp-asm.h".
12118 (PARMS): Do not use macros from bp-asm.h.
12119 (S1): Likewise.
12120 (S2): Likewise.
12121 (SIZE): Likewise.
12122 (__mpn_sub_n): Do not use BP_SYM.
12123 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12124 "bp-asm.h".
12125 (PARMS): Do not use macros from bp-asm.h.
12126 (S1): Likewise.
12127 (SIZE): Likewise.
12128 (__mpn_submul_1): Do not use BP_SYM.
12129 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12130 "bp-asm.h".
12131 (PARMS): Do not use macros from bp-asm.h.
12132 (S1): Likewise.
12133 (S2): Likewise.
12134 (SIZE): Likewise.
12135 (__mpn_add_n): Do not use BP_SYM.
12136 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12137 weak_alias.
12138 (bzero): Likewise.
12139 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12140 "bp-asm.h".
12141 (PARMS): Do not use macros from bp-asm.h.
12142 (BLK2): Likewise.
12143 (LEN): Likewise.
12144 (memcmp): Do not use BP_SYM.
12145 (bcmp): Do not use BP_SYM in weak_alias.
12146 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12147 "bp-asm.h".
12148 (PARMS): Do not use macros from bp-asm.h.
12149 (DEST): Likewise.
12150 (SRC): Likewise.
12151 (LEN): Likewise.
12152 (memcpy): Likewise. Do not use BP_SYM.
12153 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12154 "bp-asm.h".
12155 (PARMS): Do not use macros from bp-asm.h.
12156 (DEST): Likewise.
12157 (SRC): Likewise.
12158 (LEN): Likewise.
12159 (memmove): Likewise. Do not use BP_SYM.
12160 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12161 "bp-asm.h".
12162 (PARMS): Do not use macros from bp-asm.h.
12163 (DEST): Likewise.
12164 (SRC): Likewise.
12165 (LEN): Likewise.
12166 (__mempcpy): Likewise. Do not use BP_SYM.
12167 (mempcpy): Do not use BP_SYM in weak_alias.
12168 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12169 "bp-asm.h".
12170 (PARMS): Do not use macros from bp-asm.h.
12171 (DEST): Likewise.
12172 (LEN): Likewise.
12173 [!BZERO_P] (CHR): Likewise.
12174 (memset): Likewise. Do not use BP_SYM.
12175 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12176 "bp-asm.h".
12177 (PARMS): Do not use macros from bp-asm.h.
12178 (STR2): Likewise.
12179 (strcmp): Do not use BP_SYM.
12180 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12181 "bp-asm.h".
12182 (PARMS): Do not use macros from bp-asm.h.
12183 (STR): Likewise.
12184 (DELIM): Likewise.
12185 [USE_AS_STRTOK_R] (SAVE): Likewise.
12186 (FUNCTION): Likewise. Do not use BP_SYM.
12187 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12188 aliases.
12189 (strtok_r): Likewise.
12190 (__GI___strtok_r): Likewise.
12191 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12192 (PARMS): Do not use macros from bp-asm.h.
12193 (S): Likewise.
12194 (SIZE): Likewise.
12195 (__mpn_lshift): Do not use BP_SYM.
12196 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12197 (PARMS): Do not use macros from bp-asm.h.
12198 (STR): Likewise.
12199 (CHR): Likewise.
12200 (__memchr): Do not use BP_SYM.
12201 (memchr): Do not use BP_SYM in weak_alias.
12202 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12203 (PARMS): Do not use macros from bp-asm.h.
12204 (BLK2): Likewise.
12205 (LEN): Likewise.
12206 (memcmp): Do not use BP_SYM.
12207 (bcmp): Do not use BP_SYM in weak_alias.
12208 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12209 (PARMS): Do not use macros from bp-asm.h.
12210 (S1): Likewise.
12211 (SIZE): Likewise.
12212 (__mpn_mul_1): Do not use BP_SYM.
12213 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12214 "bp-asm.h".
12215 (PARMS): Do not use macros from bp-asm.h.
12216 (STR): Likewise.
12217 (CHR): Likewise.
12218 (__rawmemchr): Do not use BP_SYM.
12219 (rawmemchr): Do not use BP_SYM in weak_alias.
12220 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12221 (PARMS): Do not use macros from bp-asm.h.
12222 (S): Likewise.
12223 (SIZE): Likewise.
12224 (__mpn_rshift): Do not use BP_SYM.
12225 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12226 (PARMS): Do not use macros from bp-asm.h.
12227 (SIGMSK): Likewise.
12228 (__sigsetjmp): Likewise. Do not use BP_SYM.
12229 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12230 (_start): Do not use BP_SYM.
12231 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12232 (PARMS): Do not use macros from bp-asm.h.
12233 (DEST): Likewise.
12234 (SRC): Likewise.
12235 (__stpcpy): Likewise. Do not use BP_SYM.
12236 (stpcpy): Do not use BP_SYM in weak_alias.
12237 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12238 "bp-asm.h".
12239 (PARMS): Do not use macros from bp-asm.h.
12240 (DEST): Likewise.
12241 (SRC): Likewise.
12242 (LEN): Likewise.
12243 (__stpncpy): Likewise. Do not use BP_SYM.
12244 (stpncpy): Do not use BP_SYM in weak_alias.
12245 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12246 (PARMS): Do not use macros from bp-asm.h.
12247 (STR): Likewise.
12248 (CHR): Likewise.
12249 (strchr): Likewise. Do not use BP_SYM.
12250 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12251 "bp-asm.h".
12252 (PARMS): Do not use macros from bp-asm.h.
12253 (STR): Likewise.
12254 (CHR): Likewise.
12255 (__strchrnul): Likewise. Do not use BP_SYM.
12256 (strchrnul): Do not use BP_SYM in weak_alias.
12257 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12258 "bp-asm.h".
12259 (PARMS): Do not use macros from bp-asm.h.
12260 (STOP): Likewise.
12261 (strcspn): Do not use BP_SYM.
12262 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12263 "bp-asm.h".
12264 (PARMS): Do not use macros from bp-asm.h.
12265 (STR): Likewise.
12266 (STOP): Likewise.
12267 (strpbrk): Likewise. Do not use BP_SYM.
12268 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12269 "bp-asm.h".
12270 (PARMS): Do not use macros from bp-asm.h.
12271 (STR): Likewise.
12272 (CHR): Likewise.
12273 (strrchr): Likewise. Do not use BP_SYM.
12274 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12275 (PARMS): Do not use macros from bp-asm.h.
12276 (SKIP): Likewise.
12277 (strspn): Do not use BP_SYM.
12278 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12279 (PARMS): Do not use macros from bp-asm.h.
12280 (STR): Likewise.
12281 (DELIM): Likewise.
12282 (SAVE): Likewise.
12283 (FUNCTION): Likewise. Do not use BP_SYM.
12284 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12285 aliases.
12286 (strtok_r): Likewise.
12287 (__GI___strtok_r): Likewise.
12288 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12289 (PARMS): Do not use macros from bp-asm.h.
12290 (S1): Likewise.
12291 (S2): Likewise.
12292 (SIZE): Likewise.
12293 (__mpn_sub_n): Do not use BP_SYM.
12294 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12295 "bp-asm.h".
12296 (PARMS): Do not use macros from bp-asm.h.
12297 (S1): Likewise.
12298 (SIZE): Likewise.
12299 (__mpn_submul_1): Do not use BP_SYM.
12300 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12301 <bp-sym.h>.
12302 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12303 and <bp-asm.h>.
12304 (PARMS): Do not use macros from bp-asm.h.
12305 (FLAGS): Likewise.
12306 (PTID): Likewise.
12307 (TLS): Likewise.
12308 (CTID): Likewise.
12309 (__clone): Do not use BP_SYM.
12310 (clone): Do not use BP_SYM in weak_alias.
12311 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12312 and <bp-asm.h>.
12313 (PARMS): Do not use macros from bp-asm.h.
12314 (LEN): Likewise.
12315 (__mmap64): Do not use BP_SYM.
12316 (mmap64): Do not use BP_SYM in weak_alias.
12317 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12318 <bp-sym.h> and <bp-asm.h>.
12319 (PARMS): Do not use macros from bp-asm.h.
12320 (__posix_fadvise64_l64): Do not use BP_SYM.
12321 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12322 (PARMS): Do not use macros from bp-asm.h.
12323 (NSOPS): Likewise.
12324 (semtimedop): Do not use BP_SYM.
12325 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12326 and <bp-asm.h>.
12327
582a3cff
AM
123282013-02-21 Allan McRae <allan@archlinux.org>
12329
12330 * manual/message.texi (Charset conversion in gettext):
12331 Move @end statement to beginning of line.
12332
bab8a695
SP
123332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12334
80945231
SP
12335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12336 static.
12337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12338 Likewise.
12339
bab8a695
SP
12340 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12341 (denorm): Likewise.
12342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12344
e21d7aa7
AK
123452013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12346
12347 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12348 tail-call to the resolved function if pltexit isn't needed.
12349
4c7a4263
SP
123502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12351
12352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12353 or Y being zero as being unlikely.
12354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12355 Likewise.
12356
41f49342
CD
123572013-02-20 Carlos O'Donell <carlos@redhat.com>
12358
12359 * manual/nss.texi (System Databases and Name Service Switch):
12360 Remove frobnicate @pxref.
12361
50022a93
TS
123622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12363
12364 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12365 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12366
08cbd996
PM
123672013-02-20 Petr Machata <pmachata@redhat.com>
12368
12369 * elf/elf.h (R_ARM_TARGET1): New macro.
12370 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12371 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12372 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12373 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12374 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12375 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12376 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12377 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12378 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12379 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12380 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12381 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12382 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12383 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12384 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12385 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12386 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12387 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12388 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12389 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12390 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12391 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12392 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12393 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12394 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12395 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12396 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12397 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12398 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12399 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12400 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12401 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12402 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12403 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12404 (R_ARM_THM_GOT_BREL12): Likewise.
12405 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12406 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12407 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12408 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12409 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12410 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12411 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12412 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12413 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12414
c7b275d6
TS
124152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12416
12417 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12418 __attribute_used__ to __attribute__ ((unused)).
12419
20cd7fb3
SP
124202013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12421
12422 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12423 powerpc mpa.c.
12424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12425 comment formatting.
12426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12427
92945b52
JM
124282013-02-19 Joseph Myers <joseph@codesourcery.com>
12429
12430 [BZ #13550]
12431 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12432 Remove macro.
12433 (ENTER): Remove both macro definitions.
12434 (LEAVE): Likewise.
12435 (CHECK_BOUNDS_LOW): Likewise.
12436 (CHECK_BOUNDS_HIGH): Likewise.
12437 (CHECK_BOUNDS_BOTH): Likewise.
12438 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12439 (RETURN_BOUNDED_POINTER): Likewise.
12440 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12441 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12442 (POP_ERRNO_LOCATION_RETURN): Likewise.
12443 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12444 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12445 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12446 macros.
12447 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12448 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12449 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12450 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12451 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12452 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12453 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12454 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12455 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12456 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12457 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12458 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12459 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12460 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12461 removed macros.
12462 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12463 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12464 macros.
12465 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12466 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12467 * sysdeps/i386/i586/memset.S (memset): Likewise.
12468 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12469 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12470 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12471 macros.
12472 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12473 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12474 Change uses of L(2) to L(out).
12475 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12476 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12477 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12478 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12479 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12480 removed macros.
12481 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12482 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12483 macros.
12484 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12485 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12486 (RETURN): Do not use macro LEAVE.
12487 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12488 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12489 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12490 * sysdeps/i386/i686/memset.S (memset): Likewise.
12491 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12492 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12493 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12494 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12495 Likewise.
12496 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12497 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12498 L(1_2) and L(1_3) into L(1).
12499 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12500 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12501 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12502 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12503 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12504 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12505 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12506 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12507 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12508 macros.
12509 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12510 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12511 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12512 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12513 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12514 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12515 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12516 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12517 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12518 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12519 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12520 * sysdeps/i386/strspn.S (strspn): Likewise.
12521 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12522 conditional code.
12523 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12524 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12525 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12526 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12527 L(1_3) into L(1_1).
12528 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12529 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12530 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12531 macros.
12532 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12533
2389741a
JJ
125342013-02-19 Jakub Jelinek <jakub@redhat.com>
12535
12536 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12537 macro.
12538
2016b3cd
SP
125392013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12540
e4f22324
SP
12541 * math/atest-exp.c (exp_mpn): Remove ROUND.
12542 * math/atest-exp2.c (exp_mpn): Likewise.
12543 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12544
2016b3cd
SP
12545 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12546 * stdlib/tst-tls-atexit-lib.c: Likewise.
12547 * stdlib/tst-tls-atexit.c: Likewise.
12548
4be9b544
MF
125492013-02-18 Mike Frysinger <vapier@gentoo.org>
12550
12551 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12552 and __attribute_alloc_size__.
12553
2f62b9ee
MF
125542013-02-18 Mike Frysinger <vapier@gentoo.org>
12555
12556 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12557 __attribute_alloc_size__.
12558 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12559 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12560
6ff444c4
MF
125612013-02-18 Mike Frysinger <vapier@gentoo.org>
12562
12563 * include/programs/xmalloc.h: New file.
12564 * catgets/gencat.c: Include it.
12565 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12566 * elf/pldd.c: Likewise.
12567 * iconv/iconv_charmap.c: Likewise.
12568 * iconv/iconvconfig.c: Likewise.
12569 * iconv/strtab.c: Likewise.
12570 * locale/programs/locale.c: Likewise.
12571 * locale/programs/localedef.h: Likewise.
12572 * locale/programs/simple-hash.c: Likewise.
12573 * nscd/nscd.h: Likewise.
12574 * nss/makedb.c: Likewise.
12575 * sysdeps/generic/ldconfig.h: Likewise.
12576
be179c8a
SP
125772013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12578
ba384f6e
SP
12579 * Versions.def: Add GLIBC_2.18.
12580 * include/link.h (struct link_map): New member l_tls_dtor_count.
12581 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12582 (__call_tls_dtors): Likewise.
12583 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12584 __cxa_thread_atexit_impl.
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12586 Likewise.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12588 Likewise.
12589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12590 Likewise.
12591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12592 Likewise.
12593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12595 Likewise.
12596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12597 Likewise.
12598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12600 Likewise.
12601 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12602 (tests): Add test case tst-tls-atexit.
12603 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12604 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12605 (GLIBC_PRIVATE): Add __call_tls_dtors.
12606 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12607 for libstdc++.
12608 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12609 * stdlib/tst-tls-atexit.c: New test case.
12610 * stdlib/tst-tls-atexit-lib.c: New test case.
12611
ffaa74cf 12612 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12613
be179c8a
SP
12614 * elf/Versions (ld): Add _dl_find_dso_for_object.
12615 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12616 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12617 (dl_open_worker): Use _dl_find_dso_for_object.
12618 * elf/dl-sym.c (do_sym): Likewise.
12619 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12620
f78b5caa
AK
126212013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12622
12623 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12624 Syntactic changes only.
12625 (_dl_runtime_profile): Do a tail-call to the resolved function.
12626
29691210
JM
126272013-02-17 Joseph Myers <joseph@codesourcery.com>
12628
12629 [BZ #13550]
12630 * sysdeps/x86_64/bp-asm.h: Remove file.
12631 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12632 <bp-sym.h> and <bp-asm.h>.
12633 (__clone): Do not use BP_SYM.
12634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12635 <bp-sym.h> and <bp-asm.h>.
12636 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12637 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12638 "bp-asm.h".
12639 (_setjmp): Do not use BP_SYM.
12640 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12641 "bp-asm.h".
12642 (setjmp): Do not use BP_SYM.
12643 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12644 libc_hidden_def.
12645 (mempcpy): Do not use BP_SYM in weak_alias.
12646 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12647 "bp-asm.h".
12648 (strchr): Do not use BP_SYM.
12649 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12650 "bp-asm.h".
12651 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12652 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12653 (_start): Do not use BP_SYM.
12654 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12655 "bp-asm.h".
12656 (strcat): Do not use BP_SYM.
12657 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12658 "bp-asm.h".
12659 (STRCMP): Do not use BP_SYM.
12660 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12661 "bp-asm.h".
12662 (STRCPY): Do not use BP_SYM.
12663 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12664 "bp-asm.h".
12665 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12666 "bp-asm.h".
12667 (FUNCTION): Do not use BP_SYM.
12668 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12669 weak_alias.
12670 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12671
f238fd19
AJ
126722013-02-17 Andreas Jaeger <aj@suse.de>
12673
12674 * time/Versions: Sort entries.
12675 * string/Versions: Likewise.
12676 * resolv/Versions: Likewise.
12677 * posix/Versions: Likewise.
12678 * iconv/Versions: Likewise.
12679 * elf/Versions: Likewise.
12680 * wcsmbs/Versions: Likewise.
12681
bd07f23c 126822013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12683
22af19f9
SP
12684 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12685 loop termination condition.
12686
4709fe76
SP
12687 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12688 variable to calculate EZ.
12689 (__sqr): Likewise.
2d0e0f29
SP
12690
12691 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12692 the lower precision input.
12693
daaa7713
JM
126942013-02-15 Joseph Myers <joseph@codesourcery.com>
12695
12696 [BZ #13550]
12697 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12698 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12699 (run-via-rtld-prefix): Do not handle %-bp tests.
12700 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12701 (all-object-suffixes): Remove .ob.
12702 (bppfx): Remove variable.
12703 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12704 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12705 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12706 [$(build-bounded) = yes] (libtype.ob): Likewise.
12707 * Makerules (elide-routines.ob): Remove variable.
12708 (do-tests-clean): Do not handle *-bp.out.
12709 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12710 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12711 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12712 (tests): Do not include $(tests-bp.out).
12713 (xtests): Do not include $(xtests-bp.out).
12714 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12715 [$(build-bounded) = yes] ($(addprefix
12716 $(objpfx),$(binaries-bounded))): Remove rule.
12717 ($(objpfx)%-bp.out): Remove rule.
12718 * config.make.in (build-bounded): Remove variable.
12719 * crypt/Makefile [$(build-bounded) = yes]
12720 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12721 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12722 append to variable.
12723 [$(build-bounded) = yes] (install-lib): Likewise.
12724 [$(build-bounded) = yes] (generated): Likewise.
12725 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12726 Remove rule.
12727 * intl/Makefile [$(build-bounded) = yes]
12728 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12729 * math/Makefile [$(build-bounded) = yes]
12730 ($(tests:%=$(objpfx)%-bp): Likewise.
12731 * misc/Makefile [$(build-bounded) = yes]
12732 ($(objpfx)tst-tsearch-bp): Likewise.
12733 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12734 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12735 Remove dependency.
12736 * string/Makefile (o-objects.ob): Remove variable.
12737 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12738 (CFLAGS-.ob): Remove variable.
12739 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12740 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12741 both definitions of variable.
12742 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12743 (ASFLAGS-.ob): Remove variable.
12744
e97ed6dd
JM
127452013-02-14 Joseph Myers <joseph@codesourcery.com>
12746
2bdd4ca6
JM
12747 [BZ #13550]
12748 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12749 Remove __BOUNDED_POINTERS__ from condition.
12750 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12751 * string/bits/string2.h [!__NO_STRING_INLINES &&
12752 !__BOUNDED_POINTERS__]: Likewise.
12753 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12754 Likewise.
12755 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12756 Remove conditional code.
12757 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12758 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12759 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12760 condition.
12761
e97ed6dd
JM
12762 [BZ #13550]
12763 * csu/libc-start.c: Do not include <bp-sym.h>.
12764 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12765 * elf/dl-open.c: Do not include <bp-sym.h>.
12766 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12767 * math/fegetenv.c: Do not include <bp-sym.h>.
12768 (fegetenv): Do not use BP_SYM in versioned symbols.
12769 * nptl/sysdeps/pthread/bits/libc-lockP.h
12770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12771 <bp-sym.h>.
12772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12773 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12775 (__pthread_mutex_destroy): Likewise.
12776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12777 (__pthread_mutex_lock): Likewise.
12778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12779 (__pthread_mutex_trylock): Likewise.
12780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12781 (__pthread_mutex_unlock): Likewise.
12782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12783 (__pthread_mutexattr_init): Likewise.
12784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12785 (__pthread_mutexattr_destroy): Likewise.
12786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12787 (__pthread_mutexattr_settype): Likewise.
12788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12789 (__pthread_rwlock_init): Likewise.
12790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12791 (__pthread_rwlock_destroy): Likewise.
12792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12793 (__pthread_rwlock_rdlock): Likewise.
12794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12795 (__pthread_rwlock_tryrdlock): Likewise.
12796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12797 (__pthread_rwlock_wrlock): Likewise.
12798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12799 (__pthread_rwlock_trywrlock): Likewise.
12800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12801 (__pthread_rwlock_unlock): Likewise.
12802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12803 (__pthread_key_create): Likewise.
12804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12805 (__pthread_setspecific): Likewise.
12806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12807 (__pthread_getspecific): Likewise.
12808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12809 Likewise.
12810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12811 (_pthread_cleanup_push_defer): Likewise.
12812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12813 (_pthread_cleanup_pop_restore): Likewise.
12814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12815 (pthread_setcancelstate): Likewise.
12816 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12817 <bp-sym.h>.
12818 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12819 (memchr): Do not use BP_SYM in weak_alias.
12820 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12821 (fegetenv): Do not use BP_SYM in versioned symbols.
12822 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12823 (fesetenv): Do not use BP_SYM in versioned symbols.
12824 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12825 (feupdateenv): Do not use BP_SYM in versioned symbols.
12826 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12827 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12828 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12829 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12830 (open64): Do not use BP_SYM in weak_alias.
12831 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12832 (fegetenv): Do not use BP_SYM in versioned symbols.
12833 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12834 (fesetenv): Do not use BP_SYM in versioned symbols.
12835 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12836 (feupdateenv): Do not use BP_SYM in versioned symbols.
12837 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12838 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12839 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12840 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12841 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12842 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12843 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12844 <bp-sym.h>.
12845 (__libc_start_main): Do not use BP_SYM.
12846
d6752ccd
SP
128472013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12848
cb57ce60
SP
12849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12850 redundant return line.
12851 (norm): Likewise.
12852 (denorm): Likewise.
12853 (dbl_mp): Likewise.
12854 (sub_magnitudes): Likewise.
12855 (__add): Likewise.
12856 (__sub): Likewise.
12857 (__mul): Likewise.
12858 (__inv): Likewise.
12859 (__dvd): Likewise.
12860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12861 (norm): Likewise.
12862 (denorm): Likewise.
12863 (dbl_mp): Likewise.
12864 (sub_magnitudes): Likewise.
12865 (__add): Likewise.
12866 (__sub): Likewise.
12867 (__mul): Likewise.
12868 (__inv): Likewise.
12869 (__dvd): Likewise.
12870
f414520d
SP
12871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12872 instead of __mul.
12873 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12874 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12875 (cc32): Likewise.
12876
d6752ccd
SP
12877 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12878 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12879 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12880 of __mul for squares.
12881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12882 function
12883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12884 Likewise.
12885 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12886 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12887
70d9946a
JM
128882013-02-13 Joseph Myers <joseph@codesourcery.com>
12889
12890 [BZ #13550]
12891 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12892 code.
12893 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12894 prototype or function definition. Rename ubp_* variables and
12895 parameters. Remove argv definitions conditional on
12896 [__BOUNDED_POINTERS__].
12897 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12898 * elf/dl-runtime.c (_dl_fixup): Likewise.
12899 * include/set-hooks.h (RUN_HOOK): Likewise.
12900 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12901 definition.
12902 * string/strcpy.c (strcpy): Do not use __unbounded.
12903 * sysdeps/generic/frame.h (struct layout): Likewise.
12904 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12905 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12906 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12907 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12908 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12909 (__backtrace): Likewise.
12910 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12911 use __ptrvalue.
12912 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12913 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12914 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12915 Likewise.
12916 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12917 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12918 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12919 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12920 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12921 Do not use __unbounded.
12922 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12923 Rename __unboundedrlimits parameter to rlimits in prototype.
12924 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12925 Do not use __unbounded.
12926 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12927 not use __ptrvalue.
12928 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12929 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12930 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12931 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12932 __ptrvalue or __unbounded.
12933 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12934 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12935 use __unbounded.
12936 (__new_msgctl): Do not use __ptrvalue.
12937 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12938 __unbounded.
12939 (__libc_msgrcv): Do not use __ptrvalue.
12940 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12941 startup_info): Do not use __unbounded.
12942 (__libc_start_main): Likewise. Rename ubp_* variables and
12943 parameters. Remove argv definitions conditional on
12944 [__BOUNDED_POINTERS__].
12945 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12946 __ptrvalue.
12947 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12948 use __unbounded.
12949 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12950 or __ptrvalue.
12951 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12952 use __unbounded.
12953 (__new_shmctl): Do not use __ptrvalue.
12954 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12955 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12956 Likewise.
12957 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12958 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12959 (__libc_sigaction): Likewise.
12960 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12961 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12962 Likewise.
12963 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12964
cc7834d6
OB
129652013-02-13 Ondřej Bílka <neleai@seznam.cz>
12966
ffb1ec7b 12967 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12968
12969 * string/mempcpy.c: Implement by calling memcpy.
12970
bdf02814
SP
129712013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12972
c2af38aa
SP
12973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12974
4e92d59e
SP
12975 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12976 evaluation.
12977
909279a5
SP
12978 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12979 values in the mantissa.
12980
bdf02814
SP
12981 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12982 minimize writes to Z.
12983 (sub_magnitudes): Simplify code a bit.
12984
cd525923
RM
129852013-02-12 Roland McGrath <roland@hack.frob.com>
12986
12987 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12988 from the message. The linker prefixes all warnings with that already.
12989
7e2f0d2d
AS
129902013-02-12 Andreas Schwab <schwab@suse.de>
12991
a445af0b
AS
12992 [BZ #15078]
12993 * posix/regexec.c (extend_buffers): Add parameter min_len.
12994 (check_matching): Pass minimum needed length.
12995 (clean_state_log_if_needed): Likewise.
12996 (get_subexp): Likewise.
12997 * posix/Makefile (tests): Add bug-regex34.
12998 (bug-regex34-ENV): Define.
12999 * posix/bug-regex34.c: New file.
13000
7e2f0d2d
AS
13001 [BZ #11561]
13002 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13003 elements compare against the byte sequence of it, not its name.
13004 * posix/Makefile (tests): Add bug-regex35.
13005 (bug-regex35-ENV): Define.
13006 * posix/bug-regex35.c: New file.
13007
a175b684
TV
130082013-02-11 Tom de Vries <tom@codesourcery.com>
13009
13010 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13011 comment.
13012 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13013 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13014 (CHECK_EOL): Add undef.
13015
310998fe 130162013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13017
13018 * bits/stdlib-bsearch.h: New file.
13019 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13020 * stdlib/stdlib.h: Likewise.
41eda41d 13021
8ded91fb
RM
130222013-02-11 Roland McGrath <roland@hack.frob.com>
13023
13024 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13025 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13026 declaration.
13027 * manual/search.texi (Array Search Function): Add missing const in
13028 lfind prototype.
13029 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13030 declaration to use rlim_t.
13031 (Basic Scheduling Functions): Remove erroneous const from
13032 sched_getparam prototype. Remove erroneous * from
13033 sched_get_priority_max and sched_get_priority_min prototypes.
13034 (Resource Usage): Fix summary @comment on vtimes to refer to
13035 sys/vtimes.h rather than vtimes.h.
13036 Add missing *s in vtimes prototype.
13037 (Limits on Resources): Fix ulimit prototype to return long int.
13038 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13039 prototypes to use long int rather than double.
13040 (BSD Random): Fix initstate and setstate to use char *, not void *.
13041 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13042 prototype to make second argument 'struct aiocb64 *const[]'.
13043 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13044 (Status of AIO Operations): Remove erroneous const in aio_return and
13045 aio_return64 prototypes.
13046 (Synchronizing I/O): Fix sync prototype to return void.
13047 * manual/startup.texi (Suboptions): Remove an erroneous const in
13048 getsubopt prototype.
13049 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13050 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13051 use size_t rather than int.
13052 (Scanning All Users): Likewise for getpwent_r.
13053 (Setting Groups): Add missing const to setgroups prototype.
13054 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13055 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13056 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13057 'const void *' rather than 'const char *'.
13058 (Host Address Functions): Likewise for inet_ntop.
13059 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13060 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13061 ssize_t for return value.
13062 (Sending Data): Likewise for send, sendto, sendmsg.
13063 (Socket Option Functions): Add a missing const in setsockopt prototype.
13064 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13065 use wchar_t for the argument.
13066 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13067 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13068 take no arguments.
13069 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13070 double/float/long double for second argument.
13071 Fix return types of significand, significandf, significandl.
13072 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13073 argument in fchmod prototype.
13074 (File Owner): Use uid_t and gid_t in fchown prototype.
13075 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13076 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13077 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13078 use 'const struct dirent **' as argument types to CMP function pointer
13079 argument.
13080 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13081 (File Times): Fix summary magic @comment for struct utimbuf and utime
13082 to refer to utime.h, not time.h.
13083 * manual/string.texi (Argz Functions): Add missing const in
13084 argz_extract and argz_next prototypes.
13085 (Finding Tokens in a String): Likewise for basename.
13086 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13087 (Copying and Concatenation): Fix typo in wmemmove prototype.
13088 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13089 (Signal Stack): Remove erroneous const in sigstack prototype.
13090 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13091 prototype.
13092 (Simple Calendar Time): Likewise for stime.
13093 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13094 prototype.
13095 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13096 say sys/sysctl.h instead.
13097 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13098 and vsyslog prototypes.
13099
fe77fe6d
TV
131002013-02-11 Tom de Vries <tom@codesourcery.com>
13101
13102 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13103 Remove.
13104
3a09b620
RM
131052013-02-11 Roland McGrath <roland@hack.frob.com>
13106
13107 * misc/sys/mman.h: Fix typo in mremap comment.
13108
550a0b89
RM
131092013-02-08 Roland McGrath <roland@hack.frob.com>
13110
13111 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13112 the '\0' terminator.
13113
a2da1673
JM
131142013-02-08 Joseph Myers <joseph@codesourcery.com>
13115
13116 [BZ #13550]
13117 * debug/segfault.c: Don't include <bp-checks.h>.
13118 * sysdeps/generic/bp-checks.h: Remove file.
13119 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13120 (__GETDENTS): Don't use CHECK_N.
13121 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13122 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13123 (__getgroups): Don't use CHECK_N.
13124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13125 (setgroups): Don't use CHECK_N.
13126 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13127 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13128 (__libc_msgrcv): Don't use CHECK_N.
13129 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13130 (__libc_msgsnd): Don't use CHECK_N.
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13132 <bp-checks.h>.
13133 (__libc_pread): Don't use CHECK_N.
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13135 include <bp-checks.h>.
13136 (__libc_pread64): Don't use CHECK_N.
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13138 include <bp-checks.h>.
13139 (__libc_pwrite): Don't use CHECK_N.
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13141 include <bp-checks.h>.
13142 (__libc_pwrite64): Don't use CHECK_N.
13143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13144 <bp-checks.h>.
13145 (__libc_pread): Don't use CHECK_N.
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13147 include <bp-checks.h>.
13148 (__libc_pread64): Don't use CHECK_N.
13149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13150 include <bp-checks.h>.
13151 (__libc_pwrite): Don't use CHECK_N.
13152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13153 include <bp-checks.h>.
13154 (__libc_pwrite64): Don't use CHECK_N.
13155 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13156 (do_pread): Don't use CHECK_N.
13157 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13158 (do_pread64): Don't use CHECK_N.
13159 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13160 (do_pwrite): Don't use CHECK_N.
13161 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13162 (do_pwrite64): Don't use CHECK_N.
13163 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13164 (__libc_readv): Don't use CHECK_N.
13165 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13166 (semop): Don't use CHECK_N.
13167 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13168 <bp-checks.h>.
13169 (semtimedop): Don't use CHECK_N.
13170 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13171 (__libc_pread): Don't use CHECK_N.
13172 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13173 <bp-checks.h>.
13174 (__libc_pread64): Don't use CHECK_N.
13175 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13176 <bp-checks.h>.
13177 (__libc_pwrite): Don't use CHECK_N.
13178 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13179 <bp-checks.h>.
13180 (__libc_pwrite64): Don't use CHECK_N.
13181 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13182 <bp-checks.h>.
13183 (__libc_msgrcv): Don't use CHECK_N.
13184 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13185 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13186 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13187 (__libc_writev): Don't use CHECK_N.
13188
b84660a8
RM
131892013-02-08 Roland McGrath <roland@hack.frob.com>
13190
7f3e75f8
RM
13191 * string/strcpy.c: Removed unused variable.
13192
b84660a8
RM
13193 * Makeconfig (+sysdep-includes): Define with := rather than =.
13194 Use an existing include/ subdir of each sysdeps dir before it.
13195
471514d3
CD
131962013-02-08 Carlos O'Donell <carlos@redhat.com>
13197
13198 * nscd/connection.c (register_traced_file): Comment function.
13199 [HAVE_INOTIFY] (union __inev): Define.
13200 [HAVE_INOTIFY] (inotify_check_files): New function.
13201 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13202 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13203 clear_db_cache.
13204 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13205
b2d3c3be
CD
132062013-02-08 Carlos O'Donell <carlos@redhat.com>
13207
13208 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13209 loaded if not already and that a failure is permanent.
13210
b39949d2
CD
132112013-02-08 Carlos O'Donell <carlos@redhat.com>
13212
ddacd1db 13213 [BZ #15006]
b39949d2
CD
13214 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13215 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13216
b2c9eff4
JM
132172013-02-08 Joseph Myers <joseph@codesourcery.com>
13218
f3aae3f3
JM
13219 [BZ #13550]
13220 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13221 (CHECK_1_NULL_OK): Likewise.
13222 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13223 (__fxstat): Do not use CHECK_1.
13224 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13225 <bp-checks.h>.
13226 (___fxstat64): Do not use CHECK_1.
13227 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13228 <bp-checks.h>.
13229 (__fxstatat): Do not use CHECK_1.
13230 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13231 <bp-checks.h>.
13232 (__fxstatat64): Do not use CHECK_1.
13233 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13234 <bp-checks.h>.
13235 (__fxstat): Do not use CHECK_1.
13236 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13237 <bp-checks.h>.
13238 (__fxstatat): Do not use CHECK_1.
13239 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13240 <bp-checks.h>.
13241 (__getresgid): Do not use CHECK_1.
13242 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13243 <bp-checks.h>.
13244 (__getresuid): Do not use CHECK_1.
13245 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13246 <bp-checks.h>.
13247 (__lxstat): Do not use CHECK_1.
13248 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13249 <bp-checks.h>.
13250 (__old_msgctl): Do not use CHECK_1.
13251 (__new_msgctl): Likewise.
13252 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13253 <bp-checks.h>.
13254 (__new_setrlimit): Do not use CHECK_1.
13255 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13256 <bp-checks.h>.
13257 (__old_shmctl): Do not use CHECK_1.
13258 (__new_shmctl): Likewise.
13259 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13260 <bp-checks.h>.
13261 (__xstat): Do not use CHECK_1.
13262 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13263 (__lxstat): Do not use CHECK_1.
13264 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13265 <bp-checks.h>.
13266 (___lxstat64): Do not use CHECK_1.
13267 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13268 (__old_msgctl): Do not use CHECK_1.
13269 (__new_msgctl): Likewise.
13270 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13271 <bp-checks.h>.
13272 (__gettimeofday): Do not use CHECK_1.
13273 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13274 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13275 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13276 <bp-checks.h>.
13277 (__gettimeofday): Do not use CHECK_1.
13278 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13279 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13280 (__new_shmctl): Do not use CHECK_1.
13281 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13282 <bp-checks.h>.
13283 (do_sigtimedwait): Do not use CHECK_1.
13284 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13285 <bp-checks.h>.
13286 (do_sigwaitinfo): Do not use CHECK_1.
13287 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13288 <bp-checks.h>.
13289 (msgctl): Do not use CHECK_1.
13290 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13291 <bp-checks.h>.
13292 (shmctl): Do not use CHECK_1.
13293 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13294 (ustat): Do not use CHECK_1.
13295 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13296 <bp-checks.h>.
13297 (__fxstat): Do not use CHECK_1.
13298 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13299 <bp-checks.h>.
13300 (__fxstatat): Do not use CHECK_1.
13301 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13302 <bp-checks.h>.
13303 (__lxstat): Do not use CHECK_1.
13304 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13305 <bp-checks.h>.
13306 (__xstat): Do not use CHECK_1.
13307 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13308 (__xstat): Do not use CHECK_1.
13309 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13310 (___xstat64): Do not use CHECK_1.
13311
b2c9eff4
JM
13312 [BZ #13550]
13313 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13314 definitions.
13315 (CHECK_BOUNDS_HIGH): Likewise.
13316 * string/strcpy.c: Do not include <bp-checks.h>.
13317 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13318
f1d70dad
RM
133192013-02-07 Roland McGrath <roland@hack.frob.com>
13320
13321 * nscd/nscd-client.h (__nscd_drop_map_ref):
13322 Add __attribute__ ((unused)).
13323 * nis/nss-nisplus.h (niserr2nss): Likewise.
13324
13325 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13326 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13327
13328 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13329 Remove inline keyword.
13330 * include/rounding-mode.h (round_away): Likewise.
13331 * libio/wfileops.c (adjust_wide_data): Likewise.
13332 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13333 (__m128i_strloadu_tolower): Likewise.
13334 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13335 (__m128i_strloadu_tolower): Likewise.
13336 * time/mktime.c (ydhms_diff): Likewise.
13337 * locale/elem-hash.h (elem_hash): Likewise.
13338 * locale/setlocale.c (setdata): Likewise.
13339 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13340 (re_string_wchar_at): Likewise.
13341 (bitset_not, bitset_merge, bitset_mask): Likewise.
13342 [!(__GNUC__ > 3)] (inline): Remove macro.
13343 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13344 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13345 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13346 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13347 * string/memcmp.c (memcmp_bytes): Likewise.
13348 * locale/programs/locarchive.c (compute_hashval): Likewise.
13349 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13350 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13351 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13352 * nss/getent.c (print_rpc, print_protocols): Likewise.
13353 (print_passwd, print_group, print_aliases): Likewise.
13354 * nis/nss-nisplus.h (niserr2nss): Likewise.
13355 * nscd/connections.c (restart_p): Likewise.
13356 Change return type to bool.
13357
eab55bfb
RM
133582013-02-05 Roland McGrath <roland@hack.frob.com>
13359
7bd642f5
RM
13360 * Makeconfig (all-Depend-files): Add existing
13361 $(sorted-subdirs:=/Depend) files.
13362 (all-subdirs): Remove nss.
13363 * sysdeps/unix/inet/Subdirs: Add it here instead.
13364 * hesiod/Depend: New file.
13365
573c29b2
RM
13366 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13367 instead of calling alloca.
13368
b2e25af0
RM
13369 * io/lseek.c (__lseek): Rename to __libc_lseek.
13370 Define __lseek as an alias.
13371
eab55bfb
RM
13372 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13373
9a0d1941
CD
133742013-02-04 Carlos O'Donell <carlos@redhat.com>
13375
13376 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13377 else clause and remove check for non-standard endianness.
13378
b83bbec4
DM
133792013-02-04 David S. Miller <davem@davemloft.net>
13380
13381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13382
6277fdab
JM
133832013-02-04 Joseph Myers <joseph@codesourcery.com>
13384
13385 [BZ #13550]
13386 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13387 (__ubp_memchr): Remove prototype.
13388 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13389 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13390 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13391 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13392 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13393 Remove alias.
13394 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13395 (__ubp_memchr): Likewise.
13396 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13397 (__ubp_memchr): Likewise.
13398 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13399 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13400 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13401 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13402 CHECK_STRING.
13403 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13404 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13405 (__getcwd): Do not use CHECK_STRING.
13406 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13407 <bp-checks.h>.
13408 (__real_chown): Do not use CHECK_STRING.
13409 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13410 <bp-checks.h>.
13411 (fchownat): Do not use CHECK_STRING.
13412 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13413 CHECK_STRING.
13414 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13415 <bp-checks.h>.
13416 (__lchown): Do not use CHECK_STRING.
13417 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13418 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13419 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13420 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13422 include <bp-checks.h>.
13423 (truncate64): Do not use CHECK_STRING.
13424 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13425 <bp-checks.h>.
13426 (__real_chown): Do not use CHECK_STRING.
13427 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13428 <bp-checks.h>.
13429 (__lchown): Do not use CHECK_STRING.
13430 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13431 <bp-checks.h>.
13432 (__chown): Do not use CHECK_STRING.
13433 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13434 <bp-checks.h>.
13435 (truncate64): Do not use CHECK_STRING.
13436 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13437 Likewise.
13438 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13439 (__xmknod): Do not use CHECK_STRING.
13440 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13441 <bp-checks.h>.
13442 (__xmknodat): Do not use CHECK_STRING.
13443 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13444 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13445
903ae060
AS
134462013-02-04 Andreas Schwab <schwab@suse.de>
13447
13448 [BZ #14142]
13449 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13450 * include/netdb.h: Likewise for h_errno.
13451 * elf/tst-stackguard1.c: Include <tls.h>.
13452
542f9466
JK
134532013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13454
13455 * elf/link.h (struct link_map): Extend the l_addr comment.
13456 * include/link.h (struct link_map): Likewise.
13457
e782a927
JM
134582013-02-01 Joseph Myers <joseph@codesourcery.com>
13459
13460 [BZ #13550]
13461 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13462 (BOUNDED_1): Remove macro.
13463 * debug/backtrace.c: Don't include <bp-checks.h>.
13464 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13465 (__backtrace): Likewise.
13466 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13467 <bp-checks.h>.
13468 (__backtrace): Don't use BOUNDED_1.
13469 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13470 <bp-checks.h>.
13471 (__backtrace): Don't use BOUNDED_1.
13472 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13473 (__backtrace): Don't use BOUNDED_1.
13474 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13475 (shmat): Don't use BOUNDED_N.
13476
8cf28c5e
JM
134772013-01-31 Joseph Myers <joseph@codesourcery.com>
13478
3a7ac8a0
JM
13479 [BZ #13550]
13480 * sysdeps/generic/bp-start.h: Remove file.
13481 * csu/libc-start.c: Don't include <bp-start.h>.
13482 (LIBC_START_MAIN): Set up __environ directly instead of using
13483 INIT_ARGV_and_ENVIRON.
13484 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13485 <bp-start.h>.
13486
f3499f95
JM
13487 [BZ #13550]
13488 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13489 definitions.
13490 (CHECK_FCNTL): Likewise.
13491 (CHECK_N_PAGES): Likewise.
13492
32a45bea
JM
13493 [BZ #13550]
13494 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13495 definitions.
13496 (CHECK_SIGSET_NULL_OK): Likewise.
13497 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13498 <bp-checks.h>.
13499 (sigpending): Don't use CHECK_SIGSET.
13500 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13501 <bp-checks.h>.
13502 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13503 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13504 <bp-checks.h>.
13505 (do_sigsuspend): Don't use CHECK_SIGSET.
13506 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13507 use CHECK_SIGSET.
13508 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13509 (do_sigwait): Don't use CHECK_SIGSET.
13510 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13511 use CHECK_SIGSET.
13512 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13513 include <bp-checks.h>.
13514 (sigpending): Don't use CHECK_SIGSET.
13515 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13516 include <bp-checks.h>.
13517 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13518 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13519 <bp-checks.h>.
13520 (sigpending): Don't use CHECK_SIGSET.
13521 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13522 <bp-checks.h>.
13523 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13524
2e8a5c8c
JM
13525 [BZ #13550]
13526 * sysdeps/generic/bp-semctl.h: Remove file.
13527 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13528 <bp-checks.h> and <bp-semctl.h>.
13529 (__old_semctl): Don't use CHECK_SEMCTL.
13530 (__new_semctl): Likewise.
13531 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13532 and <bp-semctl.h>.
13533 (__old_semctl): Don't use CHECK_SEMCTL.
13534 (__new_semctl): Likewise.
13535 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13536 <bp-checks.h> and <bp-semctl.h>.
13537 (__old_semctl): Don't use CHECK_SEMCTL.
13538 (__new_semctl): Likewise.
13539 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13540 <bp-checks.h> and <bp-semctl.h>.
13541 (semctl): Don't use CHECK_SEMCTL.
13542
c2d54929
JM
13543 [BZ #13550]
13544 * Makerules (elide-bp-thunks): Remove variable.
13545 (elide-routines.oS): Don't use $(elide-bp-thunks).
13546 (elide-routines.os): Likewise.
13547 (elide-routines.o): Likewise.
13548 (elide-routines.op): Likewise.
13549 (elide-routines.og): Likewise.
13550 (objects): Don't use $(bp-thunks).
13551 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13552 include.
13553 (common-generated): Do not add s-proto-bp.d.
13554 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13555 (int): Likewise.
13556 (typ): Likewise.
13557 Do not generate makefile rules for bounded-pointer thunks.
13558 * sysdeps/generic/bp-thunks.h: Remove file.
13559 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13560 * sysdeps/unix/s-proto-bp.S: Likewise.
13561
8cf28c5e
JM
13562 [BZ #15062]
13563 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13564 parts of result separately when argument is not close to line from
13565 -i to i and one part of argument is small.
13566 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13567 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13568 * math/libm-test.inc (cacos_test): Add more tests.
13569 (casin_test): Likewise.
13570 (casinh_test): Likewise.
13571 * sysdeps/i386/fpu/libm-test-ulps: Update.
13572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13573
c4e33b8d
DM
135742013-01-31 David S. Miller <davem@davemloft.net>
13575
13576 * po/de.po: Update from translation team.
13577
3b60b421
MK
135782013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13579
13580 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13581
bb931195
TS
135822013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13583
b5a5da23
TS
13584 * configure.in (_AC_PROG_CC_C89): New definition.
13585 * configure: Regenerate.
13586
bb931195
TS
13587 * configure.in (AC_PROG_CPP): New definition.
13588 * configure: Regenerate.
13589
8c53a12c
JM
135902013-01-23 Joseph Myers <joseph@codesourcery.com>
13591
13592 * debug/tst-backtrace.h: New file.
13593 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13594 (ret): Remove variable.
13595 (x): Likewise.
13596 (FAIL): Remove macro.
13597 (NO_INLINE): Likewise.
13598 (fn1): Use match function instead of strstr.
13599 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13600 (ret): Remove variable.
13601 (x): Likewise.
13602 (FAIL): Remove macro.
13603 (NO_INLINE): Likewise.
13604 (fn): Use match function instead of strstr.
13605 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13606 (ret): Remove variable.
13607 (x): Likewise.
13608 (FAIL): Remove macro.
13609 (NO_INLINE): Likewise.
13610 (handle_signal): Use match function instead of strstr.
13611 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13612 (ret): Remove variable.
13613 (x): Likewise.
13614 (FAIL): Remove macro.
13615 (NO_INLINE): Likewise.
13616 (handle_signal): Use match function instead of strstr.
13617
4858fa2a
RM
136182013-01-23 Roland McGrath <roland@hack.frob.com>
13619
13620 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13621
bae8e7f5
DM
136222013-01-23 David S. Miller <davem@davemloft.net>
13623
13624 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13625 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13626 argument of CAS if possible.
13627 * sysdeps/sparc/sparc64/bits/atomic.h
13628 (__arch_compare_and_exchange_val_32_acq): Likewise.
13629 (__arch_compare_and_exchange_val_64_acq): Likewise.
13630
9cbbc4ae
PT
136312013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13632
13633 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13634 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13635 Include <limits.h>.
67b3f58c 13636 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13637
5655a0b5
AC
136382013-01-23 Adam Conrad <adconrad@0c3.net>
13639
13640 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13641 (LDFLAGS-tst-array5): Likewise.
13642
052aff95
JM
136432013-01-23 Joseph Myers <joseph@codesourcery.com>
13644
13645 [BZ #15036]
13646 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13647 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13648 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13649 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13650
7c1e01aa
DM
136512013-01-21 David S. Miller <davem@davemloft.net>
13652
13653 * sysdeps/sparc/backtrace.c: New file.
13654 * sysdeps/sparc/sparc32/backtrace.h: New file.
13655 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13656 * sysdeps/sparc/sparc64/backtrace.h: New file.
13657 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13658 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13659 -funwind-tables.
13660
ab087e0a
AS
136612013-01-21 Andreas Schwab <schwab@suse.de>
13662
13663 [BZ #15020]
13664 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13665 closed its stdout.
13666
ed689c2f
AS
136672013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13668
13669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13670 "mpa2.h".
13671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13672
31d470ac
JM
136732013-01-18 Joseph Myers <joseph@codesourcery.com>
13674 Mark Mitchell <mark@codesourcery.com>
13675 Tom de Vries <tom@codesourcery.com>
13676 Paul Pluzhnikov <ppluzhnikov@google.com>
13677
13678 * debug/tst-backtrace2.c: New file.
13679 * debug/tst-backtrace3.c: Likewise.
13680 * debug/tst-backtrace4.c: Likewise.
13681 * debug/tst-backtrace5.c: Likewise.
13682 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13683 (CFLAGS-tst-backtrace3.c): Likewise.
13684 (CFLAGS-tst-backtrace4.c): Likewise.
13685 (CFLAGS-tst-backtrace5.c): Likewise.
13686 (LDFLAGS-tst-backtrace2): Likewise.
13687 (LDFLAGS-tst-backtrace3): Likewise.
13688 (LDFLAGS-tst-backtrace4): Likewise.
13689 (LDFLAGS-tst-backtrace5): Likewise.
13690 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13691 tst-backtrace4 and tst-backtrace5.
13692
90567f30 136932013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13694 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13695
13696 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13697 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13698 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13699 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13701 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13702 "+r" and remove output regs list as redundant. Add explicit inline
13703 asm to specify register of return val to work around compiler codegen
13704 bug. Remove (int) cast on return value. Add return type parameter to
13705 use in macro so that this macro does not truncate return value for
13706 64-bit values.
13707 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13708 pass to INTERNAL_VSYSCALL_NCS.
13709 (INLINE_VSYSCALL): Add 'long int' as return type to
13710 INTERNAL_VSYSCALL_NCS macro invocation.
13711 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13712 INTERNAL_VSYSCALL_NCS macro invocation.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13714
d3b9ea61
SP
137152013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13716
0b57daeb
SP
13717 [BZ #14496]
13718 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13719 Fix application of SIMD FP exception mask.
13720
caa99d06
SP
13721 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13722 mp_no from a power of two.
13723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13724 __mpexp_twomm1. Use __pow_mp.
13725
d3b9ea61
SP
13726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13727 multiplication.
13728
1dbaee3c
DM
137292013-01-17 David S. Miller <davem@davemloft.net>
13730
13731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13732
728d7b43
JM
137332013-01-17 Joseph Myers <joseph@codesourcery.com>
13734
13735 [BZ #15023]
13736 * include/complex.h: Condition contents on [!_COMPLEX_H].
13737 (__kernel_casinhf): New prototype.
13738 (__kernel_casinh): Likewise.
13739 (__kernel_casinhl): Likewise.
13740 * math/Makefile (libm_calls): Add k_casinh.
13741 * math/k_casinh.c: New file.
13742 * math/k_casinhf.c: Likewise.
13743 * math/k_casinhl.c: Likewise.
13744 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13745 finite nonzero arguments.
13746 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13747 finite nonzero arguments.
13748 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13749 finite nonzero arguments.
13750 * math/s_casinh.c: Do not include <float.h>.
13751 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13752 * math/s_casinhf.c: Do not include <float.h>.
13753 (__casinhf): Move code for finite nonzero arguments to
13754 k_casinhf.c.
13755 * math/s_casinhl.c: Do not include <float.h>.
13756 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13757 redefine.
13758 (__casinhl): Move code for finite nonzero arguments to
13759 k_casinhl.c.
13760 * math/libm-test.inc (cacos_test): Add more tests.
13761 * sysdeps/i386/fpu/libm-test-ulps: Update.
13762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13763
2a26ef3a
PT
137642013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13765
13766 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13767 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13768 [!HAVE_MREMAP]: Remove [defined linux] case.
13769 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13770
a897655d
SP
137712013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13772
13773 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13774
881ebe89 137752013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13776
13777 * elf/elf.h (R_386_SIZE32): New relocation.
13778 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13779 R_386_SIZE32.
13780 (elf_machine_rela): Likewise.
13781 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13782 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13783
59981e9b
JM
137842013-01-17 Joseph Myers <joseph@codesourcery.com>
13785
13786 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13787 (FP_FAST_FMA): Do not define.
13788 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13789 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13790 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13791 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13792 !_SOFT_FLOAT]: Likewise.
13793 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13794 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13795 value.
13796 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13797 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13798 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13799 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13800 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13801 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13802 file.
13803
cfa8054f
AS
138042013-01-16 Andreas Schwab <schwab@suse.de>
13805
13806 [BZ #14327]
13807 * include/stdlib.h (__mktemp): Add declaration.
13808 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13809 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13810
dd930cc5
SP
138112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13812
881ebe89
SP
13813 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13814 definitions.
13815 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13816 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13817 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13818 definitions here.
13819 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13820 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13821 definitions.
13822 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13823 and ONE.
13824 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13825 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13826 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13827 definitions.
13828 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13829 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13830 definitions.
13831 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13832
dd930cc5
SP
13833 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13834
c19a9f89
DM
138352013-01-15 David S. Miller <davem@davemloft.net>
13836
1aa61767
DM
13837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13838 trunc{,f} to libm-sysdep_routes.
13839 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13841 file.
13842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13844 file.
13845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13846 file.
13847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13849 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13850 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13851 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13852 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13853 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13854 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13855
c42d5e98
DM
13856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13857 nearbyint{,f} to libm-sysdep_routes.
13858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13860 New file.
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13862 file.
13863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13864 New file.
13865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13866 file.
13867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13869 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13870 file.
13871 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13872 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13873 file.
13874 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13875 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13876 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13877
c19a9f89
DM
13878 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13879 libc_feholdexcept and libc_fesetenv.
13880
357679d2
MF
138812013-01-15 Mike Frysinger <vapier@gentoo.org>
13882
13883 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13884
65a82e3d
DM
138852013-01-14 David S. Miller <davem@davemloft.net>
13886
8b954ab9
DM
13887 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13888 (SPARC_ASM_VIS2_IFUNC): Likewise.
13889 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13891 use of 'siam' instruction.
13892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13893 Likewise.
13894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13895 Likewise.
13896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13897 Likewise.
13898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13903 file.
13904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13905 file.
13906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13907 file.
13908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13909 file.
13910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13915 new VIS2 routines.
13916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13919 Likewise.
13920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13925 routines to libm-sysdep_routines.
13926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13927
65a82e3d
DM
13928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13929 fdim/fdimf to libm-sysdep_routines.
13930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13931 file.
13932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13934 file.
13935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13938 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13939 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13940 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13941 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13942
e34ab705
SP
139432013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13944
2a91b573
SP
13945 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13946 to optimize copies.
13947
1066a534
SP
13948 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13951
e34ab705
SP
13952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13953 local variable MPTWO.
13954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13955 Likewise.
13956
aba5e596
MF
139572013-01-13 Mike Frysinger <vapier@gentoo.org>
13958
13959 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13960 GLOB_NOESCAPE.
13961
e557e9e5
MF
139622013-01-13 Mike Frysinger <vapier@gentoo.org>
13963
13964 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13965
0428cec9
MF
139662013-01-13 Mike Frysinger <vapier@gentoo.org>
13967
13968 * manual/pattern.texi (glob_t): Document gl_flags.
13969 (glob64_t): Likewise.
13970
8794a964
DM
139712013-01-11 David S. Miller <davem@davemloft.net>
13972
66438c3f
RM
13973 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13974 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13975 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13976 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13977 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13978 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13979 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13980 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13981 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13982 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13983 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13984 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13985 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13986
4ae4244d
DM
13987 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13988 sparc V9 rather than using V8 code.
13989 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13990 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13991
8794a964
DM
13992 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13993 Move to...
13994 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13995 Here.
13996
6270516e
RM
139972013-01-11 Roland McGrath <roland@hack.frob.com>
13998
13999 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14000 not in the main loop.
14001 * configure: Regenerated.
14002
6a57d931
JM
140032013-01-11 Joseph Myers <joseph@codesourcery.com>
14004
14005 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14006 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14007 to just #else.
14008 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14009 [!__GLIBC_HAVE_LONG_LONG] case.
14010 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14011 condition to just #else.
14012 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14013 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14014 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14015 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14016 unconditional.
14017 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14018 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14019 #elif condition to just #else.
14020 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14021 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14022 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14023 #elif condition to just #else.
14024
0e8529e9
SE
140252013-01-11 Steve Ellcey <sellcey@mips.com>
14026
14027 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14028 (EF_MIPS_ARCH_64): Fix value.
14029 (EF_MIPS_ARCH_32R2): New.
14030 (EF_MIPS_ARCH_64R2): New.
14031
740b3dbe
L
140322013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14033
14034 * Makeconfig (+link-pie-before-libc): New.
14035 (+link-pie-after-libc): Likewise.
14036 (+link-pie-tests): Likewise.
14037 (+link-pie): Rewritten.
14038 (link-before-libc): Remove $(config-LDFLAGS).
14039 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14040 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14041 (config-LDFLAGS): Renamed to ...
14042 (rtld-LDFLAGS): This.
14043 (rtld-tests-LDFLAGS): New macro.
14044 (link-libc-rpath-link): Likewise.
14045 (link-libc-tests-rpath-link): Likewise.
14046 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14047 (link-libc): Prepand $(link-libc-rpath-link).
14048 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14049 (test-program-prefix): New macro.
14050 (test-via-rtld-prefix): Likewise.
14051 (test-program-cmd): Likewise.
14052 (host-test-program-cmd): Likewise.
14053 * Makefile ($(common-objpfx)testrun.sh): Replace
14054 $(run-program-prefix) with $(test-program-prefix).
14055 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14056 $(rtld-LDFLAGS).
14057 ($(common-objpfx)shlib.lds): Likewise.
14058 (build-module-helper): Likewise.
14059 ($(common-objpfx)format.lds): Likewise.
14060 * Rules (binaries-pie-tests): New.
14061 (binaries-pie-notests): Likewise.
14062 (binaries-pie): Rewritten.
14063 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14064 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14065 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14066 (make-test-out): Replace $(host-built-program-cmd) with
14067 $(host-test-program-cmd).
14068 * config.make.in (build-hardcoded-path-in-tests): New variable.
14069 * configure.in (--enable-hardcoded-path-in-tests): New configure
14070 option.
14071 (hardcoded_path_in_tests): New AC_SUBST.
14072 * configure: Regenerated.
14073 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14074 $(built-program-cmd) with $(test-program-cmd).
14075 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14076 (test_program_cmd): This.
14077 * elf/Makefile ($(objpfx)order.out): Run test with
14078 $(test-program-prefix).
14079 ($(objpfx)order2.out): Likewise.
14080 ($(objpfx)tst-initorder.out): Likewise.
14081 ($(objpfx)tst-initorder2.out): Likewise.
14082 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14083 $(test-program-cmd).
14084 ($(objpfx)tst-array1-static.out): Likewise.
14085 ($(objpfx)tst-array2.out): Likewise.
14086 ($(objpfx)tst-array3.out): Likewise.
14087 ($(objpfx)tst-array4.out): Likewise.
14088 ($(objpfx)tst-array5.out): Likewise.
14089 ($(objpfx)tst-array5-static.out): Likewise.
14090 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14091 $(test-program-cmd).
14092 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14093 $(run-program-prefix) with $(test-program-prefix).
14094 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14095 (test_program_prefix): This.
14096 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14097 $(run-program-prefix) with $(test-program-prefix).
14098 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14099 (test_program_prefix): This.
14100 * iconvdata/tst-tables.sh: Likewise.
14101 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14102 $(run-program-prefix) with $(test-program-prefix).
14103 ($(objpfx)tst-translit.out): Likewise.
14104 ($(objpfx)tst-gettext2.out): Likewise.
14105 ($(objpfx)tst-gettext4.out): Likewise.
14106 ($(objpfx)tst-gettext6.out): Likewise.
14107 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14108 (test_program_prefix): This.
14109 * intl/tst-gettext2.sh: Likewise.
14110 * intl/tst-gettext4.sh Likewise.
14111 * intl/tst-gettext6.sh: Likewise.
14112 * intl/tst-translit.sh: Likewise.
14113 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14114 with $(test-program-cmd).
14115 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14116 $(run-program-prefix) with $(test-program-prefix).
14117 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14118 (test_program_prefix): This.
14119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14120 $(run-program-prefix) with $(test-program-prefix).
14121 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14122 (test_program_prefix): This.
14123 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14124 * posix/Makefile ($(objpfx)globtest.out): Replace
14125 $(run-via-rtld-prefix) and $(test-wrapper) with
14126 $(test-program-prefix) and $(test-via-rtld-prefix).
14127 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14128 $(test-program-prefix).
14129 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14130 $(host-test-program-cmd).
14131 (tst-spawn-ARGS): Likewise.
14132 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14133 $(test-program-prefix).
14134 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14135 (test_via_rtld_prefix): This.
14136 (test_wrapper): Renamed to ...
14137 (test_program_prefix): This.
14138 (run_program_prefix): Replaced by test_program_prefix.
14139 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14140 (test_program_prefix): This.
14141 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14142 with $(host-test-program-cmd).
14143 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14144 $(run-program-prefix) with $(test-program-prefix).
14145 ($(objpfx)tst-printf.out): Likewise.
14146 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14147 $(test-program-cmd).
14148 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14149 (test_program_prefix): This.
14150 * stdio-common/tst-unbputc.sh: Likewise.
14151 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14152 $(run-program-prefix) with $(test-program-prefix).
14153 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14154 (test_program_prefix): This.
14155 * string/Makefile ($(objpfx)tst-svc.out): Replace
14156 $(built-program-cmd) with $(test-program-cmd).
14157
c6fe55cf
AJ
141582013-01-11 Andreas Jaeger <aj@suse.de>
14159
14160 [BZ #15003]
14161 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14162 value. Sync with Linux 3.7.
14163
9e6919c8
DM
141642013-01-10 David S. Miller <davem@davemloft.net>
14165
14166 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14167 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14168 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14169
1c9f1a02
RM
141702013-01-10 Roland McGrath <roland@hack.frob.com>
14171
14172 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14173 never set.
14174 * configure: Regenerated.
14175
b9de2dde
DM
141762013-01-10 David S. Miller <davem@davemloft.net>
14177
14178 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14179 sparc V9 rather than using V8 code.
14180 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14181 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14182
e7f68ef4
RM
141832013-01-10 Roland McGrath <roland@hack.frob.com>
14184
14185 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14186 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14187 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14188 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14189 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14190 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14191 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14192 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14193 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14194 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14195 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14196 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14197 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14198 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14199 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14200 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14201 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14202 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14203 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14204 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14205 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14206 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14207 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14208 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14209 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14210 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14211 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14212
5a47cc9c
DM
142132013-01-10 David S. Miller <davem@davemloft.net>
14214
14215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14216
4cf8f209
L
142172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14218
14219 * posix/Makefile (tests-static): New variable.
14220 (tests): Add $(tests-static).
14221 (tst-exec-static-ARGS): New variable.
14222 (tst-spawn-static-ARGS): Likewise.
14223 * posix/tst-exec-static.c: New file.
14224 * posix/tst-spawn-static.c: Likewise.
14225 * posix/tst-exec.c: Support run directly.
14226 * posix/tst-spawn.c: Likewise.
14227
fed0faa1
JM
142282013-01-10 Joseph Myers <joseph@codesourcery.com>
14229
828beb13
JM
14230 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14231 long.
14232 * math/bits/mathcalls.h (llrint): Likewise.
14233 (llround): Likewise.
14234 * stdlib/stdlib.h (struct drand48_data): Likewise.
14235 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14236 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14237 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14238 Likewise.
14239 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14240 Likewise.
14241 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14242 (elf_greg_t): Likewise.
14243 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14244 (__jmp_buf): Likewise.
14245 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14246 definitions.
14247 (llrint): Likewise, for all definitions.
14248 (llrintl): Likewise.
14249
fed0faa1
JM
14250 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14251 Remove [__GNUC__] condition.
14252 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14253 condition to just [__USE_ISOC99].
14254 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14255
1a20cb20
L
142562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14257
14258 [BZ #14200]
14259 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14260 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14261 defined.
14262 (_POSIX_V6_ILP32_OFF32): Likewise.
14263 (_XBS5_ILP32_OFF32): Likewise.
14264 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14265 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14266
751b85f7
SP
142672013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14268
7490eb81
SP
14269 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14270
751b85f7
SP
14271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14272 doubles __mpexp_twomm1. Adjust usage.
14273 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14274 Remove.
14275
988197f0
AS
142762013-01-10 Andreas Schwab <schwab@suse.de>
14277
14278 [BZ #14964]
14279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14280 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14281
e83d7298
DM
142822013-01-09 David S. Miller <davem@davemloft.net>
14283
034ed64b 14284 [BZ #15003]
e83d7298
DM
14285 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14286 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14287 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14288 TCP_FASTOPEN): Define.
14289 (tcp_repair_opt): New structure.
14290 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14291 enum values.
14292 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14293 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14294 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14295 (tcp_cookie_transactions): New structure.
14296
d5e0b9bd
AB
142972013-01-09 Anton Blanchard <anton@samba.org>
14298
14299 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14300 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14301 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14302 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14303
0c07e3ea
JM
143042013-01-09 Joseph Myers <joseph@codesourcery.com>
14305
14306 * include/features.h (__USE_ANSI): Remove.
14307
232f7002
RM
143082013-01-09 Roland McGrath <roland@hack.frob.com>
14309
ad98e30c
RM
14310 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14311
232f7002
RM
14312 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14313
950c99ca
SP
143142013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14315
b5792741
SP
14316 * sysdeps/s390/fpu/libm-test-ulps: Update.
14317
47cf2278
SP
14318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14319
950c99ca
SP
14320 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14321 (__acr): Likewise.
14322 (__cpy): Likewise.
14323 (norm): Likewise.
14324 (denorm): Likewise.
14325 (__mp_dbl): Likewise.
14326 (__dbl_mp): Likewise.
14327 (add_magnitudes): Likewise.
14328 (sub_magnitudes): Likewise.
14329 (__add): Likewise.
14330 (__sub): Likewise.
14331 (__mul): Likewise.
14332 (__inv): Likewise.
14333 (__dvd): Likewise.
14334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14335 (__acr): Likewise.
14336 (__cpy): Likewise.
14337 (norm): Likewise.
14338 (denorm): Likewise.
14339 (__mp_dbl): Likewise.
14340 (__dbl_mp): Likewise.
14341 (add_magnitudes): Likewise.
14342 (sub_magnitudes): Likewise.
14343 (__add): Likewise.
14344 (__sub): Likewise.
14345 (__mul): Likewise.
14346 (__inv): Likewise.
14347 (__dvd): Likewise.
14348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14349 (__acr): Likewise.
14350 (__cpy): Likewise.
14351 (norm): Likewise.
14352 (denorm): Likewise.
14353 (__mp_dbl): Likewise.
14354 (__dbl_mp): Likewise.
14355 (add_magnitudes): Likewise.
14356 (sub_magnitudes): Likewise.
14357 (__add): Likewise.
14358 (__sub): Likewise.
14359 (__mul): Likewise.
14360 (__inv): Likewise.
14361 (__dvd): Likewise.
14362
eede9df9
JM
143632013-01-08 Joseph Myers <joseph@codesourcery.com>
14364
14365 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14366 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14367 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14368 2 && __USE_EXTERN_INLINES]: Likewise.
14369
c40ea3d9
AJ
143702013-01-08 Andreas Jaeger <aj@suse.de>
14371
14372 [BZ# 14985]
14373 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14374 Remove.
14375 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14376 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14377
2ccdea26
AB
143782013-01-07 Anton Blanchard <anton@samba.org>
14379
14380 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14381 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14382 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14383 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14384 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14385 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14386 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14387 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14389 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14390 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14391 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14392 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14393 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14394 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14395 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14396 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14397 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14398 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14399 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14400 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14401 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14402 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14403 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14404 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14405 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14406 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14407 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14408 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14409 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14410 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14412 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14413 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14414 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14415 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14416 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14417 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14418 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14419 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14420 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14422 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14423
a9708fed
JM
144242013-01-07 Joseph Myers <joseph@codesourcery.com>
14425
375607b9
JM
14426 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14427 (__MALLOC_PMT): Likewise.
14428 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14429 [__GNUC__], only on [_LIBC].
14430 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14431 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14432 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14433 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14434 forward declaration.
14435 (realloc_hook_ini): Likewise.
14436 (memalign_hook_ini): Likewise.
14437 (__libc_memalign): Do not use __MALLOC_PMT in variable
14438 declaration.
14439 (__libc_valloc): Likewise.
14440 (__libc_pvalloc): Likewise.
14441 (__libc_calloc): Likewise.
14442 (__posix_memalign): Likewise.
14443
a9708fed
JM
14444 [BZ #14996]
14445 * math/s_casinh.c: Include <float.h>.
14446 (__casinh): Do not do computation with squaring and square root
14447 for large arguments.
14448 * math/s_casinhf.c: Include <float.h>.
14449 (__casinhf): Do not do computation with squaring and square root
14450 for large arguments.
14451 * math/s_casinhl.c: Include <float.h>.
14452 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14453 (__casinhl): Do not do computation with squaring and square root
14454 for large arguments.
14455 * math/libm-test.inc (casin_test): Add more tests.
14456 (casinh_test): Likewise.
14457 * sysdeps/i386/fpu/libm-test-ulps: Update.
14458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14459
afec409a
L
144602013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14463 (__x86_64_raw_data_cache_size): Likewise.
14464 (__x86_64_data_cache_size_half): Likewise.
14465 (__x86_64_raw_data_cache_size_half): Likewise.
14466 (__x86_64_shared_cache_size): Likewise.
14467 (__x86_64_raw_shared_cache_size): Likewise.
14468 (__x86_64_shared_cache_size_half): Likewise.
14469 (__x86_64_raw_shared_cache_size_half): Likewise.
14470 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14471 to ...
14472 (__x86_data_cache_size): This.
14473 (__x86_64_raw_data_cache_size): Renamed to ...
14474 (__x86_raw_data_cache_size): This.
14475 (__x86_64_data_cache_size_half): Renamed to ...
14476 (__x86_data_cache_size_half): This.
14477 (__x86_64_raw_data_cache_size_half): Renamed to ...
14478 (__x86_raw_data_cache_size_half): This.
14479 (__x86_64_shared_cache_size): Renamed to ...
14480 (__x86_shared_cache_size): This.
14481 (__x86_64_raw_shared_cache_size): Renamed to ...
14482 (__x86_raw_shared_cache_size): This.
14483 (__x86_64_shared_cache_size_half): Renamed to ...
14484 (__x86_shared_cache_size_half): This.
14485 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14486 (__x86_raw_shared_cache_size_half): This.
14487 * sysdeps/x86_64/memcpy.S: Updated.
14488 * sysdeps/x86_64/memset.S: Likewise.
14489 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14490 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14491 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14492
0b3986d0
DM
144932013-01-04 David S. Miller <davem@davemloft.net>
14494
14495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14496
e47686e9
AS
144972013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14498
d643bac1
AS
14499 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14500 1 to avoid redefinition warning.
14501 (__USE_GNU): Don't define.
14502 (init_signaling_nan): Protoize.
14503
e47686e9
AS
14504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14505
b18decba
SP
145062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14507
fffb407f
SP
14508 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14510 (__cpymn): Likewise.
14511 (norm): Remove commented code.
14512 (denorm): Likewise.
14513 (__mp_dbl): Likewise.
14514 (__inv): Likewise.
14515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14516 (__cpymn): Likewise.
14517 (norm): Remove commented code.
14518 (denorm): Likewise.
14519 (__mp_dbl): Likewise.
14520 (__inv): Likewise.
14521
b18decba
SP
14522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14523 mp_no value for 1.0 and 2.0.
14524 (norm): Use RADIXI instead of radixi.d.
14525 (denorm): Likewise.
14526 (__mul): Use 0.0 instead of zero.d.
14527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14528 mp_no value for 1.0 and 2.0.
14529 (norm): Use RADIXI instead of radixi.d.
14530 (denorm): Likewise.
14531 (__mul): Use 0.0 instead of zero.d.
14532
cdc1c96f
JM
145332013-01-04 Joseph Myers <joseph@codesourcery.com>
14534
14535 [BZ #14994]
14536 * math/s_casinh.c (__casinh): Reduce finite argument to first
14537 quadrant then set signs of results at the end.
14538 * math/s_casinhf.c (__casinhf): Likewise.
14539 * math/s_casinhl.c (__casinhl): Likewise.
14540 * math/libm-test.inc (casin_test): Add more tests.
14541 (casinh_test): Likewise.
14542 * sysdeps/i386/fpu/libm-test-ulps: Update.
14543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14544
302913e1
SP
145452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14546
6420d207
SP
14547 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14548
a9e48ab4
SP
14549 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14550
b7837264
SP
14551 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14552 declarations.
14553 (denorm): Likewise.
14554 (__mp_dbl): Likewise.
14555 (__inv): Likewise.
14556
f8af25d2
SP
14557 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14558 and adjust the header comment.
14559
302913e1
SP
14560 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14561 variable name from declaration.
14562
5d7dd1ca
L
145632013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14564
14565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14566 Initialize COMMON_CPUID_INDEX_7 element.
14567 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14568 (CPUID_RTM): Likewise.
14569 (HAS_RTM): Likewise.
14570 (COMMON_CPUID_INDEX_7): New enum.
14571
2f5f40f4
AS
145722013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14573
14574 [BZ #14981]
14575 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14576 size is zero, record memory as freed.
14577
4056f4a0
AJ
145782013-01-03 Andreas Jaeger <aj@suse.de>
14579
14580 * po/ia.po: Add new Interlingua translation.
14581
ab15736f 145822012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14583
14584 * locale/programs/localedef.c: Fix description of '--posix' flag.
14585
568035b7
JM
145862013-01-02 Joseph Myers <joseph@codesourcery.com>
14587
e6898b8d
JM
14588 * NEWS: Update dates in second copyright notice.
14589 * README: Update copyright dates in example.
14590 * manual/libc.texinfo: Update copyright dates.
14591 * scripts/test-installation.pl: Update copyright date in --version
14592 output.
14593
0e2f9562
JM
14594 * hurd/ctty-input.c: Fix copyright notice formatting.
14595 * hurd/ctty-output.c: Likewise.
14596 * hurd/dtable.c: Likewise.
14597 * hurd/hurd-raise.c: Likewise.
14598 * hurd/hurdprio.c: Likewise.
14599 * hurd/msgportdemux.c: Likewise.
14600 * misc/sys/file.h: Likewise.
14601 * misc/sys/ioctl.h: Likewise.
14602 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14603 * sysdeps/mach/hurd/chdir.c: Likewise.
14604 * sysdeps/mach/hurd/fchdir.c: Likewise.
14605 * sysdeps/mach/hurd/rename.c: Likewise.
14606 * sysdeps/mach/hurd/rmdir.c: Likewise.
14607 * sysdeps/mach/hurd/seekdir.c: Likewise.
14608 * sysdeps/mach/hurd/setsid.c: Likewise.
14609 * sysdeps/posix/wait3.c: Likewise.
14610
568035b7
JM
14611 * All files with FSF copyright notices: Update copyright dates
14612 using scripts/update-copyrights.
14613 * intl/plural.c: Regenerated.
14614 * locale/programs/charmap-kw.h: Likewise.
14615 * locale/programs/locfile-kw.h: Likewise.
14616
da08f647
SP
146172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14618
0f5477af
SP
14619 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14620 four values.
14621
44e0d4c2
SP
14622 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14623 calculation loop and add branch prediction.
14624
4d55b4e5
SP
14625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14626 check access beyond bounds of m1np.
14627
da08f647
SP
14628 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14629 MPTWO.
14630 (__inv): Remove local variable MPTWO to use the global
14631 constant.
14632 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14633 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14634 variable MPTWO.
14635 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14636 MP3HALFS static const.
14637
8e051029
DM
146382013-01-01 David S. Miller <davem@davemloft.net>
14639
14640 * po/ca.po: Update from translation team.
14641
f4cf5f2d
JM
146422013-01-01 Joseph Myers <joseph@codesourcery.com>
14643
14644 * scripts/update-copyrights: New file.
14645 * Makeconfig: Reformat copyright notice.
14646 * ctype/ctype.h: Likewise.
14647 * debug/swprintf_chk.c: Likewise.
14648 * elf/dl-cache.c: Likewise.
14649 * elf/dl-debug.c: Likewise.
14650 * elf/dl-object.c: Likewise.
14651 * grp/initgroups.c: Likewise.
14652 * hurd/Makefile: Likewise.
14653 * hurd/hurd/signal.h: Likewise.
14654 * hurd/hurdfault.c: Likewise.
14655 * hurd/hurdioctl.c: Likewise.
14656 * hurd/hurdlookup.c: Likewise.
14657 * hurd/intr-msg.c: Likewise.
14658 * iconv/gconv_open.c: Likewise.
14659 * libio/swprintf.c: Likewise.
14660 * locale/lc-ctype.c: Likewise.
14661 * locale/nl_langinfo.c: Likewise.
14662 * mach/Machrules: Likewise.
14663 * mach/Makefile: Likewise.
14664 * malloc/obstack.h: Likewise.
14665 * manual/Makefile: Likewise.
14666 * manual/tsort.awk: Likewise.
14667 * misc/bits/stab.def: Likewise.
14668 * nis/nis_print_group_entry.c: Likewise.
14669 * nis/nis_table.c: Likewise.
14670 * nis/nss_compat/compat-pwd.c: Likewise.
14671 * nis/nss_compat/compat-spwd.c: Likewise.
14672 * po/Makefile: Likewise.
14673 * posix/fnmatch.c: Likewise.
14674 * posix/regex.h: Likewise.
14675 * resolv/Makefile: Likewise.
14676 * resolv/nss_dns/dns-network.c: Likewise.
14677 * resolv/res_hconf.c: Likewise.
14678 * scripts/gen-sorted.awk: Likewise.
14679 * soft-fp/soft-fp.h: Likewise.
14680 * stdio-common/printf.h: Likewise.
14681 * stdlib/monetary.h: Likewise.
14682 * stdlib/random.c: Likewise.
14683 * stdlib/random_r.c: Likewise.
14684 * sysdeps/generic/Makefile: Likewise.
14685 * sysdeps/gnu/Makefile: Likewise.
14686 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14714 * sysdeps/mach/hurd/errnos.awk: Likewise.
14715 * sysdeps/mach/hurd/fork.c: Likewise.
14716 * sysdeps/mach/hurd/getcwd.c: Likewise.
14717 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14718 * sysdeps/mach/hurd/mmap.c: Likewise.
14719 * sysdeps/mach/hurd/utimes.c: Likewise.
14720 * sysdeps/mach/hurd/xmknod.c: Likewise.
14721 * sysdeps/posix/profil.c: Likewise.
14722 * sysdeps/posix/readdir_r.c: Likewise.
14723 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14724 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14725 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14726 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14728 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14729 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14730 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14732 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14733 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14734 * sysdeps/pthread/lio_listio.c: Likewise.
14735 * sysdeps/sparc/dl-procinfo.h: Likewise.
14736 * sysdeps/unix/i386/sysdep.S: Likewise.
14737 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14738 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14739 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14740 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14742 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14743 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14744 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14745 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14746 * sysdeps/wordsize-32/divdi3.c: Likewise.
14747 * time/sys/time.h: Likewise.
14748 * wcsmbs/Makefile: Likewise.
14749
0549fbba
DM
147502013-01-01 David S. Miller <davem@davemloft.net>
14751
a141f1a7
DM
14752 * po/fr.po: Update from translation team.
14753
0549fbba
DM
14754 * catgets/gencat.c: Update copyright year.
14755 * csu/version.c: Likewise.
14756 * debug/catchsegv.sh: Likewise.
14757 * debug/pcprofiledump.c: Likewise.
14758 * debug/xtrace.sh: Likewise.
14759 * elf/ldconfig.c: Likewise.
14760 * elf/ldd.bash.in: Likewise.
14761 * elf/pldd.c: Likewise.
14762 * elf/sotruss.ksh: Likewise.
14763 * elf/sprof.c: Likewise.
14764 * iconv/iconv_prog.c: Likewise.
14765 * iconv/iconvconfig.c: Likewise.
14766 * locale/programs/locale.c: Likewise.
14767 * locale/programs/localedef.c: Likewise.
14768 * login/programs/pt_chown.c: Likewise.
14769 * malloc/memusage.sh: Likewise.
14770 * malloc/memusagestat.c: Likewise.
14771 * malloc/mtrace.pl: Likewise.
14772 * nscd/nscd.c: Likewise.
14773 * nss/getent.c: Likewise.
14774 * nss/makedb.c: Likewise.
14775 * posix/getconf.c: Likewise.
14776
18ea052c
SP
147772012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14778
14779 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14780 numbers.
14781
9c89fca6
MF
147822012-12-30 Mike Frysinger <vapier@gentoo.org>
14783
14784 * math/bits/mathcalls.h (modf): Use __nonnull.
14785
085ec079
SP
147862012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14787
14788 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14789 (split): Use macro CN instead of the bare value.
14790 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14791 could be used.
14792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14793 instead of the bare value.
14794 (power1): Likewise.
14795
6d9f97e1
SP
147962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14797
d63f73be
SP
14798 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14799 __ATAN_TWOM.
14800 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14801
6d9f97e1
SP
14802 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14803 their values.
14804 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14805 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14806 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14807 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14808
4c4febf5
AJ
148092012-12-28 Andreas Jaeger <aj@suse.de>
14810
af5843ef
AJ
14811 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14812 values are from Linux 3.7.
14813
4c4febf5
AJ
14814 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14815 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14816
99136f82
SP
148172012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14818
2f216c3c 14819 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14820 TRUE case.
14821
99136f82
SP
14822 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14823 (norm): Likewise.
14824 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14825 variables with preprocessor constants.
14826 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14827 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14828 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14829
7fffbdff
BH
148302012-12-27 Bruno Haible <bruno@clisp.org>
14831
14832 [BZ #14317]
14833 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14834 only if needed.
14835
b76eb5f0
SP
148362012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14837
31a7fe5c
SP
14838 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14839 and use variable directly.
14840 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14841
b76eb5f0
SP
14842 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14843 MPONE.
14844 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14845 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14846 variable MPONE.
14847 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14849 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14850 include directive. Remove local variable MPONE.
14851 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14852 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14853 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14854
2c8bfe7d
DM
148552012-12-25 David S. Miller <davem@davemloft.net>
14856
14857 * version.h (RELEASE): Set to "development".
14858 (VERSION): Set to "2.17.90".
14859 * NEWS: Add 2.18 section.
14860
147d03b0
DM
148612012-12-21 David S. Miller <davem@davemloft.net>
14862
14863 * po/hr.po: Update from translation team.
14864
a8ebb2b9
AK
148652012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14866
14867 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14868
95b4f1b6
SE
148692012-12-19 Steve Ellcey <sellcey@mips.com>
14870
b2d94007 14871 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14872
cedb2a90
MS
148732012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14874
14875 * manual/contrib.texi (Contributors): Spelling correction.
14876
bbf527d6
DM
148772012-12-15 David S. Miller <davem@davemloft.net>
14878
14879 * po/ru.po: Update from translation team.
14880
bc38c906
DM
148812012-12-13 David S. Miller <davem@davemloft.net>
14882
85429b1a
DM
14883 * NEWS: Mention IFUNC testsuite enhancements.
14884
d283e353
DM
14885 * po/pl.po: Update from translation team.
14886 * po/bg.po: Likewise.
14887
bc38c906
DM
14888 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14889 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14890
a181b0d7
DM
148912012-12-11 David S. Miller <davem@davemloft.net>
14892
4641d57e
DM
14893 * po/sv.po: Update from translation team.
14894
f7bc6495
DM
14895 * po/vi.po: Update from translation team.
14896
6fc9048f
DM
14897 * po/cs.po: Update from translation team.
14898
a181b0d7
DM
14899 * po/de.po: Update from translation team.
14900 * po/eo.po: Likewise.
14901 * po/nl.po: Likewise.
14902
f70bfe80
SP
149032012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14904
3c8b4190
SP
14905 [BZ #14246]
14906 * manual/argp.texi (Argp Helper Functions): Move node to follow
14907 Argp Parsing State.
14908
f70bfe80
SP
14909 [BZ #14872]
14910 * manual/conf.texi (Limits on File System Capacity): Mention if
14911 terminating null is included in the max size.
14912
188f0adf
AJ
149132012-12-10 Andreas Jaeger <aj@suse.de>
14914
14915 * po/cs.po: Update from translation team.
14916
56e7d3ad
SP
149172012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14918
14919 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14920 void pointer and cast to uintptr_t.
14921 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14922 path.
14923 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14924 * sysdeps/s390/s390-64/memset.S: Likewise.
14925
76f2d2ea 149262012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14927
14928 [BZ #14833]
14929 * menual/message.texi (Message Translation): Fix typos.
14930 (Helper programs for gettext): Likewise.
14931
67cbf9a2
AS
149322012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14933
14934 [BZ #14898]
14935 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14936 Change to -1.
14937
682d0e9a
DM
149382012-12-07 David S. Miller <davem@davemloft.net>
14939
14940 * po/libc.pot: Update.
14941
573cd484
RH
149422012-12-07 Richard Henderson <rth@redhat.com>
14943
7e9da188 14944 [BZ #10114]
573cd484
RH
14945 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14946 normal/normal case to before the switch.
14947 (_FP_DIV): Likewise.
14948
e933a943
MF
149492012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14950 Mike Frysinger <vapier@gentoo.org>
14951
14952 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14953 check for __NR_fadvise64_64.
14954
82123268
CM
149552012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14956
14957 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14958 0, not just to plain "0" as a statement.
14959 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14960 with cw.
14961
d9814526
JM
149622012-12-06 Joseph Myers <joseph@codesourcery.com>
14963
14964 * NEWS: Use sourceware.org in Bugzilla URL.
14965
7728c574
SP
149662012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14967
f16946dd
SP
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14969 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14970
5704bbcb
SP
14971 * stdio-common/tst-put-error.c (do_test): Add newline to the
14972 padded test to ensure flush.
14973
17aa0516
JL
149742012-12-05 Jeff Law <law@redhat.com>
14975
14976 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14977
363313b5
JM
149782012-12-05 Joseph Myers <joseph@codesourcery.com>
14979
effbd42a
JM
14980 * README: Don't refer to ports add-on as distributed separately.
14981 Mention AArch64 in list of systems supported in the ports add-on.
14982
87600365
JM
14983 * LICENSES: Add more non-FSF copyright and license notices.
14984
a0d7066a
JM
14985 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14986 ((unused)).
14987
66ca5a5b
JM
14988 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14989
363313b5
JM
14990 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14991 10000 as width of padded output.
14992
b37984ad
JM
149932012-12-04 Joseph Myers <joseph@codesourcery.com>
14994
9003570a
JM
14995 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14996
b37984ad
JM
14997 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14998 variable LX with __attribute__ ((unused)).
14999 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15000 Likewise.
15001 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15004 with __attribute__ ((unused)).
15005
c8df52ec
DM
150062012-12-04 David S. Miller <davem@abraco.davemloft.net>
15007
15008 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15009
b3b099af
JM
150102012-12-04 Joseph Myers <joseph@codesourcery.com>
15011
c33aa6e3
JM
15012 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15013 (CFLAGS-nldbl-acos.c): New variable.
15014 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15015 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15016 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15017 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15018 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15019 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15020 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15021 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15022 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15023 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15024 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15025 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15030 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15031 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15032 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15033 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15034 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15035 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15036 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15037 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15038 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15039 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15040 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15041 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15042 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15043 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15044 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15045 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15046 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15047 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15048 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15049 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15050 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15051 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15052 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15053 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15054 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15055 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15056 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15057 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15058 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15059 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15060 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15061 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15062 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15063 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15064 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15065 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15066 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15067 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15068 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15069 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15070 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15071 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15072 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15073 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15074 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15075 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15076 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15077 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15078 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15079 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15080 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15081 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15082 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15083 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15084 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15085 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15086 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15087 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15088 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15089 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15090 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15091 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15092 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15093 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15094 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15095 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15096 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15097 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15098 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15099 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15100 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15101 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15102 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15103 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15104 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15105 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15106 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15107 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15108 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15109 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15110 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15111
20f0018d
JM
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15113 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15114
b3b099af
JM
15115 [BZ #14914]
15116 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15117 whole low double instead of just low 47 bits when splitting values
15118 into two parts.
15119
029264d1
AM
151202012-12-03 Allan McRae <allan@archlinux.org>
15121
15122 * manual/stdio.texi (Predefined Printf Handlers): Remove
15123 @hsep and @vsep usage.
15124
c9d6789e
MF
151252012-12-03 Mike Frysinger <vapier@gentoo.org>
15126
15127 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15128 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15129
4b7634a5
JL
151302012-12-03 Jeff Law <law@redhat.com>
15131
15132 * time/sys/time.h (settimeofday): Do not mark TV argument
15133 as __nonnull.
15134
eb6cbd24
MF
151352012-12-01 Mike Frysinger <vapier@gentoo.org>
15136
15137 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15138 when currently writing and seek to current position when not.
15139 * libio/Makefile (tests): Remove bug-fclose1.
15140 * libio/bug-fclose1.c: Delete.
15141
f638872a
JM
151422012-12-01 Joseph Myers <joseph@codesourcery.com>
15143
15144 * manual/arith.texi (feenableexcept): Fix typo.
15145 (fedisableexcept): Likewise.
15146
48085d14
RM
151472012-11-30 Roland McGrath <roland@hack.frob.com>
15148
15149 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15150 second, differently-typed declaration, rather than a cast.
15151
1a538b9f
SP
151522012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15153
15154 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15155 * include/rpc/svc.h: ... here.
15156
d07f2ff1 151572012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15158
15159 [BZ #13013]
15160 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15161 depending n and resplen2 to catch cases where answer
15162 equals answerp2.
15163
c93ec1f0
CD
151642012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15165
15166 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15167 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15168
37db69de
MF
151692012-11-29 Mike Frysinger <vapier@gentoo.org>
15170
15171 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15172
e10c4e4f
RM
151732012-11-29 Roland McGrath <roland@hack.frob.com>
15174
15175 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15176
2af1b328
JL
151772012-11-28 Jeff Law <law@redhat.com>
15178
15179 [BZ #13761]
15180 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15181 dataset_temporary. Track alloca usage into alloca_used.
15182 If dataset is large allocate and release it via malloc/free.
15183
111db5b1
FW
151842012-06-04 Florian Weimer <fweimer@redhat.com>
15185
f06cc227 15186 [BZ #14197]
111db5b1
FW
15187 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15188
dd694abd
DM
151892012-11-28 David S. Miller <davem@davemloft.net>
15190
15191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15192
9984dd01
JM
151932012-11-28 Joseph Myers <joseph@codesourcery.com>
15194
15195 [BZ #14803]
15196 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15197 of pi/2 rounded to nearest to 64 bits.
15198 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15199 nearest to 64 bits.
15200 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15201 bits.
15202
14bc93a9
JL
152032012-11-28 Jeff Law <law@redhat.com>
15204 Martin Osvald <mosvald@redhat.com>
15205
15206 [BZ #14889]
15207 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15208 * sunrpc/svc.c: Include time.h.
15209 (__svc_accept_failed): New function.
15210 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15211 any reason other than EINTR, call __svc_accept_failed.
15212 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15213 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15214
e3c6aa3a
AS
152152012-11-28 Andreas Schwab <schwab@suse.de>
15216
15217 * scripts/abilist.awk: Also handle indirect functions in .opd
15218 section.
15219
1bead169
JM
152202012-11-28 Joseph Myers <joseph@codesourcery.com>
15221
15222 [BZ #13881]
15223 * sysdeps/x86/fpu/powl_helper.c: New file.
15224 * sysdeps/x86/fpu/Makefile: Likewise.
15225 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15226 (p3): New object.
15227 (__ieee754_powl): Use __powl_helper for finite arguments except
15228 integer exponents below 8.
15229 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15230 (p3): New object.
15231 (__ieee754_powl): Use __powl_helper for finite arguments except
15232 integer exponents below 8.
15233 * math/libm-test.inc (pow_test): Add more tests and enable some
15234 previously disabled tests.
15235 * sysdeps/i386/fpu/libm-test-ulps: Update.
15236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15237
0817d63d
SP
152382012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15239 Carlos O'Donell <carlos_odonell@mentor.com>
15240
15241 * nss/makedb.c (is_prime): Assert that input is odd and greater
15242 than 4. Note that fact in a comment too.
15243 (next_prime): Add 4 to input.
15244
de2fd463
SP
152452012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15246
15247 [BZ #11741]
15248 * libio/Makefile (tests): Add test case tst-fwrite-error.
15249 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15250 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15251 * libio/tst-fwrite-error.c: New test case.
15252
c515fb51
L
152532012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15254
15255 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15256 before casting to void *.
15257 * include/libc-internal.h (__pointer_type): New macro.
15258 (__integer_if_pointer_type_sub): Likewise.
15259 (__integer_if_pointer_type): Likewise.
15260 (cast_to_integer): Likewise.
15261 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15262 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15263 before casting to atomic64_t.
15264 (atomic_exchange_acq): Likewise.
15265 (__arch_exchange_and_add_body): Likewise.
15266 (__arch_add_body): Likewise.
15267 (atomic_add_negative): Likewise.
15268 (atomic_add_zero): Likewise.
15269
4cf77aa9
JM
152702012-11-26 Joseph Myers <joseph@codesourcery.com>
15271
15272 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15273 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15274 (add_fdes): Likewise.
15275 (linear_search_fdes): Likewise.
15276 (binary_search_unencoded_fdes): Likewise.
15277
d260b3b4
AS
152782012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15279
15280 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15281
67060746
AC
152822012-11-24 Adam Conrad <adconrad@0c3.net>
15283
15284 * configure.in: Autodetect C++ header directories.
15285 * configure: Regenerated.
15286
800938a1
MF
152872012-11-23 Mike Frysinger <vapier@gentoo.org>
15288
15289 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15290
4e6e34e6
AS
152912012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15292
15293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15294
7c7feb47
JM
152952012-11-22 Joseph Myers <joseph@codesourcery.com>
15296
7184dcdf
JM
15297 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15298 LDBL_MANT_DIG == 106]: Disable some tests.
15299 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15300 Likewise.
15301 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15302 Likewise.
15303
0a42601f
JM
15304 [BZ #14871]
15305 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15306 input for small inputs. Return +/- pi/2 for large inputs.
15307 * math/libm-test.inc (atan_test): Add more tests.
15308
79c9b9fe
JM
15309 * sysdeps/generic/unwind-dw2-fde-glibc.c
15310 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15311 __attribute__ ((unused)).
15312
c60d3bf2
JM
15313 [BZ #14645]
15314 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15315 x * y if x and y are nonzero and z is zero.
15316
ef1e0867
JM
15317 [BZ #14811]
15318 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15319 nonzero exponents with absolute value below 0x1p-117 to +/-
15320 0x1p-117.
15321
1468ded3
JM
15322 [BZ #14869]
15323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15324 up arguments below 2**-450, not just those below 2**-500.
15325 * math/libm-test.inc (hypot_test): Add another test.
15326
8e27e3cc
JM
15327 [BZ #14868]
15328 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15329 Return a+b for ratio over 2**120, not 2**60.
15330 * math/libm-test.inc (hypot_test): Add another test.
15331
c9c0279b
JM
15332 * math/libm-test.inc (clog_test): Use
15333 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15334 (clog10_test): Likewise.
15335
7c7feb47
JM
15336 [BZ #6778]
15337 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15338
fff1530e
AS
153392012-11-22 Andreas Schwab <schwab@suse.de>
15340
15341 * sysdeps/i386/fpu/libm-test-ulps: Update.
15342
94558d30
PT
153432012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15344
15345 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15346 printf output with newline.
15347
7e1be741
L
153482012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15349
6bfea974
L
15350 [BZ #14865]
15351 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15352 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15353 -z nodlopen, -z initfirst and -z execstack support.
15354 * configure: Regenerated.
15355
7e1be741
L
15356 * elf/elf.h (DF_1_NODIRECT): New macro.
15357 (DF_1_IGNMULDEF): Likewise.
15358 (DF_1_NOKSYMS): Likewise.
15359 (DF_1_NOHDR): Likewise.
15360 (DF_1_EDITED): Likewise.
15361 (DF_1_NORELOC): Likewise.
15362 (DF_1_SYMINTPOSE): Likewise.
15363 (DF_1_GLOBAUDIT): Likewise.
15364 (DF_1_SINGLETON): Likewise.
15365 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15366 DT_1_SUPPORTED_MASK bits.
15367 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15368
105ce2ce
CD
153692012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15370
15371 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15372
123be9de
TS
153732012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15374
d072f3f7
TS
15375 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15376 macro.
15377
123be9de
TS
15378 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15379 (sendmmsg): Move declarations...
15380 * socket/sys/socket.h: ... here.
15381 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15382 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15383 include it from...
15384 * socket/recvmmsg.c: ... this new file.
15385 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15386 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15387 definition of __sendmmsg hidden.
15388 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15389 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15390 Move ENOSYS stub into and include it from...
15391 * socket/sendmmsg.c: ... this new file.
15392 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15393 (sysdep_routines): Move recvmmsg and sendmmsg...
15394 * socket/Makefile (routines): ... here.
15395 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15396 (GLIBC_PRIVATE): Add __sendmmsg.
15397 * include/sys/socket.h (__sendmmsg): Add declarations.
15398 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15399 sendmmsg.
15400
cf9a5d18
JM
154012012-11-20 Joseph Myers <joseph@codesourcery.com>
15402
15403 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15404 variable I1 with __attribute__ ((unused)).
15405 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15406
ecd4caf9
JM
154072012-11-19 Joseph Myers <joseph@codesourcery.com>
15408
be14d48f
JM
15409 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15410 DUMMY variables with __attribute__ ((unused)).
15411
ecd4caf9
JM
15412 * bits/byteswap.h: Include <bits/types.h>.
15413 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15414
986cab95
PT
154152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15416
15417 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15418 string_t. Do not manually set errno.
15419 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15420 length with __strnlen. Make sure to both set errno and return it on
15421 failure.
15422
6d33cc9d
DM
154232012-11-19 David S. Miller <davem@davemloft.net>
15424
15425 With help from Joseph Myers.
15426 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15427 very large arguments properly.
15428 * math/libm-test.inc (atan_test): New tests.
15429 (atan2_test): New tests.
15430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15432
ee663277
JM
154332012-11-19 Joseph Myers <joseph@codesourcery.com>
15434
877f2d8e
JM
15435 [BZ #14856]
15436 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15437 Define to 3.
15438
116fc08a
JM
15439 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15440 [POSIX] (EADDRNOTAVAIL): Likewise.
15441 [POSIX] (EAFNOSUPPORT): Likewise.
15442 [POSIX] (EALREADY): Likewise.
15443 [POSIX] (ECONNABORTED): Likewise.
15444 [POSIX] (ECONNREFUSED): Likewise.
15445 [POSIX] (ECONNRESET): Likewise.
15446 [POSIX] (EDESTADDRREQ): Likewise.
15447 [POSIX] (EDQUOT): Likewise.
15448 [POSIX] (EHOSTUNREACH): Likewise.
15449 [POSIX] (EIDRM): Likewise.
15450 [POSIX] (EISCONN): Likewise.
15451 [POSIX] (ELOOP): Likewise.
15452 [POSIX] (EMULTIHOP): Likewise.
15453 [POSIX] (ENETDOWN): Likewise.
15454 [POSIX] (ENETUNREACH): Likewise.
15455 [POSIX] (ENOBUFS): Likewise.
15456 [POSIX] (ENODATA): Likewise.
15457 [POSIX] (ENOLINK): Likewise.
15458 [POSIX] (ENOMSG): Likewise.
15459 [POSIX] (ENOPROTOOPT): Likewise.
15460 [POSIX] (ENOSR): Likewise.
15461 [POSIX] (ENOSTR): Likewise.
15462 [POSIX] (ENOTCONN): Likewise.
15463 [POSIX] (ENOTSOCK): Likewise.
15464 [POSIX] (EOPNOTSUPP): Likewise.
15465 [POSIX] (EOVERFLOW): Likewise.
15466 [POSIX] (EPROTO): Likewise.
15467 [POSIX] (EPROTONOSUPPORT): Likewise.
15468 [POSIX] (EPROTOTYPE): Likewise.
15469 [POSIX] (ESTALE): Likewise.
15470 [POSIX] (ETIME): Likewise.
15471 [POSIX] (ETXTBSY): Likewise.
15472 [POSIX] (EWOULDBLOCK): Likewise.
15473 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15474 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15475 [POSIX] (SEEK_CUR): Likewise.
15476 [POSIX] (SEEK_END): Likewise.
15477 [POSIX || UNIX98] (mode_t): Do not require.
15478 [POSIX] (off_t): Likewise.
15479 [POSIX] (pid_t): Likewise.
15480 [POSIX] (sys/stat.h): Do not allow header.
15481 [POSIX] (unistd.h): Likewise.
15482 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15483 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15484 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15485 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15486 require.
15487 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15488 sigevent): Specify elements.
15489 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15490 entry.
15491 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15492 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15493
a483863f
JM
15494 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15495 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15496 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15497 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15498 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15499 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15500 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15501 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15503 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15504 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15505 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15506 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15507 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15508 Likewise.
15509 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15510 Likewise.
15511 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15512 Likewise.
15513 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15514 Likewise.
15515 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15516 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15517 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15518 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15519 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15520 Specify lower bound on value.
15521 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15522 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15523 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15525 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15526 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15527 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15528 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15529 value.
15530 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15531 as optional.
15532 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15533 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15534 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15535 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15536 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15537 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15538 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15539 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15540 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15541 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15542 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15543 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15544 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15545 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15546 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15547 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15548 entry.
15549 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15550 optional.
15551 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15552 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15553 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15554 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15555 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15556 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15557 Likewise.
15558 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15559 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15560 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15561 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15562 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15563 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15564 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15565 as optional.
15566 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15567 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15568 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15569 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15570 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15571 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15572 specify as optional.
15573 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15574 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15575 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15576 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15577 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15578 [XPG3] (NL_LANGMAX): Likewise.
15579 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15580 [POSIX || XPG3] (NL_NMAX): Likewise.
15581 [POSIX || XPG3] (NL_SETMAX): Likewise.
15582 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15583 [XPG3] (NZERO): Likewise.
15584 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15585 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15586 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15587 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15588 (REG_ERANGE): Expect.
15589 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15590 optional-constant.
15591 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15592 Use (void) in prototype.
15593 [POSIX] (*_t): Allow.
15594 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15595 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15596 (WRDE_BADVAL): Expect.
15597
5ba924e3
JM
15598 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15599 expect.
15600 [XPG3 || XPG4] (O_RSYNC): Likewise.
15601 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15602 Likewise.
15603 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15604 [XPG3 || XPG4] (sigqueue): Likewise.
15605 [XPG3 || XPG4] (sigtimedwait): Likewise.
15606 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15607 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15608 [XPG3 || XPG4] (vsnprintf): Likewise.
15609 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15610 Likewise.
15611 [XPG3 || XPG4] (blksize_t): Likewise.
15612 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15613 Likewise.
15614 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15615 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15616 [XPG3 || XPG4] (struct itimerspec): Likewise.
15617 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15618 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15619 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15620 [XPG3 || XPG4] (clockid_t): Likewise.
15621 [XPG3 || XPG4] (timer_t): Likewise.
15622 [XPG3 || XPG4] (clock_getres): Likewise.
15623 [XPG3 || XPG4] (clock_gettime): Likewise.
15624 [XPG3 || XPG4] (clock_settime): Likewise.
15625 [XPG3 || XPG4] (nanosleep): Likewise.
15626 [XPG3 || XPG4] (timer_create): Likewise.
15627 [XPG3 || XPG4] (timer_delete): Likewise.
15628 [XPG3 || XPG4] (timer_gettime): Likewise.
15629 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15630 [XPG3 || XPG4] (timer_settime): Likewise.
15631 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15632 [XPG3 || XPG4] (getlogin_r): Likewise.
15633 [XPG3 || XPG4] (pread): Likewise.
15634 [XPG3 || XPG4] (pthread_atfork): Likewise.
15635 [XPG3 || XPG4] (pwrite): Likewise.
15636
ee663277
JM
15637 [BZ #14835]
15638 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15639 <bits/siginfo.h>.
15640
942caa16
PT
156412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15642
e19af380
PT
15643 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15644 finalizing MALLSTREAM.
15645
942caa16
PT
15646 * sysdeps/mach/hurd/syncfs.c: New file.
15647
cfde9b46
SP
156482012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15649
15650 [BZ #14719]
15651 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15652 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15653 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15654 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15655 (_nss_dns_gethostbyname4_r): Likewise.
15656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15657 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15658
f6da27e5
PH
156592012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15660
15661 [BZ #13763]
15662 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15663
6665d4a2
SM
156642012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15665
1f51ee92
SM
15666 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15667 * elf/cache.c (print_entry): Print ",AArch64" for
15668 FLAG_AARCH64_LIB64
15669
6665d4a2
SM
15670 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15671 * elf/cache.c (print_entry): Print ",hard-float" for
15672 FLAG_ARM_LIBHF.
15673
05b227bd
DM
156742012-11-18 David S. Miller <davem@davemloft.net>
15675
15676 With help from Joseph Myers.
15677 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15678 cutoff to 2**-13.
15679 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15680 cutoff to 2**-25.
15681 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15682 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15683 small.
15684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15685 * math/libm-test.inc (y0_test): New tests.
15686 (y1_test): New tests.
15687 * sysdeps/i386/fpu/libm-test-ulps: Update.
15688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15690
786b0b67
AS
156912012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15692
15693 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15694 64-bit targets.
15695 * configure: Regenerated.
15696
8e18b86d
DM
156972012-11-17 David S. Miller <davem@davemloft.net>
15698
15699 [BZ #14811]
15700 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15701 nonzero exponents with absolute value below 0x1p-128 to +/-
15702 0x1p-128.
15703
531f1ae0
JM
157042012-11-17 Joseph Myers <joseph@codesourcery.com>
15705
12df29e2
JM
15706 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15707
150dc1a0
JM
15708 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15709
531f1ae0
JM
15710 * posix/getconf-speclist.c: New file.
15711 * posix/posix-envs.def: Likewise.
15712 * posix/confstr.c (START_ENV_GROUP): New macro.
15713 (END_ENV_GROUP): Likewise.
15714 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15715 (KNOWN_PRESENT_ENV_STRING): Likewise.
15716 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15717 (UNKNOWN_ENVIRONMENT): Likewise.
15718 (confstr): Include posix-envs.def instead of handling
15719 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15720 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15721 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15722 (END_ENV_GROUP): Likewise.
15723 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15724 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15725 (UNKNOWN_ENVIRONMENT): Likewise.
15726 (__sysconf): Include posix-envs.def instead of handling associated
15727 cases directly here.
15728 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15729 preprocessing getconf-speclist.c rather than running getconf or
15730 generating empty file.
15731
a93f9cbc
PT
157322012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15733
15734 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15735
d64d9f87
AL
157362012-11-16 Andrej Lajovic <natrij@gmail.com>
15737
15738 [BZ #14672]
15739 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15740
447885eb
DM
157412012-11-16 David S. Miller <davem@davemloft.net>
15742
15743 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15744 smaller than LDBL_EPSILON/2.0L, just return xm1.
15745
bcbf9830
L
157462012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15747
15748 * elf/tst-array1.c (init): Set constructor priority to 1000.
15749 (fini): Set destructor priority to 1000.
15750 * elf/tst-array2dep.c: Likewise.
15751
2b766585
SP
157522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15753
15754 [BZ #11741]
15755 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15756 (_IO_new_file_xsputn): Also return EOF if none of the input
15757 data was written when overflow failed.
15758 * libio/iopadn.c (_IO_padn): Likewise.
15759 * libio/iowpadn.c (_IO_wpadn): Likewise.
15760 * stdio-common/tst-put-error.c: Add copyright notice.
15761 (do_test): Add case for printing padded string.
15762 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15763 _IO_padn returned error.
15764 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15765 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15766 return EOF.
15767
b1848fde
SP
157682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15769
15770 * libio/libioP.h: Add comment note that the references to C++
15771 bits are now obsolete.
15772
2fd89785
MS
157732012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15774
15775 * math/libm-test.inc (check_complex): Use asprintf.
15776
e3ea5409
JM
157772012-11-14 Joseph Myers <joseph@codesourcery.com>
15778
15779 * debug/pcprofiledump.c (print_version): Update copyright year.
15780 * malloc/memusagestat.c (print_version): Likewise.
15781
2e64d265
L
157822012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15783
15784 [BZ #14831]
15785 * elf/Makefile (tests): Add tst-audit8.
15786 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15787 ($(objpfx)tst-audit8.out): New target.
15788 (tst-audit8-ENV): New variable.
15789 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15790 audit if l_reloc_result is NULL.
15791 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15792 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15793 * elf/tst-audit8.c: New file.
15794
c485e4d2
MS
157952012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15796
15797 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15798 * misc/Makefile (CFLAGS-select.c): Define.
15799 * posix/Makefile (CFLAGS-pause.c): Define.
15800
3a0d900a
DM
158012012-11-13 David S. Miller <davem@davemloft.net>
15802
15803 * crypt/Makefile: Move test targets after toplevel Rules
15804 inclusion. Grab any necessary sysdep routines when linking.
15805 * crypt/md5.c (md5_process_block): Remove define, we will always
15806 name it __md5_process_block.
15807 (md5_finish_ctx): Update md5_process_block call.
15808 (md5_stream): Likewise.
15809 (md5_process_bytes): Likewise.
15810 (md5_process_block): Rename to __md5_process_block and move to ...
15811 * crypt/md5-block.c: ... here.
15812 * crypt/sha256.c (sha256_process_block): Move to ...
15813 * crypt/sha256-block.c: ... here.
15814 * crypt/sha512.c (sha512_process_block): Move to ...
15815 * crypt/sha512-block.c: ... here.
15816 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15817 path.
15818 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15819 * sysdeps/sparc/sparc64/multiarch/Makefile
15820 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15821 crypt subdir.
15822 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15823 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15824 multiarch changes.
15825 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15826 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15827 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15828 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15829 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15830 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15831 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15832 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15833 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15834 file.
15835 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15836 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15837 file.
15838 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15839
8ca89318
JM
158402012-11-13 Joseph Myers <joseph@codesourcery.com>
15841
e27d476a
JM
15842 * timezone/tzselect.ksh: Update from tzcode git revision
15843 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15844 * timezone/zdump.c: Likewise.
15845 * timezone/zic.c: Likewise.
15846 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15847 in TZVERSION setting, not $(PKGVERSION).
15848 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15849 REPORT_BUGS_TO settings.
15850
8ca89318
JM
15851 [BZ #14838]
15852 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15853 macro.
15854
47594329
MS
158552012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15856
15857 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15858 detection to immediately after _FP_ROUND().
15859 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15860 bits are 0.
15861
640ac3f1
DM
158622012-11-11 David S. Miller <davem@davemloft.net>
15863
15864 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15865 inttypes.h
15866 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15867 __close rather than their public counterparts.
15868
3d2577bb
JM
158692012-11-10 Joseph Myers <joseph@codesourcery.com>
15870
15871 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15872 file.
15873 [UNIX98] (sem_timedwait): Do not expect.
15874 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15875 [XPG4 || UNIX98] (sockatmark): Do not expect.
15876 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15877 (clock_getcpuclockid): Do not expect.
15878 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15879 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15880 Do not expect.
15881 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15882 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15883 [UNIX98] (vwscanf): Likewise.
15884 [UNIX98] (vswscanf): Likewise.
15885
fb1ae1ee
JM
158862012-11-09 Joseph Myers <joseph@codesourcery.com>
15887
9ec6f8bd
JM
15888 * timezone/version.h: Remove file.
15889 * timezone/README: Do not refer to version.h.
15890 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15891 $(objpfx)version.h.
15892 ($(objpfx)zdump.o): Likewise.
c3f81911 15893 ($(objpfx)version.h): New target.
9ec6f8bd 15894
0aa8f8a1
JM
15895 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15896 2012i.
15897 * timezone/README: Don't mention modification to tzselect.ksh.
15898 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15899 work on unmodified tzselect.ksh. Substitute version numbers in
15900 tzselect.ksh.
15901
4e87147f
JM
15902 * Makefile (format-me): Remove.
15903 (INSTALL): Adjust indentation. Use commands directly instead of
15904 using $(format-me).
15905
8b748aed
JM
15906 * aclocal.m4 (ACX_PKGVERSION): New macro.
15907 (ACX_BUGURL): Likewise.
15908 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15909 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15910 (REPORT_BUGS_TO): Likewise.
15911 * configure: Regenerated.
15912 * config.h.in (PKGVERSION): New macro.
15913 (REPORT_BUGS_TO): Likewise.
15914 * config.make.in (PKGVERSION): New variable.
15915 (PKGVERSION_TEXI): Likewise.
15916 (REPORT_BUGS_TO): Likewise.
15917 (REPORT_BUGS_TEXI): Likewise.
15918 * Makefile (format-me): Use -I$(common-objpfx)manual.
15919 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15920 ($(common-objpfx)manual/%): New target.
15921 (manual/%): Remove target.
15922 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15923 (print_version): Use PKGVERSION.
15924 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15925 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15926 and REPORT_BUGS_TO.
15927 ($(objpfx)xtrace): Likewise.
15928 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15929 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15930 (print_version): Use PKGVERSION.
15931 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15932 (do_version): Use PKGVERSION.
15933 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15934 REPORT_BUGS_TO.
15935 (common-ldd-rewrite): Likewise.
15936 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15937 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15938 (print_version): Use PKGVERSION.
15939 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15940 * elf/pldd.c (argp_program_bug_address): Remove variable.
15941 (more_help): New function.
15942 (argp): Use more_help.
15943 (print_version): Use PKGVERSION.
15944 * elf/sln.c (main): Use PKGVERSION.
15945 (usage): Use REPORT_BUGS_TO.
15946 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15947 (top level): Use PKGVERSION.
15948 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15949 (print_version): Use PKGVERSION.
15950 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15951 (print_version): Use PKGVERSION.
15952 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15953 (print_version): Use PKGVERSION.
15954 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15955 (print_version): Use PKGVERSION.
15956 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15957 (print_version): Use PKGVERSION.
15958 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15959 (print_version): Use PKGVERSION.
15960 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15961 and BUGURL.
15962 ($(objpfx)memusage): Likewise.
15963 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15964 (do_version): Use PKGVERSION.
15965 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15966 (print_version): Use PKGVERSION.
15967 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15968 ($PKGVERSION): New variable.
15969 ($REPORT_BUGS_TO): Likewise.
15970 (usage): Use $REPORT_BUGS_TO.
15971 (top level): Use $PKGVERSION.
15972 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15973 ($(objpfx)pkgvers.texi): New rule.
15974 ($(objpfx)stamp-pkgvers): Likewise.
15975 * manual/install.texi: Include pkgvers.texi.
15976 (--with-pkgversion): Document new configure option.
15977 (--with-bugurl): Likewise.
15978 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15979 than necessarily for this particular distribution. Use
15980 REPORT_BUGS_TO for where to report bugs.
15981 * INSTALL: Regenerated.
15982 * manual/libc.texinfo: Include pkgvers.texi.
15983 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15984 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15985 (print_version): Use PKGVERSION.
15986 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15987 (print_version): Use PKGVERSION.
15988 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15989 (print_version): Use PKGVERSION.
15990 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15991 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15992 macro.
15993 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15994 (print_version): Use PKGVERSION.
15995 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15996 (print_version): Use PKGVERSION.
15997 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15998 and PKGVERSION.
15999
92e4b6a9
JM
16000 * timezone/checktab.awk: Update from tzcode 2012i.
16001 * timezone/ialloc.c: Likewise.
16002 * timezone/private.h: Likewise.
16003 * timezone/scheck.c: Likewise.
16004 * timezone/tzfile.h: Likewise.
16005 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16006 (TZVERSION): Hardcode tzcode version number.
16007 * timezone/zdump.c: Update from tzcode 2012i.
16008 * timezone/zic.c: Likewise.
16009 * timezone/version.h: New file.
16010 * timezone/README: Describe version.h. Update upstream location.
16011
9bde902c
JM
16012 [BZ #14824]
16013 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16014 (mktemp): Enable declaration.
16015 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16017 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16019 Likewise.
16020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16021 Likewise.
16022 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16023 Likewise.
16024 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16025 Likewise.
16026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16027 Likewise.
16028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16029 Likewise.
16030
fb1ae1ee
JM
16031 [BZ #14821]
16032 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16033 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16034 for copies of such integer values.
16035 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16036 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16037
2c1adbcb
AJ
160382012-11-09 Andreas Jaeger <aj@suse.de>
16039
16040 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16041 definitions and declarations that are provided by
16042 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16043
d0f8457e
AK
160442012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16045
3a235abb 16046 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16047 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16048 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16049 definition.
16050
57241e26
MS
160512012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16052
16053 * elf/elf.h: Update comment before AArch64 relocations.
16054
60e8270d
DM
160552012-11-07 David S. Miller <davem@davemloft.net>
16056
16057 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16058 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16059 (__start_context): Declare.
16060 (__makecontext_ret): Delete.
16061 (__makecontext): Hook up __start_context instead of
16062 __makecontext_ret.
16063 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16064 (sysdep_routines): Add __start_context when in stdlib.
16065
0fbb0fbc
JM
160662012-11-07 Joseph Myers <joseph@codesourcery.com>
16067
16068 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16069 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16070 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16071 hardcoded "nm".
16072 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16073 (READELF): New variable. Use it instead of hardcoded "readelf".
16074
eb48db7e
L
160752012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16076
16077 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16078 * sysdeps/x86/Makefile: Here.
16079 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16080 * sysdeps/x86/tst-xmmymm.sh: This.
16081
05bcf62a
JM
160822012-11-07 Joseph Myers <joseph@codesourcery.com>
16083
c4b6cf53
JM
16084 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16085 expectations.
16086 [UNIX98] (pthread_barrier_t): Do not expect.
16087 [UNIX98] (pthread_barrierattr_t): Likewise.
16088 [UNIX98] (pthread_spinlock_t): Likewise.
16089 [UNIX98] (pthread_barrier_destroy): Likewise.
16090 [UNIX98] (pthread_barrier_init): Likewise.
16091 [UNIX98] (pthread_barrier_wait): Likewise.
16092 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16093 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16094 [UNIX98] (pthread_barrierattr_init): Likewise.
16095 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16096 [UNIX98] (pthread_getcpuclockid): Likewise.
16097 [UNIX98] (pthread_mutex_timedlock): Likewise.
16098 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16099 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16100 [UNIX98] (pthread_sigmask): Likewise.
16101 [UNIX98] (pthread_spin_destroy): Likewise.
16102 [UNIX98] (pthread_spin_init): Likewise.
16103 [UNIX98] (pthread_spin_lock): Likewise.
16104 [UNIX98] (pthread_spin_trylock): Likewise.
16105 [UNIX98] (pthread_spin_unlock): Likewise.
16106 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16107 Do not expect.
16108 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16109 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16110 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16111 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16112 [XPG3 || XPG4] (pthread_key_t): Likewise.
16113 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16114 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16115 [XPG3 || XPG4] (pthread_once_t): Likewise.
16116 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16117 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16119 [XPG3 || XPG4] (pthread_t): Likewise.
16120
cbe6e120
JM
16121 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16122 not expect.
16123 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16124
1b126443
JM
16125 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16126 Change function return type to int.
16127
b961a573
JM
16128 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16129 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16130 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16131 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16132 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16133 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16134 [!POSIX] (posix_madvise): Likewise.
16135 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16136 && !UNIX98].
16137 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16138 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16139 (mode_t): Likewise.
16140 (posix_mem_offset): Likewise.
16141 (posix_typed_mem_get_info): Likewise.
16142 (posix_typed_mem_open): Likewise.
16143
9e188909
JM
16144 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16145 Change condition to [XOPEN2K8].
16146
05bcf62a
JM
16147 * conform/conformtest.pl: Preprocess allow-header data with -x c
16148 instead of from stdin.
16149 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16150 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16151 [C99-based standards] (cerfc): Likewise.
16152 [C99-based standards] (cexp2): Likewise.
16153 [C99-based standards] (cexpm1): Likewise.
16154 [C99-based standards] (clog10): Likewise.
16155 [C99-based standards] (clog1p): Likewise.
16156 [C99-based standards] (clog2): Likewise.
16157 [C99-based standards] (clgamma): Likewise.
16158 [C99-based standards] (ctgamma): Likewise.
16159 [C99-based standards] (cerff): Likewise.
16160 [C99-based standards] (cerfcf): Likewise.
16161 [C99-based standards] (cexp2f): Likewise.
16162 [C99-based standards] (cexpm1f): Likewise.
16163 [C99-based standards] (clog10f): Likewise.
16164 [C99-based standards] (clog1pf): Likewise.
16165 [C99-based standards] (clog2f): Likewise.
16166 [C99-based standards] (clgammaf): Likewise.
16167 [C99-based standards] (ctgammaf): Likewise.
16168 [C99-based standards] (cerfl): Likewise.
16169 [C99-based standards] (cerfcl): Likewise.
16170 [C99-based standards] (cexp2l): Likewise.
16171 [C99-based standards] (cexpm1l): Likewise.
16172 [C99-based standards] (clog10l): Likewise.
16173 [C99-based standards] (clog1pl): Likewise.
16174 [C99-based standards] (clog2l): Likewise.
16175 [C99-based standards] (clgammal): Likewise.
16176 [C99-based standards] (ctgammal): Likewise.
16177 * conform/data/inttypes.h-data [C99-based standards]: Include
16178 stdint.h-data. Remove all expectations for stdint.h contents.
16179 [C99-based standards] (PRI*): Do not allow.
16180 [C99-based standards] (SCN*): Likewise.
16181 [C99-based standards] (*_t): Likewise.
16182 [C99-based-standards] (PRId8): Expect macro.
16183 [C99-based-standards] (PRIi8): Likewise.
16184 [C99-based-standards] (PRIo8): Likewise.
16185 [C99-based-standards] (PRIu8): Likewise.
16186 [C99-based-standards] (PRIx8): Likewise.
16187 [C99-based-standards] (PRIX8): Likewise.
16188 [C99-based-standards] (SCNd8): Likewise.
16189 [C99-based-standards] (SCNi8): Likewise.
16190 [C99-based-standards] (SCNo8): Likewise.
16191 [C99-based-standards] (SCNu8): Likewise.
16192 [C99-based-standards] (SCNx8): Likewise.
16193 [C99-based-standards] (PRIdLEAST8): Likewise.
16194 [C99-based-standards] (PRIiLEAST8): Likewise.
16195 [C99-based-standards] (PRIoLEAST8): Likewise.
16196 [C99-based-standards] (PRIuLEAST8): Likewise.
16197 [C99-based-standards] (PRIxLEAST8): Likewise.
16198 [C99-based-standards] (PRIXLEAST8): Likewise.
16199 [C99-based-standards] (SCNdLEAST8): Likewise.
16200 [C99-based-standards] (SCNiLEAST8): Likewise.
16201 [C99-based-standards] (SCNoLEAST8): Likewise.
16202 [C99-based-standards] (SCNuLEAST8): Likewise.
16203 [C99-based-standards] (SCNxLEAST8): Likewise.
16204 [C99-based-standards] (PRIdFAST8): Likewise.
16205 [C99-based-standards] (PRIiFAST8): Likewise.
16206 [C99-based-standards] (PRIoFAST8): Likewise.
16207 [C99-based-standards] (PRIuFAST8): Likewise.
16208 [C99-based-standards] (PRIxFAST8): Likewise.
16209 [C99-based-standards] (PRIXFAST8): Likewise.
16210 [C99-based-standards] (SCNdFAST8): Likewise.
16211 [C99-based-standards] (SCNiFAST8): Likewise.
16212 [C99-based-standards] (SCNoFAST8): Likewise.
16213 [C99-based-standards] (SCNuFAST8): Likewise.
16214 [C99-based-standards] (SCNxFAST8): Likewise.
16215 [C99-based-standards] (PRId16): Likewise.
16216 [C99-based-standards] (PRIi16): Likewise.
16217 [C99-based-standards] (PRIo16): Likewise.
16218 [C99-based-standards] (PRIu16): Likewise.
16219 [C99-based-standards] (PRIx16): Likewise.
16220 [C99-based-standards] (PRIX16): Likewise.
16221 [C99-based-standards] (SCNd16): Likewise.
16222 [C99-based-standards] (SCNi16): Likewise.
16223 [C99-based-standards] (SCNo16): Likewise.
16224 [C99-based-standards] (SCNu16): Likewise.
16225 [C99-based-standards] (SCNx16): Likewise.
16226 [C99-based-standards] (PRIdLEAST16): Likewise.
16227 [C99-based-standards] (PRIiLEAST16): Likewise.
16228 [C99-based-standards] (PRIoLEAST16): Likewise.
16229 [C99-based-standards] (PRIuLEAST16): Likewise.
16230 [C99-based-standards] (PRIxLEAST16): Likewise.
16231 [C99-based-standards] (PRIXLEAST16): Likewise.
16232 [C99-based-standards] (SCNdLEAST16): Likewise.
16233 [C99-based-standards] (SCNiLEAST16): Likewise.
16234 [C99-based-standards] (SCNoLEAST16): Likewise.
16235 [C99-based-standards] (SCNuLEAST16): Likewise.
16236 [C99-based-standards] (SCNxLEAST16): Likewise.
16237 [C99-based-standards] (PRIdFAST16): Likewise.
16238 [C99-based-standards] (PRIiFAST16): Likewise.
16239 [C99-based-standards] (PRIoFAST16): Likewise.
16240 [C99-based-standards] (PRIuFAST16): Likewise.
16241 [C99-based-standards] (PRIxFAST16): Likewise.
16242 [C99-based-standards] (PRIXFAST16): Likewise.
16243 [C99-based-standards] (SCNdFAST16): Likewise.
16244 [C99-based-standards] (SCNiFAST16): Likewise.
16245 [C99-based-standards] (SCNoFAST16): Likewise.
16246 [C99-based-standards] (SCNuFAST16): Likewise.
16247 [C99-based-standards] (SCNxFAST16): Likewise.
16248 [C99-based-standards] (PRId32): Likewise.
16249 [C99-based-standards] (PRIi32): Likewise.
16250 [C99-based-standards] (PRIo32): Likewise.
16251 [C99-based-standards] (PRIu32): Likewise.
16252 [C99-based-standards] (PRIx32): Likewise.
16253 [C99-based-standards] (PRIX32): Likewise.
16254 [C99-based-standards] (SCNd32): Likewise.
16255 [C99-based-standards] (SCNi32): Likewise.
16256 [C99-based-standards] (SCNo32): Likewise.
16257 [C99-based-standards] (SCNu32): Likewise.
16258 [C99-based-standards] (SCNx32): Likewise.
16259 [C99-based-standards] (PRIdLEAST32): Likewise.
16260 [C99-based-standards] (PRIiLEAST32): Likewise.
16261 [C99-based-standards] (PRIoLEAST32): Likewise.
16262 [C99-based-standards] (PRIuLEAST32): Likewise.
16263 [C99-based-standards] (PRIxLEAST32): Likewise.
16264 [C99-based-standards] (PRIXLEAST32): Likewise.
16265 [C99-based-standards] (SCNdLEAST32): Likewise.
16266 [C99-based-standards] (SCNiLEAST32): Likewise.
16267 [C99-based-standards] (SCNoLEAST32): Likewise.
16268 [C99-based-standards] (SCNuLEAST32): Likewise.
16269 [C99-based-standards] (SCNxLEAST32): Likewise.
16270 [C99-based-standards] (PRIdFAST32): Likewise.
16271 [C99-based-standards] (PRIiFAST32): Likewise.
16272 [C99-based-standards] (PRIoFAST32): Likewise.
16273 [C99-based-standards] (PRIuFAST32): Likewise.
16274 [C99-based-standards] (PRIxFAST32): Likewise.
16275 [C99-based-standards] (PRIXFAST32): Likewise.
16276 [C99-based-standards] (SCNdFAST32): Likewise.
16277 [C99-based-standards] (SCNiFAST32): Likewise.
16278 [C99-based-standards] (SCNoFAST32): Likewise.
16279 [C99-based-standards] (SCNuFAST32): Likewise.
16280 [C99-based-standards] (SCNxFAST32): Likewise.
16281 [C99-based-standards] (PRId64): Likewise.
16282 [C99-based-standards] (PRIi64): Likewise.
16283 [C99-based-standards] (PRIo64): Likewise.
16284 [C99-based-standards] (PRIu64): Likewise.
16285 [C99-based-standards] (PRIx64): Likewise.
16286 [C99-based-standards] (PRIX64): Likewise.
16287 [C99-based-standards] (SCNd64): Likewise.
16288 [C99-based-standards] (SCNi64): Likewise.
16289 [C99-based-standards] (SCNo64): Likewise.
16290 [C99-based-standards] (SCNu64): Likewise.
16291 [C99-based-standards] (SCNx64): Likewise.
16292 [C99-based-standards] (PRIdLEAST64): Likewise.
16293 [C99-based-standards] (PRIiLEAST64): Likewise.
16294 [C99-based-standards] (PRIoLEAST64): Likewise.
16295 [C99-based-standards] (PRIuLEAST64): Likewise.
16296 [C99-based-standards] (PRIxLEAST64): Likewise.
16297 [C99-based-standards] (PRIXLEAST64): Likewise.
16298 [C99-based-standards] (SCNdLEAST64): Likewise.
16299 [C99-based-standards] (SCNiLEAST64): Likewise.
16300 [C99-based-standards] (SCNoLEAST64): Likewise.
16301 [C99-based-standards] (SCNuLEAST64): Likewise.
16302 [C99-based-standards] (SCNxLEAST64): Likewise.
16303 [C99-based-standards] (PRIdFAST64): Likewise.
16304 [C99-based-standards] (PRIiFAST64): Likewise.
16305 [C99-based-standards] (PRIoFAST64): Likewise.
16306 [C99-based-standards] (PRIuFAST64): Likewise.
16307 [C99-based-standards] (PRIxFAST64): Likewise.
16308 [C99-based-standards] (PRIXFAST64): Likewise.
16309 [C99-based-standards] (SCNdFAST64): Likewise.
16310 [C99-based-standards] (SCNiFAST64): Likewise.
16311 [C99-based-standards] (SCNoFAST64): Likewise.
16312 [C99-based-standards] (SCNuFAST64): Likewise.
16313 [C99-based-standards] (SCNxFAST64): Likewise.
16314 [C99-based-standards] (PRIdMAX): Likewise.
16315 [C99-based-standards] (PRIiMAX): Likewise.
16316 [C99-based-standards] (PRIoMAX): Likewise.
16317 [C99-based-standards] (PRIuMAX): Likewise.
16318 [C99-based-standards] (PRIxMAX): Likewise.
16319 [C99-based-standards] (PRIXMAX): Likewise.
16320 [C99-based-standards] (SCNdMAX): Likewise.
16321 [C99-based-standards] (SCNiMAX): Likewise.
16322 [C99-based-standards] (SCNoMAX): Likewise.
16323 [C99-based-standards] (SCNuMAX): Likewise.
16324 [C99-based-standards] (SCNxMAX): Likewise.
16325 [C99-based-standards] (PRIdPTR): Likewise.
16326 [C99-based-standards] (PRIiPTR): Likewise.
16327 [C99-based-standards] (PRIoPTR): Likewise.
16328 [C99-based-standards] (PRIuPTR): Likewise.
16329 [C99-based-standards] (PRIxPTR): Likewise.
16330 [C99-based-standards] (PRIXPTR): Likewise.
16331 [C99-based-standards] (SCNdPTR): Likewise.
16332 [C99-based-standards] (SCNiPTR): Likewise.
16333 [C99-based-standards] (SCNoPTR): Likewise.
16334 [C99-based-standards] (SCNuPTR): Likewise.
16335 [C99-based-standards] (SCNxPTR): Likewise.
16336 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16337 allow.
16338 * conform/data/stdint.h-data: Update comments to clarify
16339 requirements.
16340 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16341 type.
16342 [C99-based standards] (INT8_MAX): Likewise.
16343 [C99-based standards] (INT16_MIN): Likewise.
16344 [C99-based standards] (INT16_MAX): Likewise.
16345 [C99-based standards] (INT32_MIN): Likewise.
16346 [C99-based standards] (INT32_MAX): Likewise.
16347 [C99-based standards] (INT64_MIN): Likewise.
16348 [C99-based standards] (INT64_MAX): Likewise.
16349 [C99-based standards] (UINT8_MAX): Likewise.
16350 [C99-based standards] (UINT16_MAX): Likewise.
16351 [C99-based standards] (UINT32_MAX): Likewise.
16352 [C99-based standards] (UINT64_MAX): Likewise.
16353 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16354 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16355 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16356 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16357 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16358 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16359 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16360 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16361 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16362 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16363 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16364 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16365 [C99-based standards] (INT_FAST8_MIN): Likewise.
16366 [C99-based standards] (INT_FAST8_MAX): Likewise.
16367 [C99-based standards] (INT_FAST16_MIN): Likewise.
16368 [C99-based standards] (INT_FAST16_MAX): Likewise.
16369 [C99-based standards] (INT_FAST32_MIN): Likewise.
16370 [C99-based standards] (INT_FAST32_MAX): Likewise.
16371 [C99-based standards] (INT_FAST64_MIN): Likewise.
16372 [C99-based standards] (INT_FAST64_MAX): Likewise.
16373 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16374 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16375 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16376 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16377 [C99-based standards] (INTPTR_MIN): Likewise.
16378 [C99-based standards] (INTPTR_MAX): Likewise.
16379 [C99-based standards] (UINTPTR_MAX): Likewise.
16380 [C99-based standards] (INTMAX_MIN): Likewise.
16381 [C99-based standards] (INTMAX_MAX): Likewise.
16382 [C99-based standards] (UINTMAX_MAX): Likewise.
16383 [C99-based standards] (PTRDIFF_MIN): Likewise.
16384 [C99-based standards] (PTRDIFF_MAX): Likewise.
16385 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16386 [C99-based standards] (SIZE_MAX): Likewise.
16387 [C99-based standards] (WCHAR_MAX): Likewise.
16388 [C99-based standards] (WINT_MAX): Likewise.
16389 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16390 constraint on value.
16391 [C99-based standards] (WCHAR_MIN): Likewise.
16392 [C99-based standards] (WINT_MIN): Likewise.
16393 [C99-based standards] (*_t): Allow.
16394 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16395 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16396 Include math.h-data and complex.h-data. Remove all expectations
16397 of math.h and complex.h contents.
16398 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16399 at end of line.
16400 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16401 (struct tm): Expect tag.
16402 [C99-based-standards] (wcstof): Expect function.
16403 [C99-based-standards] (wcstold): Likewise.
16404 [C99-based-standards] (wcstoll): Likewise.
16405 [C99-based-standards] (wcstoull): Likewise.
16406 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16407 macro-int-constant. Specify type.
16408 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16409 constraint on value.
16410 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16411 Specify type.
16412 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16413 Specify value.
16414 [ISO C standards]: Do not allow headers.
16415 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16416 wcs[abcdefghijklmnopqrstuvwxyz]*.
16417 [ISO C standards] (*_t): Do not allow.
16418 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16419 Expect function.
16420 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16421 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16422 Specify type.
16423 [ISO C standards]: Do not allow headers.
16424 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16425 is[abcdefghijklmnopqrstuvwxyz]*.
16426 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16427 to[abcdefghijklmnopqrstuvwxyz]*.
16428 [ISO C standards] (*_t): Do not allow.
16429 * conform/data/stdalign.h-data: New file.
16430 * conform/data/stdbool.h-data: Likewise.
16431 * conform/data/stdnoreturn.h-data: Likewise.
16432
7514feb8
RM
164332012-11-07 Roland McGrath <roland@hack.frob.com>
16434
16435 [BZ #14815]
16436 * manual/filesys.texi (Directory Entries): Typo fix.
16437 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16438
19b2ecfc
MS
164392012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16440
16441 * elf/elf.h (EM_AARCH64): New macro.
16442 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16443 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16444 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16445 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16446 (R_AARCH64_TLSDESC): Likewise.
16447 (NT_ARM_TLS): Likewise.
16448 (NT_ARM_HW_BREAK): Likewise.
16449 (NT_ARM_HW_WATCH): Likewise.
16450
60e235ee
JM
164512012-11-07 Joseph Myers <joseph@codesourcery.com>
16452
16453 [BZ #14811]
16454 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16455 (__ieee754_powl): Saturate nonzero exponents with absolute value
16456 below 0x1p-79 to +/- 0x1p-79.
16457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16458 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16459 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16460 nonzero exponents with absolute value below 0x1p-32 to +/-
16461 0x1p-32.
16462 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16463 (__ieee754_powl): Saturate nonzero exponents with absolute value
16464 below 0x1p-79 to +/- 0x1p-79.
16465 * math/libm-test.inc (pow_test): Add more tests.
16466
0ab234b7
AK
164672012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16468
16469 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16470 _dl_s390_cap_flags with kernel. Increase string length.
16471 (_dl_s390_platforms): Add z196 and zEC12.
16472
45832f74
JM
164732012-11-07 Joseph Myers <joseph@codesourcery.com>
16474
16475 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16476 Change XOPEN21K to XOPEN2K.
16477
19218757
MK
164782012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16479
16480 * string/memmove.c: Use memcpy when possible.
16481
c5f45721
AJ
164822012-11-06 Andreas Jaeger <aj@suse.de>
16483
16484 * po/eo.po: Update from translation team.
16485
82477c28
JM
164862012-11-06 Joseph Myers <joseph@codesourcery.com>
16487
16488 [BZ #14793]
16489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16490 exponent and small x and y exponents, scale x or y up. Increase
16491 by 2 the exponent used in scaling up.
16492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16494 * math/libm-test.inc (fma_test): Add more tests.
16495 (fma_test_towardzero): Likewise.
16496 (fma_test_downward): Likewise.
16497 (fma_test_upward): Likewise.
16498
99252c8c
JM
164992012-11-05 Joseph Myers <joseph@codesourcery.com>
16500
acfa885f
JM
16501 [BZ #14805]
16502 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16503 fenv_t *.
16504
99252c8c
JM
16505 [BZ #14801]
16506 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16507 namespace for names of struct fields.
16508 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16509 fenv_t fields.
16510 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16511 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16512
d6d98dea
ST
165132012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16514
16515 [BZ #3665]
16516 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16517
e10bb107
TS
165182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16519
16520 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16521 PTR_DEMANGLE.
16522
16523 [BZ #5246]
16524 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16525 PTR_DEMANGLE.
16526
a0c2940d
JM
165272012-11-04 Joseph Myers <joseph@codesourcery.com>
16528
16529 [BZ #14797]
16530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16531 definitely overflow as x * y not x * y + z.
16532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16534 * math/libm-test.inc (fma_test): Add more tests.
16535 (fma_test_towardzero): Likewise.
16536 (fma_test_downward): Likewise.
16537 (fma_test_upward): Likewise.
16538
b830319d
TS
165392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16540
16541 [BZ #157]
16542
16543 * include/stub-tag.h: Remove file.
16544 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16545 '#include' of it.
16546 * manual/maint.texi (Porting): Don't reference it.
16547 * Makerules ($(objpfx)stubs): Likewise.
16548 * dirent/closedir.c: Don't include <stub-tag.h>.
16549 * dirent/dirfd.c: Likewise.
16550 * dirent/fdopendir.c: Likewise.
16551 * dirent/getdents.c: Likewise.
16552 * dirent/getdents64.c: Likewise.
16553 * dirent/opendir.c: Likewise.
16554 * dirent/readdir.c: Likewise.
16555 * dirent/readdir64.c: Likewise.
16556 * dirent/readdir64_r.c: Likewise.
16557 * dirent/readdir_r.c: Likewise.
16558 * dirent/rewinddir.c: Likewise.
16559 * dirent/seekdir.c: Likewise.
16560 * dirent/telldir.c: Likewise.
16561 * gmon/profil.c: Likewise.
16562 * grp/setgroups.c: Likewise.
16563 * inet/if_index.c: Likewise.
16564 * io/access.c: Likewise.
16565 * io/chdir.c: Likewise.
16566 * io/chmod.c: Likewise.
16567 * io/chown.c: Likewise.
16568 * io/close.c: Likewise.
16569 * io/dup.c: Likewise.
16570 * io/dup2.c: Likewise.
16571 * io/dup3.c: Likewise.
16572 * io/euidaccess.c: Likewise.
16573 * io/faccessat.c: Likewise.
16574 * io/fchdir.c: Likewise.
16575 * io/fchmod.c: Likewise.
16576 * io/fchmodat.c: Likewise.
16577 * io/fchown.c: Likewise.
16578 * io/fchownat.c: Likewise.
16579 * io/fcntl.c: Likewise.
16580 * io/flock.c: Likewise.
16581 * io/fstatfs.c: Likewise.
16582 * io/fstatfs64.c: Likewise.
16583 * io/fstatvfs.c: Likewise.
16584 * io/fstatvfs64.c: Likewise.
16585 * io/futimens.c: Likewise.
16586 * io/fxstat.c: Likewise.
16587 * io/fxstat64.c: Likewise.
16588 * io/fxstatat.c: Likewise.
16589 * io/fxstatat64.c: Likewise.
16590 * io/getcwd.c: Likewise.
16591 * io/isatty.c: Likewise.
16592 * io/lchmod.c: Likewise.
16593 * io/lchown.c: Likewise.
16594 * io/link.c: Likewise.
16595 * io/linkat.c: Likewise.
16596 * io/lseek.c: Likewise.
16597 * io/lseek64.c: Likewise.
16598 * io/lxstat64.c: Likewise.
16599 * io/mkdir.c: Likewise.
16600 * io/mkdirat.c: Likewise.
16601 * io/mkfifo.c: Likewise.
16602 * io/mkfifoat.c: Likewise.
16603 * io/open.c: Likewise.
16604 * io/open64.c: Likewise.
16605 * io/openat.c: Likewise.
16606 * io/openat64.c: Likewise.
16607 * io/pipe.c: Likewise.
16608 * io/pipe2.c: Likewise.
16609 * io/poll.c: Likewise.
16610 * io/posix_fadvise.c: Likewise.
16611 * io/posix_fadvise64.c: Likewise.
16612 * io/posix_fallocate.c: Likewise.
16613 * io/posix_fallocate64.c: Likewise.
16614 * io/read.c: Likewise.
16615 * io/readlink.c: Likewise.
16616 * io/readlinkat.c: Likewise.
16617 * io/rmdir.c: Likewise.
16618 * io/sendfile.c: Likewise.
16619 * io/sendfile64.c: Likewise.
16620 * io/statfs.c: Likewise.
16621 * io/statfs64.c: Likewise.
16622 * io/statvfs.c: Likewise.
16623 * io/statvfs64.c: Likewise.
16624 * io/symlink.c: Likewise.
16625 * io/symlinkat.c: Likewise.
16626 * io/ttyname.c: Likewise.
16627 * io/ttyname_r.c: Likewise.
16628 * io/umask.c: Likewise.
16629 * io/unlink.c: Likewise.
16630 * io/unlinkat.c: Likewise.
16631 * io/utime.c: Likewise.
16632 * io/utimensat.c: Likewise.
16633 * io/write.c: Likewise.
16634 * io/xmknod.c: Likewise.
16635 * io/xmknodat.c: Likewise.
16636 * io/xstat.c: Likewise.
16637 * io/xstat64.c: Likewise.
16638 * login/getpt.c: Likewise.
16639 * login/grantpt.c: Likewise.
16640 * login/unlockpt.c: Likewise.
16641 * math/e_acoshl.c: Likewise.
16642 * math/e_acosl.c: Likewise.
16643 * math/e_asinl.c: Likewise.
16644 * math/e_atan2l.c: Likewise.
16645 * math/e_atanhl.c: Likewise.
16646 * math/e_coshl.c: Likewise.
16647 * math/e_expl.c: Likewise.
16648 * math/e_fmodl.c: Likewise.
16649 * math/e_gammal_r.c: Likewise.
16650 * math/e_hypotl.c: Likewise.
16651 * math/e_j0l.c: Likewise.
16652 * math/e_j1l.c: Likewise.
16653 * math/e_jnl.c: Likewise.
16654 * math/e_lgammal_r.c: Likewise.
16655 * math/e_log10l.c: Likewise.
16656 * math/e_log2l.c: Likewise.
16657 * math/e_logl.c: Likewise.
16658 * math/e_powl.c: Likewise.
16659 * math/e_rem_pio2l.c: Likewise.
16660 * math/e_sinhl.c: Likewise.
16661 * math/e_sqrtl.c: Likewise.
16662 * math/fclrexcpt.c: Likewise.
16663 * math/fedisblxcpt.c: Likewise.
16664 * math/feenablxcpt.c: Likewise.
16665 * math/fegetenv.c: Likewise.
16666 * math/fegetexcept.c: Likewise.
16667 * math/fegetround.c: Likewise.
16668 * math/feholdexcpt.c: Likewise.
16669 * math/fesetenv.c: Likewise.
16670 * math/fesetround.c: Likewise.
16671 * math/feupdateenv.c: Likewise.
16672 * math/fgetexcptflg.c: Likewise.
16673 * math/fraiseexcpt.c: Likewise.
16674 * math/fsetexcptflg.c: Likewise.
16675 * math/ftestexcept.c: Likewise.
16676 * math/k_cosl.c: Likewise.
16677 * math/k_rem_pio2l.c: Likewise.
16678 * math/k_sinl.c: Likewise.
16679 * math/k_tanl.c: Likewise.
16680 * math/s_asinhl.c: Likewise.
16681 * math/s_atanl.c: Likewise.
16682 * math/s_cbrtl.c: Likewise.
16683 * math/s_erfl.c: Likewise.
16684 * math/s_expm1l.c: Likewise.
16685 * math/s_log1pl.c: Likewise.
16686 * math/s_tanhl.c: Likewise.
16687 * misc/acct.c: Likewise.
16688 * misc/brk.c: Likewise.
16689 * misc/chflags.c: Likewise.
16690 * misc/chroot.c: Likewise.
16691 * misc/fchflags.c: Likewise.
16692 * misc/fgetxattr.c: Likewise.
16693 * misc/flistxattr.c: Likewise.
16694 * misc/fremovexattr.c: Likewise.
16695 * misc/fsetxattr.c: Likewise.
16696 * misc/fsync.c: Likewise.
16697 * misc/ftruncate.c: Likewise.
16698 * misc/futimes.c: Likewise.
16699 * misc/futimesat.c: Likewise.
16700 * misc/getdomain.c: Likewise.
16701 * misc/getdtsz.c: Likewise.
16702 * misc/gethostid.c: Likewise.
16703 * misc/gethostname.c: Likewise.
16704 * misc/getloadavg.c: Likewise.
16705 * misc/getpagesize.c: Likewise.
16706 * misc/getsysstats.c: Likewise.
16707 * misc/getxattr.c: Likewise.
16708 * misc/gtty.c: Likewise.
16709 * misc/ioctl.c: Likewise.
16710 * misc/lgetxattr.c: Likewise.
16711 * misc/listxattr.c: Likewise.
16712 * misc/llistxattr.c: Likewise.
16713 * misc/lremovexattr.c: Likewise.
16714 * misc/lsetxattr.c: Likewise.
16715 * misc/lutimes.c: Likewise.
16716 * misc/madvise.c: Likewise.
16717 * misc/mincore.c: Likewise.
16718 * misc/mlock.c: Likewise.
16719 * misc/mlockall.c: Likewise.
16720 * misc/mmap.c: Likewise.
16721 * misc/mprotect.c: Likewise.
16722 * misc/msync.c: Likewise.
16723 * misc/munlock.c: Likewise.
16724 * misc/munlockall.c: Likewise.
16725 * misc/munmap.c: Likewise.
16726 * misc/preadv.c: Likewise.
16727 * misc/preadv64.c: Likewise.
16728 * misc/ptrace.c: Likewise.
16729 * misc/pwritev.c: Likewise.
16730 * misc/pwritev64.c: Likewise.
16731 * misc/readv.c: Likewise.
16732 * misc/reboot.c: Likewise.
16733 * misc/remap_file_pages.c: Likewise.
16734 * misc/removexattr.c: Likewise.
16735 * misc/revoke.c: Likewise.
16736 * misc/select.c: Likewise.
16737 * misc/setdomain.c: Likewise.
16738 * misc/setegid.c: Likewise.
16739 * misc/seteuid.c: Likewise.
16740 * misc/sethostid.c: Likewise.
16741 * misc/sethostname.c: Likewise.
16742 * misc/setregid.c: Likewise.
16743 * misc/setreuid.c: Likewise.
16744 * misc/setxattr.c: Likewise.
16745 * misc/sstk.c: Likewise.
16746 * misc/stty.c: Likewise.
16747 * misc/swapoff.c: Likewise.
16748 * misc/swapon.c: Likewise.
16749 * misc/sync.c: Likewise.
16750 * misc/syncfs.c: Likewise.
16751 * misc/syscall.c: Likewise.
16752 * misc/truncate.c: Likewise.
16753 * misc/ualarm.c: Likewise.
16754 * misc/usleep.c: Likewise.
16755 * misc/ustat.c: Likewise.
16756 * misc/utimes.c: Likewise.
16757 * misc/vhangup.c: Likewise.
16758 * misc/writev.c: Likewise.
16759 * posix/_exit.c: Likewise.
16760 * posix/alarm.c: Likewise.
16761 * posix/execve.c: Likewise.
16762 * posix/fexecve.c: Likewise.
16763 * posix/fork.c: Likewise.
16764 * posix/fpathconf.c: Likewise.
16765 * posix/getaddrinfo.c: Likewise.
16766 * posix/getegid.c: Likewise.
16767 * posix/geteuid.c: Likewise.
16768 * posix/getgid.c: Likewise.
16769 * posix/getgroups.c: Likewise.
16770 * posix/getlogin.c: Likewise.
16771 * posix/getlogin_r.c: Likewise.
16772 * posix/getpgid.c: Likewise.
16773 * posix/getpid.c: Likewise.
16774 * posix/getppid.c: Likewise.
16775 * posix/getresgid.c: Likewise.
16776 * posix/getresuid.c: Likewise.
16777 * posix/getsid.c: Likewise.
16778 * posix/getuid.c: Likewise.
16779 * posix/glob64.c: Likewise.
16780 * posix/nanosleep.c: Likewise.
16781 * posix/pathconf.c: Likewise.
16782 * posix/pause.c: Likewise.
16783 * posix/posix_madvise.c: Likewise.
16784 * posix/pread.c: Likewise.
16785 * posix/pread64.c: Likewise.
16786 * posix/pwrite.c: Likewise.
16787 * posix/pwrite64.c: Likewise.
16788 * posix/sched_getaffinity.c: Likewise.
16789 * posix/sched_getp.c: Likewise.
16790 * posix/sched_gets.c: Likewise.
16791 * posix/sched_primax.c: Likewise.
16792 * posix/sched_primin.c: Likewise.
16793 * posix/sched_rr_gi.c: Likewise.
16794 * posix/sched_setaffinity.c: Likewise.
16795 * posix/sched_setp.c: Likewise.
16796 * posix/sched_sets.c: Likewise.
16797 * posix/sched_yield.c: Likewise.
16798 * posix/setgid.c: Likewise.
16799 * posix/setlogin.c: Likewise.
16800 * posix/setpgid.c: Likewise.
16801 * posix/setresgid.c: Likewise.
16802 * posix/setresuid.c: Likewise.
16803 * posix/setsid.c: Likewise.
16804 * posix/setuid.c: Likewise.
16805 * posix/sleep.c: Likewise.
16806 * posix/spawni.c: Likewise.
16807 * posix/sysconf.c: Likewise.
16808 * posix/times.c: Likewise.
16809 * posix/wait.c: Likewise.
16810 * posix/wait3.c: Likewise.
16811 * posix/wait4.c: Likewise.
16812 * posix/waitpid.c: Likewise.
16813 * resolv/gai_sigqueue.c: Likewise.
16814 * resource/getpriority.c: Likewise.
16815 * resource/getrlimit.c: Likewise.
16816 * resource/getrusage.c: Likewise.
16817 * resource/nice.c: Likewise.
16818 * resource/setpriority.c: Likewise.
16819 * resource/setrlimit.c: Likewise.
16820 * resource/ulimit.c: Likewise.
16821 * rt/aio_cancel.c: Likewise.
16822 * rt/aio_fsync.c: Likewise.
16823 * rt/aio_read.c: Likewise.
16824 * rt/aio_sigqueue.c: Likewise.
16825 * rt/aio_suspend.c: Likewise.
16826 * rt/aio_write.c: Likewise.
16827 * rt/clock_getres.c: Likewise.
16828 * rt/clock_gettime.c: Likewise.
16829 * rt/clock_nanosleep.c: Likewise.
16830 * rt/clock_settime.c: Likewise.
16831 * rt/lio_listio.c: Likewise.
16832 * rt/mq_close.c: Likewise.
16833 * rt/mq_getattr.c: Likewise.
16834 * rt/mq_notify.c: Likewise.
16835 * rt/mq_open.c: Likewise.
16836 * rt/mq_receive.c: Likewise.
16837 * rt/mq_send.c: Likewise.
16838 * rt/mq_setattr.c: Likewise.
16839 * rt/mq_timedreceive.c: Likewise.
16840 * rt/mq_timedsend.c: Likewise.
16841 * rt/mq_unlink.c: Likewise.
16842 * rt/shm_open.c: Likewise.
16843 * rt/shm_unlink.c: Likewise.
16844 * rt/timer_create.c: Likewise.
16845 * rt/timer_delete.c: Likewise.
16846 * rt/timer_getoverr.c: Likewise.
16847 * rt/timer_gettime.c: Likewise.
16848 * rt/timer_settime.c: Likewise.
16849 * setjmp/__longjmp.c: Likewise.
16850 * setjmp/setjmp.c: Likewise.
16851 * signal/kill.c: Likewise.
16852 * signal/killpg.c: Likewise.
16853 * signal/raise.c: Likewise.
16854 * signal/sigaction.c: Likewise.
16855 * signal/sigaltstack.c: Likewise.
16856 * signal/sigblock.c: Likewise.
16857 * signal/sigignore.c: Likewise.
16858 * signal/sigintr.c: Likewise.
16859 * signal/signal.c: Likewise.
16860 * signal/sigpause.c: Likewise.
16861 * signal/sigpending.c: Likewise.
16862 * signal/sigqueue.c: Likewise.
16863 * signal/sigreturn.c: Likewise.
16864 * signal/sigset.c: Likewise.
16865 * signal/sigsetmask.c: Likewise.
16866 * signal/sigstack.c: Likewise.
16867 * signal/sigsuspend.c: Likewise.
16868 * signal/sigtimedwait.c: Likewise.
16869 * signal/sigvec.c: Likewise.
16870 * signal/sigwait.c: Likewise.
16871 * signal/sigwaitinfo.c: Likewise.
16872 * signal/sysv_signal.c: Likewise.
16873 * socket/accept.c: Likewise.
16874 * socket/accept4.c: Likewise.
16875 * socket/bind.c: Likewise.
16876 * socket/connect.c: Likewise.
16877 * socket/getpeername.c: Likewise.
16878 * socket/getsockname.c: Likewise.
16879 * socket/getsockopt.c: Likewise.
16880 * socket/isfdtype.c: Likewise.
16881 * socket/listen.c: Likewise.
16882 * socket/recv.c: Likewise.
16883 * socket/recvfrom.c: Likewise.
16884 * socket/recvmsg.c: Likewise.
16885 * socket/send.c: Likewise.
16886 * socket/sendmsg.c: Likewise.
16887 * socket/sendto.c: Likewise.
16888 * socket/setsockopt.c: Likewise.
16889 * socket/shutdown.c: Likewise.
16890 * socket/sockatmark.c: Likewise.
16891 * socket/socket.c: Likewise.
16892 * socket/socketpair.c: Likewise.
16893 * stdio-common/ctermid.c: Likewise.
16894 * stdio-common/cuserid.c: Likewise.
16895 * stdio-common/remove.c: Likewise.
16896 * stdio-common/rename.c: Likewise.
16897 * stdio-common/renameat.c: Likewise.
16898 * stdio-common/tempname.c: Likewise.
16899 * stdlib/getcontext.c: Likewise.
16900 * stdlib/makecontext.c: Likewise.
16901 * stdlib/setcontext.c: Likewise.
16902 * stdlib/swapcontext.c: Likewise.
16903 * stdlib/system.c: Likewise.
16904 * streams/fattach.c: Likewise.
16905 * streams/fdetach.c: Likewise.
16906 * streams/getmsg.c: Likewise.
16907 * streams/getpmsg.c: Likewise.
16908 * streams/putmsg.c: Likewise.
16909 * streams/putpmsg.c: Likewise.
16910 * sysdeps/unix/bsd/getpt.c: Likewise.
16911 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16912 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16913 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16915 Likewise.
16916 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16917 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16918 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16919 * sysvipc/msgctl.c: Likewise.
16920 * sysvipc/msgget.c: Likewise.
16921 * sysvipc/msgrcv.c: Likewise.
16922 * sysvipc/msgsnd.c: Likewise.
16923 * sysvipc/semctl.c: Likewise.
16924 * sysvipc/semget.c: Likewise.
16925 * sysvipc/semop.c: Likewise.
16926 * sysvipc/semtimedop.c: Likewise.
16927 * sysvipc/shmat.c: Likewise.
16928 * sysvipc/shmctl.c: Likewise.
16929 * sysvipc/shmdt.c: Likewise.
16930 * sysvipc/shmget.c: Likewise.
16931 * termios/tcdrain.c: Likewise.
16932 * termios/tcflow.c: Likewise.
16933 * termios/tcflush.c: Likewise.
16934 * termios/tcgetattr.c: Likewise.
16935 * termios/tcgetpgrp.c: Likewise.
16936 * termios/tcsendbrk.c: Likewise.
16937 * termios/tcsetattr.c: Likewise.
16938 * termios/tcsetpgrp.c: Likewise.
16939 * time/adjtime.c: Likewise.
16940 * time/clock.c: Likewise.
16941 * time/getitimer.c: Likewise.
16942 * time/gettimeofday.c: Likewise.
16943 * time/setitimer.c: Likewise.
16944 * time/settimeofday.c: Likewise.
16945 * time/stime.c: Likewise.
16946 * time/time.c: Likewise.
16947
169482012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16949
a20492cf
PT
16950 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16951 /usr/old/bin.
16952
72e182e3
PT
16953 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16954 instead of spaces.
16955 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16956
fbeafede
JM
169572012-11-03 Joseph Myers <joseph@codesourcery.com>
16958
5b5b04d6
JM
16959 [BZ #14796]
16960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16961 FE_TONEAREST before applying Dekker multiplication and Knuth
16962 addition. Clear inexact exceptions and check for exact zero
16963 results afterwards.
16964 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16965 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16966 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16967 * math/libm-test.inc (fma_test): Add more tests.
16968 (fma_test_towardzero): Likewise.
16969 (fma_test_downward): Likewise.
16970 (fma_test_upward): Likewise.
16971 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16972 function.
16973 (libc_fesetround): New macro.
16974 (libc_fesetroundf): Likewise.
16975 (libc_fesetroundl): Likewise.
16976 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16977 function.
16978 (libc_fesetround_387): Likewise.
16979 (libc_fesetroundf): New macro.
16980 (libc_fesetround): Likewise.
16981 (libc_fesetroundl): Likewise.
16982 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16983 function.
16984 (libc_fesetroundf): New macro.
16985 (libc_fesetround): Likewise.
16986 (libc_fesetroundl): Likewise.
16987 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16988 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16989 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16990 libm_hidden_ver.
16991 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16992 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16993 libm_hidden_def.
16994 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16995 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16996 libm_hidden_ver.
16997 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16998 libm_hidden_def.
16999
fbeafede
JM
17000 [BZ #3439]
17001 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17002 integer constant usable in #if and use that to give value to enum
17003 constant.
17004 (FE_DIVBYZERO): Likewise.
17005 (FE_UNDERFLOW): Likewise.
17006 (FE_OVERFLOW): Likewise.
17007 (FE_INVALID): Likewise.
17008 (FE_INVALID_SNAN): Likewise.
17009 (FE_INVALID_ISI): Likewise.
17010 (FE_INVALID_IDI): Likewise.
17011 (FE_INVALID_ZDZ): Likewise.
17012 (FE_INVALID_IMZ): Likewise.
17013 (FE_INVALID_COMPARE): Likewise.
17014 (FE_INVALID_SOFTWARE): Likewise.
17015 (FE_INVALID_SQRT): Likewise.
17016 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17017 (FE_TONEAREST): Likewise.
17018 (FE_TOWARDZERO): Likewise.
17019 (FE_UPWARD): Likewise.
17020 (FE_DOWNWARD): Likewise.
17021 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17022 (FE_DIVBYZERO): Likewise.
17023 (FE_OVERFLOW): Likewise.
17024 (FE_UNDERFLOW): Likewise.
17025 (FE_INEXACT): Likewise.
17026 (FE_TONEAREST): Likewise.
17027 (FE_DOWNWARD): Likewise.
17028 (FE_UPWARD): Likewise.
17029 (FE_TOWARDZERO): Likewise.
17030 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17031 (FE_UNDERFLOW): Likewise.
17032 (FE_OVERFLOW): Likewise.
17033 (FE_DIVBYZERO): Likewise.
17034 (FE_INVALID): Likewise.
17035 (FE_TONEAREST): Likewise.
17036 (FE_TOWARDZERO): Likewise.
17037 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17038 (FE_OVERFLOW): Likewise.
17039 (FE_UNDERFLOW): Likewise.
17040 (FE_DIVBYZERO): Likewise.
17041 (FE_INEXACT): Likewise.
17042 (FE_TONEAREST): Likewise.
17043 (FE_TOWARDZERO): Likewise.
17044 (FE_UPWARD): Likewise.
17045 (FE_DOWNWARD): Likewise.
17046 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17047 (FE_DIVBYZERO): Likewise.
17048 (FE_OVERFLOW): Likewise.
17049 (FE_UNDERFLOW): Likewise.
17050 (FE_INEXACT): Likewise.
17051 (FE_TONEAREST): Likewise.
17052 (FE_DOWNWARD): Likewise.
17053 (FE_UPWARD): Likewise.
17054 (FE_TOWARDZERO): Likewise.
17055
105ca950
CM
170562012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17057
17058 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17059
a542b389
AS
170602012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17061
17062 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17063 commands. Quote $PWD.
17064 (blacklist_exports): Don't use remove_newlines. Replace "declare
17065 -x" by "export".
17066 (remove_newlines): Remove.
17067
f62c8abc
L
170682012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17069
17070 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17071 * stdlib/stdlib.h (atof): Moved to ...
17072 * include/bits/stdlib-float.h: Here. New file.
17073 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17074 * stdlib/bits/stdlib-float.h: New file.
17075 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17076 -mno-sse -mno-mmx.
17077 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17078 <xmmintrin.h>.
17079
0155d5b2
JM
170802012-11-02 Joseph Myers <joseph@codesourcery.com>
17081
a68d0680
JM
17082 * conform/conformtest.pl (@headers): Add fenv.h.
17083 * conform/data/fenv.h-data: New file.
17084 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17085 include of <math/fenv.h>.
17086
caf7f573
JM
17087 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17088 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17089 && !UNIX98]. Enables tests for XOPEN2K8.
17090 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17091 POSIX2008]: Likewise.
17092
6c073ad6
JM
17093 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17094 (struct rusage): Do not expect type or its members.
17095
0155d5b2
JM
17096 [BZ #3439]
17097 * math/math.h (FP_NAN): Define macro to integer constant usable in
17098 #if and use that to give value to enum constant.
17099 (FP_INFINITE): Likewise.
17100 (FP_ZERO): Likewise.
17101 (FP_SUBNORMAL): Likewise.
17102 (FP_NORMAL): Likewise.
17103
b5dcacb4
AS
171042012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17105
17106 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17107 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17108 arguments.
17109
f7934be8
RM
171102012-11-02 Roland McGrath <roland@hack.frob.com>
17111
17112 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17113 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17114 autoconf-time if not.
17115 * configure.in: Remove AC_PREREQ.
17116
d7d08bde
TMQMF
171172012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17118
17119 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17120 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17121 of the internal implementation.
17122
dcdae19a
JM
171232012-11-02 Joseph Myers <joseph@codesourcery.com>
17124
17125 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17126 except include of <misc/sys/syslog.h>.
17127
d6cffd3e
AS
171282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17129
17130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17131 function returns with a NULL context exit with zero.
17132
b3563932
TMQMF
171332012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17134
17135 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17136
b288a93d
L
171372012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17138
17139 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17140 (run_program_cmd): This.
17141 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17142 (tst_langinfo): New variable. Use it.
17143
a2421a68
SAS
171442012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17145
17146 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17147 floating point opcodes.
17148
6f796e1b
TS
171492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17150
7402596b
TS
17151 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17152 variable.
17153
d0d4f868
TS
17154 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17155
6f796e1b
TS
17156 * sysdeps/mach/hurd/powerpc: Remove directory.
17157 * sysdeps/mach/powerpc: Likewise.
17158
4da224a2
AS
171592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17160
17161 * scripts/check-local-headers.sh: Ignore c++ headers.
17162
341dd673
TS
171632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17164
17165 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17166 __libc_cleanup_region_start argument.
17167
473611b2
JM
171682012-11-01 Joseph Myers <joseph@codesourcery.com>
17169
17170 [BZ #14784]
17171 [BZ #14785]
17172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17173 x * y using scaling, not as x * y + z.
17174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17175 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17176 * math/libm-test.inc (fma_test): Add more tests.
17177 (fma_test_towardzero): Likewise.
17178 (fma_test_downward): Likewise.
17179 (fma_test_upward): Likewise.
17180
4078da3d
TS
171812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17182
17183 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17184
903252aa
JM
171852012-10-31 Joseph Myers <joseph@codesourcery.com>
17186
17187 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17188 New variable.
17189
cbc818d0
TS
171902012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17191
17192 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17193
5a03cb1e
AS
171942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17195
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17197 Fix sort order.
17198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17199 Likewise.
17200
90aff2ff
TMQMF
172012012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17202
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17204 Fix the order of the list for glibc 2.17.
17205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17206 Likewise.
17207
1818fcb7
AS
172082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17209
17210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17211
ef82f4da
JM
172122012-10-31 Joseph Myers <joseph@codesourcery.com>
17213
16a0e2ec
JM
17214 [BZ #14610]
17215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17216 for low part of x being zero before using __atanl (y).
17217 * math/libm-test.inc (atan2_test): Add another test.
17218
0eb69512
JM
17219 * manual/install.texi (Configuring and compiling): Document
17220 general use of test-wrapper and test-wrapper-env.
17221 * INSTALL: Regenerated.
17222
ef82f4da
JM
17223 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17224 (__fma): Do not extract and scale down low bits on after-rounding
17225 systems when result rounded to normal precision would have normal
17226 exponent.
17227 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17228 (__fmal): Do not extract and scale down low bits on after-rounding
17229 systems when result rounded to normal precision would have normal
17230 exponent.
17231 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17232 (__fmal): Do not extract and scale down low bits on after-rounding
17233 systems when result rounded to normal precision would have normal
17234 exponent.
17235 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17236 macro.
17237 (fma_test): Add more tests.
17238 (fma_test_towardzero): Likewise.
17239 (fma_test_downward): Likewise.
17240 (fma_test_upward): Likewise.
17241
954ef0d9
L
172422012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17243
17244 * sysdeps/i386/tininess.h: Renamed to ...
17245 * sysdeps/x86/tininess.h: This.
17246 * sysdeps/x86_64/tininess.h: Removed.
17247
df61ffb2
JM
172482012-10-30 Joseph Myers <joseph@codesourcery.com>
17249
17250 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17251 input. Use $(build-program-cmd).
17252 ($(objpfx)tst-array1-static.out): Likewise.
17253 ($(objpfx)tst-array2.out): Likewise.
17254 ($(objpfx)tst-array3.out): Likewise.
17255 ($(objpfx)tst-array4.out): Likewise.
17256 ($(objpfx)tst-array5.out): Likewise.
17257 ($(objpfx)tst-array5-static.out): Likewise.
17258
01767843
CM
172592012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17260
47cc1490
CM
17261 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17262 if defined.
17263
01767843
CM
17264 * nss/nsswitch.h (nss_interface_function): Provide new
17265 macro for use with NSS functions.
17266 * grp/initgroups.c: Use new macro.
17267 * nss/getXXbyYY.c: Likewise.
17268 * nss/getXXbyYY_r.c: Likewise.
17269 * nss/getXXent.c: Likewise.
17270 * nss/getXXent_r.c: Likewise.
17271 * sysdeps/posix/getaddrinfo.c: Likewise.
17272
8321aa97
AJ
172732012-10-30 Andreas Jaeger <aj@suse.de>
17274
17275 * po/ru.po: Update Russion translation from translation project.
17276
2a27fd6d
JM
172772012-10-30 Joseph Myers <joseph@codesourcery.com>
17278
8627a232
JM
17279 [BZ #14152]
17280 [BZ #14783]
17281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17282 result and shift together with sticky bit instead of replicating
17283 round-to-nearest rounding.
17284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17286 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17287 missing underflow exceptions.
17288 (fma_test_towardzero): Add more tests.
17289 (fma_test_downward): Likewise.
17290 (fma_test_upward): Likewise.
17291
2a27fd6d
JM
17292 [BZ #14047]
17293 * sysdeps/generic/tininess.h: New file.
17294 * sysdeps/i386/tininess.h: Likewise.
17295 * sysdeps/sh/tininess.h: Likewise.
17296 * sysdeps/x86_64/tininess.h: Likewise.
17297 * stdlib/tst-strtod-underflow.c: Likewise.
17298 * stdlib/tst-tininess.c: Likewise.
17299 * stdlib/strtod_l.c: Include <tininess.h>.
17300 (round_and_return): Do not set errno for exact underflow cases.
17301 Force an underflow exception when setting errno for underflow.
17302 Determine underflow based on rounding to normal precision if
17303 TININESS_AFTER_ROUNDING.
17304 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17305 ERANGE for exact underflow cases.
17306 * stdlib/Makefile (tests): Add tst-tininess and
17307 tst-strtod-underflow.
17308 ($(objpfx)tst-tininess): Use $(link-libm).
17309 ($(objpfx)tst-strtod-underflow): Likewise.
17310
e7170363
AJ
173112012-10-30 Andreas Jaeger <aj@suse.de>
17312
e5088dc6
AJ
17313 [BZ#14767]
17314 * elf/Makefile (tests): Remove conditional for have-initfini-array
17315 since this is now always required and the variable does not exist
17316 anymore.
17317 (tests-static): Likewise.
17318 (modules-names): Likewise.
17319
e7170363 17320 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17321
17322 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17323 merged with constructor/destructor.
17324 (init_array): Likewise.
17325 * elf/tst-array2dep.c (fini_array): Likewise.
17326 (init_array): Likewise.
17327
60457d8a
MF
173282012-10-29 Mike Frysinger <vapier@gentoo.org>
17329
17330 * manual/message.texi: Delete @cartouche tags.
17331
8bece752
PT
173322012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17333
94ce799f
PT
17334 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17335 EOPNOTSUPP.
17336 * sysdeps/mach/hurd/fsync.c: Likewise.
17337
8bece752
PT
17338 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17339 [_POSIX_REALTIME_SIGNALS]: Change condition to
17340 [_POSIX_REALTIME_SIGNALS > 0].
17341
86ebe6b1
AJ
173422012-10-27 Andreas Jaeger <aj@suse.de>
17343
17344 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17345 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17347 [__WORDSIZE != 64]: Likewise.
17348
54399c08
L
173492012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17350
17351 * iconvdata/tst-table.sh: Remove ${SHELL}.
17352 * iconvdata/tst-tables.sh: Likewise.
17353
e2211bed
DM
173542012-10-25 David S. Miller <davem@davemloft.net>
17355
17356 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17357 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17358 of strtoull.
17359
f303f97c
DM
17360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17361 ifunc-impl-list.c
17362 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17363 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17364 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17365 file.
17366
1e9d84cd
RM
173672012-10-25 Roland McGrath <roland@hack.frob.com>
17368
17369 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17370 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17371 __getdirentries.
17372
df381762
JM
173732012-10-25 Joseph Myers <joseph@codesourcery.com>
17374 Jim Blandy <jimb@codesourcery.com>
17375
17376 * scripts/cross-test-ssh.sh: New file.
17377 * manual/install.texi (Configuring and compiling): Document use of
17378 cross-test-ssh.sh.
17379 * INSTALL: Regenerated.
17380
bff64913
PT
173812012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17382
17383 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17384 EOPNOTSUPP.
17385
25fe8932
JM
173862012-10-25 Joseph Myers <joseph@codesourcery.com>
17387
17388 * Makeconfig (run-program-prefix): Fix comment.
17389
cc1290d0
JM
173902012-10-24 Joseph Myers <joseph@codesourcery.com>
17391 Jim Blandy <jimb@codesourcery.com>
17392
17393 * Makeconfig (test-wrapper): New variable,
17394 (test-wrapper-env): Likewise.
17395 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17396 (run-built-tests): Define to yes.
17397 (run-program-prefix): Use $(test-wrapper).
17398 (built-program-cmd): Likewise.
17399 * Rules (make-test-out): Use $(test-wrapper-env) and
17400 $(host-built-program-cmd).
17401 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17402 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17403 tst-pathopt.sh.
17404 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17405 $(test-wrapper-env) to tst-rtld-load-self.sh.
17406 ($(objpfx)order2.out): Use $(test-wrapper).
17407 ($(objpfx)tst-initorder.out): Likewise.
17408 ($(objpfx)tst-initorder2.out): Likewise.
17409 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17410 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17411 (test_wrapper_env): New variable. Use it to run ld.so.
17412 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17413 Use it to run ld.so.
17414 (test_wrapper_env): Likewise.
17415 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17416 $(test-wrapper) to run-iconv-test.sh.
17417 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17418 (ICONV): Use $test_wrapper.
17419 * posix/Makefile ($(objpfx)globtest.out): Pass
17420 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17421 globtest.sh, not $(run-program-prefix).
17422 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17423 (test_wrapper): Likewise.
17424 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17425 set together with run_via_rtld_prefix.
17426 (run_program_prefix): Define in terms of test_wrapper and
17427 run_via_rtld_prefix.
17428
6e6249d0
RM
174292012-10-24 Roland McGrath <roland@hack.frob.com>
17430
17431 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17432 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17433 Targets removed.
17434
17435 [BZ #14743]
17436 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17437 Declare __clock_getres, __clock_gettime, __clock_settime,
17438 __clock_nanosleep, and __clock_getcpuclockid.
17439 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17440 Remove librt_hidden_def (clock_gettime).
17441 * sysdeps/unix/clock_gettime.c: Likewise.
17442 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17444 * rt/clock_getres.c: Define __clock_getres as an alias.
17445 * sysdeps/posix/clock_getres.c: Likewise.
17446 * rt/clock_settime.c: Define __clock_settime as an alias.
17447 * sysdeps/unix/clock_settime.c: Likewise.
17448 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17449 * sysdeps/unix/clock_nanosleep.c: Likewise.
17450 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17451 * rt/clock-compat.c: New file.
17452 * rt/Makefile (librt-routines): Add clock-compat and move
17453 $(clock-routines) to ...
17454 (routines): ... here, new variable.
17455 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17456 Don't add get_clockfreq here.
17457 * rt/Versions (libc: GLIBC_2.17): New version set.
17458 Add clock_* symbols here.
17459 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17460 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17461 (GLIBC_2.17): Add clock_* symbols.
17462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17464 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17466 Likewise.
17467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17468 Likewise.
17469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17473 * NEWS: Mention the move.
17474
17475 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17476 Use __open, __read, __close rather than their public counterparts.
17477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17478 (__get_clockfreq_via_cpuinfo): Likewise.
17479 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17480 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17481
17482 * config.h.in (HAVE_IFUNC): New #undef.
17483 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17484 was successful.
17485 * configure: Regenerated.
17486
0cae3f4b
MF
174872012-10-24 Mike Frysinger <vapier@gentoo.org>
17488
17489 * configure.in: Move READELF check to start of file.
17490 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17491 libc_cv_asm_gnu_indirect_function in the process.
17492 * configure: Regenerated.
17493
8175a253
MF
174942012-10-24 Mike Frysinger <vapier@gentoo.org>
17495
17496 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17497 send the output to /dev/null.
17498 (libc_cv_cc_with_libunwind): Likewise.
17499 (libc_cv_as_noexecstack): Likewise.
17500 * configure: Regenerate.
17501
0708a7d1
JM
175022012-10-24 Joseph Myers <joseph@codesourcery.com>
17503
10b40d85
JM
17504 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17505
0708a7d1
JM
17506 * posix/globtest.sh (TMPDIR): Do not set.
17507 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17508 (testout): Likewise.
17509
9fddec1a
AJ
175102012-10-24 Andreas Jaeger <aj@suse.de>
17511
3a8db22f
AJ
17512 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17513 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17514 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17515 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17516 posix_fadvise64, posix_fallocate64.
17517
9fddec1a
AJ
17518 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17519 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17520 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17521 Likewise.
17522 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17523 Likewise.
17524 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17525
17526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17527 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17528 <bits/fcntl-linux.h>.
17529 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17530
17531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17532 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17533 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17534 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17535 [__WORDSIZE != 64]: Likewise.
17536
ebfd1bbd
JM
175372012-10-23 Joseph Myers <joseph@codesourcery.com>
17538
03ac099f
JM
17539 * Makeconfig (run-built-tests): New variable.
17540 * Rules [$(cross-compiling) = yes]: Change condition to
17541 [$(run-built-tests) = no].
17542 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17543 to [$(run-built-tests) = yes].
17544 * elf/Makefile [$(cross-compiling) = no]: Likewise
17545 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17546 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17547 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17548 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17549 * io/Makefile [$(cross-compiling) = no]: Likewise.
17550 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17551 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17552 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17553 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17554 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17555 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17556 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17557 * string/Makefile [$(cross-compiling) = no]: Likewise.
17558
ebfd1bbd
JM
17559 * posix/Makefile ($(objpfx)globtest.out): Pass
17560 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17561 $(rtld-installed-name).
17562 * posix/globtest.sh (elf_objpfx): Remove variable.
17563 (rtld_installed_name): Likewise.
17564 (library_path): Likewise.
17565 (run_program_prefix): New variable. Use for running globtest
17566 binary.
17567
166bca24
JB
175682012-10-23 Jim Blandy <jimb@codesourcery.com>
17569 Joseph Myers <joseph@codesourcery.com>
17570
17571 * Makeconfig (host-built-program-cmd): New variable.
17572 * elf/Makefile (tst-stackguard1-ARGS): Use
17573 $(host-built-program-cmd).
17574 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17575 (tst-spawn-ARGS): Likewise.
17576 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17577
88866099
JM
175782012-10-23 Joseph Myers <joseph@codesourcery.com>
17579 Jim Blandy <jimb@codesourcery.com>
17580
17581 * Makeconfig (run-via-rtld-prefix): New variable.
17582 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17583 (built-program-cmd): Likewise.
17584
b4b4c296
AJ
175852012-10-22 Andreas Jaeger <aj@suse.de>
17586
17587 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17588 __O_RSYNC if it exists, otherwise to O_SYNC.
17589
6fb54a22
JB
175902012-10-22 Jim Blandy <jimb@codesourcery.com>
17591 Joseph Myers <joseph@codesourcery.com>
17592
17593 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17594 /dev/null.
17595 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17596 from /dev/null
17597 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17598 /dev/null.
17599
481b90b9
AJ
176002012-10-22 Andreas Jaeger <aj@suse.de>
17601
2a0e2669
AJ
17602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17603 Define always.
17604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17605
76e38f9a
AJ
17606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17607 bits/fcntl-linux.h.
17608
7cd37b43
AJ
17609 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17610 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17611
481b90b9
AJ
17612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17613 to __O_LARGEFILE.
17614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17615 to __O_LARGEFILE.
17616
aba75984
JB
176172012-10-21 Jim Blandy <jimb@codesourcery.com>
17618 Joseph Myers <joseph@codesourcery.com>
17619
17620 * config.make.in (NM): New variable.
17621
88d4247f
AJ
176222012-10-21 Andreas Jaeger <aj@suse.de>
17623
17624 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17625 definitions and declarations that are provided by
17626 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17627
f2eed205
L
176282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17629
17630 [BZ #14683]
17631 * elf/Makefile (tests-static): Add tst-leaks1-static.
17632 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17633 ($(objpfx)tst-leaks1-static): New rule.
17634 ($(objpfx)tst-leaks1-static-mem): Likewise.
17635 (tst-leaks1-static-ENV): New macro.
17636 * elf/dl-open.c (dl_open_worker): Check the main application
17637 only if SHARED is defined.
17638 * elf/tst-leaks1-static.c: New file.
17639
335e6931
AJ
176402012-10-20 Andreas Jaeger <aj@suse.de>
17641
17642 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17643 generic values for Linux.
17644 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17645 and declarations that are provided by <bits/fcntl-linux.h> and
17646 include <bits/fcntl-linux.h>.
17647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17649
ac5c94d3
RM
176502012-10-20 Roland McGrath <roland@hack.frob.com>
17651
17652 * io/fcntl.h: Move include of <bits/types.h> to the top and
17653 include it unconditionally.
17654
de54b33a
L
176552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17656
228cfb01
L
17657 * wcsmbs/Makefile (tests-ifunc): New variable.
17658 (tests): Add $(tests-ifunc).
17659 * wcsmbs/test-wcschr-ifunc.c: New file.
17660 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17661 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17662 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17663 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17664 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17665
69f07e5f
L
17666 * string/Makefile (tests-ifunc): New variable.
17667 (tests): Add $(tests-ifunc).
17668 * string/test-memccpy.c (TEST_NAME): New macro.
17669 * string/test-memchr.c (TEST_NAME): Likewise.
17670 * string/test-memcmp.c (TEST_NAME): Likewise.
17671 * string/test-memcpy.c (TEST_NAME): Likewise.
17672 * string/test-memmem.c (TEST_NAME): Likewise.
17673 * string/test-memmove.c (TEST_NAME): Likewise.
17674 * string/test-memset.c (TEST_NAME): Likewise.
17675 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17676 * string/test-stpcpy.c (TEST_NAME): Likewise.
17677 * string/test-stpncpy.c (TEST_NAME): Likewise.
17678 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17679 * string/test-strcasestr.c (TEST_NAME): Likewise.
17680 * string/test-strcat.c (TEST_NAME): Likewise.
17681 * string/test-strchr.c (TEST_NAME): Likewise.
17682 * string/test-strcmp.c(TEST_NAME): Likewise.
17683 * string/test-strcpy.c (TEST_NAME): Likewise.
17684 * string/test-strcspn.c (TEST_NAME): Likewise.
17685 * string/test-strlen.c (TEST_NAME): Likewise.
17686 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17687 * string/test-strncmp.c (TEST_NAME): Likewise.
17688 * string/test-strncpy.c (TEST_NAME): Likewise.
17689 * string/test-strnlen.c (TEST_NAME): Likewise.
17690 * string/test-strpbrk.c (TEST_NAME): Likewise.
17691 * string/test-strrchr.c (TEST_NAME): Likewise.
17692 * string/test-strspn.c (TEST_NAME): Likewise.
17693 * string/test-strstr.c (TEST_NAME): Likewise.
17694 * string/test-bcopy-ifunc.c: New file.
17695 * string/test-bzero-ifunc.c: Likewise.
17696 * string/test-memccpy-ifunc.c: Likewise.
17697 * string/test-memchr-ifunc.c: Likewise.
17698 * string/test-memcmp-ifunc.c: Likewise.
17699 * string/test-memcpy-ifunc.c: Likewise.
17700 * string/test-memmem-ifunc.c: Likewise.
17701 * string/test-memmove-ifunc.c: Likewise.
17702 * string/test-mempcpy-ifunc.c: Likewise.
17703 * string/test-memset-ifunc.c: Likewise.
17704 * string/test-rawmemchr-ifunc.c: Likewise.
17705 * string/test-stpcpy-ifunc.c: Likewise.
17706 * string/test-stpncpy-ifunc.c: Likewise.
17707 * string/test-strcasecmp-ifunc.c: Likewise.
17708 * string/test-strcasestr-ifunc.c: Likewise.
17709 * string/test-strcat-ifunc.c: Likewise.
17710 * string/test-strchr-ifunc.c: Likewise.
17711 * string/test-strchrnul-ifunc.c: Likewise.
17712 * string/test-strcmp-ifunc.c: Likewise.
17713 * string/test-strcpy-ifunc.c: Likewise.
17714 * string/test-strcspn-ifunc.c: Likewise.
17715 * string/test-strlen-ifunc.c: Likewise.
17716 * string/test-strncasecmp-ifunc.c: Likewise.
17717 * string/test-strncat-ifunc.c: Likewise.
17718 * string/test-strncmp-ifunc.c: Likewise.
17719 * string/test-strncpy-ifunc.c: Likewise.
17720 * string/test-strnlen-ifunc.c: Likewise.
17721 * string/test-strpbrk-ifunc.c: Likewise.
17722 * string/test-strrchr-ifunc.c: Likewise.
17723 * string/test-strspn-ifunc.c: Likewise.
17724 * string/test-strstr-ifunc.c: Likewise.
17725
de54b33a
L
17726 * debug/Makefile (tests-ifunc): New variable.
17727 (tests): Add $(tests-ifunc).
17728 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17729 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17730 * debug/test-stpcpy_chk-ifunc.c: New file.
17731 * debug/test-strcpy_chk-ifunc.c: Likewise.
17732
88481c16
SP
177332012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17734
17735 [BZ #13601]
17736 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17737 header is not read in.
17738
135948bd
JM
177392012-10-19 Joseph Myers <joseph@codesourcery.com>
17740
89f1c388
JM
17741 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17742 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17743 directly. Pass built executable to script as
17744 $(built-program-cmd).
17745 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17746 $testprogram without using LD_LIBRARY_PATH and $ldso.
17747
e40a0d21
JM
17748 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17749 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17750 $(rtld-installed-name).
17751 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17752 (rtld_installed_name): Likewise.
17753 (library_path): Likewise.
17754 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17755 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17756 $(run-program-prefix) to tst-tables.sh.
17757 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17758 it to run tst-table-from and tst-table-to.
17759 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17760 Pass it to tst-table.sh.
17761 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17762 $(run-program-prefix) to tst-gettext.sh.
17763 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17764 tst-translit.sh.
17765 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17766 tst-gettext2.sh.
17767 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17768 to run tst-gettext.
17769 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17770 to run tst-gettext2.
17771 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17772 to run tst-translit.
17773 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17774 $(run-program-prefix) to tst-mtrace.sh.
17775 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17776 to run tst-mtrace.
17777 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17778 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17779 $(rtld-installed-name).
17780 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17781 (rtld_installed_name): Likewise.
17782 (run_program_prefix): New variable. Use it to run wordexp-test.
17783
728e272a
JM
17784 * Makeconfig (ARCH): Remove all definitions.
17785 (machine): Likewise.
17786 [ARCH]: Remove conditional code.
17787 [!objdir]: Give error.
17788 [!objdir] (objpfx): Remove.
17789 [!objdir] (common-objpfx): Likewise.
17790 [!objdir] (common-objdir): Likewise.
17791 * configure.in (config_makefile): Remove. Hardcode Makefile in
17792 AC_CONFIG_FILES call.
17793 * configure: Regenerated.
17794
d528cdcf
JM
17795 [BZ #13888]
17796 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17797 or TMPDIR.
17798 (testout): Likewise.
17799
135948bd
JM
17800 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17801 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17802 $(rtld-installed-name).
17803 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17804 (rtld_installed_name): Likwise.
17805 (runit): Remove function.
17806 (run_getconf): New variable, Use it for running getconf binary.
17807
38c78296
L
178082012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17809
17810 [BZ #14716]
17811 * string/test-memmem.c (check_result): New function.
17812 (do_one_test): Use it.
17813 (check1): New function.
17814 (test_main): Use it.
17815
d077f65f
MT
178162012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17817
17818 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17819
ced52c71
JM
178202012-10-18 Joseph Myers <joseph@codesourcery.com>
17821
17822 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17823 (_G_LSEEK64): Likewise.
17824 (_G_MMAP64): Likewise.
17825 (_G_FSTAT64): Likewise.
17826 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17827 (_G_LSEEK64): Likewise.
17828 (_G_MMAP64): Likewise.
17829 (_G_FSTAT64): Likewise.
17830 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17831 unconditional. Call __mmap64 directly.
17832 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17833 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17834 __lseek64 directly.
17835 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17836 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17837 __mmap64 directly.
17838 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17839 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17840 __lseek64 directly.
17841 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17842 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17843 __lseek64 directly.
17844 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17845 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17846 __lseek64 directly.
17847 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17848 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17849 __fxstat64 directly.
17850 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17851 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17852 unconditional.
17853 (freopen64) [!_G_OPEN64]: Remove conditional code.
17854 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17855 unconditional.
17856 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17857 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17858 unconditional.
17859 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17860 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17861 unconditional.
17862 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17863 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17864 unconditional.
17865 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17866 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17867 unconditional.
17868 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17869 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17870 unconditional.
17871 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17872 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17873 unconditional.
17874 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17875
b741de23
SP
178762012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17877
17878 [BZ #12140]
17879 * manual/memory.texi (Malloc Tunable Parameters): Add note
17880 about free list pointers overwriting some perturb bytes.
17881 Wording suggested by Roland McGrath.
17882
f9b9d9c9
JM
178832012-10-17 Joseph Myers <joseph@codesourcery.com>
17884
17885 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17886 (lgamma_test): Likewise.
17887 (tgamma_test): Likewise.
17888
172a631a
FW
178892012-10-16 Florian Weimer <fweimer@redhat.com>
17890
17891 [BZ #14700]
17892 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17893 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17894
e9f37252
MK
178952012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17896
17897 * NEWS: Mention BZ #14716.
17898 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17899 when removing AVAILABLE1_USES_J macro.
17900
d394eb74
L
179012012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17902
17903 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17904 (__bswap_64): __uint64_t for unsigned 64-bit int.
17905
ca38dc17
AS
179062012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17907
17908 * include/string.h (memmem): Declare libc hidden alias.
17909 * string/memmem.c (memmem): Define libc hidden alias.
17910 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17911 __read, __close instead of open, read, close.
17912
9a387d1f
L
179132012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17914
ac49ecaf
L
17915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17916 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17917 global and hidden.
17918 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17919 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17920 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17921 Likewise.
17922 (__rawmemchr_sse2): Likewise.
17923 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17924 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17925 (__strchr_sse2): Likewise.
17926 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17927 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17928 (__strcasecmp_sse2): Likewise.
17929 (__strncasecmp_sse2): Likewise.
17930 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17931 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17932 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17933 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17934 (__strrchr_sse2): Likewise.
17935 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17936 ifunc-impl-list.c.
17937 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17938 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17939 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17940 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17941 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17942 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17943 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17944 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17945 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17946 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17947 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17948 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17949 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17950 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17951 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17952 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17953 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17954 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17955 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17956 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17957 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17958 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17959 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17960 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17961 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17962 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17963 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17964 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17965 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17966 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17967
b090e8ea
L
17968 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17969 global and hidden.
17970 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17971 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17972 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17973 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17974 Likewise.
17975 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17976 Likewise.
17977 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17978 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17979 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17980 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17981 ifunc-impl-list.c.
17982 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17983 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17984 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17985 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17986 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17987 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17988 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17989 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17990 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17991 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17992 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17993 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17994 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17995 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17996 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17997 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17998 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17999 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18000 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18001 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18002 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18003 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18004 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18005 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18006 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18007 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18008 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18009 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18010 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18011 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18012 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18013 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18014 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18015 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18016 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18017 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18018 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18019 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18020 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18021 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18022 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18023
11dd4af6
L
18024 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18025 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18026 * include/ifunc-impl-list.h: New file.
18027 * misc/ifunc-impl-list.c: Likewise.
18028 * misc/Makefile (routines): Add ifunc-impl-list.
18029 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18030 * string/test-string.h: Include <ifunc-impl-list.h>.
18031 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18032 impl_array): New variables.
18033 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18034 are defined.
18035 (test_init): Call __libc_ifunc_impl_list to initialize
18036 func_list if TEST_IFUNC and TEST_NAME are defined.
18037
9a387d1f
L
18038 * string/Makefile (strop-tests): Add bcopy and bzero.
18039 * string/test-bcopy.c: New file.
18040 * string/test-bzero.c: Likewise.
18041 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18042 defined.
18043 * string/test-memset.c: Support bzero test if TEST_BZERO is
18044 defined.
18045 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18046 __libc_memmove.
18047 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18048 __libc_memset.
18049 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18050 of memset.
18051
472371b9
JM
180522012-10-10 Joseph Myers <joseph@codesourcery.com>
18053
1e4a9536
JM
18054 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18055 * configure: Regenerated.
18056
d173d12e
JM
18057 * Makeconfig (+link-static-before-libc): Don't include
18058 $(link-static-libc).
18059
472371b9
JM
18060 * libio/libio.h (_IO_pos_t): Remove.
18061
89a3ad0b
AO
180622012-10-10 Alexandre Oliva <aoliva@redhat.com>
18063
18064 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18065 McGrath.
18066
e7451425
AO
180672012-10-10 Alexandre Oliva <aoliva@redhat.com>
18068
18069 * crypt/crypt-entry.c: Include fips-private.h.
18070 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18071 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18072 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18073 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18074
4ba74a35
AO
180752012-10-10 Alexandre Oliva <aoliva@redhat.com>
18076
18077 * crypt/crypt-private.h: Include stdbool.h.
18078 (_ufc_setup_salt_r): Return bool.
18079 * crypt/crypt-entry.c: Include errno.h.
18080 (__crypt_r): Return NULL with EINVAL for bad salt.
18081 * crypt/crypt_util.c (bad_for_salt): New.
18082 (_ufc_setup_salt_r): Check that salt is long enough and within
18083 the specified alphabet.
18084 * crypt/badsalttest.c: New file.
18085 * crypt/Makefile (tests): Add it.
18086 ($(objpfx)badsalttest): New.
18087
f96f1242
MK
180882012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18089
18090 * NEWS: Add entry for BZ #14602.
18091
0e8e0c1c
JM
180922012-10-09 Joseph Myers <joseph@codesourcery.com>
18093
18094 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18095 type-generic.
18096 * math/libm-test.inc: Update comment listing what functions and
18097 macros are tested.
18098 (isgreater_test): New function.
18099 (isgreaterequal_test): Likewise.
18100 (isless_test): Likewise.
18101 (islessequal_test): Likewise.
18102 (islessgreater_test): Likewise.
18103 (isunordered_test): Likewise.
18104 (main): Call the new functions.
18105
273edc5e
RM
181062012-10-09 Roland McGrath <roland@hack.frob.com>
18107
b8493de0
RM
18108 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18109 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18110 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18111 * sysdeps/i386/configure: Regenerated.
18112 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18113 * sysdeps/mach/configure: Regenerated.
18114 * sysdeps/mach/hurd/configure: Regenerated.
18115 * sysdeps/powerpc/configure: Regenerated.
18116 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18117 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18118 * sysdeps/s390/s390-32/configure: Regenerated.
18119 * sysdeps/s390/s390-64/configure: Regenerated.
18120 * sysdeps/sh/configure: Regenerated.
18121 * sysdeps/sparc/configure: Regenerated.
18122 * sysdeps/unix/sysv/linux/configure: Regenerated.
18123 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18124 * sysdeps/x86_64/configure: Regenerated.
18125
273edc5e
RM
18126 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18127 defined. Don't check if MAP is NULL.
18128
c8450f70
JM
181292012-10-09 Joseph Myers <joseph@codesourcery.com>
18130
18131 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18132 (_G_stat64): Likewise.
18133 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18134 (_G_stat64): Likewise.
18135 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18136 instead of struct _G_stat64.
18137 * libio/fileops.c (mmap_remap_check): Likewise.
18138 (decide_maybe_mmap): Likewise.
18139 (_IO_new_file_seekoff): Likewise.
18140 (_IO_file_stat): Likewise.
18141 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18142 _G_off64_t.
18143 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18144 instead of struct _G_stat64.
18145 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18146
57e605ba
MK
181472012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18148
18149 [BZ #14602]
18150 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18151 Replace with ...
18152 (CHECK_EOL): New macro.
18153 (two_way_short_needle): Check beginning of haystack for EOL. Use
18154 CHECK_EOL.
18155 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18156 Replace with CHECK_EOL.
18157 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18158 Replace with CHECK_EOL.
18159
ef1bb361
JM
181602012-10-08 Joseph Myers <joseph@codesourcery.com>
18161
18162 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18163 type-generic.
18164 * math/libm-test.inc: Update comment listing what functions and
18165 macros are tested.
18166 (finite_test): New function.
18167 (isinf_test): Likewise.
18168 (isnan_test): Likewise.
18169 (fpclassify_test): Test subnormal input.
18170 (isfinite_test): Likewise.
18171 (isnormal_test): Likewise.
18172 (main): Call the new functions.
18173
55f11534
JN
181742012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18175
18176 [BZ #14660]
18177 * Makerules (%.dynsym): Force C locale when running
18178 $(OBJDUMP) --dynamic-syms.
18179
1ab29350
AS
181802012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18181
18182 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18183 <stdint.h>.
18184
f1ecb7ef
DM
181852012-10-06 David S. Miller <davem@davemloft.net>
18186
18187 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18188 upper 32-bits of the length value in %o2 since we use branch-on-register
18189 tests which consider the entire 64-bit register.
18190
5d41d91a
L
181912012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18192
18193 * string/test-strstr.c (check2): Add a test for page boundary.
18194
3baddb72
DM
181952012-10-05 David S. Miller <davem@davemloft.net>
18196
18197 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18198 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18199 file.
18200 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18201 sysdep_routines.
18202 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18203 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18204 and bzero when HWCAP_SPARC_CRYPTO is present.
18205
9cee5585
L
182062012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18207
d7e0dab9
L
18208 [BZ #14602]
18209 * string/test-strstr.c (check2): New function.
18210 (test_main): Call check2.
18211
03759f47
L
18212 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18213 and bug-strchr1.
18214 * string/bug-strcasestr1.c (do_test): Moved to ...
18215 * string/test-strcasestr.c (check1): Here. New function.
18216 (do_one_test): Break out result checking code into ...
18217 (check_result): This. New function.
18218 (do_one_test): Call check_result.
18219 (test_main): Call check1.
18220 * string/bug-strchr1.c (do_test): Moved to ...
18221 * string/test-strchr.c (check1): Here. New function.
18222 (do_one_test): Break out result checking code into ...
18223 (check_result): This. New function.
18224 (do_one_test): Call check_result.
18225 (test_main): Call check1.
18226 * string/bug-strstr1.c (main): Moved to ...
046f153e 18227 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18228 (do_one_test): Break out result checking code into ...
18229 (check_result): This. New function.
18230 (do_one_test): Call check_result.
18231 (test_main): Call check1.
18232 * string/bug-strcasestr1.c: Removed.
18233 * string/bug-strchr1.c: Likewise.
18234 * string/bug-strstr1.c: Likewise.
18235
53cea63e
L
18236 * elf/Makefile (dl-routines): Add hwcaps.
18237 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18238 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18239 (_dl_important_hwcaps): Moved to ...
18240 * elf/dl-hwcaps.c: Here. New file.
18241 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18242
9cee5585 18243 [BZ #14557]
bb859b06
L
18244 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18245 if IS_IN_rtld isn't defined.
18246
9cee5585
L
18247 * elf/dl-support.c (_dl_sysinfo_map): New.
18248 Include "get-dynamic-info.h" and "setup-vdso.h".
18249 (_dl_non_dynamic_init): Call setup_vdso.
18250 * elf/dynamic-link.h: Don't include <assert.h>.
18251 (elf_get_dynamic_info): Moved to ...
18252 * elf/get-dynamic-info.h: Here. New file.
18253 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18254 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18255 * elf/setup-vdso.h: Here. New file.
18256 * elf/rtld.c: Include "setup-vdso.h".
18257 (dl_main): Call setup_vdso.
18258
23c31b76
JM
182592012-10-05 Joseph Myers <joseph@codesourcery.com>
18260
28234b07
JM
18261 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18262 creal in comment listing functions tested. List finite, isinf,
18263 isnan, isless, islessequal, isgreater, isgreaterequal,
18264 islessgreater, isunordered, lgamma_r and pow10 as functions and
18265 macros not tested. Mention which functions not tested are aliases
18266 for other functions. Fix typo. Note that signs of NaNs are not
18267 tested.
18268
23c31b76
JM
18269 * scripts/config.guess: Update from config.git.
18270 * scripts/config.sub: Likewise.
18271
9043e228
RM
182722012-10-04 Roland McGrath <roland@hack.frob.com>
18273
18274 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18275 * misc/madvise.c (madvise): Renamed to __madvise.
18276 Make madvise a weak alias.
18277 * include/sys/mman.h: Declare __madvise.
18278 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18279 * sysdeps/unix/syscalls.list
18280 (madvise): Make __madvise the strong name, and madvise a weak alias.
18281 * sysdeps/unix/sysv/linux/syscalls.list
18282 (madvise, mmap): Remove redundant entries.
18283 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18284 * malloc/malloc.c (mtrim): Likewise.
18285 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18286
f57f8055
RM
182872012-10-03 Roland McGrath <roland@hack.frob.com>
18288
18289 * sysdeps/mach/hurd/dl-cache.c: File removed.
18290 * config.h.in (USE_LDCONFIG): New #undef.
18291 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18292 * configure: Regenerated.
18293 * elf/Makefile (dl-routines): Add dl-cache only under
18294 [$(use-ldconfig) = yes].
18295 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18296 cache on [USE_LDCONFIG].
18297 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18298 [USE_LDCONFIG].
18299 * elf/rtld.c (dl_main): Likewise.
18300
5bb0c10a
PT
183012012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18302
18303 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18304 _SC_LEVEL4_CACHE_LINESIZE.
18305
010188c6
RM
183062012-10-03 Roland McGrath <roland@hack.frob.com>
18307
18308 * sysdeps/unix/bsd/confstr.h: File removed.
18309
b6c5ec07
AO
183102012-10-02 Alexandre Oliva <aoliva@redhat.com>
18311
18312 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18313 sys/sdt-config.h.
18314
408223d4
RM
183152012-10-02 Roland McGrath <roland@hack.frob.com>
18316
18317 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18318 Make 'mapoff' field ElfW(Off) rather than off_t.
18319
bb9510dc
DL
183202012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18321
fc997c6e
DL
18322 * nscd/Makefile: Remove nscd-cflags and all its users.
18323 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18324 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18325
bb9510dc
DL
18326 [BZ #10631]
18327 * malloc.c (malloc_printerr): Clarify error message.
18328
05699367
L
183292012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18330
18331 [BZ #14648]
18332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18333 Set bit_FMA_Usable if FMA is supported.
18334 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18335 macro.
18336 (bit_FMA4_Usable): Updated.
18337 (index_FMA_Usable): New macro.
18338 (CPUID_FMA): Likewise
18339 (HAS_FMA): Defined with bit_FMA_Usable.
18340
51367701
RM
183412012-10-01 Roland McGrath <roland@hack.frob.com>
18342
18343 * bits/types.h (__swblk_t): Type removed.
18344 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18345 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18347 (__SWBLK_T_TYPE): Likewise.
18348 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18349 (__SWBLK_T_TYPE): Likewise.
18350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18351 (__SWBLK_T_TYPE): Likewise.
18352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18353 (__SWBLK_T_TYPE): Likewise.
18354
4d57bf63 183552012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18356 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18357
18358 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18359 (xdr_mapname): Use YPMAXMAP as maxsize.
18360 (xdr_peername): Use YPMAXPEER as maxsize.
18361 (xdr_keydat): Use YPAXRECORD as maxsize.
18362 (xdr_valdat): Use YPMAXRECORD as maxsize.
18363
93c65d43
RM
183642012-10-01 Roland McGrath <roland@hack.frob.com>
18365
497a03d6
RM
18366 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18367
93c65d43
RM
18368 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18369 * csu/init-first.c: ... here.
18370 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18371 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18372 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18373 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18374 * sysdeps/i386/init-first.c: File removed.
18375 * sysdeps/sh/init-first.c: File removed.
18376
bec749fd
JM
183772012-10-01 Joseph Myers <joseph@codesourcery.com>
18378
18379 [BZ #14645]
18380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18381 if x * y might underflow to zero and z is zero.
18382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18383 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18384 * math/libm-test.inc (min_subnorm_value): New variable.
18385 (fma_test): Add more tests.
18386 (fma_test_towardzero): Likewise.
18387 (fma_test_downward): Likewise
18388 (fma_test_upward): Likewise.
18389 (initialize): Set min_subnorm_value.
18390
8ec5b013
JM
183912012-09-29 Joseph Myers <joseph@codesourcery.com>
18392
18393 [BZ #14638]
18394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18395 0 + 0.
18396 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18397 mode for addition resulting in exact zero.
18398 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18399 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18400 exact 0 + 0.
18401 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18403 * math/libm-test.inc (fma_test): Add more tests.
18404 (fma_test_towardzero): New function.
18405 (fma_test_downward): Likewise.
18406 (fma_test_upward): Likewise.
18407 (main): Call the new functions.
18408
b1fa802e
DM
184092012-09-28 David S. Miller <davem@davemloft.net>
18410
18411 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18412
d3b9fd9e
RM
184132012-09-28 Roland McGrath <roland@hack.frob.com>
18414
ea4d37b3
RM
18415 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18416 instead of SIGALRM.
18417
ac51c949
RM
18418 * sysdeps/gnu/_G_config.h: Moved to ...
18419 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18420 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18421 * sysdeps/generic/_G_config.h: ... here.
18422
28c195f7
RM
18423 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18424
848917f9
RM
18425 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18426
6bacf05b
RM
18427 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18428 Conditionalize target on [libnss_test1.so-version].
18429
91363dbb
RM
18430 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18431
cc87f7d8
RM
18432 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18433 (elfobjdir): Move out of conditionals.
18434
b1c608fe
RM
18435 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18436 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18437 (__nss_lookup_function): Conditionalize label remove_from_tree on
18438 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18439
1d9a6d96
DM
184402012-09-28 David S. Miller <davem@davemloft.net>
18441
18442 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18443 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18444 file.
18445 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18446 sysdep_routines.
18447 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18449 when HWCAP_SPARC_CRYPTO is present.
18450
72581615
PT
184512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18452
18453 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18454
715a900c
JL
184552012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18456
18457 [BZ #6530]
18458 * stdio-common/vfprintf.c (process_string_arg): Revert
18459 2000-07-22 change.
18460
184612011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18462
18463 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18464 for testcase.
18465 * stdio-common/tst-sprintf.c: Include <locale.h>
18466 (main): Test sprintf's handling of incomplete multibyte
18467 characters.
18468
9bac1d86
L
184692012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18470
18471 * elf/dl-runtime.c (VERSYMIDX): Removed.
18472 * elf/dl-version.c (VERSYMIDX): Likewise.
18473 * elf/do-rel.h (VERSYMIDX): Likewise.
18474 (VALIDX): Likewise.
18475 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18476 * elf/rtld.c (VALIDX): Likewise.
18477 (ADDRIDX): Likewise.
9bac1d86
L
18478 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18479 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18480 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18481 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18482 (VALIDX): Likewise.
18483 (ADDRIDX): Likewise.
9bac1d86 18484
b31606c0
PT
184852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18486
18487 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18488
11541177
JL
184892012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18490
18491 [BZ #11438]
18492 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18493 to global scope.
18494 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18495 addresses are in the same scope as 192.0.2/24.
18496 * posix/gai.conf: Document new scope table defaults.
18497
adb26fae
SP
184982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18499
18500 [BZ #5298]
18501 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18502 for ftell. Compute offsets from write pointers instead.
18503 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18504
4573c6b0
SP
185052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18506
18507 [BZ #14543]
18508 * libio/Makefile (tests): New test case tst-fseek.
18509 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18510 combination works in wide mode.
18511 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18512 state when the external buffer state changes.
18513
aa9bbfe6
DM
185142012-09-27 David S. Miller <davem@davemloft.net>
18515
18516 [BZ #14376]
18517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18518 pass reloc->r_addend in as the 'high' argument to
18519 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18520
784421e7
DM
18521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18522
c39bc8b8
PT
185232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18524
18525 * rt/tst-aio2.c: Include <pthread.h>.
18526 * rt/tst-aio3.c: Likewise.
18527
1ccc2399
SE
185282012-09-27 Steve Ellcey <sellcey@mips.com>
18529
18530 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18531
31ed4153
L
185322012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18533
25f5f885
L
18534 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18535 contents on [SHARED].
31ed4153 18536
b7bfe116
MP
185372012-09-26 Marek Polacek <polacek@redhat.com>
18538
18539 [BZ #14530]
18540 [BZ #13741]
18541 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18542 for C++ and GCC <4.3 as well as for non GCC compilers.
18543
43c4edba
MT
185442012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18545
18546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18547
6a1bf82f
RM
185482012-09-25 Roland McGrath <roland@hack.frob.com>
18549
18550 * Makefile.in (all, install): Declare with .PHONY.
18551 Reported by Michael Hope <michael.hope@linaro.org>.
18552
8ad11b9a
TMQMF
185532012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18554
18555 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18556 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18557 system header.
18558 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18559 Likewise.
18560 (sydep_routines): Add the new and the internal functions.
18561 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18562 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18564 (GLIBC_2.17): Add the new function.
18565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18566 (GLIBC_2.17): Likewise.
18567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18568 (GLIBC_2.17): Likewise.
18569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18570 (GLIBC_2.17): Likewise.
18571 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18572
7e2fca8d
AM
185732012-09-25 Alan Modra <amodra@gmail.com>
18574
18575 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18576 Add release barrier before setting once_control to say
18577 initialisation is done. Add hints on lwarx. Use macro in
18578 place of isync.
18579 (clear_once_control): Add release barrier.
18580
b87c4b24
JM
185812012-09-25 Joseph Myers <joseph@codesourcery.com>
18582
d032e0d2
JM
18583 [BZ #13629]
18584 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18585 specially.
18586 * math/s_clog10.c (__clog10): Likewise.
18587 * math/s_clog10f.c (__clog10f): Likewise.
18588 * math/s_clog10l.c (__clog10l): Likewise.
18589 * math/s_clogf.c (__clogf): Likewise.
18590 * math/s_clogl.c (__clogl): Likewise.
18591 * math/Makefile (libm-calls): Add x2y2m1.
18592 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18593 (__x2y2m1): Likewise.
18594 (__x2y2m1l): Likewise.
18595 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18596 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18597 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18598 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18599 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18600 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18601 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18602 * sysdeps/i386/fpu/libm-test-ulps: Update.
18603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18604
b87c4b24
JM
18605 [BZ #14621]
18606 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18607 int as type of variable DEPTH.
18608 (glob): Use size_t instead of int as type of variables NEWCOUNT
18609 and OLD_PATHC.
18610
6d3bf199
LD
186112012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18612
22bf5c17
LD
18613 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18614 Add s_sincosf-sse2.
18615 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18616 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18617 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18618 macros for using routine as __sincosf_ia32.
18619 Use macro for function declaration and weak_alias.
18620 * sysdeps/i386/fpu/libm-test-ulps: Update.
18621
18622 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18624
18625 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18626 subnormal argument.
18627 * math/s_cexpf.c (__cexpf): Likewise.
18628 * math/s_csinf.c (__csinf): Likewise.
18629 * math/s_csinhf.c (__csinhf): Likewise.
18630 * math/s_ctanf.c (__ctanf): Likewise.
18631 * math/s_ctanhf.c (__ctanhf): Likewise.
18632 * math/s_ccosh.c (__ccoshf): Likewise.
18633 * math/s_cexp.c (__cexpl): Likewise.
18634 * math/s_csin.c (__csin): Likewise.
18635 * math/s_csinh.c (__csinh): Likewise.
18636 * math/s_ctan.c (__ctan): Likewise.
18637 * math/s_ctanh.c (ctanh): Likewise.
18638 * math/s_ccoshl.c (__ccoshl): Likewise.
18639 * math/s_cexpl.c (__cexpl): Likewise.
18640 * math/s_csinl.c (__csinl): Likewise.
18641 * math/s_csinhl.c (__csinhl): Likewise.
18642 * math/s_ctanl.c (__ctanl): Likewise.
18643 * math/s_ctanhl.c (__ctanhl): Likewise.
18644
203e5603
JM
186452012-09-25 Joseph Myers <joseph@codesourcery.com>
18646
18647 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18648 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18649 (_IO_off_t): Define to __off_t, not _G_off_t.
18650 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18651 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18652 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18653 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18654 type of __dummy and __dummy2 fields.
18655 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18656 (_G_ssize_t): Likewise.
18657 (_G_off_t): Likewise.
18658 (_G_pid_t): Likewise.
18659 (_G_uid_t): Likewise.
18660 (_G_wchar_t): Likewise.
18661 (_G_wint_t): Likewise.
18662 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18663 (_G_ssize_t): Likewise.
18664 (_G_off_t): Likewise.
18665 (_G_pid_t): Likewise.
18666 (_G_uid_t): Likewise.
18667 (_G_wchar_t): Likewise.
18668 (_G_wint_t): Likewise.
18669 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18670 (_G_ssize_t): Likewise.
18671 (_G_off_t): Likewise.
18672 (_G_pid_t): Likewise.
18673 (_G_uid_t): Likewise.
18674 (_G_wchar_t): Likewise.
18675 (_G_wint_t): Likewise.
18676
9fab36eb
SP
186772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18678
18679 * malloc/arena.c: Include malloc-sysdep.h.
18680 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18681 is sufficient to shrink the heap or an unmap is needed.
18682 * sysdeps/generic/malloc-sysdep.h: New file. Define
18683 new function check_may_shrink_heap.
18684 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18685 new function check_may_shrink_heap.
18686
2b4f00d1
SP
186872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18688
18689 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18690 comments.
18691
9a9028b1
DL
186922012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18693
57c69bef
DL
18694 * catgets/test-gencat.sh: Add "set -e".
18695 * elf/tst-pathopt.sh: Likewise.
18696 * grp/tst_fgetgrent.sh: Likewise.
18697 * iconvdata/run-iconv-test.sh: Likewise.
18698 * intl/tst-gettext.sh: Likewise.
18699 * intl/tst-gettext2.sh: Likewise.
18700 * intl/tst-gettext4.sh: Likewise.
18701 * intl/tst-gettext6.sh: Likewise.
18702 * intl/tst-translit.sh: Likewise.
18703 * io/ftwtest-sh: Likewise.
18704 * libio/test-freopen.sh: Likewise.
18705 * malloc/tst-mtrace.sh: Likewise.
18706 * posix/globtest.sh: Likewise.
18707 * posix/tst-getconf.sh: Likewise.
18708 * posix/wordexp-tst.sh: Likewise.
18709 * stdio-common/tst-printf.sh: Likewise.
18710 * stdio-common/tst-unbputc.sh: Likewise.
18711 * stdlib/tst-fmtmsg.sh: Likewise.
18712 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18713 * catgets/Makefile: Do not specify -e option when running
18714 testsuite shell scripts.
18715 * elf/Makefile: Likewise.
18716 * grp/Makefile: Likewise.
18717 * iconvdata/Makefile: Likewise.
18718 * intl/Makefile: Likewise.
18719 * io/Makefile: Likewise.
18720 * libio/Makefile: Likewise.
18721 * malloc/Makefile: Likewise.
18722 * posix/Makefile: Likewise.
18723 * stdio-common/Makefile: Likewise.
18724 * stdlib/Makefile: Likewise.
18725 * sysdeps/x86_64/Makefile: Likewise.
18726
9a9028b1
DL
18727 * io/ftwtest-sh: Add copyright header.
18728 * posix/globtest.sh: Likewise.
18729 * posix/tst-getconf.sh: Likewise.
18730 * posix/wordexp-tst.sh: Likewise.
18731 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18732
ced6f16e
L
187332012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18734
94b32c39
L
18735 [BZ #13679]
18736 * Makeconfig (+link): Defined as $(+link-static) if
18737 $(build-shared) isn't yes.
18738 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18739 isn't yes.
18740 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18741
189e935b
L
18742 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18743
ced6f16e
L
18744 [BZ #14562]
18745 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18746 new chunk size with MALLOC_ALIGN_MASK.
18747
a9f8e53a
JM
187482012-09-24 Joseph Myers <joseph@codesourcery.com>
18749
18750 [BZ #5044]
18751 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18752 <rounding-mode.h>.
18753 (__printf_fphex): Determine rounding using get_rounding_mode and
18754 round_away.
18755 * stdio-common/tst-printf-round.c (struct hex_test): New
18756 structure.
18757 (hex_tests): New variable.
18758 (test_hex_in_one_mode): New function.
18759 (do_test): Also run tests for hex float output.
18760
43153109
JM
187612012-09-21 Joseph Myers <joseph@codesourcery.com>
18762
18763 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18764 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18765 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18766 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18767 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18768 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18769 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18770 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18771
8a26625d
JM
187722012-09-20 Joseph Myers <joseph@codesourcery.com>
18773
18774 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18775 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18776 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18777 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18778
f3fd569c
DL
187792012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18780
18781 [BZ #14579]
18782 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18783 mode only.
18784 * elf/tst-rtld-load-self.sh: New test.
18785 * elf/Makefile: Run it.
18786
63bbedd4
JM
187872012-09-18 Joseph Myers <joseph@codesourcery.com>
18788
18789 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18790 (tst-writev-ENV): Remove.
18791 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18792
626f8b6a
CM
187932012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18794
18795 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18796
b7aaa4d6
JM
187972012-09-17 Joseph Myers <joseph@codesourcery.com>
18798
18799 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18800 unconditional.
18801 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18802 Likewise.
18803 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18804 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18805 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18806 Likewise.
18807
65513990
L
188082012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18809
18810 [BZ #14587]
18811 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18812 * config.make.in (have-cpp-asm-debuginfo): Removed.
18813 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18814 * configure: Regenerated.
18815
784761be
JM
188162012-09-14 Joseph Myers <joseph@codesourcery.com>
18817
18818 [BZ #5044]
18819 * stdio-common/printf_fp.c: Include <stdbool.h> and
18820 <rounding-mode.h>.
18821 (___printf_fp): Determine rounding using get_rounding_mode and
18822 round_away.
18823 * stdio-common/tst-printf-round.c: New file.
18824 * stdio-common/Makefile (tests): Add tst-printf-round.
18825 (link-libm): New variable.
18826 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18827
9503345f
L
188282012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18829
18830 [BZ #14576]
18831 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18832 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18833 Likewise.
18834 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18835 Likewise.
18836
ad35fc00
JM
188372012-09-13 Joseph Myers <joseph@codesourcery.com>
18838
18839 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18840 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18841 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18842 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18843
6c9b0f68
JM
188442012-09-12 Joseph Myers <joseph@codesourcery.com>
18845
18846 [BZ #14518]
18847 * include/rounding-mode.h: New file.
18848 * sysdeps/generic/get-rounding-mode.h: Likewise.
18849 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18850 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18851 (MAX_VALUE): New macro.
18852 (MIN_VALUE): Likewise.
18853 (overflow_value): New function.
18854 (underflow_value): Likewise.
18855 (round_and_return): Use overflow_value and underflow_value to
18856 determine return values in overflow and underflow cases. Use
18857 round_away to determine rounding depending on rounding mode.
18858 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18859 determine return values in overflow and underflow cases.
18860 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18861 (struct test_results): New structure.
18862 (struct test): Use struct test_results to store expected results
18863 for all rounding modes.
18864 (TEST): Include expected results for all rounding modes.
18865 (test_in_one_mode): New function.
18866 (do_test): Use test_in_one_mode to compute and check results.
18867 Check results for all rounding modes.
18868 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18869 $(link-libm).
18870
19fcedd5
AM
188712012-12-09 Allan McRae <allan@archlinux.org>
18872
1e9d84cd 18873 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18874
8bbfd2f1
JM
188752012-09-11 Joseph Myers <joseph@codesourcery.com>
18876
18877 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18878 (_G_int32_t): Likewise.
18879 (_G_uint16_t): Likewise.
18880 (_G_uint32_t): Likewise.
18881 (_G_HAVE_BOOL): Likewise.
18882 (_G_HAVE_ATEXIT): Likewise.
18883 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18884 (_G_HAVE_IO_FILE_OPEN): Likewise.
18885 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18886 (_G_int32_t): Likewise.
18887 (_G_uint16_t): Likewise.
18888 (_G_uint32_t): Likewise.
18889 (_G_HAVE_BOOL): Likewise.
18890 (_G_HAVE_ATEXIT): Likewise.
18891 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18892 (_G_HAVE_IO_FILE_OPEN): Likewise.
18893 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18894 (_G_int32_t): Likewise.
18895 (_G_uint16_t): Likewise.
18896 (_G_uint32_t): Likewise.
18897 (_G_HAVE_BOOL): Likewise.
18898 (_G_HAVE_ATEXIT): Likewise.
18899 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18900 (_G_HAVE_IO_FILE_OPEN): Likewise.
18901
b1dc5912
L
189022012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18903
18904 * csu/libc-tls.c: Update copyright years.
18905
0e886ef9
JM
189062012-09-10 Joseph Myers <joseph@codesourcery.com>
18907
28361c5e
JM
18908 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18909 [!_G_USING_THUNKS]: Remove conditional code.
18910 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18911 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18912
0e886ef9
JM
18913 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18914 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18915 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18916 (_G_VTABLE_LABEL_PREFIX): Likewise.
18917 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18918 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18919 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18920 (_G_VTABLE_LABEL_PREFIX): Likewise.
18921 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18922 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18923 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18924 (_G_VTABLE_LABEL_PREFIX): Likewise.
18925 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18926
bcba7aa2
L
189272012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18928
18929 * libio/Makefile: Include ../Makeconfig before tests.
18930 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18931 only if $(build-shared) is yes.
18932
06585ee8
L
18933 * iconv/gconv_db.c: Update copyright years.
18934
80ccd52c
LD
189352012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18936
18937 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18938 unwind info if defined PIC. Fix special cases description.
18939 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18940
18941 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18942 DP_HI_MASK entry.
18943 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18944
691bc9c1
L
189452012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18946
3d9b46b3
L
18947 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18948
de2139a9
L
18949 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18950 is NULL.
18951
5ca78dd0
L
18952 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18953 (LDLIBS-tst-chk4): This.
18954 (LDFLAGS-tst-chk5): Renamed to ...
18955 (LDLIBS-tst-chk5): This.
18956 (LDFLAGS-tst-chk6): Renamed to ...
18957 (LDLIBS-tst-chk6): This.
18958 (LDFLAGS-tst-lfschk4): Renamed to ...
18959 (LDLIBS-tst-lfschk4): This.
18960 (LDFLAGS-tst-lfschk5): Renamed to ...
18961 (LDLIBS-tst-lfschk5): This.
18962 (LDFLAGS-tst-lfschk6): Renamed to ...
18963 (LDLIBS-tst-lfschk6): This.
18964
691bc9c1
L
18965 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18966 on $(common-objpfx)soversions.mk.
18967
65cafb1c
JM
189682012-09-07 Joseph Myers <joseph@codesourcery.com>
18969
18970 [BZ #10014]
18971 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18972 example host name.
18973
c78ab094
SP
189742012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18975
18976 * malloc/arena.c (arena_get_retry): New function that gets
18977 another arena for the caller to try its request on.
18978 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18979 current arena cannot fulfill the request.
18980 (__libc_memalign): Likewise.
18981 (__libc_memalign): Likewise.
18982 (__libc_pvalloc): Likewise.
18983 (__libc_calloc): Likewise.
18984
01f49f59
JT
189852012-09-05 John Tobey <john.tobey@gmail.com>
18986
18987 [BZ #13542]
18988 * manual/arith.texi (Operations on Complex): Fix description
18989 of carg branch cut.
18990
4c23fed5
JM
189912012-09-06 Joseph Myers <joseph@codesourcery.com>
18992
1d3c8572
JM
18993 [BZ #10014]
18994 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18995 host name.
18996
4c23fed5
JM
18997 [BZ #10038]
18998 * manual/memory.texi (Memory): Make order of menu items match
18999 order of sections.
19000
04570aaa
L
190012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19002
19003 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19004 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19005 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19006
b80af2f4
L
190072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19008
19009 * csu/libc-tls.c (static_dtv): Renamed to ...
19010 (_dl_static_dtv): This. Make it global.
19011 (_dl_initial_dtv): Removed.
19012 (__libc_setup_tls): Updated.
19013 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19014 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19015 DL_INITIAL_DTV.
19016
2abe9f15
PM
190172012-09-06 Petr Machata <pmachata@redhat.com>
19018
19019 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19020 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19021 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19022 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19023
0948c3af
L
190242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19025
19026 [BZ #14545]
19027 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19028 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19029 freeing dtv[-1].
19030
a5055ad1
L
190312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19032
19033 [BZ #14544]
19034 * Makeconfig (link-static-before-libc): Replace $(+prector)
19035 with $(+prectorT).
19036 (link-static-after-libc): Replace $(+postctor) with
19037 $(+postctorT).
19038 (link-bounded): Replace $(+prector)/$(+postctor) with
19039 $(+prectorT)/$(+postctorT).
19040 (+prectorT): New macro.
19041 (+postctorT): Likewise.
19042
ed8c2ecd
JM
190432012-09-06 Joseph Myers <joseph@codesourcery.com>
19044
19045 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19046 (round_str): Handle values above the maximum for IBM long double
19047 as inexact.
19048 * stdlib/tst-strtod-round.c (tests): Regenerated.
19049
14c996c8
AK
190502012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19051
19052 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19053 assembler flag.
19054 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19055 zarch_nohighgprs around the zarch optimized routines.
19056 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19057 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19058 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19059 for zarch.
19060
430d6ce6
DM
190612012-09-05 David S. Miller <davem@davemloft.net>
19062
19063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19064
ff04dda4
DM
19065 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19066 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19067 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19068 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19069 entries.
19070
24d4e01b
AO
190712012-09-05 Alexandre Oliva <aoliva@redhat.com>
19072
19073 * malloc/arena.c: Fold copyright years.
19074 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19075
61d58174
AO
190762012-09-05 Alexandre Oliva <aoliva@redhat.com>
19077
19078 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19079
20196a5e
AO
190802012-09-05 Alexandre Oliva <aoliva@redhat.com>
19081
19082 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19083
5c447383
AO
190842012-09-05 Alexandre Oliva <aoliva@redhat.com>
19085
19086 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19087 change internal state upon failure.
19088
fad64255
AO
190892012-09-05 Alexandre Oliva <aoliva@redhat.com>
19090
19091 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19092 * malloc/memusage.c (mmap): Likewise.
19093 (mmap64, mremap): Likewise. Adjust name in comment.
19094
1ffb8c90
SP
190952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19096
19097 * libio/fileops.c: Fix typos in comments.
19098 * libio/oldfileops.c: Likewise.
19099 * libio/wfileops.c: Likewise.
19100
6ef9cc37
SP
191012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19102
19103 [BZ #1349]
19104 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19105 (tst-malloc-usable-ENV): Set environment for test case.
19106 * malloc/hooks.c (malloc_check_get_size): New function to get
19107 requested size.
19108 * malloc/malloc.c (musable): Use malloc_check_get_size.
19109 * malloc/tst-malloc-usable.c: New test case.
19110
4d038ae3
AS
191112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19112
19113 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19114
c4e85184
AM
191152012-09-05 Allan McRae <allan@archlinux.org>
19116
b9dafc56 19117 [BZ #13966]
c4e85184
AM
19118 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19119 determine header location.
19120 * configure: Regenerated.
19121
e1343020
AS
191222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19123
19124 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19125 float format.
19126 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19127 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19128 format.
e1343020
AS
19129 (test): Regenerate.
19130
0a9f1987
DM
191312012-09-04 David S. Miller <davem@davemloft.net>
19132
19133 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19134 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19135 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19136
29237804
FW
191372012-09-04 Florian Weimer <fweimer@redhat.com>
19138
19139 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19140 failures.
19141
edb3cb88
FW
19142 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19143
60160d83
JM
191442012-09-04 Joseph Myers <joseph@codesourcery.com>
19145
19146 [BZ #9914]
19147 * libio/iogetdelim.c: Include <limits.h>.
19148 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19149 + len + 1 would overflow.
19150
bcd6c8dc
AJ
191512012-09-03 Andreas Jaeger <aj@suse.de>
19152
19153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19154 * sysdeps/i386/fpu/libm-test-ulps: Update.
19155
4ffffbd2
LD
191562012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19157
19158 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19159 Add s_sinf-sse2, s_conf-sse2.
19160
19161 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19162 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19163 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19164 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19165
19166 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19167 for using routine as __sinf_ia32.
19168 Use macro for function declaration and weak_alias.
19169 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19170 for using routine as __cosf_ia32.
19171 Use macro for function declaration and weak_alias.
19172
19173 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19174 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19175
19176 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19177 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19179
19180 * math/libm-test.inc (cos_test): Add more test cases.
19181 (sin_test): Likewise.
19182 (sincos_test): Likewise.
19183
511fa286
AK
191842012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19185
19186 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19187 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19188 hidden.
19189 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19190
5f30cfec
L
191912012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19192
19193 [BZ #14538]
19194 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19195 first element of the GOT.
19196 (elf_machine_load_address): Return the difference between
19197 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19198
0786794f
AM
191992012-09-01 Allan McRae <allan@archlinux.org>
19200
5f30cfec
L
19201 [BZ #13412]
19202 * configure.in (AWK): Require gawk version 3.0 or later.
19203 * configure: Regenerated.
0786794f 19204
26889eac
JM
192052012-09-01 Joseph Myers <joseph@codesourcery.com>
19206
19207 * sysdeps/unix/sysv/linux/kernel-features.h
19208 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19209 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19210 [__NR_clock_getres]: Make code unconditional.
19211 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19212 (clock_getcpuclockid): Remove code left unreachable by removal of
19213 conditionals.
19214 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19215 code unconditional.
19216 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19217 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19218 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19219 Make code unconditional.
19220 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19221 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19222 * sysdeps/unix/sysv/linux/clock_settime.c
19223 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19224 conditional code.
19225 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19226 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19227
d22e28b0
L
192282012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19229
19230 [BZ #14476]
19231 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19232 scripts/test-installation.pl.
19233
19234 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19235 and $ld_so_version if it is set.
19236
050af9c4
SP
192372012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19238
19239 [BZ #14516]
19240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19241 failure if reading from procfs failed.
19242 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19243
ad845c0b
JM
192442012-08-27 Joseph Myers <joseph@codesourcery.com>
19245
19246 * sysdeps/unix/sysv/linux/kernel-features.h
19247 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19248 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19249 Remove conditional code.
19250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19251 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19252 Remove conditional code.
19253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19254 * sysdeps/unix/sysv/linux/i386/fxstat.c
19255 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19257 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19258 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19260 * sysdeps/unix/sysv/linux/i386/lxstat.c
19261 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19263 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19264 Remove conditional code.
19265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19266 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19267 Remove conditional code.
19268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19269 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19270 <kernel-features.h>.
19271 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19272 Remove.
19273 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19274 Remove conditional code.
19275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19276 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19277 Remove conditional.
19278
5dbf56af
MF
192792012-08-27 Mike Frysinger <vapier@gentoo.org>
19280
19281 [BZ #5400]
19282 * NEWS: Add fixed bug number.
19283
d6e70f43
JM
192842012-08-27 Joseph Myers <joseph@codesourcery.com>
19285
7efb4737
JM
19286 [BZ #14519]
19287 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19288 underflowing exponent in case of negative sign.
19289 * stdlib/tst-strtod-round-data: Add more tests.
19290 * stdlib/tst-strtod-round.c (tests): Regenerated.
19291
af92131a
JM
19292 [BZ #3479]
19293 * stdlib/strtod_l.c (NDIG): Remove.
19294 (HEXNDIG): Likewise.
19295 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19296 smallest representable value.
19297 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19298 lie within an exact representation of 1/2 ulp of the result.
19299 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19300 unconditionally.
19301 (TENS_P9_IDX): Define unconditionally.
19302 (TENS_P9_SIZE): Likewise.
19303 (TENS_P10_IDX): Likewise.
19304 (TENS_P10_SIZE): Likewise.
19305 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19306 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19307 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19308 entries for 10^2^13 and 10^2^14.
19309 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19310 (TENS_P13_IDX): Define.
19311 (TENS_P13_SIZE): Likewise.
19312 (TENS_P14_IDX): Likewise.
19313 (TENS_P14_SIZE): Likewise.
19314 (_fpioconst_pow10): Change array size to
19315 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19316 unconditional.
19317 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19318 1024]: Add entries for 10^2^13 and 10^2^14.
19319 [LAST_POW10 > _LAST_POW10]: Remove #error.
19320 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19321 (_fpioconst_pow10): Change array size to
19322 FPIOCONST_POW10_ARRAY_SIZE.
19323 * stdlib/gen-fpioconst.c: New file.
19324 * stdlib/gen-tst-strtod-round.c: Likewise.
19325 * stdlib/tst-strtod-round-data: Likewise.
19326 * stdlib/tst-strtod-round.c: Likewise.
19327 * stdlib/Makefile (tests): Add tst-strtod-round.
19328
d6e70f43
JM
19329 [BZ #14459]
19330 * stdlib/strtod_l.c: Include <stdint.h>.
19331 (NDEBUG): Do not define.
19332 (round_and_return): Change EXPONENT parameter to type intmax_t.
19333 Rearrange calculations to avoid internal overflow possibilities.
19334 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19335 Rearrange calculations to avoid internal overflow possibilities.
19336 Assert that number fits inside MPNSIZE limbs.
19337 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19338 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19339 calculations and add assertions to avoid internal overflow
19340 possibilities. Add casts to avoid signed/unsigned operations.
19341 * stdlib/tst-strtod-overflow.c: New file.
19342 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19343
1f529f7d
MP
193442012-08-25 Marek Polacek <polacek@redhat.com>
19345
19346 * time/time.h: Fix some typos in comments.
19347
59a629f1
RM
193482012-08-23 Roland McGrath <roland@hack.frob.com>
19349
19350 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19351 * posix/tst-rfc3484-2.c: Likewise.
19352 * posix/tst-rfc3484-3.c: Likewise.
19353
d3bafbc9
SM
193542012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19355
19356 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19357 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19358
4efcc022
JM
193592012-08-23 Joseph Myers <joseph@codesourcery.com>
19360
19361 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19362 #include of fxstatat64.c.
19363
3cc3ef96
RM
193642012-08-22 Roland McGrath <roland@hack.frob.com>
19365
f04e2132
RM
19366 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19367 * shadow/getspent_r.c: Likewise.
19368 * shadow/getspnam.c: Likewise.
19369 * shadow/getspnam_r.c: Likewise.
19370 * gshadow/getsgent.c: Likewise.
19371 * gshadow/getsgent_r.c: Likewise.
19372 * gshadow/getsgnam.c: Likewise.
19373 * gshadow/getsgnam_r.c: Likewise.
19374 * inet/getnetbyad.c: Likewise.
19375 * inet/getnetbyad_r.c: Likewise.
19376 * inet/getnetbynm.c: Likewise.
19377 * inet/getnetbynm_r.c: Likewise.
19378 * inet/getnetent.c: Likewise.
19379 * inet/getnetent_r.c: Likewise.
19380 * inet/getproto.c: Likewise.
19381 * inet/getproto_r.c: Likewise.
19382 * inet/getprtent.c: Likewise.
19383 * inet/getprtent_r.c: Likewise.
19384 * inet/getprtname.c: Likewise.
19385 * inet/getprtname_r.c: Likewise.
19386 * inet/getrpcbyname.c: Likewise.
19387 * inet/getrpcbyname_r.c: Likewise.
19388 * inet/getrpcbynumber.c: Likewise.
19389 * inet/getrpcbynumber_r.c: Likewise.
19390 * inet/getrpcent.c: Likewise.
19391 * inet/getrpcent_r.c: Likewise.
19392 * inet/getaliasent.c: Likewise.
19393 * inet/getaliasent_r.c: Likewise.
19394 * inet/getaliasname.c: Likewise.
19395 * inet/getaliasname_r.c: Likewise.
19396 * nscd/getgrgid_r.c: Likewise.
19397 * nscd/getgrnam_r.c: Likewise.
19398 * nscd/gethstbyad_r.c: Likewise.
19399 * nscd/gethstbynm3_r.c: Likewise.
19400 * nscd/getpwnam_r.c: Likewise.
19401 * nscd/getpwuid_r.c: Likewise.
19402 * nscd/getsrvbynm_r.c: Likewise.
19403 * nscd/getsrvbypt_r.c: Likewise.
19404 * nscd/gai.c: Likewise.
19405
c53d909c
RM
19406 * configure.in (build_nscd): New substituted variable, set
19407 by --disable-build-nscd and defaults to $use_nscd.
19408 * configure: Regenerated.
19409 * config.make.in (build-nscd): New substituted variable.
19410 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19411 Change conditional to require [$(build-nscd) = yes] as well.
19412 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19413
3cc3ef96
RM
19414 [BZ# 13696]
19415 * configure.in (use_nscd): New substituted variable, set by
19416 --disable-nscd. If enabled, define USE_NSCD.
19417 * configure: Regenerated.
19418 * config.h.in: Add USE_NSCD.
19419 * config.make.in (use-nscd): New substituted variable.
19420 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19421 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19422 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19423 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19424 (CFLAGS-getgrnam_r.c): Likewise.
19425 (CFLAGS-initgroups.c): Likewise.
19426 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19427 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19428 Variables removed.
19429 * inet/getnetgrent_r.c
19430 (nscd_setnetgrent): New function, broken out of ...
19431 (setnetgrent): ... here. Call it.
19432 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19433 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19434 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19435 * nscd/Makefile (routines, aux): Move definitions after include of
19436 Makeconfig. Conditionalize on [$(use-nscd) != no].
19437 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19438 Conditionalize on [USE_NSCD].
19439 (is_nscd, nscd_init_cb): Likewise.
19440 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19441 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19442 * nss/nss_db/db-init.c: Likewise.
19443 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19444 [USE_NSCD].
19445 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19446 (make_request): Use it.
19447 (cache_valid_p): New function.
19448 (__check_pf): Use it.
19449 * NEWS: Add item for --disable-nscd.
19450
07e51550
DL
194512012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19452
19453 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19454 to support sed >= 4.2.1-20-ga9bf076.
19455 * configure: Regenerated.
19456
35a5b08b
RM
194572012-08-22 Roland McGrath <roland@hack.frob.com>
19458
19459 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19460 Conditionalize whole body on [IREL].
19461
8479f23a
JL
194622012-08-22 Jeff Law <law@redhat.com>
19463
19464 [BZ #14505]
19465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19466 if the family is PF_UNSPEC.
19467
48da0b21
MF
194682012-08-22 Mike Frysinger <vapier@gentoo.org>
19469
19470 * Makerules (lib-version): Rename from V.
19471 (install-lib-nosubdir): Change V to lib-version.
19472
15d0da8c
WS
194732012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19474
19475 [BZ #14252]
19476 * powerpc32/power6/wcschr.c: New file.
19477 * powerpc32/power6/wcscpy.c: New file.
19478 * powerpc32/power6/wcsrchr.c: New file.
19479 * powerpc64/power6/wcschr.c: New file.
19480 * powerpc64/power6/wcscpy.c: New file.
19481 * powerpc64/power6/wcsrchr.c: New file.
19482
bcca0895
MK
194832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19484
19485 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19486 (two_way_short_needle): Use it.
5a4aaa33
RM
19487 * string/strstr.c (AVAILABLE1_USES_J): Define.
19488 * string/strcasestr.c: Likewise.
99677e57
MK
19489
19490 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19491 array references.
19492 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19493
400726de
MK
19494 [BZ #11607]
19495 * NEWS: Add an entry.
19496 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19497 define their defaults.
19498 (two_way_short_needle): Detect end-of-string on-the-fly.
19499 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19500 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19501 * string/bug-strcasestr1.c: New test.
19502 * string/Makefile: Run it.
19503
20a71f2c
MK
195042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19505
19506 [BZ #11607]
19507 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19508 the first character.
19509
21ad0558
RM
195102012-08-21 Roland McGrath <roland@hack.frob.com>
19511
19512 * csu/elf-init.c (__libc_csu_irel): Function removed.
19513 * csu/libc-start.c (apply_irel): New function.
19514 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19515
0e1d9911
JM
195162012-08-21 Joseph Myers <joseph@codesourcery.com>
19517
19518 * sysdeps/unix/sysv/linux/kernel-features.h
19519 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19520 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19521 <kernel-features.h>.
19522 [__NR_fadvise64_64]: Make code unconditional.
19523 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19524 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19525 !__NR_fadvise64_64)]: Likewise.
19526 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19527 !__NR_fadvise64_64))]: Likewise.
19528 [__NR_fadvise64]: Make code unconditional.
19529 [!__NR_fadvise64]: Remove conditional code.
19530 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19531 <kernel-features.h>.
19532 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19533 unconditional.
19534 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19535 conditional code.
19536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19537 not include <kernel-features.h>.
19538 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19539 unconditional.
19540 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19541 conditional code.
19542 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19543 include <kernel-features.h>.
19544 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19545 unconditional.
19546 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19547 conditional code.
19548
14a50c9d
WS
195492012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19550
19551 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19552 slight instruction rearrangements per scrollpipe analysis.
19553 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19554
c0f4faf0
RM
195552012-08-20 Roland McGrath <roland@hack.frob.com>
19556
696da859
RM
19557 * manual/syslog.texi (syslog; vsyslog, closelog):
19558 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19559 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19560
c0f4faf0
RM
19561 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19562 DSOCAPS to match condition on defining it.
19563
348363b2
JM
195642012-08-20 Joseph Myers <joseph@codesourcery.com>
19565
a35cbf28
JM
19566 * sysdeps/unix/sysv/linux/kernel-features.h
19567 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19569 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19570 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19572 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19573 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19575 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19576 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19577
445f7ecd
JM
19578 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19579 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19580
348363b2
JM
19581 * sysdeps/unix/sysv/linux/kernel-features.h
19582 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19583 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19584 unconditional.
19585 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19586 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19587 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19588 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19589 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19590 Make code unconditional.
19591 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19592 (__mmap64) [!__NR_mmap2]: Likewise.
19593 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19594 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19595 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19596 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19597 [__NR_mmap2]: Make code unconditional.
19598 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19599 (__mmap64) [!__NR_mmap2]: Likewise.
19600
bc5bc0e5
AK
196012012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19602
19603 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19604
88d506de
AJ
196052012-08-18 Andreas Jaeger <aj@suse.de>
19606
19607 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19608
493387d2
MF
196092012-08-18 Mike Frysinger <vapier@gentoo.org>
19610
19611 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19612 * include/unistd.h (__have_sock_cloexec): Likewise.
19613 (__have_pipe2): Likewise.
19614 (__have_dup3): Likewise.
19615
a277af22
MF
196162012-08-18 Mike Frysinger <vapier@gentoo.org>
19617
19618 [BZ #9685]
19619 * include/unistd.h (__have_pipe2): Change define into an extern int.
19620 (__have_dup3): Likewise.
19621 * socket/have_sock_cloexec.c: Include fcntl.h.
19622 (__have_pipe2): New variable.
19623 (__have_dup3): Likewise.
19624
fdab8fd3
MF
196252012-08-17 Mike Frysinger <vapier@gentoo.org>
19626
19627 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19628
31035e80
MP
196292012-08-17 Marek Polacek <polacek@redhat.com>
19630
19631 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19632 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19633
3bd9e993
RM
196342012-08-17 Roland McGrath <roland@hack.frob.com>
19635
c91c505f
RM
19636 * configure.in: Add AC_SUBST for sysheaders.
19637 * configure: Regenerated.
19638 * config.make.in (sysheaders): New substituted variable.
19639
7c6f9d53
RM
19640 * sysdeps/unix/mkfifo.c: Moved ...
19641 * sysdeps/posix/mkfifo.c: ... here.
19642 * sysdeps/unix/mkfifoat.c: Moved ...
19643 * sysdeps/posix/mkfifoat.c: ... here.
19644
19645 * sysdeps/unix/utime.c: Moved ...
19646 * sysdeps/posix/utime.c: ... here.
19647
19648 * sysdeps/unix/time.c: Moved ...
19649 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19650 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19651 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19652
19653 * sysdeps/unix/nice.c: Moved ...
19654 * sysdeps/posix/nice.c: ... here.
19655
19656 * sysdeps/unix/alarm.c: Moved ...
19657 * sysdeps/posix/alarm.c: ... here.
19658
3bd9e993
RM
19659 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19660
d1f09384
JL
196612012-08-17 Jeff Law <law@redhat.com>
19662
19663 * intl/Makefile (codeset_mo): New variable.
19664 ($(codeset_mo)): New target.
19665 (tst-codeset.out): Depend on that. Remove explicit rule.
19666 (tst-gettext3.out, tst-gettext5.out): Likewise.
19667 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19668 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19669 * intl/tst-codeset.sh: Remove.
19670 * intl/tst-gettext3.sh: Likewise.
19671 * intl/tst-gettext5.sh: Likewise.
19672
2ae1ae5c
RM
196732012-08-17 Roland McGrath <roland@hack.frob.com>
19674
c31fdb83
RM
19675 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19676 * sysdeps/unix/syscalls.list: ... here.
19677
a0844057
RM
19678 * sysdeps/posix/getaddrinfo.c
19679 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19680 (gaiconf_init, gaiconf_reload): Use them.
19681 [!_STATBUF_ST_NSEC]
19682 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19683 Define using time_t rather than struct timespec.
19684
750c1f2a
RM
19685 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19686 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19687 Macros removed.
19688 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19689 [!NO_THREADS].
19690 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19691 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19692 Likewise.
19693
2ae1ae5c
RM
19694 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19695 __libc_cleanup_push argument.
19696
e66a42f5
RM
19697 * bits/param.h: New file.
19698 * misc/sys/param.h: New file.
19699 * include/sys/param.h: New file.
19700 * misc/Makefile (headers): Add bits/param.h.
19701 * sysdeps/generic/sys/param.h: File removed.
19702 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19703 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19704 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19705 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19706
b7c08a66
RM
19707 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19708 last change.
19709
b2e1c562
RM
19710 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19711 [_IO_MTSAFE_IO].
19712 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19713 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19714 New macros.
19715
c75ccd4c
RM
19716 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19717 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19718 rather than -D_IO_MTSAFE_IO conditionally.
19719 * stdio-common/Makefile (CPPFLAGS): Likewise.
19720 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19721 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19722 Use $(libio-mtsafe).
19723 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19724 of -D_IO_MTSAFE_IO.
19725 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19726 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19727 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19728 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19729 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19730 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19731 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19732 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19733 (CFLAGS-fread_u_chk.c): Likewise.
19734 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19735 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19736 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19737 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19738 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19739 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19740 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19741 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19742 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19743
19744 * libio/Makefile: Test [$(libc-reentrant) = yes]
19745 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19746
19747 * Makeconfig
19748 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19749 * sysdeps/pthread/configure: File removed.
19750 * sysdeps/pthread/Makeconfig: New file.
19751 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19752 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19753
d9195db8
GB
197542012-08-16 Gary Benson <gbenson@redhat.com>
19755
19756 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19757 unmapping the first object in a namespace.
19758
86466cd9
RM
197592012-08-16 Roland McGrath <roland@hack.frob.com>
19760
19761 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19762 (__internal_setnetgrent): ... this. Add internal_function to
19763 definition. Add libc_hidden_def.
19764 (setnetgrent): Update caller.
19765 (internal_endnetgrent): Renamed to ...
19766 (__internal_endnetgrent): ... this. Add internal_function to
19767 definition. Add libc_hidden_def.
19768 (endnetgrent): Update caller.
19769 (internal_getnetgrent_r): Renamed to ...
19770 (__internal_getnetgrent_r): ... this. Add internal_function to
19771 definition. Add libc_hidden_def.
19772 (__getnetgrent_r): Update caller.
19773 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19774
c3c8283c
JM
197752012-08-16 Joseph Myers <joseph@codesourcery.com>
19776
19777 * stdlib/longlong.h: Update from GCC.
19778
db1ee0a8
RM
197792012-08-16 Roland McGrath <roland@hack.frob.com>
19780
19781 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19782 on _QL, which is set by umul_ppmm but never used.
19783 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19784 variables, which are set by GMP macros but never used.
19785 * stdio-common/_itowa.c (_itowa): Likewise.
19786 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19787 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19788
30f69637
CD
197892012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19790
19791 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19792 struct La_sh_regs is not constant.
19793 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19794 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19795 and struct La_sparc64_regs are not constant.
19796
93a78ac4
JM
197972012-08-16 Joseph Myers <joseph@codesourcery.com>
19798
19799 * sysdeps/unix/sysv/linux/kernel-features.h
19800 (__ASSUME_POSIX_TIMERS): Remove.
19801 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19802 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19803 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19804 Make code unconditional.
19805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19806 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19807 Make code unconditional.
19808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19809 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19810 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19812 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19813 Make code unconditional.
19814 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19815 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19816 (__libc_missing_posix_timers): Remove.
19817
dd924cd7
RM
198182012-08-15 Roland McGrath <roland@hack.frob.com>
19819
4b4f2771
RM
19820 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19821 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19822
601c888b
RM
19823 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19824
176790a7
RM
19825 * elf/dl-sym.c: Include <stdlib.h>.
19826
329bc018
RM
19827 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19828 constants, which avoids warnings in 32-bit builds.
19829
e04e272d
RM
19830 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19831 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19832
952bf94a
RM
19833 * misc/lseek.c: File moved to ...
19834 * io/lseek.c: ... here.
19835
7c99b50a
RM
19836 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19837
dd924cd7
RM
19838 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19839 shifting LEN more than 31 bits at once.
19840
b3f479a8
LD
198412012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19842
19843 [BZ #14195]
8c4ae0d4
RM
19844 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19845 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19846 * string/test-strncasecmp.c (check1): Renamed to...
19847 (bz12205): ...this.
19848 (bz14195): Add new testcase for two empty input strings and N > 0.
19849 (test_main): Call new testcase, adapt for renamed function.
19850
9c55864e
AJ
198512012-08-15 Andreas Jaeger <aj@suse.de>
19852
19853 [BZ #14090]
19854 * crypt/md5test2.c: New test, based on test supplied by Serge
19855 Belyshev <belyshev@depni.sinp.msu.ru>.
19856 * crypt/Makefile (xtests): Add md5test-giant..
19857 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19858
02dcb6c5
PE
198592012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19860
19861 [BZ #14090]
19862 * crypt/md5.c (md5_process_block): Don't assume the buffer
19863 length is less than 2**32.
19864 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19865 length is less than 2**64.
19866
a3f95dcc
RM
198672012-08-15 Roland McGrath <roland@hack.frob.com>
19868
be75d758
RM
19869 * string/str-two-way.h: Include <sys/param.h>.
19870 (MAX): Macro removed.
19871
7312ca90
RM
19872 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19873 Move #define and #undef of memmove to just before and after
19874 including <string.h>.
19875
9a0a5486
RM
19876 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19877 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19878 and after including <string.h>. Move declarations of
19879 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19880 to before #include "string/memmove.c".
19881
67cc348d
RM
19882 * include/dirent.h: Declare __getdirentries.
19883
a3f95dcc
RM
19884 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19885 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19886
ca98e171
MF
198872012-08-14 Mike Frysinger <vapier@gentoo.org>
19888
19889 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19890 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19891 * sysdeps/i386/configure: Regenerated.
19892 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19893 STABS_CURRENT_FILE, and STABS_FUN.
19894 (END): Remove call to STABS_FUN_END.
19895 (STABS_CURRENT_FILE1): Delete.
19896 (STABS_CURRENT_FILE): Likewise.
19897 (STABS_FUN): Likewise.
19898 (STABS_FUN_END): Likewise.
19899 (STABS_FUN2): Likewise.
19900 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19901 * sysdeps/x86_64/configure: Regenerated.
19902
5908bf46
RM
199032012-08-14 Roland McGrath <roland@hack.frob.com>
19904
19905 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19906 * elf/dl-lookup.c: Likewise.
5908bf46 19907
f2c05b9e
JM
199082012-08-14 Joseph Myers <joseph@codesourcery.com>
19909
19910 * sysdeps/unix/sysv/linux/kernel-features.h
19911 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19912 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19913 unconditionally.
19914 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19915 unconditionally.
19916 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19917 condition on __ASSUME_CLONE_THREAD_FLAGS.
19918
e11f5155
AJ
199192012-08-14 Andreas Jaeger <aj@suse.de>
19920
19921 * sysdeps/i386/fpu/libm-test-ulps: Update.
19922
51a9ba86
MK
199232012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19924
2fdd4f78
AJ
19925 * include/atomic.h (atomic_exchange_and_add): Split into ...
19926 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19927 New atomic macros.
51a9ba86 19928
ba6cba9e
MT
199292012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19930
19931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19932
42443a47
JL
199332012-08-13 Jeff Law <law@redhat.com>
19934
19935 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19936 null byte in the output string.
19937
121dce05
JM
199382012-08-10 Joseph Myers <joseph@codesourcery.com>
19939
19940 * sysdeps/unix/sysv/linux/kernel-features.h
19941 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19942 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19943 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19944 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19945 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19946 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19947 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19948
bf51f568
JL
199492012-08-09 Jeff Law <law@redhat.com>
19950
19951 [BZ #13939]
19952 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19953 When avoid_arena is set, don't retry in the that arena. Pick the
19954 next one, whatever it might be.
19955 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19956 (arena_lock): Pass in new parameter to arena_get2.
19957 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19958 arena_get2.
19959 (__libc_malloc): Unify retrying after main arena failure with
19960 __libc_memalign version.
19961 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19962
f85fa270
L
199632012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19964
19965 [BZ #14166]
19966 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19967 to __redirect_strstr.
19968 (__strstr_sse42): Use typeof __redirect_strstr.
19969 (__strstr_ia32): Likewise.
19970 (__libc_strstr): New prototype.
19971 (strstr): Renamed to ...
19972 (__libc_strstr): This.
19973 (strstr): New strong alias of __libc_strstr.
19974 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19975 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19976 __redirect_time.
19977 Include <time.h>.
19978 (__libc_time): New prototype.
19979 (time_ifunc): Replace time with __libc_time.
19980 (time): New strong alias and hidden definition of __libc_time.
19981 (__GI_time): Remove strong alias.
19982 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19983 Include <stddef.h>.
19984 (memmove): Redefined to __redirect_memmove.
19985 (__memmove_sse2): Use typeof __redirect_memmove.
19986 (__memmove_ssse3): Likewise.
19987 (__memmove_ssse3_back): Likewise.
19988 (__libc_memmove): New prototype.
19989 (memmove): Renamed to ...
19990 (__libc_memmove): This.
19991 (memmove): New strong alias of __libc_memmove.
19992
33b4a91e
MS
199932012-08-08 Mark Salter <msalter@redhat.com>
19994
19995 * elf/elf.h
19996 (R_MN10300_TLS_GD): Define.
19997 (R_MN10300_TLS_LD): Likewise.
19998 (R_MN10300_TLS_LDO): Likewise.
19999 (R_MN10300_TLS_GOTIE): Likewise.
20000 (R_MN10300_TLS_IE): Likewise.
20001 (R_MN10300_TLS_LE): Likewise.
20002 (R_MN10300_TLS_DTPMOD): Likewise.
20003 (R_MN10300_TLS_DTPOFF): Likewise.
20004 (R_MN10300_TLS_TPOFF): Likewise.
20005 (R_MN10300_SYM_DIFF): Likewise.
20006 (R_MN10300_ALIGN): Likewise.
20007 (R_MN10300_NUM): Update.
20008
b36137f1
JM
200092012-08-08 Joseph Myers <joseph@codesourcery.com>
20010
20011 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20012 Remove.
20013
cdd915fd
RM
200142012-08-08 Roland McGrath <roland@hack.frob.com>
20015
a2433aac
RM
20016 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20017
cdd915fd
RM
20018 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20019 sysdeps/unix -> sysdeps/posix move.
20020 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20021
bf9b740a
AM
200222012-08-07 Allan McRae <allan@archlinux.org>
20023
20024 [BZ #14303]
20025 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20026 (SUNOS_CPP): Likewise.
20027 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20028 not found.
20029 (open_input): Call CPP using execvp.
20030
93df14ee
JM
200312012-08-07 Joseph Myers <joseph@codesourcery.com>
20032
20033 * sysdeps/unix/sysv/linux/kernel-features.h
20034 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20035 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20036 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20037 (__ASSUME_WAITID_SYSCALL): Likewise.
20038 * sysdeps/unix/sysv/linux/dl-execstack.c
20039 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20040 code unconditional.
20041 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20042 conditional code.
20043 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20044 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20045 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20046 code.
20047 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20048 unconditional.
20049 [__ASSUME_WAITID_SYSCALL]: Likewise.
20050 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20051
d34689de
RM
200522012-08-07 Roland McGrath <roland@hack.frob.com>
20053
a281decc
RM
20054 * sysdeps/unix/closedir.c: Renamed to ...
20055 * sysdeps/posix/closedir.c: ... here.
20056 * sysdeps/unix/dirfd.c: Renamed to ...
20057 * sysdeps/posix/dirfd.c: ... here.
20058 * sysdeps/unix/dirstream.h: Renamed to ...
20059 * sysdeps/posix/dirstream.h: ... here.
20060 * sysdeps/unix/fdopendir.c: Renamed to ...
20061 * sysdeps/posix/fdopendir.c: ... here.
20062 * sysdeps/unix/opendir.c: Renamed to ...
20063 * sysdeps/posix/opendir.c: ... here.
20064 * sysdeps/unix/readdir.c: Renamed to ...
20065 * sysdeps/posix/readdir.c: ... here.
20066 * sysdeps/unix/readdir_r.c: Renamed to ...
20067 * sysdeps/posix/readdir_r.c: ... here.
20068 * sysdeps/unix/rewinddir.c: Renamed to ...
20069 * sysdeps/posix/rewinddir.c: ... here.
20070 * sysdeps/unix/seekdir.c: Renamed to ...
20071 * sysdeps/posix/seekdir.c: ... here.
20072 * sysdeps/unix/telldir.c: Renamed to ...
20073 * sysdeps/posix/telldir.c: ... here.
20074 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20075 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20076 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20077 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20078
22895b47
RM
20079 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20080 * bits/fcntl.h: ... here.
20081
707a53b6
RM
20082 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20083 not 0.
20084 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20085 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20086 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20087 (struct flock): Move l_start, l_len to the beginning.
20088 Use __pid_t for l_pid.
20089 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20090 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20091 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20092 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20093 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20094 [__USE_LARGEFILE64] (struct flock64): New type.
20095 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20096
f0bd3e25
RM
20097 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20098 * bits/dirent.h: ... here.
20099
d34689de
RM
20100 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20101 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20102
6dad2c06
JM
201032012-08-07 Joseph Myers <joseph@codesourcery.com>
20104
20105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20106 Change from 2.6.0 to 2.6.16.
20107 * sysdeps/unix/sysv/linux/configure: Regenerated.
20108 * sysdeps/unix/sysv/linux/kernel-features.h
20109 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20110 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20111 version.
20112 (__ASSUME_UTIMES): Likewise.
20113 (__ASSUME_CLONE_STOPPED): Remove.
20114 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20115 architectures, not kernel version.
20116 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20117 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20118 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20119 (__ASSUME_WAITID_SYSCALL): Likewise.
20120 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20121 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20122 * README: State 2.6.16 as minimum Linux kernel version. Do not
20123 refer to older versions.
20124
03af9520
RM
201252012-08-06 Roland McGrath <roland@hack.frob.com>
20126
8e49df1d
RM
20127 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20128 Define alphasort64 as an alias.
20129 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20130 Define versionsort64 as an alias.
20131 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20132 Define scandir64 as an alias.
20133 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20134 Define scandirat64 as an alias.
20135 * dirent/alphasort64.c (alphasort64):
20136 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20137 * dirent/versionsort64.c: Likewise.
20138 * dirent/scandir64.c: Likewise.
20139 * dirent/scandirat64.c: Likewise.
20140 * sysdeps/wordsize-64/alphasort.c: File removed.
20141 * sysdeps/wordsize-64/alphasort64.c: File removed.
20142 * sysdeps/wordsize-64/scandir.c: File removed.
20143 * sysdeps/wordsize-64/scandir64.c: File removed.
20144 * sysdeps/wordsize-64/scandirat.c: File removed.
20145 * sysdeps/wordsize-64/scandirat64.c: File removed.
20146 * sysdeps/wordsize-64/versionsort.c: File removed.
20147 * sysdeps/wordsize-64/versionsort64.c: File removed.
20148 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20149 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20150 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20151 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20152 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20153 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20154 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20155 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20156
20157 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20158 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20159 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20160 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20161 [defined __arch64__ || defined __sparcv9]
20162 (__INO_T_MATCHES_INO64_T): New macro.
20163 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20164 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20165 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20166 * sysdeps/unix/sysv/linux/bits/dirent.h
20167 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20168 (_DIRENT_MATCHES_DIRENT64): New macro.
20169
03af9520
RM
20170 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20171 Define lockf64 as an alias.
20172 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20173 Define fseeko64 as an alias.
20174 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20175 Define ftello64 as an alias.
20176 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20177 Define _IO_fgetpos64 and fgetpos64 as aliases.
20178 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20179 Define _IO_fsetpos64 and fsetpos64 as aliases.
20180 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20181 Conditionalize body on this.
20182 * libio/fseeko64.c: Likewise.
20183 * libio/ftello64.c: Likewise.
20184 * libio/iofgetpos64.c: Likewise.
20185 * libio/iofsetpos64.c: Likewise.
20186 * sysdeps/wordsize-64/lockf.c: File removed.
20187 * sysdeps/wordsize-64/lockf64.c: File removed.
20188 * sysdeps/wordsize-64/fseeko.c: File removed.
20189 * sysdeps/wordsize-64/fseeko64.c: File removed.
20190 * sysdeps/wordsize-64/ftello.c: File removed.
20191 * sysdeps/wordsize-64/ftello64.c: File removed.
20192 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20193 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20194 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20195 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20196 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20197 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20198 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20199 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20200 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20201 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20202 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20203 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20204 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20205 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20206
20207 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20209 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20211 [defined __arch64__ || defined __sparcv9]
20212 (__OFF_T_MATCHES_OFF64_T): New macro.
20213 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20214 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20215 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20216 (__OFF_T_MATCHES_OFF64_T): New macro.
20217
c5757acd
L
202182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20219
20220 * stdlib/secure-getenv.c (__secure_getenv): Replace
20221 GLIBC_2_16 with GLIBC_2_17.
20222
3a31811e
L
202232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20224
20225 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20226 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20227
faa2bccb
DM
202282012-08-03 David S. Miller <davem@davemloft.net>
20229
20230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20231
85fe1997
JM
202322012-08-03 Joseph Myers <joseph@codesourcery.com>
20233
20234 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20235 Remove.
20236 (__ASSUME_CORRECT_SI_PID): Likewise.
20237 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20238 (__ASSUME_TMPFS_NAME): Likewise.
20239 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20240 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20241 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20242 (HAVE_AUX_SECURE): Make definition unconditional.
20243 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20244 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20245
4f75b7a0
RM
202462012-08-03 Roland McGrath <roland@hack.frob.com>
20247
20248 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20249 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20250 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20251 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20252 __eloop_threshold instead of SYMLOOP_MAX.
20253
20254 * sysdeps/generic/eloop-threshold.h: New file.
20255 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20256 of MAXSYMLINKS.
20257 * elf/chroot_canon.c (chroot_canon): Likewise.
20258
7aab07e4
JM
202592012-08-03 Joseph Myers <joseph@codesourcery.com>
20260
20261 [BZ #13717]
20262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20263 Change to 2.6.0 everywhere.
20264 * sysdeps/unix/sysv/linux/configure: Regenerated.
20265 * sysdeps/unix/sysv/linux/kernel-features.h
20266 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20267 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20268 kernel versions.
20269 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20270 (__ASSUME_FUTEX_REQUEUE): Remove.
20271 (__ASSUME_STATFS64): Define unconditionally.
20272 (__ASSUME_AT_SECURE): Likewise.
20273 (__ASSUME_CORRECT_SI_PID): Likewise.
20274 (__ASSUME_TGKILL): Define without depending on kernel version for
20275 i386.
20276 (__ASSUME_UTIMES): Likewise.
20277 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20278 kernel version.
20279 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20280 (__ASSUME_TMPFS_NAME): Likewise.
20281 * README: Update reference to Linux kernel versions.
20282
b67e9372
MP
202832012-08-02 Marek Polacek <polacek@redhat.com>
20284
1f529f7d 20285 [BZ# 14150]
b67e9372
MP
20286 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20287 libc_cv_asm_type_prefix with %.
20288 * configure: Regenerated.
d2441631
RM
20289 * include/libc-symbols.h: Remove comment about
20290 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20291 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20292 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20293 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20294 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20295 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20296 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20297 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20298 * elf/tst-unique2mod1.c: Likewise.
20299 * elf/tst-unique1mod2.c: Likewise.
20300 * elf/tst-unique1mod1.c: Likewise.
20301 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20302 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20303 Replace ASM_TYPE_DIRECTIVE with .type.
20304 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20305 * sysdeps/i386/sysdep.h: Likewise.
20306 * sysdeps/x86_64/sysdep.h: Likewise.
20307 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20309 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20310 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20311 * sysdeps/powerpc/powerpc32/sysdep.h:
20312 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20313 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20314 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20315 * sysdeps/i386/fpu/e_powf.S: Likewise.
20316 * sysdeps/i386/fpu/e_expl.S: Likewise.
20317 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20318 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20319 * sysdeps/i386/fpu/e_pow.S: Likewise.
20320 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20321 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20322 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20323 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20324 * sysdeps/i386/fpu/e_log2.S: Likewise.
20325 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20326 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20327 * sysdeps/i386/fpu/e_powl.S: Likewise.
20328 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20329 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20330 * sysdeps/i386/fpu/e_logl.S: Likewise.
20331 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20332 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20333 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20334 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20335 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20336 * sysdeps/i386/fpu/e_log.S: Likewise.
20337 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20338 * sysdeps/i386/fpu/e_logf.S: Likewise.
20339 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20340 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20341 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20342 * sysdeps/i386/fpu/e_log10.S: Likewise.
20343 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20344 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20345 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20346 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20347 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20348 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20349 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20350 * sysdeps/i386/i686/strtok.S: Likewise.
20351 * sysdeps/i386/i386-mcount.S: Likewise.
20352 * sysdeps/i386/strtok.S: Likewise.
20353 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20354 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20355 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20356 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20357 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20358 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20359 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20360 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20361 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20362 * sysdeps/x86_64/_mcount.S: Likewise.
20363 * sysdeps/x86_64/strtok.S: Likewise.
20364 * sysdeps/sh/_mcount.S: Likewise.
20365
2747bf9a
RM
203662012-08-01 Roland McGrath <roland@hack.frob.com>
20367
20368 * libio/iofopen.c: Include <fcntl.h>.
20369 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20370 (_IO_fopen64, fopen64): Define as aliases.
20371 * libio/iofopen64.c: Include <fcntl.h>.
20372 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20373 Conditionalize body on this.
20374 * sysdeps/wordsize-64/iofopen.c: File removed.
20375 * sysdeps/wordsize-64/iofopen64.c: File removed.
20376
3fb791b8
MP
203772012-08-01 Marek Polacek <polacek@redhat.com>
20378
20379 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20380 Use dlfcn directly instead of a variable.
20381 (binfmt-subdir): Do not define.
20382 (dlfcn): Likewise.
20383
a9f1039f
JM
203842012-08-01 Joseph Myers <joseph@codesourcery.com>
20385
23bddc06
JM
20386 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20387 Remove all definitions.
20388 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20389 <kernel-features.h>.
20390 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20391 (miss_F_GETOWN_EX): Remove all definitions.
20392 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20393 macro definition.
20394 [!__ASSUME_FCNTL64]: Remove conditional code.
20395 [__ASSUME_FCNTL64]: Make code unconditional.
20396 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20397 <kernel-features.h>.
20398 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20399 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20400 (lockf64) [__NR_fcntl64]: Make code unconditional.
20401 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20402
a9f1039f
JM
20403 * sysdeps/unix/sysv/linux/kernel-features.h
20404 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20405 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20406 Make code unconditional.
20407 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20408 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20410 [__NR_vfork]: Make code unconditional.
20411 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20412 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20414 [__NR_vfork]: Make code unconditional.
20415 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20416 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20417
09c0ee5f
RM
204182012-08-01 Roland McGrath <roland@hack.frob.com>
20419
48aec5b9
RM
20420 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20421 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20422
cd97c966
RM
20423 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20424 Define mkstemp64 as an alias.
3f55550c
RM
20425 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20426 Define mkstemps64 as an alias.
cd97c966
RM
20427 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20428 Define mkostemp64 as an alias.
b8625cfc
RM
20429 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20430 Define mkostemps64 as an alias.
cd97c966
RM
20431 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20432 Conditionalize body on this.
20433 * misc/mkostemp64.c: Likewise.
b8625cfc 20434 * misc/mkostemps64.c: Likewise.
3f55550c 20435 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20436 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20437 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20438 * sysdeps/wordsize-64/mkostemp.c: File removed.
20439 * sysdeps/wordsize-64/mkstemp.c: File removed.
20440 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20441 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20442 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20443 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20444
09c0ee5f
RM
20445 [BZ #14138]
20446 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20447 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20448 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20449 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20450
20451 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20452 compat_symbol macros from <shlib-compat.h> rather than the underlying
20453 default_symbol_version and symbol_version macros, so that DEFAULT
20454 lines in shlib-versions are respected.
20455 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20456
7e66ee51
FW
204572012-08-01 Florian Weimer <fweimer@redhat.com>
20458
20459 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20460 Declare with warn_unused_result.
20461 (setgid, setregid, setegid, setresgid): Likewise.
20462 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20463 Likewise.
20464 * WUR-REPORT: Remove set*id functions.
20465
d2a54255
PT
204662012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20467
20468 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20469
7ecdb005
RM
204702012-07-31 Roland McGrath <roland@hack.frob.com>
20471
b4180a5e 20472 [BZ #10191]
789bd351
RM
20473 * include/sys/socket.h (__libc_accept, __libc_accept4):
20474 Add attribute_hidden.
20475 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20476
40ce302d
RM
20477 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20478 use of PTR_MANGLE.
20479 * inet/getnetgrent_r.c (setup): Likewise.
20480
7ecdb005
RM
20481 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20482
e2eabb2c
DM
204832012-07-31 David S. Miller <davem@davemloft.net>
20484
20485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20486
d0419dbf
JM
204872012-07-31 Joseph Myers <joseph@codesourcery.com>
20488
20489 [BZ #13629]
20490 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20491 value between 1.0 and 2.0 and smaller part has absolute value less
20492 than 1.0.
20493 * math/s_clog10.c (__clog10): Likewise.
20494 * math/s_clog10f.c (__clog10f): Likewise.
20495 * math/s_clog10l.c (__clog10l): Likewise.
20496 * math/s_clogf.c (__clogf): Likewise.
20497 * math/s_clogl.c (__clogl): Likewise.
20498 * math/libm-test.inc (clog_test): Add more tests.
20499 (clog10_test): Likewise.
20500 * sysdeps/i386/fpu/libm-test-ulps: Update.
20501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20502
2bc13872
FW
205032012-07-31 Florian Weimer <fweimer@redhat.com>
20504
20505 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20506 Exit with zero in case no suitable GID is found, and write a
20507 message to standard error.
20508
bea9b193
RM
205092012-07-30 Roland McGrath <roland@hack.frob.com>
20510
20511 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20512 rather than to 1.
20513 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20514 (MAXPATHLEN): Removed.
20515 (NOGROUP, NODEV): New macros.
20516 (setbit, clrbit, isset, isclr): New macros.
20517 (howmany, roundup, powerof2): New macros.
20518 (DEV_BSIZE): New macro.
20519
20520 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20521 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20522
20523 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20524 definition on [!__NO_LONG_DOUBLE_MATH].
20525
20526 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20527 PTR_MANGLE and PTR_DEMANGLE.
20528
20529 * socket/accept4.c (accept4): Rename to __libc_accept4.
20530 Define accept4 as a weak alias.
20531
20532 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20533 on [_DIRENT_HAVE_D_TYPE].
20534 * io/ftw.c (ftw_dir): Likewise.
20535
20536 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20537
20538 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20539
20540 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20541 Use the BSD numbers rather than the arbitrary ones we had.
20542 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20543 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20544 (SIGXCPU, SIGXFSZ): New macros.
20545 (_NSIG): Now 32.
20546
20547 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20548 initializer on [_LIBC_REENTRANT].
20549
20550 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20551 definitions inside [_POSIX_MAPPED_FILES].
20552
20553 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20554
20555 * dirent/opendir.c: Include <fcntl.h>.
20556
20557 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20558 (__libc_getspecific): Likewise.
20559 (__libc_key_create): Likewise.
20560
20561 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20562 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20563 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20564 (tmpfile64): Define as alias.
20565 * sysdeps/wordsize-64/tmpfile.c: File removed.
20566 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20567 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20568 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20569
20570 * stdio-common/vfscanf.c: Include <stdbool.h>.
20571 * nss/makedb.c: Likewise.
20572 * stdio-common/_i18n_number.h: Likewise.
20573 * argp/argp-help.c: Likewise.
20574 * posix/wordexp.c: Likewise.
20575 * sysdeps/posix/spawni.c: Likewise.
20576 * nss/nss_files/files-initgroups.c: Likewise.
20577 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20578 * nss/nss_files/files-initgroups.c: Likewise.
20579 * nss/nss_db/db-netgrp.c: Likewise.
20580 * nss/nss_db/db-initgroups.c: Likewise.
20581 * io/fchmodat.c: Include <sys/stat.h>.
20582
20583 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20584 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20585
20586 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20587 [HAVE_MMAP].
20588
20589 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20590 Add multiple inclusion protection.
20591
e5abc686
DM
205922012-07-27 David S. Miller <davem@davemloft.net>
20593
20594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20595
815e6fa3
GB
205962012-07-27 Gary Benson <gbenson@redhat.com>
20597
20598 [BZ #14298]
20599 * elf/rtld.c: Include <stap-probe.h>.
20600 (dl_main): Added static probes "init_start" and "init_complete".
20601 * elf/dl-load.c: Include <stap-probe.h>.
20602 (lose): Take new parameter "nsid".
20603 Added static probe "map_failed".
20604 (_dl_map_object_from_fd): Pass namespace id to lose.
20605 Added static probe "map_start".
20606 (open_verify): Pass namespace id to lose.
20607 * elf/dl-open.c: Include <stap-probe.h>.
20608 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20609 and "reloc_complete".
20610 * elf/dl-close.c: Include <stap-probe.h>.
20611 (_dl_close_worker): Added static probes "unmap_start" and
20612 "unmap_complete".
20613 * elf/rtld-debugger-interface.txt: New file documenting the above.
20614
9f98c16c
RM
206152012-07-26 Roland McGrath <roland@hack.frob.com>
20616
20617 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20618 rather than a string variable.
20619 * sunrpc/rpc_main.c (h_output): Likewise.
20620 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20621
f3c22df3
PT
206222012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20623
20624 * inet/check_native.c: New file.
20625
3129cfc6
JM
206262012-07-26 Joseph Myers <joseph@codesourcery.com>
20627
da865e95
JM
20628 [BZ #13629]
20629 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20630 if larger part has absolute value 1.0.
20631 * math/s_clog10.c (__clog10): Likewise.
20632 * math/s_clog10f.c (__clog10f): Likewise.
20633 * math/s_clog10l.c (__clog10l): Likewise.
20634 * math/s_clogf.c (__clogf): Likewise.
20635 * math/s_clogl.c (__clogl): Likewise.
20636 * math/libm-test.inc (clog_test): Add more tests.
20637 (clog10_test): Likewise.
20638 * sysdeps/i386/fpu/libm-test-ulps: Update.
20639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20640
3129cfc6
JM
20641 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20642 (pltexit): Likewise.
20643 (La_regs): Likewise.
20644 (La_retval): Likewise.
20645 (int_retval): Likewise.
20646 Update #error for removed macros to refer only to definitions in
20647 tst-audit.h.
20648 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20649 macro.
20650 (pltexit): Likewise.
20651 (La_regs): Likewise.
20652 (La_retval): Likewise.
20653 (int_retval): Likewise.
20654 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20655 macro.
20656 (pltexit): Likewise.
20657 (La_regs): Likewise.
20658 (La_retval): Likewise.
20659 (int_retval): Likewise.
20660 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20661 macro.
20662 (pltexit): Likewise.
20663 (La_regs): Likewise.
20664 (La_retval): Likewise.
20665 (int_retval): Likewise.
20666 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20667 macro.
20668 (pltexit): Likewise.
20669 (La_regs): Likewise.
20670 (La_retval): Likewise.
20671 (int_retval): Likewise.
20672 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20673 macro.
20674 (pltexit): Likewise.
20675 (La_regs): Likewise.
20676 (La_retval): Likewise.
20677 (int_retval): Likewise.
20678 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20679 macro.
20680 (pltexit): Likewise.
20681 (La_regs): Likewise.
20682 (La_retval): Likewise.
20683 (int_retval): Likewise.
20684 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20685 macro definitions in tst-audit.h.
20686 * sysdeps/i386/tst-audit.h: New file.
20687 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20688 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20689 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20690 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20691 * sysdeps/sh/tst-audit.h: Likewise.
20692 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20693 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20694 * sysdeps/x86_64/tst-audit.h: Likewise.
20695
bfc07087
AJ
206962012-07-26 Andreas Jaeger <aj@suse.de>
20697
b1b2aaf8
AJ
20698 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20699 ptrace.
20700
20701 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20702 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20703 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20704 PTRACE_O_MASK.
20705 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20706 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20707 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20708
bfc07087
AJ
20709 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20710 value.
20711
20712 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20713 _sigsys.
20714 (si_call_addr, si_syscall, si_arch): Define new macro.
20715 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20716 _sigsys.
20717 (si_call_addr, si_syscall, si_arch): Define new marcro.
20718 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20719 _sigsys.
20720 (si_call_addr, si_syscall, si_arch): Define new macro.
20721 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20722 _sigsys.
20723 (si_call_addr, si_syscall, si_arch): Define new macro.
20724
89b4b02f
JM
207252012-07-25 Joseph Myers <joseph@codesourcery.com>
20726
20727 [BZ #13717]
20728 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20729 Change to 2.4.21 where previously 2.4.1.
20730 * sysdeps/unix/sysv/linux/configure: Regenerated.
20731 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20732 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20733 Linux kernel version.
20734 (__ASSUME_STD_AUXV): Remove.
20735 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20736 kernel version.
20737 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20738 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20739 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20740 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20741 (__ASSUME_NETLINK_SUPPORT): Likewise.
20742 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20743 (__no_netlink_support): Remove conditional definition.
20744 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20745 Remove.
20746 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20747 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20748 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20749 (if_nameindex_ioctl): Remove.
20750 (if_nameindex_netlink): Do not handle __no_netlink_support.
20751 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20752 code.
20753 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20754 Remove conditional code.
20755 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20756 code.
20757 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20758 unconditional.
20759 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20760 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20761 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20762 Remove.
20763 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20764 [!__ASSUME_STD_AUXV]: Remove conditional code.
20765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20766 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20767 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20769 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20770 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20771 code.
20772 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20774 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20775 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20776 conditional code.
20777 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20779 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20780 code.
20781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20782 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20783 conditional code.
20784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20785 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20786 code unconditional.
20787 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20788 conditional code.
20789 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20790 unconditional.
20791 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20792 conditional code.
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20794 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20795 unconditional.
20796 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20797 conditional code.
20798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20799 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20800 code unconditional.
20801 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20802 conditional code.
20803 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20804 unconditional.
20805 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20806 conditional code.
20807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20808 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20809 code unconditional.
20810 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20811 conditional code.
20812 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20813 unconditional.
20814 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20815 conditional code.
20816
842a39cd
AS
208172012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20818
20819 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20820 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20821 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20822 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20823 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20824 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20825 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20826 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20827 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20828 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20829 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20830 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20831 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20832 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20833 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20834 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20835 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20836 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20837 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20839 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20840 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20841 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20842
84b3fd84
FW
208432012-07-25 Florian Weimer <fweimer@redhat.com>
20844
20845 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20846 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20847 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20848 Introduce __libc_secure_getenv.
0c7936d5
FW
20849 * stdlib/Versions (2.17): Add secure_getenv
20850 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20851 * stdlib/secure-getenv.c: Rename __secure_getenv to
20852 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20853 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20854 * stdlib/tst-secure-getenv.c: New.
20855 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20856 * manual/startup.texi (Environment Access): Document
20857 secure_getenv.
84b3fd84
FW
20858 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20859 __libc_secure_getenv.
20860 * inet/ruserpass.c (ruserpass): Likewise.
20861 * malloc/mtrace.c (mtrace): Likewise.
20862 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20863 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20864 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20865 * sysdeps/posix/tempname.c: Likewise. Evaluate
20866 HAVE_SECURE_GETENV.
20867 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20868 __secure_getenv to __libc_secure_getenv.
84b3fd84 20869 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20871 Likewise.
20872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20873 Likewise.
20874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20881
56e49b71
JM
208822012-07-25 Joseph Myers <joseph@codesourcery.com>
20883
20884 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20885 (struct La_i86_retval): Likewise.
20886 (struct La_x86_64_regs): Likewise.
20887 (struct La_x86_64_retval): Likewise.
20888 (struct La_x32_regs): Likewise.
20889 (struct La_x32_retval): Likewise.
20890 (struct La_ppc32_regs): Likewise.
20891 (struct La_ppc32_retval): Likewise.
20892 (struct La_ppc64_regs): Likewise.
20893 (struct La_ppc64_retval): Likewise.
20894 (struct La_sh_regs): Likewise.
20895 (struct La_sh_retval): Likewise.
20896 (struct La_s390_32_regs): Likewise.
20897 (struct La_s390_32_retval): Likewise.
20898 (struct La_s390_64_regs): Likewise.
20899 (struct La_s390_64_retval): Likewise.
20900 (struct La_sparc32_regs): Likewise.
20901 (struct La_sparc32_retval): Likewise.
20902 (struct La_sparc64_regs): Likewise.
20903 (struct La_sparc64_retval): Likewise.
20904 (struct audit_ifaces): Remove architecture-specific pltenter and
20905 pltexit members.
20906 * sysdeps/i386/ldsodefs.h: New file.
20907 * sysdeps/powerpc/ldsodefs.h: Likewise.
20908 * sysdeps/s390/ldsodefs.h: Likewise.
20909 * sysdeps/sh/ldsodefs.h: Likewise.
20910 * sysdeps/sparc/ldsodefs.h: Likewise.
20911 * sysdeps/x86_64/ldsodefs.h: Likewise.
20912
354691b7
MP
209132012-07-25 Marek Polacek <polacek@redhat.com>
20914
20915 [BZ #6808]
20916 * math/libm-test.inc (yn_test): Add another test.
20917 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20918 to ERANGE when the result is +-Inf.
20919 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20920 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20921 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20922 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20923
bf9e2071
JM
209242012-07-24 Joseph Myers <joseph@codesourcery.com>
20925
20926 * conform/data/time.h-data (NULL): Use macro-constant. Require
20927 equal to 0.
20928 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20929 clock_t.
20930 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20931
57633811
TS
209322012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20933
20934 * configure.in <sysdeps resolving>: Correct printing
20935 Implies_before.
20936 * configure: Regenerate.
20937
c23c33b0
TS
209382012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20939
20940 * math/w_ilogb.c: Include <limits.h>.
20941 * math/w_ilogbl.c: Likewise.
20942
b5982523
JM
209432012-07-20 Joseph Myers <joseph@codesourcery.com>
20944
20945 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20946 va_copy. Document allowing for unavailable va_copy only as
20947 pre-C99 compatibility.
20948 * manual/string.texi (Copying and Concatenation): Use va_copy
20949 instead of __va_copy in concat example.
20950
ac4ea442
PT
209512012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20952
20953 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20954 (__sendto): Use create_address_port. Initialize APORT and deallocate
20955 it if not null.
20956
f98eafbd
PT
20957 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20958 with O_NOLINK passed to __file_name_lookup.
20959
898c7aab
PT
20960 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20961 with O_NOLINK passed to __file_name_lookup.
20962
0ced335a
PT
20963 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20964 negative N or less than NGIDS.
20965
b3404dbd
PT
20966 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20967 type to string_t. Set ERANGE as errno and return it if NAME is not big
20968 enough. Use memcpy instead of strncpy.
20969
0f48659e
JM
209702012-07-20 Joseph Myers <joseph@codesourcery.com>
20971
20972 * elf/Makefile (check-data): Remove.
20973 (localplt.data): New vpath directive.
20974 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20975 instead of $(check-data).
20976 * scripts/data/localplt-generic.data: Move to ...
20977 * sysdeps/generic/localplt.data: ... here.
20978 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20979 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20980 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20982 ... here.
20983 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20985 ... here.
20986 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20988 ... here.
20989 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20991 ... here.
20992 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20994 ... here.
20995 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20997 ... here.
20998
d37cbdaa
AZ
209992012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21000
21001 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21002 PPC32 and PPC64 files.
21003 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21004 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21005
46f85fc2
AK
210062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21007
21008 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21009 __makecontext_ret to ...
21010 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21011 ... here and call exit if uc_link is NULL. New file.
21012 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21013 __makecontext_ret.S.
21014 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21015 __makecontext_ret to ...
21016 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21017 ... here and call exit if uc_link is NULL. New file.
21018 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21019 __makecontext_ret.S.
21020
08f43f9b
AK
210212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21022
21023 * elf/elf.h (R_390_IRELATIVE): New definition.
21024 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21025 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21026 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21027 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21028 (elf_machine_lazy_rel): Likewise.
21029 * sysdeps/s390/dl-irel.h: New file.
21030 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21031 * sysdeps/s390/s390-64/memset.S: New asm code.
21032 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21033 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21034 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21035 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21036 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21037 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21038 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21039 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21040 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21041 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21042 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21043 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21044 * sysdeps/s390/s390-32/memset.S: New asm code.
21045 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21046
3b05db33
MP
210472012-07-17 Marek Polacek <polacek@redhat.com>
21048
21049 [BZ #14349]
21050 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21051 * sysdeps/s390/s390-64/configure.in: Likewise.
21052 * sysdeps/sparc/configure.in: Likewise.
21053 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21054 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21055 * sysdeps/i386/configure.in: Likewise.
21056 * sysdeps/x86_64/configure.in: Likewise.
21057 * sysdeps/sh/configure.in: Likewise.
21058 * sysdeps/s390/s390-32/configure: Regenerated.
21059 * sysdeps/s390/s390-64/configure: Likewise.
21060 * sysdeps/x86_64/configure: Likewise.
21061 * sysdeps/sh/configure: Likewise.
21062 * sysdeps/powerpc/powerpc64/configure: Likewise.
21063 * sysdeps/powerpc/powerpc32/configure: Likewise.
21064 * sysdeps/sparc/configure: Likwise.
21065 * sysdeps/i386/configure: Likewise.
21066
a66877c6
MP
21067 * elf/dl-open.c: Comment fixes.
21068
cfc82fd8
JM
210692012-07-17 Joseph Myers <joseph@codesourcery.com>
21070
bd29910a
JM
21071 * Makefile [CXX] (check-data): Remove.
21072 [CXX] (c++-types.data): New vpath directive.
21073 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21074 vpath. Do not allow for C++ type data being missing.
21075 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21076 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21077 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21078 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21079 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21080 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21081 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21083 ... here.
21084 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21086 ... here.
21087 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21089 ... here.
21090 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21092 ... here.
21093 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21095 ... here.
21096 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21098 ... here.
21099 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21101 ... here.
21102 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21104
cfc82fd8
JM
21105 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21106 definitions to architecture-specific files.
21107 (TLS_IE): Likewise.
21108 (TLS_LD): Likewise.
21109 (TLS_GD): Likewise.
21110 * sysdeps/i386/tls-macros.h: New file.
21111 * sysdeps/powerpc/tls-macros.h: Likewise.
21112 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21113 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21114 * sysdeps/sh/tls-macros.h: Likewise.
21115 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21116 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21117 * sysdeps/x86_64/tls-macros.h: Likewise.
21118
f7db3170
TS
211192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21120
07cbfc23
TS
21121 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21122 zero value for regular exit case.
21123
f7db3170
TS
21124 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21125 (__start_context): Preserve zero value for regular exit case.
21126
dc97c227
TS
211272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21128 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21129
21130 * manual/setjmp.texi (setcontext): Clarify normal process
21131 termination when uc_link is the null pointer.
21132 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21133 exit call.
21134
d0cd7d02
AS
211352012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21136
21137 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21138 preprocessor. Test for each exception mask separately.
21139
dd318934
AJ
211402012-07-16 Andreas Jaeger <aj@suse.de>
21141
21142 * po/ru.po: Update from translation team.
21143
8048311a
JM
211442012-07-15 Joseph Myers <joseph@codesourcery.com>
21145
21146 * conform/data/string.h-data (NULL): Use macro-constant. Require
21147 equal to 0.
21148 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21149 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21150 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21151 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21152 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21153
b637d46e
AJ
211542012-07-13 Andreas Jaeger <aj@suse.de>
21155
21156 * po/fr.po: Update from translation team.
21157
541428fe
MP
211582012-07-12 Marek Polacek <polacek@redhat.com>
21159
21160 [BZ #14173]
21161 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21162 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21163 loop condition.
21164
ec332e94
JM
211652012-07-12 Joseph Myers <joseph@codesourcery.com>
21166
21167 [BZ #13717]
21168 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21169 Change to 2.4.1 where previously 2.4.0.
21170 * sysdeps/unix/sysv/linux/configure: Regenerated.
21171 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21172 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21173 version.
21174 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21175 (__ASSUME_AT_CLKTCK): Remove.
21176 (__ASSUME_AT_PAGESIZE): Likewise.
21177 (__ASSUME_AT_XID): Likewise.
21178 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21179 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21180 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21181 unconditionally.
21182 (HAVE_AUX_PAGESIZE): Likewise.
21183 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21184 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21185 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21186
7b6e99be
JB
211872012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21188
21189 [BZ #14307]
21190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21191 the temporary buffer used to invoke __gethostbyname2_r,
21192 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21193 host_data / struct gaih_addrtuple.
21194 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21195 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21196 header file nss/nsswitch.h.
21197 * nss/nsswitch.h (global scope): Add definition of implementation
21198 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21199 resolv/nss_dns/dns-host.c).
21200
608404eb
AJ
212012012-07-11 Andreas Jaeger <aj@suse.de>
21202
21203 * po/fr.po: Update from translation team.
21204
71220aca
AJ
21205 * po/sv.po: Update from translation team
21206 * po/fr.po: Another update from translation team.
21207
28cfe843
AZ
212082012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21209
21210 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21211 for subnormals or multiply small sinh result by itself.
21212 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21214
6b90f981
DM
212152012-07-11 David S. Miller <davem@davemloft.net>
21216
21217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21218
c6825772
AS
212192012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21220
21221 [BZ #14347]
21222 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21223 (INTERNAL_MARK): Shift it here.
21224
7b8e0d49
MP
212252012-07-10 Marek Polacek <polacek@redhat.com>
21226
21227 [BZ #14151]
21228 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21229 libc_cv_asm_global_directive with .globl.
21230 * configure: Regenerated.
21231 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21232 with .globl.
21233 * sysdeps/i386/configure: Regenerated.
21234 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21235 with .globl.
21236 * sysdeps/x86_64/configure: Regenerated.
21237 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21238 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21239 * elf/tst-unique2mod2.c: Likewise.
21240 * elf/tst-unique2mod1.c: Likewise.
21241 * elf/tst-unique1mod2.c: Likewise.
21242 * elf/tst-unique1mod1.c: Likewise.
21243 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21244 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21245 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21246 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21247 * sysdeps/mach/sysdep.h: Likewise.
21248 * sysdeps/i386/sysdep.h: Likewise.
21249 * sysdeps/i386/i386-mcount.S: Likewise.
21250 * sysdeps/x86_64/_mcount.S: Likewise.
21251 * sysdeps/x86_64/sysdep.h: Likewise.
21252 * sysdeps/sh/_mcount.S: Likewise.
21253 * sysdeps/sh/sysdep.h: Likewise.
21254 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21255 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21256 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21257 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21258 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21259 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21260 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21261 * locale/localeinfo.h: Likewise.
21262 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21263 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21264
6c55cda3
RM
212652012-07-09 Roland McGrath <roland@hack.frob.com>
21266
21267 [BZ #14336]
21268 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21269 system".
21270 * manual/message.texi (The Uniforum approach): Likewise.
21271 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21272 (glibc iconv Implementation): Likewise.
21273
638a572e
JM
212742012-07-09 Joseph Myers <joseph@codesourcery.com>
21275
21276 [BZ #14337]
21277 * math/s_clog.c (__clog): Avoid scaling a value down where that
21278 could result in underflow.
21279 * math/s_clog10.c (__clog10): Likewise.
21280 * math/s_clog10f.c (__clog10f): Likewise.
21281 * math/s_clog10l.c (__clog10l): Likewise.
21282 * math/s_clogf.c (__clogf): Likewise.
21283 * math/s_clogl.c (__clogl): Likewise.
21284 * math/libm-test.inc (clog_test): Add more tests.
21285 (clog10_test): Likewise.
21286 * sysdeps/i386/fpu/libm-test-ulps: Update.
21287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21288
261f4859
AS
212892012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21290
0abaf3e4
AS
21291 [BZ #14283]
21292 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21293 by 7 not 8 to examine high bit of fractional part.
21294
261f4859
AS
21295 [BZ #14042]
21296 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21297 for call to __mcount_internal.
21298 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21299 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21300 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21301
f17ac40d
JM
213022012-07-06 Joseph Myers <joseph@codesourcery.com>
21303
9ad63c23
JM
21304 [BZ #14154]
21305 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21306 approximation for values within 0x1p-13f of an odd multiple of
21307 pi/4.
21308 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21309 exception. Add more tests.
21310 * sysdeps/i386/fpu/libm-test-ulps: Update.
21311
f17ac40d
JM
21312 [BZ #6778]
21313 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21314 inputs and return -1 for them. Do not check for +Inf in case not
21315 reachable for +Inf.
21316 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21317 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21318 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21319 and return -1 for them. Do not check for +Inf in case not
21320 reachable for +Inf.
21321 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21322 define.
21323 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21324 and return -1 for them. Do not check for +Inf in case not
21325 reachable for +Inf.
21326 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21327 spurious underflow.
21328 * sysdeps/i386/fpu/libm-test-ulps: Update.
21329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21330
fb21f89b
MF
213312012-07-06 Mike Frysinger <vapier@gentoo.org>
21332
21333 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21334
cdfe2c5e
JM
213352012-07-05 Joseph Myers <joseph@codesourcery.com>
21336
21337 [BZ #14157]
21338 [BZ #14331]
21339 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21340 could result in spurious underflow. Scale down values above
21341 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21342 * math/s_csqrtf.c (__csqrtf): Likewise.
21343 * math/s_csqrtl.c (__csqrtl): Likewise.
21344 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21345 spurious underflow.
21346 * sysdeps/i386/fpu/libm-test-ulps: Update.
21347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21348
70d35b67
AS
213492012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21350
704bc459
AS
21351 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21352 xopen-msg.sed.
21353 * catgets/xopen-msg.awk: New file.
21354 * catgets/xopen-msg.sed: Removed.
21355
70d35b67
AS
21356 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21357 po2text.sed.
21358 * intl/po2test.awk: New file.
21359 * intl/po2test.sed: Removed.
21360
ca61cf32
JM
213612012-07-04 Joseph Myers <joseph@codesourcery.com>
21362
21363 [BZ #14328]
21364 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21365 or multiply small sinh result by itself.
21366 * math/s_ctanf.c (__ctanf): Likewise.
21367 * math/s_ctanh.c (__ctanh): Likewise.
21368 * math/s_ctanhf.c (__ctanhf): Likewise.
21369 * math/s_ctanhl.c (__ctanhl): Likewise.
21370 * math/s_ctanl.c (__ctanl): Likewise.
21371 * math/libm-test.inc (ctan_test_tonearest): New function.
21372 (ctan_test_towardzero): Likewise.
21373 (ctan_test_downward): Likewise.
21374 (ctan_test_upward): Likewise.
21375 (ctanh_test_tonearest): Likewise.
21376 (ctanh_test_towardzero): Likewise.
21377 (ctanh_test_downward): Likewise.
21378 (ctanh_test_upward): Likewise.
21379 (main): Call these new functions.
21380 * sysdeps/i386/fpu/libm-test-ulps: Update.
21381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21382
ca48a46a
MF
213832012-07-03 Mike Frysinger <vapier@gentoo.org>
21384
21385 * .gitignore: Delete /ports entry.
21386
9d63d37d
AJ
213872012-07-03 Andreas Jaeger <aj@suse.de>
21388
21389 * po/bg.po: Update from translation team.
21390 * po/cs.po: Likewise.
21391 * po/de.po: Likewise.
21392 * po/hr.po: Likewise.
21393 * po/nl.pl: Likewise.
21394 * po/pl.po: Likewise.
21395 * po/vi.po: Likewise.
21396
370ca3d2
JM
213972012-07-03 Joseph Myers <joseph@codesourcery.com>
21398
95f5a9a8
JM
21399 * Makeconfig [!+link] (+link-before-libc): New variable.
21400 [!+link] (+link-after-libc): Likewise.
21401 [!+link] (+link-tests): Likewise.
21402 [!+link] (+link): Define in terms of $(+link-before-libc) and
21403 $(+link-after-libc).
21404 [!+link-static] (+link-static-before-libc): New variable.
21405 [!+link-static] (+link-static-after-libc): Likewise.
21406 [!+link-static] (+link-static-tests): Likewise.
21407 [!+link-static] (+link-static): Define in terms of
21408 $(+link-static-before-libc) and $(+link-static-after-libc).
21409 [build-shared] (link-libc-before-gnulib): New variable.
21410 [build-shared] (link-libc-tests): Likewise.
21411 [build-shared] (link-libc): Define in terms of
21412 $(link-libc-before-gnulib).
21413 [!build-shared] (link-libc-tests): New variable.
21414 (link-libc-static-tests): New variable.
21415 [!gnulib] (gnulib-arch): New variable.
21416 [!gnulib] (gnulib-tests): Likewise.
21417 [!gnulib] (static-gnulib-arch): Likewise.
21418 [!gnulib] (static-gnulib-tests): Likewise.
21419 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21420 Define with "=" instead of ":=".
21421 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21422 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21423 * Rules (binaries-all-notests): New variable.
21424 (binaries-all-tests): Likewise.
21425 (binaries-static-notests): Likewise.
21426 (binaries-static-tests): Likewise.
21427 (binaries-all): Define using $(binaries-all-notests) and
21428 $(binaries-all-tests).
21429 (binaries-static): Define using $(binaries-static-notests) and
21430 $(binaries-static-tests).
21431 (binaries-shared-tests): New variable.
21432 (binaries-shared-notests): Likewise.
21433 (binaries-shared): Remove variable.
21434 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21435 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21436 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21437 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21438 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21439 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21440 * elf/Makefile (sln-modules): New variable.
21441 (extra-objs): Add $(sln-modules:=.o).
21442 (ldconfig-modules): Add static-stubs.
21443 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21444 * elf/static-stubs.c: New file.
21445
7a845b2c
JM
21446 [BZ #14283]
21447 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21448 by 7 not 8 to examine high bit of fractional part. Use volatile
21449 variables when splitting into final array of floats if
21450 __FLT_EVAL_METHOD__ != 0.
21451 * math/libm-test.inc (cos_test): Add another test.
21452 (sin_test): Likewise.
21453 * sysdeps/i386/fpu/libm-test-ulps: Update.
21454
e2283f38
JM
21455 [BZ #14273]
21456 * math/libm-test.inc (cosh_test): Add more tests.
21457
370ca3d2
JM
21458 * version.h (RELEASE): Set to "development".
21459 (VERSION): Set to "2.16.90".
21460
ee9247c3
CD
214612012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21462
21463 * NEWS: Update copyright. Remove last-updated date.
21464 Mention math library bug fixes and timezone data changes.
21465 * README: Mention GNU/Hurd, x32, and HPPA support status.
21466
4648c381
TS
214672012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21468
21469 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21470
aac78a43
AJ
214712012-06-27 Andreas Jaeger <aj@suse.de>
21472
21473 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21474
ed3dbfad
AJ
214752012-06-25 Andreas Jaeger <aj@suse.de>
21476
21477 * sysdeps/s390/fpu/libm-test-ulps: Update.
21478
4d0ee855
AS
214792012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21480 Thomas Schwinge <thomas@codesourcery.com>
21481
21482 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21483 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21484 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21485 fanotify_mark.
21486
af1bce34
TS
214872012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21488
a9fa33ba
TS
21489 * sysdeps/mach/start.c: Remove file.
21490 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21491 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21492 * sysdeps/sh/init-first.c: Likewise.
21493
58f902b8
TS
21494 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21495 registers for frame unwinding purposes, add CFI directives.
21496 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21497 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21498 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21499 Likewise.
21500
1518f58b
TS
21501 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21502 __fortify_fail returning.
21503 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21504
db9b5059
TS
21505 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21506 sysdeps/sh/____longjmp_chk.S.
21507 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21508 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21509 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21510 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21511
967705fe
TS
21512 * sysdeps/sh/abort-instr.h: New file.
21513 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21514 process in case exit returns.
21515
a9def8c4
TS
21516 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21517 initialize the GOT register before use.
21518
2a649725
TS
21519 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21520 calculation of ARGC > 4.
21521
af1bce34
TS
21522 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21523 meaningful names to some local labels.
21524
d230f50a
KK
215252012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21526 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21527
21528 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21529 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21530 (__arch_compare_and_exchange_val_16_acq): Likewise.
21531 (__arch_compare_and_exchange_val_32_acq): Likewise.
21532 (atomic_exchange_and_add): Fix gUSA sequence.
21533 (atomic_add): Likewise.
21534 (atomic_add_negative): Likewise.
21535 (atomic_add_zero): Likewise.
21536 (atomic_bit_test_set): Likewise.
21537
0479b305
AS
215382012-06-22 Andreas Schwab <schwab@redhat.com>
21539
21540 [BZ #13579]
21541 * include/link.h (struct link_map): Add l_free_initfini.
21542 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21543 l_initfini.
21544 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21545 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21546 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21547 set.
21548
0e3933b9
CD
215492012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21550
21551 * configure.in: Use AC_LANG_SOURCE.
21552 * configure: Regenerate.
21553
4248b1b1
RM
215542012-06-22 Roland McGrath <roland@hack.frob.com>
21555
21556 * configure.in (libc_cv_localstatedir): New substituted variable.
21557 * configure: Regenerated.
21558 * config.make.in (localstatedir): New variable, substituted from
21559 libc_cv_localstatedir.
21560 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21561 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21562 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21563 * sysdeps/gnu/configure: Regenerated.
21564
006dd861
JL
215652012-06-21 Jeff Law <law@redhat.com>
21566
21567 [BZ #14277]
21568 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21569 free. Simplify list management for _LIBC case.
21570
79662d42
JM
215712012-06-21 Joseph Myers <joseph@codesourcery.com>
21572
b7abb4bf
JM
21573 [BZ #14273]
21574 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21575 Clear sign bit of 64-bit integer value before comparing against
21576 overflow value.
21577
79662d42
JM
21578 * sysdeps/mach/configure: Regenerated.
21579
1f150908
L
215802012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21581
21582 [BZ #14278]
21583 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21584
28363bbf
JL
215852012-06-21 Jeff Law <law@redhat.com>
21586
21587 [BZ #13882]
21588 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21589 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21590 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21591 * elf/dl-open.c (dl_open_worker): Likewise.
21592
09615db4
CD
215932012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21594
21595 * scripts/list-sources.sh: Scan PORTS for translations.
21596 * po/libc.pot: Regenerated.
21597
2174c6dd
AJ
215982012-06-21 Andreas Jaeger <aj@suse.de>
21599
21600 [BZ #12194]
21601 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21602 warning.
21603 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21604 * bits/byteswap-16.h (__bswap_16): Likewise.
21605 * bits/byteswap.h (__bswap_constant_16): Likewise.
21606
3ee947b1
L
216072012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21608
21609 [BZ #14117]
a2f34833
L
21610 * sysdeps/i386/fpu_control.h: Removed.
21611 * sysdeps/x86_64/fpu_control.h: Moved to ...
21612 * sysdeps/x86/fpu_control.h: Here.
21613
3ee947b1
L
21614 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21615 (_FPU_SETCW): Likewise.
21616
ed1825f8
L
216172012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21618
25f1282a
L
21619 [BZ #14117]
21620 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21621 * sysdeps/x86/fpu/bits/mathinline.h: This.
21622 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21623
ed1825f8
L
21624 [BZ #14050]
21625 [BZ #14117]
21626 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21627 functions if __x86_64__ is defined.
21628
36d54b74
CLT
216292012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21630
21631 * string/endian.h: Add !__ASSEMBLER__ condition for including
21632 conversion interfaces.
21633
10285c21
JM
216342012-06-15 Joseph Myers <joseph@codesourcery.com>
21635
21636 [BZ #14241]
21637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21638 of ABS(x) in calculating zero to negative powers other than odd
21639 integers.
21640 * math/libm-test.inc (pow_test): Add more tests.
21641
06c5abbd
AJ
216422012-06-15 Andreas Jaeger <aj@suse.de>
21643
21644 * manual/contrib.texi (Contributors): Update entry of Liubov
21645 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21646 Machado Filho.
21647
a3aeac40
CH
216482012-06-15 Cyril Hrubis <metan@ucw.cz>
21649
21650 * string/string.h: Add __wur to GNU version of strerror_r.
21651
49bdf4c1
L
216522012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21653
21654 [BZ #14229]
21655 * string/Makefile (tests): Add tst-strtok_r.
21656 * string/tst-strtok_r.c: New file.
21657 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21658 RAX_LP/RDX_LP on SAVE_PTR.
21659
834f9b8d
RM
216602012-06-14 Roland McGrath <roland@hack.frob.com>
21661
21662 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21663
75fa1921
JM
216642012-06-14 Joseph Myers <joseph@codesourcery.com>
21665
21666 * libm_test.inc (csqrt_test): Allow more spurious underflow
21667 exceptions.
21668 (j0_test): Likewise.
21669 (j1_test): Likewise.
21670 (y0_test): Likewise.
21671 (y1_test): Likewise.
21672
771766df
CD
216732012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21674
21675 * po/Makefile (libc.pot): Use UTF-8 charset.
21676
ceb9e56b
PP
216772012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21678
21679 [BZ #14210]
21680 Suppress sign-conversion warning from FD_SET.
21681 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21682 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21683 not unsigned long int.
21684 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21685
ddb28975
L
216862012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21687
21688 [BZ #14050]
21689 [BZ #14117]
21690 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21691 __extern_always_inline instead of __extern_inline.
21692 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21693 (__signbit): Likewise.
21694 (__signbitl): Support C++ namespace.
21695 (lrintf): New inline function.
21696 (lrint): Likewise.
21697 (llrintf): Likewise.
21698 (llrint): Likewise.
21699 (fmaxf): Likewise.
21700 (fmax): Likewise.
21701 (fminf): Likewise.
21702 (fmin): Likewise.
21703 (rint): Likewise.
21704 (rintf): Likewise.
21705 (ceil): Likewise.
21706 (ceilf): Likewise.
21707 (floor): Likewise.
21708 (floorf): Likewise.
21709 (nearbyint): Likewise.
21710 (nearbyintf): Likewise.
21711
d7b4fb26
TS
217122012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21713
21714 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21715 non-default versions.
21716
eb55f5c2
RM
217172012-06-11 Roland McGrath <roland@hack.frob.com>
21718
21719 [BZ #14218]
21720 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21721
366af02c
TS
217222012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21723
99ff6e5c
TS
21724 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21725 (FE_UPWARD, FE_DOWNWARD): Don't define.
21726 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21727 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21728
366af02c
TS
21729 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21730 reading it.
21731 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21732 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21733
793ea851
KK
217342012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21735
21736 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21738 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21739 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21740
a728a38f
L
217412012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21742
21743 [BZ #14117]
c08010c7
L
21744 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21745 * sysdeps/i386/fpu/Implies: New file.
21746 * sysdeps/x86_64/fpu/Implies: Likewise.
21747 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21748 * sysdeps/x86/fpu/bits/fenv.h: This.
21749
a728a38f
L
21750 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21751 __SSE_MATH__.
21752
6e230d11
SP
217532012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21754
21755 [BZ #14134]
21756 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21757 character 0xffff that matches the last element of the
21758 conversion table.
21759
1b671feb
AZ
217602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21761
21762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21763 fmodl commit.
21764
6043738b
AZ
217652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21766
21767 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21768 values higher than 25.6283.
21769
34ae0b32
AZ
217702012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21771
21772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21773 subnormal exponent extraction and add some __builtin_expect.
21774 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21775 Fix for subnormal mantissa calculation.
21776
1214ec8f
MF
217772012-06-04 Mike Frysinger <vapier@gentoo.org>
21778
21779 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21780 cpu2 is -1 and errno is not ENOSYS.
21781
f3d1f93c
L
217822012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21783
21784 [BZ #14117]
0e4a3cd7
L
21785 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21786 * sysdeps/x86/bits/string.h: This.
21787 * sysdeps/x86_64/bits/string.h: Removed.
21788
6704c645
L
21789 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21790 if not compiling for x86-64, but compiling for >= i486.
21791
48495318
L
21792 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21793 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21794
14adcbfc
L
21795 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21796 New macro from Linux kernel 3.4.0.
21797 (FP_XSTATE_MAGIC2): Likewise.
21798 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21799 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21800 (struct _fpx_sw_bytes): New struct.
21801 (struct _xsave_hdr): Likewise.
21802 (struct _ymmh_state): Likewise.
21803 (struct _xstate): Likewise.
21804
68e408ab
L
21805 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21806 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21807 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21808 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21809 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21810 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21811
f3d1f93c
L
21812 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21813 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21814 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21815 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21816 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21817 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21818
d9dc34cd
TMQMF
218192012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21820
21821 [BZ #13743]
21822 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21823 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21824 (sysdep_headers): Include sys/platform/ppc.h.
21825 * sysdeps/powerpc/test-gettimebase.c: Test for
21826 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21827 * manual/Makefile (appendices): Include platform.texi.
21828 * manual/contrib.texi (Contributors): Update @node pointers.
21829 * manual/maint.texi (Maintenance): Likewise.
21830 (Platform): New node.
21831 * manual/platform.texi: New file. Document the new features.
21832
4af3879c
SP
218332012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21834 Jakub Jelinek <jakub@redhat.com>
21835
21836 [BZ #14188]
21837 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21838 where __builtin_expect is unavailable.
21839
2fd6ff13
DM
218402012-06-03 David S. Miller <davem@davemloft.net>
21841
21842 * stdlib/longlong.h: Updated from GCC.
21843
173f7220
AS
218442012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21845
21846 [BZ #14042]
21847 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21848 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21849 __mcount_internal.
21850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21851 (GLIBC_2.16): Likewise.
21852
f34a1c6f
L
218532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21854
21855 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21856
88a4576f
JM
218572012-06-01 Joseph Myers <joseph@codesourcery.com>
21858
ea32bcdd
JM
21859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21860 (default-abi): New variable.
21861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21862 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21863 variable.
21864 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21865 Likewise.
21866 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21867 Likewise.
21868 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21869 Likewise.
21870
88a4576f
JM
21871 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21872 definition. Document in comment.
21873
402fe938
DM
218742012-06-01 David S. Miller <davem@davemloft.net>
21875
21876 * stdlib/longlong.h: Updated from GCC.
21877
3553723f
L
218782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21879
21880 [BZ #14117]
3bd872c4
L
21881 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21882 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21883 sys/debugreg.h sys/io.h here.
21884 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21885 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21886 sys/io.h.
21887 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21888 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21889 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21890 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21891 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21892 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21893
3553723f
L
21894 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21895 Define only if __x86_64__ is defined.
21896
4842e4fe
JM
218972012-06-01 Joseph Myers <joseph@codesourcery.com>
21898
c5bfe3d5
JM
21899 [BZ #14048]
21900 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21901 Use int64_t for variable i.
21902 * math/libm-test.inc (fmod_test): Add more tests.
21903
4842e4fe
JM
21904 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21905 z computation is not scheduled after fetestexcept.
21906 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21907 Use math_force_eval instead of asm to ensure calculation scheduled
21908 before exception test.
21909 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21910 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21911
efb73488
AJ
219122012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21913
21914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21915 computation is not scheduled after fetestexcept.
21916
29bcce7c
L
219172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21918
21919 [BZ #14117]
21920 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21921 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21922
73a68f94
AZ
219232012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21924
21925 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21926 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21927
67b6df78
L
219282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21929
edf2933a 21930 [BZ #14117]
ebc64a18
L
21931 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21932 <bits/wordsize.h>.
21933 (__WCHAR_MIN): Support __WORDSIZE == 64.
21934 (__WCHAR_MAX): Likewise.
21935
edf2933a
L
21936 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21937 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21938
57c6cf40
L
21939 [BZ #14183]
21940 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21941 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21942
67b6df78 21943 [BZ #14117]
8eb6281e
L
21944 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21945 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21946
aac639f4
L
21947 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21948 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21949
67b6df78
L
21950 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21951 Defined to 1 if __x86_64__ isn't defined.
21952 (_STAT_VER_LINUX_OLD): New.
21953 (st_atime): Remove duplicate.
21954 (st_mtime): Likewise.
21955 (st_ctime): Likewise.
21956
1c2cfe81
DM
219572012-05-31 David S. Miller <davem@davemloft.net>
21958
21959 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21960 entries.
21961
5be8418c
AS
219622012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21963
e7725326
AS
21964 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21965 gen-libm-test.pl.
21966
5be8418c
AS
21967 [BZ #14132]
21968 * elf/dl-reloc.c: Include <_itoa.h>.
21969 (_dl_reloc_bad_type): Remove use of INTUSE.
21970 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21971 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21972 * stdio-common/psiginfo.c (psiginfo): Likewise.
21973 * stdio-common/psignal.c (psignal): Likewise.
21974 * string/strsignal.c (strsignal): Likewise.
21975 * include/signal.h (_sys_siglist): Declare hidden proto.
21976 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21977 INTVARDEF with libc_hidden_data_def.
21978 * stdio-common/itoa-udigits.c: Likewise.
21979 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21980 (_itoa_lower_digits_internal): Remove declaration.
21981 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21982 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21983 (_sys_sigabbrev_internal): Remove aliases.
21984 (_sys_siglist): Define hidden alias.
21985
507352f1
MT
219862012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21987
21988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21989 bits/sysctl.h.
21990
42bbb1c3
L
219912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21992
21993 [BZ #14117]
6bd784b6
L
21994 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21995 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21996
8bca20f0
L
21997 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21998 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21999 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22000 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22001 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22002 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22003
f9e890a9
L
22004 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22005 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22006 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22007
471101a1
L
22008 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22009 with __addr.
22010 (insw): Likewise.
22011 (insl): Likewise.
22012 (outsb): Likewise.
22013 (outsw): Likewise.
22014 (outsl): Likewise.
22015
6451c862
L
22016 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22017 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22018 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22019
a254b8c9
L
22020 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22021 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22022 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22023 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22024 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22025 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22026
b8dfdd92
L
22027 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22028 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22029
578cd270
L
22030 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22031 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22032
de662f5f
L
22033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22034 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22035 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22036
25653439
L
22037 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22038 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22039 to ...
22040 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22041
6bad24a0
L
22042 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22043 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22044 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22045
42bbb1c3
L
22046 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22047 for x86-64.
22048 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22049
2d10d547
JM
220502012-05-31 Joseph Myers <joseph@codesourcery.com>
22051
22052 * math/math.h (M_El): Use two more decimal places.
22053 (M_LOG2El): Likewise.
22054 (M_LOG10El): Likewise.
22055 (M_LN2l): Likewise.
22056 (M_LN10l): Likewise.
22057 (M_PIl): Likewise.
22058 (M_PI_2l): Likewise.
22059 (M_PI_4l): Likewise.
22060 (M_1_PIl): Likewise.
22061 (M_2_PIl): Likewise.
22062 (M_2_SQRTPIl): Likewise.
22063 (M_SQRT2l): Likewise.
22064 (M_SQRT1_2l): Likewise.
22065
f230c29b
DM
220662012-05-31 David S. Miller <davem@davemloft.net>
22067
22068 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22069 values between float registers.
22070 * sysdeps/sparc/sparc64/memset.S: Likewise.
22071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22072
fed806c3
MF
220732012-05-31 Mike Frysinger <vapier@gentoo.org>
22074
22075 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22076 -D_FORTIFY_SOURCE=1.
22077 (CPPFLAGS-tst-longjmp_chk.c): Define.
22078 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22079 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22080 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22081 CFLAGS-tst-wchar-h.c.
22082
30917259
MP
220832012-05-31 Marek Polacek <polacek@redhat.com>
22084
22085 [BZ #14132]
22086 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22087 __endmntent_internal): Remove declaration.
22088 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22089 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22090 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22091
1c58d5dc
DM
220922012-05-30 David S. Miller <davem@davemloft.net>
22093
22094 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22095 (___Q_simulate_exceptions): Use real FP ops rather than writing
22096 into the %fsr.
22097 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22098 Likewise.
22099
7dc00e0d
L
221002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22101
22102 [BZ #14117]
0bd53985
L
22103 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22104 * sysdeps/x86/bits/xtitypes.h: This.
22105
3a257e66
L
22106 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22107 * sysdeps/x86/bits/wordsize.h: This.
22108
62f62904
L
22109 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22110 * sysdeps/x86/bits/huge_vall.h: This.
22111
404fe9d9
L
22112 * sysdeps/i386/bits/select.h: Removed.
22113 * sysdeps/x86_64/bits/select.h: Renamed to ...
22114 * sysdeps/x86/bits/select.h: This.
22115
d48d0446
L
22116 * sysdeps/i386/bits/setjmp.h: Removed.
22117 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22118 * sysdeps/x86/bits/setjmp.h: This.
22119
7dc00e0d
L
22120 * sysdeps/i386/bits/mathdef.h: Removed.
22121 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22122 * sysdeps/x86/bits/mathdef.h: This.
22123
03277f8f
AS
221242012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22125
22126 [BZ #14132]
22127 * include/sys/socket.h (__connect_internal)
22128 (__libc_sa_len_internal): Remove declaration.
22129 (__connect, __libc_sa_len): Declare hidden_proto.
22130 (SA_LEN): Remove use of INTUSE.
22131 * socket/connect.c: Add libc_hidden_def.
22132 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22133 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22134 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22135 alias.
22136 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22137 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22138 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22139 of adding _internal alias.
22140
13764867
L
221412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22142
22143 [BZ #14117]
6bd97696
L
22144 * sysdeps/i386/bits/link.h: Removed.
22145 * sysdeps/i386/bits/linkmap.h: Likewise.
22146 * sysdeps/x86_64/bits/link.h: Renamed to ...
22147 * sysdeps/x86/bits/link.h: This.
22148 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22149 * sysdeps/x86/bits/linkmap.h: This.
22150
f726f0bb
L
22151 * sysdeps/i386/bits/endian.h: Removed.
22152 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22153 * sysdeps/x86/bits/endian.h: This.
22154
13764867
L
22155 * sysdeps/i386/bits/byteswap.h: Removed.
22156 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22157 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22158 * sysdeps/x86/bits/byteswap.h: This.
22159 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22160 * sysdeps/x86/bits/byteswap-16.h: This.
22161 * sysdeps/i386/Implies: Add x86.
22162 * sysdeps/x86_64/Implies: Likewise.
22163
ae251b0b
DM
221642012-05-30 David S. Miller <davem@davemloft.net>
22165
22166 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22167 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22168 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22169 (FP_TRAPPING_EXCEPTIONS): Define.
22170 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22171 (FP_TRAPPING_EXCEPTIONS): Define.
22172 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22173 subnormals only when inexact has been signalled or underflow
22174 exceptions are enabled.
22175 (_FP_PACK_CANONICAL): Likewise.
22176
d5c90867
L
221772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22178
22179 [BZ #14183]
22180 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22181 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22182
63f1549e
RH
221832012-05-30 Richard Henderson <rth@twiddle.net>
22184
8d8f2279
RH
22185 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22186 with #ifndef NOT_IN_libc.
22187
63f1549e
RH
22188 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22189 marked to avoid plt entry.
22190
0ab0291b
L
221912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22192
22193 [BZ #14112]
22194 * Makeconfig (default-abi): New macro.
22195 (abi-includes): Likewise.
22196 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22197 $(abi-$(default-abi)-lib-soname) for soname if defined.
22198 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22199 abi-variants.
22200 * Makefile (installed-stubs): Likewise.
22201 * include/stubs-biarch.h: Removed.
22202 * scripts/lib-names.awk: Only handle one library at a time.
22203 * scripts/soversions.awk: Remove WORDSIZE support.
22204 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22205 entries.
22206 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22207 Removed.
22208 (syscall-list-default-condition): Likewise.
22209 (syscall-list-default-condition): Likewise.
22210 (syscall-list-includes): Likewise.
22211 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22212 syscall-list-* with abi-*. Handle undefined abi-variants.
22213 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22214 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22215 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22216 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22217 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22218 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22219 Removed.
22220 (syscall-list-32-options): Likewise.
22221 (syscall-list-32-condition): Likewise.
22222 (syscall-list-64-options): Likewise.
22223 (syscall-list-64-condition): Likewise.
22224 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22225 macro.
22226 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22227 Renamed to ...
22228 (abi-*): This.
22229 (abi-64-ld-soname): New macro.
22230 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22231 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22232 Renamed to ...
22233 (abi-*): This.
22234 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22235 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22236
4da0431d
JM
222372012-05-30 Joseph Myers <joseph@codesourcery.com>
22238
3a85279c
JM
22239 * sysdeps/unix/sysv/linux/kernel-features.h
22240 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22241 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22242 include <kernel-features.h>.
22243 [!__NR_ftruncate64]: Remove conditional code.
22244 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22245 [__NR_ftruncate64]: Make code unconditional.
22246 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22247 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22248 include <kernel-features.h>.
22249 [!__NR_ftruncate64]: Remove conditional code.
22250 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22251 [__NR_ftruncate64]: Make code unconditional.
22252 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22254 include <kernel-features.h>.
22255 [!__NR_ftruncate64]: Remove conditional code.
22256 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22257 [__NR_ftruncate64]: Make code unconditional.
22258 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22260 include <kernel-features.h>.
22261 [!__NR_ftruncate64]: Remove conditional code.
22262 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22263 [__NR_ftruncate64]: Make code unconditional.
22264 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22265
4da0431d
JM
22266 * configure.in (libc_cv_fpie): Weaken to a compile test using
22267 LIBC_TRY_CC_OPTION.
22268 * configure: Regenerated.
22269
11ef492c
AK
222702012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22271
22272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22276 Refreshed.
22277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22283 Refreshed.
22284
d66ef399
DM
222852012-05-27 David S. Miller <davem@davemloft.net>
22286
22287 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22288 (___Q_zero): New.
22289 (__Q_simulate_exceptions): Return void. Change to simulate
22290 exceptions by writing into the %fsr.
22291 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22292 (__Qp_handle_exceptions): Likewise.
22293 (numbers): Delete.
22294 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22295 __Qp_handle_exceptions.
22296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22297 __Qp_handle_exceptions.
22298 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22299 as unused and give dummy FP_RND_NEAREST initializer.
22300 (FP_INHIBIT_RESULTS): Define.
22301 (___Q_simulate_exceptions): Update declaration.
22302 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22303 formatting.
22304 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22305 as unused and give dummy FP_RND_NEAREST initializer.
22306 (__Qp_handle_exceptions): Update declaration.
22307 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22308 formatting.
22309
04fb54b5
TS
223102012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22311
22312 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22313 the temporary FPU control word.
22314 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22315 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22316 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22317 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22318 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22319 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22320 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22321 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22322 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22323 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22324 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22325
3f99608f
KK
223262012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22327
22328 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22329 fields.
22330
65a4de4e
CLT
223312012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22332
22333 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22334 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22335 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22336 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22337 Likewise.
22338 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22339 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22340 Likewise.
22341
15749d40
UD
223422012-05-27 Ulrich Drepper <drepper@gmail.com>
22343
22344 * po/h.po: Update from translation team.
22345
25dbcb27
AS
223462012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22347
3d3f8e55
AS
22348 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22349
25dbcb27
AS
22350 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22351 handling of denormals.
22352 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22353 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22354 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22355 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22356 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22357 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22359 Likewise.
22360
7ad47a80 223612012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22362
22363 [BZ #14152]
22364 * math/libm-test.inc (fma_test): Don't always expect underflow
22365 exception.
22366
9c6ea9fa
SP
223672012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22368
22369 [BZ #12416]
22370 * elf/tst-execstack.c: Include stackinfo.h.
22371 (do_test): Adjust test case to ensure that pthread_getattr_np
22372 behaviour remains the same after marking stack executable.
22373
a8239222
JM
223742012-05-25 Joseph Myers <joseph@codesourcery.com>
22375
22376 * sysdeps/unix/sysv/linux/kernel-features.h
22377 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22378 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22379 kernel-features.h.
22380 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22381 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22382 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22383 kernel-features.h.
22384 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22385 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22386
918b5606
L
223872012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22388
22389 * configure.in: Define the default includes to being none.
22390 * configure: Regenerated.
22391
3a097cc7
RM
223922012-05-25 Roland McGrath <roland@hack.frob.com>
22393
8422c9a5
RM
22394 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22395 * sysdeps/x86_64/setjmp.S: Likewise.
22396 * sysdeps/i386/bsd-setjmp.S: Likewise.
22397 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22398 * sysdeps/i386/setjmp.S: Likewise.
22399 * sysdeps/i386/__longjmp.S: Likewise.
22400 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22401 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22402
3a097cc7
RM
22403 * include/stap-probe.h: New file.
22404 * configure.in: Handle --enable-systemtap.
22405 * configure: Regenerated.
22406 * config.h.in (USE_STAP_PROBE): New #undef.
22407 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22408 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22409 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22410
21708942
JM
224112012-05-25 Joseph Myers <joseph@codesourcery.com>
22412
22413 [BZ #13717]
22414 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22415 to 2.4.0 where earlier.
22416 * sysdeps/unix/sysv/linux/configure: Regenerated.
22417 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22418 <kernel-features.h>.
22419 [__ASSUME_32BITUIDS]: Make code unconditional.
22420 [!__ASSUME_32BITUIDS]: Remove conditional code.
22421 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22422 <kernel-features.h>.
22423 [__ASSUME_32BITUIDS]: Make code unconditional.
22424 [!__ASSUME_32BITUIDS]: Remove conditional code.
22425 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22426 [__ASSUME_32BITUIDS]: Make code unconditional.
22427 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22428 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22429 <kernel-features.h>.
22430 [__ASSUME_32BITUIDS]: Make code unconditional.
22431 [!__ASSUME_32BITUIDS]: Remove conditional code.
22432 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22433 <kernel-features.h>.
22434 [__ASSUME_32BITUIDS]: Make code unconditional.
22435 [!__ASSUME_32BITUIDS]: Remove conditional code.
22436 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22437 <kernel-features.h>.
22438 [__ASSUME_32BITUIDS]: Make code unconditional.
22439 [!__ASSUME_32BITUIDS]: Remove conditional code.
22440 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22441 <kernel-features.h>.
22442 [__ASSUME_32BITUIDS]: Make code unconditional.
22443 [!__ASSUME_32BITUIDS]: Remove conditional code.
22444 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22445 <kernel-features.h>.
22446 [__ASSUME_32BITUIDS]: Make code unconditional.
22447 [!__ASSUME_32BITUIDS]: Remove conditional code.
22448 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22449 <kernel-features.h>.
22450 [__ASSUME_32BITUIDS]: Make code unconditional.
22451 [!__ASSUME_32BITUIDS]: Remove conditional code.
22452 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22453 <kernel-features.h>.
22454 [__ASSUME_32BITUIDS]: Make code unconditional.
22455 [!__ASSUME_32BITUIDS]: Remove conditional code.
22456 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22457 <kernel-features.h>.
22458 [__ASSUME_32BITUIDS]: Make code unconditional.
22459 [!__ASSUME_32BITUIDS]: Remove conditional code.
22460 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22461 <kernel-features.h>.
22462 [__ASSUME_32BITUIDS]: Make code unconditional.
22463 [!__ASSUME_32BITUIDS]: Remove conditional code.
22464 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22465 <kernel-features.h>.
22466 [__ASSUME_32BITUIDS]: Make code unconditional.
22467 [!__ASSUME_32BITUIDS]: Remove conditional code.
22468 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22469 <kernel-features.h>.
22470 [__NR_setresgid] (__setresgid): Do not declare.
22471 [__ASSUME_32BITUIDS]: Make code unconditional.
22472 [!__ASSUME_32BITUIDS]: Remove conditional code.
22473 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22474 <kernel-features.h>.
22475 [__NR_setresuid] (__setresuid): Do not declare.
22476 [__ASSUME_32BITUIDS]: Make code unconditional.
22477 [!__ASSUME_32BITUIDS]: Remove conditional code.
22478 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22479 <kernel-features.h>.
22480 [__ASSUME_32BITUIDS]: Make code unconditional.
22481 [!__ASSUME_32BITUIDS]: Remove conditional code.
22482 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22483 <kernel-features.h>.
22484 [__ASSUME_32BITUIDS]: Make code unconditional.
22485 [!__ASSUME_32BITUIDS]: Remove conditional code.
22486 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22487 <kernel-features.h>.
22488 [__ASSUME_32BITUIDS]: Make code unconditional.
22489 [!__ASSUME_32BITUIDS]: Remove conditional code.
22490 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22491 <kernel-features.h>.
22492 [__ASSUME_32BITUIDS]: Make code unconditional.
22493 [!__ASSUME_32BITUIDS]: Remove conditional code.
22494 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22495 <kernel-features.h>.
22496 [__ASSUME_32BITUIDS]: Make code unconditional.
22497 [!__ASSUME_32BITUIDS]: Remove conditional code.
22498 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22499 <kernel-features.h>.
22500 [__ASSUME_32BITUIDS]: Make code unconditional.
22501 [!__ASSUME_32BITUIDS]: Remove conditional code.
22502 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22503 <kernel-features.h>.
22504 [__ASSUME_32BITUIDS]: Make code unconditional.
22505 [!__ASSUME_32BITUIDS]: Remove conditional code.
22506 * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.c: Do not include
22511 <kernel-features.h>.
22512 [__ASSUME_32BITUIDS]: Make code unconditional.
22513 [!__ASSUME_32BITUIDS]: Remove conditional code.
22514 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22515 <kernel-features.h>.
22516 [__ASSUME_32BITUIDS]: Make code unconditional.
22517 [!__ASSUME_32BITUIDS]: Remove conditional code.
22518 * sysdeps/unix/sysv/linux/kernel-features.h
22519 (__ASSUME_SETRESUID_SYSCALL): Remove.
22520 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22521 (__ASSUME_32BITUIDS): Likewise.
22522 (__ASSUME_LDT_WORKS): Likewise.
22523 (__ASSUME_O_DIRECTORY): Likewise.
22524 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22525 architecture but not kernel version.
22526 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22527 (__ASSUME_MMAP2_SYSCALL): Likewise.
22528 (__ASSUME_STAT64_SYSCALL): Likewise.
22529 (__ASSUME_IPC64): Likewise.
22530 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22531 <kernel-features.h>.
22532 [__ASSUME_32BITUIDS]: Make code unconditional.
22533 [!__ASSUME_32BITUIDS]: Remove conditional code.
22534 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22535 <kernel-features.h>.
22536 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22537 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22538 132096]: Remove conditional code.
22539 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22540 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22541 <kernel-features.h>.
22542 [__ASSUME_32BITUIDS]: Make code unconditional.
22543 [!__ASSUME_32BITUIDS]: Remove conditional code.
22544 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22545 <kernel-features.h>.
22546 [__ASSUME_32BITUIDS]: Make code unconditional.
22547 [!__ASSUME_32BITUIDS]: Remove conditional code.
22548 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22549 <kernel-features.h>.
22550 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22551 unconditional.
22552 (__setresgid): Do not declare.
22553 [__ASSUME_32BITUIDS]: Make code unconditional.
22554 [!__ASSUME_32BITUIDS]: Remove conditional code.
22555 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22556 <kernel-features.h>.
22557 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22558 unconditional.
22559 (__setresuid): Do not declare.
22560 [__ASSUME_32BITUIDS]: Make code unconditional.
22561 [!__ASSUME_32BITUIDS]: Remove conditional code.
22562 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22563 <kernel-features.h>.
22564 [__ASSUME_32BITUIDS]: Make code unconditional.
22565 [!__ASSUME_32BITUIDS]: Remove conditional code.
22566 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22567 <kernel-features.h>.
22568 [__ASSUME_32BITUIDS]: Make code unconditional.
22569 [!__ASSUME_32BITUIDS]: Remove conditional code.
22570
a386f1cc
RH
225712012-05-25 Richard Henderson <rth@twiddle.net>
22572
22573 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22574 dl_hwcap to ifunc resolver.
22575 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22576 elf_ifunc_invoke.
22577 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22578 dl_hwcap to ifunc resolver.
22579 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22580
b6550497
JM
225812012-05-24 Joseph Myers <joseph@codesourcery.com>
22582
22583 [BZ #14153]
22584 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22585 for |x| <= 2**-26, not 2**-57.
22586 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22587 exception.
22588
b0bc23a1
JL
225892012-05-24 Jeff Law <law@redhat.com>
22590
22591 * stdio-common/Makefile (tests): Add bug25.
22592 * stdio-common/bug25.c: New test.
22593
347c92e9
L
225942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22595
22596 [BZ #13576]
22597 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22598 multiple of MALLOC_ALIGNMENT in size.
22599 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22600
6bcc8b3f
JM
226012012-05-24 Joseph Myers <joseph@codesourcery.com>
22602
22603 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22604 Require >= 256.
22605 (FILENAME_MAX): Use macro-int-constant.
22606 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22607 (_IOFBF): Use macro-int-constant.
22608 (_IOLBF): Likewise.
22609 (_IONBF): Likewise.
22610 (SEEK_CUR): Likewise.
22611 (SEEK_END): Likewise.
22612 (SEEK_SET): Likewise.
22613 (TMP_MAX): Likewise.
22614 (EOF): Use macro-int-constant. Require < 0.
22615 (NULL): Use macro-constant. Require == 0.
22616 (stdin): Require type to be FILE *.
22617 (stdout): Likewise.
22618 (stderr): Likewise.
22619 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22620 macro-int-constant.
22621 (EXIT_SUCCESS): Likewise.
22622 (NULL): Use macro-constant. Require == 0.
22623 (RAND_MAX): Use macro-int-constant.
22624 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22625 [C99-based standards] (strtof): Require function.
22626 [C99-based standards] (strtold): Likewise.
22627 [C99-based standards] (strtoll): Likewise.
22628 [C99-based standards] (strtoull): Likewise.
22629 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22630 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22631 [ISO || ISO99 || ISO11] (math.h): Likewise.
22632 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22633 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22634 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22635
d18ea0c5
AS
226362012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22637
22638 [BZ #14132]
56d25bb8
AS
22639 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22640 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22641 * intl/dgettext.c (DCGETTEXT): Likewise.
22642 * intl/gettext.c (DCGETTEXT): Likewise.
22643 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22644 * posix/regex_internal.h (gettext): Likewise.
22645 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22646 Remove declaration.
22647 * include/argz.h (__argz_count_internal)
22648 (__argz_stringify_internal): Remove declaration.
22649 (__argz_count, __argz_stringify): Declare hidden proto.
22650 * intl/dcgettext.c: Remove use of INTDEF.
22651 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22652 * string/argz-stringify.c: Likewise.
22653 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22654 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22655 Declare hidden proto.
d18ea0c5
AS
22656 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22657 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22658 Declare hidden proto.
22659 * include/stdio.h (__asprintf_internal): Don't declare.
22660 (__asprintf): Don't define as macro. Declare hidden proto.
22661 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22662 (__fsetlocking): Declare hidden proto.
22663 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22664 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22665 hidden proto.
22666 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22667 (_IO_setlinebuf): Remove use of INTUSE.
22668 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22669 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22670 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22671 Remove declaration.
22672 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22673 (_IO_do_flush): Remove use of INTUSE.
22674 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22675 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22676 (_IO_adjust_column, _IO_least_wmarker)
22677 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22678 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22679 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22680 (_IO_default_doallocate, _IO_wdefault_doallocate)
22681 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22682 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22683 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22684 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22685 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22686 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22687 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22688 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22689 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22690 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22691 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22692 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22693 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22694 proto.
22695 (_IO_flush_all_internal, _IO_adjust_column_internal)
22696 (_IO_default_uflow_internal, _IO_default_finish_internal)
22697 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22698 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22699 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22700 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22701 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22702 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22703 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22704 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22705 (_IO_file_close_internal, _IO_file_close_it_internal)
22706 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22707 (_IO_file_init_internal, _IO_file_attach_internal)
22708 (_IO_file_fopen_internal, _IO_file_read_internal)
22709 (_IO_file_sync_internal, _IO_file_seek_internal)
22710 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22711 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22712 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22713 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22714 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22715 (_IO_list_all_internal, _IO_link_in_internal)
22716 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22717 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22718 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22719 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22720 (_IO_do_write_internal, _IO_padn_internal)
22721 (_IO_getline_info_internal, _IO_getline_internal)
22722 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22723 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22724 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22725 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22726 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22727 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22728 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22729 with libc_hidden_ver, remove use of INTUSE.
22730 * libio/genops.c: Likewise.
22731 * libio/freopen.c: Likewise.
22732 * libio/freopen64.c: Likewise.
22733 * libio/iofclose.c: Likewise.
22734 * libio/iofdopen.c: Likewise.
22735 * libio/iofflush.c: Likewise.
22736 * libio/iofflush_u.c: Likewise.
22737 * libio/iofgets.c: Likewise.
22738 * libio/iofgets_u.c: Likewise.
22739 * libio/iofopen.c: Likewise.
22740 * libio/iofopncook.c: Likewise.
22741 * libio/iofread.c: Likewise.
22742 * libio/iofread_u.c: Likewise.
22743 * libio/ioftell.c: Likewise.
22744 * libio/iofwrite.c: Likewise.
22745 * libio/iogetline.c: Likewise.
22746 * libio/iogets.c: Likewise.
22747 * libio/iogetwline.c: Likewise.
22748 * libio/iopadn.c: Likewise.
22749 * libio/iopopen.c: Likewise.
22750 * libio/ioseekoff.c: Likewise.
22751 * libio/ioseekpos.c: Likewise.
22752 * libio/iosetbuffer.c: Likewise.
22753 * libio/iosetvbuf.c: Likewise.
22754 * libio/ioungetc.c: Likewise.
22755 * libio/ioungetwc.c: Likewise.
22756 * libio/iovdprintf.c: Likewise.
22757 * libio/iovsprintf.c: Likewise.
22758 * libio/iovsscanf.c: Likewise.
22759 * libio/memstream.c: Likewise.
22760 * libio/obprintf.c: Likewise.
22761 * libio/oldfileops.c: Likewise.
22762 * libio/oldiofclose.c: Likewise.
22763 * libio/oldiofdopen.c: Likewise.
22764 * libio/oldiofopen.c: Likewise.
22765 * libio/oldiopopen.c: Likewise.
22766 * libio/oldstdfiles.c: Likewise.
22767 * libio/putc.c: Likewise.
22768 * libio/setbuf.c: Likewise.
22769 * libio/setlinebuf.c: Likewise.
22770 * libio/stdfiles.c: Likewise.
22771 * libio/strops.c: Likewise.
22772 * libio/vasprintf.c: Likewise.
22773 * libio/vscanf.c: Likewise.
22774 * libio/vsnprintf.c: Likewise.
22775 * libio/vswprintf.c: Likewise.
22776 * libio/wfiledoalloc.c: Likewise.
22777 * libio/wfileops.c: Likewise.
22778 * libio/wgenops.c: Likewise.
22779 * libio/wmemstream.c: Likewise.
22780 * libio/wstrops.c: Likewise.
22781 * libio/__fpurge.c: Likewise.
22782 * libio/__fsetlocking.c: Likewise.
22783 * assert/assert.c: Likewise.
22784 * debug/fgets_chk.c: Likewise.
22785 * debug/fgets_u_chk.c: Likewise.
22786 * debug/fread_chk.c: Likewise.
22787 * debug/fread_u_chk.c: Likewise.
22788 * debug/gets_chk.c: Likewise.
22789 * debug/obprintf_chk.c: Likewise.
22790 * debug/vasprintf_chk.c: Likewise.
22791 * debug/vdprintf_chk.c: Likewise.
22792 * debug/vsnprintf_chk.c: Likewise.
22793 * debug/vsprintf_chk.c: Likewise.
22794 * malloc/mtrace.c: Likewise.
22795 * misc/error.c: Likewise.
22796 * misc/syslog.c: Likewise.
22797 * stdio-common/asprintf.c: Likewise.
22798 * stdio-common/fxprintf.c: Likewise.
22799 * stdio-common/getw.c: Likewise.
22800 * stdio-common/isoc99_fscanf.c: Likewise.
22801 * stdio-common/isoc99_scanf.c: Likewise.
22802 * stdio-common/isoc99_vfscanf.c: Likewise.
22803 * stdio-common/isoc99_vscanf.c: Likewise.
22804 * stdio-common/isoc99_vsscanf.c: Likewise.
22805 * stdio-common/printf-prs.c: Likewise.
22806 * stdio-common/printf_fp.c: Likewise.
22807 * stdio-common/printf_fphex.c: Likewise.
22808 * stdio-common/printf_size.c: Likewise.
22809 * stdio-common/putw.c: Likewise.
22810 * stdio-common/scanf.c: Likewise.
22811 * stdio-common/sprintf.c: Likewise.
22812 * stdio-common/tmpfile.c: Likewise.
22813 * stdio-common/vfprintf.c: Likewise.
22814 * stdio-common/vfscanf.c: Likewise.
22815 * stdlib/strfmon_l.c: Likewise.
22816 * sunrpc/openchild.c: Likewise.
22817 * sunrpc/xdr_stdio.c: Likewise.
22818 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22819 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22820
d6c33fda
RM
228212012-05-24 Roland McGrath <roland@hack.frob.com>
22822
c1487492
RM
22823 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22824
22825 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22826 in the third column, to generate for the shared library an IFUNC
22827 that uses _dl_vdso_vsym.
22828 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22829 * Makeconfig (object-suffixes-noshared): New variable.
22830
22831 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22832 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22833 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22834 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22835
d6c33fda
RM
22836 [BZ #14132]
22837 * include/sys/time.h (__gettimeofday): Remove macro.
22838 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22839 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22840 Remove INTDEF.
22841 (__gettimeofday): Add libc_hidden_def.
22842 (gettimeofday): Add libc_hidden_weak.
22843 * sysdeps/mach/gettimeofday.c: Likewise.
22844 * sysdeps/posix/gettimeofday.c: Likewise.
22845 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22846 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22847 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22848 (__gettimeofday_internal): Remove strong_alias.
22849 (__gettimeofday): Add libc_hidden_def.
22850 (gettimeofday): Add libc_hidden_weak.
22851 * sysdeps/unix/syscalls.list (gettimeofday):
22852 Remove __gettimeofday_internal alias.
22853
b5a2bbe6
L
228542012-05-24 Daniel Jacobowitz <drow@false.org>
22855 H.J. Lu <hongjiu.lu@intel.com>
22856
22857 [BZ #12495]
22858 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22859 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22860 (largebin_index_32_big): New.
22861 (largebin_index): Use it for 16-byte alignment.
22862 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22863 correction with front_misalign.
22864
cfba4fda
L
228652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22866
7f907421
L
22867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22869 Likewise.
22870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22871 Likewise.
22872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22873 Likewise.
22874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22875 Likewise.
22876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22877 Likewise.
22878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22879 Likewise.
22880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22881 Likewise.
22882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22883 Likewise.
22884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22885 Likewise.
22886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22887 Likewise.
22888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22889 Likewise.
22890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22891 Likewise.
22892
cfba4fda
L
22893 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22894 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22895
80bad0cc
JM
228962012-05-24 Joseph Myers <joseph@codesourcery.com>
22897
7a25eb06
JM
22898 [BZ #10846]
22899 [BZ #14036]
22900 * math/libm-test.inc (exp_test): Add test from bug 14036.
22901 (pow_test): Add test from bug 10846.
22902
795405f9
JM
22903 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22904 and other flags.
22905 (special_function): Do not include flags in test name.
22906 (parse_args): Likewise.
22907 * sysdeps/i386/fpu/libm-test-ulps: Update.
22908 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22909 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22910 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22912
80bad0cc
JM
22913 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22914 exceptions.
22915 * math/libm-test.inc ("Philosophy"): Update comment about
22916 exception testing.
22917 (UNDERFLOW_EXCEPTION): New macro.
22918 (UNDERFLOW_EXCEPTION_OK): Likewise.
22919 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22920 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22921 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22922 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22923 (INVALID_EXCEPTION_OK): Update value.
22924 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22925 (OVERFLOW_EXCEPTION_OK): Likewise.
22926 (IGNORE_ZERO_INF_SIGN): Likewise.
22927 (test_exceptions): Handle underflow exceptions.
22928 (acos_test): Update for underflow exception expectations.
22929 (cexp_test): Likewise.
22930 (clog_test): Likewise.
22931 (clog10_test): Likewise.
22932 (csqrt_test): Likewise.
22933 (ctan_test): Likewise.
22934 (ctanh_test): Likewise.
22935 (exp_test): Likewise.
22936 (exp10_test): Likewise.
22937 (exp2_test): Likewise.
22938 (expm1_test): Likewise.
22939 (fma_test): Likewise.
22940 (j0_test): Likewise.
22941 (jn_test): Likewise.
22942 (nexttoward_test): Likewise.
22943 (pow_test): Likewise.
22944 (scalbn_test): Likewise.
22945 (scalbln_test): Likewise.
22946 (tan_test): Likewise.
22947 (y1_test): Likewise.
22948 * sysdeps/i386/fpu/libm-test-ulps: Update.
22949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22950
9e0e3d0b
DM
229512012-05-23 David S. Miller <davem@davemloft.net>
22952
22953 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22954 (__libc_sigaction): Remove unused local variables.
22955
ccd0a08f
L
229562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22957
22958 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22959
62bdf9a6
PE
229602012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22961
f8591f80
PE
22962 mktime: avoid signed integer overflow
22963 * time/mktime.c (__mktime_internal): Do not mishandle the case
22964 where diff == INT_MIN.
22965
94c7d826
PE
22966 mktime: simplify computation of average
22967 * time/mktime.c (ranged_convert): Use new time_t_avg function
22968 instead of rolling our own (probably-slower) code.
22969
ce73d683
PE
22970 mktime: do not assume signed right shift propagates sign bit
22971 * time/mktime.c (isdst_differ): New static function.
22972 (__mktime_internal): No need to normalize tm_isdst now.
22973 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22974 tm_isdst values.
22975
72a22e59
PE
22976 mktime: merge another wrapv change from gnulib
22977 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22978 from some compilers.
22979
68605433
PE
22980 mktime: remove incorrect attempt at unusual arithmetics
22981 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22982 The code didn't really work on such machines anyway.
22983 (TYPE_MINIMUM): Assume two's complement.
22984 (twos_complement_arithmetic): Verify that long_int and time_t
22985 are two's complement (or unsigned, in the latter case).
22986
03cf7fe3
PE
22987 mktime: check signed shifts on long_int and time_t, too
22988 * time/mktime.c (SHR): Check that shifts work as desired
22989 on the types long_int and time_t too, as SHR is used on
22990 such types.
22991
f04dfbc2
PE
22992 mktime: do not assume 'long' is wide enough
22993 * time/mktime.c (verify): Move decl up.
22994 (long_int): New type.
22995 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22996 to remove assumption in the code that 'long' is wide enough to
22997 store year values. This assumption is not true on x32 and on
22998 some non-glibc platforms.
22999
62bdf9a6
PE
23000 mktime: merge wrapv change from gnulib
23001 * time/mktime.c (WRAPV): New macro.
23002 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23003 (guess_time_tm, __mktime_internal): Do not assume that signed
23004 integer overflow wraps around; modern compilers generate code
23005 where this assumption is no longer valid.
23006
5e292e4f
L
230072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23008
23009 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23010 Replace "jmp L(pseudo_end)" with "ret".
23011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23012 Likewise.
23013
8caf8c87
AJ
230142012-05-23 Andreas Jaeger <aj@suse.de>
23015
23016 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23017 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23018
1a09dc56
AJ
230192012-05-23 Andreas Jaeger <aj@suse.de>
23020 Maximilian Attems <max@stro.at>
23021
23022 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23023 New macros.
23024
1c87aba0
L
230252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23026
23027 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23028 code so that pseudo_end is just ret and the stack pointer is
23029 correct also for static library in error case.
23030
40e45bd5
JM
230312012-05-23 Joseph Myers <joseph@codesourcery.com>
23032
c2670533
JM
23033 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23034 move to syscalls.list.
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23039
40e45bd5
JM
23040 * manual/install.texi (Running make install): Do not mention Linux
23041 kernel version for which pt_chown is not needed.
23042 (Linux): Do not mention problems with nscd with 2.0 kernels.
23043 * INSTALL: Regenerated.
23044
be08eda5
AJ
230452012-05-23 Andreas Jaeger <aj@suse.de>
23046
23047 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23048 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23049 macro.
23050 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23051 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23052 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23053 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23054 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23055 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23056 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23057 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23058 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23059 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23060 * sysdeps/unix/sysv/linux/bits/in.h
23061 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23062
a6a056bb
RM
230632012-05-22 Roland McGrath <roland@hack.frob.com>
23064
23065 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23066 (PREPARE_VERSION): Just use assert instead, it will be elided
23067 under [NDEBUG] anyway.
23068
c9009328
L
230692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23070
23071 * sysdeps/unix/sysv/linux/Makefile: Include
23072 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23073 (sysdep_routines): Remove sysctl.
c9009328
L
23074 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23075 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23076 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23077 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23078 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23079
73338355
AJ
230802012-05-22 Andreas Jaeger <aj@suse.de>
23081
23082 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23083 that pseudo_end is just ret and the stack pointer is correct also
23084 for static library in error case.
23085
d44638b0
PP
230862012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23087
23088 [BZ #14122]
23089 * nss/nsswitch.c (defconfig_entries): New variable.
23090 (__nss_database_lookup): Don't leak defconfig entries.
23091 (nss_parse_service_list): Don't leak on error paths.
23092 (free_database_entries): New function.
23093 (free_defconfig): New function.
23094 (free_mem): Move common code to free_database_entries.
23095
31a39bd8
L
230962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23097
da0331a8
L
23098 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23099 Add arch_prctl.
23100 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23101
31a39bd8
L
23102 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23103 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23105 New macro.
23106 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23107 (INTERNAL_SYSCALL_TYPES): Likewise.
23108 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23109 (LOAD_REGS_TYPES_[1-6]): Likewise.
23110 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23111 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23112
45470df3
AZ
231132012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23114
23115 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23116 copysignl for GLIBC_2_0.
23117 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23118 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23120 logbl for GLIBC_2_0.
23121 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23122 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23123
98a61bcb
L
231242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23125
a4f6e481
L
23126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23127 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23128
f63d5db6
L
23129 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23130 Use "neg %eax".
23131
98a61bcb
L
23132 * time/mktime.c: Update copyright years.
23133
95770f14
PE
231342012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23135
6226efbd
PE
23136 mktime: merge comment-quoting-style change from gnulib
23137 * time/mktime.c: Quote 'like this' in comments.
23138 The GNU coding standards suggest that we no longer quote `like this',
23139 as "`" and "'" are typically rendered asymmetrically nowadays.
23140 The typical gnulib style is to quote 'like this' when quoting
23141 code, and "like this" when quoting English.
23142
b99e4f78
PE
23143 * time/mktime.c (compile-command): Add "-I.".
23144
643e01e6
PE
23145 mktime: merge mktime-internal.h change from gnulib
23146 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23147
2554247d
PE
23148 mktime: merge time_r change from gnulib
23149 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23150
826dd0ab
PE
23151 mktime: merge DEBUG change from gnulib
23152 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23153 case system <time.h> has a #define.
23154
bd83aabe
PE
23155 mktime: merge <sys/types.h> change from gnulib
23156 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23157 since <time.t> is now guaranteed to define time_t.
23158
95770f14
PE
23159 mktime: merge HAVE_CONFIG_H change from gnulib
23160 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23161
5e1a27a9
L
231622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23163
0e44a77e
L
23164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23165 Use "neg %eax".
23166
5e1a27a9
L
23167 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23168 __rlim_t cast.
23169 (struct rusage): Use anonymous union to pad each field to
23170 __syscall_slong_t.
23171
46259bec
DM
231722012-05-21 David S. Miller <davem@davemloft.net>
23173
23174 * Makefules (o-iterator): Remove .s cases.
23175 (compile-command.s): Delete.
23176 (COMPILE.s): Delete.
23177 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23178
59f0c22e
JM
231792012-05-21 Joseph Myers <joseph@codesourcery.com>
23180
23181 * configure.in (libc_cv_predef_stack_protector): Only consider
23182 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23183 * configure: Regenerated.
23184
20c07380
L
231852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23186
bbb3154b
L
23187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23188 New macro. Use R*LP on int and pointer.
23189 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23190 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23191 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23192 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23193
20c07380
L
23194 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23195 [__WORDSIZE_TIME64_COMPAT32] instead of
23196 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23197 (struct utmp): Likewise.
23198 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23199 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23200 Renamed to ...
23201 (__WORDSIZE_TIME64_COMPAT32): This.
23202 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23203 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23204 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23205 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23206 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23207 (__WORDSIZE_TIME64_COMPAT32): New macro.
23208
d8d1017e
AJ
232092012-05-21 Andreas Jaeger <aj@suse.de>
23210
23211 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23212 only if [SHARED]. Add prototype for __wcschr_ia32.
23213
6c7fb145
RM
232142012-05-21 Roland McGrath <roland@hack.frob.com>
23215
23216 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23217 of %rbp unmolested in the jmp_buf while mangling the low bits.
23218 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23219 unmolested high bits of %rbp while demangling the low bits.
23220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23221
66274218
AJ
232222012-05-21 Andreas Jaeger <aj@suse.de>
23223
07c58f8f
AJ
23224 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23225 * sunrpc/svc_simple.c: Use it for registerrpc.
23226 * sunrpc/xcrypt.c: Use it for passwd2des.
23227
66274218
AJ
23228 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23229
61f65140
L
232302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23231
23232 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23233 Don't define if [__SYSCALL_WORDSIZE != 32].
23234 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23235 New macro.
23236
5fefb436
AJ
232372012-05-21 Bruno Haible <bruno@clisp.org>
23238 Andreas Jaeger <aj@suse.de>
23239
23240 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23241 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23242 inptr and inend for must_buffer_ch.
23243 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23244 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23245 * stdio-common/Makefile (tests): Remove bug15.
23246 (bug15-ENV): Remove macro.
23247 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23248 anymore.
23249
d8e272ab
AJ
232502012-05-19 Andreas Jaeger <aj@suse.de>
23251 Roland McGrath <roland@hack.frob.com>
23252
23253 * manual/contrib.texi: Completely rewritten. It contains now an
23254 alphabetical list of contributors and their contributions.
23255
4a56a162
RH
232562012-05-21 Richard Henderson <rth@twiddle.net>
23257
23258 * misc/getauxval.c (__getauxval): Use unsigned long int.
23259 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23260 (getauxval): Use unsigned long int.
23261
d024d23c
L
232622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23263
23264 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23265
cbc00a03
RM
232662012-05-21 Roland McGrath <roland@hack.frob.com>
23267
23268 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23269 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23270 __alignof__ (long double).
23271
478143fa
AZ
232722012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23273
23274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23275
c7683a6d
RH
232762012-05-20 Richard Henderson <rth@twiddle.net>
23277
23278 * misc/getauxval.c: New file.
23279 * misc/sys/auxv.h: New file.
23280 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23281 (routines): Add getauxval.
23282 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23283 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23284 * elf/dl-sysdep.c (_dl_auxv): Remove.
23285 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23286 * elf/dl-support.c (_dl_auxv): New variable.
23287 (_dl_aux_init): Initialize it.
23288 * manual/startup.texi (Auxiliary Vector): New node.
23289 * sysdeps/generic/bits/hwcap.h: New file.
23290 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23291 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23292 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23293 * sysdeps/sparc/sysdep.h: ... here. Include it.
23294 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23295 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23297 Update.
c7683a6d
RH
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23306
a6f1845d
AZ
233072012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23308
23309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23310
cbcbe830
DM
233112012-05-19 David S. Miller <davem@davemloft.net>
23312
23313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23314
e0b16cc2
JM
233152012-05-19 Joseph Myers <joseph@codesourcery.com>
23316
23317 [BZ #14123]
23318 * math/s_ccosh.c: Include <float.h>
23319 (__ccosh): Avoid internal overflow calculating sinh and cosh
23320 values before multiplying by sin and cos values.
23321 * math/s_ccoshf.c: Likewise.
23322 * math/s_ccoshl.c: Likewise.
23323 * math/s_csin.c: Likewise.
23324 * math/s_csinf.c: Likewise.
23325 * math/s_csinl.c: Likewise.
23326 * math/s_csinh.c: Likewise.
23327 * math/s_csinhf.c: Likewise.
23328 * math/s_csinhl.c: Likewise.
23329 * math/libm-test.inc (ccos_test): Add more tests.
23330 (ccosh_test): Likewise.
23331 (csin_test): Likewise.
23332 (csinh_test): Likewise.
23333 * sysdeps/i386/fpu/libm-test-ulps: Update.
23334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23335
6ad13e08
L
233362012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23337
f66f0ce8
L
23338 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23339 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23340
6ad13e08
L
23341 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23342
b1d072a7
JM
233432012-05-19 Joseph Myers <joseph@codesourcery.com>
23344
23345 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23346 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23347 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23348 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23349 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23350 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23351 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23352 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23353 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23354 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23355 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23356 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23357 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23358 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23359 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23360 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23361 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23362 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23363 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23364 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23365 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23366 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23367 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23368 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23369 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23370 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23371 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23372 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23373 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23374 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23375 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23376
9eae47cb
AJ
233772012-05-18 Andreas Jaeger <aj@suse.de>
23378
23379 * csu/.gitignore: Delete.
23380
bb07f69f
L
233812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23382
23383 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23384 (timex): Use __syscall_slong_t.
23385
e6bdb741
AJ
233862012-05-18 Andreas Jaeger <aj@suse.de>
23387 Carlos O'Donell <carlos_odonell@mentor.com>
23388
23389 * manual/install.texi (Configuring and compiling): Update
23390 description about files modified in the source directory.
d6c33fda 23391 * INSTALL: Regenerated.
e6bdb741 23392
1b74487e
L
233932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23394
23395 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23396 value. Use "or" to set return value to -1.
23397 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23398 negate return value.
23399
a88b64b9
TMQMF
234002012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23401
23402 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23403 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23404 failure if the compiler has Graphite support disabled.
23405 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23406 Likewise.
23407 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23408 CFLAGS-memmove.c): Likewise.
23409 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23410 Likewise.
23411
3707636e
L
234122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23413
610b8622
L
23414 * sysdeps/x86_64/x32/_itoa.h: New file.
23415
7cd195df
L
23416 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23417 getdents system call only if kernel and user dirents have the
23418 same d_ino and d_off.
23419
94b07d20
L
23420 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23421 LLONG_MAX != LONG_MAX.
23422 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23423 (_fitoa_word): Likewise.
23424
18298070
L
23425 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23426 years.
23427 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23428 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23429 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23430
553c7ea4
L
23431 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23432 include <bits/wordsize.h>. Check __x86_64__ instead of
23433 __WORDSIZE.
23434 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23435 if __x86_64__ is defined. Use anonymous union on fpstate.
23436
3707636e
L
23437 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23438 anonymous union.
23439
b53ef01a
AS
234402012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23441
37fb1dc0
AS
23442 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23443 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23444 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23445 Refer to _rtld_local_ro instead of _rtld_global_ro.
23446 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23447 Likewise.
23448 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23449 Likewise.
23450 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23451 Likewise.
23452 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23453 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23454 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23455
b53ef01a
AS
23456 * sysdeps/powerpc/powerpc32/dl-machine.c
23457 (__elf_machine_runtime_setup) [PROF]: Don't reference
23458 _dl_prof_resolve.
23459
7a185db2
AJ
234602012-05-18 Andreas Jaeger <aj@suse.de>
23461
23462 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23463 function only available for GCCs before 3.4 since GCC 3.4
23464 introduced a builtin.
23465 (lrint): Likewise.
23466 (llrintf): Likewise.
23467 (llrint): Likewise.
23468 (fmaxf): Likewise.
23469 (fmax): Likewise.
23470 (fminf): Likewise.
23471 (fmin): Likewise.
23472 (rint): Likewise.
23473 (rintf): Likewise.
23474 (nearbyint): Likewise.
23475 (nearbyintf): Likewise.
23476 (ceil): Likewise.
23477 (ceilf): Likewise.
23478 (floor): Likewise.
23479 (floorf): Likewise.
23480
3e5aef87
L
234812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23482
428bd707
L
23483 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23484 on both fields and cast pointer to __syscall_ulong_t.
23485
3e5aef87
L
23486 * bits/types.h (__fsword_t): New type.
23487 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23488 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23489 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23490 (__FSWORD_T_TYPE): Likewise.
23491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23492 (__FSWORD_T_TYPE): Likewise.
23493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23494 (__FSWORD_T_TYPE): Likewise.
23495 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23496 (__FSWORD_T_TYPE): Likewise.
23497 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23498 __SWORD_TYPE with __fsword_t.
23499 (statfs64): Likewise.
23500
1ba7c3dc
DM
235012012-05-17 David S. Miller <davem@davemloft.net>
23502
23503 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23504
59910343
AJ
235052012-05-17 Andreas Jaeger <aj@suse.de>
23506
23507 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23508 warning.
23509
2e4c1e9e
L
235102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23511
23512 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23513
de7f5ce7
AJ
235142012-05-17 Andreas Jaeger <aj@suse.de>
23515
23516 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23517 when it is used.
23518
286abc3d
CM
235192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23520
23521 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23522
477cc68e
L
235232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23524
23525 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23526 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23527
1a0994f5
CD
235282012-05-17 Andreas Jaeger <aj@suse.de>
23529 Carlos O'Donell <carlos_odonell@mentor.com>
23530
23531 [BZ #14059]
23532 * sysdeps/x86_64/multiarch/init-arch.h
23533 (bit_YMM_Usable): Rename to...
23534 (bit_AVX_Usable): ... this.
23535 (bit_FMA4_Usable): New macro.
23536 (bit_XMM_state): New macro.
23537 (bit_YMM_state): New macro.
23538 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23539 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23540 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23541 (CPUID_OSXSAVE): New macro.
23542 (CPUID_AVX): New macro.
23543 (CPUID_FMA4): New macro.
23544 (index_YMM_Usable): Rename to...
23545 (index_AVX_Usable): ... this.
23546 (HAS_AVX): Use HAS_ARCH_FEATURE.
23547 (HAS_FMA4): Likewise.
23548 (HAS_YMM_USABLE): Remove.
23549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23550 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23551 are present.
23552 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23553 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23554 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23555 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23556 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23557
0af797de
CM
235582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23559
23560 * math/libm-test.c: Support platforms without multiple rounding modes.
23561 * math/bug-nextafter.c: Support platforms without FP exceptions.
23562 * math/bug-nexttoward.c: Likewise.
23563 * math/test-fenv.c: Likewise.
23564 * math/test-misc.c: Likewise.
23565 * stdlib/bug-getcontext.c: Likewise.
23566
e39745ff
AJ
235672012-05-17 Andreas Jaeger <aj@suse.de>
23568
23569 * manual/examples/search.c (critter_cmp): Change signature to
23570 avoid warnings.
23571 * manual/string.texi (Collation Functions): Likewise.
23572
48970aba
L
235732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23574
23575 * bits/types.h: Fold copyright years.
23576 * bits/typesizes.h: Likewise.
23577 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23580 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23581 * time/time.h: Likewise.
23582
bedee953
PP
235832012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23584
23585 [BZ #208]
23586 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23587 in instead of returning them. Return void.
23588 (__libc_mallinfo): Accumulate over all arenas.
23589 (__malloc_stats): Adjust for change in int_mallinfo interface.
23590
61653dfb
RM
235912012-05-16 Roland McGrath <roland@hack.frob.com>
23592
30b99d79
RM
23593 [BZ #10375]
23594 * configure.in (NM): Add AC_CHECK_TOOL for it.
23595 (libc_extra_cflags): New substituted variable.
23596 Check for -fstack-protector being used implicitly.
23597 * configure: Regenerated.
23598 * config.make.in (config-extra-cflags): New variable,
23599 gets @libc_extra_cflags@.
23600 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23601
61653dfb
RM
23602 [BZ #10375]
23603 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23604 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23605 * configure: Regenerated.
23606 * config.make.in (CPPUNDEFS): New substituted variable.
23607 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23608 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23609 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23610
661768bb
L
236112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23612
23613 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23614 (mq_attr): Use __syscall_slong_t.
23615
d4261567
L
236162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23617
23618 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23619 Check __x86_64__ instead of __WORDSIZE.
23620 (_STAT_VER_LINUX): Likewise.
23621 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23622 __syscall_ulong_t and __syscall_slong_t.
23623 (stat64): Likewise.
23624
cf3ff365
L
236252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23626
23627 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23628
76cf3e4d
L
236292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23630
23631 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23632
a637753a
L
236332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23634
23635 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23636 __syscall_ulong_t.
23637
d5e05119
L
23638 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23639 include <bits/wordsize.h>. Check __x86_64__ instead of
23640 __WORDSIZE.
23641 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23642 defined.
23643 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23644
f62ee380
L
23645 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23646 include <bits/wordsize.h>. Check __x86_64__ instead of
23647 __WORDSIZE.
23648 (user_regs_struct): Use "__extension__ unsigned long long"
23649 instead of "unsigned long" if __x86_64__ is defined.
23650 (user): Likewise. Pad after pointer field if __ILP32__ is
23651 defined.
23652
4e124ced
JM
236532012-05-16 Joseph Myers <joseph@codesourcery.com>
23654
6a3951a0
JM
23655 * configure.in (makeinfo): Require version 4.5 or later. Allow
23656 versions 5 to 9.
23657 * configure: Regenerated.
23658 * manual/install.texi (texinfo): Increase version requirement to
23659 4.5 or later.
23660 * INSTALL: Regenerated.
23661
4e124ced
JM
23662 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23663
953ca31a
L
236642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23665
23666 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23667
617aca05
L
23668 * sysdeps/x86_64/x32/ffs.c: New file.
23669
5762f7ae
L
23670 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23671 __syscall_ulong_t.
23672 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23673 defined. Use __syscall_ulong_t.
23674 (shminfo): Use __syscall_ulong_t.
23675 (shm_info): Likewise.
23676
a26b6856
L
23677 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23678 __syscall_ulong_t.
23679
cb2b9ef7
L
23680 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23681 <bits/wordsize.h>.
23682 (msgqnum_t): Use __syscall_ulong_t.
23683 (msglen_t): Likewise.
23684 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23685 __syscall_ulong_t.
23686
34683bb0
L
23687 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23688 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23689
84a68786
L
23690 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23691
48baa5f1
L
23692 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23693 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23694
180be88b
L
23695 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23696 __syscall_slong_t.
23697
5e90c8ad
L
23698 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23699 include <bits/wordsize.h>. Check __x86_64__ instead of
23700 __WORDSIZE.
23701
23dfb58b
L
23702 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23703 "unsigned long long int" if __x86_64__ is defined.
23704 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23705
ce5d54b0
L
23706 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23707 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23708 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23709
13dc9eac
L
23710 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23711 <stdint.h>.
23712 (GET_PC): Cast to uintptr_t first.
23713 (GET_FRAME): Likewise.
23714 (GET_STACK): Likewise.
23715
a7895d15
L
23716 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23717 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23718 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23719 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23720 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23721 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23722 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23723 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23724 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23725 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23726 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23727 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23728 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23729 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23730 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23731 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23732 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23733 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23734 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23735 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23736 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23737 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23738 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23739 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23740 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23741 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23742 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23743 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23744 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23745
656416c9
AS
237462012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23747
5bd66283
AS
23748 * Makerules (+depfiles): Also collect depfiles from .oS in
23749 $(extra-objs).
23750 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23751 .oS, $(libnldbl-routines)).
23752
656416c9
AS
23753 * Makerules (native-compile-mkdep-flags): Define.
23754 * sunrpc/Makefile (extra-objs): Add $(addprefix
23755 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23756 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23757 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23758 calling $(make-target-directory).
23759
a46f2169
L
237602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23761
23762 * bits/types.h (__snseconds_t): Removed.
23763 * time/time.h (struct timespec): Replace __snseconds_t with
23764 __syscall_slong_t.
23765 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23766 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23767 Likewise.
23768 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23769 (__SNSECONDS_T_TYPE): Likewise.
23770 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23771 (__SNSECONDS_T_TYPE): Likewise.
23772 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23773 (__SNSECONDS_T_TYPE): Likewise.
23774
6af6528b
L
237752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23776
23777 * sysdeps/mach/hurd/bits/typesizes.h
23778 (__SYSCALL_SLONG_TYPE): New macro.
23779 (__SYSCALL_ULONG_TYPE): Likewise.
23780
de986b56
L
237812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23782
23783 * bits/types.h (__syscall_slong_t): New type.
23784 (__syscall_ulong_t): Likewise.
23785
23786 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23787 (__SYSCALL_ULONG_TYPE): Likewise.
23788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23789 (__SYSCALL_SLONG_TYPE): Likewise.
23790 (__SYSCALL_ULONG_TYPE): Likewise.
23791 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23792 (__SYSCALL_SLONG_TYPE): Likewise.
23793 (__SYSCALL_ULONG_TYPE): Likewise.
23794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23795 (__SYSCALL_SLONG_TYPE): Likewise.
23796 (__SYSCALL_ULONG_TYPE): Likewise.
23797
85736dc7
L
237982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23799
23800 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23801 Add sigaltstack-offsets.sym.
23802 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23803 <sigaltstack-offsets.h>.
23804 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23805 longjmp_msg pointer.
23806 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23807 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23808 signal stack.
23809 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23810
cc03b296
JM
238112012-05-15 Joseph Myers <joseph@codesourcery.com>
23812
a9538892
JM
23813 * elf/stackguard-macros.h: Remove file.
23814 * sysdeps/generic/stackguard-macros.h: New file.
23815 * sysdeps/i386/stackguard-macros.h: Likewise.
23816 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23817 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23818 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23819 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23820 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23821 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23822 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23823 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23824 <elf/stackguard-macros.h>.
23825
cc03b296
JM
23826 [BZ #14109]
23827 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23828 __aligned__ in attribute.
23829 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23830 (gregset_t): Likewise.
23831
93171016
L
238322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23833
23834 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23835 * sysdeps/x86_64/64/Implies-after: Here. New file.
23836 * sysdeps/x86_64/x32/Implies-after: New file.
23837
d86813a0
L
238382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23839
23840 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23841 and access return value for _dl_profile_fixup. Use R10_LP to
23842 load frame size.
23843
2953ec75
L
238442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23845
23846 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23847
3b550e9e
L
238482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23849
23850 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23851 * sysdeps/x86_64/x32/sysdep.h: New file.
23852
eda41706
L
238532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23854
23855 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23856 * sysdeps/x86_64/setjmp.S: Likewise.
23857
9ea01d93
AZ
238582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23859
23860 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23861 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23862 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23863 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23864 remove unused global constant.
23865
02a91938
CM
238662012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23867
23868 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23869 include of <not-cancel.h>.
23870
6540185f
RM
238712012-05-15 Roland McGrath <roland@hack.frob.com>
23872
23873 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23874
509072a0
AJ
238752012-05-15 Jeff Law <law@redhat.com>
23876 Andreas Jaeger <aj@suse.de>
23877
23878 [BZ #13594]
23879 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23880 out from...
23881 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23882 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23883 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23884 code changing __hst_map_handle.map.
23885
ba75122d
RM
238862012-05-15 Roland McGrath <roland@hack.frob.com>
23887
23888 * configure.in (sysnames): Look for Implies-before and Implies-after
23889 files.
23890 * configure: Regenerated.
23891
890d8bd8
L
238922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23893
23894 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23895 8-byte data alignment with LP_SIZE alignment.
23896
f6ee6623
L
238972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23898
23899 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23900 into R10_LP.
23901
ea2626f6
L
239022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23903
23904 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23905
085f715e
L
239062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23907
23908 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23909 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23910 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23911 Likewise.
23912 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23913
be8498fc
L
239142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23915
23916 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23917 (stackinfo_sub_sp): Likewise.
23918
70bc83b9
L
239192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23920
23921 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23922 RAX_LP.
23923
9bc0b730
L
239242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23925
23926 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23927 into R*_LP.
23928
6d2850e7
L
239292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23930
23931 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23932 sizes into R*_LP.
23933
3cb84561
L
239342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23935
23936 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23937
54e2ed81
L
239382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23939
23940 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23941 into R11_LP and load __x86_64_shared_cache_size_half into
23942 R8_LP.
23943
8a17f349
L
239442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23945
23946 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23947 R8_LP.
23948
777b1eea
AZ
239492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23950
23951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23952 logb for POWER7.
23953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23954 logbf for POWER7.
23955 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23956 logbl for POWER7.
23957 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23958 powerpc32/power7/fpu/s_logb.c via #include.
23959 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23960 powerpc32/power7/fpu/s_logbf.c via #include.
23961 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23962 powerpc32/power7/fpu/s_logbl.c via #include.
23963
d20d4ac2
JM
239642012-05-15 Joseph Myers <joseph@codesourcery.com>
23965
23966 * README.libm: Remove file.
23967
6cdef1ab
L
239682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23969
23970 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23971 count for x32. Use R*_LP and omit operand-size suffix.
23972
0b254d8f
L
239732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23974
23975 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23976 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23977 * sysdeps/x86_64/x32/shlib-versions: New file.
23978
ceb809dc
RM
239792012-05-14 Roland McGrath <roland@hack.frob.com>
23980
23981 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23982 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23983 Use _dl_fatal_printf instead.
23984
37f1abd4
JM
239852012-05-14 Joseph Myers <joseph@codesourcery.com>
23986
23987 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23988 set if not set by the user. Do not allow for being unset.
23989 * sysdeps/unix/sysv/linux/configure: Regenerated.
23990
11de3a33
L
239912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23992
23993 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23994 the `q' suffix from lea and replace .quad with ASM_ADDR.
23995
e02f153a
L
239962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23997
23998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23999 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24000 instead of $17.
24001 (PTR_DEMANGLE): Likewise.
24002
520ae0fd
L
240032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24004
24005 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24006 (LP_OP): Likewise.
24007 (ASM_ADDR): Likewise.
24008 (RAX_LP): Likewise.
24009 (RBP_LP): Likewise.
24010 (RBX_LP): Likewise.
24011 (RCX_LP): Likewise.
24012 (RDI_LP): Likewise.
24013 (RSI_LP): Likewise.
24014 (RSP_LP): Likewise.
24015 (R8_LP): Likewise.
24016 (R9_LP): Likewise.
24017 (R10_LP): Likewise.
24018 (R10_LP): Likewise.
24019 (R11_LP): Likewise.
24020 (R12_LP): Likewise.
24021 (R13_LP): Likewise.
24022 (R14_LP): Likewise.
24023 (R15_LP): Likewise.
24024
b985be81
L
240252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24026
24027 * sysdeps/x86_64/x32/dl-machine.h: New file.
24028
6a4888ff
AJ
240292012-05-14 Andreas Jaeger <aj@suse.de>
24030
24031 * manual/Makefile (subdir): Remove export of subdir.
24032 (all): Remove target.
24033 (.PHONY): Remove all from list.
24034 (mkinstalldirs): Remove.
24035 (.PHONY): Remove installdirs from list.
24036 ($(inst_infodir)/libc.info): Use make-target-directory.
24037 (installdirs): Remove.
24038 (subdir_%): Remove.
24039 (glibc-targets): Remove.
24040 (lib): Remove.
24041 (stubs): Remove.
24042 ($(objpfx)stubs ../po/manual.pot): Remove.
24043 ($(objpfx)stamp%): Remove.
24044 (make-target-directory): Remove.
24045 (subdir_install): Remove.
24046 (routines): Remove.
24047 (aux): Remove.
24048 (sources): Remove.
24049 (objects): Remove.
24050 (headers): Remove.
24051
24052 [BZ #13750]
24053 * manual/.gitignore: Remove, it's not needed anymore.
24054 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24055 all files in it.
24056 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24057 directory.
24058 (texis): Renamed to $(objpfx)texis.
24059 (texis-path): New, contains path to generated files.
24060 (chapters.%): Use texis-path for complete path, add extra argument
24061 libc-texinfo.sh.
24062 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24063 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24064 (summary,texi, stamp-summary): Use complete path of
24065 files. Generate files in build dir.
24066 (dir-add.texi): Build in build dir.
24067 (libm-err.texi,stamp-libm-err): Likewise.
24068 (version.texi, stamp-version): Likewise.
24069 (.%c.texi): Likewise.
24070 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24071 (mostlyclean): Remove target.
24072 (realclean): Remove target.
24073 (generated): Add new variable with contents from mostlyclean and
24074 realclean, remove entries duplicated in common-mostlyclean, add
24075 stamp-libm-err and stamp-version.
24076 (generated-dirs): Add libc directory.
24077 ($(inst_infodir)/libc.info): Install files from build dir.
24078
24079 * manual/install.texi (Configuring and compiling): Adjust since
24080 the info files are not part of the tar ball anymore.
24081
7ac77294
AJ
240822012-05-14 Andreas Jaeger <aj@suse.de>
24083
24084 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24085 variable.
24086
ffb7875d
JM
240872012-05-14 Joseph Myers <joseph@codesourcery.com>
24088
24089 [BZ #13717]
24090 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24091 to 2.2.0 where earlier.
24092 * sysdeps/unix/sysv/linux/configure: Regenerated.
24093 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24094 Remove conditional code.
24095 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24096 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24097 Remove conditional code.
24098 [!__NR_lchown]: Likewise.
24099 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24100 [__NR_lchown]: Likewise.
24101 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24102 comment referencing __ASSUME_LCHOWN_SYSCALL.
24103 * sysdeps/unix/sysv/linux/i386/sigaction.c
24104 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24105 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24106 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24107 Remove conditional code.
24108 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24109 (__protocol_available): Remove #if 0 code.
24110 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24111 conditional code.
24112 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24113 * sysdeps/unix/sysv/linux/kernel-features.h
24114 (__ASSUME_GETCWD_SYSCALL): Don't define.
24115 (__ASSUME_REALTIME_SIGNALS): Likewise.
24116 (__ASSUME_PREAD_SYSCALL): Likewise.
24117 (__ASSUME_PWRITE_SYSCALL): Likewise.
24118 (__ASSUME_POLL_SYSCALL): Likewise.
24119 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24120 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24121 non-SPARC.
24122 (__ASSUME_SIOCGIFNAME): Don't define.
24123 (__ASSUME_MSG_NOSIGNAL): Likewise.
24124 (__ASSUME_SENDFILE): Define unconditionally.
24125 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24126 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24127 conditional code.
24128 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24129 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24130 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24131 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24132 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24133 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24134 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24136 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24139 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24142 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24145 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24148 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24149 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24151 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24154 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24155 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24159 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24160 Remove conditional code.
24161 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24162 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24163 Remove conditional code.
24164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24165 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24166 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24167 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24168 Remove conditional code.
24169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24170 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24171 Remove conditional code.
24172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24173 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24174 Remove conditional code.
24175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24176 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24177 Remove conditional code.
24178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24179 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24180 Remove conditional code.
24181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24182 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24183 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24185 * sysdeps/unix/sysv/linux/sigaction.c
24186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24188 * sysdeps/unix/sysv/linux/sigpending.c
24189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24191 * sysdeps/unix/sysv/linux/sigprocmask.c
24192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24194 * sysdeps/unix/sysv/linux/sigsuspend.c
24195 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24196 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24197 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24198 (__libc_missing_rt_sigs): Remove.
24199 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24200 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24201 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24202 Remove conditional code.
24203 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24204 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24205 return 1.
24206 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24207 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24208 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24209 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24210
1bfb7291
AJ
242112012-05-14 Andreas Jaeger <aj@suse.de>
24212
caae5a81
AJ
24213 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24214 it's not used in glibc.
24215 (__coshm1): Likewise.
24216 (__acosh1p): Likewise.
24217 (__sgn): Likewise.
24218
1bfb7291
AJ
24219 * manual/string.texi (Copying and Concatenation): Add missing
24220 variable in concat example.
24221 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24222
c044d724
L
242232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24224
144c5467 24225 [BZ #14103]
c044d724
L
24226 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24227 __builtin_clzl with __builtin_clzll.
24228
2523c62b
L
242292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24230
24231 [BZ #14104]
24232 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24233 libc_freeres_ptr.
24234
d7bb4c42
LD
242352012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24236
24237 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24238 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24239 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24240 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24241
9dc4e1fb
MF
242422012-05-14 Mike Frysinger <vapier@gentoo.org>
24243
24244 * NEWS: Update ia64 info.
24245
c7df0112
AS
242462012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24247
24248 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24249 used as bcopy.
24250
dc70356c
TS
242512012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24252
24253 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24254 * sysdeps/unix/syscalls.list (dup3): Likewise.
24255 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24256 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24257
9fb1a21f
L
242582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24259
24260 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24261 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24262
4822a2a5
L
242632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24264
24265 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24266 thread pointer.
24267 (TLS_IE): Use mov/add instead of movq/addq to load thread
24268 pointer.
24269 (TLS_GD_PREFIX): New.
24270 (TLS_GD): Use it.
24271
842b81d6
DM
242722012-05-11 David S. Miller <davem@davemloft.net>
24273
24274 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24275 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24276 (_FPU_SETCW): Likewise.
24277
1cf463cd
L
242782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24279
24280 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24281 is 32-byte aligned.
24282
60cc4a18
AS
242832012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24284
24285 [BZ #11837]
24286 * iconvdata/gb18030.c: Update tables.
24287 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24288 characters specially.
24289 (BODY for TO_LOOP): Add encoding of missing ranges.
24290
febb44a4
TS
242912012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24292
24293 [BZ #13673]
24294 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24295 * sysdeps/mach/hurd/dup3.c: Likewise.
24296 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24297 * sysdeps/powerpc/memmove.c:: Likewise.
24298
0a10fb9e
L
242992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24300
24301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24302 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24303
df8a552f
L
243042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24305
24306 * elf/elf.h (R_X86_64_RELATIVE64): New.
24307 (R_X86_64_NUM): Updated.
24308 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24309 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24310 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24311 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24312 tst-quad1pie tst-quad2pie
24313 (modules-names): Add tst-quadmod1 tst-quadmod2.
24314 ($(objpfx)tst-quad1): New dependency.
24315 ($(objpfx)tst-quad2): Likewise.
24316 ($(objpfx)tst-quad1pie): Likewise.
24317 ($(objpfx)tst-quad2pie): Likewise.
24318 * sysdeps/x86_64/tst-quad1.c: New file.
24319 * sysdeps/x86_64/tst-quad1pie.c: New file.
24320 * sysdeps/x86_64/tst-quad2.c: Likewise.
24321 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24322 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24323 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24324 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24325 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24326
f34d6f84
ST
243272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24328
f42d41d1
ST
24329 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24330 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24331 * streams/stropts.h (t_scalar_t): Define type.
24332
3c3571fc
ST
24333 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24334 (_PATH_PRESERVE): Set to "/var/lib".
24335 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24336
61f06bd3
ST
24337 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24338 instead of int.
24339
918d4d71
ST
24340 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24341 if __dir_mkfile succeeded.
24342
f34d6f84
ST
24343 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24344 checking for _hurd_dtablesize. Unlock it right after having
24345 finished _hurd_dtable allocation.
24346
10589b4a
TS
243472012-05-10 Thomas Schwinge <thomas@schwinge.name>
24348
674cdbc7
TS
24349 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24350 * sysdeps/mach/hurd/configure: Regenerated.
24351 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24352 special-casing to...
24353 * sysdeps/gnu/configure.in: ... this new file.
24354 * sysdeps/unix/sysv/linux/configure: Regenerated.
24355 * sysdeps/gnu/configure: New generated file.
24356
8e41b99f
TS
24357 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24358 for Linux: use nsec instead of usec, as well as:
24359 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24360 members of type struct timespec.
24361 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24362 New macros.
24363 (struct stat64): Likewise.
24364 (_STATBUF_ST_NSEC): New macro.
24365 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24366
10589b4a
TS
24367 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24368 __strtoul_internal rather than strtoul.
24369
63643c85
PT
243702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24371
24372 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24373 and reject them.
24374
3faebe6a
ST
243752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24376
24377 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24378 which preserves existing values.
24379 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24380
c6474b07
PT
243812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24382
24383 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24384 TIMEOUT values. Return EINVAL for NFDS values either negative or
24385 greater than FD_SETSIZE.
24386
1043890b
ST
243872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24388
24389 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24390 allocated, call __vm_protect to finish enabling the existing space, and
24391 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24392 allocate the remainder.
24393
37ed8b9b
PT
243942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24395
24396 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24397 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24398
db653660
ST
243992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24400
37ed8b9b
PT
24401 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24402 sysdeps/mach/hurd/readlink.c.
b29d4053 24403
db653660
ST
24404 * posix/tst-sysconf.c (posix_options): Only use
24405 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24406 _POSIX_SYNCHRONIZED_IO when they are defined
24407 * sysdeps/mach/hurd/bits/posix_opt.h:
24408 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24409 (_XOPEN_REALTIME): Undefine macro.
24410 (_XOPEN_REALTIME_THREADS): Undefine macro.
24411 (_XOPEN_SHM): Undefine macro.
24412 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24413 macro to -1.
24414 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24415 macro to -1.
24416 (_POSIX_ASYNC_IO): Undefine macro.
24417 (_POSIX_PRIORITIZED_IO): Undefine macro.
24418 (_POSIX_SPIN_LOCKS): Define macro to -1.
24419
ee16e894
ST
24420 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24421 SA_NODEFER, SA_RESETHAND.
24422 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24423 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24424 F_DUPFD_CLOEXEC.
24425
6103ae3b
TS
244262012-05-10 Thomas Schwinge <thomas@schwinge.name>
24427
24428 * elf/Makefile (pldd-modules): Define unconditionally.
24429
80b4e5f3
TS
244302012-05-10 Thomas Schwinge <thomas@schwinge.name>
24431
24432 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24433
edadcbd6
ST
244342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24435
24436 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24437 Return ENOENT when name is empty.
24438 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24439
80694780
TS
244402012-05-10 Thomas Schwinge <thomas@schwinge.name>
24441
1792c087
TS
24442 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24443
80694780
TS
24444 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24445
6b645f0d
ST
244462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24447
80694780
TS
24448 Fix mlock in all cases except non-readable pages.
24449 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24450 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24451
6b645f0d
ST
24452 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24453 (__mkdir): When path is `/', just fail with EEXIST.
24454 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24455
e468f8a3
TS
244562012-05-10 Thomas Schwinge <thomas@schwinge.name>
24457
24458 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24459 <sys/uio.h> (for writev).
24460 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24461 and <sys/param.h> (for MIN).
24462
a4186cff
PT
244632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24464
24465 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24466 REQUESTED_TIME. Properly set the remaining time and return EINTR
24467 if interrupted.
24468
510bbf14
TS
244692012-05-10 Thomas Schwinge <thomas@schwinge.name>
24470
24471 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24472 Depend on against $(link-rpcuserlibs).
24473
5d5722e8
ST
244742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24475
a4186cff
PT
24476 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24477 (__libc_stack_end): Do not use attribute_relro.
24478 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24479 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24480 to libthread-provided value.
a4186cff
PT
24481 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24482 attribute_relro.
5d5722e8 24483
37233df9
TS
244842012-05-10 Thomas Schwinge <thomas@schwinge.name>
24485
be971a2b
TS
24486 [BZ #3748]
24487 * bits/libc-lock.h (__libc_once_get): New macro.
24488 * sysdeps/mach/bits/libc-lock.h: Likewise.
24489 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24490 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24491 instead of using implementation details.
24492
37233df9
TS
24493 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24494 * libio/freopen.c: Likewise.
24495 * libio/freopen64.c: Likewise.
24496 * misc/syslog.c: Likewise.
24497 * nscd/connections.c: Likewise.
24498 * nscd/netgroupcache.c: Likewise.
24499 * sysdeps/posix/getcwd.c: Likewise.
24500
38de94a5
RM
245012012-05-10 Roland McGrath <roland@hack.frob.com>
24502
24503 * math/w_ilogbf.c: Add #include <limits.h>.
24504
67530489
ST
245052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24506
a4186cff 24507 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24508 path instead of returning without unlocking.
24509
67530489
ST
24510 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24511 immediate-write ioctls.
24512 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24513
5aa3a74a
TS
245142012-05-10 Thomas Schwinge <thomas@schwinge.name>
24515
18bad2ae
TS
24516 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24517 __builtin_frame_address instead of making assumptions about the
24518 location of the return address relative to DATA. Force early load of
24519 the return address.
24520 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24521 __builtin_frame_address.
24522
5aa3a74a
TS
24523 dup3 for GNU Hurd.
24524 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24525 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24526 implement dup3 and do some further code clean-ups.
24527 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24528 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24529
ecd0de9a
ST
245302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24531
cd9fa985
ST
24532 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24533
a4186cff
PT
24534 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24535 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24536 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24537 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24538 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24539 d->port.lock.
802ca5a5 24540
a4186cff
PT
24541 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24542 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24543 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24544
bcf55240
TS
245452012-05-10 Thomas Schwinge <thomas@schwinge.name>
24546
6960eb42
TS
24547 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24548 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24549 definitions.
24550
eb43375f
TS
24551 accept4 for GNU Hurd.
24552 * include/sys/socket.h (__libc_accept4): New prototype.
24553 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24554 to implement __libc_accept4.
24555 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24556 __libc_accept4.
24557 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24558
bcf55240
TS
24559 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24560 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24561 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24562 signal-defines.sym.
24563
6178c55b
ST
245642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24565
a4186cff 24566 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24567
6f080c2f
TS
245682012-05-10 Thomas Schwinge <thomas@schwinge.name>
24569
24570 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24571 assertion on O_CLOEXEC flag.
24572 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24573 * hurd/intern-fd.c: Likewise.
24574 * hurd/port2fd.c: Likewise.
24575
bcfe3a54
ST
245762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24577
24578 [BZ #3906]
24579 * bits/in.h (IPV6_PKTINFO): Define new macro.
24580 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24581
89c9aa49
AZ
245822012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24583
24584 [BZ #13954]
24585 [BZ #13955]
24586 [BZ #13956]
24587 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24589 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24590 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24592 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24593 * math/libm-test.inc (logb_test) : Additional logb tests.
24594
021db4be
AJ
245952012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24596 Andreas Jaeger <aj@suse.de>
24597
24598 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24599 * configure: Regenerated.
24600 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24601 * config.make.in (link-obsolete-rpc): New substituted variable.
24602 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24603 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24604 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24605 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24606 so that libc.a contains the symbols.
24607 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24608 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24609 * sunrpc/auth_none.c: Likewise.
24610 * sunrpc/auth_unix.c: Likewise.
24611 * sunrpc/authdes_prot.c: Likewise.
24612 * sunrpc/authuxprot.c: Likewise.
24613 * sunrpc/clnt_gen.c: Likewise.
24614 * sunrpc/clnt_perr.c: Likewise.
24615 * sunrpc/clnt_raw.c: Likewise.
24616 * sunrpc/clnt_simp.c: Likewise.
24617 * sunrpc/clnt_tcp.c: Likewise.
24618 * sunrpc/clnt_udp.c: Likewise.
24619 * sunrpc/clnt_unix.c: Likewise.
24620 * sunrpc/des_crypt.c: Likewise.
24621 * sunrpc/des_soft.c: Likewise.
24622 * sunrpc/get_myaddr.c: Likewise.
24623 * sunrpc/key_call.c: Likewise.
24624 * sunrpc/key_prot.c: Likewise.
24625 * sunrpc/netname.c: Likewise.
24626 * sunrpc/pm_getmaps.c: Likewise.
24627 * sunrpc/pm_getport.c: Likewise.
24628 * sunrpc/pmap_clnt.c: Likewise.
24629 * sunrpc/pmap_prot.c: Likewise.
24630 * sunrpc/pmap_prot2.c: Likewise.
24631 * sunrpc/pmap_rmt.c: Likewise.
24632 * sunrpc/publickey.c: Likewise.
24633 * sunrpc/rpc_cmsg.c: Likewise.
24634 * sunrpc/rpc_common.c: Likewise.
24635 * sunrpc/rpc_dtable.c: Likewise.
24636 * sunrpc/rpc_prot.c: Likewise.
24637 * sunrpc/rpc_thread.c: Likewise.
24638 * sunrpc/rtime.c: Likewise.
24639 * sunrpc/svc.c: Likewise.
24640 * sunrpc/svc_auth.c: Likewise.
24641 * sunrpc/svc_raw.c: Likewise.
24642 * sunrpc/svc_run.c: Likewise.
24643 * sunrpc/svc_tcp.c: Likewise.
24644 * sunrpc/svc_udp.c: Likewise.
24645 * sunrpc/svc_unix.c: Likewise.
24646 * sunrpc/svcauth_des.c: Likewise.
24647 * sunrpc/xcrypt.c: Likewise.
24648 * sunrpc/xdr.c: Likewise.
24649 * sunrpc/xdr_array.c: Likewise.
24650 * sunrpc/xdr_float.c: Likewise.
24651 * sunrpc/xdr_intXX_t.c: Likewise.
24652 * sunrpc/xdr_mem.c: Likewise.
24653 * sunrpc/xdr_rec.c: Likewise.
24654 * sunrpc/xdr_ref.c: Likewise.
24655 * sunrpc/xdr_sizeof.c: Likewise.
24656 * sunrpc/xdr_stdio.c: Likewise.
24657
b5c086a2
RM
246582012-05-10 Roland McGrath <roland@hack.frob.com>
24659
24660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24661 change. Update copyright years.
24662
6d74dd09
JM
246632012-05-10 Joseph Myers <joseph@codesourcery.com>
24664
24665 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24666
28e72501
MK
246672012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24668 Joseph Myers <joseph@codesourcery.com>
24669 Paul Pluzhnikov <ppluzhnikov@google.com>
24670
24671 [BZ #14012]
24672 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24673 requiring rpcgen.
24674 [cross-compiling] (extra-libs): Likewise.
24675 [cross-compiling] (extra-libs-others): Likewise.
24676 [cross-compiling] (librpcsvc-routines): Likewise.
24677 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24678 [cross-compiling] (omit-deps): Likewise.
24679 (sunrpc-CPPFLAGS): New variable.
24680 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24681 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24682 (cross-rpcgen-objs): New variable.
24683 (extra-objs): Append $(cross-rpcgen-objs).
24684 ($(cross-rpcgen-objs)): New rule.
24685 ($(objpfx)cross-rpcgen): Likewise.
24686 (rpcgen-cmd): Define to use $(built-program-file). Expand
24687 comment.
24688 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24689 ($(objpfx)x%.stmp): Likewise.
24690 * sunrpc/proto.h [IS_IN_build] (_): Define.
24691 [IS_IN_build] (_libc_intl_domainname): Likewise.
24692
c8c59454
L
246932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24694
24695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24696 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24697 and R_X86_64_TPOFF64.
24698
6f27cd16
JM
246992012-05-10 Joseph Myers <joseph@codesourcery.com>
24700
24701 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24702 sysdeps/unix/sysv/syscalls.list.
24703 (stime): Likewise.
24704 (utime): Likewise.
24705 * sysdeps/unix/sysv/syscalls.list: Remove file.
24706
02467e1c
PE
247072012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24708
24709 [BZ #3440]
24710 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24711 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24712 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24713 (__LC_IDENTIFICATION): Make these macros useful in #if
24714 expressions, as required by C99.
24715
da392631
AS
247162012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24717
24718 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24719 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24720 after this.
24721
8115f29b
L
247222012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24723
24724 * stdlib/longlong.h: Updated from GCC.
24725
bdd74070
AJ
247262012-05-09 Andreas Jaeger <aj@suse.de>
24727
edfe0dbe
AJ
24728 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24729 default is first entry.
24730 (run_mode): Set type.
24731 (main): Remove informal message about syslog.
24732 (options): Fix typo.
24733
bcfe3a54
ST
24734 [BZ #14053]
24735 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24736 to asm.
bcfe3a54
ST
24737 (lrint): Likewise.
24738 (llrintf): Likewise.
24739 (llrint): Likewise.
24740 (rint): Likewise.
24741 (rintf): Likewise.
24742 (nearbyint): Likewise.
24743 (nearbyintf): Likewise.
bdd74070 24744
91d8d69e
AJ
247452012-05-09 Andreas Jaeger <aj@suse.de>
24746 Pedro Alves <palves@redhat.com>
24747
24748 * nscd/nscd.c (run_mode): Use enum.
24749 (main): Cleanup coding style issue.
24750
bb90b80b
AJ
247512012-05-09 Alexandre Oliva <aoliva@redhat.com>
24752 Andreas Jaeger <aj@suse.de>
24753
bcfe3a54
ST
24754 * nscd/nscd.c (go_background): Replaced with...
24755 (run_mode): ... this.
bb90b80b 24756 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24757 (options): Add -F --foreground.
24758 (main): Implement it.
24759 (parse_opt): Parse it.
bb90b80b 24760
1a4b75a1
AJ
247612012-05-09 Andreas Jaeger <aj@suse.de>
24762
24763 [BZ #14083]
24764 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24765 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24766 -Wconversion warning.
24767 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24768 Likewise.
24769
b1cc2472
JM
247702012-05-09 Joseph Myers <joseph@codesourcery.com>
24771
24772 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24773 == 0.
24774 (LC_ALL): Use macro-int-constant.
24775 (LC_COLLATE): Likewise.
24776 (LC_CTYPE): Likewise.
24777 (LC_MESSAGES): Likewise.
24778 (LC_MONETARY): Likewise.
24779 (LC_NUMERIC): Likewise.
24780 (LC_TIME): Likewise.
24781 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24782 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24783 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24784 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24785 Specify type.
24786 [C99-based standards] (float_t): Expect type.
24787 [C99-based standards] (double_t): Expect type.
24788 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24789 type.
24790 [C99-based standards] (HUGE_VALL): Likewise.
24791 [C99-based standards] (INFINITY): Likewise.
24792 [C99-based standards] (NAN): Likewise.
24793 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24794 [C99-based standards] (FP_NAN): Likewise.
24795 [C99-based standards] (FP_NORMAL): Likewise.
24796 [C99-based standards] (FP_SUBNORMAL): Likewise.
24797 [C99-based standards] (FP_ZERO): Likewise.
24798 [C99-based standards] (FP_FAST_FMA): Use
24799 optional-macro-int-constant. Specify type. Require == 1.
24800 [C99-based standards] (FP_FAST_FMAF): Likewise.
24801 [C99-based standards] (FP_FAST_FMAL): Likewise.
24802 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24803 [C99-based standards] (FP_ILOGBNAN): Likewise.
24804 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24805 Specify type.
24806 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24807 [C99-based standards] (math_errhandling): Specify type.
24808 [ISO99 || ISO11] (signgam): Do not allow.
24809 [non-C99-based standards] (copysignf): Do not allow.
24810 [non-C99-based standards] (exp2f): Likewise.
24811 [non-C99-based standards] (log2f): Likewise.
24812 [non-C99-based standards] (modff): Allow.
24813 [non-C99-based standards] (erff): Do not allow.
24814 [non-C99-based standards] (erfcf): Likewise.
24815 [non-C99-based standards] (gammaf): Likewise.
24816 [non-C99-based standards] (hypotf): Likewise.
24817 [non-C99-based standards] (j0f): Likewise.
24818 [non-C99-based standards] (j1f): Likewise.
24819 [non-C99-based standards] (jnf): Likewise.
24820 [non-C99-based standards] (lgammaf): Likewise.
24821 [non-C99-based standards] (tgammaf): Likewise.
24822 [non-C99-based standards] (y0f): Likewise.
24823 [non-C99-based standards] (y1f): Likewise.
24824 [non-C99-based standards] (ynf): Likewise.
24825 [non-C99-based standards] (isnanf): Likewise.
24826 [non-C99-based standards] (acoshf): Likewise.
24827 [non-C99-based standards] (asinhf): Likewise.
24828 [non-C99-based standards] (atanhf): Likewise.
24829 [non-C99-based standards] (cbrtf): Likewise.
24830 [non-C99-based standards] (expm1f): Likewise.
24831 [non-C99-based standards] (ilogbf): Likewise.
24832 [non-C99-based standards] (log1pf): Likewise.
24833 [non-C99-based standards] (logbf): Likewise.
24834 [non-C99-based standards] (nextafterf): Likewise.
24835 [non-C99-based standards] (remainderf): Likewise.
24836 [non-C99-based standards] (rintf): Likewise.
24837 [non-C99-based standards] (scalbf): Likewise.
24838 [non-C99-based standards] (copysignl): Likewise.
24839 [non-C99-based standards] (exp2l): Likewise.
24840 [non-C99-based standards] (log2l): Likewise.
24841 [non-C99-based standards] (modfl): Allow.
24842 [non-C99-based standards] (erfl): Do not allow.
24843 [non-C99-based standards] (erfcl): Likewise.
24844 [non-C99-based standards] (gammal): Likewise.
24845 [non-C99-based standards] (hypotl): Likewise.
24846 [non-C99-based standards] (j0l): Likewise.
24847 [non-C99-based standards] (j1l): Likewise.
24848 [non-C99-based standards] (jnl): Likewise.
24849 [non-C99-based standards] (lgammal): Likewise.
24850 [non-C99-based standards] (tgammal): Likewise.
24851 [non-C99-based standards] (y0l): Likewise.
24852 [non-C99-based standards] (y1l): Likewise.
24853 [non-C99-based standards] (ynl): Likewise.
24854 [non-C99-based standards] (isnanl): Likewise.
24855 [non-C99-based standards] (acoshl): Likewise.
24856 [non-C99-based standards] (asinhl): Likewise.
24857 [non-C99-based standards] (atanhl): Likewise.
24858 [non-C99-based standards] (cbrtl): Likewise.
24859 [non-C99-based standards] (expm1l): Likewise.
24860 [non-C99-based standards] (ilogbl): Likewise.
24861 [non-C99-based standards] (log1pl): Likewise.
24862 [non-C99-based standards] (logbl): Likewise.
24863 [non-C99-based standards] (nextafterl): Likewise.
24864 [non-C99-based standards] (remainderl): Likewise.
24865 [non-C99-based standards] (rintl): Likewise.
24866 [non-C99-based standards] (scalbl): Likewise.
24867 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24868 [non-C99-based standards] (FP_*): Do not allow.
24869 [C99-based standards] (FP_*): Change to
24870 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24871 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24872 allow.
24873 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24874 (SIG_ERR): Likewise.
24875 [X/Open-based standards] (SIG_HOLD): Likewise.
24876 (SIG_IGN): Likewise.
24877 (SIGABRT): Use macro-int-constant. Specify type. Require
24878 positive value.
24879 (SIGFPE): Likewise.
24880 (SIGILL): Likewise.
24881 (SIGINT): Likewise.
24882 (SIGSEGV): Likewise.
24883 (SIGTER): Likewise.
24884 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24885 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24886 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24887 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24888 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24889 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24890 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24891 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24892 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24893 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24894 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24895 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24896 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24897 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24898 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24899 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24900 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24901 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24902 [X/Open-based standards] (SIGTRAP): Likewise.
24903 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24904 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24905 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24906 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24907 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24908 allow.
24909
b9f1922d
IW
249102012-05-08 Ian Wienand <ianw@vmware.com>
24911
24912 [BZ #14080]
24913 * time/tzset.c (__tzset_parse_tz): Update default rules for
24914 daylight time changes in the Energy Policy Act of 2005.
24915
1db86e88
AJ
249162012-05-09 Andreas Jaeger <aj@suse.de>
24917
24918 [BZ #13983]
24919 * elf/ldconfig.c (parse_conf): Change string to make clear that
24920 ldconfig only issued a warning if ld.so.conf does not exist.
24921
dee4a4e3
DM
249222012-05-08 David S. Miller <davem@davemloft.net>
24923
ee0db190
DM
24924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24925 movxtod instead of popping the value on the stack.
24926
dee4a4e3
DM
24927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24928
6a43ec98
CD
249292012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24930
24931 * config.h.in: Add HAVE_ARM_PCS_VFP.
24932
05c2c961
RMG
249332012-05-08 Roland Mc Grath <roland@hack.frob.com>
24934
bcfe3a54
ST
24935 [BZ #13979]
24936 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24937 checking but the checks are disabled for any reason.
05c2c961 24938
4b30f61a
L
249392012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24940
24941 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24942 and ELF64_R_TYPE with ELFW(R_TYPE).
24943
eee2bc67
JM
249442012-05-08 Joseph Myers <joseph@codesourcery.com>
24945
7ea5391a
JM
24946 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24947 (ulimit): Likewise.
24948
eee2bc67
JM
24949 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24950 (settimeofday): Likewise.
24951
abb66a67
MF
249522012-05-08 Mike Frysinger <vapier@gentoo.org>
24953
24954 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24955 a struct th_u2 inside the union, and move tu_block/tu_code into
24956 a new th_u3 union of tu_block/tu_code inside of that. Move
24957 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24958 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24959 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24960 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24961 (th_stuff): Change to th_u1.tu_stuff.
24962 (th_data): Define.
24963 (th_msg): Change to th_u1.th_u2.tu_data.
24964
7f18b530
DM
249652012-05-07 David S. Miller <davem@davemloft.net>
24966
05760585
DM
24967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24968
7f18b530
DM
24969 [BZ #14074]
24970 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24971 (SETUP_PIC_REG): Use it.
24972 (SETUP_PIC_REG_LEAF): Use it.
24973
495fd99f
JM
249742012-05-07 Joseph Myers <joseph@codesourcery.com>
24975
24976 [BZ #13885]
24977 [BZ #13923]
24978 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24979 USE_AS_EXPM1L.
24980 (EXPL_FINITE): Likewise.
24981 (FLDLOG): Likewise.
24982 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24983 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24984 e_expl.S.
24985 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24986 USE_AS_EXPM1L.
24987 (EXPL_FINITE): Likewise.
24988 (FLDLOG): Likewise.
24989 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24990 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24991 e_expl.S.
24992 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24993 test of -max_value argument for long double.
24994 * sysdeps/i386/fpu/libm-test-ulps: Update.
24995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24996
6693d694
DM
249972012-05-06 David S. Miller <davem@davemloft.net>
24998
24999 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25000 quad soft-float symbols whose references which are compiler
25001 generated.
25002 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25003
6c23e11c
JM
250042012-05-06 Joseph Myers <joseph@codesourcery.com>
25005
d8b82cad
JM
25006 [BZ #13884]
25007 [BZ #13914]
25008 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25009 USE_AS_EXP10L.
25010 (EXPL_FINITE): Likewise.
25011 (FLDLOG): Likewise.
25012 (c0): Likewise.
25013 (c1): Likewise.
25014 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25015 Adjust comments for base varying.
25016 (__expl_finite): Change alias to EXPL_FINITE.
25017 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25018 e_expl.S.
25019 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25020 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25021 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25022 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25023 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25024 USE_AS_EXP10L.
25025 (EXPL_FINITE): Likewise.
25026 (FLDLOG): Likewise.
25027 (c0): Likewise.
25028 (c1): Likewise.
25029 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25030 Adjust comments for base varying.
25031 (__expl_finite): Change alias to EXPL_FINITE.
25032 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25033 tests for bugs.
25034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25035
6c23e11c
JM
25036 [BZ #14064]
25037 * math/libm-test.inc (check_float_internal): Correct ulp
25038 calculation for subnormal expected results.
25039
29ba805c
AJ
250402012-05-06 Andreas Jaeger <aj@suse.de>
25041
25042 * Makeconfig (+math-flags): New, set to -frounding-math.
25043 (+cflags): Add +math-flags so that all of glibc gets compiled with
25044 it.
25045
25046 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25047
7b17aeda
JM
250482012-05-05 Joseph Myers <joseph@codesourcery.com>
25049
5779f134
JM
25050 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25051 Disable one test.
25052
41498f4d
JM
25053 [BZ #13787]
25054 [BZ #13922]
25055 [BZ #14036]
25056 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25057 (__ieee754_expl): Allow for and saturate large arguments.
25058 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25059 (u_threshold): Likewise.
25060 (__exp): Call __ieee754_exp before checking for overflow and
25061 underflow.
25062 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25063 (u_threshold): Likewise.
25064 (__expf): Call __ieee754_expf before checking for overflow and
25065 underflow.
25066 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25067 (u_threshold): Likewise.
25068 (__expl): Call __ieee754_expl before checking for overflow and
25069 underflow.
25070 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25071 (__ieee754_expl): Allow for and saturate large arguments.
25072 * math/libm-test.inc (exp_test): Add another test. Do not allow
25073 missing overflow exception on overflow.
25074 (expm1_test): Do not allow missing overflow exception on overflow.
25075
6698b8bf
JM
25076 * sysdeps/i386/fpu/e_expl.c: Move to ...
25077 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25078 rather than using inline asm.
25079 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25080 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25081 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25082
7b17aeda
JM
25083 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25084 (nice): Likewise.
25085 (poll): Likewise.
25086 (signal): Likewise.
25087 (time): Likewise.
25088 (times): Likewise.
25089
f7c85819
JM
250902012-05-04 Joseph Myers <joseph@codesourcery.com>
25091
25092 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25093 sysdeps/unix/common/syscalls.list.
25094 (fchmod): Likewise.
25095 (fchown): Likewise.
25096 (ftruncate): Likewise.
25097 (getrusage): Likewise.
25098 (gettimeofday): Likewise.
25099 (setpgid): Likewise.
25100 (setregid): Likewise.
25101 (setreuid): Likewise.
25102 (sigaction): Likewise.
25103 (truncate): Likewise.
25104 (vhangup): Likewise.
25105 * sysdeps/unix/common/syscalls.list: Remove file.
25106 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25107 * sysdeps/unix/sysv/linux/Implies: Likewise.
25108
336270d0
L
251092012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25110
25111 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25113 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25114 Moved to ...
25115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25116 Here.
25117 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25118 to ...
25119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25120 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25121 to ...
25122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25123 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25124 to ...
25125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25126 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25127 to ...
25128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25129 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25130 to ...
25131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25132 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25133 to ...
25134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25135 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25136 to ...
25137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25138 Here.
25139 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25140 to ...
25141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25142 Here.
25143 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25144 to ...
25145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25146 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25147 Moved to ...
25148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25149 Here.
25150 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25151 to ...
25152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25153
d128e450
JM
251542012-05-04 Joseph Myers <joseph@codesourcery.com>
25155
fa8ee516
JM
25156 * sysdeps/unix/common/bits/dirent.h: Remove file.
25157 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25158
d128e450
JM
25159 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25160 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25161 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25162 * sysdeps/unix/bsd/isatty.c: Likewise.
25163 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25164 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25165 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25166
ff8faaf0 251672012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25168
62881be4 25169 [BZ #13563]
31dc8730
AZ
25170 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25171 long double comparison inaccuracies.
25172 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25174
6fef930c
AS
251752012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25176
25177 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25178 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25179
8f203e6c
JM
251802012-05-04 Joseph Myers <joseph@codesourcery.com>
25181
25182 [BZ #14049]
25183 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25184 nonzero digits before rounding a hex value.
25185 * stdlib/tst-strtod.c (tests): Add another test.
25186
5197d9c2
AK
251872012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25188
25189 * sysdeps/s390/fpu/libm-test-ulps: Update.
25190
f0c1dedf
AJ
251912012-05-03 Andreas Jaeger <aj@suse.de>
25192
25193 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25194 does not get optimized out.
25195 (malloc_opt_barrier): New.
25196
a65ef2ae 251972012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25198 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25199
2b942cb7 25200 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25201 intermediate file deletion.
2b942cb7 25202 (generated): Add .symlist files.
a65ef2ae 25203
54b71e02
JM
252042012-05-03 Joseph Myers <joseph@codesourcery.com>
25205
25206 [BZ #13775]
25207 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25208 Redirect under this condition.
25209 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25210 [__USE_GNU] (__dprintf_chk): Not under this condition.
25211 [__USE_GNU] (__vdprintf_chk): Likewise.
25212 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25213 under this condition.
25214 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25215 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25216 [__USE_XOPEN2K8] (vdprintf): Likewise.
25217 [__USE_GNU] (__dprintf_chk): Not under this condition.
25218 [__USE_GNU] (__vdprintf_chk): Likewise.
25219 [__USE_GNU] (dprintf): Likewise.
25220 [__USE_GNU] (vdprintf): Likewise.
25221
d3dfcc41
RM
252222012-05-03 Roland McGrath <roland@hack.frob.com>
25223
25224 * elf/Makefile (common-generated): Set this instead of generated for
25225 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25226 $(all-built-dso)-derived lists.
25227
7ac30cc5
AJ
252282012-05-03 Andreas Jaeger <aj@suse.de>
25229
0c51e550
AJ
25230 * sysdeps/i386/fpu/libm-test-ulps: Update.
25231
7ac30cc5
AJ
25232 * FAQ: Removed.
25233 * FAQ.in: Likewise.
25234 * scripts/gen-FAQ.pl: Likewise.
25235 * manual/install.texi (Installation): Point to online location of
25236 FAQ.
25237 * Makefile (files-for-dist): Remove FAQ.
25238 (FAQ): Remove.
25239
d4c2917f
AM
252402012-05-02 Allan McRae <allan@archlinux.org>
25241
25242 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25243 (LDFLAGS-reldepmod5.so): Likewise.
25244 (LDFLAGS-reldep6mod1.so): Likewise.
25245 (LDFLAGS-reldep6mod4.so): Likewise.
25246 (LDFLAGS-reldep8mod3.so): Likewise.
25247 (LDFLAGS-unload4mod1.so): Likewise.
25248 (LDFLAGS-unload4mod2.so): Likewise.
25249 (LDFLAGS-tst-initorder): Likewise.
25250 (LDFLAGS-tst-initordera2.so): Likewise.
25251 (LDFLAGS-tst-initordera3.so): Likewise.
25252 (LDFLAGS-tst-initordera4.so): Likewise.
25253 (LDFLAGS-tst-initorderb2.so): Likewise.
25254 (LDFLAGS-noload): Likewise.
25255 (LDFLAGS-next): Likewise.
25256 (LDFLAGS-order2mod1.so): Likewise.
25257 (LDFLAGS-order2mod2.so): Likewise.
25258 (LDFLAGS-tst-initorder2): Likewise.
25259 (LDFLAGS-tst-initorder2a.so): Likewise.
25260 (LDFLAGS-tst-initorder2b.so): Likewise.
25261 (LDFLAGS-tst-initorder2c.so): Likewise.
25262 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25263
d77f993f
DM
252642012-05-02 David S. Miller <davem@davemloft.net>
25265
25266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25267
171a70b4
PP
252682012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25269
25270 [BZ #14055]
25271 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25272
0be196ad
AJ
252732012-05-02 Andreas Jaeger <aj@suse.de>
25274
25275 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25276 since we manipulate rounding mode.
25277 (CPPFLAGS-test-idouble.c): Likewise.
25278 (CPPFLAGS-test-ifloat.c): Likewise.
25279 (CFLAGS-test-ldouble.c): Likewise.
25280 (CFLAGS-test-double.c): Likewise.
25281 (CFLAGS-test-float.c): Likewise.
25282 (CFLAGS-test-misc.c): Likewise.
25283 (CFLAGS-test-test-fenv.c): Likewise.
25284
4f9d04aa
AZ
252852012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25286
2b942cb7
RM
25287 [BZ #2550]
25288 [BZ #2570]
25289 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25290 comparisons to determine direction to adjust input.
4f9d04aa 25291
82a79e7d
RM
252922012-05-01 Roland McGrath <roland@hack.frob.com>
25293
f5a01ca9
RM
25294 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25295 output to the target.
25296
90fe4186
RM
25297 * scripts/localplt.awk: New file.
25298 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25299 (check-localplt-CFLAGS): Variable removed.
25300 ($(all-built-dso:=.jmprel)): New static pattern rule.
25301 (generated): Add those targets.
25302 (localplt-built-dso): New variable.
25303 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25304
25305 * elf/check-localplt.c: File removed.
25306
82397ed6
RM
25307 * scripts/check-execstack.awk: New file.
25308 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25309 (check-execstack-CFLAGS): Variable removed.
25310 ($(objpfx)check-execstack.h): Target removed.
25311 ($(objpfx)execstack-default): New target.
25312 (generated): Add that instead of check-execstack.h.
25313 ($(all-built-dso:=.phdr)): New static pattern rule.
25314 (generated): Add those targets.
25315 * elf/check-execstack.c: File removed.
25316
82a79e7d
RM
25317 * scripts/check-textrel.awk: New file.
25318 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25319 (check-textrel-CFLAGS): Variable removed.
25320 (all-built-dso): Use := to define.o
25321 ($(all-built-dso:=.dyn)): New static pattern rule.
25322 (generated): Add those targets.
25323 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25324 * config.make.in (READELF): New substituted variable.
25325 * elf/check-textrel.c: File removed.
25326
62fde54f 253272012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25328
615605c9
JM
25329 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25330 allow.
25331 * conform/data/ctype.h-data [C99-based standards] (isblank):
25332 Expect function.
25333 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25334 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25335 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25336 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25337 Specify type. Require positive value.
25338 (EILSEQ): Likewise.
25339 (ERANGE): Likewise.
25340 [ISO || POSIX] (EILSEQ): Do not expect.
25341 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25342 Specify type. Require positive value.
25343 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25344 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25345 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25346 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25347 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25348 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25352 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25354 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25355 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25358 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25361 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25362 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25363 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25364 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25365 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25366 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25367 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25368 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25369 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25370 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25371 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25372 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25373 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25374 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25375 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25376 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25377 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25378 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25379 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25380 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25381 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25382 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25383 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25384 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25385 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25386 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25387 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25388 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25389 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25390 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25391 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25392 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25393 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25394 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25395 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25396 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25397 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25398 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25399 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25400 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25401 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25402 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25403 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25404 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25405 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25406 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25414 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25415 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25416 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25417 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25418 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25419 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25420 Require >= 2.
25421 (FLT_ROUNDS): Expect as macro, not constant.
25422 (FLT_MANT_DIG): Use macro-int-constant.
25423 (DBL_MANT_DIG): Likewise.
25424 (LDBL_MANT_DIG): Likewise.
25425 (FLT_DIG): Likewise.
25426 (DBL_DIG): Likewise.
25427 (LDBL_DIG): Likewise.
25428 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25429 (DBL_MIN_EXP): Likewise.
25430 (LDBL_MIN_EXP): Likewise.
25431 (FLT_MAX_EXP): Use macro-int-constant.
25432 (DBL_MAX_EXP): Likewise.
25433 (LDBL_MAX_EXP): Likewise.
25434 (FLT_MAX_10_EXP): Likewise.
25435 (DBL_MAX_10_EXP): Likewise.
25436 (LDBL_MAX_10_EXP): Likewise.
25437 (FLT_MAX): Use macro-constant.
25438 (DBL_MAX): Likewise.
25439 (LDBL_MAX): Likewise.
25440 (FLT_EPSILON): Use macro-constant. Give upper bound.
25441 (DBL_EPSILON): Likewise.
25442 (LDBL_EPSILON): Likewise.
25443 (FLT_MIN): Likewise.
25444 (DBL_MIN): Likewise.
25445 (LDBL_MIN): Likewise.
25446 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25447 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25448 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25449 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25450 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25451 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25452 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25453 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25454 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25455 [ISO11] (FLT_TRUE_MIN): Likewise.
25456 [ISO11] (LDBL_TRUE_MIN): Likewise.
25457 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25458 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25459 (SCHAR_MIN): Use macro-int-constant. Specify type.
25460 (SCHAR_MAX): Likewise.
25461 (UCHAR_MAX): Likewise.
25462 (CHAR_MIN): Likewise.
25463 (CHAR_MAX): Likewise.
25464 (MB_LEN_MAX): Use macro-int-constant.
25465 (SHRT_MIN): Use macro-int-constant. Specify type.
25466 (SHRT_MAX): Likewise.
25467 (USHRT_MAX): Likewise.
25468 (INT_MAX): Likewise.
25469 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25470 bound negative.
25471 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25472 bound with "U".
25473 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25474 bound with "L".
25475 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25476 bound negative. Suffix upper bound with "L".
25477 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25478 bound with "UL".
25479 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25480 Specify type.
25481 [C99-based standards] (LLONG_MAX): Likewise.
25482 [C99-based standards] (ULLONG_MAX): Likewise.
25483 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25484 == 0.
25485 [ISO11] (max_align_t): Require type.
25486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25487
c9140a62
JM
25488 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25489 from $CFLAGS, without defining away __attribute__ calls.
25490 (checknamespace): Use $CFLAGS_namespace.
25491
9af0bf29
JM
25492 * conform/conformtest.pl (@keywords): Only include C99 keywords
25493 for standards based on C99 or C11.
25494
343222a2
JM
25495 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25496 Disable tests.
25497 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25498 UNIX98]: Likewise.
25499
661f8cf0
JM
25500 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25501 usability of symbols in #if.
25502
ee74b9cb
JM
25503 * conform/conformtest.pl: If macro or constant types start
25504 "promoted:", expect the symbol to be of the following type
25505 promoted by the integer promotions.
62fde54f 25506
aafc49b3
JM
25507 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25508 in one place. Also handle "macro-constant".
25509
fefdf574
JM
25510 * conform/conformtest.pl: Only accept expected macro values with
25511 "==". Parse all "macro" lines in one place.
25512 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25513
f2d922fe
JM
25514 * conform/conformtest.pl: Handle braced types on "constant" lines
25515 instead of handling "typed-constant".
25516 * conform/data/signal.h-data: Use "constant" instead of
25517 "typed-constant".
25518
d22956c9
JM
25519 * conform/conformtest.pl: Handle "optional-" at start of lines in
25520 one place rather than duplicating several cases. Handle each
25521 format of "macro" line with initial "optional-".
25522
028e2e38
JM
25523 * conform/conformtest.pl: Only accept expected constant or
25524 optional-constant values with "==". Parse all "constant" lines in
25525 one place. Parse all "optional-constant" lines in one place.
25526 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25527 * conform/data/fmtmsg.h-data: Likewise.
25528 * conform/data/netinet/in.h-data: Likewise.
25529 * conform/data/tar.h-data: Likewise.
25530 * conform/data/limits.h-data: Use "==" form on "constant" and
25531 "optional-constant" lines.
25532
1b8f2850
JM
25533 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25534 Use -std=c99 for XOPEN2K.
25535 (@knownproblems): Remove.
25536 (newtoken): Don't check %isknown.
25537
a05a144b
JM
25538 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25539 Do not expect macro.
25540 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25541 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25542 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25543 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25544 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25545 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25546 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25547 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25548 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25549 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25550 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25551 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25552 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25553 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25554 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25555 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25556 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25557 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25558 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25559 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25560 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25561 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25562 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25563 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25564 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25565 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25566 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25567 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25568 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25569 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25570 [XPG3] (acosh): Likewise.
25571 [XPG3] (asinh): Likewise.
25572 [XPG3] (atanh): Likewise.
25573 [XPG3] (cbrt): Likewise.
25574 [XPG3] (expm1): Likewise.
25575 [XPG3] (ilogb): Likewise.
25576 [XPG3] (log1p): Likewise.
25577 [XPG3] (logb): Likewise.
25578 [XPG3] (nextafter): Likewise.
25579 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25580 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25581 [XPG3] (remainder): Likewise.
25582 [XPG3] (rint): Likewise.
25583 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25584 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25585 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25586 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25587 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25588 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25589 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25590 [UNIX98 || XOPEN2K] (scalb): Expect.
25591 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25592 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25593 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25594 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25595 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25596 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25597 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25598 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25599 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25600 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25601 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25602 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25603 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25604 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25692 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25693 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25694 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25728
73c5ebe3
JM
25729 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25730 _XOPEN_SOURCE_EXTENDED for XPG4.
25731
39c33b6c
JM
25732 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25733
62fde54f
JM
25734 * Makeconfig (localtime): Remove variable.
25735 (inst_localtime-file): Likewise.
25736
0741d64c
AS
257372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25738
25739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25740 Update.
25741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25742 Update.
25743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25744 Update.
25745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25746 Update.
25747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25748 Update.
25749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25750 Update.
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25752 Update.
25753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25754 Update.
25755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25756 Update.
25757
7cb029ee
JM
257582012-05-01 Joseph Myers <joseph@codesourcery.com>
25759
25760 [BZ #2550]
25761 [BZ #2570]
25762 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25763 comparisons to determine direction to adjust input.
25764 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25765 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25766 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25767 Likewise.
25768 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25769 Likewise.
25770 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25771 Likewise.
25772 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25773 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25774 Likewise.
25775 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25776 Likewise.
25777 * math/libm-test.inc (nexttoward_test): Add more tests.
25778
412bd966
AS
257792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25780
25781 [BZ #14040]
25782 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25783 in version GLIBC_2.1, not GLIBC_2.0.
25784 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25785 Likewise.
25786
9568c0c2
JM
257872012-04-30 Joseph Myers <joseph@codesourcery.com>
25788
adfbc8ac
JM
25789 [BZ #13942]
25790 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25791 (1 - x) * (1 + x).
25792 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25793 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25794 * math/libm-test.inc (acos_test): Add more tests.
25795 (asin_test): Likewise.
25796 * sysdeps/i386/fpu/libm-test-ulps: Update.
25797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25798
5ba3cc69
JM
25799 [BZ #14034]
25800 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25801 of square root.
25802 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25803 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25804 * math/libm-test.inc (acos_test_tonearest): New function.
25805 (acos_test_towardzero): Likewise.
25806 (acos_test_downward): Likewise.
25807 (acos_test_upward): Likewise.
25808 (asin_test_tonearest): Likewise.
25809 (asin_test_towardzero): Likewise.
25810 (asin_test_downward): Likewise.
25811 (asin_test_upward): Likewise.
25812 (main): Call the new functions.
25813 * sysdeps/i386/fpu/libm-test-ulps: Update.
25814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25815
9568c0c2
JM
25816 [BZ #13884]
25817 [BZ #13924]
25818 * math/e_exp10.c: Include <float.h>.
25819 (__ieee754_exp10): Handle underflow here rather than multiplying
25820 large negative argument by M_LN10.
25821 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25822 of __ieee754_expf.
25823 * math/e_exp10l.c: Include <float.h>.
25824 (__ieee754_exp10l): Handle underflow here rather than multiplying
25825 large negative argument by M_LN10l.
25826 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25827 spurious overflow exception on underflow.
25828
5ac3ea17
MP
258292012-04-29 Marek Polacek <polacek@redhat.com>
25830
25831 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25832 (__fortify_function): New macro.
25833 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25834 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25835 __extern_always_inline.
25836 * libio/bits/stdio2.h: Likewise.
25837 * libio/bits/stdio.h: Likewise.
25838 * string/string.h: Likewise.
25839 * string/bits/string3.h: Likewise.
25840 * include/stdio.h: Likewise.
25841 * stdlib/bits/stdlib.h: Likewise.
25842 * stdlib/stdlib.h: Likewise.
25843 * rt/bits/mqueue2.h: Likewise.
25844 * rt/mqueue.h: Likewise.
25845 * posix/bits/unistd.h: Likewise.
25846 * posix/unistd.h: Likewise.
25847 * io/bits/poll2.h: Likewise.
25848 * io/bits/fcntl2.h: Likewise.
25849 * io/fcntl.h: Likewise.
25850 * io/sys/poll.h: Likewise.
25851 * misc/bits/syslog.h: Likewise.
25852 * misc/bits/syslog-ldbl.h: Likewise.
25853 * misc/sys/syslog.h: Likewise.
25854 * socket/bits/socket2.h: Likewise.
25855 * socket/sys/socket.h: Likewise.
25856 * debug/tst-chk1.c: Likewise.
25857 * wcsmbs/bits/wchar2.h: Likewise.
25858 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25859 * wcsmbs/wchar.h: Likewise.
25860
ecf0ebfb
AJ
258612012-04-29 Andreas Jaeger <aj@suse.de>
25862
25863 * Makerules (tests): Remove enable-check-abi protection.
25864 (check-abi-warn): Remove.
25865 (check-abi-%): Remove check-abi-warn usage.
25866
25867 * configure.in: Remove check-abi configure option.
25868 * configure: Regenerated.
25869 * config.make.in (enable-check-abi): Remove.
25870
6d5c57fa
AS
258712012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25872
24c5d07e 25873 [BZ #14033]
ded5180a
AS
25874 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25875 double functions to double *_finite functions.
25876
7e0d315d
AS
25877 [BZ #13941]
25878 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25879 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25880 LDBL_MIN_EXP.
25881 * stdio-common/Makefile (tests): Add tst-sprintf3.
25882 * stdio-common/tst-sprintf3.c: New file.
25883
6d5c57fa
AS
25884 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25885 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25886
0749ff8b
JM
258872012-04-28 Joseph Myers <joseph@codesourcery.com>
25888
25889 * conform/conformtest.pl: Remove duplicate typed-constant
25890 handling.
25891
8dbd5d7b
DM
258922012-04-28 David S. Miller <davem@davemloft.net>
25893
25894 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25895 (check-abi-%): Remove AWK script prerequisite and explicit
25896 abilist directory.
25897 (check-abi): Rewrite to just diff the symlist with the abilist.
25898 (config-tls, config-abi-config): Delete, no longer used.
25899 (update-abi-%): Remove AWK script and explicit abilist directory.
25900 (update-abi): Rewrite to simply compare and conditionally copy the
25901 symlist and the sysdep abilist file. Remove update-abi-config
25902 checks.
25903 * abilist/ld.abilist: Remove.
25904 * abilist/libBrokenLocale.abilist: Remove.
25905 * abilist/libanl.abilist: Remove.
25906 * abilist/libcrypt.abilist: Remove.
25907 * abilist/libdl.abilist: Remove.
25908 * abilist/librt.abilist: Remove.
25909 * abilist/libthread_db.abilist: Remove.
25910 * abilist/libutil.abilist: Remove.
25911 * scripts/extract-abilist.awk: Remove.
25912 * scripts/merge-abilist.awk: Remove.
25913 * sysdeps/generic/libcidn.abilist: New file.
25914 * sysdeps/generic/libnss_compat.abilist: New file.
25915 * sysdeps/generic/libnss_db.abilist: New file.
25916 * sysdeps/generic/libnss_dns.abilist: New file.
25917 * sysdeps/generic/libnss_files.abilist: New file.
25918 * sysdeps/generic/libnss_hesiod.abilist: New file.
25919 * sysdeps/generic/libnss_nis.abilist: New file.
25920 * sysdeps/generic/libnss_nisplus.abilist: New file.
25921 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25922 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25923 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25924 file.
25925 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25926 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25927 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25928 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25929 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25930 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25931 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25932 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25933 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25934 file.
25935 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25936 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25937 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25938 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25939 file.
25940 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25941 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25942 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25943 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25944 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25945 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25946 file.
25947 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25948 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25949 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25950 file.
25951 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25953 New file.
25954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25955 New file.
25956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25957 New file.
25958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25959 New file.
25960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25961 New file.
25962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25963 New file.
25964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25965 New file.
25966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25967 New file.
25968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25969 New file.
25970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25971 New file.
25972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25973 New file.
25974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25975 New file.
25976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25977 New file.
25978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25979 file.
25980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25981 New file.
25982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25983 New file.
25984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25985 file.
25986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25987 New file.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25989 New file.
25990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25991 file.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25993 New file.
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25995 New file.
25996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25997 New file.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25999 New file.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26001 New file.
26002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26003 New file.
26004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26006 file.
26007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26008 New file.
26009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26010 file.
26011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26012 file.
26013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26014 file.
26015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26016 file.
26017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26018 file.
26019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26020 New file.
26021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26022 file.
26023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26024 file.
26025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26026 New file.
26027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26028 file.
26029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26031 file.
26032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26033 New file.
26034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26035 file.
26036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26037 file.
26038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26039 file.
26040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26041 file.
26042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26043 file.
26044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26045 New file.
26046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26047 file.
26048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26049 file.
26050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26051 New file.
26052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26053 file.
26054 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26055 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26056 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26057 file.
26058 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26059 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26060 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26061 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26062 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26063 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26064 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26065 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26066 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26067 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26070 file.
26071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26072 New file.
26073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26074 file.
26075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26076 file.
26077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26078 file.
26079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26080 file.
26081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26082 file.
26083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26084 New file.
26085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26086 New file.
26087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26088 file.
26089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26090 New file.
26091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26092 file.
26093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26095 file.
26096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26097 New file.
26098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26099 file.
26100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26101 file.
26102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26103 file.
26104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26105 file.
26106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26107 file.
26108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26109 New file.
26110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26111 New file.
26112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26113 file.
26114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26115 New file.
26116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26117 file.
26118
41d73a1b
JM
261192012-04-28 Joseph Myers <joseph@codesourcery.com>
26120
26121 * conform/conformtest.pl: Fix typo in handling typed-constant from
26122 allow-header.
26123
28aeeda4
JM
261242012-04-27 Joseph Myers <joseph@codesourcery.com>
26125
adae8f5e
JM
26126 * README: Cut down references to pre-2.6 Linux kernels and
26127 Linuxthreads. Update lists of configurations in libc and ports
26128 and sort alphabetically. Say "or newer" with Linux kernel version
26129 requirements.
26130
28aeeda4
JM
26131 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26132
a462cb63
RA
261332012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26134
26135 [BZ #887]
26136 * math/libm-test.inc (logb_test_downward): New test to expose
26137 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26138 rounding mode.
26139
6ad3493e
JM
261402012-04-27 Joseph Myers <joseph@codesourcery.com>
26141
26142 [BZ #14027]
26143 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26144 to be done.
26145 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26146 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26147
2ce4f015
JM
261482012-04-26 Joseph Myers <joseph@codesourcery.com>
26149
5aeb141a
JM
26150 * sysdeps/unix/i386/brk.S: Remove file.
26151 * sysdeps/unix/i386/dl-brk.S: Likewise.
26152 * sysdeps/unix/i386/pipe.S: Likewise.
26153 * sysdeps/unix/i386/sigreturn.S: Likewise.
26154 * sysdeps/unix/i386/syscall.S: Likewise.
26155 * sysdeps/unix/i386/vfork.S: Likewise.
26156 * sysdeps/unix/i386/wait.S: Likewise.
26157
7143acae
JM
26158 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26159 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26160
2ce4f015
JM
26161 * configure.in (arm*-none*): Do not allow without
26162 --enable-hacker-mode.
26163 (netbsd*): Remove case setting base_os.
26164 (386bsd*): Likewise.
26165 (freebsd*): Likewise.
26166 (bsdi*): Likewise.
26167 (osf*): Likewise.
26168 (sunos*): Likewise.
26169 (ultrix*): Likewise.
26170 (newsos*): Likewise.
26171 (dynix*): Likewise.
26172 (*bsd*): Likewise.
26173 (sysv*): Likewise.
26174 (isc*): Likewise.
26175 (esix*): Likewise.
26176 (sco*): Likewise.
26177 (minix*): Likewise.
26178 (irix4*): Likewise.
26179 (irix6*): Likewise.
26180 (solaris[2-9]*): Likewise.
26181 (none): Likewise.
26182 * configure: Regenerated.
26183
0ac229c8
AZ
261842012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26185
26186 [BZ #11521]
26187 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26188 overflow or cancellation in calculating denominator.
26189 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26190 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26191 down expression to avoid unexpected rounding in newer GCCs.
26192 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26193
33f244f4
DM
261942012-04-26 David S. Miller <davem@davemloft.net>
26195
26196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26197 long-double compat symbols.
26198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26211
cfa1f3e8
DM
262122012-04-25 David S. Miller <davem@davemloft.net>
26213
26214 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26215 HWCAP_* values only after the memory barriers have been defined.
26216 (atomic_full_barrier): Define.
26217 (atomic_read_barrier): Define.
26218 (atomic_write_barrier): Define.
26219
6e236b92
SP
262202012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26221
26222 * shlib-versions: Add libgcc_s version information.
26223 * sysdeps/generic/libgcc_s.h: Remove.
26224 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26225 libgcc_s.h.
26226 * sysdeps/gnu/unwind-resume.c: Likewise.
26227 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26228
aab39a09
DM
262292012-04-25 David S. Miller <davem@davemloft.net>
26230
26231 * sysdeps/unix/sparc/brk.S: Delete.
26232 * sysdeps/unix/sparc/dl-brk.S: Delete.
26233 * sysdeps/unix/sparc/pipe.S: Delete.
26234 * sysdeps/unix/sparc/sysdep.S: Delete.
26235 * sysdeps/unix/sparc/sysdep.h: Delete.
26236 * sysdeps/unix/sparc/vfork.S: Delete.
26237 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26238 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26239 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26240 ret_ERRVAL, r0, r1, MOVE): Define.
26241 (JUMPTARGET): Remove.
26242 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26243 sysdeps/unix/sparc/sysdep.h
26244 (ENTRY, END): Remove.
26245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26246
a3cc4f48
JM
262472012-04-25 Joseph Myers <joseph@codesourcery.com>
26248
2ed8cda2
JM
26249 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26250 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26251 -DIS_IN_build.
26252
35d76d59
JM
26253 * timezone/README: Update upstream location and email address for
26254 tzcode and tzdata.
26255 * timezone/zdump.c: Update from tzcode 2012b.
26256 * timezone/zic.c: Likewise.
26257
a3cc4f48
JM
26258 * configure.in (libc_cv_as_needed): Remove test.
26259 * configure: Regenerated.
26260 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26261 conditional definition.
26262 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26263 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26264 * config.make.in (have-as-needed): Remove variable.
26265
ceab42c3
SP
262662012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26267 Paul Pluzhnikov <ppluzhnikov@google.com>
26268
26269 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26270 strings correctly.
26271
3ce2865f
CLT
262722012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26273
26274 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26275 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26276 * sysdeps/sh/strlen.S: Likewise.
26277
f37e0d68
JM
262782012-04-24 Joseph Myers <joseph@codesourcery.com>
26279
ae186e9a
JM
26280 * sysdeps/unix/fork.S: Remove file.
26281 * sysdeps/unix/i386/fork.S: Likewise.
26282 * sysdeps/unix/sparc/fork.S: Likewise.
26283
b96914af
JM
26284 * sysdeps/unix/system.c: Remove file.
26285 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26286
f37e0d68
JM
26287 * sysdeps/unix/getegid.S: Remove file.
26288 * sysdeps/unix/geteuid.S: Likewise.
26289
87ef29ca
RM
262902012-04-24 Roland McGrath <roland@hack.frob.com>
26291
83bcd236
RM
26292 * scripts/check-localplt.awk: New file.
26293 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26294 of diff.
26295 * scripts/data/localplt-generic.data: Add a comment.
26296
87ef29ca
RM
26297 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26298 NODE when __dir_mkfile failed.
26299 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26300 Reported by Ludovic Courtès <ludo@gnu.org>.
26301
e5a6e567
AJ
263022012-04-24 Andreas Jaeger <aj@suse.de>
26303
26304 * Makerules (common-clean): Also remove gen-as-const-headers
26305 files.
26306
c1820385
JM
263072012-04-24 Joseph Myers <joseph@codesourcery.com>
26308
26309 * Makerules (native-compile): Do not change working directory for
26310 build. Use $(OUTPUT_OPTION) in command.
26311 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26312
94e02fc4
AZ
263132012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26314
26315 [BZ #13886]
26316 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26317 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26318 * math/libm-test.inc (floor_test): Add more tests.
26319 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26320
3a533ca3
JM
263212012-04-24 Joseph Myers <joseph@codesourcery.com>
26322
940ab4b3
JM
26323 * sysdeps/unix/getdents.c: Remove file.
26324 * sysdeps/unix/sysv/getdents.c: Likewise.
26325 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26326
90e037bd
JM
26327 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26328 sysdeps/unix/mman/syscalls.list.
26329 (mmap): Likewise.
26330 (mprotect): Likewise.
26331 (msync): Likewise.
26332 (munmap): Likewise.
26333 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26334 * sysdeps/unix/mman/syscalls.list: Remove.
26335 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26336
3a533ca3
JM
26337 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26338 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26339 * configure: Regenerated.
26340 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26341 $(libgcc_s_suffix).
26342 * config.make.in (libgcc_s_suffix): Remove variable.
26343
1ad743de
JM
263442012-04-23 Joseph Myers <joseph@codesourcery.com>
26345
4ad451e2
JM
26346 * sysdeps/unix/sysv/gethostname.c: Move to ...
26347 * sysdeps/posix/gethostname.c: ... here.
26348
5e37ce39
JM
26349 * sysdeps/unix/execve.S: Remove file.
26350
1ad743de
JM
26351 * sysdeps/unix/_exit.S: Remove file.
26352
4e681b5b
AJ
263532012-04-23 Andreas Jaeger <aj@suse.de>
26354
26355 [BZ #13739]
26356 * manual/Makefile: Remove make dist support, there's no
26357 need for a stand-alone documentation tar ball.
26358 (TEXI2DVI): Define always, it's not in Makeconfig.
26359 (dist): Removed.
26360 (tar-it): Removed.
26361 (edition): Removed.
26362 (glibc-doc-$(edition).tar): Removed
26363 (%.Z): Removed.
26364 (%.gz): Removed.
26365 (%.uu): Removed.
26366 (ETAGS): Remove, it's in Makeconfig.
26367 (move-if-change): Remove, it's in Makeconfig.
26368
38686a03 263692012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26370
26371 [BZ #13970]
26372 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26373 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26374 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26375 (strtod_l, strtof_l, strtold_l): Remove __wur.
26376 It is not necessarily an error to ignore strtol's return value.
26377 One can reliably look at the stored endptr to decide whether
26378 the number had valid syntax.
26379
7c0616fa
AJ
263802012-04-21 Andreas Jaeger <aj@suse.de>
26381
803cb6b7 26382 [BZ #13739]
7c0616fa
AJ
26383 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26384
b0fe253f
JM
263852012-04-21 Joseph Myers <joseph@codesourcery.com>
26386
26387 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26388 * sysdeps/unix/sysv/Versions: Remove file.
26389
8280f22d
MT
263902012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26391
26392 [BZ #13927]
26393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26394
75ce411f 263952012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26396
26397 [BZ #7064]
26398 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26399 version from __vm86.
26400
097d59fa
JM
264012012-04-20 Joseph Myers <joseph@codesourcery.com>
26402
a90f3bcb
JM
26403 * sysdeps/unix/common/lxstat.c: Remove file.
26404 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26405
edc7ea78
JM
26406 * sysdeps/unix/sysv/Makefile: Remove file.
26407
cb78c221
JM
26408 * sysdeps/unix/sysv/direct.h: Remove file.
26409
efa6a45f
JM
26410 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26411 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26412 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26413 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26414 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26415 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26416 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26417
9c9f2d0c
JM
26418 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26419
4541c83b
JM
26420 * sysdeps/unix/xmknod.c: Remove file.
26421 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26422
f5d153a0
JM
26423 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26424
aa746595
JM
26425 * sysdeps/unix/sysv/i386/time.S: Remove file.
26426
cce5905e
JM
26427 * sysdeps/unix/fxstat.c: Remove file.
26428 * sysdeps/unix/xstat.c: Likewise.
26429 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26430
37fa3841
JM
26431 * sysdeps/unix/sysv/sigaction.c: Remove file.
26432
ff1962a3
JM
26433 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26434 (sysdep_headers): Remove variable.
26435 [termio.h not in sysdep_headers] (generated): Likewise.
26436 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26437 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26438 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26439 * sysdeps/unix/sysv/tcflow.c: Likewise.
26440 * sysdeps/unix/sysv/tcflush.c: Likewise.
26441 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26442 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26443 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26444 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26445 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26446
e7740d31
JM
26447 * sysdeps/unix/siglist.c: Remove file.
26448
ee06f18b
JM
26449 * sysdeps/unix/getppid.S: Remove file.
26450
097d59fa
JM
26451 * sysdeps/unix/mkdir.c: Remove file.
26452 * sysdeps/unix/rmdir.c: Likewise.
26453
ff3d51ec
AS
264542012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26455
26456 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26457 ERR_MAX value.
26458 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26459 errlist-compat value.
26460
50f81fd7
DM
264612012-04-18 David S. Miller <davem@davemloft.net>
26462
26463 * sysdeps/generic/memcopy.h (reg_char): Delete.
26464 * debug/strcat_chk.c: Use char, not reg_char.
26465 * debug/strcpy_chk.c: Likewise.
26466 * debug/strncat_chk.c: Likewise.
26467 * debug/strncpy_chk.c: Likewise.
26468 * string/memchr.c: Likewise.
26469 * string/memrchr.c: Likewise.
26470 * string/rawmemchr.c: Likewise.
26471 * string/strcat.c: Likewise.
26472 * string/strchr.c: Likewise.
26473 * string/strchrnul.c: Likewise.
26474 * string/strcmp.c: Likewise.
26475 * string/strcpy.c: Likewise.
26476 * string/strncat.c: Likewise.
26477 * string/strncmp.c: Likewise.
26478 * string/strncpy.c: Likewise.
26479
8ff41c46
WS
264802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26481
26482 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26483 __builtin_memcopy is called when src and dest ranges are known to not
26484 overlap.
26485
6b652f46
WS
264862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26487
26488 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26489 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26490 fwd_align_merge macro call.
26491 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26492 bwd_align_merge macro call.
26493 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26494
b282631e
WS
264952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26496
26497 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26498 bwd_align_merge macros.
26499 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26500 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26501 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26502
95aa737c
DM
265032012-04-18 David S. Miller <davem@davemloft.net>
26504
26505 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26506
7a99a614
AJ
265072012-04-18 Andreas Jaeger <aj@suse.de>
26508
26509 [BZ# 6794]
26510 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26511 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26512 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26513
26514 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26515 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26516 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26517
26518 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26519 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26520 Adjust for changed ldbl-128 files.
26521
26522 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26523 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26524 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26525
e5270c23
DM
265262012-04-17 David S. Miller <davem@davemloft.net>
26527
26528 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26529
fb5e92c9
AS
265302012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26531
26532 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26533 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26534 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26535 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26536 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26537 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26538
76da7265
AZ
265392012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26540
26541 [BZ #6794]
26542 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26543 * math/libm-test.inc: Add ilogb errno and exception tests.
26544 * math/w_ilogb.c: New file: ilogb wrapper.
26545 * math/w_ilogbf.c: New file: ilogbf wrapper.
26546 * math/w_ilogbl.c: New file: ilogbl wrapper.
26547 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26548 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26549 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26550 exception being thrown with 0.0 as argument.
26551 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26552 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26553 exception being thrown with 0.0 as argument.
26554 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26555 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26556 exception being thrown with 0.0 as argument.
26557 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26558 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26559 exception being thrown with 0.0 as argument.
26560 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26561 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26562 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26563 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26564 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26565 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26566 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26567 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26568 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26569
0396e69d
PB
265702012-04-17 Petr Baudis <pasky@ucw.cz>
26571
26572 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26573 with altivec.
26574
750b5926
MP
265752012-04-16 Marek Polacek <polacek@redhat.com>
26576
26577 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26578
751728a1
MP
265792012-04-16 Marek Polacek <polacek@redhat.com>
26580
26581 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26582 operands of fdivp instruction.
26583
34a27407
L
265842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26585
26586 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26587 * elf/tst-auditmod3b.c: Likewise.
26588 * elf/tst-auditmod4b.c: Likewise.
26589 * elf/tst-auditmod5b.c: Likewise.
26590 * elf/tst-auditmod6b.c: Likewise.
26591 * elf/tst-auditmod6c.c: Likewise.
26592 * elf/tst-auditmod7b.c: Likewise.
26593 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26594 * sysdeps/x86_64/preconfigure.in: Likewise.
26595 * sysdeps/x86_64/preconfigure: Regenerated.
26596
7e73e17d
L
265972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26598
26599 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26600 __ILP32__.
26601
c7a6ab72
AB
266022012-04-13 Antoine Balestrat <merkil33@gmail.com>
26603
26604 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26605 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26606
a9e8e0e0
CL
266072012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26608
26609 [BZ #13973]
26610 * locale/iso-639.def: Fix gl language name. Spotted by
26611 Yaron Shahrabani.
26612
ec98af7d
RM
266132012-04-12 Roland McGrath <roland@hack.frob.com>
26614
26615 [BZ #2074]
26616 * libio/libio.h (__io_write_fn): Update comment.
26617
247c3ede
PB
266182012-04-12 Petr Baudis <pasky@ucw.cz>
26619
26620 [BZ #2074]
26621 * stdio.texi (Hook Functions): The user provided writer function
26622 is not allowed to return -1.
26623
55939d6d
DM
266242012-04-11 David S. Miller <davem@davemloft.net>
26625
26626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26627
90020f5a
MF
266282012-04-11 Mike Frysinger <vapier@gentoo.org>
26629
26630 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26631 Add a leading slash to rtkaio.
26632
288f9098
JM
266332012-04-11 Jim Meyering <meyering@redhat.com>
26634
90020f5a
MF
26635 [BZ #11959]
26636 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26637 It is not necessarily an error to ignore fwrite's return
26638 value. One can reliably use ferror to test for errors after
26639 the fact.
288f9098 26640
4be2b570
L
266412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26642
26643 * bits/types.h (__snseconds_t): New type.
26644 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26645
26646 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26648 (__SNSECONDS_T_TYPE): Likewise.
26649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26650 (__SNSECONDS_T_TYPE): Likewise.
26651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26652 (__SNSECONDS_T_TYPE): Likewise.
26653
288f9098 266542012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26655
26656 [BZ #2636]
26657 * manual/time.texi (Processor Time): Return type of times is
26658 elapsed real time since an arbitrary point in the past.
26659 (CPU Time): Move CLK_TCK from here...
26660 (Processor Time): ...to here. Correct description.
26661 * manual/conf.texi (Constants for Sysconf): Correct description of
26662 _SC_CLK_TCK.
26663
d7dd4413
DM
266642012-04-10 David S. Miller <davem@davemloft.net>
26665
26666 [BZ #13967]
26667 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26668 where the is a gap between DT_REL(A) and DT_JMPREL.
26669
b46068fc
L
266702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26671
26672 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26673 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26674 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26675
73d65cc3
SP
266762012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26677
26678 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26679 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26680 (dl_main): Handle --inhibit-cache.
26681 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26682 _dl_inhibit_cache.
26683 * elf/dl-load.c (_dl_map_object): Use it.
26684 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26685
bcc8d661
JM
266862012-04-09 Joseph Myers <joseph@codesourcery.com>
26687
8f9a2fae
JM
26688 [BZ #13872]
26689 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26690 (__ieee754_powl): Saturate large exponents rather than testing for
26691 overflow of y*log2(x).
26692 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26693 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26694 exceptions.
26695
bcc8d661
JM
26696 [BZ #11521]
26697 * math/s_ctan.c: Include <float.h>.
26698 (__ctan): Avoid internal overflow or cancellation in calculating
26699 denominator.
26700 * math/s_ctanf.c: Likewise.
26701 * math/s_ctanl.c: Likewise.
26702 * math/s_ctanh.c: Likewise.
26703 * math/s_ctanhf.c: Likewise.
26704 * math/s_ctanhl.c: Likewise.
26705 * math/libm-test.inc (ctan_test): Add more tests.
26706 (ctanh_test): Likewise.
26707 * sysdeps/i386/fpu/libm-test-ulps: Update.
26708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26709
823fbbb4
AJ
267102012-04-09 Andreas Jaeger <aj@suse.de>
26711
03879793
AJ
26712 [BZ #6894]
26713 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26714 is an optional BSD extension.
26715
823fbbb4
AJ
26716 [BZ #10254]
26717 * manual/stdio.texi (Opening Streams): Document additional fopen
26718 parameters.
26719
8de131cb
RM
267202012-04-09 Roland McGrath <roland@hack.frob.com>
26721
26722 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26723 %eax without telling the compiler.
26724
c0ed9d7d
CD
267252012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26726
26727 [BZ # 13963]
26728 * manual/install.texi: Use sourceware.org.
26729
c483f6b4
JM
267302012-04-09 Joseph Myers <joseph@codesourcery.com>
26731
d7dd9453
JM
26732 [BZ #13873]
26733 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26734 (__ieee754_pow): Generate overflow and underflow using huge*huge
26735 and tiny*tiny rather than just returning constant infinity or zero
26736 for large exponents.
26737 * math/libm-test.inc (pow_test): Require overflow exceptions for
26738 applicable cases of large exponents.
26739
c483f6b4
JM
26740 [BZ #706]
26741 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26742 (__ieee754_pow): Use iterative multiplication algorithm only for
26743 integer exponents with absolute value below 1024. Check for odd
26744 integer exponents when using algorithm for real exponents.
26745 * math/libm-test.inc (pow_test): Add more tests.
26746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26747
d2de7579
JM
267482012-04-08 Joseph Myers <joseph@codesourcery.com>
26749
26750 [BZ #13705]
26751 * math/libm-test.inc (exp_test): Do not allow overflow exception
26752 on underflow test.
26753
f77f1232
AJ
267542012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26755
26756 [BZ #13705]
26757 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26758 instead of __kernel_standard_f.
26759
3884932b
MF
267602012-04-08 Mike Frysinger <vapier@gentoo.org>
26761
26762 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26763 * sysdeps/x86_64/memset_chk.S: Likewise.
26764
54472e9c
AJ
267652012-04-08 Andreas Jaeger <aj@suse.de>
26766
6ab0fbfc
AJ
26767 [BZ #10153]
26768 * manual/startup.texi (Environment Access): Describe return value
26769 for putenv and setenv.
26770
61efba8c
AJ
26771 [BZ #6895]
26772 * manual/filesys.texi (Directory Entries): Add description for
26773 DT_LNK.
26774
95c3f29a
AJ
26775 [BZ #6890]
26776 * manual/filesys.texi (Directory Entries): Clarify that it's file
26777 system not operating system in the description of DT_UNKNOWN.
26778
54472e9c
AJ
26779 [BZ #6578]
26780 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26781
624254b1
SC
267822012-04-08 Stephen Compall <s11@member.fsf.org>
26783
26784 [BZ #6649]
26785 * manual/llio.texi (Opening and Closing Files): Add cross
26786 reference to explain mode argument.
26787
1e4920e0
MF
267882012-04-07 Mike Frysinger <vapier@gentoo.org>
26789
26790 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26791 * sysdeps/x86_64/memset_chk.S: Likewise.
26792
5ed848f3
DM
267932012-04-07 David S. Miller <davem@davemloft.net>
26794
26795 * elf/elf.h (R_SPARC_WDISP10): Define.
26796 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26797 R_SPARC_SIZE32.
26798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26799 R_SPARC_SIZE64 and R_SPARC_H34.
26800
96154cd8
CD
268012012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26802
26803 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26804 conditions and remove no longer applicable assertion.
26805
9904dc47
L
268062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26807
26808 * bits/byteswap.h: Include <features.h>.
26809 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26810 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26811
f8887d0a
L
268122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26813
26814 * bits/byteswap.h (__bswap_16): Removed.
26815 Include <bits/byteswap-16.h> to get __bswap_16.
26816 * sysdeps/i386/bits/byteswap.h: Likewise.
26817 * sysdeps/s390/bits/byteswap.h: Likewise.
26818 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26819 * bits/byteswap-16.h: New file.
26820 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26821 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26822 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26823 * string/Makefile (headers): Add bits/byteswap-16.h.
26824
62470f60
PP
268252012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26826
26827 [BZ #13895]
26828 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26829 extra indirection.
26830 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26831 * nss/tst-nss-static.c: New.
26832
4dad7bab
RM
268332012-04-06 Robert Millan <rmh@gnu.org>
26834
26835 [BZ #6486]
26836 * manual/llio.texi (File Position Primitive): lseek
26837 refers to WHENCE when it really means OFFSET.
26838
e9142a17
AJ
268392012-04-06 Andreas Jaeger <aj@suse.de>
26840
2c040eff
AJ
26841 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26842 strncmp declarations.
26843
e9142a17
AJ
26844 * abilist/libc.abilist: Add __poll and __ppoll.
26845
ff9f1c5f
DM
268462012-04-05 David S. Miller <davem@davemloft.net>
26847
dcd2ae90
DM
26848 * scripts/check-local-headers.sh: Accept a host triplet in the
26849 path matched by the exclude regexp.
26850
993eb054
DM
26851 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26852 definition.
26853 * sysdeps/powerpc/powerpc32/dl-machine.h
26854 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26855 * sysdeps/s390/s390-32/dl-machine.h
26856 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26857 * sysdeps/sparc/sparc32/dl-machine.h
26858 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26859 * sysdeps/sparc/sparc64/dl-machine.h
26860 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26861
ff9f1c5f
DM
26862 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26863 lazy binding.
48e2e132 26864 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26865 undefined symbol errors.
26866
48e2e132 26867 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26868 DT_NEEDED entries.
26869
e80d6f94
MM
268702012-04-05 Michael Matz <matz@suse.de>
26871
26872 [BZ #13592]
26873 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26874
349fa79f
AJ
268752012-04-05 Andreas Jaeger <aj@suse.de>
26876
26877 [BZ #13908]
26878 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26879 comment.
26880
f402708f
KK
268812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26882
26883 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26884 which ROUND is no valid rounding mode.
26885
2ecccfc9
KK
268862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26887
26888 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26889 read again.
26890 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26891
8a53f50f
KK
268922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26893
26894 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26895 an exception using FPU order intentionally.
26896
268972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26898
26899 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26900 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26901 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26902 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26903
d653abb7
SJ
269042012-04-05 Simon Josefsson <simon@josefsson.org>
26905
26906 [BZ #12340]
26907 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26908 EINVAL when BUFLEN is too smal.
26909
c3b1bf7d
TS
269102012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26911
26912 [BZ #13553]
26913 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26914 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26915
b1aa60f3
AJ
269162012-04-03 Andreas Jaeger <aj@suse.de>
26917
c3b1bf7d 26918 [BZ #13938]
67f60a26
AJ
26919 * manual/setjmp.texi (System V contexts): Fix sentence.
26920
b1aa60f3
AJ
26921 [BZ #13926]
26922 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26923 New macro for this case.
26924 [!__GNUC__] (__bswap_64): New inline function for this case.
26925 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26926 * bits/byteswap.h: Likewise.
26927 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26928 ull, guard with __GLIBC_HAVE_LONG_LONG.
26929
26930 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26931 __GLIBC_HAVE_LONG_LONG.
26932
26933 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26934 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26935
39c59c35
TMQMF
269362012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26937
26938 [BZ #13691]
26939 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26940 inptr and inend, rather than using last_ch.
26941
135ffda8
DM
269422012-04-02 David S. Miller <davem@davemloft.net>
26943
26944 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26945 * stdio-common/printf-parse.h (read_int): Change return type to
26946 'int', return -1 on INT_MAX overflow.
26947 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26948 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26949 overflows INT_MAX. Check for overflow of in-format-string precision
26950 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26951 SIZE_MAX not INT_MAX for integer overflow test.
26952 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26953 skip the construct in the format string but do not record anything.
26954 * stdio-common/bug22.c: Adjust to test both width/prevision
26955 INT_MAX overflow as well as total length INT_MAX overflow. Check
26956 explicitly for proper errno values.
26957
228c019e
TS
269582012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26959
302cadd3
TS
26960 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26961 CHAR_MAX.
26962 * string/test-strcmp.c [! WIDE]: Likewise.
26963 * time/tst-mktime2.c: Likewise for INT_MAX.
26964 * string/test-string.h: #include <sys/param.h> for MIN.
26965
228c019e
TS
26966 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26967 * sysdeps/i386/init-first.c (init): Likewise.
26968 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26969 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26970 * sysdeps/sh/init-first.c (init): Likewise.
26971
cfa633f5
UD
269722012-04-01 Ulrich Drepper <drepper@gmail.com>
26973
26974 * po/ru.po: Update from translation team.
d1635ef8 26975 * po/vi.po: Likewise.
cfa633f5 26976
6cd0a5ea
SP
269772012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26978
26979 * resolv/nss_dns/dns-host.c: Merge copyright years.
26980
4b43400f
LD
269812012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26982
26983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26984 Optimize memcpy with prefetch if
26985 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26986 src, dst pointers have unequal 16 byte alignments.
26987
48c41d04
SP
269882012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26989
26990 [BZ #13928]
26991 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26992 from a CNAME entry and return the minimum ttl for the query.
26993 (gaih_getanswer_slice): Likewise.
26994
b8dc394d
JL
269952012-03-30 Jeff Law <law@redhat.com>
26996
26997 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26998 due to long keys.
26999 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27000 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27001
2f5a5ed0
JL
27002 * resolv/nss_dns/dns-host.c: Update copyright year.
27003
1d39e359
UD
270042012-03-30 Ulrich Drepper <drepper@gmail.com>
27005
c030f70c 27006 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27007 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27008
1d39e359
UD
27009 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27010 comments for sendmmsg.
27011
270122012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27013
27014 [BZ #13691]
27015 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27016 with only 1 character between 0x0041 and 0x01b0.
27017 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27018 * wcsmbs/tst-mbsnrtowcs.c: New file.
27019
20fde227
DM
270202012-03-29 David S. Miller <davem@davemloft.net>
27021
27022 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27023 small copies by hand.
27024
984a4237
JL
270252012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27026
27027 [BZ #13761]
27028 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27029 _nss_compat_initgroups_dyn): Fall back to malloc/free
27030 for large group memberships.
27031
18c9d62b
DM
270322012-03-28 David S. Miller <davem@davemloft.net>
27033
88d85d4f
DM
27034 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27035 that branches into memcpy.
27036 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27037 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27038 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27039 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27041 bits.
27042 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27043 implementation too.
27044 * sysdeps/sparc/mempcpy.S: New file.
27045
e5aa83e1
DM
27046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27047 the IFUNC routine in the libc case.
27048 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27049
88570753
DM
27050 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27051 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27052 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27053 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27054 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27055 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27056 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27057 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27058
249d7567
DM
27059 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27060 loop to 256 bytes instead of 64 bytes and fix test signedness.
27061
18c9d62b
DM
27062 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27063 * sysdeps/sparc/sparc32/Makefile: rather than here...
27064 * sysdeps/sparc/sparc64/Makefile: and here.
27065
05f3d1f6
UD
270662012-03-28 Ulrich Drepper <drepper@gmail.com>
27067
27068 * malloc/mallocbug.c: Avoid warnings about unused variables.
27069
86ae07a8
JL
270702012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27071
27072 [BZ #13760]
27073 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27074 in the right place. Discard and retry query if response is
27075 larger than input buffer size.
27076
41bf21a1
JM
270772012-03-28 Joseph Myers <joseph@codesourcery.com>
27078
d6270972
JM
27079 [BZ #369]
27080 [BZ #2678]
27081 [BZ #3866]
27082 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27083 x for large integer exponent.
27084 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27085 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27086 sign of result as needed afterwards.
27087 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27088 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27089 result for underflowing pow the same as for overflow.
27090 (__kernel_standard_l): Handle powl overflow and underflow here
27091 rather than calling __kernel_standard.
27092 * math/libm-test.inc (pow_test): Add more tests.
27093
414fca03 27094 [BZ #3868]
41bf21a1
JM
27095 [BZ #13879]
27096 [BZ #13910]
27097 [BZ #13911]
27098 [BZ #13912]
27099 [BZ #13913]
27100 [BZ #13915]
27101 [BZ #13916]
27102 [BZ #13917]
27103 [BZ #13918]
27104 [BZ #13919]
27105 [BZ #13920]
27106 [BZ #13921]
27107 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27108 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27109 (__kernel_standard_l): New function.
27110 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27111 __kernel_standard.
27112 * math/w_acosl.c (__acosl): Likewise.
27113 * math/w_asinl.c (__asinl): Likewise.
27114 * math/w_atan2l.c (__atan2l): Likewise.
27115 * math/w_atanhl.c (__atanhl): Likewise.
27116 * math/w_coshl.c (__coshl): Likewise.
27117 * math/w_exp10l.c (__exp10l): Likewise.
27118 * math/w_exp2l.c (__exp2l): Likewise.
27119 * math/w_fmodl.c (__fmodl): Likewise.
27120 * math/w_hypotl.c (__hypotl): Likewise.
27121 * math/w_j0l.c (__j0l, __y0l): Likewise.
27122 * math/w_j1l.c (__j1l, __y1l): Likewise.
27123 * math/w_jnl.c (__jnl, __ynl): Likewise.
27124 * math/w_lgammal.c (__lgammal): Likewise.
27125 * math/w_log10l.c (__log10l): Likewise.
27126 * math/w_log2l.c (__log2l): Likewise.
27127 * math/w_logl.c (__logl): Likewise.
27128 * math/w_powl.c (__powl): Likewise.
27129 * math/w_remainderl.c (__remainderl): Likewise.
27130 * math/w_scalbl.c (sysv_scalbl): Likewise.
27131 * math/w_sinhl.c (__sinhl): Likewise.
27132 * math/w_sqrtl.c (__sqrtl): Likewise.
27133 * math/w_tgammal.c (__tgammal): Likewise.
27134 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27135 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27136 * math/libm-test.inc (acos_test): Add more tests.
27137 (acosh_test): Likewise.
27138 (asin_test): Likewise.
27139 (atanh_test): Likewise.
27140 (exp_test): Likewise.
27141 (exp10_test): Likewise.
27142 (exp2_test): Likewise.
27143 (expm1_test): Likewise.
27144 (lgamma_test): Likewise.
27145 (log_test): Likewise.
27146 (log10_test): Likewise.
27147 (log1p_test): Likewise.
27148 (log2_test): Likewise.
27149 (pow_test): Do not allow some spurious overflow exceptions.
27150 (sqrt_test): Add more tests.
27151 (tgamma_test): Likewise.
27152 (y0_test): Likewise.
27153 (y1_test): Likewise.
27154 (yn_test): Likewise.
27155
dd62fda6
AB
271562012-03-27 Anton Blanchard <anton@samba.org>
27157
27158 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27159 MAP_HUGETLB.
27160 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27161 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27162 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27163
1e3cdfda
AJ
271642012-03-27 David S. Miller <davem@davemloft.net>
27165
b855ab85
DM
27166 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27167
1e3cdfda
AJ
27168 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27169 have-as-vis3 check.
27170
271712012-03-27 Andreas Jaeger <aj@suse.de>
27172
27173 * sysdeps/x86_64/elf/configure.in: Moved to ...
27174 * sysdeps/x86_64/configure.in: ... here.
27175 * sysdeps/x86_64/elf/start.S: Moved to ...
27176 * sysdeps/x86_64/start.S: ... here.
27177 * sysdeps/x86_64/elf/configure: Delete.
27178
27179 * sysdeps/x86_64/configure.in: Merge contents from
27180 sysdeps/i386/configure.in (without i686 check).
27181
27182 * sysdeps/i386/elf/Versions: Merge into ...
27183 * sysdeps/i386/Versions: ... this.
27184 * sysdeps/i386/elf/Versions: Delete file.
27185 * sysdeps/i386/elf/start.S: Moved to ...
27186 * sysdeps/i386/start.S: ...here.
27187 * sysdeps/i386/elf/configure.in: Merge into...
27188 * sysdeps/i386/configure.in: ...here.
27189 * sysdeps/i386/elf/configure.in: Delete file.
27190 * sysdeps/i386/elf/configure: Delete file.
27191
27192 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27193 * debug/backtracesyms.c: ... here.
27194 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27195 * debug/backtracesymsfd.c: ... here.
27196 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27197 * sysdeps/generic/ifunc-sel.h: ... here.
27198
27199 * sysdeps/unix/i386/start.c: Delete file.
27200 * sysdeps/unix/sparc/start.c: Delete file.
27201 * sysdeps/unix/start.c: Delete file.
27202
27203 * sysdeps/sh/elf/configure.in: Moved to ...
27204 * sysdeps/sh/configure.in: ... here.
27205 * sysdeps/sh/elf/start.S: Moved to ...
27206 * sysdeps/sh/start.S: ... here.
27207 * sysdeps/sh/elf/configure: Delete file.
27208
27209 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27210 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27211 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27212 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27213 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27214 * sysdeps/powerpc/powerpc64/start.S: here.
27215 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27216 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27217 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27218 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27219 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27220
27221 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27222 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27223 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27224 * sysdeps/powerpc/powerpc32/start.S: ... here.
27225 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27226 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27227 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27228
27229 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27230 * sysdeps/powerpc/ifunc-sel.h: ... here.
27231 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27232 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27233
27234 * sysdeps/sparc/elf/configure.in: Moved to ...
27235 * sysdeps/sparc/configure.in: ... here.
27236 * sysdeps/sparc/elf/configure: Delete file.
27237 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27238 * sysdeps/sparc/sparc32/start.S: ... here.
27239 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27240 * sysdeps/sparc/sparc64/start.S: ... here.
27241 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27242 * sysdeps/sparc/sparc32/Makefile: ... this.
27243 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27244 * sysdeps/sparc/sparc64/Makefile: ... this.
27245
27246 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27247 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27248 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27249 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27250 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27251 * sysdeps/s390/s390-32/setjmp.S: ... here.
27252 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27253 * sysdeps/s390/s390-32/configure.in: ... here.
27254 * sysdeps/s390/s390-32/elf/configure: Delete file.
27255 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27256 * sysdeps/s390/s390-32/start.S: ... here.
27257
27258 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27259 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27260 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27261 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27262 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27263 * sysdeps/s390/s390-64/setjmp.S: ... here.
27264 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27265 * sysdeps/s390/s390-64/configure.in: ... here
27266 * sysdeps/s390/s390-64/elf/configure: Delete file.
27267 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27268 * sysdeps/s390/s390-64/start.S: ... here.
27269 * sysdeps/s390/s390-64/elf/configure: Delete.
27270
27271 * configure.in: Remove support for elf directories in sysdeps.
27272
27273 * configure: Regenerated.
27274 * sysdeps/i386/configure: Regenerated.
27275 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27276 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27277 * sysdeps/s390/s390-32/configure: Regenerated.
27278 * sysdeps/s390/s390-64/configure: Regenerated.
27279 * sysdeps/sh/configure: Regenerated.
27280 * sysdeps/sparc/configure: Regenerated.
27281 * sysdeps/x86_64/configure: Regenerated.
27282
a3f61311
AS
272832012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27284
c876e002
AS
27285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27286
a3f61311
AS
27287 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27288 denormal result into account.
27289
ac4c54f0
RM
272902012-03-25 Roland McGrath <roland@hack.frob.com>
27291
27292 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27293 Reported by Allan McRae <allan@archlinux.org>.
27294
6a9b9c02
JL
272952012-03-23 Jeff Law <law@redhat.com>
27296
27297 * nss/getnssent.c (__nss_getent): Fix typo.
27298
4c42a0c1
DM
272992012-03-23 David S. Miller <davem@davemloft.net>
27300
27301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27302
1532c7ac
L
273032012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27304
27305 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27306 to pad to uint64_t for each field.
27307 (dl_tls_index): Replace unsigned long with uint64_t.
27308
3ff42526
PP
273092012-03-23 Daniel Jacobowitz <dmj@google.com>
27310 Paul Pluzhnikov <ppluzhnikov@google.com>
27311
27312 [BZ #6528]
27313 * grp/Makefile (otherlibs): Don't set it.
27314 * inet/Makefile (otherlibs): Likewise.
27315 * login/Makefile (otherlibs): Likewise.
27316 * nscd/Makefile (otherlibs): Likewise.
27317 * posix/Makefile (otherlibs): Likewise.
27318 * pwd/Makefile (otherlibs): Likewise.
27319 * rt/Makefile (otherlibs): Likewise.
27320 * sunrpc/Makefile (otherlibs): Likewise.
27321 * nss/Makefile (otherlibs): Likewise.
27322 Add libnss_files to routines and static-only-routines.
27323 ($(objpfx)getent): Remove rule.
27324 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27325 static-only-routines.
27326
7c69cd14
JM
273272012-03-22 Joseph Myers <joseph@codesourcery.com>
27328
27329 [BZ #13892]
27330 * math/s_cexp.c: Include <float.h>.
27331 (__cexp): Handle exp result overflowing not necessarily
27332 overflowing both real and imaginary parts of result.
27333 * math/s_cexpf.c: Likewise.
27334 * math/s_cexpl.c: Likewise.
27335 * math/libm-test.inc (cexp_test): Add more tests.
27336 * sysdeps/i386/fpu/libm-test-ulps: Update.
27337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27338
81b035fe
L
273392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27340
27341 * include/link.h (ELFW): New macro.
27342 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27343 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27344
1da7940c
L
273452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27346
27347 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27348 with uint64_t.
27349
b749dbb9
L
273502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27351
27352 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27353 declaration.
27354 (struct La_x32_retval): Likewise.
27355
2ff87f3f
L
273562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27357
27358 * sysdeps/x86_64/preconfigure.in: New file.
27359 * sysdeps/x86_64/preconfigure: New generated file.
27360
c0df8e69
JM
273612012-03-22 Joseph Myers <joseph@codesourcery.com>
27362
48e44791
JM
27363 [BZ #13824]
27364 * math/e_exp2l.c: Include <float.h>.
27365 (__ieee754_exp2l): Handle overflow and underflow cases
27366 separately. Only pass fractional part of argument to
27367 __ieee754_expl.
27368 * math/libm-test.inc (exp2_test): Add more tests.
27369
c0df8e69
JM
27370 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27371 negating x to take absolute value.
27372 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27373 Likewise.
27374 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27375 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27376 Likewise.
27377 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27378 computing low part if x was negated.
27379 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27380
c8e43ba7
L
273812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27382
27383 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27384 la_x32_gnu_pltexit.
27385 (pltexit): Cast int_retval to ptrdiff_t.
27386 * elf/tst-auditmod3b.c: Likewise.
27387 * elf/tst-auditmod4b.c: Likewise.
27388 * elf/tst-auditmod5b.c: Likewise.
27389 * elf/tst-auditmod6b.c: Likewise.
27390 * elf/tst-auditmod6c.c: Likewise.
27391 * elf/tst-auditmod7b.c: Likewise.
27392
27393 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27394 and x32_gnu_pltexit.
27395
27396 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27397 __ELF_NATIVE_CLASS.
27398 (La_x32_regs): New macro.
27399 (La_x32_retval): Likewise.
27400 (la_x32_gnu_pltenter): New function prototype.
27401 (la_x32_gnu_pltexit): Likewise.
27402
7998fa78
AS
274032012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27404
dcb33988
AS
27405 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27406 exponent.
27407
233fc563
AS
27408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27409
7998fa78
AS
27410 * configure.in (libc_cv_cc_nofma): Check for option to disable
27411 generation of FMA instructions.
27412 * configure: Regenerate.
27413 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27414 * sysdeps/ieee754/dbl-64/Makefile: New file.
27415 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27416 Remove brandred-fma4.
27417 (CFLAGS-brandred-fma4.c): Remove.
27418 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27419 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27420 define.
27421 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27422 define.
27423
8e95c99a
L
274242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27425
27426 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27427 LLONG_MAX != LONG_MAX.
27428 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27429 (_fitoa_word): Likewise.
27430 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27431 LLONG_MAX != LONG_MAX.
27432 * stdio-common/_itowa.h: Include <_itoa.h>.
27433 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27434 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27435 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27436 only if not defined.
27437 (_ITOA_WORD_TYPE): Likewise.
27438 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27439 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27440
6f4db457
DM
274412012-03-21 David S. Miller <davem@davemloft.net>
27442
27443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27444
7785fe5a
L
274452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27446
27447 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27448 of x86_64 when setting libc_cv_slibdir, libdir and
27449 libc_cv_localedir.
27450 * sysdeps/unix/sysv/linux/configure: Regenerated.
27451
4535cd55
JM
274522012-03-21 Joseph Myers <joseph@codesourcery.com>
27453
27454 * manual/lang.texi (Old Varargs): Remove section.
27455 (How Variadic): Update menu.
27456 (va_start): Do not mention varargs.h.
27457
17228132
TS
274582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27459 Joseph Myers <joseph@codesourcery.com>
27460
27461 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27462 link test.
27463 * configure: Regenerated.
27464
8149f976
TS
274652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27466
05f3d1f6
UD
27467 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27468 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27469 conformtest.pl
8149f976 27470
1a4ac776
JM
274712012-03-21 Joseph Myers <joseph@codesourcery.com>
27472
be22ce65
JM
27473 * NOTES: Remove.
27474 * Makefile (files-for-dist): Remove NOTES.
27475 (NOTES): Remove rule.
27476 * README: Don't refer to NOTES.
27477 * manual/creature.texi: Don't include macros.texi.
27478 * manual/intro.texi (creature.texi): Remove comment referring to
27479 NOTES.
27480
40b601fb
JM
27481 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27482 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27483 * configure: Regenerated.
27484 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27485 LIBC_TRY_CC_OPTION.
27486 (libc_cv_as_i686): Likewise.
27487 (libc_cv_cc_avx): Likewise.
27488 (libc_cv_cc_sse2avx): Likewise.
27489 (libc_cv_cc_fma4): Likewise.
27490 (libc_cv_cc_novzeroupper): Likewise.
27491 * sysdeps/i386/configure: Regenerated.
27492
1a4ac776
JM
27493 [BZ #13883]
27494 * sysdeps/i386/fpu/s_cexp.S: Remove.
27495 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27496 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27497 * math/libm-test.inc (cexp_test): Add more tests.
27498 * sysdeps/i386/fpu/libm-test-ulps: Update.
27499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27500
a458e7fe
AM
275012012-03-21 Allan McRae <allan@archlinux.org>
27502
27503 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27504
0cb7efc5
JM
275052012-03-21 Joseph Myers <joseph@codesourcery.com>
27506
27507 [BZ #13871]
27508 * math/w_exp2.c: Do not include <float.h>.
27509 (o_threshold, u_threshold): Remove.
27510 (__exp2): Calculate result before checking finiteness and calling
27511 __kernel_standard.
27512 * math/w_exp2f.c: Likewise.
27513 * math/w_exp2l.c: Likewise.
27514 * math/libm-test.inc (exp2_test): Require overflow exception for
27515 1e6 input.
2460d3aa
JM
27516
27517 [BZ #3866]
27518 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27519 range of signed 64-bit integers before using fistpll. Remove
27520 checks for whether integers fit in mantissa bits.
27521 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27522 the range of signed 32-bit integers before using fistpl. Remove
27523 checks for whether integers fit in mantissa bits.
27524 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27525 (__ieee754_powl): Test for y outside the range of signed 64-bit
27526 integers before using fistpll. Reduce 64-bit values to 63-bit
27527 ones as needed.
27528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27529 divide-by-zero is raised for zero to large negative powers.
27530 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27531 (__ieee754_powl): Test for y outside the range of signed 64-bit
27532 integers before using fistpll. Reduce 64-bit values to 63-bit
27533 ones as needed.
27534 * math/libm-test.inc (pow_test): Add more tests.
27535
eb96ffb0
L
275362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27537
27538 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27539 <stdio-common/_itoa.h>.
27540 * debug/segfault.c: Likewise.
27541 * elf/dl-cache.c: Likewise.
27542 * elf/dl-minimal.c: Likewise.
27543 * elf/dl-misc.c: Likewise.
27544 * elf/dl-sysdep.c: Likewise.
27545 * elf/dl-version.c: Likewise.
27546 * elf/rtld.c: Likewise.
27547 * hurd/hurdsock.c: Likewise.
27548 * hurd/lookup-retry.c: Likewise.
27549 * malloc/malloc.c: Likewise.
27550 * malloc/mtrace.c: Likewise.
27551 * nscd/nscd_getgr_r.c: Likewise.
27552 * nscd/nscd_getpw_r.c: Likewise.
27553 * nscd/nscd_getserv_r.c: Likewise.
27554 * posix/getopt_init.c: Likewise.
27555 * posix/wordexp.c: Likewise.
27556 * stdio-common/_itoa.c: Likewise.
27557 * stdio-common/printf_fphex.c: Likewise.
27558 * stdio-common/vfprintf.c: Likewise.
27559 * string/_strerror.c: Likewise.
27560 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27561 * sysdeps/i386/i686/hp-timing.h: Likewise.
27562 * sysdeps/mach/_strerror.c: Likewise.
27563 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27564 * sysdeps/mach/hurd/sethostid.c: Likewise.
27565 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27566 * sysdeps/mach/xpg-strerror.c: Likewise.
27567 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27568 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27569 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27570 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27571 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27572 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27573 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27574 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27575 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27576 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27577 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27578 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27579 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27580 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27581 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27582 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27583 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27584 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27585 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27586 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27587 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27588
27589 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27590
27591 * stdio-common/_itoa.h: Moved to ...
27592 * sysdeps/generic/_itoa.h: Here.
27593
27594 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27595
27596 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27597 instead of "_itoa.h" and "_itowa.h".
27598 * stdio-common/vfprintf.: Likewise.
27599
d1af992d
L
276002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27601
27602 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27603 <bits/wordsize.h>.
27604 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27605 (__signbit): Likwise.
27606 (llrintf): Likwise.
27607 (llrint): Likwise.
27608
114883e0
L
276092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27610
27611 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27612 __WORDSIZE != 64.
27613
c135cc1b
JM
276142012-03-20 Joseph Myers <joseph@codesourcery.com>
27615
27616 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27617 OVERFLOW_EXCEPTION_OK.
27618 * math/libm-test.inc ("Philosophy"): Update comment about
27619 exception testing.
27620 (OVERFLOW_EXCEPTION): Define.
27621 (OVERFLOW_EXCEPTION_OK): Likewise.
27622 (INVALID_EXCEPTION_OK): Renumber.
27623 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27624 (IGNORE_ZERO_INF_SIGN): Likewise.
27625 (test_exceptions): Handle FE_OVERFLOW.
27626 (exp10_test): Expect overflow exceptions.
27627 (exp2_test): Likewise.
27628 (expm1_test): Likewise.
27629 (nextafter_test): Likewise.
27630 (pow_test): Likewise.
27631 (scalbn_test): Likewise.
27632 (scalbln_test): Likewise.
27633
95443d88
L
276342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27635
27636 * sysdeps/x86_64/bits/atomic.h
27637 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27638 64bit integer.
27639 (atomic_exchange_acq): Likewise.
27640 (__arch_exchange_and_add_body): Likewise.
27641 (__arch_add_body): Likewise.
27642 (atomic_add_negative): Likewise.
27643 (atomic_add_zero): Likewise.
27644
490df6c4
L
276452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27646
c2722551 27647 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27648 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27649
5e52b189
L
276502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27651
27652 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27653 Check __x86_64__ instead of __WORDSIZE.
27654
a9879d4c
L
276552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27656
27657 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27658
5df98260
DM
276592012-03-19 David S. Miller <davem@davemloft.net>
27660
e1497744
DM
27661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27662
5df98260
DM
27663 * sysdeps/sparc/fpu/fenv_private.h: New file.
27664 * sysdeps/sparc/fpu/math_private.h: Use it.
27665 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27666 Remove.
27667 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27668 (libc_feholdexcept_setroundl): Remove.
27669 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27670 Remove.
27671 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27672 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27673
b4c35121
L
276742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27675
27676 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27677 int64_t instead of long int.
27678 (INSERT_WORDS64): Likwise.
27679
56965fd7
L
276802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27681
27682 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27683 _Unwind_GetCFA return to _Unwind_Ptr first.
27684
83d1aec8
JM
276852012-03-19 Joseph Myers <joseph@codesourcery.com>
27686
1897ad44
JM
27687 [BZ #13629]
27688 * math/s_clog.c: Include <float.h>.
27689 (__clog): Scale large or subnormal inputs.
27690 * math/s_clogf.c: Likewise.
27691 * math/s_clogl.c: Likewise.
27692 * math/s_clog10.c: Include <float.h>.
27693 (M_LOG10_2): Define.
27694 (__clog10): Scale large or subnormal inputs.
27695 * math/s_clog10f.c: Likewise.
27696 * math/s_clog10l.c: Likewise.
27697 * math/libm-test.inc (clog_test): Add more tests.
27698 (clog10_test): Likewise.
27699 * sysdeps/i386/fpu/libm-test-ulps: Update.
27700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27701
7726d6a9
JM
27702 [BZ #11451]
27703 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27704 x and y.
27705 * math/libm-test.inc (atan2_test): Add another test.
27706
83d1aec8
JM
27707 * Makerules (common-objdir-compile): Remove.
27708 * sysdeps/unix/Makefile (config-generated): Do not add
27709 $(unix-generated) to variable.
27710 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27711 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27712 Remove rule.
27713 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27714 Likewise.
27715 [generic bits/local_lim.h] (before-compile): Do not append to
27716 variable.
27717 [generic bits/local_lim.h] (common-generated): Likewise.
27718 [generic sys/param.h] (before-compile): Do not append to variable.
27719 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27720 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27721 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27722 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27723 include.
27724 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27725 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27726 [generic sys/param.h] ($(addprefix
27727 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27728 [generic sys/param.h] (common-generated): Do not append to
27729 variable.
27730 [generic sys/param.h] (sysdep_headers): Likewise.
27731 [generic bits/errno.h] (before-compile): Do not append to
27732 variable.
27733 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27734 rule.
27735 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27736 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27737 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27738 [generic bits/errno.h] (common-generated): Do not append to
27739 variable.
27740 [generic bits/ioctls.h] (before-compile): Do not append to
27741 variable.
27742 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27743 rule.
27744 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27745 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27746 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27747 rule.
27748 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27749 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27750 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27751 [generic bits/ioctls.h] (common-generated): Do not append to
27752 variable.
27753 [generic sys/syscall.h] (syscall.h): Remove variable.
27754 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27755 rule.
27756 [generic sys/syscall.h] (before-compile): Do not append to
27757 variable.
27758 [generic sys/syscall.h] (common-generated): Likewise.
27759 * sysdeps/unix/errnos-tmpl.c: Remove file.
27760 * sysdeps/unix/errnos.awk: Likewise.
27761 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27762 * sysdeps/unix/ioctls.awk: Likewise.
27763 * sysdeps/unix/mk-local_lim.c: Likewise.
27764 * sysdeps/unix/snarf-ioctls: Likewise.
27765
4851a949
RH
277662012-03-19 Richard Henderson <rth@twiddle.net>
27767
bd37f2ee
RH
27768 * sysdeps/i386/fpu/fenv_private.h: New file.
27769 * sysdeps/i386/fpu/math_private.h: Use it.
27770 (math_opt_barrier, math_force_eval): Remove.
27771 (libc_feholdexcept_setround_53bit): Remove.
27772 (libc_feupdateenv_53bit): Remove.
27773 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27774 (math_opt_barrier, math_force_eval): Remove.
27775 (libc_feholdexcept): Remove.
27776 (libc_feholdexcept_setround): Remove.
27777 (libc_fetestexcept, libc_fesetenv): Remove.
27778 (libc_feupdateenv_test): Remove.
27779 (libc_feupdateenv, libc_feholdsetround): Remove.
27780 (libc_feresetround): Remove.
27781
d0adc922
RH
27782 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27783 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27784
0fe0f1f8
RH
27785 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27786 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27787 (libc_feupdateenv_testl): New.
27788 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27789 (libc_feupdateenv_testf): New.
27790 (libc_feupdateenv): Use libc_feupdateenv_test.
27791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27792 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27793
eb92c487
RH
27794 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27795 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27796 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27797 (libc_feresetround_noex): New.
27798 (libc_feresetround_noexf): New.
27799 (libc_feresetround_noexl): New.
27800 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27801 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27802 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27803 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27804 SET_RESTORE_ROUND.
27805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27807 (__cos): Likewise.
27808 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27809 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27810 SET_RESTORE_ROUND_NOEX.
27811 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27812 SET_RESTORE_ROUND_NOEXF.
27813 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27814 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27815 (libc_feholdsetroundf): New.
27816 (libc_feresetround, libc_feresetroundf): New.
27817
7d2e8012
RH
27818 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27819 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27820 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27821
b4dabbb4
RH
27822 * sysdeps/generic/math_private.h: Include <fenv.h>.
27823 (default_libc_feholdexcept): New.
27824 (default_libc_feholdexcept_setround): New.
27825 (default_libc_fesetenv, default_libc_feupdateenv): New.
27826 (libc_feholdexcept): Only define if undefined.
27827 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27828 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27829 (libc_feholdexcept_setroundl): Likewise.
27830 (libc_feholdexcept_setround_53bit): Likewise.
27831 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27832 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27833 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27834 (libc_feupdateenv_53bit): Likewise.
27835 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27836 (libc_feholdexcept): Convert from macro to inline function.
27837 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27838 (libc_fesetenv, libc_feupdateenv): Likewise.
27839
4851a949
RH
27840 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27841 not previously defined.
27842 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27843 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27844 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27845 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27846 * sysdeps/ieee754/flt-32/math_private.h: New file.
27847 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27848 math_private.h below SET_FLOAT_WORD.
27849 (__isnan, __isinf_ns, __finite): Remove.
27850 (__isnanf, __isinf_nsf, __finitef): Remove.
27851
e79d442e
AS
278522012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27853
27854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27855
90b80344
DM
278562012-03-17 David S. Miller <davem@davemloft.net>
27857
27858 [BZ #6471]
27859 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27860 for 2.16.
27861
edc21804
DM
278622012-03-16 David S. Miller <davem@davemloft.net>
27863
77e927af
DM
27864 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27865 warnings.
27866
374976dd
DM
27867 [BZ #6471]
27868 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27869 properly.
27870 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27871 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27872 sysdep_routines when subdir is sysvipc.
27873 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27874 __getshmlba helper.
27875
edc21804
DM
27876 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27877
473c3ef3
L
278782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27879
27880 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27881 [__LP64__].
27882
eb0f39b6
L
278832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27884
27885 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27886 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27887 (__lround): Renamed to ...
27888 (__llround): This. Replace long int with long long int.
27889 Define lround functions as aliases of llround functions.
27890 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27891
6b6cd74b
L
278922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27893
27894 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27895 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27896 adresses to uintptr_t. Replace "long int" and "unsigned long
27897 int" with "greg_t" on va_arg.
27898
f1a77b01
L
278992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27900
27901 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27902 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27903
27904 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27905 Move e_machine check before EI_CLASS check. Handle x32
27906 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27907 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27908 SKIP_EM_IA_64 and include
27909 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27910
27911 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27912 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27913 (add_system_dir): New macro.
27914
27915 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27916 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27917
11b90b9f
JM
279182012-03-16 Joseph Myers <joseph@codesourcery.com>
27919
c36e1d23
JM
27920 [BZ #2551]
27921 [BZ #2552]
27922 [BZ #2553]
27923 [BZ #2554]
27924 [BZ #2562]
27925 [BZ #2563]
27926 [BZ #2565]
27927 [BZ #2566]
27928 [BZ #2576]
27929 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27930 (y0): Likewise.
27931 * math/w_j0f.c (j0f): Likewise.
27932 (y0f): Likewise.
27933 * math/w_j0l.c (__j0l): Likewise.
27934 (__y0l): Likewise.
27935 * math/w_j1.c (j1): Likewise.
27936 (y1): Likewise.
27937 * math/w_j1f.c (j1f): Likewise.
27938 (y1f): Likewise.
27939 * math/w_j1l.c (__j1l): Likewise.
27940 (__y1l): Likewise.
27941 * math/w_jn.c (jn): Likewise.
27942 (yn): Likewise.
27943 * math/w_jnf.c (jnf): Likewise.
27944 (ynf): Likewise.
27945 * math/w_jnl.c (__jnl): Likewise.
27946 (__ynl): Likewise.
27947 * math/libm-test.inc (j0_test): Add more tests.
27948 (j1_test): Likewise.
27949 (jn_test): Likewise. Add trailing semicolon to existing test.
27950 (y0_test): Likewise.
27951 (y1_test): Likewise.
27952 * sysdeps/i386/fpu/libm-test-ulps: Update.
27953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27954
11b90b9f
JM
27955 [BZ #13851]
27956 [BZ #13854]
27957 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27958 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27959 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27960 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27961 (__tanl): Set errno for infinite argument.
27962 * sysdeps/i386/fpu/mptan.c: Remove.
27963 * sysdeps/i386/fpu/s_tan.S: Likewise.
27964 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27965 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27966 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27967 * math/libm-test.inc (tan_test): Add more tests and enable more
27968 tests for double and long double.
27969 * sysdeps/i386/fpu/libm-test-ulps: Update.
27970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27971
6a1bd2a1
JK
279722012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27973
27974 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27975 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27976
10a803e0
RM
279772012-03-16 Roland McGrath <roland@hack.frob.com>
27978
27979 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27980 * configure.in: Use it for both main tree and add-ons.
27981 * configure: Regenerated.
27982
f196c7f7
L
279832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27984
27985 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27986
8848d99d
JM
279872012-03-16 Joseph Myers <joseph@codesourcery.com>
27988
96cbe7f4
JM
27989 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27990 in comment.
27991
8848d99d
JM
27992 [BZ #13851]
27993 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27994 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27998 infinite argument.
27999 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28000 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28001 != 0 for prec == 2.
28002 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28003 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28004 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28005 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28006 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28007 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28008 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28009 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28010 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28011 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28012 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28013 * math/libm-test.inc (cos_test): Add more tests and enable more
28014 tests for long double.
28015 (sin_test): Likewise.
28016 (sincos_test): Likewise.
28017 * sysdeps/i386/fpu/libm-test-ulps: Update.
28018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28019
dd7f4703
DM
280202012-03-16 David S. Miller <davem@davemloft.net>
28021
28022 * sysdeps/sparc/fpu/math_private.h: New file.
28023
006f1daa
DM
280242012-03-15 David S. Miller <davem@davemloft.net>
28025
c0c83bc8
DM
28026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28027 file.
e6a62e18 28028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28030 file.
e6a62e18
DM
28031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28037 sysdep routines.
28038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28039
88cb87d9
DM
28040 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28041 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28042
006f1daa 28043 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28045 sparc-ifunc.h
006f1daa 28046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28048 Likewise.
28049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28050 Likewise.
006f1daa
DM
28051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28055 Likewise.
006f1daa
DM
28056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28061 Likewise.
28062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28063 Likewise.
006f1daa
DM
28064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28070 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28071 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28084 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28086 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28087 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28088
11e0098e
AS
280892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28090
28091 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28092 scaling.
28093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28094
e85b09d0
AJ
280952012-03-15 Andreas Jaeger <aj@suse.de>
28096
28097 [BZ #13852]
28098 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28099 ieee754/flt-32 implementation for sin, cos and sincos.
28100 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28101 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28102 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28103 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28104 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28105 ieee754/flt-32 implementation for tan.
28106
28107 * math/libm-test.inc (cos_test): Enable some large input tests for
28108 float as well
28109 (sin_test): Likewise.
28110 (sincos_test): Likewise.
28111 (tan_test): Add tests for large input.
28112
28113 * sysdeps/i386/fpu/libm-test-ulps: Update.
28114
81c64153
AJ
281152012-03-15 Andreas Jaeger <aj@suse.de>
28116
28117 [BZ #13658]
28118 * math/libm-test.inc (cos_test): Add more test cases.
28119 (sin_test): Likewise.
28120 (sincos_test): Likewise.
28121
7bbfa5c6
AJ
281222012-03-15 Andreas Jaeger <aj@suse.de>
28123
28124 [BZ #13837]
28125 * math/libm-test.inc (cos_test): Add a test case for large input
28126 value.
28127 (sin_test): Likewise.
28128 (sincos_test): Likewise.
28129
281302012-03-15 Andreas Jaeger <aj@suse.de>,
28131 Joseph Myers <joseph@codesourcery.com>
28132
28133 [BZ #13658]
0671f479 28134 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28135 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28136 * sysdeps/i386/fpu/branred.c: Likewise.
28137 * sysdeps/i386/fpu/dosincos.c: Likewise.
28138 * sysdeps/i386/fpu/mpa.c: Likewise.
28139 * sysdeps/i386/fpu/s_cos.S: Likewise.
28140 * sysdeps/i386/fpu/s_sin.S: Likewise.
28141 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28142 * sysdeps/i386/fpu/sincos32.c: Likewise.
28143
28144 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28145 Define.
28146 (libc_feupdateenv_53bit): Define.
28147 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28148 Define.
28149 (libc_feupdateenv_53bit): Define.
28150
28151 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28152 53 bit (without extend i386 double precision).
28153
28154 * math/libm-test.inc (sincos_test): Add tests for large input.
28155 (sin): Likewise.
28156 (cos): Likewise.
28157
28158 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28159
9cad04ea
AS
281602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28161
28162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28163
f7062b9a
DM
281642012-03-15 David S. Miller <davem@davemloft.net>
28165
28166 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28167 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28168 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28169 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28182 file.
f7062b9a 28183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28185 file.
f7062b9a 28186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28188 file.
f7062b9a 28189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28191 file.
f7062b9a
DM
28192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28194 fmin/fmax sysdep routines.
28195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28196
7bd951ff
DM
281972012-03-14 David S. Miller <davem@davemloft.net>
28198
559398ab
DM
28199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28203 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28204 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28219 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28224 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28225 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28226 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28228 routines.
28229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28230 file.
559398ab 28231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28233 file.
559398ab 28234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28236 file.
559398ab 28237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28239 file.
559398ab 28240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28242 file.
559398ab 28243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28245 file.
28246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28247 file.
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28249 file.
28250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28251 file.
28252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28253 New file.
28254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28255 file.
28256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28257 file.
559398ab 28258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28260 file.
559398ab 28261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28263 file.
559398ab 28264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28266 file.
559398ab 28267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28269 VIS3 routines.
559398ab
DM
28270
28271 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28272 New file.
28273
5a1c1e32
DM
28274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28275
eae47a36
DM
28276 * sysdeps/sparc/configure.in: New file.
28277 * sysdeps/sparc/configure: Generate.
28278 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28279 * configure: Regenerate.
28280 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28281 * config.make.in (have-as-vis3): New.
28282 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28283 available use -Av9d instead of -Av9a.
28284 * sysdeps/sparc/sparc64/Makefile: Likewise.
28285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28287 New file.
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28289 file.
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28291 New file.
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28293 file.
eae47a36
DM
28294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28297 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28298 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28299
c0c83bc8
DM
28300 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28301 fzeros/fnegs to load 0x80000000 into a float register instead of
28302 using the stack.
7bd951ff
DM
28303 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28304
bd951ccb
JM
283052012-03-14 Joseph Myers <joseph@codesourcery.com>
28306
28307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28308 bits/syscall.h.
28309 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28310 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28311 ($(inst_includedir)/bits/syscall.h): Remove rule.
28312 ($(objpfx)bits/syscall.d): Include instead of
28313 $(objpfx)syscall-list.d.
28314 (generated): Change syscall-list.h and syscall-list.d to
28315 bits/syscall.h and bits/syscall.d.
28316
bb4e6db2
RM
283172012-03-14 Roland McGrath <roland@hack.frob.com>
28318
28319 [BZ #13846]
28320 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28321
aa4a2ae1
JM
283222012-03-14 Joseph Myers <joseph@codesourcery.com>
28323
e456826d
JM
28324 [BZ #13841]
28325 * math/s_csqrt.c: Include <float.h>.
28326 (__csqrt): Scale large or subnormal inputs.
28327 * math/s_csqrtf.c: Likewise.
28328 * math/s_csqrtl.c: Likewise.
28329 * math/libm-test.inc (csqrt_test): Add more tests.
28330 * sysdeps/i386/fpu/libm-test-ulps: Update.
28331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28332
aa4a2ae1
JM
28333 [BZ #13840]
28334 * math/libm-test.inc (hypot_test): Add more tests.
28335
7c10fd35
DM
283362012-03-13 David S. Miller <davem@davemloft.net>
28337
28338 [BZ #13840]
28339 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28340 double-precision for the calculation instead of scaling.
28341
f453b98b
JM
283422012-03-13 Joseph Myers <joseph@codesourcery.com>
28343
28344 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28345 manipulate bits before adding and subtracting TWO52[sx].
28346 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28347 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28348 Likewise.
28349 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28350
09a3453f
DM
283512012-03-13 David S. Miller <davem@davemloft.net>
28352
8e59da90
DM
28353 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28354 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28356 rtld-global-offsets.h
28357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28358
2a8ab7f2
DM
28359 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28360 large parameters.
28361
10f62770
DM
28362 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28363
5f0bdb18
DM
28364 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28365 'err' in the ifdef scope in which it is actually used.
28366
09a3453f
DM
28367 * nss/nss_db/db-init.c: Include string.h
28368
b4b2eb5e
DM
283692012-03-12 David S. Miller <davem@davemloft.net>
28370
98bb2f1c
DM
28371 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28372 masking out of the most significant byte of random value used.
28373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28374 Fix coding style in previous change.
28375
b4b2eb5e
DM
28376 * sysdeps/unix/sysv/linux/kernel-features.h
28377 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28378 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28379 expression.
28380 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28381 later.
28382
6e226b09
DM
283832012-03-11 David S. Miller <davem@davemloft.net>
28384
a1bcbd40
DM
28385 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28386 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28387 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28388 for 'resultvar' otherwise things get truncated on 64-bit.
28389
cb9d6174
DM
28390 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28391 Fix masking out of the most significant byte of random value used.
28392
6e226b09
DM
28393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28394
058c132d
AS
283952012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28396
28397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28398
2d2cd515
DM
283992012-03-09 David S. Miller <davem@davemloft.net>
28400
28401 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28402 variables with appropriate CPP guards.
28403 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28404 frame pointer, not the stack pointer. Correct layout comments. Fix test
28405 on resulting framesize and the management of the outregs buffer for pltexit.
28406 Preserve floating point return values across _dl_call_pltexit call.
28407 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28408 framesize and the management of the outregs buffer for pltexit.
28409 Preserve floating point return values across _dl_call_pltexit
28410 call.
28411 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28412 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28413 (print_exit): Fix format string for return register value.
28414
9a07f9d0
JM
284152012-03-10 Joseph Myers <joseph@codesourcery.com>
28416
28417 * sunrpc/Makefile (others): Add rpcgen.
28418 ($(objpfx)rpcgen): Remove special build rule and dependency on
28419 libc.
28420 * sunrpc/rpcgen.c: New file.
28421
547b5e30
PE
284222012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28423
c524201a
PE
28424 [BZ #13673]
28425 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28426 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28427 * sysdeps/i386/crti.S: Likewise.
28428 * sysdeps/i386/crtn.S: Likewise.
28429 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28430 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28431 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28432 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28433 * sysdeps/sh/crti.S: Likewise.
28434 * sysdeps/sh/crtn.S: Likewise.
28435 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28436
7b6235f2
PE
28437 [BZ #13673]
28438 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28439 with URL.
28440 * locale/programs/locfile-kw.gperf: Likewise.
28441 * locale/programs/charmap-kw.h: Regenerated.
28442 * locale/programs/locfile-kw.h: Likewise.
28443
547b5e30
PE
28444 [BZ #13673]
28445 * intl/plural.y: Replace FSF snail mail address with URL.
28446 * intl/plural.c: Regenerated.
28447
5f0a5dae
RH
284482012-03-09 Richard Henderson <rth@twiddle.net>
28449
28450 * include/math_private.h: Remove file.
28451 * math/math_private.h: Move file ...
28452 * sysdeps/generic/math_private.h: ... here.
28453
b8c03620
RH
28454 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28455 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28456 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28457
4e234f5d 28458 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28459 and <math_private.h>.
28460 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28461 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28462 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28463 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28464 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28468 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28469 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28471 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28472 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28473 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28474 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28494 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28495 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28500 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28501 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28502 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28503 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28504 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28505 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28506 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28507 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28508 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28509 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28511 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28512 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28513 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28514 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28515 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28516 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28519 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28521 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28523 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28524 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28525 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28526 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28527 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28528 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28529 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28530 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28531 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28532 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28533 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28534 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28536 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28538 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28539 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28540 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28541 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28542 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28548 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28549 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28550 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28551 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28553 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28554 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28555 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28556 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28557 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28558 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28559 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28560 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28561 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28562 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28563 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28564 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28565 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28566 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28567 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28568 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28569 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28570 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28571 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28572 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28573 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28574 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28575 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28576 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28577 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28578 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28579 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28580 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28581 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28582 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28583 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28584 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28585 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28586 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28587 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28588 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28589 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28590 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28591 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28592 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28593 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28594 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28595 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28596 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28597 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28598 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28599 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28600 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28601 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28602 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28603 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28604 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28605 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28606 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28607 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28608 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28609 * sysdeps/ieee754/k_standard.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28660 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28661 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28662 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28665 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28666 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28667 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28669 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28670 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28671 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28672 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28683 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28684 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28686 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28687 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28725 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28729 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28730 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28732 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28737 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28742 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28758 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28759 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28760 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28770 * sysdeps/ieee754/s_lib_version.c: Likewise.
28771 * sysdeps/ieee754/s_matherr.c: Likewise.
28772 * sysdeps/ieee754/s_signgam.c: Likewise.
28773 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28774 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28775 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28776 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28777 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28778 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28779 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28780 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28781 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28782 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28783 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28784 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28785 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28786 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28787 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28788 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28789 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28790 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28791 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28792 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28794
1991fa03
JM
287952012-03-09 Joseph Myers <joseph@codesourcery.com>
28796
28797 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28798 * sunrpc/rpc_main.c: Likewise.
28799 * sunrpc/rpc_svcout.c: Likewise.
28800
60d6f5a6
DM
288012012-03-09 David S. Miller <davem@davemloft.net>
28802
28803 * include/math_private.h: New file.
28804
4962050e
JM
288052012-03-09 Joseph Myers <joseph@codesourcery.com>
28806
02a6f887
JM
28807 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28808 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28809 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28810 from <bits/socket_type.h>.
28811 (enum __socket_type): Don't define here.
28812 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28814 bits/socket_type.h.
28815
c6e013c1
JM
28816 [BZ #13566]
28817 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28818 checking __USE_GNU.
28819
4962050e
JM
28820 * Makerules ($(inst_includedir)/%.h): New rule.
28821 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28822 (install-others): Remove variable setting.
28823 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28824
38842f45
RH
288252012-03-08 Richard Henderson <rth@twiddle.net>
28826
67bb6da6
RH
28827 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28828 from macro to inline function; merge with the
28829 !__LIBC_INTERNAL_MATH_INLINES version.
28830 (__ieee754_sqrtf): Likewise.
28831
15194b4b
RH
28832 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28833 to inline function.
28834 (__rintf, __floor, __floorf): Likewise.
28835
64e21ede
RH
28836 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28837 macro to inline function.
28838 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28839
38842f45
RH
28840 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28841 not <math/math_private.h>.
28842
c64bf5fe
DM
288432012-03-08 David S. Miller <davem@davemloft.net>
28844
28845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28846 copyright year.
28847 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28848
82d86f28
TS
288492012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28850
28851 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28852 normalization.
28853 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28854 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28855
aea5d727
UD
288562012-03-08 Ulrich Drepper <drepper@gmail.com>
28857
28858 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28859 be defined individually, they must be defined as a block. Define
28860 S for printing a string instead of hidint the different by using a
28861 macro for adding the 'l'.
28862 * stdio-common/tst-fphex-wide.c: Adjust.
28863
70bca0a3
MP
288642012-03-07 Marek Polacek <polacek@redhat.com>
28865
28866 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28867
65b81130
MP
288682012-03-08 Marek Polacek <polacek@redhat.com>
28869
28870 [BZ #13806]
28871 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28872 * stdio-common/tst-fphex.c: Define a few macros to make the
28873 test reusable. Use them.
28874 * stdio-common/tst-fphex-wide.c: New file.
28875
07037eeb
JM
288762012-03-08 Joseph Myers <joseph@codesourcery.com>
28877
a7a93d50
JM
28878 [BZ #6911]
28879 * manual/macros.texi (gnusystems): New macro.
28880 (nongnusystems): Likewise.
28881 (gnulinuxhurdsystems): Likewise.
28882 (gnuhurdsystems): Likewise..
28883 (gnulinuxsystems): Likewise.
28884 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28885 variants of the GNU system, not "GNU system".
28886 * manual/conf.texi: Likewise.
28887 * manual/errno.texi: Likewise. Update example of errno macro
28888 expansion.
28889 * manual/filesys.texi: Likewise.
28890 (getumask): Document as specific to GNU/Hurd.
28891 * manual/install.texi: Likewise. Reword some references to
28892 GNU/Linux.
28893 * manual/intro.texi: Likewise.
28894 * manual/io.texi: Likewise.
28895 (File Name Portability): Detail which constraints are inapplicable
28896 to all GNU systems and which are only inapplicable to GNU/Hurd.
28897 * manual/job.texi: Likewise.
28898 * manual/llio.texi: Likewise.
28899 (O_NOCTTY): Document as present on GNU/Linux.
28900 * manual/maint.texi: Likewise.
28901 * manual/memory.texi: Likewise.
28902 * manual/pattern.texi: Likewise.
28903 * manual/pipe.texi: Likewise.
28904 * manual/process.texi: Likewise.
28905 * manual/resource.texi: Likewise.
28906 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28907 child on GNU/Hurd.
28908 * manual/setjmp.texi: Likewise.
28909 * manual/signal.texi: Likewise.
28910 * manual/startup.texi: Likewise.
28911 * manual/stdio.texi: Likewise.
28912 * manual/terminal.texi: Likewise.
28913 (ONLCR): Document as POSIX.
28914 (OXTABS): Document availability on GNU/Linux as XTABS.
28915 (ONOEOT): Document availability separately from other bits.
28916 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28917 * manual/time.texi: Likewise.
28918 * manual/users.texi: Likewise.
28919 * INSTALL: Regenerated.
28920 * sysdeps/gnu/errlist.c: Regenerated.
28921
07037eeb
JM
28922 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28923 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28924 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28925 puts.
28926 * configure: Regenerated.
28927
d1d3431a
JM
289282012-03-07 Joseph Myers <joseph@codesourcery.com>
28929
af6a1e37
JM
28930 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28931 default includes instead of AC_HEADER_CHECK.
28932 * sysdeps/i386/configure: Regenerated.
28933
d1d3431a
JM
28934 [BZ #10716]
28935 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28936 * math/s_cacoshf.c (__cacoshf): Likewise.
28937 * math/s_cacoshl.c (__cacoshl): Likewise.
28938 * math/s_casinh.c (__casinh): Set signs of result from argument.
28939 * math/s_casinhf.c (__casinhf): Likewise.
28940 * math/s_casinhl.c (__casinhl): Likewise.
28941 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28942 (casinh_test): Add more tests.
28943 * sysdeps/i386/fpu/libm-test-ulps: Update.
28944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28945
482ff4da
UD
289462012-03-07 Ulrich Drepper <drepper@gmail.com>
28947
872fda05
UD
28948 * po/zh_TW.po: Update from translation team.
28949
a4300c7a
UD
28950 * login/Makefile (distribute): Remove variable.
28951 * catgets/Makefile: Likewise.
28952 * mach/Makefile: Likewise.
28953 * malloc/Makefile: Likewise.
28954 * misc/Makefile: Likewise.
28955 * iconv/Makefile: Likewise.
28956 * nscd/Makefile: Likewise.
28957 * hurd/Makefile: Likewise.
28958 * manual/Makefile: Likewise.
28959 * locale/Makefile: Likewise.
28960 * intl/Makefile: Likewise.
28961 * conform/Makefile: Likewise.
28962 * nss/Makefile: Likewise.
28963 * time/Makefile: Likewise.
28964 * soft-fp/Makefile: Likewise.
28965 * dirent/Makefile: Likewise.
28966 * gmon/Makefile: Likewise.
28967 * po/Makefile: Likewise.
28968 * rt/Makefile: Likewise.
28969 * socket/Makefile: Likewise.
28970 * math/Makefile: Likewise.
28971 * signal/Makefile: Likewise.
28972 * debug/Makefile: Likewise.
28973 * elf/Makefile: Likewise.
28974 * timezone/Makefile: Likewise.
28975 * stdlib/Makefile: Likewise.
28976 * iconvdata/Makefile: Likewise.
28977 * sunrpc/Makefile: Likewise.
28978 * io/Makefile: Likewise.
28979 * argp/Makefile: Likewise.
28980 * inet/Makefile: Likewise.
28981 * hesiod/Makefile: Likewise.
28982 * grp/Makefile: Likewise.
28983 * csu/Makefile: Likewise.
28984 * wctype/Makefile: Likewise.
28985 * crypt/Makefile: Likewise.
28986 * libio/Makefile: Likewise.
28987 * string/Makefile: Likewise.
28988 * nis/Makefile: Likewise.
28989 * resolv/Makefile: Likewise.
28990 * stdio-common/Makefile: Likewise.
28991 * wcsmbs/Makefile: Likewise.
28992 * dlfcn/Makefile: Likewise.
28993 * posix/Makefile: Likewise.
28994
3b7c4e74 28995 [BZ #6959]
482ff4da
UD
28996 * timezone/Makefile: Don't install timezone files, just the programs
28997 and scripts.
28998
f72ed77d
UD
289992012-03-06 Ulrich Drepper <drepper@gmail.com>
29000
a000466f
UD
29001 * nss/databases.def: Add missing gshadow entry.
29002
f72ed77d
UD
29003 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29004
a53b7a4e
MP
290052012-03-06 Marek Polacek <polacek@redhat.com>
29006
29007 [BZ #13726]
29008 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29009 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29010 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29011 * stdio-common/tst-long-dbl-fphex.c: New file.
29012
e9258400
DM
290132012-03-06 David S. Miller <davem@davemloft.net>
29014
29015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29016 (set_obp_int): New function.
29017 (get_obp_int): New function.
29018 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29019 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29020 Avoid unused variable warnings on 'val' and use builtin_expect.
29021 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29022 __builtin_expect.
e9258400
DM
29023 (INLINE_CLONE_SYSCALL): Likewise.
29024
3bd2c723
DM
290252012-03-05 David S. Miller <davem@davemloft.net>
29026
29027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29028
bbb78d03
AS
290292012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29030
884c5db4
AS
29031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29032
bbb78d03
AS
29033 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29034 only for |x| >= 40.
29035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29036
1c9f702a 290372012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29038
29039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29040 Replace gettimeofday with __vdso_gettimeofday.
29041
7be16f82
RM
29042 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29043 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29044 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29045
29046 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29047 time with __vdso_time.
29048
ed58a00f
JM
290492012-03-05 Joseph Myers <joseph@codesourcery.com>
29050
29051 * manual/lang.texi (size_t): Note types to which size_t may be
29052 equivalent with the GNU C Library, but do not describe when
29053 differences between them are significant.
29054
30ee4ced
AJ
290552012-03-05 Andreas Jaeger <aj@suse.de>
29056
29057 * sysdeps/i386/fpu/libm-test-ulps: Update.
29058
b7cd39e8
JM
290592012-03-05 Joseph Myers <joseph@codesourcery.com>
29060
29061 [BZ #3976]
29062 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29063 (__ieee754_pow): Save and restore rounding mode and use
29064 round-to-nearest for main computations.
29065 * math/libm-test.inc (pow_test_tonearest): New function.
29066 (pow_test_towardzero): Likewise.
29067 (pow_test_downward): Likewise.
29068 (pow_test_upward): Likewise.
29069 (main): Call the new functions.
29070 * sysdeps/i386/fpu/libm-test-ulps: Update.
29071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29072
29073 [BZ #3976]
29074 * math/libm-test.inc (cosh_test_tonearest): New function.
29075 (cosh_test_towardzero): Likewise.
29076 (cosh_test_downward): Likewise.
29077 (cosh_test_upward): Likewise.
29078 (sinh_test_tonearest): Likewise.
29079 (sinh_test_towardzero): Likewise.
29080 (sinh_test_downward): Likewise.
29081 (sinh_test_upward): Likewise.
29082 (main): Call the new functions.
29083 * sysdeps/i386/fpu/libm-test-ulps: Update.
29084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29085
6c6a98c9
TV
290862012-03-05 Tom de Vries <tom@codesourcery.com>
29087
29088 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29089 default stack guard is set in last bytes.
29090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29091
21bb2d2e 290922012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29093
21bb2d2e 29094 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29095
21bb2d2e
AJ
29096 [BZ #13656]
29097 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29098 possibly allocate from heap instead of stack.
29099 * stdio-common/bug-vfprintf-nargs.c: New file.
29100 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29101
c6922934
AS
291022012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29103
29104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29105
bc957d53
MP
291062012-03-03 Marek Polacek <polacek@redhat.com>
29107
29108 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29109 * math/math_private.h: Likewise.
29110 * stdlib/tst-strtod.c: Likewise.
29111 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29112 * sysdeps/x86_64/bits/atomic.h: Likewise.
29113
6358490d
DM
291142012-03-02 David S. Miller <davem@davemloft.net>
29115
29116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29120 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29121 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29122 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29123 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29124
01ae168d
RM
291252012-03-02 Roland McGrath <roland@hack.frob.com>
29126
d9a17c07
RM
29127 [BZ #13792]
29128 * manual/examples/README: New file, says the example source files
29129 can be used under GPL>=2.
29130 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29131 line containing just "*/".
29132 * manual/examples/add.c: Add copyright header (GPL>=2).
29133 * manual/examples/argp-ex1.c: Likewise.
29134 * manual/examples/argp-ex2.c: Likewise.
29135 * manual/examples/argp-ex3.c: Likewise.
29136 * manual/examples/argp-ex4.c: Likewise.
29137 * manual/examples/atexit.c: Likewise.
29138 * manual/examples/db.c: Likewise.
29139 * manual/examples/dir.c: Likewise.
29140 * manual/examples/dir2.c: Likewise.
29141 * manual/examples/execinfo.c: Likewise.
29142 * manual/examples/filecli.c: Likewise.
29143 * manual/examples/filesrv.c: Likewise.
29144 * manual/examples/fmtmsgexpl.c: Likewise.
29145 * manual/examples/genpass.c: Likewise.
29146 * manual/examples/inetcli.c: Likewise.
29147 * manual/examples/inetsrv.c: Likewise.
29148 * manual/examples/isockad.c: Likewise.
29149 * manual/examples/longopt.c: Likewise.
29150 * manual/examples/memopen.c: Likewise.
29151 * manual/examples/memstrm.c: Likewise.
29152 * manual/examples/mkfsock.c: Likewise.
29153 * manual/examples/mkisock.c: Likewise.
29154 * manual/examples/mygetpass.c: Likewise.
29155 * manual/examples/pipe.c: Likewise.
29156 * manual/examples/popen.c: Likewise.
29157 * manual/examples/rprintf.c: Likewise.
29158 * manual/examples/search.c: Likewise.
29159 * manual/examples/select.c: Likewise.
29160 * manual/examples/setjmp.c: Likewise.
29161 * manual/examples/sigh1.c: Likewise.
29162 * manual/examples/sigusr.c: Likewise.
29163 * manual/examples/stpcpy.c: Likewise.
29164 * manual/examples/strdupa.c: Likewise.
29165 * manual/examples/strftim.c: Likewise.
29166 * manual/examples/strncat.c: Likewise.
29167 * manual/examples/subopt.c: Likewise.
29168 * manual/examples/swapcontext.c: Likewise.
29169 * manual/examples/termios.c: Likewise.
29170 * manual/examples/testopt.c: Likewise.
29171 * manual/examples/testpass.c: Likewise.
29172 * manual/examples/timeval_subtract.c: Likewise.
29173
01ae168d
RM
29174 [BZ #13792]
29175 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29176 function to ...
29177 * manual/timeval_subtract.c.texi: ... here, new file.
29178
49efa33d
DM
291792012-03-02 David S. Miller <davem@davemloft.net>
29180
29181 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29182
28afd92d
JM
291832012-03-02 Joseph Myers <joseph@codesourcery.com>
29184
804360ed
JM
29185 [BZ #3976]
29186 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29187 (__sin): Save and restore rounding mode and use round-to-nearest
29188 for all computations.
29189 (__cos): Save and restore rounding mode and use round-to-nearest
29190 for all computations.
29191 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29192 <fenv.h>.
29193 (tan): Save and restore rounding mode and use round-to-nearest for
29194 all computations.
29195 * math/libm-test.inc (cos_test_tonearest): New function.
29196 (cos_test_towardzero): Likewise.
29197 (cos_test_downward): Likewise.
29198 (cos_test_upward): Likewise.
29199 (sin_test_tonearest): Likewise.
29200 (sin_test_towardzero): Likewise.
29201 (sin_test_downward): Likewise.
29202 (sin_test_upward): Likewise.
29203 (tan_test_tonearest): Likewise.
29204 (tan_test_towardzero): Likewise.
29205 (tan_test_downward): Likewise.
29206 (tan_test_upward): Likewise.
29207 (main): Call the new functions.
29208 * sysdeps/i386/fpu/libm-test-ulps: Update.
29209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29210
a6d06d7b
JM
29211 [BZ #10135]
29212 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29213 small n, then large n, before computing and testing k+n.
29214 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29215 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29216 Likewise.
29217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29218 Likewise.
29219 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29220 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29226 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29227 * math/libm-test.inc (scalbn_test): Add more tests.
29228 (scalbln_test): Likewise.
29229
07e12bb3
JM
29230 * manual/filesys.texi (mode_t): Describe constraints on size and
29231 signedness, not exact equivalence to a particular type.
29232 (ino_t): Likewise.
29233 (ino64_t): Likewise.
29234 (dev_t): Likewise.
29235 (nlink_t): Likewise.
29236 (blkcnt_t): Likewise.
29237 (blkcnt64_t): Likewise.
29238 * manual/llio.texi (off_t): Likewise.
29239
28afd92d
JM
29240 [BZ #3976]
29241 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29242 (__ieee754_exp): Save and restore rounding mode and use
29243 round-to-nearest for all computations.
29244 * math/libm-test.inc (exp_test_tonearest): New function.
29245 (exp_test_towardzero): Likewise.
29246 (exp_test_downward): Likewise.
29247 (exp_test_upward): Likewise.
29248 (main): Call the new functions.
29249 * sysdeps/i386/fpu/libm-test-ulps: Update.
29250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29251
b1eeb65d
CD
292522012-03-01 Chris Demetriou <cgd@google.com>
29253
29254 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29255 have predictable order.
29256
53362a4b
DM
292572012-03-01 David S. Miller <davem@davemloft.net>
29258
3c969083
DM
29259 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29260
759707de
DM
29261 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29262 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29263 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29264 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29265
dfdb8ff2
DM
29266 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29267 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29268 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29270 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29271 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29272 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29273 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29274 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29275
ead89f96
DM
29276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29277
7f66bd07
DM
29278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29279 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29281
53362a4b
DM
29282 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29283 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29284 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29285 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29286 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29287 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29288 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29289 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29290 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29291 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29292 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29293 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29296 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29298 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29299 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29300 * sysdeps/sparc/elf/configure: Regenerated.
29301
7b1902cb
JM
293022012-03-01 Joseph Myers <joseph@codesourcery.com>
29303
bec039bc
JM
29304 * configure.in (AS, LD): Require binutils 2.20 or later.
29305 * configure: Regenerated.
29306 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29307 as required minimum version.
29308 * INSTALL: Regenerated.
29309
7b1902cb
JM
29310 [BZ #2541]
29311 [BZ #4108]
29312 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29313 before squaring exponent.
29314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29315 bottom long double and 27 bits of top long double before squaring
29316 exponent.
29317 * math/libm-test.inc (erfc_test): Add more tests.
29318 * sysdeps/i386/fpu/libm-test-ulps: Update.
29319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29321
f775c276
KT
293222012-03-01 Kai Tietz <ktietz@redhat.com>
29323
29324 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29325 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29326 containing bit-fields.
29327 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29328 * soft-fp/single.h (_FP_UNION_S): Likewise.
29329 * soft-fp/double.h (_FP_UNION_D): Likewise.
29330
5b8a4d4a
JM
293312012-02-29 Joseph Myers <joseph@codesourcery.com>
29332
0bab47b6
JM
29333 [BZ #13786]
29334 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29335 not include ../strcmp.S.
29336 [USE_AS_STRNCASECMP_L]: Likewise.
29337 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29338 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29339 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29340 (__strncasecmp_l_ia32): Define as alias to
29341 __strncasecmp_l_nonascii.
29342
0fcad3e2
JM
29343 [BZ #5794]
29344 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29345 * sysdeps/i386/fpu/libm-test-ulps: Update.
29346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29347
5b8a4d4a
JM
29348 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29350
8fdceb2e
JL
293512012-02-29 Jeff Law <law@redhat.com>
29352
29353 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29354 out of bounds read.
29355
1f393a11
MP
293562012-02-29 Marek Polacek <polacek@redhat.com>
29357
29358 [BZ #13706]
29359 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29360 * elf/Makefile: Add rules to run tst-unused-dep.out.
29361
8847f037
DM
293622012-02-28 David S. Miller <davem@davemloft.net>
29363
29364 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29365 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29367 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29368 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29369 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29370
169d7f11
JM
293712012-02-29 Joseph Myers <joseph@codesourcery.com>
29372
29373 * math/libm-test.inc (llround_test): Move one test from
29374 lround_test. Use TEST_f_L in moved test.
29375 (lround_test): Move misplaced test to llround_test. Add testcase
29376 from bug 2561.
29377
39adf059
UD
293782012-02-28 Ulrich Drepper <drepper@gmail.com>
29379
29380 * sysdeps/x86_64/fpu/e_expf.S: New file.
29381 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29382
71b5d1c5
SB
293832012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29384
29385 [BZ #13637]
29386 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29387 of remain_len that may cause incomplete multi-byte character and
29388 false match.
29389 * posix/bug-regex33.c: New file.
29390 * posix/Makefile (tests): Add bug-regex33.
29391
1f77f049
JM
293922012-02-28 Joseph Myers <joseph@codesourcery.com>
29393
29394 * manual/macros.texi: New file.
29395 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29396 * manual/libc.texinfo: Include macros.texi.
29397 * manual/creatute.texi: Likewise.
29398 * manual/install.texi: Likewise.
29399 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29400 @glibcadj{} in references to the GNU C Library.
29401 * manual/charset.texi: Likewise.
29402 * manual/conf.texi: Likewise.
29403 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29404 when not using those macros.
29405 * manual/creature.texi: Likewise.
29406 * manual/crypt.texi: Likewise.
29407 * manual/errno.texi: Likewise.
29408 * manual/filesys.texi: Likewise.
29409 * manual/header.texi: Likewise.
29410 * manual/install.texi: Likewise.
29411 * manual/intro.texi: Likewise.
29412 * manual/io.texi: Likewise.
29413 * manual/job.texi: Likewise.
29414 * manual/lang.texi: Likewise.
29415 * manual/libc.texiinfo: Likewise.
29416 * manual/llio.texi: Likewise.
29417 * manual/locale.texi: Likewise.
29418 * manual/maint.texi: Likewise.
29419 * manual/math.texi: Likewise.
29420 * manual/memory.texi: Likewise.
29421 * manual/message.texi: Likewise.
29422 * manual/nss.texi: Likewise.
29423 * manual/pattern.texi: Likewise.
29424 * manual/process.texi: Likewise.
29425 * manual/resource.texi: Likewise.
29426 * manual/search.texi: Likewise.
29427 * manual/setjmp.texi: Likewise.
29428 * manual/signal.texi: Likewise.
29429 * manual/socket.texi: Likewise.
29430 * manual/startup.texi: Likewise.
29431 * manual/stdio.texi: Likewise.
29432 * manual/string.texi: Likewise.
29433 * manual/sysinfo.texi: Likewise.
29434 * manual/syslog.texi: Likewise.
29435 * manual/terminal.texi: Likewise.
29436 * manual/time.texi: Likewise.
29437 * manual/users.texi: Likewise.
29438 * INSTALL: Regenerated.
29439 * NOTES: Regenerated.
d40c5d54 29440 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29441
450bf206
AS
294422012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29443
29444 * include/dirent.h: Include <dirstream.h> before
29445 <dirent/dirent.h>.
29446
741a235b
DM
294472012-02-28 David S. Miller <davem@davemloft.net>
29448
29449 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29450 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29451 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29452 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29453
d6b5aa58
DM
294542012-02-27 David S. Miller <davem@davemloft.net>
29455
1aff59a3
DM
29456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29458 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29459 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29460
d6b5aa58
DM
29461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29462 frame pointer instead of stack pointer relative arg slot.
29463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29464 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29465 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29466
433f48bf
CD
294672012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29468
29469 [BZ #3992]
29470 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29471
d674b76d
DM
294722012-02-27 David S. Miller <davem@davemloft.net>
29473
29474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29478 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29479 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29480 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29481 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29482
0e7727f7
JM
294832012-02-27 Joseph Myers <joseph@codesourcery.com>
29484
29485 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29486 later. Allow versions 5-9.
43be4ca2 29487 * configure: Regenerated.
0e7727f7
JM
29488 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29489 required minimum version and 4.6 as recommended version. Do not
29490 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29491 * INSTALL: Regenerated.
0e7727f7 29492
a78bc654
DM
294932012-02-27 David S. Miller <davem@davemloft.net>
29494
428d5830
DM
29495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29499 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29500 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29501 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29502 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29503
a78bc654
DM
29504 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29505 manipulate bits before adding and subtracting TWO112[sx].
29506 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29507
4579f81c
RM
295082012-02-27 Roland McGrath <roland@hack.frob.com>
29509
36c8acb4
RM
29510 [BZ #13775]
29511 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29512 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29513 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29514 being in POSIX, because they are in 1003.1-2008.
29515
84ad622b
RM
29516 * rt/tst-aio.c: Include <fcntl.h>.
29517 * rt/tst-aio7.c: Likewise.
29518 * rt/tst-aio64.c: Likewise.
29519
4579f81c
RM
29520 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29521
abd923db
JM
295222012-02-27 Joseph Myers <joseph@codesourcery.com>
29523
29524 * manual/install.texi (--with-headers): Describe headers as
29525 interface headers, not private headers.
29526 (Specific advice for GNU/Linux systems): Describe use of headers
29527 from "make headers_install", not private headers from older
29528 kernels.
43be4ca2 29529 * INSTALL: Regenerated.
abd923db
JM
29530 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29531 Change to 2.6.19.
29532 * sysdeps/unix/sysv/linux/configure: Regenerated.
29533
6664049b
JM
29534 * manual/llio.texi (fclean): Remove documentation.
29535
bb8b6697
JM
29536 * manual/Makefile (libc-texi-generated): New variable. Include
29537 version.texi.
29538 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29539 $(libc-texi-generated), not duplicated list of files.
29540 (version.texi, stamp-version): New rules.
29541 (realclean): Remove $(libc-texi-generated), not individual files
29542 from that list. Do not remove dir-add.texinfo.
29543 * manual/libc.texinfo: Comment out uses of edition numbers and
29544 references to printed manual. Remove last-updated dates.
29545 (EDITION): Comment out.
29546 (ISBN): Likewise.
29547 (VERSION, UPDATED): Remove.
29548 (version.texi): Include.
29549
12e5c3b9
AS
295502012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29551
29552 * sysdeps/posix/spawni.c: Include <signal.h>.
29553 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29554 * sysdeps/pthread/aio_fsync.c: Likewise.
29555
4efeffc1 295562012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29557
ba63ba08
UD
29558 * conform/Makefile (tests): Run only when not cross-compiling and
29559 when fast-check is not defined.
29560
d94a4670
UD
29561 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29562 * conform/data/limits.h-data: Fixes for POSIX2008.
29563 * conform/run-conformtest.sh: Run all tests.
29564 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29565 headers.
29566 * include/bits/dlfcn.h: Likewise.
29567 * include/langinfo.h: Likewise.
29568 * include/monetary.h: Likewise.
29569 * include/sys/poll.h: Likewise.
29570
29571 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29572 for __USE_GNU.
29573 * posix/spawn.h: Define __need_sigset_t.
29574 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29575 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29576 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29577 to get sigevent_t only.
29578 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29579 only for __USE_GNU.
29580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29581 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29582 process_vm_writev only for __USE_GNU.
29583 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29584
29585 * conform/Makefile: For now ignore errors from run-conformtest.
29586 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29587 POSIX to avoid namespace pollution. Don't prepend headers.
29588 * conform/data/aio.h-data: Fixes for POSIX testing.
29589 * conform/data/fcntl.h-data: Likewise.
29590 * conform/data/glob.h-data: Likewise.
29591 * conform/data/grp.h-data: Likewise.
29592 * conform/data/pthread.h-data: Likewise.
29593 * conform/data/pwd.h-data: Likewise.
29594 * conform/data/signal.h-data: Likewise.
29595 * conform/data/spawn.h-data: Likewise.
29596 * conform/data/stdio.h-data: Likewise.
29597 * conform/data/stdlib.h-data: Likewise.
29598 * conform/data/stropts.h-data: Likewise.
29599 * conform/data/sys/mman.h-data: Likewise.
29600 * conform/data/sys/stat.h-data: Likewise.
29601 * conform/data/sys/types.h-data: Likewise.
29602 * conform/data/sys/wait.h-data: Likewise.
29603 * conform/data/time.h-data: Likewise.
29604 * conform/data/unistd.h-data: Likewise.
29605 * conform/data/utime.h-data: Likewise.
29606
29607 * io/sys/stat.h: fchmod was always in POSIX.
29608 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29609 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29610 * rt/aio.h: Define __need_timespec before including <time.h>.
29611 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29612 struct. Add forward declaration of pthread_attr_t and use it in
29613 sigevent.
29614 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29615 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29616 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29617 always remove CLK_TCK definition.
29618
c20105c3
AS
296192012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29620
29621 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29622
7a270350
UD
296232012-02-25 Ulrich Drepper <drepper@gmail.com>
29624
31341567
UD
29625 * conform/run-conformtest.sh: New file.
29626 * conform/Makefile: Run run-conformtest for tests.
29627 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29628 support.
29629
29630 * conform/data/uchar.h-data: New file.
29631 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29632 * conform/data/arpa/inet.h-data: Likewise.
29633 * conform/data/assert.h-data: Likewise.
29634 * conform/data/complex.h-data: Likewise.
29635 * conform/data/cpio.h-data: Likewise.
29636 * conform/data/ctype.h-data: Likewise.
29637 * conform/data/dirent.h-data: Likewise.
29638 * conform/data/dlfcn.h-data: Likewise.
29639 * conform/data/errno.h-data: Likewise.
29640 * conform/data/fcntl.h-data: Likewise.
29641 * conform/data/float.h-data: Likewise.
29642 * conform/data/fmtmsg.h-data: Likewise.
29643 * conform/data/fnmatch.h-data: Likewise.
29644 * conform/data/ftw.h-data: Likewise.
29645 * conform/data/glob.h-data: Likewise.
29646 * conform/data/grp.h-data: Likewise.
29647 * conform/data/iconv.h-data: Likewise.
29648 * conform/data/inttypes.h-data: Likewise.
29649 * conform/data/langinfo.h-data: Likewise.
29650 * conform/data/libgen.h-data: Likewise.
29651 * conform/data/limits.h-data: Likewise.
29652 * conform/data/locale.h-data: Likewise.
29653 * conform/data/math.h-data: Likewise.
29654 * conform/data/monetary.h-data: Likewise.
29655 * conform/data/mqueue.h-data: Likewise.
29656 * conform/data/ndbm.h-data: Likewise.
29657 * conform/data/net/if.h-data: Likewise.
29658 * conform/data/netdb.h-data: Likewise.
29659 * conform/data/netinet/in.h-data: Likewise.
29660 * conform/data/nl_types.h-data: Likewise.
29661 * conform/data/poll.h-data: Likewise.
29662 * conform/data/pthread.h-data: Likewise.
29663 * conform/data/pwd.h-data: Likewise.
29664 * conform/data/regex.h-data: Likewise.
29665 * conform/data/sched.h-data: Likewise.
29666 * conform/data/search.h-data: Likewise.
29667 * conform/data/semaphore.h-data: Likewise.
29668 * conform/data/setjmp.h-data: Likewise.
29669 * conform/data/signal.h-data: Likewise.
29670 * conform/data/spawn.h-data: Likewise.
29671 * conform/data/stdarg.h-data: Likewise.
29672 * conform/data/stdio.h-data: Likewise.
29673 * conform/data/stdlib.h-data: Likewise.
29674 * conform/data/string.h-data: Likewise.
29675 * conform/data/strings.h-data: Likewise.
29676 * conform/data/stropts.h-data: Likewise.
29677 * conform/data/sys/ipc.h-data: Likewise.
29678 * conform/data/sys/mman.h-data: Likewise.
29679 * conform/data/sys/msg.h-data: Likewise.
29680 * conform/data/sys/resource.h-data: Likewise.
29681 * conform/data/sys/select.h-data: Likewise.
29682 * conform/data/sys/sem.h-data: Likewise.
29683 * conform/data/sys/shm.h-data: Likewise.
29684 * conform/data/sys/socket.h-data: Likewise.
29685 * conform/data/sys/stat.h-data: Likewise.
29686 * conform/data/sys/statvfs.h-data: Likewise.
29687 * conform/data/sys/time.h-data: Likewise.
29688 * conform/data/sys/timeb.h-data: Likewise.
29689 * conform/data/sys/times.h-data: Likewise.
29690 * conform/data/sys/types.h-data: Likewise.
29691 * conform/data/sys/uio.h-data: Likewise.
29692 * conform/data/sys/un.h-data: Likewise.
29693 * conform/data/sys/utsname.h-data: Likewise.
29694 * conform/data/sys/wait.h-data: Likewise.
29695 * conform/data/syslog.h-data: Likewise.
29696 * conform/data/tar.h-data: Likewise.
29697 * conform/data/termios.h-data: Likewise.
29698 * conform/data/utime.h-data: Likewise.
29699 * conform/data/utmpx.h-data: Likewise.
29700 * conform/data/varargs.h-data: Likewise.
29701 * conform/data/wchar.h-data: Likewise.
29702 * conform/data/wctype.h-data: Likewise.
29703 * conform/data/wordexp.h-data: Likewise.
29704
29705 * include/stropts.h: New file.
29706 * include/uchar.h: New file.
29707 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29708 * include/assert.h: Likewise.
29709 * include/ctype.h: Likewise.
29710 * include/dirent.h: Likewise.
29711 * include/dlfcn.h: Likewise.
29712 * include/fcntl.h: Likewise.
29713 * include/fnmatch.h: Likewise.
29714 * include/glob.h: Likewise.
29715 * include/grp.h: Likewise.
29716 * include/libio.h: Likewise.
29717 * include/locale.h: Likewise.
29718 * include/math.h: Likewise.
29719 * include/net/if.h: Likewise.
29720 * include/netdb.h: Likewise.
29721 * include/netinet/in.h: Likewise.
29722 * include/pthread.h: Likewise.
29723 * include/pwd.h: Likewise.
29724 * include/regex.h: Likewise.
29725 * include/sched.h: Likewise.
29726 * include/search.h: Likewise.
29727 * include/setjmp.h: Likewise.
29728 * include/signal.h: Likewise.
29729 * include/stdio.h: Likewise.
29730 * include/stdlib.h: Likewise.
29731 * include/string.h: Likewise.
29732 * include/sys/cdefs.h: Likewise.
29733 * include/sys/mman.h: Likewise.
29734 * include/sys/msg.h: Likewise.
29735 * include/sys/resource.h: Likewise.
29736 * include/sys/select.h: Likewise.
29737 * include/sys/socket.h: Likewise.
29738 * include/sys/stat.h: Likewise.
29739 * include/sys/statvfs.h: Likewise.
29740 * include/sys/time.h: Likewise.
29741 * include/sys/times.h: Likewise.
29742 * include/sys/uio.h: Likewise.
29743 * include/sys/utsname.h: Likewise.
29744 * include/sys/wait.h: Likewise.
29745 * include/termios.h: Likewise.
29746 * include/time.h: Likewise.
29747 * include/ulimit.h: Likewise.
29748 * include/unistd.h: Likewise.
29749 * include/utime.h: Likewise.
29750 * include/wchar.h: Likewise.
29751 * include/wctype.h: Likewise.
29752 * include/wordexp.h: Likewise.
29753
29754 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29755
7a270350
UD
29756 * time/time.h: TIME_UTC must be a macro.
29757 Make timespec_get available for ISO C11 only as well.
29758
7724defc
UD
297592012-02-24 Ulrich Drepper <drepper@gmail.com>
29760
29761 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29762 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29763
6b1d1d46
JM
297642012-02-24 Joseph Myers <joseph@codesourcery.com>
29765
29766 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29767
0f8bbd69
JM
297682012-02-24 Joseph Myers <joseph@codesourcery.com>
29769
29770 * manual/texinfo.tex: Update to version 2012-01-19.16.
29771
66ab80bc
JM
297722012-02-24 Joseph Myers <joseph@codesourcery.com>
29773
29774 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29775
74981cc5
RM
297762012-02-24 Roland McGrath <roland@hack.frob.com>
29777
ee968201
RM
29778 [BZ #13738]
29779 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29780 * manual/fdl-1.3.texi: New file.
29781 * manual/fdl-1.1.texi: File removed.
29782
74981cc5
RM
29783 [BZ #13738]
29784 * manual/libc.texinfo (FDL_VERSION): New @set.
29785 Use it for mention of FDL in cover text.
29786 (Documentation License): Use it in @include file name.
29787
7bb764bc
JM
297882012-02-22 Joseph Myers <joseph@codesourcery.com>
29789 Roland McGrath <roland@hack.frob.com>
29790
29791 [BZ #5461]
29792 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29793 not LONG_LONG_MAX and LONG_LONG_MIN.
29794 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29795 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29796 name.
29797 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29798
6cbeae47
JM
297992012-02-22 Joseph Myers <joseph@codesourcery.com>
29800
29801 [BZ #2547]
29802 [BZ #11365]
29803 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29804 manipulate bits before adding and subtracting TWO23[sx].
29805 * math/libm-test.inc (nearbyint_test): Add more tests.
29806
fe45ce09
JM
298072012-02-22 Joseph Myers <joseph@codesourcery.com>
29808
29809 [BZ #2548]
29810 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29811 bits before adding and subtracting TWO23[sx].
29812 * math/libm-test.inc (rint_test): Add more tests.
29813 (rint_test_tonearest): Likewise.
29814 (rint_test_towardzero): Likewise.
29815 (rint_test_downward): Likewise.
29816 (rint_test_upward: Likewise.
29817
ff3b3d82
JM
298182012-02-22 Joseph Myers <joseph@codesourcery.com>
29819
29820 [BZ #10110]
29821 * include/stdc-predef.h: New file. Extracted from features.h.
29822 * include/features.h: Include stdc-predef.h.
29823 * Makefile (headers): Add stdc-predef.h.
29824 * CONFORMANCE (Compiler limitations): Update.
29825
ef0aab35
JM
298262012-02-22 Joseph Myers <joseph@codesourcery.com>
29827
29828 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29829
58639409
DM
298302012-02-21 David S. Miller <davem@davemloft.net>
29831
29832 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29833 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29834
c0e70b25
DM
298352012-02-20 David S. Miller <davem@davemloft.net>
29836
29837 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29838 using a normal save/restore sequence, rather than allocating a
29839 dummy stack frame just to store a frame pointer and restore.
29840 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29841
fb06851d
JM
298422012-02-21 Joseph Myers <joseph@codesourcery.com>
29843
29844 * manual/install.texi: Fix stray word in line-wrapped comment.
29845
7a8b71c3
DM
298462012-02-20 David S. Miller <davem@davemloft.net>
29847
d510c123
DM
29848 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29849 both binutils and gcc support GOTDATA.
29850
0722d7c2
DM
29851 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29852 "rd %pc" in the PIC register setup sequences.
29853
3d2b3019
DM
29854 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29855 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29856 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29857 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29858 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29859 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29861 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29863 (SYSCALL_ERROR_HANDLER): Likewise.
29864 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29865 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29867 (SYSCALL_ERROR_HANDLER): Likewise.
29868
c80098a9
DM
29869 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29870 (HAVE_GCC_GOTDATA): New.
29871 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29872 relocation support in both binutils and gcc.
29873 * sysdeps/sparc/elf/configure: Regenerate.
29874
3a2545a0
DM
29875 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29876 * sysdeps/sparc/sparc32/elf/configure: Delete.
29877 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29878 * sysdeps/sparc/sparc64/elf/configure: Delete.
29879 * sysdeps/sparc/elf/configure.in: New file.
29880 * sysdeps/sparc/elf/configure: Generate.
29881
7a8b71c3
DM
29882 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29883 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29884 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29885 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29886 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29887
f1e86fca
JM
298882012-02-21 Joseph Myers <joseph@codesourcery.com>
29889
29890 * manual/install.texi: Do not mention specific glibc version
29891 numbers.
29892 * manual/libc.texinfo (VERSION, UPDATED): Update.
29893 (@copying): Use @copyright{} and range of years.
29894
0e7dfaef
JM
298952012-02-21 Joseph Myers <joseph@codesourcery.com>
29896
29897 [BZ #13695]
29898 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29899 [crti.S not in sysdirs] (generated): Do not append.
29900 [crti.S not in sysdirs] (omit-deps): Likewise.
29901 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29902 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29903 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29904 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29905 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29906 Likewise.
29907 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29908 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29909 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29910 * csu/defs.awk: Remove file.
29911 * sysdeps/generic/initfini.c: Likewise.
29912 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29913 variable.
29914 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29915 Likewise.
29916
599af3ca
JM
299172012-02-20 Joseph Myers <joseph@codesourcery.com>
29918
29919 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29920 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29921 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29922 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29923 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29924 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29925 <bits/epoll.h>.
29926 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29927 (__EPOLL_PACKED): Define to empty if not defined by
29928 <bits/epoll.h>.
29929 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29931 bits/epoll.h.
29932
0e499750
JM
299332012-02-20 Joseph Myers <joseph@codesourcery.com>
29934
29935 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29936 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29937 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29938 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29939 <bits/timerfd.h>.
29940 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29942 bits/timerfd.h.
29943
5ad91f6e
JM
299442012-02-20 Joseph Myers <joseph@codesourcery.com>
29945
29946 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29947 in C locale.
29948 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29949 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29950 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29952
06b99b02
AJ
299532012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29954
29955 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29956 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29957
7638c0fd
AS
299582012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29959
29960 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29961 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29962 defined.
29963 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29964 Likewise.
29965 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29966 entry for 2.16.
29967
92221550
AJ
299682012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29969
29970 * math/w_acos.c: Use non-signaling floating-point comparisons.
29971 * math/w_acosf.c: Likewise.
29972 * math/w_acosh.c: Likewise.
29973 * math/w_acoshf.c: Likewise.
29974 * math/w_acoshl.c: Likewise.
29975 * math/w_acosl.c: Likewise.
29976 * math/w_asin.c: Likewise.
29977 * math/w_asinf.c: Likewise.
29978 * math/w_asinl.c: Likewise.
29979 * math/w_atanh.c: Likewise.
29980 * math/w_atanhf.c: Likewise.
29981 * math/w_atanhl.c: Likewise.
29982 * math/w_exp2.c: Likewise.
29983 * math/w_exp2f.c: Likewise.
29984 * math/w_exp2l.c: Likewise.
29985 * math/w_j0.c: Likewise.
29986 * math/w_j0f.c: Likewise.
29987 * math/w_j0l.c: Likewise.
29988 * math/w_j1.c: Likewise.
29989 * math/w_j1f.c: Likewise.
29990 * math/w_j1l.c: Likewise.
29991 * math/w_jn.c: Likewise.
29992 * math/w_jnf.c: Likewise.
29993 * math/w_log.c: Likewise.
29994 * math/w_log10.c: Likewise.
29995 * math/w_log10f.c: Likewise.
29996 * math/w_log10l.c: Likewise.
29997 * math/w_log2.c: Likewise.
29998 * math/w_log2f.c: Likewise.
29999 * math/w_log2l.c: Likewise.
30000 * math/w_logf.c: Likewise.
30001 * math/w_logl.c: Likewise.
30002 * math/w_sqrt.c: Likewise.
30003 * math/w_sqrtf.c: Likewise.
30004 * math/w_sqrtl.c: Likewise.
30005 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30006 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30007 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30008 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30009 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30010
ebaf36eb
JM
300112012-02-19 Joseph Myers <joseph@codesourcery.com>
30012
30013 [BZ #9739]
30014 * manual/string.texi (strnlen): Use correct parameter name in
30015 equivalent expression.
30016
71c254a6
JM
300172012-02-19 Joseph Myers <joseph@codesourcery.com>
30018
30019 [BZ #11174]
30020 * manual/users.texi (seteuid): Consistently use neweuid for
30021 argument name.
30022
16d2c631
JM
300232012-02-19 Joseph Myers <joseph@codesourcery.com>
30024
30025 [BZ #13704]
30026 * manual/nss.texi (Services in the NSS configuration): Correct
30027 list of services in example configuration file.
30028
cd837b09
NB
300292012-02-19 Nick Bowler <nbowler@draconx.ca>
30030
30031 [BZ #11322]
30032 * manual/arith.texi: Remove statements about negative zero
30033 behaving identically to zero.
30034
02c4bbad
JM
300352012-02-18 Joseph Myers <joseph@codesourcery.com>
30036
30037 [BZ #5993]
30038 * manual/install.texi: Do not document upgrading from libc5.
30039
366842e7
JM
300402012-02-18 Joseph Myers <joseph@codesourcery.com>
30041
30042 [BZ #4596]
30043 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30044
dd54084d
DM
300452012-02-18 David S. Miller <davem@davemloft.net>
30046
30047 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30048 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30049 %o7 across the call.
30050 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30051 instead.
30052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30053 SETUP_PIC_REG_LEAF.
30054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30055 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30056 * sysdeps/sparc/crtn.S: Likewise.
30057
2bcc53a3
UD
300582012-02-17 Ulrich Drepper <drepper@gmail.com>
30059
30060 * aout/Makefile: Remove.
30061
09c093b5
RK
300622012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30063
30064 [BZ #13058]
30065 * manual/examples/argp-ex1.c (main): Format definition in GNU
30066 style.
30067 * manual/examples/argp-ex2.c (main): Likewise.
30068 * manual/examples/argp-ex3.c (main): Likewise.
30069 * manual/examples/argp-ex4.c (main): Likewise.
30070 * manual/examples/longopt.c (main): Use new-style prototype
30071 definition.
30072 * manual/examples/strncat.c (main): Specify return type and use
30073 (void) for arguments.
30074 * manual/examples/subopt.c (main): Use char **argv argument.
30075
2ee633a2
JM
300762012-02-17 Joseph Myers <joseph@codesourcery.com>
30077
30078 [BZ #5077]
30079 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30080 rounding modes.
30081
0520adde
FB
300822012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30083
30084 [BZ #6907]
30085 * manual/string.texi (strchr): Change when strchrnul is
30086 recommended.
30087
3f4081cd
DGM
300882012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30089
30090 [BZ #174]
30091 * manual/locale.texi (setlocale): Document LOCPATH.
30092
d1b10e78
JM
300932012-02-17 Joseph Myers <joseph@codesourcery.com>
30094
30095 [BZ #10210]
30096 * manual/process.texi (execle): Move @dots{} before last argument.
30097
79c6869c
PB
300982012-02-17 Paul Bolle <pebolle@tiscali.nl>
30099
30100 [BZ #12047]
30101 * manual/charset.texi (Generic Charset Conversion): Fix typo
30102 (LC_TYPE -> LC_CTYPE).
30103
cc6e48bc
NB
301042012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30105
30106 [BZ #5805]
30107 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30108 (scalbnf): Likewise.
30109 (scalbnl): Likewise.
30110 (scalbln): Likewise.
30111 (scalblnf): Likewise.
30112 (scalblnl): Likewise.
30113 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30114 (vwarnx): Likewise.
30115 (verr): Likewise.
30116 (verrx): Likewise.
30117 * manual/filesys.texi (telldir): Use braces around return type.
30118 * manual/llio.texi (mmap): Add space after comma.
30119 (mmap64): Likewise.
30120 * manual/math.texi (jn): Use @var{} on parameter names.
30121 (jnf): Likewise.
30122 (jnl): Likewise.
30123 (yn): Likewise.
30124 (ynf): Likewise.
30125 (ynl): Likewise.
30126 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30127 line.
30128 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30129 "...".
30130 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30131 (sched_get_priority_max): Likewise.
30132 * manual/signal.texi (sigvec): Add space after comma.
30133 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30134 names.
30135 (if_indextoname): Likewise.
30136 (if_freenameindex): Likewise.
30137 (sendto): Use ',' instead of '.' in prototype.
30138 * manual/startup.texi (syscall): Use @dots{} instead of literal
30139 "...".
30140 * manual/stdio.texi (__fpending): Separate initial words of
30141 paragraph from @deftypefun line.
30142 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30143 "...".
30144 (vsyslog): Use @var{} on parameter names.
30145 * manual/terminal.texi (stty): Use @var{} on parameter names.
30146 * manual/users.texi (getutmp): Use @var{} on parameter names.
30147 (getutmpx): Likewise.
30148
5b23062f
JM
301492012-02-17 Joseph Myers <joseph@codesourcery.com>
30150
30151 [BZ #6884]
30152 * manual/stdio.texi (fopen): Fix typos in description of
30153 ",ccs=STRING".
30154
8dee4833
AJ
301552012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30156
30157 [BZ #4026]
30158 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30159 get clock_id definition.
30160
9078ce93
TS
301612012-02-17 Thomas Schwinge <thomas@schwinge.name>
30162
30163 [BZ #4822]
30164 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30165 (madvise): Cast every argument to void on its own.
30166
3835c55f
JM
301672012-02-17 Joseph Myers <joseph@codesourcery.com>
30168
30169 [BZ #9902]
30170 * manual/startup.texi (Exit Status): Fix typo.
30171
35c47e37
JM
301722012-02-17 Joseph Myers <joseph@codesourcery.com>
30173
30174 [BZ #10140]
30175 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30176 * manual/examples/argp-ex2.c: Likewise.
30177 * manual/examples/argp-ex3.c: Likewise.
30178
e3b69ca7
RH
301792012-02-16 Richard Henderson <rth@redhat.com>
30180
30181 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30182 * sysdeps/s390/s390-32/initfini.c: Remove.
30183 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30184 * sysdeps/s390/s390-64/initfini.c: Remove.
30185
df83af67
KK
301862012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30187
30188 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30189 compiler output for sysdeps/generic/initfini.c.
30190 * sysdeps/sh/elf/initfini.c: Remove file.
30191
f63f3380
DM
301922012-02-16 David S. Miller <davem@davemloft.net>
30193
fb59b3a4
DM
30194 [BZ #11494]
30195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30196
f63f3380
DM
30197 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30198 * sysdeps/sparc/crti.S: New file.
30199 * sysdeps/sparc/crtn.S: New file.
30200 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30201 * sysdeps/sparc/sparc64/Makefile: Likewise.
30202
df6a4a4a
MF
302032012-02-15 Mike Frysinger <vapier@gentoo.org>
30204
6dd8f3dc 30205 [BZ #3335]
df6a4a4a
MF
30206 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30207
1cac7236
RM
302082012-02-15 Roland McGrath <roland@hack.frob.com>
30209
d2c736f8
RM
30210 [BZ #4822]
30211 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30212
1cac7236
RM
30213 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30214 (write, read, close): Likewise.
30215 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30216
8e475601
JM
302172012-02-15 Joseph Myers <joseph@codesourcery.com>
30218
30219 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30220 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30221 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30222 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30223 <bits/signalfd.h>.
30224 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30226 bits/signalfd.h.
30227
ed656b40
MP
302282012-02-14 Marek Polacek <polacek@redhat.com>
30229
30230 * sysdeps/x86_64/crti.S: New file.
30231 * sysdeps/x86_64/crtn.S: New file.
30232 * sysdeps/x86_64/elf/initfini.c: Remove file.
30233
2a979d3a
JM
302342012-02-13 Joseph Myers <joseph@codesourcery.com>
30235
30236 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30237 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30238 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30239 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30240 <bits/inotify.h>.
30241 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30243 bits/inotify.h.
30244
2a418ac3
JM
302452012-02-13 Joseph Myers <joseph@codesourcery.com>
30246
30247 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30248 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30249 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30250 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30251 <bits/eventfd.h>.
30252 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30254 bits/eventfd.h.
30255
fb779be7
TS
302562012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30257
e19e83c5
RM
30258 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30259 __feraiseexcept instead of feraiseexcept.
7c35ffed 30260
fb779be7
TS
30261 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30262 nanosleep invocations.
30263 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30264 strings, and add error checking for a nanosleep invocations.
30265
59ba27a6
PE
302662012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30267
30268 Replace FSF snail mail address with URLs, as per GNU coding standards.
30269 Most of the snail mail addresses were wrong anyway, and omitting
30270 them makes the source code easier to maintain. Almost all of the
30271 changes are to license notices and to locale LC_IDENTIFICATION
30272 addresses, except for this one:
30273 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30274 not its snail mail address.
30275
57b957eb
RH
302762012-02-09 Richard Henderson <rth@twiddle.net>
30277
af850b1c
RH
30278 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30279 of kernel-features.h.
30280
57b957eb
RH
30281 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30282
6b73181a
MP
302832012-02-08 Marek Polacek <polacek@redhat.com>
30284
30285 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30286 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30287 * sysdeps/gnu/_G_config.h: Likewise.
30288 * sysdeps/generic/_G_config.h: Likewise.
30289
26ecc33a
AS
302902012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30291
6c6dbc63
AS
30292 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30293 tests.
30294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30295
e216c012
AS
30296 * sysdeps/powerpc/powerpc32/crti.S: New file.
30297 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30298 * sysdeps/powerpc/powerpc64/crti.S: New file.
30299 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30300
26ecc33a
AS
30301 * Makeconfig (have-initfini): Don't set.
30302 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30303 * configure.in (nopic_initfini): Don't substitute.
30304 * config.h.in (HAVE_INITFINI): Don't #undef.
30305 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30306 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30307
3add8e13
JM
303082012-02-08 Joseph Myers <joseph@codesourcery.com>
30309
30310 Support crti.S and crtn.S provided directly by architectures.
30311 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30312 [crti.S in sysdirs] (omit-deps): Likewise.
30313 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30314 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30315 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30316 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30317 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30318 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30319 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30320 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30321 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30322 compiler output for sysdeps/generic/initfini.c.
30323 * sysdeps/i386/elf/Makefile: Remove file.
30324 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30325
a22f12b4
MP
303262012-02-07 Marek Polacek <polacek@redhat.com>
30327
30328 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30329 * sysdeps/gnu/_G_config.h: Likewise.
30330 * sysdeps/mach/hurd/_G_config.h: Likewise.
30331
148cf100
MP
303322012-02-07 Marek Polacek <polacek@redhat.com>
30333
30334 * math/Makefile (tests): Add tst-CMPLX2.
30335 * math/tst-CMPLX2.c: New file.
30336
cfdc0dd7
AS
303372012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30338
84ba42c4
AS
30339 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30340
cfdc0dd7
AS
30341 * math/libm-test.inc (jn_test): Add missing L suffix.
30342
622c86f4
MP
303432012-02-06 Marek Polacek <polacek@redhat.com>
30344
30345 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30346 * sysdeps/i386/fpu/e_powf.S: Likewise.
30347 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30348 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30349 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30350 * sysdeps/i386/fpu/e_pow.S: Likewise.
30351 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30352 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30353 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30354 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30355 * sysdeps/i386/fpu/e_log2.S: Likewise.
30356 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30357 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30358 * sysdeps/i386/fpu/e_powl.S: Likewise.
30359 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30360 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30361 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30362 * sysdeps/i386/fpu/e_logl.S: Likewise.
30363 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30364 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30365 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30366 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30367 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30368 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30369 * sysdeps/i386/fpu/e_log.S: Likewise.
30370 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30372 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30373 * sysdeps/i386/fpu/e_logf.S: Likewise.
30374 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30375 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30376 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30377 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30378 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30379 * sysdeps/i386/fpu/e_log10.S: Likewise.
30380 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30381 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30382 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30383 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30384 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30385 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30386 * sysdeps/i386/asm-syntax.h: Likewise.
30387 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30388 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30389 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30390 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30391 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30392 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30393 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30394 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30395 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30396 * sysdeps/powerpc/sysdep.h: Likewise.
30397 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30398 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30399
d4a54ac6
JM
304002012-02-06 Joseph Myers <joseph@codesourcery.com>
30401
30402 [BZ #411]
30403 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30404
314054ea
JM
304052012-02-06 Joseph Myers <joseph@codesourcery.com>
30406
30407 * sysdeps/i386/sysdep.h: Include <features.h>.
30408 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30409 version.
30410
d8e0ca50
JM
304112012-02-05 Joseph Myers <joseph@codesourcery.com>
30412
30413 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30414 Define.
30415 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30416 LOAD_PIC_REG_STR.
30417
b1da7dd9
JM
304182012-02-03 Joseph Myers <joseph@codesourcery.com>
30419
30420 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30421 (SETUP_PIC_REG): Use GET_PC_THUNK.
30422 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30423 macro.
30424
9a1d9254
JM
304252012-02-03 Joseph Myers <joseph@codesourcery.com>
30426
30427 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30428 for non-PIC compilation.
30429 (SETUP_PIC_REG): Add .p2align directive.
30430 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30431 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30432 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30433 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30434 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30435 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30436 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30437 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30438 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30439 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30440 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30441 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30442 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30443 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30444 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30445 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30446 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30447 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30448 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30449 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30450 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30451 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30452 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30453 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30454 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30456 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30457 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30458 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30459 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30460 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30461 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30462 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30463 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30464 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30465 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30466 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30467 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30468 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30469 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30470 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30471
65dc3b75
JM
304722012-02-03 Joseph Myers <joseph@codesourcery.com>
30473
30474 * math/tst-CMPLX.c: Include <stdio.h>.
30475
d55bf177
JM
304762012-01-31 Joseph Myers <joseph@codesourcery.com>
30477
30478 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30479 float.
30480 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30481 * sysdeps/sparc/bits/mathdef.h: Likewise.
30482
69db4f8f
MP
304832012-01-31 Marek Polacek <polacek@redhat.com>
30484
30485 * libio/libio.h: Don't define _PARAMS.
30486 * locale/programs/config.h: Don't define PARAMS.
30487 * stdlib/strtol_l.c: Likewise.
30488 (__strtol_l): Remove PARAMS from the prototype.
30489
41b81892
UD
304902012-01-31 Ulrich Drepper <drepper@gmail.com>
30491
3b49edc0
UD
30492 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30493 names. Just use the correct names. Remove unnecessary wrapper
30494 functions.
30495 * malloc/arena.c: Likewise.
30496 * malloc/hooks.c: Likewise.
30497
41b81892
UD
30498 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30499 ARENA_TEST says not to. Simplify test for creation of a new arena.
30500 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30501
27a25b6e
UD
305022012-01-30 Ulrich Drepper <drepper@gmail.com>
30503
30504 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30505 into tail calls.
30506 (update_get_addr): New function.
30507 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30508 GET_ADDR_MODULE parameter.
30509
c8a89e7d
JM
305102012-01-30 Joseph Myers <joseph@codesourcery.com>
30511
30512 * crypt/cert.c: Remove __STDC__ conditionals.
30513 * crypt/crypt-entry.c: Likewise.
30514 * crypt/crypt_util.c: Likewise.
30515 * libio/filedoalloc.c: Likewise.
30516 * libio/fileops.c: Likewise.
30517 * libio/genops.c: Likewise.
30518 * libio/iofclose.c: Likewise.
30519 * libio/iofdopen.c: Likewise.
30520 * libio/iofopen.c: Likewise.
30521 * libio/iofopen64.c: Likewise.
30522 * libio/iogetdelim.c: Likewise.
30523 * libio/iopopen.c: Likewise.
30524 * libio/obprintf.c: Likewise.
30525 * libio/oldfileops.c: Likewise.
30526 * libio/oldiofclose.c: Likewise.
30527 * libio/oldiofdopen.c: Likewise.
30528 * libio/oldiofopen.c: Likewise.
30529 * libio/oldiopopen.c: Likewise.
30530 * libio/wfiledoalloc.c: Likewise.
30531 * libio/wgenops.c: Likewise.
30532 * locale/programs/xmalloc.c: Likewise.
30533 * misc/syslog.c: Likewise.
30534 * stdio-common/xbug.c: Likewise.
30535 * string/memchr.c: Likewise.
30536 * string/memcmp.c: Likewise.
30537 * string/memrchr.c: Likewise.
30538 * string/rawmemchr.c: Likewise.
30539 * sysdeps/posix/getcwd.c: Likewise.
30540 * time/strftime_l.c: Likewise.
30541
3b100462
JM
305422012-01-30 Joseph Myers <joseph@codesourcery.com>
30543
30544 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30545 * config.make.in (config-cflags-sse2avx): Define.
30546 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30547 Fix typo.
30548
607998af
CM
305492012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30550
30551 * scripts/config.guess: Update from upstream config git repository.
30552 * scripts/config.sub: Likewise.
30553
3601428f
CM
305542012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30555
3ac8b282
CM
30556 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30557 (EM_NUM): Update.
30558 (R_TILEPRO_*, R_TILEGX_*): New macros.
30559
e034841e
CM
30560 * scripts/firstversions.awk: Fix bug in version range handling.
30561
540d7568
CM
30562 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30563
3601428f
CM
30564 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30565
463de862
CM
30566 * include/sys/epoll.h: New file.
30567 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30568 libc_hidden_def.
30569
73139a76
UD
305702012-01-28 Ulrich Drepper <drepper@gmail.com>
30571
96bc5b45
UD
30572 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30573 Avoid unnecessary __WORDSIZE == 64 test.
30574 (fmaxf): Use VEX format if possible.
30575 (fmax): Likewise.
30576 (fminf): Likewise.
30577 (fmin): Likewise.
30578
56f6f6a2
UD
30579 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30580 * math/math_private.h: Remove libc_fegetround* and
30581 libc_fesetround*.
30582 * sysdeps/i386/configure.in: Check for -msse2avx.
30583 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30584 also if SSE2AVX is defined.
30585 Remove libc_fegetround* and libc_fesetround*.
30586 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30587 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30588 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30589 of HAS_YMM_USABLE.
30590 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30591 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30592 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30593 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30594 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30595
73139a76
UD
30596 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30597
d73f93a4
AZ
305982012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30599
30600 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30601 size is not set.
30602 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30603
6ee65ed6
UD
306042012-01-27 Ulrich Drepper <drepper@gmail.com>
30605
30606 [BZ #13618]
30607 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30608 relocation.
30609 * Makeconfig (libm): Define.
30610 * elf/Makefile: Add rules to build and run tst-relsort1.
30611 * elf/tst-relsort1.c: New file.
30612 * elf/tst-relsort1mod1.c: New file.
30613 * elf/tst-relsort1mod2.c: New file.
30614
8db21882
JM
306152012-01-27 Joseph Myers <joseph@codesourcery.com>
30616
30617 * math/s_ldexp.c: Remove __STDC__ conditionals.
30618 * math/s_ldexpf.c: Likewise.
30619 * math/s_ldexpl.c: Likewise.
30620 * math/s_nextafter.c: Likewise.
30621 * math/s_nexttowardf.c: Likewise.
30622 * math/s_significand.c: Likewise.
30623 * math/s_significandf.c: Likewise.
30624 * math/s_significandl.c: Likewise.
30625 * math/w_jnl.c: Likewise.
30626 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30627 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30628 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30629 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30630 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30645 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30646 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30647 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30648 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30649 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30650 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30651 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30652 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30653 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30654 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30655 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30656 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30657 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30658 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30659 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30660 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30661 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30662 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30663 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30664 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30665 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30666 * sysdeps/ieee754/k_standard.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30671 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30728 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30729 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30731 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30733 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30737 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30741 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30742 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30746 * sysdeps/ieee754/s_matherr.c: Likewise.
30747 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30748 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30751
965a54a4
JM
307522012-01-26 Joseph Myers <joseph@codesourcery.com>
30753
30754 * crypt/md5.h: Remove __STDC__ conditionals.
30755 * libio/libioP.h: Likewise.
30756 * locale/programs/config.h: Likewise.
30757 * sysdeps/generic/sysdep.h: Likewise.
30758 * sysdeps/i386/asm-syntax.h: Likewise.
30759 * sysdeps/s390/asm-syntax.h: Likewise.
30760 * sysdeps/unix/sysdep.h: Likewise.
30761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30763
7071ad79
JM
307642012-01-26 Joseph Myers <joseph@codesourcery.com>
30765
30766 * libio/libio.h: Remove __STDC__ conditionals.
30767 * malloc/obstack.h: Likewise.
30768 * math/complex.h: Likewise.
30769 * math/math.h: Likewise.
30770 * sysdeps/generic/_G_config.h: Likewise.
30771 * sysdeps/gnu/_G_config.h: Likewise.
30772 * sysdeps/mach/hurd/_G_config.h: Likewise.
30773 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30774 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30775 * sysdeps/sparc/bits/mathdef.h: Likewise.
30776
afc5ed09
UD
307772012-01-26 Ulrich Drepper <drepper@gmail.com>
30778
30779 [BZ #13583]
30780 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30781 Clean up HAS_* macros.
afc5ed09 30782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30783 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30784 possible.
30785 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30786 HAS_AVX.
30787 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30788 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30789 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30790 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30791 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30792
bdb6de1d
JM
307932012-01-25 Joseph Myers <joseph@codesourcery.com>
30794
30795 * elf/tst-unique3.cc (gets): Remove declaration.
30796 * elf/tst-unique3lib.cc (gets): Likewise.
30797 * elf/tst-unique3lib2.cc (gets): Likewise.
30798 * elf/tst-unique4.cc (gets): Likewise.
30799
b15549e6
UD
308002012-01-24 Ulrich Drepper <drepper@gmail.com>
30801
30802 * include/stdio.h: Add C++ protection. Add gets declarations and
30803 definitions.
30804 * debug/tst-chk1.c: Don't declare gets here.
30805 * stdio-common/tst-gets.c: Likewise.
30806
a037381f
JM
308072012-01-24 Joseph Myers <joseph@codesourcery.com>
30808
30809 * posix/glob: Remove directory.
30810
f1d4aa75
JM
308112012-01-24 Joseph Myers <joseph@codesourcery.com>
30812
30813 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30814
81c0c964
PT
308152012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30816
30817 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30818 of the non-standard EPFNOSUPPORT.
30819
0ea698ae
ST
308202011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30821
30822 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30823 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30824 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30825
d220b117
UD
308262012-01-21 Ulrich Drepper <drepper@gmail.com>
30827
30828 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30829
3e1aa84e
UD
308302012-01-20 Ulrich Drepper <drepper@gmail.com>
30831
30832 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30833 transient errors.
30834 * nscd/grpcache.c (cache_addgr): Likewise.
30835 * nscd/hstcache.c (cache_addhst): Likewise.
30836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30837 * nscd/pwdcache.c (cache_addpw): Likewise.
30838 * nscd/servicescache.c (cache_addserv): Likewise.
30839
400aa020
UD
308402012-01-16 Ulrich Drepper <drepper@gmail.com>
30841
d77e7869
UD
30842 * malloc/malloc.c: Various cleanups.
30843 * malloc/hooks.c: Likewise.
30844
400aa020
UD
30845 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30846 * stdlib/bug-fmtmsg1.c: New file.
30847
30848 * stdlib/fmtmsg.c (init): Add missing unlock.
30849 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30850
e0a309cf
MP
308512012-01-12 Marek Polacek <polacek@redhat.com>
30852
30853 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30854 and _GNU_SOURCE.
30855
929d11c7
WS
308562012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30857
30858 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30859 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30860 macro to ensure uniqueness of label name.
30861 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30862 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30863
41d0e869
UD
308642012-01-11 Ulrich Drepper <drepper@gmail.com>
30865
0cc5ed3b
UD
30866 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30867
41d0e869
UD
30868 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30869 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30870 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30872
a47a831a
UD
308732012-01-10 Ulrich Drepper <drepper@gmail.com>
30874
daa891c0
UD
30875 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30876
30877 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30878 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30879 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30880
e58ef0f2
UD
30881 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30882
a47a831a 30883 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30884 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30885 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30887
30888 * math/bits/math-finite.h: Add ldexp support.
30889
a0bfc9c7
MP
308902012-01-10 Marek Polacek <polacek@redhat.com>
30891
30892 * locale/programs/localedef.h (show_archive_content): Add noreturn
30893 attribute.
30894
d6e97a1d
UD
308952012-01-09 Ulrich Drepper <drepper@gmail.com>
30896
30897 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30898
d5835c26
UD
308992012-01-08 Ulrich Drepper <drepper@gmail.com>
30900
e5f484c6
UD
30901 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30902
d5835c26
UD
30903 * io/Makefile (headers): Add bits/poll2.h.
30904
d1f741e9
WS
309052011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30906
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30908 typo #include statement.
30909
ec09c1c4
UD
309102012-01-08 Ulrich Drepper <drepper@gmail.com>
30911
30912 * include/sys/cdefs.h: Define __attribute_alloc_size.
30913 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30914 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30915 * elf/pldd.c: Likewise.
30916 * iconv/iconv_charmap.c: Likewise.
30917 * iconv/iconvconfig.c: Likewise.
30918 * iconv/strtab.c: Likewise.
30919 * locale/programs/locale.c: Likewise.
30920 * locale/programs/localedef.h: Likewise.
30921 * locale/programs/simple-hash.c: Likewise.
30922 * nscd/nscd.h: Likewise.
30923 * nss/makedb.c: Likewise.
30924 * sysdeps/generic/ldconfig.h: Likewise.
30925 * locale/programs/localedef.c: Remove xmalloc prototype.
30926 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30927
20b38e03
PP
309282012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30929
30930 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30931 appropriate.
30932
a0da5fe1
UD
309332012-01-08 Ulrich Drepper <drepper@gmail.com>
30934
1d5a644a 30935 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30936 * math/tst-CMPLX.c: New file.
1d5a644a 30937
8784a6db
UD
30938 * math/complex.h (CMPLXL): Fix typo.
30939
d9a216c0
UD
30940 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30941 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30942 GLIBC_2.16.
30943 * debug/tst-chk1.c: Add poll and ppoll tests.
30944 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30945 * include/sys/poll.h: Add hidden proto for ppoll.
30946 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30947 * sysdeps/mach/hurd/ppoll.c: Likewise.
30948 * io/ppoll.c: Likewise.
30949 * debug/poll_chk.c: New file.
30950 * debug/ppoll_chk.c: New file.
30951 * include/bits/poll2.h: New file.
30952 * io/bits/poll2.h: New file.
30953
ac097f5c
UD
30954 [BZ #1350]
30955 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30956
2119dcfa
UD
30957 * configure.in: static is always set to yes. Remove.
30958 * config.make.in: Don't set build-static.
30959 * Makeconfig: Remove use of build-static.
30960 * dlfcn/Makefile: Likewise.
30961 * elf/Makefile: Likewise.
30962 * math/Makefile: Likewise.
30963 * misc/Makefile: Likewise.
30964 * nptl/Makefile: Likewise.
30965 * sysdeps/mach/hurd/Makefile: Likewise.
30966
121766a9
UD
30967 * configure.in: PWD_P is not used anymore.
30968 * config.make.in: Remove PWD_P entry.
30969
51a1d39c 30970 * configure.in: Remove last remnants of RANLIB.
8720d066 30971 No need to check for signed size_t anymore.
215f4bdc
UD
30972 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30973 and IA-64.
3857022a 30974 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30975 * aclocal.m4: Likewise.
30976
d3ed7225
UD
30977 * wcsmbs/mbrtoc16.c: Implement using towc function.
30978 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30979 * wcsmbs/wcsmbsload.c: Likewise.
30980 * iconv/gconv_simple.c: Likewise.
30981 * iconv/gconv_int.h: Likewise.
30982 * iconv/gconv_builtin.h: Likewise.
30983 * iconv/iconv_prog.c: Remove CHAR16 handling.
30984
30985 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30986
30987 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30988
a0da5fe1
UD
30989 * configure.in: Remove --with-elf and --enable-bounded options.
30990 Dont set base_machine for ia64. More non-ELF conditions removed.
30991 Remove testing and setting of leading underscore information.
30992 * config.make.in (build-bounded): Set to no.
30993 * config.h.in: Remove NO_UNDERSCORES entry.
30994 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30995 them.
30996 * csu/start.c: Remove !NO_UNDERSCORE code.
30997 * locale/localeinfo.h: Likewise.
30998 * sysdeps/generic/machine-gmon.h: Likewise.
30999 * sysdeps/generic/sysdep.h: Likewise.
31000 * sysdeps/i386/sysdep.h: Likewise.
31001 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31002 * sysdeps/mach/sysdep.h: Likewise.
31003 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31004 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31005 * sysdeps/sh/sysdep.h: Likewise.
31006 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31007 * sysdeps/unix/i386/sysdep.S: Likewise.
31008 * sysdeps/unix/sparc/start.c: Likewise.
31009 * sysdeps/unix/sparc/sysdep.S: Likewise.
31010 * sysdeps/unix/sparc/sysdep.h: Likewise.
31011 * sysdeps/unix/start.c: Likewise.
31012 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31013 * sysdeps/x86_64/sysdep.h: Likewise.
31014
df78418a
UD
310152012-01-07 Ulrich Drepper <drepper@gmail.com>
31016
a784e502
UD
31017 [BZ #13553]
31018 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31019 for non-gcc.
31020 * argp/argp-fmtstream.h: Use const instead __const.
31021 * argp/argp.h: Likewise.
31022 * assert/assert.h: Likewise.
31023 * bits/fenv.h: Likewise.
31024 * bits/sched.h: Likewise.
31025 * bits/sigset.h: Likewise.
31026 * bits/sigthread.h: Likewise.
31027 * catgets/nl_types.h: Likewise.
31028 * conform/data/pthread.h-data: Likewise.
31029 * crypt/crypt-private.h: Likewise.
31030 * crypt/crypt.h: Likewise.
31031 * crypt/crypt_util.c: Likewise.
31032 * ctype/ctype.h: Likewise.
31033 * debug/execinfo.h: Likewise.
31034 * debug/mbsnrtowcs_chk.c: Likewise.
31035 * debug/mbsrtowcs_chk.c: Likewise.
31036 * debug/wcsnrtombs_chk.c: Likewise.
31037 * debug/wcsrtombs_chk.c: Likewise.
31038 * debug/wcstombs_chk.c: Likewise.
31039 * dirent/dirent.h: Likewise.
31040 * dlfcn/dlfcn.h: Likewise.
31041 * elf/neededtest4.c: Likewise.
31042 * grp/grp.h: Likewise.
31043 * gshadow/gshadow.h: Likewise.
31044 * iconv/gconv.h: Likewise.
31045 * iconv/gconv_int.h: Likewise.
31046 * iconv/gconv_simple.c: Likewise.
31047 * iconv/iconv.h: Likewise.
31048 * iconv/loop.c: Likewise.
31049 * iconv/skeleton.c: Likewise.
31050 * include/aio.h: Likewise.
31051 * include/aliases.h: Likewise.
31052 * include/argz.h: Likewise.
31053 * include/arpa/inet.h: Likewise.
31054 * include/assert.h: Likewise.
31055 * include/dirent.h: Likewise.
31056 * include/dlfcn.h: Likewise.
31057 * include/execinfo.h: Likewise.
31058 * include/fcntl.h: Likewise.
31059 * include/fenv.h: Likewise.
31060 * include/glob.h: Likewise.
31061 * include/grp.h: Likewise.
31062 * include/libintl.h: Likewise.
31063 * include/mntent.h: Likewise.
31064 * include/netdb.h: Likewise.
31065 * include/pwd.h: Likewise.
31066 * include/rpc/netdb.h: Likewise.
31067 * include/sched.h: Likewise.
31068 * include/search.h: Likewise.
31069 * include/shadow.h: Likewise.
31070 * include/signal.h: Likewise.
31071 * include/stdio.h: Likewise.
31072 * include/stdlib.h: Likewise.
31073 * include/string.h: Likewise.
31074 * include/sys/socket.h: Likewise.
31075 * include/sys/stat.h: Likewise.
31076 * include/sys/statfs.h: Likewise.
31077 * include/sys/statvfs.h: Likewise.
31078 * include/sys/syslog.h: Likewise.
31079 * include/sys/time.h: Likewise.
31080 * include/sys/uio.h: Likewise.
31081 * include/time.h: Likewise.
31082 * include/unistd.h: Likewise.
31083 * include/utmp.h: Likewise.
31084 * include/wchar.h: Likewise.
31085 * include/wctype.h: Likewise.
31086 * inet/aliases.h: Likewise.
31087 * inet/arpa/inet.h: Likewise.
31088 * inet/netinet/ether.h: Likewise.
31089 * inet/netinet/in.h: Likewise.
31090 * intl/libintl.h: Likewise.
31091 * io/bits/fcntl2.h: Likewise.
31092 * io/fcntl.h: Likewise.
31093 * io/ftw.h: Likewise.
31094 * io/sys/poll.h: Likewise.
31095 * io/sys/stat.h: Likewise.
31096 * io/sys/statfs.h: Likewise.
31097 * io/sys/statvfs.h: Likewise.
31098 * io/utime.h: Likewise.
31099 * libio/bits/stdio.h: Likewise.
31100 * libio/bits/stdio2.h: Likewise.
31101 * libio/libio.h: Likewise.
31102 * libio/libioP.h: Likewise.
31103 * libio/stdio.h: Likewise.
31104 * locale/lc-ctype.c: Likewise.
31105 * locale/locale.h: Likewise.
31106 * login/utmp.h: Likewise.
31107 * malloc/arena.c: Likewise.
31108 * malloc/malloc.c: Likewise.
31109 * malloc/malloc.h: Likewise.
31110 * malloc/mcheck.c: Likewise.
31111 * malloc/mtrace.c: Likewise.
31112 * math/bits/mathcalls.h: Likewise.
31113 * math/fenv.h: Likewise.
31114 * math/math_private.h: Likewise.
31115 * misc/bits/error.h: Likewise.
31116 * misc/bits/syslog.h: Likewise.
31117 * misc/err.h: Likewise.
31118 * misc/error.h: Likewise.
31119 * misc/fstab.h: Likewise.
31120 * misc/mntent.h: Likewise.
31121 * misc/regexp.h: Likewise.
31122 * misc/search.h: Likewise.
31123 * misc/sgtty.h: Likewise.
31124 * misc/sys/mman.h: Likewise.
31125 * misc/sys/syslog.h: Likewise.
31126 * misc/sys/uio.h: Likewise.
31127 * misc/sys/xattr.h: Likewise.
31128 * misc/ttyent.h: Likewise.
31129 * nis/rpcsvc/ypclnt.h: Likewise.
31130 * nss/nss.h: Likewise.
31131 * posix/bits/unistd.h: Likewise.
31132 * posix/fnmatch.h: Likewise.
31133 * posix/glob.h: Likewise.
31134 * posix/sched.h: Likewise.
31135 * posix/spawn.h: Likewise.
31136 * posix/sys/wait.h: Likewise.
31137 * posix/unistd.h: Likewise.
31138 * posix/wordexp.h: Likewise.
31139 * pwd/pwd.h: Likewise.
31140 * resolv/netdb.h: Likewise.
31141 * resource/sys/resource.h: Likewise.
31142 * rt/aio.h: Likewise.
31143 * rt/bits/mqueue2.h: Likewise.
31144 * rt/mqueue.h: Likewise.
31145 * shadow/shadow.h: Likewise.
31146 * signal/signal.h: Likewise.
31147 * socket/send.c: Likewise.
31148 * socket/sendto.c: Likewise.
31149 * socket/sys/socket.h: Likewise.
31150 * stdio-common/printf.h: Likewise.
31151 * stdlib/bits/stdlib.h: Likewise.
31152 * stdlib/fmtmsg.h: Likewise.
31153 * stdlib/monetary.h: Likewise.
31154 * stdlib/stdlib.h: Likewise.
31155 * stdlib/ucontext.h: Likewise.
31156 * streams/stropts.h: Likewise.
31157 * string/argz.h: Likewise.
31158 * string/bits/string2.h: Likewise.
31159 * string/string.h: Likewise.
31160 * string/strings.h: Likewise.
31161 * sunrpc/rpc/auth.h: Likewise.
31162 * sunrpc/rpc/auth_des.h: Likewise.
31163 * sunrpc/rpc/clnt.h: Likewise.
31164 * sunrpc/rpc/netdb.h: Likewise.
31165 * sunrpc/rpc/pmap_clnt.h: Likewise.
31166 * sunrpc/rpc/xdr.h: Likewise.
31167 * sysdeps/generic/inttypes.h: Likewise.
31168 * sysdeps/generic/net/if.h: Likewise.
31169 * sysdeps/generic/sys/swap.h: Likewise.
31170 * sysdeps/gnu/net/if.h: Likewise.
31171 * sysdeps/gnu/utmpx.h: Likewise.
31172 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31173 * sysdeps/i386/i486/bits/string.h: Likewise.
31174 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31175 * sysdeps/s390/bits/string.h: Likewise.
31176 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31177 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31178 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31179 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31180 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31181 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31182 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31183 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31184 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31185 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31186 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31187 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31188 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31189 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31190 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31191 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31192 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31194 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31195 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31197 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31198 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31199 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31200 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31201 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31202 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31203 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31204 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31205 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31206 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31207 * sysvipc/sys/ipc.h: Likewise.
31208 * sysvipc/sys/msg.h: Likewise.
31209 * sysvipc/sys/sem.h: Likewise.
31210 * sysvipc/sys/shm.h: Likewise.
31211 * termios/termios.h: Likewise.
31212 * time/sys/time.h: Likewise.
31213 * time/time.h: Likewise.
31214 * wcsmbs/bits/wchar2.h: Likewise.
31215 * wcsmbs/uchar.h: Likewise.
31216 * wcsmbs/wchar.h: Likewise.
31217 * wctype/wctype.h: Likewise.
31218
0269750c
UD
31219 [BZ #13551]
31220 * Makeconfig: Remove all but ELF support including AIX support.
31221 * Makerules: Likewise.
31222 * config.h.in: Likewise.
31223 * config.make.in: Likewise.
31224 * configure: Likewise.
31225 * configure.in: Likewise.
31226 * csu/Makefile: Likewise.
31227 * csu/version.c: Likewise.
31228 * debug/Makefile: Likewise.
31229 * dlfcn/Makefile: Likewise.
31230 * elf/Makefile: Likewise.
31231 * extra-lib.mk: Likewise.
31232 * iconv/Makefile: Likewise.
31233 * include/libc-symbols.h: Likewise.
31234 * include/shlib-compat.h: Likewise.
31235 * resolv/Makefile: Likewise.
31236 * resolv/res_libc.c: Likewise.
31237 * rt/Makefile: Likewise.
31238 * sysdeps/i386/asm-syntax.h: Likewise.
31239 * sysdeps/i386/sysdep.h: Likewise.
31240 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31241 * sysdeps/mach/sysdep.h: Likewise.
31242 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31243 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31244 * sysdeps/s390/asm-syntax.h: Likewise.
31245 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31246 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31247 * sysdeps/sh/sysdep.h: Likewise.
31248 * sysdeps/unix/sparc/sysdep.h: Likewise.
31249 * sysdeps/wordsize-32/divdi3.c: Likewise.
31250 * sysdeps/x86_64/sysdep.h: Likewise.
31251
00bbd29b
UD
31252 * argp/Versions: Remove _argp_unlock_xxx.
31253
31254 [BZ #13559]
31255 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31256 * abilist/libBrokenLocale.abilist: Likewise.
31257 * abilist/libanl.abilist: Likewise.
31258 * abilist/libc.abilist: Likewise.
31259 * abilist/libcrypt.abilist: Likewise.
31260 * abilist/libdl.abilist: Likewise.
31261 * abilist/libm.abilist: Likewise.
31262 * abilist/libnsl.abilist: Likewise.
31263 * abilist/libpthread.abilist: Likewise.
31264 * abilist/libresolv.abilist: Likewise.
31265 * abilist/librt.abilist: Likewise.
31266 * abilist/libthread_db.abilist: Likewise.
31267 * abilist/libutil.abilist: Likewise.
31268 * abilist/libnss_db.abilist: New file.
31269
31270 * scripts/abilist.awk: Add support for indirect functions.
31271
a2693a0e
UD
31272 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31273
3f05895f
UD
31274 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31275
ecb6fb48
UD
31276 * shlib-versions: Remove entries for ports architectures.
31277
664f8cb9
UD
31278 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31279 files in ports.
31280 * elf/stackguard-macros.h: Remove support for IA-64.
31281 * elf/tst-auditmod1.c: Likewise.
31282 * sysdeps/generic/ldsodefs.h: Likewise.
31283
7ae81d88
UD
31284 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31285 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31286 configure files.
31287
bdeba135
UD
31288 [BZ #13552]
31289 * configure.in: Remove --enable-omitfp support.
31290 * FAQ.in: Adjust.
31291 * config.make.in: Likewise.
31292 * Makeconfig: Likewise.
31293 * manual/install.texi: Likewise.
31294
d75a0a62
UD
31295 In case anyone cares, the IA-64 architecture could move to ports.
31296 * sysdeps/ia64/*: Removed.
31297 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31298 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31299
dcc9756b
UD
31300 [BZ #13555]
31301 * configure.in: Remove entries for unsupported architectures.
31302
d3761ebc 31303 [BZ #13533]
9954432e
UD
31304 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31305 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31306 routines.
31307 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31308 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31309 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31310 fall back to using wcrtomb.
31311 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31312 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31313 renaming.
31314 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31315 * wcsmbs/tst-c16c32-1.c: New file.
31316
31317 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31318 local variable.
31319
c3a87236
UD
31320 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31321
28926a1b
UD
31322 * elf/tst-unique3.cc: Add explicit declaration of gets.
31323 * elf/tst-unique3lib.cc: Likewise.
31324 * elf/tst-unique3lib2.cc: Likewise.
31325 * elf/tst-unique4.cc: Likewise.
31326
df78418a
UD
31327 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31328
8ecd6b2a
JM
313292012-01-06 Joseph Myers <joseph@codesourcery.com>
31330
31331 [BZ #13566]
31332 * assert/assert.h (static_assert): Don't define for C++.
31333 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31334 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31335
9f115170
UD
313362012-01-03 Ulrich Drepper <drepper@gmail.com>
31337
5e0d0300
UD
31338 * iconv/loop.c (single loop): Fix assertion in storing of
31339 remaining bytes.
31340
9f115170
UD
31341 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31342
81fb02b0
UD
313432012-01-01 Ulrich Drepper <drepper@gmail.com>
31344
31345 * posix/getconf.c: Update copyright year.
31346 * nss/getent.c: Likewise.
a316c1f6 31347 * nss/makedb.c: Likewise.
81fb02b0
UD
31348 * iconv/iconvconfig.c: Likewise.
31349 * iconv/iconv_prog.c: Likewise.
31350 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31351 * elf/pldd.c: Likewise.
31352 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31353 * catgets/gencat.c: Likewise.
31354 * csu/version.c: Likewise.
31355 * elf/ldd.bash.in: Likewise.
31356 * elf/sprof.c (print_version): Likewise.
31357 * locale/programs/locale.c: Likewise.
31358 * locale/programs/localedef.c: Likewise.
a316c1f6 31359 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31360 * nscd/nscd.c (print_version): Likewise.
31361 * debug/xtrace.sh: Likewise.
31362 * malloc/memusage.sh: Likewise.
31363 * malloc/mtrace.pl: Likewise.
31364 * debug/catchsegv.sh: Likewise.
31365
2ba92745
JJ
313662011-12-30 Jakub Jelinek <jakub@redhat.com>
31367
31368 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31369 pure attribute.
31370
dadebdae
UD
313712011-12-24 Ulrich Drepper <drepper@gmail.com>
31372
d3761ebc 31373 [BZ #13533]
db6af3eb
UD
31374 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31375 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31376 transformations.
31377 * iconv/gconv_int.h: Likewise.
31378 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31379 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31380 from libc for GLIBC_2.16.
31381 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31382 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31383 * wcsmbs/uchar.h: Really define mbstate_t.
31384 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31385 * wcsmbs/c16rtomb.c: New file.
31386 * wcsmbs/mbrtoc16.c: New file.
31387 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31388 for C/POSIX locale.
31389 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31390 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31391
dadebdae
UD
31392 * wcsmbs/wchar.h: Add missing __restrict.
31393
67371b56
UD
313942011-12-23 Ulrich Drepper <drepper@gmail.com>
31395
74033a25
UD
31396 [BZ #13532]
31397 * time/Makefile (routines): Add timespec_get.
31398 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31399 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31400 timespec for ISO C11.
31401 * time/timespec_get.c: New file.
31402 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31403 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31404
380d7e87
UD
31405 [BZ #13531]
31406 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31407 * stdlib/stdlib.h: Declare aligned_alloc.
31408 * Versions.def: Add GLIBC_2.16 for libc.
31409 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31410
4e9e7a35
UD
31411 [BZ 13527]
31412 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31413 ISO C11.
31414
380d7e87 31415 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31416 code.
31417
03a71829
UD
31418 [BZ #13528]
31419 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31420
839e283e
UD
31421 [BZ #13529]
31422 * assert/assert.h (static_assert): Define.
31423
ce5294e2 31424 * version.h: Update for 2.16 development version.
90fa7312 31425
8d44e150 31426 [BZ #13526]
d7809905
UD
31427 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31428 _ISOC11_SOURCE.
31429
c0da14cd
UD
31430 * version.h (RELEASE): Bump for 2.15 release.
31431 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31432
530a3249
MP
31433 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31434 Patch by Marek Polacek <mpolacek@redhat.com>.
31435
67371b56
UD
31436 * bits/byteswap.h: Protect long long constants with __extension__.
31437 * sysdeps/i386/bits/byteswap.h: Likewise.
31438 * sysdeps/ia64/bits/byteswap.h: Likewise.
31439 * sysdeps/s390/bits/byteswap.h: Likewise.
31440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31441
15db4de1
LD
314422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31443
31444 [BZ #13540]
bbe315ea
LD
31445 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31446 destination buffer.
15db4de1
LD
31447 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31448
2b2596b1
MP
314492011-12-23 Marek Polacek <polacek@redhat.com>
31450
31451 * elf/dl-addr.c (determine_info): Add inline keyword.
31452 * elf/tst-auditmod4b.c (check_avx): Likewise.
31453 * elf/tst-auditmod6b.c (check_avx): Likewise.
31454 * elf/tst-auditmod6c.c (check_avx): Likewise.
31455 * elf/tst-auditmod7b.c (check_avx): Likewise.
31456
70c6c246
UD
314572011-12-23 Ulrich Drepper <drepper@gmail.com>
31458
31459 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31460 !__SSE_MATH__.
31461
c044cf14
LD
314622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31463
15db4de1 31464 [BZ #13540]
c044cf14
LD
31465 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31466 processing for last bytes.
31467
6b13d9d9
BH
314682011-08-06 Bruno Haible <bruno@clisp.org>
31469
d455f537
BH
31470 [BZ #13061]
31471 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31472 U+0385, not to U+1FEE.
31473
6b13d9d9
BH
31474 [BZ #13062]
31475 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31476 entry for U+00A5 U+0301.
31477
db910efd
UD
314782011-12-22 Ulrich Drepper <drepper@gmail.com>
31479
27deeafc
UD
31480 [BZ #13166]
31481 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31482 buffer for the output is too small.
31483
aed9d171
UD
31484 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31485 optimization.
31486
db910efd
UD
31487 [BZ #13185]
31488 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31489 SSE flags if possible.
31490
2bd779ae
LD
314912011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31492
e7f9dac3 31493 [BZ #13540]
2bd779ae
LD
31494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31495 processing for last bytes.
31496
154bfc16
JM
314972011-12-22 Joseph Myers <joseph@codesourcery.com>
31498
31499 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31500 (syscall-list-default-options, syscall-list-default-condition)
31501 (syscall-list-includes): Define.
31502 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31503 list of ABIs and options and #if conditions for each ABI. Do not
31504 handle common syscalls between ABIs specially.
31505 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31506 Remove.
31507 (syscall-list-variants, syscall-list-32bit-options)
31508 (syscall-list-32bit-condition, syscall-list-64bit-options)
31509 (syscall-list-64bit-condition): Define.
31510 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31511 (syscall-list-variants, syscall-list-32bit-options)
31512 (syscall-list-32bit-condition, syscall-list-64bit-options)
31513 (syscall-list-64bit-condition): Define.
31514 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31515 Remove.
31516 (syscall-list-variants, syscall-list-32bit-options)
31517 (syscall-list-32bit-condition, syscall-list-64bit-options)
31518 (syscall-list-64bit-condition): Define.
31519 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31520 Remove.
31521 (syscall-list-variants, syscall-list-32bit-options)
31522 (syscall-list-32bit-condition, syscall-list-64bit-options)
31523 (syscall-list-64bit-condition): Define.
31524
21eaf3a5
UD
315252011-12-22 Ulrich Drepper <drepper@gmail.com>
31526
16c6f992
UD
31527 * locale/iso-639.def: Add brx entry.
31528
41043168
UD
31529 [BZ #13328]
31530 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31531 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31532
21eaf3a5
UD
31533 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31534 __feraiseexcept_renamed.
31535
e3a851a2
UD
315362011-12-21 Ulrich Drepper <drepper@gmail.com>
31537
4920765e
UD
31538 [BZ #13538]
31539 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31540 EPOLLET with unsigned values.
31541 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31542 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31543
e3a851a2
UD
31544 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31545 to large cancellation.
31546 * math/s_cacoshf.c: Likewise.
31547 * math/s_cacoshl.c: Likewise.
31548
b27e24b8
RK
315492011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31550
31551 [BZ #13305]
aebefeee 31552 [BZ #12786]
b27e24b8
RK
31553 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31554 * math/s_cacoshf.c: Likewise.
31555 * math/s_cacoshl.c: Likewise.
31556
ee190f67
UD
315572011-12-21 Ulrich Drepper <drepper@gmail.com>
31558
31559 [BZ #13439]
31560 * iconv/gconv.h: Define __GCONV_SWAP.
31561 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31562 * iconvdata/utf-16.c: Likewise.
31563 * iconvdata/utf-32.c: Likewise.
31564
707f25df
AS
315652011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31566
31567 [BZ #13524]
31568 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31569 numerator after shifting it by one limb.
31570
d2daaa1e
RÁE
315712011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31572
31573 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31574 under [__USE_EXTERN_INLINES].
31575
a4647e72
UD
315762011-12-17 Ulrich Drepper <drepper@gmail.com>
31577
31578 [BZ #13446]
31579 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31580
f0b264f1
AZ
315812011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31582
31583 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31584 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31585 optimized code.
31586 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31587 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31588 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31589 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31590 for strncasecmp/strncasecmp_l compilation.
31591 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31592 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31593
8ef4f244
MP
315942011-12-08 Marek Polacek <mpolacek@redhat.com>
31595
31596 [BZ #13484]
31597 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31598 of __asm__.
31599
97ac2654
UD
316002011-12-17 Ulrich Drepper <drepper@gmail.com>
31601
31602 [BZ #13506]
31603 * time/tzfile.c (__tzfile_read): Check values from file header.
31604
91d2a845
WS
316052011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31606
31607 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31608 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31609 * powerpc/powerpc32/dl-start.S: Likewise.
31610 * powerpc/powerpc32/elf/start.S: Likewise.
31611 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31612 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31613 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31614 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31615 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31616 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31617 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31618 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31619 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31620 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31621 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31622 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31623 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31624 * powerpc/powerpc32/memset.S: Likewise.
31625 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31626 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31627 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31628 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31629 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31630 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31631 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31632 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31633 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31634 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31635 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31636 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31637 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31638
a1267ba1
AZ
316392011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31640
31641 * math/libm-test.inc: Added more nearbyint tests.
31642 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31643 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31644 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31645 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31646
ad8ac1bd
RL
316472011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31648
31649 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31650 FD_CLOEXEC.
31651
1d3e4b61
UD
316522011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31653
31654 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31655 Add wcscpy-ssse3 wcscpy-c.
31656 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31657 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31658 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31659 * sysdeps/x86_64/wcschr.S: New file.
31660 * sysdeps/x86_64/wcsrchr.S: New file.
31661 * string/test-strcmp.c: Remove checking of wcscmp function for
31662 wrong alignments.
31663 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31664 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31665 wcsrchr-sse2 wcsrchr-c.
31666 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31667 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31668 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31669 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31670 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31671 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31672 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31673 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31674 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31675 * wcsmbc/wcschr.c (WCSCHR): New macro.
31676
5b330a2d
UD
316772011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31678
31679 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31680 * wcsmbs/test-wcsrchr.c: New file.
31681 * string/test-strrchr.c: Add wcsrchr support.
31682 (WIDE): New macro.
31683 * wcsmbs/test-wcscpy.c: New file.
31684 * string/test-strcpy.c: Add wcscpy support.
31685 (WIDE): New macro.
26428b7c 31686
f039c043
UD
316872011-12-10 Ulrich Drepper <drepper@gmail.com>
31688
31689 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31690 the inner loop.
31691
850fb039
AS
316922011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31693
31694 [BZ #13472]
31695 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31696
4efbd5cb
UD
316972011-12-04 Ulrich Drepper <drepper@gmail.com>
31698
52ff5dd0 31699 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31700 Minor optimizations.
52ff5dd0 31701
4efbd5cb
UD
31702 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31703 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31704 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31705
8a426e12
UD
317062011-12-03 Ulrich Drepper <drepper@gmail.com>
31707
aff2453d
UD
31708 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31709 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31710 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31711 for gcc to avoid warnings.
31712 * inet/Makefile (tests): Add tst-checks.
31713 * inet/tst-checks.c: New file.
31714
31715 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31716 warning.
31717
31718 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31719 __wmemcmp_sse2.
31720
31721 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31722 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31723
8a426e12
UD
31724 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31725
9bea3473
UD
317262011-12-02 Ulrich Drepper <drepper@gmail.com>
31727
3a965496
UD
31728 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31729 problem.
31730
9bea3473
UD
31731 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31732
f101631b
UD
317332011-11-29 Joseph Myers <joseph@codesourcery.com>
31734
31735 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31736 conditional on GCC version.
31737 (__arch_compare_and_exchange_val_8_acq)
31738 (__arch_compare_and_exchange_val_16_acq)
31739 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31740 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31741 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31742
a98275aa
UD
317432011-12-02 Joseph Myers <joseph@codesourcery.com>
31744
31745 * sysdeps/sh/backtrace.c: New file.
31746
d4cc29a2
AS
317472011-12-02 Andreas Schwab <schwab@redhat.com>
31748
31749 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31750 parenthesis.
31751
6257af2d
AS
317522011-12-01 Andreas Schwab <schwab@redhat.com>
31753
31754 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31755 falling back to utime.
31756
b5f44c1a
AS
317572011-11-30 Andreas Schwab <schwab@redhat.com>
31758
31759 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31760 expectations for float.
31761
f3a6cc0a
AS
317622011-11-29 Andreas Schwab <schwab@redhat.com>
31763
31764 * locale/weight.h (findidx): Add parameter len.
31765 * locale/weightwc.h (findidx): Likewise.
31766 * posix/fnmatch_loop.c (FCT): Adjust caller.
31767 * posix/regcomp.c (build_equiv_class): Likewise.
31768 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31769 * posix/regexec.c (check_node_accept_bytes): Likewise.
31770 * string/strcoll_l.c (STRCOLL): Likewise.
31771 * string/strxfrm_l.c (STRXFRM): Likewise.
31772
9d65ea3a
UD
317732011-11-17 Ulrich Drepper <drepper@gmail.com>
31774
31775 * Makefile.in: Remove CVSOPT handling.
31776 * configure.in: Remove use of AC_REVISION.
31777 * iconvdata/Makefile (distribute): No need to filter out CVS.
31778 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31779 handling.
31780
5583a086
AS
317812011-11-16 Andreas Schwab <schwab@redhat.com>
31782
31783 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31784 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31785 [USE_AS_STRNCASECMP_L]: Likewise.
31786 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31787 NO_TLS_DIRECT_SEG_REFS.
31788 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31789 Fix argument offsets for non-PIC.
31790 [USE_AS_STRNCASECMP_L]: Likewise.
31791 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31792 NO_TLS_DIRECT_SEG_REFS.
31793
d62a8200
UD
317942011-11-15 Ulrich Drepper <drepper@gmail.com>
31795
9d65ea3a 31796 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31797 O_CLOEXEC.
31798 * locale/loadlocale.c (_nl_load_locale): Likewise.
31799
09f93bd3
AS
318002011-11-15 Andreas Schwab <schwab@redhat.com>
31801
446514f9
AS
31802 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31803 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31804 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31805 (SYSCALL_GETTIME): Set errno on error.
31806
09f93bd3
AS
31807 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31808 count references to noai6ai_cached.
31809
312be3f9
UD
318102011-11-15 Ulrich Drepper <drepper@gmail.com>
31811
31812 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31813
31814 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31815 FD_CLOEXEC for /proc/self/maps.
31816
31817 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31818 FD_CLOEXEC for /proc/meminfo.
31819
31820 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31821 gai.conf.
31822
31823 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31824 FD_CLOEXEC for given file.
31825
31826 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31827
31828 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31829 FD_CLOEXEC for /etc/hosts.
31830 (_gethtent): Likewise.
31831
31832 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31833
31834 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31835 cancellation and set FD_CLOEXEC for /etc/netgroup.
31836
31837 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31838 reading /etc/publickey.
31839
31840 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31841 allow cancellation when reading /etc/group.
31842
31843 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31844 cancellation.
31845 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31846
31847 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31848 when using data file.
31849
31850 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31851
31852 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31853 (write_nis_obj): Use "c" and "e" in fopen.
31854
31855 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31856
31857 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31858
31859 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31860
31861 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31862
31863 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31864 locale.alias.
31865
31866 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31867
31868 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31869
31870 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31871
31872 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31873 file parsing and set FD_CLOEXEC.
31874
82af0fa8
UD
318752011-11-14 Ulrich Drepper <drepper@gmail.com>
31876
31877 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31878
a5fb313c
AS
318792011-11-14 Andreas Schwab <schwab@redhat.com>
31880
31881 * malloc/arena.c (arena_get2): Don't call reused_arena when
31882 _int_new_arena failed.
31883
6abf3465
UD
318842011-11-14 Ulrich Drepper <drepper@gmail.com>
31885
31886 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31887 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31889 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31890 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31891 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31892 to compile strcasecmp and strncasecmp.
31893 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31894 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31895
31896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31897
76e3966e
UD
318982011-11-13 Ulrich Drepper <drepper@gmail.com>
31899
31900 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31901 locale-defines.sym to gen-as-const-headers.
31902 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31903 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31905 to compile strcasecmp and strncasecmp.
31906 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31907 strcasecmp_l and strncasecmp_l.
31908 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31909 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31910 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31911 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31912 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31913 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31914 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31915 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31916 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31917 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31918 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31919
ab26144e
UD
319202011-11-12 Ulrich Drepper <drepper@gmail.com>
31921
7edb22ef
UD
31922 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31923 result of SYSDEP_GETTIME_CPU to retval.
31924 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31925 parameter list to macro. Remove trailing semicolon. Adjust users.
31926
9694fc44
UD
31927 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31928 variable.
31929
8ad89ef8
UD
31930 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31931 mantissa words.
31932 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31933
0c822ef9
UD
31934 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31935 from unused variable.
31936
874e0564
UD
31937 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31938 DWARF definitions.
31939 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31940 for assembling.
31941
3a2edc79
UD
31942 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31943 over namespaces.
31944
f3c2577f
UD
31945 * sunrpc/rpc_prot.c (rejected): Fix case value.
31946
294ce126
UD
31947 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31948 unsigned long long int to avoid warnings in shift.
31949
5e2b63c6
UD
31950 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31951 of use of trans.
31952 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31953 variable tmp.
31954
e7f4b08e
UD
31955 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31956 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31957 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31958
ab26144e
UD
31959 * nis/nis_table.c (nis_list): Use variable of correct type for
31960 result of __follow_path call.
31961
8a6d5255
AZ
319622011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31963
31964 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31965 of math functions ceil, trunc, floor, round, and sqrt, when
31966 avaliable on the platform.
31967 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31968 name clash.
31969 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31970 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31971 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31972
aaddc98c
MP
319732011-10-30 Marek Polacek <mpolacek@redhat.com>
31974
31975 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31976 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31977
95b7042b
RM
319782011-11-11 Roland McGrath <roland@hack.frob.com>
31979
31980 * include/unistd.h: Fix __readlink return type.
31981 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31982
57769839
UD
319832011-11-11 Ulrich Drepper <drepper@gmail.com>
31984
31985 * stdlib/ucontext.h: Undo last change for makecontext.
31986
edc5984d
AS
319872011-11-11 Andreas Schwab <schwab@redhat.com>
31988
98591e58
AS
31989 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31990
edc5984d
AS
31991 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31992 * setjmp/setjmp.h: Mark functions as non-leaf.
31993 * setjmp/bits/setjmp2.h: Likewise.
31994 * stdlib/ucontext.h: Likewise.
31995
77cdc054
AS
319962011-11-10 Andreas Schwab <schwab@redhat.com>
31997
31998 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31999 (reused_arena): Don't check arena limit.
32000 (arena_get2): Atomically check arena limit.
32001
fe72eebd
UD
320022011-11-08 Ulrich Drepper <drepper@gmail.com>
32003
5f078c32
UD
32004 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32005 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32006
fe72eebd
UD
32007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32008 instructions.
32009
ae1bc2fa
AS
320102011-11-07 Andreas Schwab <schwab@redhat.com>
32011
7583a88d
AS
32012 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32013 handler when locking.
32014
ae1bc2fa
AS
32015 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32016 Fix size of allocated buffer.
32017
10fb0bfa
AS
320182011-11-04 Andreas Schwab <schwab@redhat.com>
32019
998832a4
AS
32020 [BZ #10103]
32021 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32022 declarations for long double functions.
32023 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32024
10fb0bfa
AS
32025 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32026
3d7ba52b
AS
320272011-11-03 Andreas Schwab <schwab@redhat.com>
32028
a9ae54a1
AS
32029 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32030 installed.
32031
3d7ba52b
AS
32032 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32033 is disabled.
32034
bc8db248
ST
320352011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32036
32037 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32038
45b96dd6
AS
320392011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32040
647776f6
AS
32041 * include/alloca.h (stackinfo_alloca_round): Define.
32042 (extend_alloca): Use it.
32043 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32044 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32045 here.
32046
d91a8b93
AS
32047 * scripts/check-local-headers.sh: Ignore libaudit.h.
32048
45b96dd6
AS
32049 * nscd/Makefile (extra-objs): Make recursively expanded.
32050
432d41ce
UD
320512011-11-01 Ulrich Drepper <drepper@gmail.com>
32052
34372fc6
UD
32053 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32054 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32055
fadb59f8
UD
32056 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32057 * posix/tst-rfc3484-2.c: Likewise.
32058 * posix/tst-rfc3484-3.c: Likewise.
32059
78239589
UD
32060 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32061 process_vm_writev.
32062 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32063 process_vm_writev.
32064 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32065 process_vm_writev from libc using GLIBC_2.15 version.
32066
432d41ce
UD
32067 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32068
02f9c6cf
PP
320692011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32070
32071 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32072 stack usage.
32073
3a2c0242
UD
320742011-10-31 Ulrich Drepper <drepper@gmail.com>
32075
f4ec4833
UD
32076 [BZ #13367]
32077 * nss/getent.c (initgroups_keys): Show error message in case no group
32078 names are given.
32079
3a2c0242
UD
32080 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32081 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32082 __bump_nl_timestamp.
32083 * nscd/connections (nscd_init): When host database is served open
32084 netlink socket and request notification about configuration changes.
32085 (main_loop_poll): Track netlink file descriptor and bump timestamp
32086 in case data becomes available.
32087 (main_loop_epoll): Likewise.
32088 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32089 (database_pers_head): Add extra_data fileds.
32090 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32091 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32092 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32093 Adjust caller.
32094 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32095 in6ai data, call __free_in6ai.
32096 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32097 Add -DHAVE_NETLINK.
32098 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32099 interface information. Reuse previous data if netlink timestamp
32100 is not changed.
32101 (__bump_nl_timestamp): New function.
32102 (__free_in6ai): New function.
32103
636064eb
UD
321042011-10-30 Ulrich Drepper <drepper@gmail.com>
32105
32106 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32107 close_not_cancel_no_status here.
32108 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32109
9beb2334
UD
321102011-10-29 Ulrich Drepper <drepper@gmail.com>
32111
6ef76f3b
UD
32112 [BZ #13276]
32113 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32114 return value.
32115
0ffc4f3e 32116 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32117 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32118 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32119
cb95113e
UD
321202011-07-03 Andreas Jaeger <aj@suse.de>
32121
32122 [BZ #10709]
32123 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32124 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32125 * math/libm-test.inc (sin_test): Add test case.
32126
a1b560ff
UD
321272011-10-29 Ulrich Drepper <drepper@gmail.com>
32128
c9aaface
UD
32129 [BZ #13337]
32130 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32131 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32132
d272e7f1
UD
32133 * elf/chroot_canon.c (chroot_canon): Cleanups.
32134
1bc33071
UD
32135 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32136
1760874d
TJ
32137 [BZ #13335]
32138 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32139 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32140
51d91b18
UD
32141 * string/test-strchr.c: Make usable for strchrnul testing.
32142 * string/test-strchrnul.c: New file.
32143 * string/Makefile (strop-tests): Add strchrnul.
32144
a1b560ff 32145 * po/it.po: Update from translation team.
b611fb81 32146 * po/es.po: Likewise.
a1b560ff 32147
a5b81e1f
UD
321482011-10-28 Ulrich Drepper <drepper@gmail.com>
32149
fd52bc6d
UD
32150 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32151 the three constants needed as parameters. Drop the others.
32152 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32153 __m128i_strloadu_tolower.
52e4b9eb
UD
32154 Create and initialize variable zero and use it in all the places
32155 where _mm_setzero_si128 was used.
fd52bc6d 32156
a5b81e1f
UD
32157 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32158 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32159 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32160 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32161 anymore.
32162 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32163 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32164 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32165 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32166 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32167 __mpranred, __mptan.
32168 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32169 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32170 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32171 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32172 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32173 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32174 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32175 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32176 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32177
b4343346
AS
321782011-10-28 Andreas Schwab <schwab@redhat.com>
32179
0c92d8a8
AS
32180 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32181 redefine if SHARED.
32182 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32183
b4343346
AS
32184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32185 wide char related routines to wcsmbs subdir.
32186
3871f58f
AS
321872011-10-27 Andreas Schwab <schwab@redhat.com>
32188
32189 [BZ #13344]
32190 * misc/sys/cdefs.h (__THROWNL): Define.
32191 * posix/unistd.h: Use __THREADNL instead of __THREAD
32192 for memory synchronization functions.
32193
94d44d9f
RM
321942011-10-26 Roland McGrath <roland@hack.frob.com>
32195
21b64b15 32196 [BZ #13349]
94d44d9f
RM
32197 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32198 doesn't exist.
32199 * manual/stdio.texi (Obstack Streams): Node removed.
32200
f6ce9294
AS
322012011-10-26 Andreas Schwab <schwab@redhat.com>
32202
80479147
AS
32203 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32204 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32205 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32206
f6ce9294
AS
32207 * math/math_private.h (math_force_eval): Allow non-addressable
32208 arguments.
32209 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32210
618280a1
UD
322112011-10-25 Ulrich Drepper <drepper@gmail.com>
32212
e0016b11
UD
32213 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32214 file is not needed.
32215
32216 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32217 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32218 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32219 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32220 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32221 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32222 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32223 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32224 Add AVX variants.
32225 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32226 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32227 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32228 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32229 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32230 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32231 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32232 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32233 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32234 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32235 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32236 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32237 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32238 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32239 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32240 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32241 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32242 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32243 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32244
32245 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32246 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32247
618280a1
UD
32248 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32249 place. Use VEX encoding when compiling for AVX.
32250
37822576
AS
322512011-10-25 Andreas Schwab <schwab@redhat.com>
32252
1f1e1947
AS
32253 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32254 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32255
37822576
AS
32256 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32257
31ea014d
UD
322582011-10-25 Ulrich Drepper <drepper@gmail.com>
32259
d7826aa1 32260 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32261 useless if() expression.
d7826aa1
UD
32262 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32263 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32264 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32265 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32266 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32267 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32268 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32270 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32271 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32272 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32273 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32274 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32275 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32276 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32277 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32278 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32279 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32280 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32281
31ea014d
UD
32282 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32283
16437fec
AS
322842011-10-25 Andreas Schwab <schwab@redhat.com>
32285
32286 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32287 condition.
32288 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32289
31d3cc00
UD
322902011-10-25 Ulrich Drepper <drepper@gmail.com>
32291
32292 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32293 .text section. Avoid duplicate constants.
32294 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32295 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32296 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
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/halfulp.c: Likewise.
32302 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32303 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32304 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32305 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32306 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32307 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32308 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32309 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32310 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32311 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32312 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32313 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32314 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32315 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32316 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32317 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32318 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32319 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32320 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32321 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32322 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32323 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32324 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32325 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32326 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32327 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32328 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32329 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32330 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32332 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32333 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32334 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32335 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32336 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32337 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32338 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32339
58985aa9
UD
323402011-10-24 Ulrich Drepper <drepper@gmail.com>
32341
202c9deb
UD
32342 * sysdeps/x86_64/dla.h: Move to ...
32343 * sysdeps/x86_64/fpu/dla.h: ...here.
32344 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32345 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32346
af968f62
UD
32347 * config.make.in: Add have-mfma4 entry.
32348 * configure.in: Substitute libc_cv_cc_fma4.
32349 * math/Makefile (dbl-only-routines): Add sincostab.
32350 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32351 Use __sincostab not sincos.
32352 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32353 name is a macro.
32354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32358 using __copysign.
32359 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32360 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32361 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32362 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32363 and __inv.
32364 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32365 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32366 __copysign.
32367 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32368 define aliases when function name is a macro.
32369 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32370 sysdeps/ieee754/dbl-64/sincos.tbl.
32371 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32372 fma4-enabled routines.
32373 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32374 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32375 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32376 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32377 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32378 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32379 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32380 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32381 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32382 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32383 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32384 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32385 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32386 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32387 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32388 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32389 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32390 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32391 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32392 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32393 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32394 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32395 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32396 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32397 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32398 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32399 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32400 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32401 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32402 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32403
58985aa9
UD
32404 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32405 rename.
32406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32411 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32412 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32414
a201fbcf
AS
324152011-10-24 Andreas Schwab <schwab@redhat.com>
32416
32417 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32418
fc2ee42a
LD
324192011-10-23 Ulrich Drepper <drepper@gmail.com>
32420
bb3129bd
UD
32421 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32422
0275fff8
UD
32423 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32424 prediction.
32425 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32426
2fa2ae85
UD
32427 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32428 Remove unused variable magic_bits.
32429 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32430
fc2ee42a
LD
32431 * string/strnlen.c: Define and use STRNLEN macro.
32432 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32433 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32434 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32435 * wcsmbs/wcslen.c: Define and use WCSLEN.
32436 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32437 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32438 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32439 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32440 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32441 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32442 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32443
ce7dd29f
LD
324442011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32445
32446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32447 strnlen-sse2-no-bsf.
32448 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32449 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32450 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32451 Add strnlen support.
32452 (USE_AS_STRNLEN): New macro.
32453 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32454 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32455 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32456 * sysdeps/x86_64/wcslen.S: New file.
32457
979c70a3
MZ
324582011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32459
32460 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32461 XMM-moves are used for copying on small sizes.
32462
2d09f82f
LD
324632011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32464
32465 * wcsmbs/Makefile (strop-tests): Add wcschr.
32466 * wcsmbs/test-wcschr.c: New file.
32467 * string/test-strchr.c: Update.
32468 Add wcschr support.
32469 (WIDE): New macro.
32470
619fccca
LD
324712011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32472
2d09f82f 32473 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32474 * wcsmbs/test-wcslen.c: New file.
32475 * string/test-strlen.c: Update.
32476 Add wcslen support.
32477 (WIDE): New macro.
32478
09f699ea
UD
324792011-10-23 Ulrich Drepper <drepper@gmail.com>
32480
32481 * po/it.po: Update from translation team.
32482
95584d3b
LD
324832011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32484
32485 * sysdeps/x86_64/wcscmp.S: Update.
32486 Fix wrong comparison semantics.
32487 wcscmp shall use signed comparison not unsigned.
32488 Don't use substraction to avoid overflow bug.
32489 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32490 * wcsmbc/wcscmp.c: Likewise.
32491 * string/test-strcmp.c: Likewise.
32492 Add new tests to check cases with negative values.
32493
c8b3296b
UD
324942011-10-23 Ulrich Drepper <drepper@gmail.com>
32495
32496 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32497 * sysdeps/x86_64/dla.h: ...here. New file.
32498 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32505 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32506 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32507
246ad57a
AS
325082011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32509
32510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32511 __ynl_finite aliases.
32512
a1a87169
UD
325132011-10-22 Ulrich Drepper <drepper@gmail.com>
32514
0d355eb7
UD
32515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32516
a1a87169
UD
32517 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32518 define DLA_FMA.
32519 [DLA_FMA] (EMULV): Use DLA_FMA.
32520 [DLA_FMA] (MUL12): Use EMULV.
32521 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32522 that are not needed.
32523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32530
ee2aafe0
AS
325312011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32532
32533 * math/s_nan.c: Undef __nan.
32534 * math/s_nanf.c: Undef __nanf.
32535 * math/s_nanl.c: Undef __nanl.
32536 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32537 "math_private.h".
32538
bc62c2fb
UD
325392011-10-22 Ulrich Drepper <drepper@gmail.com>
32540
77425c63
UD
32541 * math/s_catan.c: Add branch predictions.
32542 * math/s_catanf.c: Likewise.
32543 * math/s_catanh.c: Likewise.
32544 * math/s_catanhf.c: Likewise.
32545 * math/s_catanhl.c: Likewise.
32546 * math/s_catanl.c: Likewise.
32547 * math/s_cexp.c: Likewise.
32548 * math/s_cexpf.c: Likewise.
32549 * math/s_cexpl.c: Likewise.
32550 * math/s_clog.c: Likewise.
32551 * math/s_clog10.c: Likewise.
32552 * math/s_clog10f.c: Likewise.
32553 * math/s_clog10l.c: Likewise.
32554 * math/s_clogf.c: Likewise.
32555 * math/s_clogl.c: Likewise.
32556 * math/s_csqrt.c: Likewise.
32557 * math/s_csqrtf.c: Likewise.
32558 * math/s_csqrtl.c: Likewise.
32559 * math/s_ctanf.c: Likewise.
32560 * math/s_ctanh.c: Likewise.
32561 * math/s_ctanhf.c: Likewise.
32562 * math/s_ctanhl.c: Likewise.
32563 * math/s_ctanl.c: Likewise.
32564
bc62c2fb
UD
32565 * math/math_private.h: Define __nan, __nanf, __nanl.
32566 * math/s_cacosh.c: Include <math_private.h>.
32567 * math/s_cacoshl.c: Likewise.
32568 * math/s_casinh.c: Likewise.
32569 * math/s_casinhf.c: Likewise.
32570 * math/s_casinhl.c: Likewise.
32571 * math/s_ccos.c: Rely entire on ccosh.
32572 * math/s_ccosf.c: Rely entire on ccoshf.
32573 * math/s_ccosl.c: Rely entirely on ccoshl.
32574 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32575 Remove tests for FE_INVALID.
32576 * math/s_ccoshf.c: Likewise.
32577 * math/s_ccoshl.c: Likewise.
32578 * math/s_csin.c: Likewise.
32579 * math/s_csinf.c: Likewise.
32580 * math/s_csinh.c Likewise.
32581 * math/s_csinhf.c: Likewise.
32582 * math/s_csinhl.c: Likewise.
32583 * math/s_csinl.c: Likewise.
32584 * math/s_ctan.c: Likewise.
32585 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32586 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32587 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32588
8ec250a4
UD
325892011-10-21 Ulrich Drepper <drepper@gmail.com>
32590
c196fed8
UD
32591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32592 compilation problems.
32593
8ec250a4
UD
32594 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32595 __builtin_expect.
32596
8d4f46c6
UD
325972011-10-20 Ulrich Drepper <drepper@gmail.com>
32598
ed72b654
UD
32599 * sysdeps/i386/configure.in: Test for -mfma4 option.
32600 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32601 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32602 COMMON_CPUID_INDEX_80000001.
32603 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32604 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32605 use it if FMA3 is not supported.
32606 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32607
8d4f46c6
UD
32608 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32609 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32610
d45c60c2
AS
326112011-10-20 Andreas Schwab <schwab@redhat.com>
32612
32613 [BZ #12892]
32614 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32615 it would create a cycle with a link time dependency.
32616
d9a4d2ab
UD
326172011-10-19 Ulrich Drepper <drepper@gmail.com>
32618
855d1560
UD
32619 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32620 instruction.
32621 * string/Makefile (strop-tests): Add rawmemchr.
32622 * string/test-rawmemchr.c: New file.
32623
d9a4d2ab
UD
32624 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32625 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32626 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32627 when compiling str{,n}casecmp and when AVX is available. Hook up
32628 new optimized code in initializers.
32629
8f3b1ffe
AS
326302011-10-19 Andreas Schwab <schwab@redhat.com>
32631
32632 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32633 __feraiseexcept instead of feraiseexcept.
32634
d38f1dba
UD
326352011-10-18 Ulrich Drepper <drepper@gmail.com>
32636
d9a8d0ab
UD
32637 * math/math_private.h: Define defaults for libc_fetestexcept and
32638 libc_feupdateenv.
32639 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32640 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32641 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32642 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32643 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32644 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32645 libc_fetestexcept and libc_feupdateenv.
32646
4855e3dd
UD
32647 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32648 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32649 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32650 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32651 libc_feholdexcept_setround.
32652
581d30e3
UD
32653 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32654 Add s_nearbyint-c and s_nearbyintf-c.
32655 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32656 nearbyintf inlines.
32657 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32658 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32659 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32660 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32661
d38f1dba
UD
32662 * math/math_private.h: Define defaults for libc_fegetround,
32663 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32664 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32665 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32667 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32668 standard functions.
32669 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32670 Remove comments and hacks for old compiler versions.
32671 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32672 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32673 libc_feholdexceptl.
32674
caa6c9d8
AS
326752011-10-18 Andreas Schwab <schwab@redhat.com>
32676
32677 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32678 (__feraiseexcept_renamed): Add __NTH.
32679 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32680 namespace violations.
32681
97c066e6
UD
326822011-10-17 Ulrich Drepper <drepper@gmail.com>
32683
99ce7b04
UD
32684 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32685
1004d182
UD
32686 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32687
228a984d
UD
32688 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32689 recently added interfaces.
32690 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32691
c8553a6a
UD
32692 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32693 about macro parameter expansion.
32694
ed22dcf6
UD
32695 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32696 __NO_MATH_INLINES is defined. Cleanups.
32697
32698 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32699 and __floorf is target has SSE4.1.
32700 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32701 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32702 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32703 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32704
b171c137
UD
32705 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32706 name.
32707 (floorf): Likewise.
32708
97c066e6
UD
32709 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32710
629f62ef
AS
327112011-10-17 Andreas Schwab <schwab@redhat.com>
32712
49a43d80
AS
32713 * misc/sys/cdefs.h: Fix last change.
32714
629f62ef
AS
32715 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32716 database lookup.
32717
e453f6cd
UD
327182011-10-16 Ulrich Drepper <drepper@gmail.com>
32719
aa78043a
UD
32720 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32721
ad0f5cad
UD
32722 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32723 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32724 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32725 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32726 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32727 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32728 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32729 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32730 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32731 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32732 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32733 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32734 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32735 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32736 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32737 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32738 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32739 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32740 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32741 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32742 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32743 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32744
32745 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32746 ceil, ceilf, floor, floorf.
32747
32748 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32749 Perform IRELATIVE relocations last.
32750
e453f6cd
UD
32751 * elf/do-rel.h: Add another parameter nrelative, replacing the
32752 local variable with the same name. Change name of the function
32753 to end in Rel or Rela (uppercase).
32754 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32755 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32756 elf_dynamic_do_##reloc function.
32757
fd5bdc09
UD
327582011-10-15 Ulrich Drepper <drepper@gmail.com>
32759
79b195b5
UD
32760 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32761 is sufficient, at least on modern CPUs.
32762
d4a28569
UD
32763 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32764
b61099b5
UD
32765 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32766 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32767
bcf01e6d
UD
32768 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32769 __expl_finite.
32770 * math/bits/math-finite.h: Add entries for exp.
32771 * math/e_expl.c: Add __*_finite alias.
32772 * sysdeps/i386/fpu/e_exp.S: Likewise.
32773 * sysdeps/i386/fpu/e_expf.S: Likewise.
32774 * sysdeps/i386/fpu/e_expl.c: Likewise.
32775 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32776 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32779 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32780 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32781 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32782
ba1a0d59
UD
32783 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32784 is sufficient, at least on modern CPUs.
32785
fd5bdc09
UD
32786 * ctype/ctype-info.c (__ctype_init): Define.
32787 * include/ctype.h (__ctype_init): Declare.
32788 (__ctype_b_loc): The variable is always initialized.
32789 (__ctype_toupper_loc): Likewise.
32790 (__ctype_tolower_loc): Likewise.
32791 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32792 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32793
7872cfb0
AS
327942011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32795
b468825a
AS
32796 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32797
7872cfb0
AS
32798 * configure.in: Also look in $cxxmachine/include for C++ system
32799 headers.
32800
be13f7bf
LD
328012011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32802
32803 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32804 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32805 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32806 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32807 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32808 (USE_AS_WMEMCMP): New macro.
32809 Fixing indents.
32810 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32811 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32812 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32813 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32815 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32816 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32817 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32818 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32819 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32820 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32821 (USE_AS_WMEMCMP): New macro.
32822 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32823 * sysdeps/string/test-memcmp.c: Update.
32824 Fix simple_wmemcmp.
32825 Add new tests.
32826 * wcsmbs/wmemcmp.c: Update.
32827 (WMEMCMP): New macro.
32828 Fix overflow bug.
32829
556a2007
AJ
328302011-10-12 Andreas Jaeger <aj@suse.de>
32831
32832 [BZ #13268]
32833 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32834
538faaa7
UD
328352011-10-15 Ulrich Drepper <drepper@gmail.com>
32836
ab6737ff
UD
32837 * libio/iofwide.c (do_length): Avoid warning.
32838
538faaa7
UD
32839 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32840
396a21b1
UD
328412011-10-14 Ulrich Drepper <drepper@gmail.com>
32842
cdf2901f
UD
32843 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32844
38ad40ce
UD
32845 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32846 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32847 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32848 * sysdeps/i386/i686/fpu/e_log.S: New file.
32849 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32850 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32851
396a21b1
UD
32852 * ctype/ctype.h: Add support for inlined isXXX functions when
32853 compiling C++ code.
32854
6b1f68c9
AS
328552011-10-14 Andreas Schwab <schwab@redhat.com>
32856
349290c0
AS
32857 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32858
6b1f68c9
AS
32859 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32860
f2282d42
RM
328612011-10-13 Roland McGrath <roland@hack.frob.com>
32862
32863 [BZ #13291]
32864 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32865
5298ffa8
AS
328662011-10-13 Andreas Schwab <schwab@redhat.com>
32867
714fad23
AS
32868 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32869 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32870 feraiseexcept.
32871
81dcc7fb
AS
32872 * sysdeps/x86_64/memrchr.S: Check for zero size.
32873
5298ffa8
AS
32874 * string/stratcliff.c: Add memrchr tests.
32875
951fbcec
LD
328762011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32877
32878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32879 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32880 rawmemchr-sse2 rawmemchr-sse2-bsf.
32881 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32882 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32883 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32884 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32885 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32886 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32887 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32888 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32889 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32890 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32891 * string/memrchr.c (MEMRCHR): New macro.
32892
0ac5ae23
UD
328932011-10-12 Ulrich Drepper <drepper@gmail.com>
32894
32895 Add integration with gcc's -ffinite-math-only and optimize wrapper
32896 functions in libm.
32897 * Versions.def: Define GLIBC_2.15 version for libm.
32898 * math/Makefile (headers): Add bits/math-finite.h.
32899 * math/bits/math-finite.h: New file.
32900 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32901 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32902 * math/e_acoshl.c: Add __*_finite alias.
32903 * math/e_acosl.c: Likewise.
32904 * math/e_asinl.c: Likewise.
32905 * math/e_atan2l.c: Likewise.
32906 * math/e_atanhl.c: Likewise.
32907 * math/e_coshl.c: Likewise.
32908 * math/e_exp10.c: Likewise.
32909 * math/e_exp10f.c: Likewise.
32910 * math/e_exp10l.c: Likewise.
32911 * math/e_exp2l.c: Likewise.
32912 * math/e_fmodl.c: Likewise.
32913 * math/e_gammal_r.c: Likewise.
32914 * math/e_hypotl.c: Likewise.
32915 * math/e_j0l.c: Likewise.
32916 * math/e_j1l.c: Likewise.
32917 * math/e_jnl.c: Likewise.
32918 * math/e_lgammal_r.c: Likewise.
32919 * math/e_log10l.c: Likewise.
32920 * math/e_log2l.c: Likewise.
32921 * math/e_logl.c: Likewise.
32922 * math/e_powl.c: Likewise.
32923 * math/e_sinhl.c: Likewise.
32924 * math/e_sqrtl.c: Likewise.
32925 * math/e_scalb.c: Completely rewritten and optimized.
32926 * math/e_scalbf.c: Likewise.
32927 * math/e_scalbl.c: Likewise.
32928 * math/w_acos.c: Likewise.
32929 * math/w_acosf.c: Likewise.
32930 * math/w_acosl.c: Likewise.
32931 * math/w_acosh.c: Likewise.
32932 * math/w_acoshf.c: Likewise.
32933 * math/w_acoshl.c: Likewise.
32934 * math/w_asin.c: Likewise.
32935 * math/w_asinf.c: Likewise.
32936 * math/w_asinl.c: Likewise.
32937 * math/w_atan2.c: Likewise.
32938 * math/w_atan2f.c: Likewise.
32939 * math/w_atan2l.c: Likewise.
32940 * math/w_atanh.c: Likewise.
32941 * math/w_atanhf.c: Likewise.
32942 * math/w_atanhl.c: Likewise.
32943 * math/w_exp10.c: Likewise.
32944 * math/w_exp10f.c: Likewise.
32945 * math/w_exp10l.c: Likewise.
32946 * math/w_fmod.c: Likewise.
32947 * math/w_fmodf.c: Likewise.
32948 * math/w_fmodl.c: Likewise.
32949 * math/w_j0.c: Likewise.
32950 * math/w_j0f.c: Likewise.
32951 * math/w_j0l.c: Likewise.
32952 * math/w_j1.c: Likewise.
32953 * math/w_j1f.c: Likewise.
32954 * math/w_j1l.c: Likewise.
32955 * math/w_jn.c: Likewise.
32956 * math/w_jnf.c: Likewise.
32957 * math/w_log.c: Likewise.
32958 * math/w_logf.c: Likewise.
32959 * math/w_logl.c: Likewise.
32960 * math/w_log10.c: Likewise.
32961 * math/w_log10f.c: Likewise.
32962 * math/w_log10l.c: Likewise.
32963 * math/w_log2.c: Likewise.
32964 * math/w_log2f.c: Likewise.
32965 * math/w_log2l.c: Likewise.
32966 * math/w_pow.c: Likewise.
32967 * math/w_powf.c: Likewise.
32968 * math/w_powl.c: Likewise.
32969 * math/w_remainder.c: Likewise.
32970 * math/w_remainderf.c: Likewise.
32971 * math/w_remainderl.c: Likewise.
32972 * math/w_scalb.c: Likewise.
32973 * math/w_scalbf.c: Likewise.
32974 * math/w_scalbl.c: Likewise.
32975 * math/w_sqrt.c: Likewise.
32976 * math/w_sqrtf.c: Likewise.
32977 * math/w_sqrtl.c: Likewise.
32978 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32979 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32980 used.
32981 * math/math_private.h: Declare __kernel_standard_f.
32982 * math/w_cosh.c: Remove cruft and optimize a bit.
32983 * math/w_coshf.c: Likewise.
32984 * math/w_coshl.c: Likewise.
32985 * math/w_exp2.c: Likewise.
32986 * math/w_exp2f.c: Likewise.
32987 * math/w_exp2l.c: Likewise.
32988 * math/w_hypot.c: Likewise.
32989 * math/w_hypotf.c: Likewise.
32990 * math/w_hypotl.c: Likewise.
32991 * math/w_lgamma.c: Likewise.
32992 * math/w_lgamma_r.c: Likewise.
32993 * math/w_lgammaf.c: Likewise.
32994 * math/w_lgammaf_r.c: Likewise.
32995 * math/w_lgammal.c: Likewise.
32996 * math/w_lgammal_r.c: Likewise.
32997 * math/w_sinh.c: Likewise.
32998 * math/w_sinhf.c: Likewise.
32999 * math/w_sinhl.c: Likewise.
33000 * math/w_tgamma.c: Likewise.
33001 * math/w_tgammaf.c: Likewise.
33002 * math/w_tgammal.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33005 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33006 Minor optimizations. Pretty printing. Remove cruft.
33007 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33008 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33009 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33010 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33011 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33012 * sysdeps/i386/fpu/e_asin.S: Likewise.
33013 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33014 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33015 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33016 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33017 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33018 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33019 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33020 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33021 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33022 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33023 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33024 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33025 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33026 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33027 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33028 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33029 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33030 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33031 * sysdeps/i386/fpu/e_log.S: Likewise.
33032 * sysdeps/i386/fpu/e_log10.S: Likewise.
33033 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33034 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33035 * sysdeps/i386/fpu/e_log2.S: Likewise.
33036 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33037 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33038 * sysdeps/i386/fpu/e_logf.S: Likewise.
33039 * sysdeps/i386/fpu/e_logl.S: Likewise.
33040 * sysdeps/i386/fpu/e_pow.S: Likewise.
33041 * sysdeps/i386/fpu/e_powf.S: Likewise.
33042 * sysdeps/i386/fpu/e_powl.S: Likewise.
33043 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33044 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33045 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33046 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33047 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33048 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33049 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33050 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33051 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33065 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33066 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33068 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33069 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33072 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33073 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33074 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33075 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33076 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33077 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33078 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33079 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33080 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33081 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33082 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33083 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33086 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33087 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33088 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33090 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33091 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33092 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33093 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33096 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33132 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33133 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33135 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33137 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33138 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33140 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33143 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33144 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33145 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33146 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33147 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33148 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33149 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33150 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33151 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33152 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33153 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33154 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33155 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33156 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33157 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33158 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33159 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33160 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33161 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33162 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33163 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33164 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33165 (__isnanf): Likewise.
33166 (__isinf_ns): Likewise.
33167 (__isinf_nsf): Likewise.
33168 (__finite): Likewise.
33169 (__finitef): Likewise.
33170 (__ieee754_sqrt): Define as macro.
33171 (__ieee754_sqrtf): Define as macro.
33172 (__ieee754_sqrtl): Define as macro.
33173 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33174 inlined copy.
33175 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33176 __FINITE_MATH_ONLY__ consistent.
33177 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33178
12cc2fcd
AS
331792011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33180
a843a204
AS
33181 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33182 of rawmemchr.
33183
12cc2fcd
AS
33184 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33185
c853acd5
UD
331862011-10-09 Ulrich Drepper <drepper@gmail.com>
33187
33188 * po/ja.po: Update from translation team.
33189
c658d255
RM
331902011-10-08 Roland McGrath <roland@hack.frob.com>
33191
110946e4
RM
33192 * locale/programs/locarchive.c (prepare_address_space): New function.
33193 (create_archive, enlarge_archive, open_archive): Use it.
33194
50604220
RM
33195 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33196 inside [SHARED], where it is used.
33197
c658d255
RM
33198 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33199
33200 * nss/getent.c (netgroup_keys): Remove unused variable.
33201 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33202
6a621eb7
UD
332032011-10-08 Ulrich Drepper <drepper@gmail.com>
33204
7edb55ce
UD
33205 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33206 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33208 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33209 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33210 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33211 * math/Makefile (libm-calls): Add s_isinf_ns.
33212 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33213 * math/multc3.c: Likewise.
33214 * math/s_casin.c: Likewise.
33215 * math/s_casinf.c: Likewise.
33216 * math/s_casinl.c: Likewise.
33217 * math/s_ccos.c: Likewise.
33218 * math/s_ccosf.c: Likewise.
33219 * math/s_ccosl.c: Likewise.
33220 * math/s_ctan.c: Likewise.
33221 * math/s_ctanf.c: Likewise.
33222 * math/s_ctanh.c: Likewise.
33223 * math/s_ctanhf.c: Likewise.
33224 * math/s_ctanhl.c: Likewise.
33225 * math/s_ctanl.c: Likewise.
33226 * math/w_fmod.c: Likewise.
33227 * math/w_fmodf.c: Likewise.
33228 * math/w_fmodl.c: Likewise.
33229 * math/w_remainder.c: Likewise.
33230 * math/w_remainderf.c: Likewise.
33231 * math/w_remainderl.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33233 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33234 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33236 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33237 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33238 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33239 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33240
187da0ae
UD
33241 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33242 of the number.
33243 * stdio-common/printf_fphex.c: Likewise.
33244 * stdio-common/printf_size.c: Likewise.
33245
9277c064
UD
33246 * math/e_exp10.c: Include math_private.h using <...> not "...".
33247 * math/e_exp10f.c: Likewise.
33248 * math/e_exp10l.c: Likewise.
33249 * math/e_exp2l.c: Likewise.
33250 * math/e_j0l.c: Likewise.
33251 * math/e_j1l.c: Likewise.
33252 * math/e_jnl.c: Likewise.
33253 * math/e_lgammal_r.c: Likewise.
33254 * math/e_rem_pio2l.c: Likewise.
33255 * math/e_scalb.c: Likewise.
33256 * math/e_scalbf.c: Likewise.
33257 * math/e_scalbl.c: Likewise.
33258 * math/k_cosl.c: Likewise.
33259 * math/k_sinl.c: Likewise.
33260 * math/k_tanl.c: Likewise.
33261 * math/s_cacoshf.c: Likewise.
33262 * math/s_catan.c: Likewise.
33263 * math/s_catanf.c: Likewise.
33264 * math/s_catanh.c: Likewise.
33265 * math/s_catanhf.c: Likewise.
33266 * math/s_catanhl.c: Likewise.
33267 * math/s_catanl.c: Likewise.
33268 * math/s_ccosh.c: Likewise.
33269 * math/s_ccoshf.c: Likewise.
33270 * math/s_ccoshl.c: Likewise.
33271 * math/s_cexp.c: Likewise.
33272 * math/s_cexpf.c: Likewise.
33273 * math/s_cexpl.c: Likewise.
33274 * math/s_clog.c: Likewise.
33275 * math/s_clog10.c: Likewise.
33276 * math/s_clog10f.c: Likewise.
33277 * math/s_clog10l.c: Likewise.
33278 * math/s_clogf.c: Likewise.
33279 * math/s_clogl.c: Likewise.
33280 * math/s_csin.c: Likewise.
33281 * math/s_csinf.c: Likewise.
33282 * math/s_csinh.c: Likewise.
33283 * math/s_csinhf.c: Likewise.
33284 * math/s_csinhl.c: Likewise.
33285 * math/s_csinl.c: Likewise.
33286 * math/s_csqrt.c: Likewise.
33287 * math/s_csqrtf.c: Likewise.
33288 * math/s_csqrtl.c: Likewise.
33289 * math/s_ctan.c: Likewise.
33290 * math/s_ctanf.c: Likewise.
33291 * math/s_ctanh.c: Likewise.
33292 * math/s_ctanhf.c: Likewise.
33293 * math/s_ctanhl.c: Likewise.
33294 * math/s_ctanl.c: Likewise.
33295 * math/s_ldexp.c: Likewise.
33296 * math/s_ldexpf.c: Likewise.
33297 * math/s_ldexpl.c: Likewise.
33298 * math/s_significand.c: Likewise.
33299 * math/s_significandf.c: Likewise.
33300 * math/s_significandl.c: Likewise.
33301 * math/w_acos.c: Likewise.
33302 * math/w_acosf.c: Likewise.
33303 * math/w_acosh.c: Likewise.
33304 * math/w_acoshf.c: Likewise.
33305 * math/w_acoshl.c: Likewise.
33306 * math/w_acosl.c: Likewise.
33307 * math/w_asin.c: Likewise.
33308 * math/w_asinf.c: Likewise.
33309 * math/w_asinl.c: Likewise.
33310 * math/w_atan2.c: Likewise.
33311 * math/w_atan2f.c: Likewise.
33312 * math/w_atan2l.c: Likewise.
33313 * math/w_atanh.c: Likewise.
33314 * math/w_atanhf.c: Likewise.
33315 * math/w_atanhl.c: Likewise.
33316 * math/w_cosh.c: Likewise.
33317 * math/w_coshf.c: Likewise.
33318 * math/w_coshl.c: Likewise.
33319 * math/w_dremf.c: Likewise.
33320 * math/w_exp10.c: Likewise.
33321 * math/w_exp10f.c: Likewise.
33322 * math/w_exp10l.c: Likewise.
33323 * math/w_exp2.c: Likewise.
33324 * math/w_exp2f.c: Likewise.
33325 * math/w_fmod.c: Likewise.
33326 * math/w_fmodf.c: Likewise.
33327 * math/w_fmodl.c: Likewise.
33328 * math/w_hypot.c: Likewise.
33329 * math/w_hypotf.c: Likewise.
33330 * math/w_hypotl.c: Likewise.
33331 * math/w_j0.c: Likewise.
33332 * math/w_j0f.c: Likewise.
33333 * math/w_j0l.c: Likewise.
33334 * math/w_j1.c: Likewise.
33335 * math/w_j1f.c: Likewise.
33336 * math/w_j1l.c: Likewise.
33337 * math/w_jn.c: Likewise.
33338 * math/w_jnf.c: Likewise.
33339 * math/w_jnl.c: Likewise.
33340 * math/w_lgamma.c: Likewise.
33341 * math/w_lgamma_r.c: Likewise.
33342 * math/w_lgammaf.c: Likewise.
33343 * math/w_lgammaf_r.c: Likewise.
33344 * math/w_lgammal.c: Likewise.
33345 * math/w_lgammal_r.c: Likewise.
33346 * math/w_log.c: Likewise.
33347 * math/w_log10.c: Likewise.
33348 * math/w_log10f.c: Likewise.
33349 * math/w_log10l.c: Likewise.
33350 * math/w_log2.c: Likewise.
33351 * math/w_log2f.c: Likewise.
33352 * math/w_log2l.c: Likewise.
33353 * math/w_logf.c: Likewise.
33354 * math/w_logl.c: Likewise.
33355 * math/w_pow.c: Likewise.
33356 * math/w_powf.c: Likewise.
33357 * math/w_powl.c: Likewise.
33358 * math/w_remainder.c: Likewise.
33359 * math/w_remainderf.c: Likewise.
33360 * math/w_remainderl.c: Likewise.
33361 * math/w_scalb.c: Likewise.
33362 * math/w_scalbf.c: Likewise.
33363 * math/w_scalbl.c: Likewise.
33364 * math/w_sinh.c: Likewise.
33365 * math/w_sinhf.c: Likewise.
33366 * math/w_sinhl.c: Likewise.
33367 * math/w_sqrt.c: Likewise.
33368 * math/w_sqrtf.c: Likewise.
33369 * math/w_sqrtl.c: Likewise.
33370 * math/w_tgamma.c: Likewise.
33371 * math/w_tgammaf.c: Likewise.
33372 * math/w_tgammal.c: Likewise.
33373
6a621eb7
UD
33374 * po/ja.po: Update from translation team.
33375
bf582445
AJ
333762011-09-29 Andreas Jaeger <aj@suse.de>
33377
f9efbf3a
AJ
33378 [BZ #13179]
33379 * sunrpc/netname.c (netname2host): Fix logic.
33380
bf582445
AJ
33381 [BZ #6779]
33382 [BZ #6783]
33383 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33384 correctly.
33385 * math/w_remainder.c (__remainder): Likewise.
33386 * math/w_remainderf.c (__remainderf): Likewise.
33387 * math/libm-test.inc (remainder_test): Add test cases.
33388
48693bea
AK
333892011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33390
33391 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33392 sdiv_qrnnd.
33393
42622229
LD
333942011-10-07 Ulrich Drepper <drepper@gmail.com>
33395
33396 * string/test-memcmp.c: Avoid unncessary #defines.
33397 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33398
093ecf92
LD
333992011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33400
33401 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33402 Use new sse2 version for core i3 - i7 as it's faster
33403 than sse42 version.
33404 (bit_Prefer_PMINUB_for_stringop): New.
33405 * sysdeps/x86_64/rawmemchr.S: Update.
33406 Replace with faster SSE2 version.
33407 * sysdeps/x86_64/memrchr.S: New file.
33408 * sysdeps/x86_64/memchr.S: Update.
33409 Replace with faster SSE2 version.
33410
fde56e5c
MP
334112011-09-12 Marek Polacek <mpolacek@redhat.com>
33412
33413 * elf/dl-load.c (lose): Add cast to avoid warning.
33414
21fd49a9
UD
334152011-10-07 Ulrich Drepper <drepper@gmail.com>
33416
5a06e643
UD
33417 * po/ca.po: Update from translation team.
33418
684ae515
UD
33419 * inet/getnetgrent_r.c: Hook up nscd.
33420 * nscd/Makefile (routines): Add nscd_netgroup.
33421 (nscd-modules): Add netgroupcache.
33422 (CFLAGS-netgroupcache.c): Define.
33423 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33424 (cache_search): Add const to second parameter.
33425 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33426 INNETGR.
33427 (dbs): Add netgrdb entry.
33428 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33429 (verify_persistent_db): Handle netgrdb.
33430 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33431 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33432 GETFDNETGR.
33433 (netgroup_response_header): Define.
33434 (innetgroup_response_header): Define.
33435 (datahead): Add netgroup_response_header and innetgroup_response_header
33436 elements.
33437 * nscd/nscd.conf: Add entries for netgroup cache.
33438 * nscd/nscd.h (dbtype): Add netgrdb.
33439 (_PATH_NSCD_NETGROUP_DB): Define.
33440 (netgroup_iov_disabled): Declare.
33441 (xmalloc, xcalloc, xrealloc): Move declarations here.
33442 (cache_search): Adjust prototype.
33443 Add netgroup-related prototypes.
33444 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33445 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33446 (__nscd_innetgr): Declare.
33447 * nscd/selinux.c (perms): Use access_vector_t as element type and
33448 add netgroup-related initializers.
33449 * nscd/netgroupcache.c: New file.
33450 * nscd/nscd_netgroup.c: New file.
33451 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33452 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33453 For four parameters use innetgr.
33454 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33455 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33456 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33457 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33458
21fd49a9
UD
33459 * nscd/connections.c (register_traced_file): Don't register file
33460 for disabled databases.
33461
054c0457
UD
334622011-10-06 Ulrich Drepper <drepper@gmail.com>
33463
32b63198
UD
33464 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33465
054c0457
UD
33466 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33467 from tree and freeing node.
33468
64031225
JO
334692011-09-25 Jiri Olsa <jolsa@redhat.com>
33470
33471 * nss/nsswitch.c (__nss_database_lookup): Handle
33472 nss_parse_service_list out of memory case.
33473
0490345c
JO
334742011-09-15 Jiri Olsa <jolsa@redhat.com>
33475
33476 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33477 out of memory case.
33478
3a62d00d
AS
334792011-10-04 Andreas Schwab <schwab@redhat.com>
33480
33481 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33482 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33483 pass it down.
33484 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33485 elf_machine_rela, elf_machine_lazy_rel.
33486 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33487 (ELF_DYNAMIC_DO_REL): Likewise.
33488 (ELF_DYNAMIC_DO_RELA): Likewise.
33489 (ELF_DYNAMIC_RELOCATE): Likewise.
33490 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33491 to ELF_DYNAMIC_DO_REL.
33492 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33493 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33494 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33495 elf_machine_rela.
33496 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33497 skip_ifunc, don't call ifunc function if non-zero.
33498 (elf_machine_rela): Likewise.
33499 (elf_machine_lazy_rel): Likewise.
33500 (elf_machine_lazy_rela): Likewise.
33501 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33502 (elf_machine_lazy_rel): Likewise.
33503 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33504 Likewise.
33505 (elf_machine_lazy_rel): Likewise.
33506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33507 Likewise.
33508 (elf_machine_lazy_rel): Likewise.
33509 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33510 (elf_machine_lazy_rel): Likewise.
33511 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33512 (elf_machine_lazy_rel): Likewise.
33513 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33514 (elf_machine_lazy_rel): Likewise.
33515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33516 (elf_machine_lazy_rel): Likewise.
33517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33518 (elf_machine_lazy_rel): Likewise.
33519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33520 (elf_machine_lazy_rel): Likewise.
33521
68577918
UD
335222011-09-28 Ulrich Drepper <drepper@gmail.com>
33523
33524 * nss/nss_files/files-init.c (_nss_files_init): Use static
33525 initialization for all the *_traced_file variables.
33526
68822d74
AS
335272011-09-28 Andreas Schwab <schwab@redhat.com>
33528
33529 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33530
2056100b
RM
335312011-09-27 Roland McGrath <roland@hack.frob.com>
33532
33533 [BZ #13226]
33534 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33535
32c76b63
AS
335362011-09-27 Andreas Schwab <schwab@redhat.com>
33537
33538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33539 Reread the line before reparsing it.
33540
bf972c9d
AS
335412011-09-26 Andreas Schwab <schwab@redhat.com>
33542
33543 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33544
e057a1b5
JM
335452011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33546 Maxim Kuvyrkov <maxim@codesourcery.com>
33547 Joseph Myers <joseph@codesourcery.com>
33548
33549 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33550 if needed for __stack_chk_guard.
33551
bc7e1c36
RM
335522011-09-19 Roland McGrath <roland@hack.frob.com>
33553
ecb1482f
RM
33554 * sysdeps/posix/spawni.c (script_execute): Always define it.
33555 It will be optimized away if unused.
33556 (maybe_script_execute): New function.
33557 (__spawni): Call it.
33558
bc7e1c36
RM
33559 * Makerules: Don't include tls.make.
33560 (config-tls): Always set to thread.
33561 * tls.make.c: File removed.
33562
1c3b002b
MF
335632011-09-19 Mike Frysinger <vapier@gentoo.org>
33564
33565 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33566 * config.make.in (CPPFLAGS-config): New substituted variable.
33567
2840865d
UD
335682011-09-15 Ulrich Drepper <drepper@gmail.com>
33569
88738eb6
UD
33570 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33571
cbf645a6 33572 [BZ #13192]
2840865d
UD
33573 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33574 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33575
b402e91a
RM
335762011-09-15 Roland McGrath <roland@hack.frob.com>
33577
33578 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33579 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33581 (CALL_FAIL): Likewise.
33582 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33583 (CALL_FAIL): Macro removed.
33584 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33585
4c1a1f71
UD
335862011-09-15 Ulrich Drepper <drepper@gmail.com>
33587
33588 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33589 for __FINITE_MATH_ONLY__ == 1.
33590
edc121be
AS
335912011-09-15 Andreas Schwab <schwab@redhat.com>
33592
33593 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33594 __ieee754_sqrt instead of sqrt.
33595 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33596 __ieee754_sqrtf instead of sqrtf.
33597 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33598 __floorf instead of floorf.
33599 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33600 __floorf, __truncf instead of floorf, truncf.
33601
cd205654
UD
336022011-09-14 Ulrich Drepper <drepper@gmail.com>
33603
ee4d0315
UD
33604 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33605
cd205654
UD
33606 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33607 __extern_always_inline.
33608 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33609 32-bit.
33610
48b67d71
AS
336112011-09-14 Andreas Schwab <schwab@redhat.com>
33612
33613 * elf/rtld.c (dl_main): Also relocate in dependency order when
33614 doing symbol dependency testing.
33615
1ae12c75
AS
336162011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33617
33618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33619 Always define `refsym'.
33620
995a80df
AS
336212011-09-13 Andreas Schwab <schwab@redhat.com>
33622
e529793b
AS
33623 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33624 (__FD_ELT): Renamed from __FDELT.
33625 * misc/bits/select2.h (__FD_ELT): Likewise.
33626 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33627 __FD_MASK instead of __FDELT, __FDMASK.
33628 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33629 Likewise.
33630 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33631 Likewise.
33632
52d4fef8
AS
33633 * elf/Makefile (gen-ldd): Fix pattern.
33634
995a80df
AS
33635 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33636 (init_tls): Likewise.
33637
8682f8b0
UD
336382011-09-12 Ulrich Drepper <drepper@gmail.com>
33639
33640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33641
de82006d
AS
336422011-09-12 Andreas Schwab <schwab@redhat.com>
33643
a7c8e6a1
AS
33644 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33645 `struct cmsghdr *' instead of `void *'.
33646 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33647 Likewise.
33648
0f31fe77
AS
336492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33650
33651 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33652 if non-absolute.
33653 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33654 ldd_rewrite_script.
0f31fe77 33655
32b4c839
UD
336562011-09-11 Ulrich Drepper <drepper@gmail.com>
33657
83cd1420
UD
33658 * configure.in: Remove --with-tls option.
33659 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33660 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33661 out in case it is missing.
33662 * sysdeps/ia64/elf/configure.in: Likewise.
33663 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33664 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33665 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33666 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33667 * sysdeps/sh/elf/configure.in: Likewise.
33668 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33669 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33670 * sysdeps/x86_64/elf/configure.in: Likewise.
33671 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33672 * sysdeps/mach/hurd/tls.h: Likewise.
33673
633f745d
UD
33674 [BZ #13067]
33675 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33676
f318beb8
UD
33677 [BZ #13090]
33678 * configure.in: Fix use of AC_INIT.
33679
32b4c839
UD
33680 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33681
3ce1f295
UD
336822011-09-10 Ulrich Drepper <drepper@gmail.com>
33683
bb016596
UD
33684 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33685 __set_errno.
8e58439c
UD
33686 * malloc/hooks.c: Likewise.
33687
aebae053 33688 [BZ #11929]
02d46fc4
UD
33689 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33690 variables statically.
33691 (narenas): Initialize.
33692 (list_lock): Initialize.
bb016596
UD
33693 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33694 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33695 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33696 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33697 Add initializers to main_arena and mp_.
33698 (malloc_state): Remove pagesize member. Change all users to use
33699 GLRO(dl_pagesize).
33700
33701 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33702 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33703 is always initialized.
33704
22a89187
UD
33705 * malloc/malloc.c: Removed unused configurations and dead code.
33706 * malloc/arena.c: Likewise.
33707 * malloc/hooks.c: Likewise.
02d46fc4 33708 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33709
d063d164
UD
33710 * include/tls.h: Removed. USE___THREAD must always be defined.
33711 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33712 * elf/dl-libc.c: Likewise.
33713 * elf/dl-tsd.c: Likewise.
33714 * include/errno.h: Likewise.
33715 * include/netdb.h: Likewise.
33716 * include/resolv.h: Likewise.
33717 * inet/herrno-loc.c: Likewise.
33718 * inet/herrno.c: Likewise.
33719 * malloc/arena.c: Likewise.
33720 * malloc/hooks.c: Likewise.
33721 * malloc/malloc.c: Likewise.
33722 * resolv/res-state.c: Likewise.
33723 * resolv/res_libc.c: Likewise.
33724 * sysdeps/i386/dl-machine.h: Likewise.
33725 * sysdeps/ia64/dl-machine.h: Likewise.
33726 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33727 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33728 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33729 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33730 * sysdeps/sh/dl-machine.h: Likewise.
33731 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33732 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33733 * sysdeps/unix/i386/sysdep.S: Likewise.
33734 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33735 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33739 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33740 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33741 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33744 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33745 * sysdeps/x86_64/dl-machine.h: Likewise.
33746 * tls.make.c: Likewise.
33747
3ce1f295
UD
33748 * configure.in: Remove --with-__thread option. Make tests for
33749 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33750 tls_model attribute fail if no support is available. Remove
33751 USE_IN_LIBIO.
33752 * Makeconfig: Adjust for dropped configure option. All features are
33753 now mandatory.
33754 * Makerules: Likewise.
33755 * Versions.def: Likewise.
33756 * argp/argp-fmtstream.c: Likewise.
33757 * argp/argp-fmtstream.h: Likewise.
33758 * argp/argp-help.c: Likewise.
33759 * assert/assert.c: Likewise.
33760 * config.h.in: Likewise.
33761 * config.make.in: Likewise.
33762 * configure: Likewise.
33763 * configure.in: Likewise.
33764 * csu/Versions: Likewise.
33765 * csu/init.c: Likewise.
33766 * elf/tst-audit2.c: Likewise.
33767 * elf/tst-tls10.c: Likewise.
33768 * elf/tst-tls10.h: Likewise.
33769 * elf/tst-tls11.c: Likewise.
33770 * elf/tst-tls12.c: Likewise.
33771 * elf/tst-tls14.c: Likewise.
33772 * elf/tst-tlsmod11.c: Likewise.
33773 * elf/tst-tlsmod12.c: Likewise.
33774 * elf/tst-tlsmod13.c: Likewise.
33775 * elf/tst-tlsmod13a.c: Likewise.
33776 * elf/tst-tlsmod14a.c: Likewise.
33777 * elf/tst-tlsmod15b.c: Likewise.
33778 * elf/tst-tlsmod16a.c: Likewise.
33779 * elf/tst-tlsmod16b.c: Likewise.
33780 * elf/tst-tlsmod7.c: Likewise.
33781 * elf/tst-tlsmod8.c: Likewise.
33782 * elf/tst-tlsmod9.c: Likewise.
33783 * gmon/gmon.c: Likewise.
33784 * grp/fgetgrent_r.c: Likewise.
33785 * grp/putgrent.c: Likewise.
33786 * hurd/fopenport.c: Likewise.
33787 * include/libc-symbols.h: Likewise.
33788 * include/tls.h: Likewise.
33789 * intl/gettextP.h: Likewise.
33790 * intl/loadinfo.h: Likewise.
33791 * locale/global-locale.c: Likewise.
33792 * locale/localeinfo.h: Likewise.
33793 * mach/devstream.c: Likewise.
33794 * malloc/arena.c: Likewise.
33795 * malloc/set-freeres.c: Likewise.
33796 * misc/err.c: Likewise.
33797 * misc/getttyent.c: Likewise.
33798 * misc/mntent_r.c: Likewise.
33799 * posix/getopt.c: Likewise.
33800 * posix/wordexp.c: Likewise.
33801 * pwd/fgetpwent_r.c: Likewise.
33802 * resolv/Versions: Likewise.
33803 * resolv/res_hconf.c: Likewise.
33804 * shadow/fgetspent_r.c: Likewise.
33805 * shadow/putspent.c: Likewise.
33806 * stdio-common/printf_fphex.c: Likewise.
33807 * stdio-common/tmpfile.c: Likewise.
33808 * stdlib/abort.c: Likewise.
33809 * stdlib/fmtmsg.c: Likewise.
33810 * sunrpc/auth_unix.c: Likewise.
33811 * sunrpc/clnt_perr.c: Likewise.
33812 * sunrpc/clnt_tcp.c: Likewise.
33813 * sunrpc/clnt_udp.c: Likewise.
33814 * sunrpc/clnt_unix.c: Likewise.
33815 * sunrpc/openchild.c: Likewise.
33816 * sunrpc/svc_simple.c: Likewise.
33817 * sunrpc/svc_tcp.c: Likewise.
33818 * sunrpc/svc_udp.c: Likewise.
33819 * sunrpc/svc_unix.c: Likewise.
33820 * sunrpc/xdr.c: Likewise.
33821 * sunrpc/xdr_array.c: Likewise.
33822 * sunrpc/xdr_rec.c: Likewise.
33823 * sunrpc/xdr_ref.c: Likewise.
33824 * sunrpc/xdr_stdio.c: Likewise.
33825
1248c1c4
PB
338262011-09-09 Ulrich Drepper <drepper@gmail.com>
33827
33828 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33829
338302011-07-03 Andreas Jaeger <aj@suse.de>
33831
33832 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33833 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33834 regenerate with gen-libm-tests.pl.
33835
338362010-05-12 Petr Baudis <pasky@suse.cz>
33837
33838 [BZ #11589]
33839 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33840 around j0() zero points by switching to j1().
33841 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33845
f22e1074
UD
338462011-09-09 Ulrich Drepper <drepper@gmail.com>
33847
f19009c1
UD
33848 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33849 instead of 0.
33850 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33851 instead of 0.
f19009c1
UD
33852 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33853 Patch in part by Pavel Roskin <proski@gnu.org>.
33854
3f8cc204
UD
33855 [BZ #13138]
33856 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33857 realloc.
33858 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33859 Free memory block if necessary.
33860
f22e1074
UD
33861 [BZ #12847]
33862 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33863 be NULL. Don't lock in this case.
33864
0a2349f9
RM
338652011-09-09 Roland McGrath <roland@hack.frob.com>
33866
33867 * elf/elf.h (ELFOSABI_GNU): New macro.
33868 (ELFOSABI_LINUX): Define to that.
33869
f3cdd467
DZ
338702011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33871
33872 * string/strncat.c (strncat): Undef the symbol in case it has been
33873 defined in bits/string.h.
33874
74718d13
UD
338752011-09-09 Ulrich Drepper <drepper@gmail.com>
33876
633e9e0f
UD
33877 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33878
0a2349f9 33879 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33880 link map.
33881
f9924780
AJ
338822011-08-17 Andreas Jaeger <aj@suse.de>
33883
33884 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33885
7f5517aa
PP
338862011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33887 Ian Lance Taylor <iant@google.com>
33888
33889 * math/libm-test.inc (lround_test): New testcase.
33890 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33891
762011fe
UD
338922011-09-08 Ulrich Drepper <drepper@gmail.com>
33893
92963737
UD
33894 * Makefile: Remove support for automatic cvs check-ins.
33895 * Makerules: Likewise.
33896 * config.make.in: Likewise.
33897 * configure.in: Likewise.
33898 * intl/Makefile: Likewise.
33899 * locale/Makefile: Likewise.
33900 * po/Makefile: Likewise.
33901 * posix/Makefile: Likewise.
33902 * sysdeps/gnu/Makefile: Likewise.
33903 * sysdeps/mach/hurd/Makefile: Likewise.
33904 * sysdeps/sparc/sparc32/Makefile: Likewise.
33905
b0727fd8
JS
33906 [BZ #13118]
33907 * posix/Makefile (bug-regex32-ENV): Define.
33908 Patch by John Stanley <jpsinthemix@verizon.net>.
33909
a0f33f99
UD
33910 * misc/Makefile (headers): Add bits/select2.h.
33911 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33912 * misc/bits/select2.h: New file.
33913 * include/bits/select2.h: New file.
33914 * debug/Makefile (routines): Add fdelt_chk.
33915 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33916 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33917 FD_ISSET.
33918 * debug/fdelt_chk.c: New file.
33919
762011fe
UD
33920 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33921 * wcsmbs/test-wmemcmp.c: Likewise.
33922 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33923 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33924
339252011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33926
33927 * string/Makefile (strop-tests): Add memcmp.
33928 * string/test-wmemcmp.c: New file.
33929 * string/test-memcmp.c: Add wmemcmp support.
33930
7f513ec8
RM
339312011-09-08 Roland McGrath <roland@hack.frob.com>
33932
0442afb4
RM
33933 [BZ #13153]
33934 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33935 2011-07-19 change.
33936
7f513ec8
RM
33937 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33938 garbage value in a __mach_port_mod_refs call in the cases of the
33939 task-self and thread-self ports.
33940
a12b2239
ST
339412011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33942
33943 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33944
610f9ab4
AS
339452011-09-08 Andreas Schwab <schwab@redhat.com>
33946
7f513ec8 33947 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33948
48882a1a
LD
339492011-09-07 Ulrich Drepper <drepper@gmail.com>
33950
b49865be
UD
33951 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33952
fdc86bc9
UD
33953 * elf/dl-libc.c (dlerror_run): Pass back error code from
33954 dl_catch_error.
33955
c966526a
UD
33956 [BZ #13123]
33957 * elf/dl-load.c (lose): Free l_origin if it is valid.
33958
48882a1a
LD
33959 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33960 names.
33961 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33962 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33963 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33964 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33965 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33966 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33967
77a2a8b4
AZ
339682011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33969
33970 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33971 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33972 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33973 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33974 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33975 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33976 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33977 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33978 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33979 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33980
24f579d8
AM
339812011-08-15 Alan Modra <amodra@gmail.com>
33982
33983 [BZ #13092]
33984 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33985 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33986 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33987 ppc_mcount to static-only-routines.
33988 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33989 __mcount_internal.
33990 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33991 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33992
3d4837df
UD
339932011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33994
33995 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33996 for finite and infinity parameters.
33997
22700377
WS
339982011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33999
34000 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34001 and add nop instructions for throughput optimization.
34002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34003
5025581e
WS
340042011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34005
34006 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34007 aligned copy for power7 with vector-scalar instructions.
34008 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34009
08a300c9
L
340102011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34011
34012 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34013 AVX check.
34014
59178ef9
AS
340152011-09-07 Andreas Schwab <schwab@redhat.com>
34016
34017 [BZ #13144]
34018 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34019 last change.
34020
e38ba7ab
UD
340212011-09-07 Ulrich Drepper <drepper@gmail.com>
34022
34023 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34024 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34025 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34026 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34027 clock_gettime.
34028
d53a73ac
UD
340292011-09-06 Ulrich Drepper <drepper@gmail.com>
34030
fc8bffcc
UD
34031 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34032 Forgot to demangle the pointer.
34033
ceaa0c5d
UD
34034 * sysdeps/i386/sysdep.h: Define atom_text_section.
34035 * sysdeps/x86_64/sysdep.h: Likewise.
34036 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34037 section with atom_text_section.
34038 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34039 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34040 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34042 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34043
a77d3c17
UD
34044 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34045 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34046 already be defined. Change to take two parameters and don't assign
34047 result to variable. Adjust all users.
34048 Define INTERNAL_GETTIME if not already defined.
34049 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34050 call.
34051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34052 HAVE_CLOCK_GETTIME_VSYSCALL.
34053 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34054
d53a73ac
UD
34055 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34056 gettimeofday vsyscall, just use time.
34057
a8f84144
AS
340582011-09-06 Andreas Schwab <schwab@redhat.com>
34059
34060 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34061 <errno.h>.
34062
ef606249
UD
340632011-09-06 Ulrich Drepper <drepper@gmail.com>
34064
34065 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34066 syscall on x86-64.
34067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34068 syscall.
34069 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34070 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34071 syscall if possible.
34072
6585cb60
UD
340732011-09-05 Ulrich Drepper <drepper@gmail.com>
34074
34075 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34076 e_ident. Don't pass to find_mapsXX.
34077 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34078
a5f524e4
LD
340792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34080
34081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34082 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34083 * sysdeps/x86_64/multiarch/strchr.S: Update.
34084 Check bit_slow_BSF bit.
34085 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34086 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34087 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34088
554881ef
UD
340892011-09-05 Ulrich Drepper <drepper@gmail.com>
34090
d96de963
UD
34091 [BZ #13134]
34092 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34093 before glibc 2.15.
34094 (tryshell): Define.
34095 (__spawni): Change last parameter to be flag. Test
34096 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34097 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34098 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34099 * posix/spawni.c: Likewise.
34100 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34101 * posix/spawnp.c: Likewise. Change normal version to use
34102 SPAWN_XFLAGS_USE_PATH.
34103 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34104 SPAWN_XFLAGS_TRY_SHELL.
34105
d48e5868
UD
34106 [BZ #13150]
34107 * posix/glob.h: Remove gcc 1.x support.
34108
554881ef
UD
34109 [BZ #13068]
34110 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34111
693fb948
LD
341122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34113
34114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34115 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34116 strrchr-sse2-bsf
34117 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34118 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34119 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34120 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34121 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34123
1b48c537
UD
341242011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34125
49d42c37
UD
34126 * sysdeps/x86_64/wcscmp.S: New file.
34127
1b48c537
UD
34128 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34129 wcscmp-c wcscmp-sse2
34130 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34131 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34132 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34133 * wcsmbs/wcscmp.c: Allow renaming.
34134
15c95c5d
DM
341352011-09-05 David S. Miller <davem@davemloft.net>
34136
34137 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34138 stack slot, rather than the struct return pointer slot.
34139 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34140 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34142 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34143
2f0ad8f3
UD
341442011-09-05 Ulrich Drepper <drepper@gmail.com>
34145
d88ae418
UD
34146 * po/ja.po: Update from translation team.
34147
2f0ad8f3
UD
34148 [BZ #13144]
34149 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34150 kernel in 64-bit binaries.
34151
5f4318d1
DM
341522011-09-01 David S. Miller <davem@davemloft.net>
34153
34154 * elf/elf.h (HWCAP_SPARC_*): Move to..
34155 * sysdeps/sparc/sysdep.h: this new file and add new values.
34156 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34157 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34158 _DL_HWCAP_COUNT to 24.
34159 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34160 entries.
34161 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34162 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34163 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34165 instead of magic constants.
34166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34167
3ba57516
DM
341682011-08-31 David S. Miller <davem@davemloft.net>
34169
34170 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34172 Reimplement to do errno handling inline.
34173 (SYSCALL_ERROR_HANDLER): New macro.
34174 (__SYSCALL_STRING): Do not do errno handling in asm.
34175 (__CLONE_SYSCALL_STRING): Delete.
34176 (__INTERNAL_SYSCALL_STRING): Delete.
34177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34178 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34179 (PSEUDO): Reimplement to do errno handling inline.
34180 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34181 (SYSCALL_ERROR_HANDLER): New macro.
34182 (__SYSCALL_STRING): Do not do errno handling in asm.
34183 (__CLONE_SYSCALL_STRING): Delete.
34184 (__INTERNAL_SYSCALL_STRING): Delete.
34185 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34186 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34187 i386.
34188 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34189 (inline_syscall*): Add 'err' argument.
34190 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34191 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34192 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34193 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34194
34195 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34196 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34197
2bc17433
AS
341982011-08-30 Andreas Schwab <schwab@redhat.com>
34199
34200 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34201
fbeb5f4d
JO
342022011-08-29 Jiri Olsa <jolsa@redhat.com>
34203
34204 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34205 directive.
34206
ad69cc26
DM
342072011-08-24 David S. Miller <davem@davemloft.net>
34208
34209 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34210
39dd69df
AS
342112011-08-24 Andreas Schwab <schwab@redhat.com>
34212
34213 * elf/Makefile: Add rules to build and run unload8 test.
34214 * elf/unload8.c: New file.
34215 * elf/unload8mod1.c: New file.
34216 * elf/unload8mod1x.c: New file.
34217 * elf/unload8mod2.c: New file.
34218 * elf/unload8mod3.c: New file.
34219
34220 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34221 it wasn't used.
34222
2c0b250a
DM
342232011-08-23 David S. Miller <davem@davemloft.net>
34224
34225 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34226 subtract stack bias.
34227 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34228 %sp not %fp in calculations.
34229 (_JMPBUF_UNWINDS_ADJ): Likewise.
34230
22044b48
DM
34231 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34232 (aio_suspend): Call it to force an exception region around the
34233 AIO_MISC_WAIT() invocation.
34234
2cae4995
AS
342352011-08-23 Andreas Schwab <schwab@redhat.com>
34236
34237 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34238 backslash.
34239
873a772e
AJ
342402011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34241
34242 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34243 protection macro.
34244 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34245 and <dl-machine.h>.
34246 (Elf64_FuncDesc): Remove.
34247
25ad0df1
DM
342482011-08-22 David S. Miller <davem@davemloft.net>
34249
34250 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34251 sigaltstack check, add missing cfi directives.
34252 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34253 missing cfi directives, and sigaltstack handling.
34254
e888bcbe
AS
342552011-08-16 Andreas Schwab <schwab@redhat.com>
34256
34257 [BZ #11724]
34258 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34259 object is seen twice.
34260 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34261
34262 * elf/Makefile (distribute): Add tst-initorder2.c.
34263 (tests): Add tst-initorder2.
34264 (modules-names): Add tst-initorder2a tst-initorder2b
34265 tst-initorder2c tst-initorder2d. Add rules to build them.
34266 ($(objpfx)tst-initorder2.out): New rule.
34267 * elf/tst-initorder2.c: New file.
34268 * elf/tst-initorder2.exp: New file.
34269
87162f46
AS
342702011-08-22 Andreas Schwab <schwab@redhat.com>
34271
70538b7f
AS
34272 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34273
f55ffe58
AS
34274 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34275 dependencies back to end of function.
34276
87162f46
AS
34277 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34278 $(elfobjdir)/ld.so.
34279
91b392a4
UD
342802011-08-21 Ulrich Drepper <drepper@gmail.com>
34281
34282 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34283 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34285 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34286 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34287 of __vdso_gettimeofday.
34288 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34289 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34290 attribute_hidden.
34291 (_libc_vdso_platform_setup): Remove initialization of
34292 __vdso_gettimeofday and __vdso_time.
34293
5c43483f
UD
342942011-08-20 Ulrich Drepper <drepper@gmail.com>
34295
775a77e7
UD
34296 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34297 and fgetc_unlocked.
34298 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34299 getc_unlocked.
89f447ed 34300
49c74ba9
UD
34301 * elf/dl-open.c (add_to_global): Report additions to the global scope
34302 for LD_DEBUG=scopes.
34303 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34304 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34305
5c43483f
UD
34306 [BZ #13114]
34307 * stdio-common/Makefile (tests): Add bug24.
34308 * stdio-common/bug24.c: New file.
34309
a101b025
AJ
343102011-08-19 Andreas Jaeger <aj@suse.de>
34311
34312 [BZ #13114]
34313 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34314 non-existant file when using close-on-exec mode.
34315
c88f1766
UD
343162011-08-20 Ulrich Drepper <drepper@gmail.com>
34317
0276a718
UD
34318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34319 the very first instruction.
34320
c88f1766
UD
34321 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34322 the CFI state in the end.
34323 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34324 inclusion of dl-trampoline.h.
34325 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34326
51ccffa0
AS
343272011-08-19 Andreas Schwab <schwab@redhat.com>
34328
94d7165f
AS
34329 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34330 expectations for long double.
34331
51ccffa0
AS
34332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34333 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34334
fd708658 343352011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34336
34337 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34338 artificual limit depends upon the system page size.
34339
44f0a71e
UD
343402011-08-17 Ulrich Drepper <drepper@gmail.com>
34341
34342 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34343 * resolv/Makefile: Define CFLAGS-libresolv.
34344
8de79a24
AS
343452011-08-17 Andreas Schwab <schwab@redhat.com>
34346
34347 * nss/makedb.c (compute_tables): Make variables used in nested
34348 function static.
34349
27724598
UD
343502011-08-17 Ulrich Drepper <drepper@gmail.com>
34351
c5305d88
UD
34352 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34353 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34354 if buffer was too small.
34355
27724598
UD
34356 * elf/pldd.c (main): Attach to all threads in the process.
34357 Rewrite /proc handling to use *at functions.
34358
076fe015
UD
343592011-08-16 Ulrich Drepper <drepper@gmail.com>
34360
174baab3
UD
34361 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34362 specifies first scope to show.
34363 (dl_open_worker): Update callers. Move printing scope of new
34364 object to before the relocation.
44f0a71e 34365 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34366 * sysdeps/generic/ldsodefs.h: Update declaration.
34367
076fe015
UD
34368 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34369 string for the scope number.
34370
a60df2c3
UD
343712011-08-14 Ulrich Drepper <drepper@gmail.com>
34372
34373 * nscd/servicescache.c (cache_addserv): Make sure written is always
34374 initialized.
34375
5e4287d1
RM
343762011-08-14 Roland McGrath <roland@hack.frob.com>
34377
85ae0589
RM
34378 * sysdeps/i386/i486/bits/atomic.h
34379 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34380 statement expression, so as to suppress "set but not used" warning.
34381 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34382
69f63097
RM
34383 * string/strncat.c (STRNCAT): Use prototype definition.
34384
675456ef
RM
34385 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34386 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34387 -Iprograms here.
34388 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34389 (localedef-modules): Add localedef.
34390 (locale-modules): Add locale.
34391
5e4287d1
RM
34392 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34393 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34394 to avoid a warning.
34395
9c96ff23
DM
343962011-08-14 David S. Miller <davem@davemloft.net>
34397
34398 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34399 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34400
f9ddf089
UD
344012011-08-13 Ulrich Drepper <drepper@gmail.com>
34402
44f0a71e 34403 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34404 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34405 * elf/rtld.c (dl_main): Set l_name of vDSO.
34406 Call _dl_show_scope when DL_DEBUG_SCOPES.
34407 (process_dl_debug): Recognize scopes flag and also set it for all.
34408 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34409 Declare _dl_show_scope.
34410
1dc27704
UD
34411 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34412 (do_dlopen): Pass caller_dlopen to dl_open.
34413 (__libc_dlopen_mode): Initialize caller_dlopen.
34414
f9ddf089
UD
34415 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34416 of libc. Make tolower call locale-independent. Optimize a bit by
34417 using isdigit instead of isalnum.
34418 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34419
9ac533d3
UD
344202011-08-12 Ulrich Drepper <drepper@gmail.com>
34421
34422 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34423 was a dependency or dynamically loaded.
34424
89edf2e9
UD
344252011-08-11 Ulrich Drepper <drepper@gmail.com>
34426
8e999d29
UD
34427 * intl/l10nflist.c: Allow architecture-specific pop function.
34428 * sysdeps/x86_64/l10nflist.c: New file.
34429
89edf2e9
UD
34430 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34431 classification.
34432
14d96785
AS
344332011-08-10 Andreas Schwab <schwab@redhat.com>
34434
34435 * include/dirent.h: Add libc_hidden_proto for scandirat and
34436 scandirat64. Don't declare __scandirat64.
34437 * dirent/scandirat.c: Add libc_hidden_def.
34438 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34439 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34440
6761ac04
DM
344412011-08-10 David S. Miller <davem@davemloft.net>
34442
34443 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34444 enum.
34445 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34446 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34447 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34448
c55fbd1e
UD
344492011-08-09 Ulrich Drepper <drepper@gmail.com>
34450
34451 * Versions.def [libc]: Add GLIBC_2.15.
34452 * dirent/Makefile (routines): Add scandirat and scandirat64.
34453 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34454 GLIBC_2.15.
34455 * dirent/dirent.h: Declare scandirat and scandirat64.
34456 * dirent/scandirat.c: New file.
34457 * dirent/scandirat64.c: New file.
34458 * sysdeps/wordsize-64/scandirat.c: New file.
34459 * sysdeps/wordsize-64/scandirat64.c: New file.
34460 * dirent/opendir.c: Define opendirat.
34461 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34462 using scandirat.
34463 * dirent/scandir64.c: Adjust for scandir.c change.
34464 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34465 __scandirat64, and __scandir_cancel_handler.
34466 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34467 additional parameter and use openat instead of open (outside of ld.so).
34468 Add new __opendir as wrapper around __opendirat.
34469 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34470 here without requiring old scandirat implementation.
34471
879165f2
UD
344722011-08-08 Ulrich Drepper <drepper@gmail.com>
34473
34474 * dirent/scandir.c (cancel_handler): Renamed to
34475 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34476 defined. Adjust users.
34477 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34478 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34479
cb7e923b
UD
344802011-08-04 Ulrich Drepper <drepper@gmail.com>
34481
16292edd
UD
34482 * string/test-string.h (IMPL): Use __STRING to expand name and then
34483 stringify it.
34484
cb7e923b
UD
34485 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34486 of cleanups.
34487
cff82933
LD
344882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34489
34490 * string/Makefile: Update.
34491 (strop-tests): Append strncat.
34492 * string/test-wcscmp.c: New file.
34493 New comprehensive test for wcscmp.
34494 * string/test-strcmp.c: Update.
34495 (WIDE): New define.
34496
9be9bfcc
AS
344972011-07-22 Andreas Schwab <schwab@redhat.com>
34498
34499 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34500 line.
34501
2e96f1c7
AS
345022011-07-26 Andreas Schwab <schwab@redhat.com>
34503
34504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34505 encoding to ACE if AI_IDN.
34506
85188888
JJ
345072011-08-01 Jakub Jelinek <jakub@redhat.com>
34508
34509 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34510 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34511
5fa16e9b
LD
345122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34513
34514 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34515 Fix overflow bug in strncat.
34516 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34517
34518 * string/test-strncat.c: Update.
34519 Add new tests for checking overflow bugs.
34520
345212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34522
34523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34524 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34525 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34526 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34527 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34528 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34529 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34530 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34531 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34532
34533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34534 (USE_AS_STRCAT): Define.
34535 Add strcat and strncat support.
34536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34537
8c1a459f
AS
345382011-07-25 Andreas Schwab <schwab@redhat.com>
34539
34540 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34541 __n bigger than INT_MAX+1.
34542 (__strncmp_g): Likewise.
34543
bba33c28
UD
345442011-07-23 Ulrich Drepper <drepper@gmail.com>
34545
798be72d
UD
34546 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34547 * libio/stido.h: Likewise.
34548
8accd4dc
UD
34549 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34550 (AF_NFC): Define.
34551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34552 (AF_NFC): Define.
34553
cbff0d96
UD
34554 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34555 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34556 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34557 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34558 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34559
9191c04a
UD
34560 [BZ #13021]
34561 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34562 installed.
34563
bba33c28
UD
34564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34565 typo.
34566 (_dl_x86_64_save_sse): Likewise.
34567
90f139dd
UD
345682011-07-22 Ulrich Drepper <drepper@gmail.com>
34569
1aae088a
UD
34570 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34571 OSXSAVE.
34572 (_dl_x86_64_save_sse): Likewise.
34573
8e2045f5
UD
34574 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34575
90f139dd
UD
34576 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34577
1d002f25
AS
345782011-07-21 Andreas Schwab <schwab@redhat.com>
34579
34580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34581 change.
34582 (_dl_x86_64_save_sse): Use correct AVX check.
34583
21137f89
UD
345842011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34585
34586 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34587 bug in strncpy/strncat.
34588 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34589
a65c0b7a
UD
345902011-07-21 Ulrich Drepper <drepper@gmail.com>
34591
34592 * string/tester.c (test_strcat): Add tests for different alignments
34593 of source and destination.
34594 (test_strncat): Likewise.
34595
6986b98a
UD
345962011-07-20 Ulrich Drepper <drepper@gmail.com>
34597
90bb2039
UD
34598 [BZ #12852]
34599 * posix/glob.c (glob): Check passed in values before using them in
34600 expressions to avoid some overflows.
34601 (glob_in_dir): Likewise.
34602
5644ef54
UD
34603 [BZ #13007]
34604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34605 check for AVX enablement so that we don't crash with old kernels and
34606 new hardware.
34607 * elf/tst-audit4.c: Add same checks here.
34608 * elf/tst-audit6.c: Likewise.
34609
34610 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34611
bfc9dc9b
AS
346122011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34613
34614 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34615
702e64bb
UD
346162011-07-20 Ulrich Drepper <drepper@gmail.com>
34617
34618 * po/cs.po: Update from translation team.
34619 * po/bg.po: Likewise.
34620
295e904f
MP
346212011-07-12 Marek Polacek <mpolacek@redhat.com>
34622
34623 * misc/sys/cdefs.h: Add support for const attribute.
34624 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34625 to gnu_dev_{major,minor,makedev} functions.
34626
3ff94596
MP
346272011-07-20 Marek Polacek <mpolacek@redhat.com>
34628
34629 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34630
28b59fca
AS
346312011-07-20 Andreas Schwab <schwab@redhat.com>
34632
34633 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34634 strlen results.
34635
19df733e
AK
346362011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34637
34638 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34639 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34640 register in order to avoid conflicts with the soft frame pointer
34641 being held in r11 when necessary.
34642 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34643 (INTERNAL_VSYSCALL_NCS): Likewise.
34644
c8835729
MP
346452011-07-14 Marek Polacek <mpolacek@redhat.com>
34646
34647 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34648 * elf/dl-fini.c (_dl_fini): Adjust caller.
34649 * elf/dl-close.c (_dl_close_worker): Likewise.
34650 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34651
b902330c
MP
346522011-07-15 Marek Polacek <mpolacek@redhat.com>
34653
8991e135
MP
34654 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34655 "aux_cache->nlibs < 0".
34656
b902330c
MP
34657 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34658 in the reload-count case.
34659
99710781
LD
346602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34661
34662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34663 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34664 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34665 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34666 * sysdeps/x86_64/multiarch/strcat.S: New file.
34667 * sysdeps/x86_64/multiarch/strncat.S: New file.
34668 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34669 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34670 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34671 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34672 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34673 (USE_AS_STRCAT): Define.
34674 Add strcat and strncat support.
34675 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34676 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34677 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34678 * string/strncat.c: Update.
34679 (USE_AS_STRNCAT): Define.
34680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34681 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34682 and i7.
34683 * sysdeps/x86_64/multiarch/init-arch.h
34684 (bit_Prefer_PMINUB_for_stringop): New.
34685 (index_Prefer_PMINUB_for_stringop): Likewise.
34686 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34687 bit_Prefer_PMINUB_for_stringop.
34688
7dc6bd90
UD
346892011-07-19 Ulrich Drepper <drepper@gmail.com>
34690
34691 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34692 buffer64.
34693 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34694 of casting of buffer.
34695 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34696 buffer32 and buffer64.
34697 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34698 writes instead of casting of buffer.
34699 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34700 buffer32.
34701 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34702 casting of buffer.
34703
e0e72284
AS
347042011-07-19 Andreas Schwab <schwab@redhat.com>
34705
34706 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34707
feb1eb0b
UD
347082011-07-19 Ulrich Drepper <drepper@gmail.com>
34709
34710 * nscd/nscd.c (termination_handler): Don't do anything for a database
34711 if it has not yet been initialized.
34712
298711ff
UD
347132011-07-18 Ulrich Drepper <drepper@gmail.com>
34714
34715 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34716
347172011-07-15 Marek Polacek <mpolacek@redhat.com>
34718
34719 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34720
f9d68389
UD
347212011-07-18 Ulrich Drepper <drepper@gmail.com>
34722
34723 * po/nl.po: Update from translation team.
34724 * po/sv.po: Likewise.
34725
db290cf5
RM
347262011-07-16 Roland McGrath <roland@hack.frob.com>
34727
34728 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34729 now disallowed by GCC.
5c550700 34730
fd5e21c7
RM
34731 * configure.in (use-default-link): Default to yes if a test -shared
34732 link meets our qualifications.
34733 * configure: Regenerated.
34734
5c550700
RM
34735 * config.make.in (output-format): New variable.
34736 * configure.in: Check for ld --print-output-format support.
34737 * configure: Regenerated.
34738 * Makerules ($(common-objpfx)format.lds)
34739 [$(output-format) != unknown]: Just use $(output-format),
34740 instead of the linker-script munging.
34741
9fa2c032
RM
347422011-07-14 Roland McGrath <roland@hack.frob.com>
34743
a6928d51
RM
34744 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34745 of $(common-objpfx)shlib.lds.
34746 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34747
661607b3
RM
34748 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34749 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34750
9fa2c032
RM
34751 * configure.in (-z relro check): Adjust test code to add a large
34752 writable data section after it.
34753 * configure: Regenerated.
34754
defe9061
RM
347552011-07-11 Roland McGrath <roland@hack.frob.com>
34756
34757 * configure.in (-z relro check): Fix test code to make the variable
34758 truly const.
34759 * configure: Regenerated.
34760
319b9ad4
UD
347612011-07-11 Ulrich Drepper <drepper@gmail.com>
34762
34763 * nscd/nscd.h (struct traced_file): Define.
34764 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34765 elements. Add traced_files.
34766 (inotify_fd): Declare.
34767 (register_traced_file): Declare.
34768 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34769 (inotify_fd): Export.
34770 (resolv_conf_descr): Remove.
34771 (nscd_init): Move inotify descriptor creation to main.
34772 Don't register files for notification here.
34773 (register_traced_file): New function.
34774 (invalidate_cache): Don't use reset_res to determine whether to call
34775 res_init, go through the list of registered files.
34776 (main_loop_poll): The inotify descriptors are now stored in the
34777 structures for the traced files.
34778 (main_loop_epoll): Likewise
34779 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34780 to __nss_disable_nscd.
34781 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34782 for a database anymore. Check the records for all the registered
34783 files instead.
34784 * nss/Makefile (libnss_files-routines): Add files-init.
34785 (libnss_db-routines): Add db-init.
34786 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34787 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34788 * nss/nss_db/db-init.c: New file.
34789 * nss/nss_files/files-init.c: New file.
34790 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34791 __nss_lookup_function.
34792 (__nss_lookup_function): Call nss_load_library.
34793 (nss_load_all_libraries): New function.
34794 (__nss_disable_nscd): Take parameter with callback function for files
34795 to register. Set is_nscd. Load all the DSOs for the NSS modules
34796 used for the cached services.
34797 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34798 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34799 options for features to all the files in nscd.
34800
34801 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34802
23bee3e8
RM
348032011-07-10 Roland McGrath <roland@hack.frob.com>
34804
34805 * csu/elf-init.c (__libc_csu_init): Comment typo.
34806
46a5b7f0
UD
348072011-07-09 Ulrich Drepper <drepper@gmail.com>
34808
34809 * po/pl.po: Update from translation team.
34810 * po/ja.po: Likewise.
34811 * po/ru.po: Likewise.
34812 * po/ko.po: Likewise.
34813 * po/fr.po: Likewise.
34814
d30cf5bb
RM
348152011-07-09 Roland McGrath <roland@hack.frob.com>
34816
113ddea4
RM
34817 * configure.in (.ctors/.dtors header and trailer check):
34818 Use an empirical test on a built program.
34819 * configure: Regenerated.
34820
574920b4
RM
34821 * configure.in (-z relro check): Use an empirical test on a built DSO.
34822 Detect, but do not require, on ia64.
34823 * configure: Regenerated.
34824
d30cf5bb
RM
34825 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34826 Update tests that use readelf to use $READELF instead.
34827 * configure: Regenerated.
34828
8538fdb3
UD
348292011-07-08 Ulrich Drepper <drepper@gmail.com>
34830
34831 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34832 if the result is not used.
34833
04d08991
AJ
348342011-07-05 Andreas Jaeger <aj@suse.de>
34835
34836 [BZ#9696]
34837 * stdlib/tst-strtod.c: Add testcase.
34838
de283087
AD
348392011-07-07 Ulrich Drepper <drepper@gmail.com>
34840
4e5f31c8 34841 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34842 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34843 The latter has a higher limit. Take additional parameter to pass to
34844 the new function.
34845 (__pathconf): Pass file to __statfs_link_max.
34846 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34847 __statfs_link_max.
34848 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34849 __statfs_link_max.
34850
de283087
AD
34851 [BZ #12868]
34852 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34853 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34854 Handle Lustre.
34855 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34856 (__statfs_filesize_max): Likewise.
34857 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34858
c75fa153
AJ
348592011-07-05 Andreas Jaeger <aj@suse.de>
34860
34861 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34862
1a544854
UD
348632011-07-06 Marek Polacek <mpolacek@redhat.com>
34864
34865 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34866 `status' variable.
34867 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34868 Likewise.
34869
6f0eec67
UD
348702011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34871
34872 * Makefile (strop-tests): Add strncat.
34873 * string/test-strncat.c: New file.
34874
aae30307
UD
348752011-06-30 Marek Polacek <mpolacek@redhat.com>
34876
34877 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34878
c0cfb5eb
UD
348792011-06-21 Andreas Jaeger <aj@suse.de>
34880
34881 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34882 Copy rule from iconvdata/Makefile.
34883
01636b21
UD
348842011-07-06 Ulrich Drepper <drepper@gmail.com>
34885
34886 [BZ #12922]
34887 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34888 but no long options are defined, just return 'W'.
34889
9895c8bc
UD
348902011-06-22 Marek Polacek <mpolacek@redhat.com>
34891
34892 [BZ #9696]
34893 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34894
5d4cf042
UD
348952011-07-06 Ulrich Drepper <drepper@gmail.com>
34896
34897 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34898 netgroups to read.
960e5535 34899 (innetgr): Likewise.
5d4cf042 34900
751eb97e
RM
349012011-07-05 Roland McGrath <roland@hack.frob.com>
34902
34903 * config.make.in (install_root): Default to $(DESTDIR).
34904
f15f1e45
UD
349052011-07-05 Ulrich Drepper <drepper@gmail.com>
34906
34907 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34908
4e34ac6a
RM
349092011-07-02 Roland McGrath <roland@hack.frob.com>
34910
5e9b6af4
RM
34911 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34912
84f9ea0f
RM
34913 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34914 containing directory rather than embedding absolute directory names.
34915
ea5ee9f7
RM
34916 * scripts/check-local-headers.sh: Rewritten using awk.
34917 Match by word, not by line. Print error messages for matches.
34918 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34919
1b74661a
RM
34920 * Makerules [shlib-lds-flags empty]:
34921 ($(common-objpfx)libc_pic.opts): New target.
34922 ($(common-objpfx)libc_pic.os.clean): New target.
34923 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34924
34925 * config.make.in (OBJCOPY): New variable.
34926 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34927 * configure: Regenerated.
34928
f781ef40
RM
34929 * config.make.in (use-default-link): New variable.
34930 * configure.in (use_default_link): Grok --with-default-link to set it.
34931 * configure: Regenerated.
34932 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34933 (shlib-lds, shlib-lds-flags): Define to empty.
34934
2d4fa81e
RM
34935 * Makerules (shlib-lds): New variable.
34936 (shlib-lds-flags): New variable.
34937 (build-shlib, build-moduile, build-module-asneeded): Use it.
34938 ($(common-objpfx)libc.so): Use $(shlib-lds).
34939 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34940 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34941
31fffa6b
RM
34942 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34943 DT_FLAGS/DT_FLAGS_1 with zero flags.
34944
4e34ac6a
RM
34945 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34946 linker script munging.
34947
fcfc776b
UD
349482011-07-02 Ulrich Drepper <drepper@gmail.com>
34949
34950 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34951 as 128-bit value.
34952 * crypt/sha512.c (sha512_process_block): Perform total addition using
34953 128-bit if possible.
34954 (__sha512_finish_ctx): Likewise.
34955 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34956 as 64-bit value.
34957 * crypt/sha256.c (SWAP64): Define.
34958 (sha256_process_block): Perform total addition using 64-bit if
34959 possible.
34960 (__sha256_finish_ctx): Likewise.
34961
99231d9a
UD
349622011-07-01 Ulrich Drepper <drepper@gmail.com>
34963
34964 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34966 * nscd/hstcache.c (cache_addhst): Likewise.
34967 * nscd/grpcache.c (cache_addgr): Likewise.
34968 * nscd/aicache.c (addhstaiX): Likewise
34969 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34970
445b4a53
TK
349712011-07-01 Thorsten Kukuk <kukuk@suse.de>
34972
34973 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34974 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34975 * nscd/hstcache.c (cache_addhst): Likewise.
34976 * nscd/grpcache.c (cache_addgr): Likewise.
34977 * nscd/aicache.c (addhstaiX): Likewise
34978
6d4d8e8e
AS
349792011-07-01 Andreas Schwab <schwab@redhat.com>
34980
34981 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34982 domain only when needed.
34983
89f654c5
AS
349842011-06-30 Andreas Schwab <schwab@redhat.com>
34985
34986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34987 is always restored.
34988
cf3b23ff
UD
349892011-06-29 Ulrich Drepper <drepper@gmail.com>
34990
34991 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34992 are re-adding the entry.
34993 * nscd/servicescache.c (cache_addserv): Likewise.
34994
751626f9
AJ
349952011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34996
34997 * sysdeps/generic/dl-irel.h: fix protection against multiple
34998 inclusions.
34999 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35000
9113ea1f
UD
350012011-06-28 Ulrich Drepper <drepper@gmail.com>
35002
5c0b8d90
UD
35003 [BZ #12935]
35004 * malloc/memusage.sh: Fix quoting in message.
35005 * debug/xtrace.sh: Likewise.
35006
9113ea1f
UD
35007 * configure.in: Remove support for --experimental-malloc option, make
35008 it the default.
35009 * config.make.in: Likewise.
35010 * malloc/Makefile: Likewise.
35011
a4172181
AS
350122011-06-27 Andreas Schwab <schwab@redhat.com>
35013
35014 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35015 two-byte characters.
35016
78a7eee7
RM
350172011-06-27 Roland McGrath <roland@hack.frob.com>
35018
62bede13
RM
35019 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35020 AC_CACHE_CHECK invocation.
35021 * configure: Regenerated.
35022
78a7eee7
RM
35023 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35024
5ce33a62
UD
350252011-06-27 Ulrich Drepper <drepper@gmail.com>
35026
034807a9
UD
35027 [BZ #12350]
35028 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35029 bit from old_res_options.
35030
4902da17
UD
35031 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35032
5ce33a62
UD
35033 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35034 value type for setfct.
35035
c2344f56
L
350362011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35037
35038 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35039 __gettimeofday instead of gettimeofday.
35040
68468076
UD
350412011-06-26 Ulrich Drepper <drepper@gmail.com>
35042
35043 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35044
acb0d739
L
350452011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35046
35047 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35048
35049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35050 info.
35051
8912479f
L
350522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35053
35054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35055 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35056 strcpy-sse2-unaligned strncpy-sse2-unaligned
35057 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35058 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35059 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35060 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35061 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35062 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35063 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35064 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35065 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35066 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35067 (STRCPY): Support SSE2 and SSSE3 versions.
35068
d5495a11
UD
350692011-06-24 Ulrich Drepper <drepper@gmail.com>
35070
35071 [BZ #12874]
35072 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35073 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35074 kernels which artificially limit size of requests.
35075
0b1cbaae
L
350762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35077
35078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35079 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35080 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35081 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35082 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35083 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35084 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35085 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35086 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35087 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35088 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35089 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35090 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35091 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35092 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35094 Enable unaligned load optimization for Intel Core i3, i5 and i7
35095 processors.
35096 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35097 Define.
35098 (index_Fast_Unaligned_Load): Define.
35099 (HAS_FAST_UNALIGNED_LOAD): Define.
35100
07f494a0
MP
351012011-06-23 Marek Polacek <mpolacek@redhat.com>
35102
35103 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35104
fa3fc0fe
UD
351052011-06-22 Ulrich Drepper <drepper@gmail.com>
35106
35107 [BZ #12907]
35108 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35109 until it is clear that the information is realy needed.
35110 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35111
e12df166
AS
351122011-06-22 Andreas Schwab <schwab@redhat.com>
35113
35114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35115
852eb34d
UD
351162011-06-22 Ulrich Drepper <drepper@gmail.com>
35117
84e2a551
UD
35118 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35119 /sys/devices/system/cpu/online if it is usable.
35120
852eb34d
UD
35121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35122 reading the information from the /proc filesystem to once a second.
35123
6e502e19
UD
351242011-06-21 Andreas Jaeger <aj@suse.de>
35125
35126 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35127 NULL after inclusion of kernel headers.
35128
75d39ff2
UD
351292011-06-21 Ulrich Drepper <drepper@gmail.com>
35130
51f9aa6a
UD
35131 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35132 calls to internal_setent.
35133
c0244a9d
UD
35134 [BZ #12885]
35135 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35136 addresses using gethostbyname4_r ignore IPv4 addresses.
35137
c5e3c2ae
UD
35138 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35139 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35140
75d39ff2
UD
35141 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35142
42675c6f
DM
351432011-06-20 David S. Miller <davem@davemloft.net>
35144
35145 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35146 inclusions.
35147 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35148
35149 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35150 (elf_irel): Use it.
35151 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35152 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35153 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35154 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35155 * sysdeps/x86_64/dl-irel.h: Likewise.
35156
35157 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35158 * elf/dl-sym.c: Likewise.
35159
57912a71
UD
351602011-06-15 Ulrich Drepper <drepper@gmail.com>
35161
35162 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35163 need to dereference resplen2.
35164
ee22793d
AS
351652011-06-14 Andreas Schwab <schwab@redhat.com>
35166
35167 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35168
a9e836b0
UD
351692011-06-15 Ulrich Drepper <drepper@gmail.com>
35170
77fb9117
UD
35171 * Makeconfig: Define vardbdir and inst_vardbdir.
35172 * nss/Makefile: Add rules to install db-Makefile.
35173
40c1b22c
UD
35174 * nss/nss_db/db-XXX.c: Cleanup.
35175
9f2da732
UD
35176 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35177 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35178 GLIBC_PRIVATE.
35179 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35180 * nss/makedb.c: Implement -g option to specify that value strings
35181 are generated and should not be added to table iterated over for
35182 get*ent calls.
35183 * nss/nss_db/db-initgroups.c: New file.
35184
82e9a1f7
UD
35185 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35186 interface.
35187
c41af17e
UD
35188 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35189 (internal_getgrouplist): Adjust to name change.
35190 Update use_initgroups_entry if this is not the first call.
35191 * nss/databases.def: Add initgroups entry.
35192
a9e836b0
UD
35193 * nss/makedb.c (compute_tables): Check result of multiple hash table
35194 sizes to minimize maximum chain length.
35195
2666d441
UD
351962011-06-14 Ulrich Drepper <drepper@gmail.com>
35197
35198 * Versions.def: Add entry for libnss_db.
35199 * shlib-versions: Likewise.
35200 * nss/Makefile: Add rules to build libnss_db.
35201 * nss/Versions: Add libnss_db information. Organize libnss_files
35202 entries better.
35203 * nss/db-Makefile: Add gshadow support. Change rules for the new
35204 makedb progra. Some minor improvements to generate smaller files.
35205 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35206 here from...
35207 * nss/makedb.c: ...here.
35208 Improve database format to be smaller and require less memory at
35209 runtime.
35210 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35211 db anymore.
35212 * nss/nss_db/db-netgrp.c: Likewise.
35213 * nss/nss_db/db-open.c: Likewise.
35214 * nss/nss_files/flies-XXX.x: Adjust comments.
35215 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35216 * nss/nss_files/files-grp.c: Likewise.
35217 * nss/nss_files/files-hosts.c: Likewise.
35218 * nss/nss_files/files-network.c: Likewise.
35219 * nss/nss_files/files-proto.c: Likewise.
35220 * nss/nss_files/files-pwd.c: Likewise.
35221 * nss/nss_files/files-rpc.c: Likewise.
35222 * nss/nss_files/files-service.c: Likewise.
35223 * nss/nss_files/files-sgrp.c: Likewise.
35224 * nss/nss_files/files-spwd.c: Likewise.
35225 * nss/nss_db/db-alias.c: Removed.
35226 * nss/nss_db/dummy-db.h: Removed.
35227
9ee76b5a
UD
352282011-06-02 Ulrich Drepper <drepper@gmail.com>
35229
35230 * nss/makedb.c: Rewritten to not use database library.
35231 * nss/Makefile: Update to build new makedb program.
35232
c71ca1f8
AJ
352332011-06-14 Andreas Jaeger <aj@suse.de>
35234
35235 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35236 memset declaration.
35237
3154bfb8
UD
352382011-06-10 Andreas Schwab <schwab@redhat.com>
35239
35240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35241 tmpbuf.
35242
b350afab
RM
352432011-06-10 Roland McGrath <roland@hack.frob.com>
35244
decd4e50
RM
35245 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35246 * elf/Makefile ($(objpfx)ld.so): Likewise.
35247
5615eaf2
RM
35248 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35249 Don't list ld.so twice in dependencies.
35250
35251 * posix/bug-regex31.c: Include <stdlib.h>.
35252
35253 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35254
35255 * nis/nss_compat/compat-spwd.c
35256 (getspent_next_nss_netgr): Remove unused variable.
35257 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35258
35259 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35260 nonmembers" output to use the right array.
35261
35262 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35263
35264 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35265
35266 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35267 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35268 * catgets/gencat.c (read_input_file): Likewise.
35269 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35270
35271 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35272 variable definition inside #if's controlling its use.
35273
35274 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35275
35276 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35277
35278 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35279
35280 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35281 unreachable code.
35282
35283 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35284
b68e08db
RM
35285 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35286 * configure: Regenerated.
35287
b350afab
RM
35288 * Makerules: Revert last change.
35289 * elf/Makefile: Likewise.
35290
28368601
RM
352912011-06-09 Roland McGrath <roland@hack.frob.com>
35292
35293 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35294 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35295 (reloc-link): Likewise.
35296
11988f8f
UD
352972011-06-09 Ulrich Drepper <drepper@gmail.com>
35298
35299 * elf/Makefile: Add rules to build pldd.
35300 * elf/pldd.c: New file.
35301 * elf/pldd-xx.c: New file.
35302
e80fab37
UD
353032011-06-07 Ulrich Drepper <drepper@gmail.com>
35304
35305 * version.h: Update for 2.15 development version.
35306
9b849836
DM
353072011-06-07 David S. Miller <davem@davemloft.net>
35308
35309 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35310 ifuncs.
35311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35312 elf_machine_lazy_rel): Likewise.
35313 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35314 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35315 elf_machine_lazy_rel): Likewise.
35316 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35317 dl_hwcap via passed in argument.
35318 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35319 Likewise.
35320
5a31b283
AK
353212011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35322
35323 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35324
069e52f8
RM
353252011-06-06 Roland McGrath <roland@hack.frob.com>
35326
35327 [BZ #12849]
35328 * manual/fdl-1.1.texi: New file, verbatim from:
35329 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35330 * manual/lgpl-2.1.texi: New file, verbatim from:
35331 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35332 * manual/Makefile (licenses): New variable, list those new file names.
35333 (texis): Use it.
35334 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35335
35336 * manual/fdl.texi: File removed.
35337 * manual/lesser.texi: File removed.
35338 * manual/libc.texinfo (Copying, Documentation License):
35339 Use new @include file names, put @appendix directive before @include.
35340
f16846a5
JJ
353412011-06-04 Jakub Jelinek <jakub@redhat.com>
35342
35343 [BZ #12841]
35344 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35345 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35346 (mq_open): Add __NTH.
35347
3d29045b
L
353482011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35349
35350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35351 Assume Intel Core i3/i5/i7 processor if AVX is available.
35352
8c297311
UD
353532011-05-31 Ulrich Drepper <drepper@gmail.com>
35354
35355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35356 typo.
35357
c8fc0c91
UD
353582011-05-31 Andreas Schwab <schwab@redhat.com>
35359
35360 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35361 memory. Use alloca_account. Fix memory leak when retrying.
35362
5b27a807
UD
353632011-05-31 Ulrich Drepper <drepper@gmail.com>
35364
356f8bc6
UD
35365 * version.h (RELEASE): Bump for 2.14 release.
35366 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35367
5b27a807
UD
35368 * config.make.in (RANLIB): Remove entry.
35369
01f16ab0
UD
353702011-05-30 Ulrich Drepper <drepper@gmail.com>
35371
41fce8bd
UD
35372 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35373 (libc.pot): Work around missing support for .ksh extension in xgettext.
35374
4769ae77
UD
35375 [BZ #12684]
35376 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35377 if both request failed.
35378 (send_dg): In case of server errors clear resplen or *resplen2.
35379
6b1e7d19
UD
35380 [BZ #12454]
35381 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35382 when there are multiple maps.
35383 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35384 (_dl_fini): Remove test here.
35385
01f16ab0
UD
35386 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35387
b1ebd700
UD
353882011-05-29 Ulrich Drepper <drepper@gmail.com>
35389
7ae22829
UD
35390 [BZ #12350]
35391 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35392 bit from old_res_options.
35393 (gaih_inet): Likewise.
35394
553149f6 35395 [BZ #11099]
18a84741 35396 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35397 as signed.
35398
652ffab1
UD
35399 * resolv/res_init.c (res_setoptions): Make the code more compact.
35400
16985fd0
UD
35401 [BZ #11558]
35402 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35403 set RES_USEVC.
35404
0464f746
UD
35405 [BZ #11634]
35406 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35407
7d17596c
UD
35408 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35409
cf6bbbd7
UD
35410 [BZ #11781]
35411 * malloc/malloc.h: Declare malloc hook variables as volatile.
35412
13f1ab36
UD
35413 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35414 in last patch.
35415
b1ebd700
UD
35416 [BZ #11799]
35417 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35418 raise in the comment.
80e2212d
UD
35419 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35420 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35421 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35422
ce67228d
UD
354232011-05-28 Ulrich Drepper <drepper@gmail.com>
35424
8887a920
UD
35425 [BZ #12811]
35426 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35427 grow the buffers more if it already has to be sufficient.
35428 (build_wcs_upper_buffer): Likewise.
35429 * posix/regexec.c (check_matching): Likewise.
35430 (clean_state_log_if_needed): Likewise.
35431 (extend_buffers): Don't enlarge buffers beyond size of the input
35432 buffer.
35433 Patches mostly by Emil Wojak <emil@wojak.eu>.
35434 * posix/bug-regex32.c: New file.
35435 * posix/Makefile (tests): Add bug-regex32.
35436
4f031072
UD
35437 * locale/findlocale.c (_nl_find_locale): Return right away if
35438 _nl_explode_name failed.
35439 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35440
d0478f0c
UD
35441 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35442
de81b246
UD
35443 * debug/xtrace.sh: Unify messages.
35444 * malloc/memusage.sh: Likewise.
35445
c738465a
UD
35446 [BZ #12813]
35447 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35448 time symbol from vDSO. Substitute with vsyscall if not available.
35449 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35450 __vdso_time.
35451
f1f929d7
UD
35452 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35453 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35454 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35455 Add sendmmsg and internal_sendmmsg.
35456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35457 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35458 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35459
ce67228d
UD
35460 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35461 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35462 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35463
e57420c6
UD
354642011-05-27 Ulrich Drepper <drepper@gmail.com>
35465
a8509ca5
UD
35466 [BZ #12813]
35467 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35468 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35469 available.
35470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35471 __vdso_getcpu.
35472
e57420c6
UD
35473 [BZ #12814]
35474 * iconvdata/Makefile (tests): Add bug-iconv9.
35475 * iconvdata/bug-iconv9.c: New file.
35476
4d07db15
AS
354772011-05-27 Andreas Schwab <schwab@redhat.com>
35478
35479 [BZ #12814]
35480 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35481
ea486f69
JJ
354822011-05-25 Jakub Jelinek <jakub@redhat.com>
35483
35484 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35485 (struct user_regs_struct): Change intcs field back to cs.
35486
6f038433
UD
354872011-05-25 Ulrich Drepper <drepper@gmail.com>
35488
35489 * po/ja.po: Update from translation team.
35490
67f86a25
UD
354912011-05-23 Ulrich Drepper <drepper@gmail.com>
35492
35493 [BZ #12795]
35494 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35495 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35496
def7fbd6
AS
354972011-05-20 Andreas Schwab <schwab@redhat.com>
35498
35499 * stdlib/longlong.h: Update from GCC.
35500
f50ef8f1
AS
355012011-05-23 Andreas Schwab <schwab@redhat.com>
35502
35503 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35504 parameter name.
35505 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35506 Add parameter name.
35507 (__sysconf): Pass it down.
35508
de7ce8f1
UD
355092011-05-22 Ulrich Drepper <drepper@gmail.com>
35510
f2962a71
UD
35511 [BZ #12671]
35512 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35513 some situations.
35514 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35515 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35516 add in in __libc_use_alloca calls. Adjust callers.
35517 (glob): Use malloc in some situations.
35518
de7ce8f1
UD
35519 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35520 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35521 pltexit.
35522
aec84f53
UD
355232011-05-21 Ulrich Drepper <drepper@gmail.com>
35524
05bb4a68
UD
35525 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35526 and CLOCK_BOOTTIME_ALARM.
35527
7ea72f99
UD
35528 [BZ #12782]
35529 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35530 is returned.
35531
7e4afad5
UD
35532 * string/_strerror.c (__strerror_r): Print negative errors as signed
35533 numbers.
35534
8e211fec
UD
35535 [BZ #12777]
35536 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35537 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35538 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35539
f7d82dc9
UD
35540 * configure.in: Fix typo in redirection and correct removal of test
35541 files in two cases.
35542
cc9e536d
UD
35543 [BZ #12788]
35544 * locale/setlocale.c (new_composite_name): Fix test to check for
35545 identical name of all categories.
35546
aec84f53
UD
35547 [BZ #12792]
35548 * libio/filedoalloc.c (local_isatty): New function.
35549 (_IO_file_doallocate): Use local_isatty.
35550 * stdio-common/perror.c (perror): In case a new stream is used
35551 forward the stream error.
35552 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35553 error flag.
35554
78e64fdc
RT
355552011-05-20 Ulrich Drepper <drepper@gmail.com>
35556
34a9094f
UD
35557 [BZ #11869]
35558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35559 alloca.
35560 * include/alloca.h (extend_alloca_account): Define.
35561
78e64fdc
RT
35562 [BZ #11857]
35563 * posix/regex.h: Fix comments with documentation of user-accessible
35564 fields after compilation and describe correct free'ing of pattern
35565 after re_compile_pattern.
35566 Patch by Reuben Thomas <rrt@sc3d.org>.
35567
457bddfc
RA
355682011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35569
35570 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35571 and -mno-altivec to prevent the compiler from using Altivec and/or
35572 VSX instructions when the corresponding registers are not available.
35573
a4527b51
AS
355742011-05-19 Andreas Schwab <schwab@redhat.com>
35575
35576 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35577
ed690b2f
UD
355782011-05-19 Ulrich Drepper <drepper@gmail.com>
35579
35580 * libio/freopen.c (freopen): Use __dup2, not dup2.
35581 * libio/freopen64.c (freopen64): Likewise.
35582
8db73634
L
355832011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35584
35585 [BZ #12775]
35586 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35587 * math/Makefile (tests): Add test-powl.
35588 (CFLAGS-test-powl.c): Define.
35589 * math/test-powl.c: New file.
35590
0a197a9d
L
355912011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35592
35593 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35594
ee30c380
UD
355952011-05-17 Ulrich Drepper <drepper@gmail.com>
35596
35597 [BZ #11837]
35598 * iconvdata/gb18030.c: Update to GB18020-2005.
35599
6ce75379
UD
356002011-05-16 Ulrich Drepper <drepper@gmail.com>
35601
a4b89fd8
AR
35602 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35603 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35604 Patch by Aharon Robbins <arnold@skeeve.com>.
35605
ea389b12
UD
35606 [BZ #11892]
35607 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35608 on the stack.
35609
68a3f91f
UD
35610 [BZ #11895]
35611 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35612 through underflows.
35613
15cc7dd1
UD
35614 [BZ #12766]
35615 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35616 point to strings before performing equality test for error_one_per_line
35617 mode.
35618
f3799213
UD
35619 [BZ #11697]
35620 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35621
d79a9c94
UD
35622 [BZ #11820]
35623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35624 (struct user_fpregs_struct): Avoid __uint*_t types.
35625
56e5eb46
UD
35626 [BZ #6420]
35627 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35628 symbol info. Use it instead of calling _dl_addr locally.
35629 (lock_and_info): New function.
35630 (tr_freehook): Call lock_and_info and pass symbol info as additional
35631 parameter to tr_where.
35632 (tr_mallochook): Likewise.
35633 (tr_reallochook): Likewise.
35634 (tr_memalignhook): Likewise.
35635
6ce75379
UD
35636 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35637 used and couldn't be at all thread-safe.
35638
f8a3b5bf
UD
356392011-05-15 Ulrich Drepper <drepper@gmail.com>
35640
94b7cc37
UD
35641 * libio/freopen.c (freopen): Don't close old file descriptor
35642 before the new one is opened. Instead dup the new file descriptor
35643 to the old one after the new stream is created.
35644 * libio/freopen64.c (freopen64): Likewise.
35645 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35646 * libio/fileops.c (_IO_new_file_close_it): Handle new
35647 _IO_FLAGS2_NOCLOSE flag.
35648 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35649 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35650 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35651 _IO_FLAGS2_NOCLOSE flag.
35652 * include/unistd.h: Add hidden_proto for dup3.
35653 Define __have_dup3.
35654 * io/dup3.c: Define hidden symbol.
35655 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35656
bd25564e
UD
35657 [BZ #7101]
35658 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35659 when an incomplete long option is used.
35660 * posix/tst-getopt_long1.c: New file.
35661 * posix/Makefile (tests): Add tst-getopt_long1.
35662
c84cfef4
UD
35663 [BZ #10138]
35664 * scripts/config.guess: Update from autoconf-2.68.
35665 * scripts/config.sub: Likewise.
35666
3b85df27
UD
35667 [BZ #10157]
35668 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35669 tests into ...
35670 (has_cpuclock): ...this. New function.
35671 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35672 macro here based on has_cpuclock code.
35673
15a856b1
UD
35674 [BZ #10149]
35675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35676 First byte (not low byte) is now always NUL.
35677 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35678
05f399e6
UD
35679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35680 Use non-cancelable interfaces.
35681
10a52685 35682 [BZ #9809]
94ecc67d
UD
35683 * locale/iso-639.def: Add entry for Sorani.
35684
f8a3b5bf
UD
35685 [BZ #11901]
35686 * include/stdlib.h: Move include protection to the right place.
35687 Define abort_msg_s. Declare __abort_msg with it.
35688 * stdlib/abort.c (__abort_msg): Adjust type.
35689 * assert/assert.c (__assert_fail_base): New function. Majority
35690 of code from __assert_fail. Allocate memory for __abort_msg with
35691 mmap.
35692 (__assert_fail): Now call __assert_fail_base.
35693 * assert/assert-perr.c: Remove bulk of implementation. Use
35694 __assert_fail_base.
35695 * include/assert.hL Declare __assert_fail_base.
35696 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35697 mmap.
35698 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35699
1af4e298
UD
357002011-05-14 Ulrich Drepper <drepper@gmail.com>
35701
f8a3b5bf 35702 [BZ #11952]
d26dfc60
MG
35703 [BZ #12453]
35704 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35705 until all modules are registered in the DTV.
35706 * elf/Makefile: Add rules to build and run tst-tls19.
35707 * elf/tst-tls19.c: New file.
35708 * elf/tst-tls19mod1.c: New file.
35709 * elf/tst-tls19mod2.c: New file.
35710 * elf/tst-tls19mod3.c: New file.
35711 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35712
2fc54d6f
UD
35713 [BZ #12083]
35714 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35715 correctly.
35716
98d76b46
UD
35717 [BZ #12601]
35718 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35719 two-byte sequence errors.
35720 * iconvdata/Makefile (tests): Add bug-iconv8.
35721 * iconvdata/bug-iconv8.c: New file.
35722
da3c19ef
UD
35723 [BZ #12626]
35724 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35725 buf2 definition.
35726
ca408c15
UD
35727 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35728
d6f67f7d
UD
35729 [BZ #12432]
35730 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35731 (dummy_getcfa): New function.
35732 (init): Get _Unwind_GetCFA address, use dummy if not found.
35733 (backtrace_helper): In recursion check, also check whether CFA changes.
35734 (__backtrace): Completely initialize arg.
35735
1af4e298 35736 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35737 storing incomplete byte sequence in state object. Avoid testing for
35738 guaranteed too small input if we know there is enough data available.
1af4e298 35739
da62f81b
AS
357402011-05-11 Andreas Schwab <schwab@redhat.com>
35741
35742 * Makeconfig (+link-pie): Indent.
35743 * Rules (binaries-pie): Define if $(have-fpie) and
35744 $(build-shared).
35745 (binaries-shared): Also filter out $(binaries-pie).
35746 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35747 * nscd/Makefile (others-pie): Add nscd.
35748 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35749 ($(objpfx)nscd): Remove command override.
35750 * login/Makefile (others-pie): Add pt_chown.
35751 ($(objpfx)pt_chown): Remove command override.
35752 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35753 remove command overrides.
35754
fcabc0f8
UD
357552011-05-13 Ulrich Drepper <drepper@gmail.com>
35756
20030ae6
UD
35757 * libio/tst_putwc.c: Fix error messages.
35758
fcabc0f8
UD
35759 [BZ #12724]
35760 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35761 currently writing and seek to current position when not.
35762 * libio/Makefile (tests): Add bug-fclose1.
35763 * libio/bug-fclose1.c: New file.
35764
320a5dc0
PB
357652011-05-12 Ulrich Drepper <drepper@gmail.com>
35766
35767 [BZ #12511]
35768 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35769 don't set DF_1_NODELETE here.
35770 (do_lookup_x): When entering new entry test for copy relocation
35771 and if necessary set DF_1_NODELETE flag.
35772 * elf/tst-unique4.cc: New file.
35773 * elf/tst-unique4.h: New file.
35774 * elf/tst-unique4lib.cc: New file.
35775 * elf/Makefile: Add rules to build and run tst-unique4.
35776 Patch by Piotr Bury <pbury@goahead.com>.
35777
22836f52
UD
357782011-05-11 Ulrich Drepper <drepper@gmail.com>
35779
f574184a
UD
35780 [BZ #12052]
35781 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35782
e1fb097f
UD
35783 [BZ #12625]
35784 * misc/mntent_r.c (addmntent): Flush the stream after the output
35785
22836f52
UD
35786 [BZ #12393]
35787 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35788 (is_trusted_path_normalize): Skip initial colon. Append slash
35789 to empty buffer. Duplicate is_trusted_path code but allow
35790 constructed patch to be prefix.
35791 (is_dst): Allow $ORIGIN followed by /.
35792 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35793 Correct testing of result of is_trusted_path_normalize
35794 (decompose_rpath): Fix warning.
35795
7b3b0b2a
UD
357962011-05-10 Ulrich Drepper <drepper@gmail.com>
35797
35798 [BZ #11257]
35799 * grp/initgroups.c (internal_getgrouplist): When we found the service
35800 list through the initgroups entry in nsswitch.conf do not always
35801 continue on a successful lookup. Don't always use the
eac80ce2 35802 __nss_group_database value if it is set.
7b3b0b2a
UD
35803 * nss/nsswitch.conf (initgroups): Change action for successful db
35804 lookup to continue for compatibility.
35805
2a81eaa5
UD
358062011-05-09 Ulrich Drepper <drepper@gmail.com>
35807
be97a69e
UD
35808 [BZ #11532]
35809 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35810 and CP774 modules.
35811 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35812 and CP774 modules.
35813 * iconvdata/tst-tables.sh: Likewise.
35814 * iconvdata/cp770.c: New file.
35815 * iconvdata/cp771.c: New file.
35816 * iconvdata/cp772.c: New file.
35817 * iconvdata/cp773.c: New file.
35818 * iconvdata/cp774.c: New file.
35819 * iconvdata/testdata/CP770: New file.
35820 * iconvdata/testdata/CP770..UTF8: New file.
35821 * iconvdata/testdata/CP771: New file.
35822 * iconvdata/testdata/CP771..UTF8: New file.
35823 * iconvdata/testdata/CP772: New file.
35824 * iconvdata/testdata/CP772..UTF8: New file.
35825 * iconvdata/testdata/CP773: New file.
35826 * iconvdata/testdata/CP773..UTF8: New file.
35827 * iconvdata/testdata/CP774: New file.
35828 * iconvdata/testdata/CP774..UTF8: New file.
35829
35830 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35831 END CHARMAP line.
35832 * iconvdata/gen-8bit-gap.sh: Likewise.
35833 * iconvdata/gen-8bit.sh: Likewise.
35834
c1e9e399
UD
35835 * locale/iso-639.def: Add ary entry.
35836
24c55fb3 35837 [BZ #11258]
96b4b1b0
UD
35838 * locale/C-translit.h.in: Add U20A1 transliteration.
35839
bdc2f971
KB
35840 [BZ #12178]
35841 * locale/iso-639.def: Add wae entry.
35842 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35843
2952b117
UD
35844 [BZ #12545]
35845 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35846 for n.
35847
2a81eaa5
UD
35848 [BZ #12711]
35849 * locale/C-translit.h.in: Add entry for U20B9.
35850 Patch by pravin.d.s@gmail.com.
35851
28377d1b
UD
358522011-05-08 Ulrich Drepper <drepper@gmail.com>
35853
7fb90fb8
UD
35854 [BZ #12713]
35855 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35856 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35857 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35858 in rtld. Use *stat64.
7fb90fb8 35859 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35860 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35861 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35862 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35863 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35864 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35865 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35866 __fstatat64 macros.
7fb90fb8
UD
35867 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35868 * dirent/rewinddir.c: Add libc_hidden_def.
35869 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35870 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35871
28377d1b
UD
35872 * include/dirent.h (__alloc_dir): Add flags parameter.
35873 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35874 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35875 __alloc_dir.
35876 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35877 from fdopendir if O_CLOEXEC is already set.
35878
66bdbaa4
AM
358792011-03-15 Alan Modra <amodra@gmail.com>
35880
35881 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35882 l_tls_firstbyte_offset non-zero. Save padding offset in
35883 l_tls_firstbyte_offset for later use.
35884 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35885 freeing static tls block.
35886
95721191
JN
358872011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35888
35889 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35890 where #ifdef was intended. The intent is to prevent ARG_MAX from
35891 being defined by the kernel headers.
35892
f87dfb1f
UD
358932011-05-07 Ulrich Drepper <drepper@gmail.com>
35894
35895 [BZ #12734]
35896 * resolv/resolv.h: Define RES_NOTLDQUERY.
35897 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35898 no-tld-query and set RES_NOTLDQUERY.
35899 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35900 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35901 modern BIND to search name as TLD unless forbidden.
35902
47c3cd7a
UD
359032011-05-07 Petr Baudis <pasky@suse.cz>
35904 Ulrich Drepper <drepper@gmail.com>
35905
35906 [BZ #12393]
35907 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35908 (is_trusted_path): ...to here.
c1e9ea35 35909 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35910 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35911 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35912
8a35c912
PP
359132011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35914
35915 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35916 __BEGIN/__END_DECLS.
35917
acd41f47
UD
359182011-05-06 Ulrich Drepper <drepper@gmail.com>
35919
35920 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35921 NSS_STATUS_NOTFOUND if no record was found.
35922
597df647
AS
359232011-05-05 Andreas Schwab <schwab@redhat.com>
35924
35925 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35926 (headers-not-in-tirpc): Remove rpc/netdb.h
35927 * resolv/netdb.h: Revert last change.
35928
b9af1301
PP
359292011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35930
35931 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35932 circular dependency between libgcc.a and libc.a.
35933
4e34d5f5
AS
359342011-05-05 Andreas Schwab <schwab@redhat.com>
35935
35936 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35937 * nis/Makefile: Don't install rpcsvc/*.
35938 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35939 instead of <rpc/types.h>.
35940 (MAXHOSTNAMELEN): Define.
35941
00ee369c
AS
359422011-05-03 Andreas Schwab <schwab@redhat.com>
35943
35944 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35945
0b592a30
MB
359462011-04-28 Maciej Babinski <mbabinski@google.com>
35947
35948 [BZ #12714]
35949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35950 gethostbyname4_r when IPv6 results are possible.
35951
6e04cbbe
UD
359522011-05-02 Ulrich Drepper <drepper@gmail.com>
35953
35954 [BZ #12723]
35955 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35956 _PC_PIPE_BUF handling.
35957
e4ecafe0
BH
359582011-04-30 Bruno Haible <bruno@clisp.org>
35959
35960 [BZ #12717]
35961 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35962 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35963 to 'int'.
35964 * inet/getnameinfo.c (getnameinfo): Likewise.
35965
125ee683
UD
359662011-04-29 Ulrich Drepper <drepper@gmail.com>
35967
35968 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35969 to groups setting in database lookup.
35970 * nss/nsswitch.conf: Add initgroups entry.
35971
b722481a
EB
359722011-04-22 Ulrich Drepper <drepper@gmail.com>
35973
35974 [BZ #12685]
35975 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35976 mode string.
35977 Patch by Eric Blake <eblake@redhat.com>.
35978
4df46dbd
L
359792011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35980
35981 * sunrpc/Makefile (need-export-routines): Add svc_run.
35982 (routines): Remove svc_run.
35983 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35984 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35985 * sunrpc/svc_run.c (svc_run): Likewise.
35986 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35987
e84142d2
UD
359882011-04-21 Ulrich Drepper <drepper@gmail.com>
35989
35990 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35991 problem in reallocation in last patch.
35992
877175d8
UD
359932011-04-20 Ulrich Drepper <drepper@gmail.com>
35994
35995 * sunrpc/Makefile: Move inclusion of Rules.
35996
ab8eed78
UD
359972011-04-19 Ulrich Drepper <drepper@gmail.com>
35998
35999 * nss/nss_files/files-initgroups.c: New file.
36000 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36001 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36002 _nss_files_initgroups_dyn.
36003
e3d8f584
RS
360042011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36005
36006 * elf/elf.h (R_ARM_IRELATIVE): Define.
36007
af190f45
UD
360082011-04-19 Ulrich Drepper <drepper@gmail.com>
36009
36010 * po/ru.po: Update from translation team.
36011
53cf59ef
UD
360122011-04-17 Ulrich Drepper <drepper@gmail.com>
36013
36014 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36015 dependencies.
36016
4c559bcd
MF
360172011-02-06 Mike Frysinger <vapier@gentoo.org>
36018
36019 [BZ #12653]
36020 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36021 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36022 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36023 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36024 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36025
4420675c
AS
360262011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36027
36028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36029 differing bytes.
36030 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36031 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36033
75ea32ab
UD
360342011-04-17 Ulrich Drepper <drepper@gmail.com>
36035
36036 [BZ #12420]
36037 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36038 storing it.
36039 * stdlib/bug-getcontext.c: New file.
36040 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36041
27390476
AK
360422011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36043
36044 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36045 instructions into .machine "z9-109".
36046 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36047 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36048
10442705
AK
360492011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36050
36051 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36052 between environment variables and auxiliary vector.
36053
7b57bfe5
UD
360542011-04-16 Ulrich Drepper <drepper@gmail.com>
36055
36056 * Makefile: Add rules to build linkobj/libc.so.
36057 * include/libc-symbols.h: Define libc_hidden_nolink.
36058 * include/rpc/auth.h: Mark functions which are to be hidden.
36059 * include/rpc/auth_des.h: Likewise.
36060 * include/rpc/auth_unix.h: Likewise.
36061 * include/rpc/clnt.h: Likewise.
36062 * include/rpc/des_crypt.h: Likewise.
36063 * include/rpc/key_prot.h: Likewise.
36064 * include/rpc/pmap_clnt.h: Likewise.
36065 * include/rpc/pmap_prot.h: Likewise.
36066 * include/rpc/pmap_rmt.h: Likewise.
36067 * include/rpc/rpc_msg.h: Likewise.
36068 * include/rpc/svc.h: Likewise.
36069 * include/rpc/svc_auth.h: Likewise.
36070 * include/rpc/xdr.h: Likewise.
36071 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36072 * nss/Makefile: Likewise.
36073 * sunrpc/Makefile: Don't install headers. Build library with normal
36074 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36075 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36076 for the compat linking library. Remove use of INTDEF/INTUSE.
36077 * sunrpc/auth_none.c: Likewise.
36078 * sunrpc/auth_unix.c: Likewise.
36079 * sunrpc/authdes_prot.c: Likewise.
36080 * sunrpc/authuxprot.c: Likewise.
36081 * sunrpc/clnt_gen.c: Likewise.
36082 * sunrpc/clnt_perr.c: Likewise.
36083 * sunrpc/clnt_raw.c: Likewise.
36084 * sunrpc/clnt_simp.c: Likewise.
36085 * sunrpc/clnt_tcp.c: Likewise.
36086 * sunrpc/clnt_udp.c: Likewise.
36087 * sunrpc/clnt_unix.c: Likewise.
36088 * sunrpc/des_crypt.c: Likewise.
36089 * sunrpc/des_soft.c: Likewise.
36090 * sunrpc/get_myaddr.c: Likewise.
36091 * sunrpc/key_call.c: Likewise.
36092 * sunrpc/key_prot.c: Likewise.
36093 * sunrpc/netname.c: Likewise.
36094 * sunrpc/pm_getmaps.c: Likewise.
36095 * sunrpc/pm_getport.c: Likewise.
36096 * sunrpc/pmap_clnt.c: Likewise.
36097 * sunrpc/pmap_prot.c: Likewise.
36098 * sunrpc/pmap_prot2.c: Likewise.
36099 * sunrpc/pmap_rmt.c: Likewise.
36100 * sunrpc/publickey.c: Likewise.
36101 * sunrpc/rpc_cmsg.c: Likewise.
36102 * sunrpc/rpc_common.c: Likewise.
36103 * sunrpc/rpc_dtable.c: Likewise.
36104 * sunrpc/rpc_prot.c: Likewise.
36105 * sunrpc/rpc_thread.c: Likewise.
36106 * sunrpc/rtime.c: Likewise.
36107 * sunrpc/svc.c: Likewise.
36108 * sunrpc/svc_auth.c: Likewise.
36109 * sunrpc/svc_authux.c: Likewise.
36110 * sunrpc/svc_raw.c: Likewise.
36111 * sunrpc/svc_run.c: Likewise.
36112 * sunrpc/svc_simple.c: Likewise.
36113 * sunrpc/svc_tcp.c: Likewise.
36114 * sunrpc/svc_udp.c: Likewise.
36115 * sunrpc/svc_unix.c: Likewise.
36116 * sunrpc/svcauth_des.c: Likewise.
36117 * sunrpc/xcrypt.c: Likewise.
36118 * sunrpc/xdr.c: Likewise.
36119 * sunrpc/xdr_array.c: Likewise.
36120 * sunrpc/xdr_float.c: Likewise.
36121 * sunrpc/xdr_intXX_t.c: Likewise.
36122 * sunrpc/xdr_mem.c: Likewise.
36123 * sunrpc/xdr_rec.c: Likewise.
36124 * sunrpc/xdr_ref.c: Likewise.
36125 * sunrpc/xdr_sizeof.c: Likewise.
36126 * sunrpc/xdr_stdio.c: Likewise.
36127
e6c61494
UD
361282011-04-10 Ulrich Drepper <drepper@gmail.com>
36129
36130 [BZ #12650]
36131 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36132 * sysdeps/ia64/dl-tls.h: Likewise.
36133 * sysdeps/powerpc/dl-tls.h: Likewise.
36134 * sysdeps/s390/dl-tls.h: Likewise.
36135 * sysdeps/sh/dl-tls.h: Likewise.
36136 * sysdeps/sparc/dl-tls.h: Likewise.
36137 * sysdeps/x86_64/dl-tls.h: Likewise.
36138 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36139
34fe483e
AS
361402011-03-14 Andreas Schwab <schwab@redhat.com>
36141
36142 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36143 rpath element also skip the following colon.
36144 (expand_dynamic_string_token): Add is_path parameter and pass
36145 down to DL_DST_REQUIRED and _dl_dst_substitute.
36146 (decompose_rpath): Call expand_dynamic_string_token with
36147 non-zero is_path. Ignore empty rpaths.
36148 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36149 with zero is_path.
36150
f12a32e6
AS
361512011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36152
36153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36154 Make cancelable.
36155
38a7d692
UD
361562011-04-09 Ulrich Drepper <drepper@gmail.com>
36157
36158 [BZ #12655]
36159 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36160 Patch by Filipe David Manana <fdmanana@apache.org>.
36161
e451d22b
AS
361622011-04-07 Andreas Schwab <schwab@redhat.com>
36163
36164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36165 Maintain aligned stack.
36166 (CHECK_RSP): Remove unused macro.
36167
dedc7c7b
UD
361682011-04-03 Ulrich Drepper <drepper@gmail.com>
36169
36170 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36171 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36172
94521213
UD
361732011-04-02 Ulrich Drepper <drepper@gmail.com>
36174
36175 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36176
8cb700c0 36177 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36178
0354e355
L
361792011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36180
36181 [BZ #12518]
36182 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36183 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36184 * sysdeps/x86_64/memmove.c: New file.
36185 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36186 (memcpy): Renamed to ...
36187 (__new_memcpy): This.
36188 (memcpy): Provide GLIBC_2_14 memcpy.
36189 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36190 (memcpy): Provide GLIBC_2_2_5 memcpy.
36191
8593482f
UD
361922011-04-01 Ulrich Drepper <drepper@gmail.com>
36193
36194 [BZ #12631]
36195 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36196
81a5726b
AS
361972011-03-30 Andreas Schwab <schwab@redhat.com>
36198
36199 * misc/syncfs.c: New file.
36200 * misc/Makefile (routines): Add syncfs.
36201 * posix/unistd.h: Declare syncfs.
36202 * sysdeps/unix/syscalls.list: Add syncfs.
36203
00e5419f
AS
362042011-04-01 Andreas Schwab <schwab@redhat.com>
36205
36206 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36207 open_by_handle_at.
36208 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
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/syscalls.list: Likewise.
36214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36215
748876bf
UD
362162011-04-01 Ulrich Drepper <drepper@gmail.com>
36217
658e451d
UD
36218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36219 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36220 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36222 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36225
748876bf
UD
36226 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36227 sync_file_range.c with -fexceptions.
36228 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36229 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36230 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36231 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36232 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36233 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36235 sync_file_range as cancellation point
36236 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36237 now a wrapper around __call_sync_file_range with cancellation handling.
36238 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36239 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36240 function name to __call_sync_file_range.
36241 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36242 Add call_sync_file_range.
748876bf 36243
6e63d5e1
AS
362442011-04-01 Andreas Schwab <schwab@redhat.com>
36245
36246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36247 bits/timex.h.
6e63d5e1 36248
46998f74
UD
362492011-04-01 Ulrich Drepper <drepper@gmail.com>
36250
4c1423ed
UD
36251 * iconv/iconv.h: Fix typo in comment.
36252 * io/fcntl.h: Likewise.
36253 * libio/stdio.h: Likewise.
36254 * posix/spawn.h: Likewise.
36255 * posix/unistd.h: Likewise.
36256 * stdlib/stdlib.h: Likewise.
36257 * time/time.h: Likewise.
36258 * wcsmbs/wchar.h: Likewise.
36259
158648c0
UD
36260 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36261 open_by_handle): Add.
36262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36263 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36264 Augment a few comments.
36265 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36269 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36270 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36271 open_by_handle.
36272
46998f74
UD
36273 * io/fcntl.h (AT_EMPTY_PATH): Define.
36274
83fe108b
UD
362752011-03-30 Ulrich Drepper <drepper@gmail.com>
36276
36277 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36278 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36279 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36280 to...
36281 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36282 * Versions.def: Add GLIBC_2.14.
36283 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36284 Export.
83fe108b 36285
bb242059
UD
362862011-03-22 Ulrich Drepper <drepper@gmail.com>
36287
36288 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36289 round counter.
36290 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36291
c97a1282
L
362922011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36293
36294 [BZ #12597]
36295 * string/test-strncmp.c (do_page_test): New function.
36296 (check2): Likewise.
36297 (test_main): Call check2.
36298 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36299
2a115601
UD
363002011-03-20 Ulrich Drepper <drepper@gmail.com>
36301
36302 [BZ #12587]
36303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36304 Handle cache information in CPU leaf 4.
36305 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36306
8126d904
UD
363072011-03-18 Ulrich Drepper <drepper@gmail.com>
36308
042c49c6 36309 [BZ #12583]
8126d904
UD
36310 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36311 character representation.
36312 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36313
ccfe366e
RA
363142011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36315
36316 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36317 END(__isnan) to END(__isnanf) to match function entry point/label
36318 EALIGN(__isnanf,...).
36319
c6e13027
JJ
363202011-03-10 Jakub Jelinek <jakub@redhat.com>
36321
36322 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36323
33f85a3f
UD
363242011-03-10 Ulrich Drepper <drepper@gmail.com>
36325
028478fa
UD
36326 [BZ #12510]
36327 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36328 copy from the symbol referenced in the relocation to initialize the
36329 used variable.
36330 Patch by Piotr Bury <pbury@goahead.com>.
36331 * elf/Makefile: Add rules to build and tst-unique3.
36332 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36333 * elf/tst-unique3.cc: New file.
36334 * elf/tst-unique3.h: New file.
36335 * elf/tst-unique3lib.cc: New file.
36336 * elf/tst-unique3lib2.cc: New file.
36337
33f85a3f
UD
36338 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36339
03592fc7
MF
363402011-03-10 Mike Frysinger <vapier@gentoo.org>
36341
36342 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36343 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36344 to _start.
03592fc7 36345
6a5ee102
UD
363462011-03-06 Ulrich Drepper <drepper@gmail.com>
36347
36348 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36349 to-be-loaded object along a path to loader is ld.so.
36350
7e4ba49c
HJ
363512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36352 Ulrich Drepper <drepper@gmail.com>
36353
36354 * sysdeps/x86_64/memset.S: After aligning destination, code
36355 branches to different locations depending on the value of
36356 misalignment, when multiarch is enabled. Fix this.
36357
363582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36359
36360 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36361 Set _x86_64_preferred_memory_instruction for AMD processsors.
36362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36363 Set bit_Prefer_SSE_for_memop for AMD processors.
36364
13a804de
UD
363652011-03-04 Ulrich Drepper <drepper@gmail.com>
36366
36367 * libio/fmemopen.c (fmemopen): Optimize a bit.
36368
9d25c392
AS
363692011-03-03 Andreas Schwab <schwab@redhat.com>
36370
36371 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36372
a5543c6a
RM
363732011-03-03 Roland McGrath <roland@redhat.com>
36374
36375 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36376
012d35f7
DM
363772011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36378
7e4ba49c 36379 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36380 __bzero_ultra1 instead of __memset_ultra1.
36381
4bff6e01
AS
363822011-02-23 Andreas Schwab <schwab@redhat.com>
36383 Ulrich Drepper <drepper@gmail.com>
36384
36385 [BZ #12509]
36386 * include/link.h (struct link_map): Add l_orig_initfini.
36387 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36388 returning unsuccessfully.
36389 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36390 close of a file loaded at startup, restore the original l_initfini
36391 list.
36392 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36393 list, store the pointer.
36394 * elf/Makefile ($(objpfx)noload-mem): New rule.
36395 (noload-ENV): Define.
36396 (tests): Add $(objpfx)noload-mem.
36397 * elf/noload.c: Include <memcheck.h>.
36398 (main): Call mtrace. Close all opened handles.
36399
f2092faf
AS
364002011-02-17 Andreas Schwab <schwab@redhat.com>
36401
36402 [BZ #12454]
36403 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36404 dependencies are missing.
36405
6c8a2e88
ST
364062011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36407
f2092faf 36408 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36409 Hurd needs munmap.
36410 * sysdeps/mach/hurd/ifreq.h: New file.
36411
84a42118
PB
364122011-01-27 Petr Baudis <pasky@suse.cz>
36413 Ulrich Drepper <drepper@gmail.com>
36414
071f805e 36415 [BZ 12445]#
84a42118
PB
36416 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36417 to extend_alloca().
36418 * stdio-common/bug23.c: New file.
36419 * stdio-common/Makefile (tests): Add bug23.
36420
e23fe25b
AS
364212010-09-28 Andreas Schwab <schwab@redhat.com>
36422 Ulrich Drepper <drepper@gmail.com>
36423
36424 [BZ #12489]
36425 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36426 before performing relro protection. At old place add assertion
36427 to make sure nothing changed.
36428
d3f02e10
NS
364292011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36430 Glauber de Oliveira Costa <glommer@gmail.com>
36431
36432 * elf/elf.h: Add new ARM TLS relocs.
36433
d55fd7a5
RA
364342011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36435
36436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36437 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36438 cast from r3.
36439 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36440 'tests' variable.
36441 * sysdeps/wordsize-64/tst-writev.c: New file.
36442
2206397e
RA
364432011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36444
36445 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36446 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36447 insns in _dl_start to prevent a TOC reference before relocs are
36448 resolved.
36449
e9433893
UD
364502011-02-15 Ulrich Drepper <drepper@gmail.com>
36451
36452 [BZ #12469]
36453 * Makeconfig: Remove RANLIB definition.
36454 * Makerules: Don't use RANLIB.
36455 * aclocal.m4: Remove ranlib test.
36456 * configure.in: No need to check for ranlib.
36457 * elf/rtld-Rules: Don't use RANLIB.
36458
f75286c6
ST
364592011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36460
8e31c82d
ST
36461 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36462 protection macro.
36463 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36464 inclusion protection macro.
36465
f75286c6
ST
36466 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36467 SIGRTMIN and SIGRTMAX and print information in that case only when
36468 SIGRTMIN is defined.
36469
c1d0e639
JJ
364702011-02-11 Jakub Jelinek <jakub@redhat.com>
36471
36472 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36473 arginfo fn returning -1.
36474
36475 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36476 and thousands string is zero terminated.
36477
edf9294e
AS
364782011-02-03 Andreas Schwab <schwab@redhat.com>
36479
36480 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36481 sysdeps/unix/sysv/linux/bits/socket.h.
36482
2b7e92df
ST
364832011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36484
edf9294e
AS
36485 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36486 (__CPU_COUNT): Remove old macros.
36487 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36488 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36489 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36490 (__sched_cpualloc, __sched_cpufree): Add declarations.
36491
a4c7ea7b
UD
364922011-02-05 Ulrich Drepper <drepper@gmail.com>
36493
36494 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36495 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36496 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36497 (readdhstai): Return value of addhstaiX call.
36498 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36499 (addgrbyX): Return value returned by cache_addgr.
36500 (readdgrbyname): Return value returned by addgrbyX.
36501 (readdgrbygid): Likewise.
36502 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36503 (addpwbyX): Return value returned by cache_addpw.
36504 (readdpwbyname): Return value returned by addhstbyX.
36505 (readdpwbyuid): Likewise.
36506 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36507 (addservbyX): Return value returned by cache_addserv.
36508 (readdservbyname): Return value returned by addservbyX:
36509 (readdservbyport): Likewise.
36510 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36511 (addhstbyX): Return value returned by cache_addhst.
36512 (readdhstbyname): Return value returned by addhstbyX.
36513 (readdhstbyaddr): Likewise.
36514 (readdhstbynamev6): Likewise.
36515 (readdhstbyaddrv6): Likewise.
36516 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36517 (readdinitgroups): Return value returned by addinitgroupsX.
36518 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36519 (prune_cache): Keep track of timeout value of re-added entries.
36520 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36521 * nscd/nscd.h: Adjust prototypes of readd* functions.
36522
a0bf67cc
RM
365232011-02-04 Roland McGrath <roland@redhat.com>
36524
36525 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36526 (nis_stats): Likewise.
36527 * nis/nis_modify.c (nis_modify): Likewise.
36528 * nis/nis_remove.c (nis_remove): Likewise.
36529 * nis/nis_add.c (nis_add): Likewise.
36530
36531 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36532
36533 * posix/fnmatch_loop.c: Add some consts.
36534
36535 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36536
435b95eb
L
365372011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36538
36539 [BZ #12460]
36540 * config.make.in (config-cflags-novzeroupper): Define.
36541 * configure.in: Substitute libc_cv_cc_novzeroupper.
36542 * elf/Makefile (AVX-CFLAGS): Define.
36543 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36544 (CFLAGS-tst-auditmod4a.c): Likewise.
36545 (CFLAGS-tst-auditmod4b.c): Likewise.
36546 (CFLAGS-tst-auditmod6b.c): Likewise.
36547 (CFLAGS-tst-auditmod6c.c): Likewise.
36548 (CFLAGS-tst-auditmod7b.c): Likewise.
36549 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36550
8517b15e
UD
365512011-02-02 Ulrich Drepper <drepper@gmail.com>
36552
36553 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36554 function to the callback.
36555 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36556
10a656fe
AS
365572011-02-02 Andreas Schwab <schwab@redhat.com>
36558
36559 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36560 of errno.
36561
968dad0a
UD
365622011-01-19 Ulrich Drepper <drepper@gmail.com>
36563
9f94d2ea 36564 [BZ #11724]
968dad0a
UD
36565 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36566 of constructors.
36567 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36568 of destructors.
36569 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36570
36571 [BZ #11724]
36572 * elf/Makefile: Add rules to build and run new test.
36573 * elf/tst-initorder.c: New file.
36574 * elf/tst-initorder.exp: New file.
36575 * elf/tst-initordera1.c: New file.
36576 * elf/tst-initordera2.c: New file.
36577 * elf/tst-initordera3.c: New file.
36578 * elf/tst-initordera4.c: New file.
36579 * elf/tst-initorderb1.c: New file.
36580 * elf/tst-initorderb2.c: New file.
36581 * elf/tst-order-a1.c: New file.
36582 * elf/tst-order-a2.c: New file.
36583 * elf/tst-order-a3.c: New file.
36584 * elf/tst-order-a4.c: New file.
36585 * elf/tst-order-b1.c: New file.
36586 * elf/tst-order-b2.c: New file.
36587 * elf/tst-order-main.c: New file.
36588 New test case by George Gensure <werkt0@gmail.com>.
36589
86e92359
UD
365902010-10-01 Andreas Schwab <schwab@redhat.com>
36591
36592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36593 decoding ACE if AI_CANONIDN.
36594
5d5732b0
UD
365952011-01-18 Ulrich Drepper <drepper@gmail.com>
36596
36597 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36598
a77e8cbc
UD
365992011-01-17 Ulrich Drepper <drepper@gmail.com>
36600
6392473f
UD
36601 * version.h (RELEASE): Bump for 2.13 release.
36602 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36603
620a0529
UD
36604 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36605
18ba70a5
UD
36606 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36607 MADV_NOHUGEPAGE.
32465c3e
UD
36608 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36609 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36610 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36611 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36612 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36613 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36614
c0dafcf1
UD
36615 * posix/getconf.c: Update copyright year.
36616 * catgets/gencat.c: Likewise.
36617 * csu/version.c: Likewise.
36618 * debug/catchsegv.sh: Likewise.
36619 * debug/xtrace.sh: Likewise.
36620 * elf/ldconfig.c: Likewise.
36621 * elf/ldd.bash.in: Likewise.
36622 * elf/sprof.c (print_version): Likewise.
36623 * iconv/iconv_prog.c: Likewise.
36624 * iconv/iconvconfig.c: Likewise.
36625 * locale/programs/locale.c: Likewise.
36626 * locale/programs/localedef.c: Likewise.
36627 * malloc/memusage.sh: Likewise.
36628 * malloc/mtrace.pl: Likewise.
36629 * nscd/nscd.c (print_version): Likewise.
36630 * nss/getent.c: Likewise.
36631
a77e8cbc
UD
36632 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36633 PF_CAIF, and PF_ALG.
36634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36635
77e8bddf
AS
366362011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36637
1f20b93a
AS
36638 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36639 (modules-names): Use them.
36640 (ifunc-test-modules, ifunc-pie-tests): Define.
36641 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36642 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36643 (test-extras): Likewise.
36644 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36645 $(compile-command.c).
36646 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36647 (all-built-dso): Define.
36648 (check-textrel.out, check-execstack.out): Depend on it.
36649
77e8bddf
AS
36650 * configure.in: Don't override --enable-multi-arch.
36651
bc425b33
UD
366522011-01-15 Ulrich Drepper <drepper@gmail.com>
36653
36654 [BZ #6812]
36655 * nscd/hstcache.c (tryagain): Define.
36656 (cache_addhst): Return tryagain not notfound for temporary errors.
36657 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36658 failed.
36659
794c3ad3
UD
366602011-01-14 Ulrich Drepper <drepper@gmail.com>
36661
70181fdd
UD
36662 [BZ #10563]
36663 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36664 to make the syscall.
36665 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36666
794c3ad3
UD
36667 [BZ #12378]
36668 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36669 and fall back to matching as normal character if the string ends before
36670 the matching ']' is found. This is what POSIX requires.
36671 * posix/testfnm.c: Adjust test result.
36672 * posix/globtest.sh: Adjust test result. Add new test.
36673 * posix/tst-fnmatch.input: Likewise.
36674 * posix/tst-fnmatch2.c: Add new test.
36675
68dc9497
AS
366762010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36677
36678 * elf/Makefile (check-execstack): Revert last change. Depend on
36679 check-execstack.h.
36680 (check-execstack.h): New target.
36681 (generated): Add check-execstack.h.
36682 * elf/check-execstack.c: Include "check-execstack.h".
36683 (main): Revert last change.
36684 (handle_file): Return zero if GNU_STACK is absent and
36685 DEFAULT_STACK_PERMS doesn't include PF_X.
36686
451f001b
UD
366872011-01-13 Ulrich Drepper <drepper@gmail.com>
36688
cfa28e56
UD
36689 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36690 in child fails because the descriptor is already closed.
8cf8ce17
UD
36691 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36692 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36693 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36694
1086d70d
UD
36695 [BZ #12397]
36696 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36697 syscall.
36698
451f001b
UD
36699 [BZ #10484]
36700 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36701 temporary buffer used to handle multi lookups locally.
a85b5cb4 36702 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36703
08769175
UD
367042011-01-12 Ulrich Drepper <drepper@gmail.com>
36705
36706 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36707 loader is ld.so.
36708
5e49c52e
UD
367092011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36710
36711 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36712 alignment for SSE2.
36713
60522a5f
UD
367142011-01-12 Ulrich Drepper <drepper@gmail.com>
36715
36716 [BZ #12394]
36717 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36718 characters. When rounding increased number of integer digits recompute
36719 number of groups.
36720 * stdio-common/tst-grouping.c: New file.
36721 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36722
f257bbd7
UD
367232011-01-09 Ulrich Drepper <drepper@gmail.com>
36724
36725 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36726 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36727
36728 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36729 void.
36730 * bits/select.h: Likewise.
36731
fa9c15cb
UD
367322011-01-08 Ulrich Drepper <drepper@gmail.com>
36733
36734 * po/ja.po: Update from translation team.
36735
16c2895f
DM
367362011-01-04 David S. Miller <davem@sunset.davemloft.net>
36737
36738 [BZ #11155]
36739 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36740 implementation just like for lxstat, fxstatat, et al.
36741
2543fef2
JM
367422010-12-27 Jim Meyering <meyering@redhat.com>
36743
36744 [BZ #12348]
36745 * posix/regexec.c (build_trtable): Return failure indication upon
36746 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36747
98727dbe
UD
367482010-12-25 Ulrich Drepper <drepper@gmail.com>
36749
5bd6dc5c
UD
36750 [BZ #12201]
36751 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36752 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36753 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36754 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36755
97983464
UD
36756 [BZ #12207]
36757 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36758
98727dbe
UD
36759 [BZ #12204]
36760 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36761 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36762
4a531bb0
L
367632010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36764
36765 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36766 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36767 script has SORT_BY_INIT_PRIORITY.
36768 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36769 NO_CTORS_DTORS_SECTIONS is defined.
36770 * elf/soinit.c: Likewise.
36771 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36772 NO_CTORS_DTORS_SECTIONS is defined.
36773 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36774 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36775 * sysdeps/sh/init-first.c: Likewise.
36776 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36777
07eb4b71
UD
367782010-12-24 Ulrich Drepper <drepper@gmail.com>
36779
36780 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36781 always use the slow path.
36782
30950a5f
RA
367832010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36784
36785 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36786 similar rule which adds the sysdep directories to the header search in
36787 order to pick up the correct platform stackinfo.h.
36788 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36789 perform test if it is, otherwise return successfully without testing.
36790 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36791 DEFAULT_STACK_PERMS define in stackinfo.h.
36792 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36793 defined in stackinfo.h.
36794 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36795 DEFAULT_STACK_PERMS defined in stackinfo.h.
36796 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36797 * sysdeps/ia64/stackinfo.h: Likewise.
36798 * sysdeps/s390/stackinfo.h: Likewise.
36799 * sysdeps/sh/stackinfo.h: Likewise.
36800 * sysdeps/sparc/stackinfo.h: Likewise.
36801 * sysdeps/x86_64/stackinfo.h: Likewise.
36802 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36803 PF_X for powerpc64. Retain PF_X for powerpc32.
36804
db753e2c
UD
368052010-12-19 Ulrich Drepper <drepper@gmail.com>
36806
14b697f7
UD
36807 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36808 accurately.
db753e2c
UD
36809 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36810 GETDENTS_64BIT_ALIGNED.
36811
28300719
UD
368122010-12-14 Ulrich Drepper <dreper@gmail.com>
36813
14b697f7 36814 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36815
4f197237
AS
368162010-12-10 Andreas Schwab <schwab@redhat.com>
36817
dbb0472f
AS
36818 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36819 _GNU_SOURCE.
36820
4f197237
AS
36821 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36822 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36823 Remove __restrict.
36824 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36825 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36826
fb88ac72
UD
368272010-12-09 Ulrich Drepper <drepper@gmail.com>
36828
36829 [BZ #11655]
36830 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36831 are initialized.
36832
42acbb92
JJ
368332010-12-09 Jakub Jelinek <jakub@redhat.com>
36834
36835 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36836
c038d98d
UD
368372010-12-03 Ulrich Drepper <drepper@gmail.com>
36838
36839 * po/it.po: Update from translation team.
36840
3a4a2499
L
368412010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36842
36843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36844 unused codes.
36845
1e24cf6e
UD
368462010-11-30 Ulrich Drepper <drepper@gmail.com>
36847
36848 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36849
a7690819
AS
368502010-11-24 Andreas Schwab <schwab@redhat.com>
36851
36852 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36853 specially.
36854 (gaih_getanswer_slice): Likewise.
36855
3bf8d1b1
JJ
368562010-10-20 Jakub Jelinek <jakub@redhat.com>
36857
36858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36859
6db52fbb
PB
368602010-05-31 Petr Baudis <pasky@suse.cz>
36861
36862 [BZ #11149]
36863 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36864 silently even in the chroot mode.
36865
eaca7569
UD
368662010-11-22 Ulrich Drepper <drepper@gmail.com>
36867
36868 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36869 last patch a bit. Pretty printing
36870
3056dcdb
UD
368712010-05-31 Petr Baudis <pasky@suse.cz>
36872
36873 [BZ #10085]
36874 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36875 initialization of skip_initgroups_dyn.
36876
cf7c9078
UD
368772010-11-19 Ulrich Drepper <drepper@gmail.com>
36878
36879 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36880 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36881
a1fb5e3e
UD
368822010-11-16 Ulrich Drepper <drepper@gmail.com>
36883
36884 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36885
3540d66b
AS
368862010-11-11 Andreas Schwab <schwab@redhat.com>
36887
36888 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36889 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36890 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36891 ($(objpfx)tst-fnmatch-mem): New rule.
36892 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36893 * posix/tst-fnmatch.c (main): Call mtrace.
36894
13b69574
L
368952010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36896
36897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36898 Support Intel processor model 6 and model 0x2c.
36899
da93d214
LM
369002010-11-10 Luis Machado <luisgpm@br.ibm.com>
36901
36902 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36903 signed comparison.
36904
8ca52c6e
L
369052010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36906
36907 [BZ #12205]
36908 * string/test-strncasecmp.c (check_result): New function.
36909 (do_one_test): Use it.
36910 (check1): New function.
36911 (test_main): Use it.
36912 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36913 Support strcasecmp and strncasecmp.
36914
69da074d
UD
369152010-11-08 Ulrich Drepper <drepper@gmail.com>
36916
36917 [BZ #12194]
36918 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36919 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36920
ff02d528
L
369212010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36922
36923 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36924 IFUNC support.
36925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36926 memset-x86-64.
36927 * sysdeps/x86_64/multiarch/bzero.S: New file.
36928 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36929 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36930 * sysdeps/x86_64/multiarch/memset.S: New file.
36931 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36933 Set bit_Prefer_SSE_for_memop for Intel processors.
36934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36935 Define.
36936 (index_Prefer_SSE_for_memop): Define.
36937 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36938
344d0b54
LM
369392010-11-04 Luis Machado <luisgpm@br.ibm.com>
36940
36941 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36942 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36943
c0dde15b
UD
369442010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36945
36946 [BZ #12191]
36947 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36948 (__x86_64_raw_data_cache_size_half): Likewise.
36949 (__x86_64_raw_shared_cache_size): Likewise.
36950 (__x86_64_raw_shared_cache_size_half): Likewise.
36951
36952 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36953 (__x86_64_raw_data_cache_size_half): Likewise.
36954 (__x86_64_raw_shared_cache_size): Likewise.
36955 (__x86_64_raw_shared_cache_size_half): Likewise.
36956 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36957 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36958 and __x86_64_raw_shared_cache_size_half. Round
36959 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36960 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36961 to multiple of 256 bytes.
36962
0e516e0e
MS
369632010-11-03 Ulrich Drepper <drepper@gmail.com>
36964
36965 [BZ #12167]
36966 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36967 of inacessible symlinks. Verify result of symlink before returning it.
36968 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36969 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36970
0e012e87
ER
369712010-10-28 Erich Ritz <erichritz@gmail.com>
36972
36973 * math/math.h (isinf): Fix typo in comment.
36974
de0ff7bc
UD
369752010-11-01 Ulrich Drepper <drepper@gmail.com>
36976
36977 * po/da.po: Update from translation team.
36978
fa41c84d
UD
369792010-10-26 Ulrich Drepper <drepper@gmail.com>
36980
36981 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36982 is added to the list.
36983
f0967738
AK
369842010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36985 Ulrich Drepper <drepper@gmail.com>
36986
36987 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36988 the global list here. Move code to...
36989 (_dl_add_to_namespace_list): ...here. New function.
36990 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36991 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36992 * elf/dl-load.c (lose): Don't remove the element from the list.
36993 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36994 (_dl_map_object): Likewise.
36995
369962010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36997
36998 [BZ #12159]
36999 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37000 into all bytes of SSE register.
37001 Patch by Richard Li <richardpku@gmail.com>.
37002
f0967738 370032010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37004
37005 [BZ #12140]
37006 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37007 perturbing.
37008
d0b9e94f
MB
370092010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37010
37011 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37012 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37013 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37014 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37016 submachine.
37017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37018
8e9f92e9
AS
370192010-10-22 Andreas Schwab <schwab@redhat.com>
37020
37021 * include/dlfcn.h (__RTLD_SECURE): Define.
37022 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37023 mode & __RTLD_SECURE instead.
37024 (open_path): Rename preloaded parameter to secure.
37025 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37026 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37027 * elf/dl-deps.c (openaux): Likewise.
37028 * elf/rtld.c (struct map_args): Remove is_preloaded.
37029 (map_doit): Don't use it.
37030 (dl_main): Likewise.
37031 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37032 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37033
bc96fbda
AS
370342010-09-09 Andreas Schwab <schwab@redhat.com>
37035
37036 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37037 (sysd-rules-targets): Remove duplicates.
37038 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37039 rtld-%.$o dependency.
37040
22cd1c9b
AS
370412010-10-18 Andreas Schwab <schwab@redhat.com>
37042
37043 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37044 _dl_map_object do it.
37045
18edac48
UD
370462010-10-19 Ulrich Drepper <drepper@gmail.com>
37047
37048 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37049 fast fma builtins, define the macros in the C99 standard.
37050 (FP_FAST_FMAF): Likewise.
37051 (FP_FAST_FMAL): Likewise.
37052 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37053
37054 * bits/mathdef.h: Update copyright year.
37055 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37056
d2050124
MM
370572010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37058
37059 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37060 builtins, define the macros in the C99 standard.
37061 (FP_FAST_FMAF): Likewise.
37062 (FP_FAST_FMAL): Likewise.
37063 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37064 multiply/add.
37065 (FP_FAST_FMAF): Likewise.
37066
475facd1
JJ
370672010-10-15 Jakub Jelinek <jakub@redhat.com>
37068
37069 [BZ #3268]
37070 * math/libm-test.inc (fma_test): Some new testcases.
37071 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37072 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37073 y and infinite z. Do multiplication by C already in long double.
37074 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37076 y and infinite z. Do bitwise or of inexact bit into u.d.
37077 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37078 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37079 * sysdeps/i386/fpu/s_fma.S: Removed.
37080 * sysdeps/i386/fpu/s_fmal.S: Removed.
37081
7c08a05c
JJ
370822010-10-16 Jakub Jelinek <jakub@redhat.com>
37083
37084 [BZ #3268]
37085 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37087 computation is not scheduled after fetestexcept. Fix value
37088 of minimum denormal long double.
37089
f3f7372d
JJ
370902010-10-14 Jakub Jelinek <jakub@redhat.com>
37091
37092 [BZ #3268]
37093 * math/libm-test.inc (fma_test): Add some more tests.
37094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37095 correctly.
37096
14d43591
AS
370972010-10-15 Andreas Schwab <schwab@redhat.com>
37098
37099 * scripts/data/localplt-s390-linux-gnu.data: New file.
37100 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37101
5e908464
JJ
371022010-10-13 Jakub Jelinek <jakub@redhat.com>
37103
37104 [BZ #3268]
37105 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37106 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37107 instead of dbl-64.
37108 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37109 inlines.
37110 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37112 if one of x and y is very large and the other is subnormal.
37113 * sysdeps/s390/fpu/s_fmaf.c: New file.
37114 * sysdeps/s390/fpu/s_fma.c: New file.
37115 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37116 * sysdeps/powerpc/fpu/s_fma.S: New file.
37117 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37118 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37119 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37120
371212010-10-12 Jakub Jelinek <jakub@redhat.com>
37122
37123 [BZ #3268]
37124 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37125 fma tests.
37126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37127 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37128 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37129 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37130 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37131 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37133
b833d51f
UD
371342010-10-12 Ulrich Drepper <drepper@redhat.com>
37135
37136 [BZ #12078]
37137 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37138 * posix/bug-regex31.input: Add test case.
37139
1751705d
UD
371402010-10-11 Ulrich Drepper <drepper@gmail.com>
37141
e9b9cbf5
UD
37142 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37143 * posix/bug-regex31.input: New file.
37144
37145 [BZ #12078]
37146 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37147 (parse_sub_exp): Fix last change, use postorder.
37148
ef06edbe
UD
37149 * posix/bug-regex31.c: New file.
37150 * posix/Makefile: Add rules to build and run bug-regex31.
37151
a129c80d
UD
37152 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37153
37154 [BZ #12078]
37155 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37156
b76b818e
UD
37157 [BZ #12108]
37158 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37159 to have entries in sys_siglist.
37160
1751705d
UD
37161 [BZ #12093]
37162 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37163 be NULL.
37164
9ff8d36f
JJ
371652010-10-07 Jakub Jelinek <jakub@redhat.com>
37166
37167 [BZ #3268]
37168 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37169 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37170 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37171 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37172 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37173 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37174 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37175 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37176 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37177 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37178 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37179 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37180 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37181 * math/ftestexcept.c (fetestexcept): Likewise.
37182 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37183 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37184 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37185 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37186 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37187 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37188 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37189
af325969
UD
371902010-10-11 Ulrich Drepper <drepper@gmail.com>
37191
c579b202 37192 [BZ #12107]
af325969
UD
37193 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37194 newline.
37195
67a67b95
UD
371962010-10-06 Ulrich Drepper <drepper@gmail.com>
37197
37198 * string/bug-strstr1.c: New file.
37199 * string/Makefile: Add rules to build and run bug-strstr1.
37200
5fb308bc
EB
372012010-10-05 Eric Blake <eblake@redhat.com>
37202
37203 [BZ #12092]
37204 * string/str-two-way.h (two_way_long_needle): Always clear memory
37205 when skipping input due to the shift table.
37206
45db99c7
UD
372072010-10-03 Ulrich Drepper <drepper@gmail.com>
37208
3b111893
UD
37209 [BZ #12005]
37210 * malloc/mcheck.c: Handle large requests.
37211
45db99c7
UD
37212 [BZ #12077]
37213 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37214 for strncmp and strncasecmp.
37215 * string/stratcliff.c: Add tests for strcmp and strncmp.
37216 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37217
cf7a1eb8
NI
372182010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37219
37220 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37221 __set_fpscr.
37222
6484ba5e
AJ
372232010-09-30 Andreas Jaeger <aj@suse.de>
37224
37225 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37226 (CGROUP_SUPER_MAGIC): Define.
37227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37228 Handle btrfs and cgroup file systems.
37229 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37230 Likewise.
37231
91c42559
LM
372322010-09-27 Luis Machado <luisgpm@br.ibm.com>
37233
37234 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37235 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37236
87a97932
AK
372372010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37238
37239 [BZ #12067]
37240 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37241 trying to locate the ELF header.
37242
c21cc9bc
AS
372432010-09-27 Andreas Schwab <schwab@redhat.com>
37244
37245 [BZ #11611]
37246 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37247 Mask out sign-bit copies when constructing f_fsid.
37248
315970f6
PB
372492010-09-24 Petr Baudis <pasky@suse.cz>
37250
37251 * debug/stack_chk_fail_local.c: Add missing licence exception.
37252 * debug/warning-nop.c: Likewise.
37253
1ac7a2c7
JM
372542010-09-15 Joseph Myers <joseph@codesourcery.com>
37255
37256 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37257 implementing getdents64 using getdents syscall, set d_type if
37258 __ASSUME_GETDENTS32_D_TYPE.
37259
56801c50
AS
372602010-09-16 Andreas Schwab <schwab@redhat.com>
37261
37262 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37263 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37264
dda51327
UD
372652010-09-21 Ulrich Drepper <drepper@redhat.com>
37266
37267 [BZ #12037]
37268 * posix/unistd.h: Undo change of feature selection for ftruncate from
37269 2010-01-11.
37270
8ffcee4a
UD
372712010-09-20 Ulrich Drepper <drepper@redhat.com>
37272
a545ecd9 37273 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37274 detection.
37275
e24f0a8b
AS
372762010-09-20 Andreas Schwab <schwab@redhat.com>
37277
37278 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37279 fanotify_mark.
37280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37281
7291c56f
AS
372822010-09-14 Andreas Schwab <schwab@redhat.com>
37283
37284 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37285 variables after CHECK_SP call.
37286 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37287
bc5fb037
AS
372882010-09-13 Andreas Schwab <schwab@redhat.com>
37289 Ulrich Drepper <drepper@redhat.com>
37290
37291 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37292 re-relocationg ld.so.
37293 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37294 _dl_init_paths call.
37295 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37296 here anymore.
37297
e66e7419
UD
372982010-09-14 Ulrich Drepper <drepper@redhat.com>
37299
37300 * resolv/res_init.c (__res_vinit): Count the default server we added.
37301
c044aa75
CLT
373022010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37303 Ulrich Drepper <drepper@redhat.com>
37304
37305 [BZ #11968]
37306 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37307 (____longjmp_chk): Use %ebx for saving value across system call.
37308 Add unwind info.
37309
32cf4069
AS
373102010-09-06 Andreas Schwab <schwab@redhat.com>
37311
37312 * manual/Makefile: Don't mix pattern rules with normal rules.
37313
817328ee
AS
373142010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37315
37316 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37317 operation.
37318 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37319 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37320 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37321 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37322 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37323 Likewise.
37324
29fddf61
UD
373252010-09-04 Ulrich Drepper <drepper@redhat.com>
37326
37327 [BZ #11979]
37328 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37329 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37330
0959ffc9
UD
373312010-09-02 Ulrich Drepper <drepper@redhat.com>
37332
37333 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37334 * sysdeps/x86_64/addmul_1.S: Likewise.
37335 * sysdeps/x86_64/lshift.S: Likewise.
37336 * sysdeps/x86_64/mul_1.S: Likewise.
37337 * sysdeps/x86_64/rshift.S: Likewise.
37338 * sysdeps/x86_64/sub_n.S: Likewise.
37339 * sysdeps/x86_64/submul_1.S: Likewise.
37340
ece29840
ST
373412010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37342
0959ffc9
UD
37343 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37344 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37345 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37346 * bits/sched.h [__need_schedparam]
ece29840 37347 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37348 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37349 (__defined_schedparam): Define to 1.
ece29840
ST
37350 (__sched_param): New structure, identical to sched_param.
37351 (__need_schedparam): Undefine.
37352
e53a31fe
MF
373532010-08-31 Mike Frysinger <vapier@gentoo.org>
37354
fdc0c10d
MF
37355 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37356 (epoll_create1): Declare.
37357
e53a31fe
MF
37358 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37359
a726d796
AS
373602010-08-31 Andreas Schwab <schwab@redhat.com>
37361
37362 [BZ #7066]
37363 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37364 shifting retval into place.
37365
2f3e3dc7
UD
373662010-09-01 Ulrich Drepper <drepper@redhat.com>
37367
f2933da9
UD
37368 * nis/rpcsvc/nis.h: Update copyright notice.
37369 * nis/rpcsvc/nis.x: Likewise.
37370 * nis/rpcsvc/nis_callback.h: Likewise.
37371 * nis/rpcsvc/nis_callback.x: Likewise.
37372 * nis/rpcsvc/nis_object.x: Likewise.
37373 * nis/rpcsvc/nis_tags.h: Likewise.
37374 * nis/rpcsvc/yp.h: Likewise.
37375 * nis/rpcsvc/yp.x: Likewise.
37376 * nis/rpcsvc/ypupd.h: Likewise.
37377 * nis/yp_xdr.c: Likewise.
37378 * nis/ypupdate_xdr.c: Likewise.
37379
2f3e3dc7
UD
37380 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37381 mainly the body of pmap_getport. Add parameters to specify timeouts.
37382 (pmap_getport): Use __libc_rpc_getport.
37383 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37384 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37385 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37386
f3dcc2f9
AS
373872010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37388
37389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37390 fanotify_mark.
37391
6d34eb5b
RM
373922010-08-27 Roland McGrath <roland@redhat.com>
37393
37394 * sysdeps/i386/i686/multiarch/Makefile
37395 (CFLAGS-varshift.c): New variable.
37396
9ea3de11
UD
373972010-08-27 Ulrich Drepper <drepper@redhat.com>
37398
c96d23fc
UD
37399 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37400 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37401
9ea3de11
UD
37402 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37403
37404 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37405
623aac7f
L
374062010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37407
37408 * sysdeps/x86_64/strlen.S: Unroll the loop.
37409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37410 strlen-sse2 strlen-sse2-bsf.
37411 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37412 __strlen_no_bsf if bit_Slow_BSF is set.
37413 (__strlen_sse42): Removed.
37414 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37415 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37416
8b2b7715
RM
374172010-08-25 Roland McGrath <roland@redhat.com>
37418
37419 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37420 * sysdeps/x86_64/multiarch/varshift.c: New file.
37421 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37422 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37423 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37424 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37425
e73015f2
L
374262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37427
37428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37429 strlen-sse2 strlen-sse2-bsf.
37430 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37431 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37432 (__strlen_sse2): Removed.
37433 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37434 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37436 bit_Slow_BSF for Atom.
37437 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37438 (index_Slow_BSF): Define.
37439 (HAS_SLOW_BSF): Define.
37440
df24a73e
UD
374412010-08-25 Ulrich Drepper <drepper@redhat.com>
37442
37443 [BZ #10851]
37444 * resolv/res_init.c (__res_vinit): When no server address at all
37445 is given default to loopback.
37446
f2ac4868
RM
374472010-08-24 Roland McGrath <roland@redhat.com>
37448
09055553
RM
37449 * configure.in: Remove config-name.h generation.
37450 * configure: Regenerated.
37451 * config-name.in: File removed.
37452 * scripts/config-uname.sh: New file.
37453 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37454 ($(objdir)config-name.h): New target.
37455
f2ac4868
RM
37456 * sunrpc/rpc_parse.h: Avoid nested comment.
37457
73f27d5e
RH
374582010-08-24 Richard Henderson <rth@redhat.com>
37459 Ulrich Drepper <drepper@redhat.com>
37460 H.J. Lu <hongjiu.lu@intel.com>
37461
37462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37464 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37465 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37466 _mm_alignr_epi8 with _mm_loadu_si128.
37467 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37468 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37469 (__m128i_shift_right): Removed.
37470 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37471 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37472 * sysdeps/x86_64/multiarch/varshift.h: New file.
37473 * sysdeps/x86_64/multiarch/varshift.S: New file.
37474
84b9230c
MF
374752010-08-21 Mike Frysinger <vapier@gentoo.org>
37476
37477 * configure.in: Move assembler checks to before sysdep dir checking.
37478
9bbd0ddc
PB
374792010-08-20 Petr Baudis <pasky@suse.cz>
37480
37481 * LICENSES: Sync the sunrpc license.
37482
9da4bb31
UD
374832010-08-19 Ulrich Drepper <drepper@redhat.com>
37484
a7ab6ec8
UD
37485 * sunrpc/auth_des.c: Update copyright notice once again.
37486 * sunrpc/auth_none.c: Likewise.
37487 * sunrpc/auth_unix.c: Likewise.
37488 * sunrpc/authdes_prot.c: Likewise.
37489 * sunrpc/authuxprot.c: Likewise.
37490 * sunrpc/bindrsvprt.c: Likewise.
37491 * sunrpc/clnt_gen.c: Likewise.
37492 * sunrpc/clnt_perr.c: Likewise.
37493 * sunrpc/clnt_raw.c: Likewise.
37494 * sunrpc/clnt_simp.c: Likewise.
37495 * sunrpc/clnt_tcp.c: Likewise.
37496 * sunrpc/clnt_udp.c: Likewise.
37497 * sunrpc/clnt_unix.c: Likewise.
37498 * sunrpc/des_crypt.c: Likewise.
37499 * sunrpc/des_soft.c: Likewise.
37500 * sunrpc/get_myaddr.c: Likewise.
37501 * sunrpc/getrpcport.c: Likewise.
37502 * sunrpc/key_call.c: Likewise.
37503 * sunrpc/key_prot.c: Likewise.
37504 * sunrpc/openchild.c: Likewise.
37505 * sunrpc/pm_getmaps.c: Likewise.
37506 * sunrpc/pm_getport.c: Likewise.
37507 * sunrpc/pmap_clnt.c: Likewise.
37508 * sunrpc/pmap_prot.c: Likewise.
37509 * sunrpc/pmap_prot2.c: Likewise.
37510 * sunrpc/pmap_rmt.c: Likewise.
37511 * sunrpc/rpc/auth.h: Likewise.
37512 * sunrpc/rpc/auth_unix.h: Likewise.
37513 * sunrpc/rpc/clnt.h: Likewise.
37514 * sunrpc/rpc/des_crypt.h: Likewise.
37515 * sunrpc/rpc/key_prot.h: Likewise.
37516 * sunrpc/rpc/netdb.h: Likewise.
37517 * sunrpc/rpc/pmap_clnt.h: Likewise.
37518 * sunrpc/rpc/pmap_prot.h: Likewise.
37519 * sunrpc/rpc/pmap_rmt.h: Likewise.
37520 * sunrpc/rpc/rpc.h: Likewise.
37521 * sunrpc/rpc/rpc_des.h: Likewise.
37522 * sunrpc/rpc/rpc_msg.h: Likewise.
37523 * sunrpc/rpc/svc.h: Likewise.
37524 * sunrpc/rpc/svc_auth.h: Likewise.
37525 * sunrpc/rpc/types.h: Likewise.
37526 * sunrpc/rpc/xdr.h: Likewise.
37527 * sunrpc/rpc_clntout.c: Likewise.
37528 * sunrpc/rpc_cmsg.c: Likewise.
37529 * sunrpc/rpc_common.c: Likewise.
37530 * sunrpc/rpc_cout.c: Likewise.
37531 * sunrpc/rpc_dtable.c: Likewise.
37532 * sunrpc/rpc_hout.c: Likewise.
37533 * sunrpc/rpc_main.c: Likewise.
37534 * sunrpc/rpc_parse.c: Likewise.
37535 * sunrpc/rpc_parse.h: Likewise.
37536 * sunrpc/rpc_prot.c: Likewise.
37537 * sunrpc/rpc_sample.c: Likewise.
37538 * sunrpc/rpc_scan.c: Likewise.
37539 * sunrpc/rpc_scan.h: Likewise.
37540 * sunrpc/rpc_svcout.c: Likewise.
37541 * sunrpc/rpc_tblout.c: Likewise.
37542 * sunrpc/rpc_util.c: Likewise.
37543 * sunrpc/rpc_util.h: Likewise.
37544 * sunrpc/rpcinfo.c: Likewise.
37545 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37546 * sunrpc/rpcsvc/key_prot.x: Likewise.
37547 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37548 * sunrpc/rpcsvc/mount.x: Likewise.
37549 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37550 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37551 * sunrpc/rpcsvc/rex.x: Likewise.
37552 * sunrpc/rpcsvc/rstat.x: Likewise.
37553 * sunrpc/rpcsvc/rusers.x: Likewise.
37554 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37555 * sunrpc/rpcsvc/spray.x: Likewise.
37556 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37557 * sunrpc/rtime.c: Likewise.
37558 * sunrpc/svc.c: Likewise.
37559 * sunrpc/svc_auth.c: Likewise.
37560 * sunrpc/svc_authux.c: Likewise.
37561 * sunrpc/svc_raw.c: Likewise.
37562 * sunrpc/svc_run.c: Likewise.
37563 * sunrpc/svc_simple.c: Likewise.
37564 * sunrpc/svc_tcp.c: Likewise.
37565 * sunrpc/svc_udp.c: Likewise.
37566 * sunrpc/svc_unix.c: Likewise.
37567 * sunrpc/svcauth_des.c: Likewise.
37568 * sunrpc/xcrypt.c: Likewise.
37569 * sunrpc/xdr.c: Likewise.
37570 * sunrpc/xdr_array.c: Likewise.
37571 * sunrpc/xdr_float.c: Likewise.
37572 * sunrpc/xdr_mem.c: Likewise.
37573 * sunrpc/xdr_rec.c: Likewise.
37574 * sunrpc/xdr_ref.c: Likewise.
37575 * sunrpc/xdr_sizeof.c: Likewise.
37576 * sunrpc/xdr_stdio.c: Likewise.
37577
9da4bb31
UD
37578 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37579 handling.
37580
bdaa77bc
AS
375812010-08-19 Andreas Schwab <schwab@redhat.com>
37582
37583 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37584
fe2f79db
LM
375852010-08-19 Luis Machado <luisgpm@br.ibm.com>
37586
37587 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37588 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37589 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37590 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37591 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37592 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37593 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37594 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37595 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37596 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37597 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37598 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37599 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37600 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37601
b9b42ee0
AB
376022010-07-26 Anton Blanchard <anton@samba.org>
37603
37604 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37605 * malloc/arena.c (heap_trim): Likewise.
37606
1c06ba31
UD
376072010-08-16 Ulrich Drepper <drepper@redhat.com>
37608
37609 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37610 here. Not...
37611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37612 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37613
f8392f40
L
376142010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37615
37616 * sysdeps/i386/elf/Makefile: New file.
37617
3162f12e
AS
376182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37619
37620 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37621 from fanotify_init.
37622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37623 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37624
28c90b2c
UD
376252010-08-15 Ulrich Drepper <drepper@redhat.com>
37626
37627 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37628 of strncasecmp_l.
1feccb6c 37629 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37630
ca6bb004
UD
376312010-08-14 Ulrich Drepper <drepper@redhat.com>
37632
e9f82e0d
UD
37633 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37634 strncase_l-nonascii.
37635 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37636 Add strncase_l-ssse3.
37637 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37638 * sysdeps/x86_64/strcmp.S: Likewise.
37639 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37640 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37641 * sysdeps/x86_64/strncase.S: New file.
37642 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37643 * sysdeps/x86_64/strncase_l.S: New file.
37644 * string/Makefile (strop-tests): Add strncasecmp.
37645 * string/test-strncasecmp.c: New file.
37646
37647 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37648 warning.
37649
ca6bb004
UD
37650 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37651 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37652
052fa7b3
AS
376532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37654
37655 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37656
962dba78
UD
376572010-08-12 Ulrich Drepper <drepper@redhat.com>
37658
37659 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37660 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37661 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37662
bebff237
AM
376632010-05-01 Alan Modra <amodra@gmail.com>
37664
37665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37666 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37667 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37668 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37669 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37670 tidying. Don't tail-call __sigjmp_save for static lib.
37671 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37672 save location.
37673 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37674 (CALL_MCOUNT): Add eh info, and nop after bl.
37675 (TAIL_CALL_SYSCALL_ERROR): New macro.
37676 (PSEUDO_RET): Use it.
37677 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37678 Correct save location of integer regs and cr.
37679 (_dl_profile_resolve): Correct cr save location. Delete nops
37680 after bl when SHARED. Reduce cfi size a little by better
37681 placement of cfi directives.
37682 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37683 make a stack frame. Instead use parm save area as a temp.
37684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37685 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37687 Don't make a stack frame for parent, use parm save area.
37688 Increase child stack frame to 112 bytes. Don't save unused reg,
37689 and adjust reg usage. Set up cfi on error recovery and
37690 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37692 (__makecontext): Add dummy nop after jump to exit.
37693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37694 Use correct parm save area and cr save, reduce stack frame.
37695 Correct cfi for possible PSEUDO_RET frame setup.
37696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37697 Branch to local label emitted by PSEUDO_RET rather than
37698 __syscall_error.
37699
02637374
AS
377002010-08-12 Andreas Schwab <schwab@redhat.com>
37701
37702 [BZ #11904]
37703 * locale/programs/locale.c (print_assignment): New function.
37704 (show_locale_vars): Use it.
37705
c3e2f19b
UD
377062010-08-11 Ulrich Drepper <drepper@redhat.com>
37707
3cdaa6ad
UD
37708 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37709 field.
37710 (struct statfs64): Likewise.
37711 (_STATFS_F_FLAGS): Define.
37712 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37713 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37714 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37715 (ST_VALID): Define locally.
37716 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37717 __statvfs_getflags, use the provided value.
37718 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37719 __ASSUME_STATFS_F_FLAGS.
37720
754f7da3
UD
37721 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37722
10b3bedc
UD
37723 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37724 Add sys/fanotify.h.
37725 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37726 fanotify_mask for GLIBC_2.13.
37727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37728 fanotify_init and fanotify_mark.
37729 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37730 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37731
c08fb0d7
UD
37732 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37733 Add prlimit.
37734 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37735 prlimit64 for GLIBC_2.13.
37736 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37737 prlimit64.
37738 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37739 syscall.
37740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37742 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37743 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37745 add prlimit alias.
37746 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37747
15bac72b
UD
37748 [BZ #11903]
37749 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37750 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37751
c3e2f19b
UD
37752 * nss/Makefile: Add rules to build and run tst-nss-test1.
37753 * shlib-versions: Add entry for libnss_test1.
37754 * nss/nss_test1.c: New file.
37755 * nss/tst-nss-test1.c: New file.
37756
37757 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37758 (__nss_configure_lookup): Set appropriate entry in
37759 __nss_configure_lookup to true.
37760 * nss/nsswitch.h: Define enum with indeces of databases in
37761 databases and __nss_database_custom arrays. Declare
37762 __nss_database_custom.
37763 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37764 to avoid using nscd when custom rules are installed.
37765 * nss/getXXbyYY_r.c: Likewise.
37766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37767
37768 * nss/nss_files/files-parse.c: Whitespace fixes.
37769
f15ce4d8
UD
377702010-08-09 Ulrich Drepper <drepper@redhat.com>
37771
37772 [BZ #11883]
37773 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37774 * posix/fnmatch_loop.c: Likewise.
37775
d22e4cc9
AK
377762010-07-17 Andi Kleen <ak@linux.intel.com>
37777
37778 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37779 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37780 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37781 * Versions.def [GLIBC_2.13]: Add.
37782
805bc17d
UD
377832010-08-06 Ulrich Drepper <drepper@redhat.com>
37784
37785 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37786 Also fail if tpwd after pwuid call is NULL.
37787
5a42321d
ST
377882010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37789
37790 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37791 when converting to ms.
37792
fd3ebeda
ST
377932010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37794
37795 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37796 EOPNOTSUPP errors with ENOTTY.
37797 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37798 EOPNOTSUPP errors with ENOTTY.
37799
73507d3a
UD
378002010-07-31 Ulrich Drepper <drepper@redhat.com>
37801
37802 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37803 Add strcasecmp_l-ssse3.
37804 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37805 strcasecmp.
37806 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37807 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37808 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37809
fe36dd02
UD
378102010-07-30 Ulrich Drepper <drepper@redhat.com>
37811
66f6765a
UD
37812 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37813
42e08a54
UD
37814 * string/Makefile (strop-tests): Add strcasecmp.
37815 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37816 strcasecmp_l-nonascii.
37817 (gen-as-const-headers): Add locale-defines.sym.
37818 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37819 * sysdeps/x86_64/strcasecmp.S: New file.
37820 * sysdeps/x86_64/strcasecmp_l.S: New file.
37821 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37822 * sysdeps/x86_64/locale-defines.sym: New file.
37823 * string/test-strcasecmp.c: New file.
37824
fe36dd02
UD
37825 * string/test-strcasestr.c: Test both ends of the range of characters.
37826 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37827
48cbc0d6
RM
378282010-07-29 Roland McGrath <roland@redhat.com>
37829
76e6d6bc 37830 [BZ #11856]
48cbc0d6
RM
37831 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37832
880113d9
UD
378332010-07-27 Ulrich Drepper <drepper@redhat.com>
37834
37835 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37836 for ld.so.
37837
deb9cabb
AS
378382010-07-27 Andreas Schwab <schwab@redhat.com>
37839
37840 * manual/memory.texi (Malloc Tunable Parameters): Document
37841 M_PERTURB.
37842
1c7570ff
RM
378432010-07-26 Roland McGrath <roland@redhat.com>
37844
37845 [BZ #11840]
37846 * configure.in (-fgnu89-inline check): Set and substitute
37847 gnu89_inline, not libc_cv_gnu89_inline.
37848 * configure: Regenerated.
37849 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37850
24fb0f88
UD
378512010-07-26 Ulrich Drepper <drepper@redhat.com>
37852
37853 * string/test-strnlen.c: New file.
37854 * string/Makefile (strop-tests): Add strnlen.
37855 * string/tester.c (test_strnlen): Add a few more test cases.
37856 * string/tst-strlen.c: Better error reporting.
37857
37858 * sysdeps/x86_64/strnlen.S: New file.
37859
8e96b93a
UD
378602010-07-24 Ulrich Drepper <drepper@redhat.com>
37861
37862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37863 lower-latency instructions.
37864
dbc676d4
UD
378652010-07-23 Ulrich Drepper <drepper@redhat.com>
37866
37867 * string/test-strcasestr.c: New file.
37868 * string/test-strstr.c: New file.
37869 * string/Makefile (strop-tests): Add strstr and strcasestr.
37870 * string/str-two-way.h: Don't undefine MAX.
37871 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37872
f6a31e0e
AS
378732010-07-21 Andreas Schwab <schwab@redhat.com>
37874
37875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37876 strcasestr-nonascii.
37877 (CFLAGS-strcasestr-nonascii.c): Define.
37878 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37879 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37880 Remove unused attribute.
37881
5dbc3b6c
RM
378822010-07-20 Roland McGrath <roland@redhat.com>
37883
37884 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37885 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37886 ld.so.cache was broken. With it, there is no way to disable dsocaps
37887 like LD_HWCAP_MASK can disable hwcaps.
37888
23d101d8
EPM
378892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37890
37891 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37892
cc9f2e47
UD
378932010-07-16 Ulrich Drepper <drepper@redhat.com>
37894
37895 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37896 call in strcasestr.
37897 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37898 __strcasestr_sse42_nonascii.
37899 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37900 strcasestr-nonascii.c.
37901 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37902
77c1b069
LM
379032010-06-15 Luis Machado <luisgpm@br.ibm.com>
37904
37905 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37906 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37907 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37908 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37909
440566c3
UD
379102010-07-09 Ulrich Drepper <drepper@redhat.com>
37911
37912 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37913 fcntl.
37914
5be9d05d
AS
379152010-07-06 Andreas Schwab <schwab@redhat.com>
37916
c30b7ee2 37917 [BZ #11577]
5be9d05d
AS
37918 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37919 dl_signal_cerror.
37920
8a492a67
UD
379212010-07-06 Ulrich Drepper <drepper@redhat.com>
37922
37923 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37924 _PC_PIPE_BUF using F_GETPIPE_SZ.
37925
713df3d5
RM
379262010-07-05 Roland McGrath <roland@redhat.com>
37927
37928 * manual/arith.texi (Rounding Functions): Fix rint description
37929 implicit in round description.
37930
702e8f14
UD
379312010-07-02 Ulrich Drepper <drepper@redhat.com>
37932
37933 * elf/Makefile: Fix linking for a few tests to make recent linker
37934 happy.
37935
52ed8be9
AS
379362010-06-30 Andreas Schwab <schwab@redhat.com>
37937
37938 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37939 $(common-objpfx)libc_nonshared.a.
37940
f47c9a11
LM
379412010-06-21 Luis Machado <luisgpm@br.ibm.com>
37942
37943 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37944 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37945 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37946 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37947 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37948 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37949 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37950 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37965 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37966 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37967 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37968 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37969 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37970 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37971 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37972 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37973 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37974 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37975 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37976 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37991
6fb8cbcb
L
379922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37993
37994 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37995 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37996 * string/memmove.c (memmove): Renamed to ...
37997 (MEMMOVE): ...this. Default to memmove.
37998 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37999 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38000 (END_CHK): Define.
38001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38002 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38003 mempcpy-ssse3-back memmove-ssse3-back.
38004 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38005 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38006 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38007 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38008 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38009 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38010 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38011 * sysdeps/x86_64/multiarch/memmove.c: New file.
38012 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38013 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38014 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38015 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38016 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38018 Define.
38019 (index_Fast_Copy_Backward): Define.
38020 (HAS_ARCH_FEATURE): Define.
38021 (HAS_FAST_REP_STRING): Define.
38022 (HAS_FAST_COPY_BACKWARD): Define.
38023
4e733bac 380242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38025
38026 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38027 Restore proper fallback handling.
38028
63c4ed22
UD
380292010-06-19 Ulrich Drepper <drepper@redhat.com>
38030
ac2b484c
UD
38031 [BZ #11701]
38032 * posix/group_member.c (__group_member): Correct checking loop.
38033
63c4ed22
UD
38034 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38035 OOM in getpwuid_r correctly. Return error number when the caller
38036 should return, otherwise -1.
38037 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38038 call returning > 0 value.
38039 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38040
765ade4b
AS
380412010-06-07 Andreas Schwab <schwab@redhat.com>
38042
38043 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38044 libc_nonshared.a from targets in modules-names.
38045
80da2e09
KS
380462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38047
38048 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38049 requires it.
38050
158db122
LM
380512010-06-10 Luis Machado <luisgpm@br.ibm.com>
38052
38053 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38054 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38055 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38056 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38057
caa78cf8
AS
380582010-06-02 Andreas Schwab <schwab@redhat.com>
38059
38060 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38061
b2ef2c01
UD
380622010-06-14 Ulrich Drepper <drepper@redhat.com>
38063
38064 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38065 and F_GETPIPE_SZ.
38066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38067 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38072
fbd643b6
RM
380732010-06-14 Roland McGrath <roland@redhat.com>
38074
38075 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38076
f32f2869
JJ
380772010-06-07 Jakub Jelinek <jakub@redhat.com>
38078
38079 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38080 __REDIRECT followed by __THROW.
38081 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38082 * posix/getopt.h (getopt): Likewise.
38083
2a50c078
EPM
380842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38085
38086 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38087 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38088 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38089 in AT_FLAGS.
38090 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38091 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38092
eb5ad2eb
LM
380932010-05-28 Luis Machado <luisgpm@br.ibm.com>
38094
38095 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38096
3c88fe1e
L
380972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38098
38099 [BZ #11640]
38100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38101 Properly check family and model.
38102
d2f73151
TY
381032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38104
38105 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38106
ebd2e13d
LM
381072010-05-24 Luis Machado <luisgpm@br.ibm.com>
38108
38109 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38110
b32b8b45
UD
381112010-05-21 Ulrich Drepper <drepper@redhat.com>
38112
38113 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38114 symbol reference.
38115
9acbe24d
AS
381162010-05-19 Andreas Schwab <schwab@redhat.com>
38117
38118 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38119 symbol reference.
38120
f0ccf6ea
AS
381212010-05-21 Andreas Schwab <schwab@redhat.com>
38122
3d04ff3a
AS
38123 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38124 and internal_recvmmsg.
38125 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38126 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38127 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38128 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38129
f0ccf6ea
AS
38130 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38131 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38132 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38133
5b08ac57
AS
381342010-05-20 Andreas Schwab <schwab@redhat.com>
38135
38136 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38137
4828935d
LM
381382010-05-17 Luis Machado <luisgpm@br.ibm.com>
38139
38140 POWER7 optimizations.
38141 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38142 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38143
373d545e
UD
381442010-05-19 Ulrich Drepper <drepper@redhat.com>
38145
38146 * version.h: Update for 2.13 development version.
38147
21a2b1ae
AS
381482010-05-12 Andrew Stubbs <ams@codesourcery.com>
38149
38150 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38151 exceptions. Return 0.
38152
3f7dcb2b
RM
381532010-05-07 Roland McGrath <roland@redhat.com>
38154
38155 * elf/ldconfig.c (main): Add a const.
38156
5f24d53a 381572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38158
a160f8d8
UD
38159 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38160 (args_options): Add no-idn option.
38161 (ahosts_keys_int): Add idn_flags to ai_flags.
38162 (parse_option): Handle 'i' option to clear idn_flags.
38163
5f24d53a
UD
38164 * malloc/malloc.c (_int_free): Possible race in the most recently
38165 added check. Only act on the data if no current modification
38166 happened.
265bb1ce
UD
38167
38168See ChangeLog.17 for earlier changes.