]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Don't include individual test ulps in libm-test-ulps.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e6b6a857
JM
12014-03-05 Joseph Myers <joseph@codesourcery.com>
2
3 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4 individual tests in comment.
5 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6 (prev_max_error): New variable.
7 (prev_real_max_error): Likewise.
8 (prev_imag_max_error): Likewise.
9 (compare_ulp_data): Don't refer to test names in comment.
10 (find_test_ulps): Remove function.
11 (find_function_ulps): Likewise.
12 (find_complex_function_ulps): Likewise.
13 (init_max_error): Take function name as argument. Look up ulps
14 for that function.
15 (print_ulps): Remove function.
16 (print_max_error): Use prev_max_error instead of calling
17 find_function_ulps.
18 (print_complex_max_error): Use prev_real_max_error and
19 prev_imag_max_error instead of calling find_complex_function_ulps.
20 (check_float_internal): Take max_ulp parameter instead of calling
21 find_test_ulps. Don't call print_ulps.
22 (check_float): Update call to check_float_internal.
23 (check_complex): Update calls to check_float_internal.
24 (START): Pass argument to init_max_error.
25 * math/gen-libm-test.pl (%results): Don't include "kind"
26 information.
27 (parse_ulps): Don't handle ulps of individual tests.
28 (print_ulps_file): Likewise.
29 (output_ulps): Likewise.
30 * math/README.libm-test: Update.
31 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32 individual tests.
33 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35 * sysdeps/arm/libm-test-ulps: Likewise.
36 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40 * sysdeps/microblaze/libm-test-ulps: Likewise.
41 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46 * sysdeps/sh/libm-test-ulps: Likewise.
47 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48 * sysdeps/tile/libm-test-ulps: Likewise.
49 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50
45adef3c
JM
512014-03-04 Joseph Myers <joseph@codesourcery.com>
52
53 * math/libm-test.inc (print_complex_max_error): Check separately
54 whether real and imaginary errors are within allowed range and
55 pass 0 to print_complex_function_ulps instead of value within
56 allowed range.
57
000232b9
SP
582014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
59
d4b17258
SP
60 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
61 formatting.
62 (get_handles_fopen): Likewise.
63 (do_write_test): Likewise.
64
091eff71
SP
65 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
66
fa3cd248
SP
67 * libio/fileops.c (do_ftell): Use cached offset when
68 available.
69 * libio/iofwide.c (do_ftell_wide): Likewise.
70 * libio/iofdopen.c (_IO_new_fdopen): Don't use
71 _IO_file_attach.
72 * libio/wfileops.c (_IO_fwide): Don't cache offset.
73
000232b9
SP
74 [BZ #16532]
75 * libio/libioP.h (get_file_offset): New function.
76 * libio/fileops.c (get_file_offset): Likewise.
77 (do_ftell): Likewise.
78 (_IO_new_file_seekoff): Split out ftell logic.
79 * libio/wfileops.c (do_ftell_wide): Likewise.
80 (_IO_wfile_seekoff): Split out ftell logic.
81 * libio/tst-ftell-active-handler.c: New test case.
82 * libio/Makefile (tests): Add it.
83
116f4d1a
RM
842014-03-03 Roland McGrath <roland@hack.frob.com>
85
86 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
87 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
88
532a6035
SP
892014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
90
91 [BZ #16639]
92 * nscd/connections.c (nscd_init): Call do_exit.
93 (start_threads): Call do_exit and notify_parent.
94 (begin_drop_privileges): Call do_exit.
95 (finish_drop_privileges): Likewise.
96 * nscd/selinux.c (preserve_capabilities): Likewise.
97 (install_real_capabilities): Likewise.
98 (nscd_selinux_enabled): Likewise.
99 (avc_create_thread): Likewise.
100 (avc_alloc_lock): Likewise.
101 (nscd_avc_init): Likewise.
102 * nscd/nscd.c (parent_fd): New static variable.
103 (main): Create a pipe between parent and child processes.
104 Skip closing parent_fd.
105 (monitor_child): New function.
106 (do_exit): Likewise.
107 (notify_parent): Likewise.
108 * nscd/nscd.h (notify_parent): Likewise.
109 (do_exit): Likewise.
110
d6285c9f
CD
1112014-03-03 Carlos O'Donell <carlos@redhat.com>
112
113 * malloc/malloc.c (__libc_calloc): Revert last change.
114
2b85d2a0
AZ
1152014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
116
117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
118
c7debbdf
RS
1192014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
120
121 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
123 implementation.
124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
125 (__libc_ifunc_impl_list): Likewise.
126 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
127 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
128 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
129 * string/strrchr.c: Define STRRCHR.
130
235eed86
OB
1312014-02-28 Ondřej Bílka <neleai@seznam.cz>
132
133 * benchtest/bench-strtok.c (simple_strtok): Delete.
134 (strtok_string): Use as benchmark.
135 * string/strtok (STRTOK): New macro.
136
8e25d1e7
CD
1372014-02-28 Carlos O'Donell <carlos@redhat.com>
138
ef563f92
CD
139 * manual/threads.texi: Add header and standard comments to all
140 functions.
141
8e25d1e7
CD
142 * elf/dl-lookup.c (check_match): New function.
143 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
144 (do_lookup_x): Remove nested function check_match. Use non-nested
145 function check_match.
146
ff71cc37
RM
1472014-02-28 Roland McGrath <roland@hack.frob.com>
148
f08e9a26
RM
149 * csu/Makefile (generated, before-compile): Use += rather than =.
150 * catgets/Makefile (generated, generated-dirs): Likewise.
151 * debug/Makefile (generated): Likewise.
152 * dlfcn/Makefile (generated): Likewise.
153 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
154 * iconvdata/Makefile (before-compile, generated): Likewise.
155 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
156 * libio/Makefile (generated): Likewise.
157 * malloc/Makefile (generated): Likewise.
158 * manual/Makefile (generated, generated-dirs): Likewise.
159 * misc/Makefile (generated): Likewise.
160 * posix/Makefile (generated): Likewise.
161 * resolv/Makefile (generated): Likewise.
162 * sunrpc/Makefile (generated, generated-dirs): Likewise.
163 * timezone/Makefile (generated, generated-dirs): Likewise.
164
ff71cc37
RM
165 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
166
fe13a20c
AZ
1672014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
168
169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
170 implementation.
171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
172 POWER8 llround ifunc implementation.
173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
174 POWER8 implementation.
175 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
176 POWER8 llround implementation.
177
1ad8950a
AZ
1782014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179
180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
181 implementation.
182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
183 POWER8 llrint ifunc implementation.
184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
185 POWER8 implementation.
186 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
187 POWER8 llrint implementation.
188
cac626d6
AZ
1892014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
190
191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
192 implementation.
193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
194 POWER8 finite ifunc implementation.
195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
196 POWER8 implementation.
197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
198 Likewise.
199 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
200 POWER8 finite implementation.
201 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
202
4393fc11
AZ
2032014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
204
205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
206 implementation.
207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
208 POWER8 isinf ifunc implementation.
209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
210 POWER8 implementation.
211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
212 Likewise.
213 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
214 POWER8 isinf implementation.
215 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
216
487972ae
AZ
2172014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
220 Add hwcap2 initialization.
221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
222 implementation.
223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
224 POWER8 isnan ifunc implementation.
225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
226 POWER8 implementation.
227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
228 Likewise.
229 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
230 POWER8 isnan implementation.
231 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
232
7d92b787
JY
2332014-02-27 Joey Ye <joey.ye@arm.com>
234
235 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
236 (_FP_NANFRAC_Q): Set to zero.
237
1cadc858
SP
2382014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
239
240 [BZ #16623]
241 * math/auto-libm-test-in: New test inputs.
242 * math/auto-libm-test-out: Regenerate.
243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
244 and DA.
245 (__cos): Likewise.
246 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
247
f8c17e79
JM
2482014-02-27 Joseph Myers <joseph@codesourcery.com>
249
250 * scripts/evaluate-test.sh: Take new argument indicating whether
251 failure is expected.
252 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
253 indicating whether failure is expected.
254 * conform/Makefile (test-xfail-run-conformtest): New variable.
255 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
256 level.
257 * posix/Makefile (test-xfail-annexc): New variable.
258 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
259
a5f891ac
JM
2602014-02-26 Joseph Myers <joseph@codesourcery.com>
261
262 * argp/Makefile: Include Makeconfig immediately after defining
263 subdir.
264 * assert/Makefile: Likewise.
265 * benchtests/Makefile: Likewise.
266 * catgets/Makefile: Likewise.
267 * conform/Makefile: Likewise.
268 * crypt/Makefile: Likewise.
269 * csu/Makefile: Likewise.
270 (all): Remove target.
271 * ctype/Makefile: Include Makeconfig immediately after defining
272 subdir.
273 * debug/Makefile: Likewise.
274 * dirent/Makefile: Likewise.
275 * dlfcn/Makefile: Likewise.
276 * gmon/Makefile: Likewise.
277 * gnulib/Makefile: Likewise.
278 * grp/Makefile: Likewise.
279 * gshadow/Makefile: Likewise.
280 * hesiod/Makefile: Likewise.
281 * hurd/Makefile: Likewise.
282 (all): Remove target.
283 * iconvdata/Makefile: Include Makeconfig immediately after
284 defining subdir.
285 * inet/Makefile: Likewise.
286 * intl/Makefile: Likewise.
287 * io/Makefile: Likewise.
288 * libio/Makefile: Likewise.
289 (all): Remove target.
290 * locale/Makefile: Include Makeconfig immediately after defining
291 subdir.
292 * login/Makefile: Likewise.
293 * mach/Makefile: Likewise.
294 (all): Remove target.
295 * malloc/Makefile: Include Makeconfig immediately after defining
296 subdir.
297 (all): Remove target.
298 * manual/Makefile: Include Makeconfig immediately after defining
299 subdir.
300 * math/Makefile: Likewise.
301 * misc/Makefile: Likewise.
302 * nis/Makefile: Likewise.
303 * nss/Makefile: Likewise.
304 * po/Makefile: Likewise.
305 (all): Remove target.
306 * posix/Makefile: Include Makeconfig immediately after defining
307 subdir.
308 * pwd/Makefile: Likewise.
309 * resolv/Makefile: Likewise.
310 * resource/Makefile: Likewise.
311 * rt/Makefile: Likewise.
312 * setjmp/Makefile: Likewise.
313 * shadow/Makefile: Likewise.
314 * signal/Makefile: Likewise.
315 * socket/Makefile: Likewise.
316 * soft-fp/Makefile: Likewise.
317 * stdio-common/Makefile: Likewise.
318 * stdlib/Makefile: Likewise.
319 * streams/Makefile: Likewise.
320 * string/Makefile: Likewise.
321 * sunrpc/Makefile: Likewise.
322 (all): Remove target.
323 * sysvipc/Makefile: Include Makeconfig immediately after defining
324 subdir.
325 * termios/Makefile: Likewise.
326 * time/Makefile: Likewise.
327 * timezone/Makefile: Likewise.
328 (all): Remove target.
329 * wcsmbs/Makefile: Include Makeconfig immediately after defining
330 subdir.
331 * wctype/Makefile: Likewise.
332
5b456e9d
SE
3332014-02-26 Steve Ellcey <sellcey@mips.com>
334
335 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
336 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
337 (libc_feholdexcept_setround_mips): Ditto.
338 (libc_feholdsetround): New.
339 (libc_feholdsetroundf): New.
340 (libc_feholdsetroundl): New.
341 (libc_feupdateenv_test_mips): New.
342 (libc_feupdateenv_test): New.
343 (libc_feupdateenv_testf): New.
344 (libc_feupdateenv_testl): New.
345 (libc_feresetround): New.
346 (libc_feresetroundf): New.
347 (libc_feresetroundl): New.
348 (libc_fetestexcept_mips): New.
349 (libc_fetestexcept): New.
350 (libc_fetestexceptf): New.
351 (libc_fetestexceptl): New.
352 (HAVE_RM_CTX): New.
353 (libc_feholdexcept_setround_mips_ctx): New.
354 (libc_feholdexcept_setround_ctx): New.
355 (libc_feholdexcept_setroundf_ctx): New.
356 (libc_feholdexcept_setroundl_ctx): New.
357 (libc_fesetenv_mips_ctx): New.
358 (libc_fesetenv_ctx): New.
359 (libc_fesetenv_ctxf): New.
360 (libc_fesetenv_ctxl): New.
361 (libc_feupdateenv_mips_ctx): New.
362 (libc_feupdateenv_ctx): New.
363 (libc_feupdateenvf_ctx): New.
364 (libc_feupdateenvl_ctx): New.
365 (libc_feholdsetround_mips_ctx): New.
366 (libc_feholdsetround_ctx): New.
367 (libc_feholdsetroundf_ctx): New.
368 (libc_feholdsetroundl_ctx): New.
369 (libc_feresetround_mips_ctx): New.
370 (libc_feresetround_ctx): New.
371 (libc_feresetroundf_ctx): New.
372 (libc_feresetroundl_ctx): New.
373
085d0e35
CD
3742014-02-26 Carlos O'Donell <carlos@redhat.com>
375
f067bf1f
CD
376 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
377
085d0e35
CD
378 * manual/ipc.texi: New file.
379 * manual/Makefile (chapters): Add ipc.
380 * manual/job.texi: Add "Inter-Process Communication" to next.
381 * manual/process.texi: Add "Inter-Process Communication" to prev.
382
86e58c08
AZ
3832014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
384
385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
386
4248f0da
OB
3872014-02-26 Ondřej Bílka <neleai@seznam.cz>
388
389 * malloc/malloc.c (__libc_calloc): Simplify implementation.
390
cf822e3c
OB
391 * manual/arith.texi: Fix spaces after sentences.
392 * manual/charset.texi: Likewise.
393 * manual/errno.texi: Likewise.
394 * manual/install.texi: Likewise.
395 * manual/llio.texi: Likewise.
396 * manual/locale.texi: Likewise.
397 * manual/maint.texi: Likewise.
398 * manual/math.texi: Likewise.
399 * manual/memory.texi: Likewise.
400 * manual/message.texi: Likewise.
401 * manual/probes.texi: Likewise.
402 * manual/resource.texi: Likewise.
403 * manual/signal.texi: Likewise.
404 * manual/socket.texi: Likewise.
405 * manual/stdio.texi: Likewise.
406 * manual/string.texi: Likewise.
407 * manual/time.texi: Likewise.
408 * manual/users.texi: Likewise.
409
ade40b10
CD
4102014-02-25 Carlos O'Donell <carlos@redhat.com>
411
412 [BZ #16632]
413 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
414 _DEFAULT_SOURCE is defined.
415
d0503676
CD
4162014-02-25 Ulrich Drepper <drepper@gmail.com>
417 Carlos O'Donell <carlos@redhat.com>
418
419 [BZ #16613]
420 * elf/dl-tls.c (_dl_count_modids): New function.
421 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
422 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
423 audit library and increment generation counter.
424 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
425 * elf/tst-audit9.c: New file.
426 * elf/tst-auditmod9a.c: New file.
427 * elf/tst-auditmod9b.c: New file.
428 * elf/Makefile: Add rules to build and run tst-audit9.
429
4cbf380c
FW
4302014-02-25 Florian Weimer <fweimer@redhat.com>
431
432 [BZ #15347]
433 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
434
80a56cc3
WN
4352014-02-25 Will Newton <will.newton@linaro.org>
436
437 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
438 (__longjmp): Restore sp and lr before restoring callee
439 saved registers. Add longjmp and longjmp_target
440 SystemTap probe point.
441 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
442 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
443 Define to zero to match jmpbuf layout.
444 * sysdeps/arm/setjmp.S: Include stap-probe.h.
445 (__sigsetjmp): Save sp and lr before saving callee
446 saved registers. Add setjmp SystemTap probe point.
447
3ea0f74e
SL
4482014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
449
450 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
451
b04acb26
AS
4522014-02-24 Andreas Schwab <schwab@suse.de>
453
454 [BZ #15804]
455 * elf/pldd.c (wait_for_ptrace_stop): New function.
456 (main): Call it after attaching.
457
098ad55c
RM
4582014-02-22 Roland McGrath <roland@hack.frob.com>
459
d4ec6ae1
RM
460 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
461 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
462 Versions files is now verboten.
463 * hurd/Versions (libc: GLIBC_2.0):
464 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
465 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
466 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
467 * mach/Versions: Likewise.
468
098ad55c
RM
469 * csu/Versions: Remove unused %include.
470 * resolv/Versions: Likewise.
471
acd7f096
JM
4722014-02-21 Joseph Myers <joseph@codesourcery.com>
473
f0881698
JM
474 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
475 ($(objpfx)check-local-headers.out): Likewise.
476 ($(objpfx)begin-end-check.out): Likewise.
477 * Makerules (check-abi-%.out): Likewise.
478 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
479 ($(objpfx)test2.cat): Likewise.
480 ($(objpfx)de/libc.cat): Likewise.
481 ($(objpfx)test-gencat.out): Likewise.
482 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
483 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
484 ($(objpfx)noload-mem): Likewise.
485 ($(objpfx)tst-pathopt.out): Likewise.
486 ($(objpfx)tst-rtld-load-self.out): Likewise.
487 ($(objpfx)tst-array1-cmp.out): Likewise.
488 ($(objpfx)tst-array1-static-cmp.out): Likewise.
489 ($(objpfx)tst-array2-cmp.out): Likewise.
490 ($(objpfx)tst-array3-cmp.out): Likewise.
491 ($(objpfx)tst-array4-cmp.out): Likewise.
492 ($(objpfx)tst-array5-cmp.out): Likewise.
493 ($(objpfx)tst-array5-static-cmp.out): Likewise.
494 ($(objpfx)check-textrel.out): Likewise.
495 ($(objpfx)check-execstack.out): Likewise.
496 ($(objpfx)check-localplt.out): Likewise.
497 ($(objpfx)order2-cmp.out): Likewise.
498 ($(objpfx)tst-leaks1-mem): Likewise.
499 ($(objpfx)tst-leaks1-static-mem): Likewise.
500 ($(objpfx)tst-initorder-cmp.out): Likewise.
501 ($(objpfx)tst-initorder2-cmp.out): Likewise.
502 ($(objpfx)tst-unused-dep.out): Likewise.
503 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
504 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
505 * iconv/Makefile (test-iconvconfig): Likewise.
506 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
507 ($(objpfx)iconv-test.out): Likewise.
508 ($(objpfx)tst-tables.out): Likewise.
509 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
510 ($(objpfx)tst-gettext.out): Likewise.
511 ($(objpfx)tst-translit.out): Likewise.
512 ($(objpfx)tst-gettext2.out): Likewise.
513 ($(objpfx)tst-gettext4.out): Likewise.
514 ($(objpfx)tst-gettext6.out): Likewise.
515 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
516 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
517 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
518 ($(objpfx)tst-fopenloc-mem.out): Likewise.
519 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
520 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
521 * posix/Makefile ($(objpfx)globtest.out): Likewise.
522 ($(objpfx)wordexp-tst.out): Likewise.
523 ($(objpfx)annexc.out): Likewise.
524 ($(objpfx)tst-fnmatch-mem): Likewise.
525 ($(objpfx)bug-regex2-mem): Likewise.
526 ($(objpfx)bug-regex14-mem): Likewise.
527 ($(objpfx)bug-regex21-mem): Likewise.
528 ($(objpfx)bug-regex31-mem): Likewise.
529 ($(objpfx)tst-vfork3-mem): Likewise.
530 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
531 ($(objpfx)tst-pcre-mem): Likewise.
532 ($(objpfx)tst-boost-mem): Likewise.
533 ($(objpfx)tst-getconf.out): Likewise.
534 ($(objpfx)bug-ga2-mem): Likewise.
535 ($(objpfx)bug-glob2-mem): Likewise.
536 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
537 ($(objpfx)mtrace-tst-leaks2): Likewise.
538 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
539 ($(objpfx)tst-printf.out): Likewise.
540 ($(objpfx)tst-setvbuf1.out): Likewise.
541 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
542 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
543 ($(objpfx)tst-fmtmsg.out): Likewise.
544 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
545 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
546
acd7f096
JM
547 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
548 * bits/sigaction.h [__USE_MISC]: Likewise.
549 * bits/waitstatus.h: Update #endif comments.
550 * ctype/ctype.h: Likewise.
551 * dirent/dirent.h: Likewise.
552 [__USE_MISC]: Remove redundant conditionals.
553 * grp/grp.h: Update #endif comments.
554 [__USE_GNU]: Remove redundant conditionals.
555 [__USE_MISC]: Likewise.
556 * inet/netinet/in.h [__USE_GNU]: Likewise.
557 * io/sys/stat.h [__USE_MISC]: Likewise.
558 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
559 * libio/bits/stdio.h: Update #endif comments.
560 [__USE_MISC]: Remove redundant conditionals.
561 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
562 * libio/stdio.h: Update #endif comments.
563 [__USE_MISC]: Remove redundant conditionals.
564 * math/bits/math-finite.h [__USE_MISC]: Likewise.
565 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
566 * math/math.h: Update #else and #endif comments.
567 [__USE_MISC]: Remove redundant conditionals.
568 * misc/sys/uio.h: Update #endif comments.
569 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
570 * posix/glob.h [__USE_MISC]: Likewise.
571 * posix/sys/types.h: Update #endif comments.
572 [__USE_MISC]: Remove redundant conditionals.
573 * posix/sys/wait.h: Update #endif comments.
574 [__USE_MISC]: Remove redundant conditionals.
575 * posix/unistd.h: Update #endif comments.
576 [__USE_MISC]: Remove redundant conditionals.
577 * pwd/pwd.h [__USE_GNU]: Likewise.
578 [__USE_MISC]: Likewise.
579 * resolv/netdb.h [__USE_GNU]: Likewise.
580 * signal/signal.h: Update #endif comments.
581 [__USE_MISC]: Remove redundant conditionals.
582 * stdlib/stdlib.h: Update #else and #endif comments.
583 [__USE_MISC]: Remove redundant conditionals.
584 [__USE_GNU]: Likewise.
585 * string/bits/string2.h [__USE_MISC]: Likewise.
586 * string/string.h: Update #endif comments.
587 [__USE_MISC]: Remove redundant conditionals.
588 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
589 Likewise.
590 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
591 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
592 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
593 Likewise.
594 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
595 Likewise.
596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
597 comments.
598 [__USE_MISC]: Remove redundant conditionals.
599 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
600 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
601 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
602 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
603 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
604 Likewise.
605 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
606 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
607 Likewise.
608 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
609 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
610 Likewise.
611 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
612 Likewise.
613 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
614 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
615 Likewise.
616 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
617 Likewise.
618 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
619 * sysdeps/x86/bits/string.h: Update #endif comments.
620 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
621 conditionals.
622 * time/sys/time.h: Update #endif comments.
623 * time/time.h: Likewise.
624 [__USE_MISC]: Remove redundant conditionals.
625
a5d82e4e
YG
6262014-02-21 Yury Gribov <y.gribov@samsung.com>
627
628 [BZ #16600]
629 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
630
9a80491d
AS
6312014-02-21 Andreas Schwab <schwab@linux-m68k.org>
632
633 * Versions.def (librt): Add GLIBC_2.17.
634
105fa381
AC
6352014-02-21 Adam Conrad <adconrad@0c3.net>
636
637 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
638 synonym for _SYS_AUXV_H to allow direct inclusion.
639 * sysdeps/sparc/bits/hwcap.h: Likewise.
640 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
641 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
642 * sysdeps/sparc/sysdep.h: Likewise.
643
b8cd1c4e
SP
6442014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
645
646 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
647
bd939d23
RS
6482014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
649
650 * benchtests/bench-strrchr.c: Print length instead of position.
651
5d7b57ca
JM
6522014-02-20 Joseph Myers <joseph@codesourcery.com>
653
bc688c10
JM
654 [BZ #16611]
655 * sysdeps/unix/sysv/linux/kernel-features.h
656 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
657 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
658 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
659 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
660 Likewise.
661 [__i386__ || __powerpc__ || __sh__ || __sparc__]
662 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
663 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
664 (__ASSUME_SENDMMSG): Define instead of using previous
665 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
666 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
667 (__ASSUME_SENDMMSG_SYSCALL): Define.
668 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
669 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
670 Likewise.
671 * sysdeps/unix/sysv/linux/arm/kernel-features.h
672 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
673 Likewise.
674 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
675 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
676 Likewise.
677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
678 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
679 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
680 [__ASSUME_SENDMMSG]: Change conditionals to
681 [__ASSUME_SENDMMSG_SOCKETCALL].
682 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
683 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
684 Define.
685 * sysdeps/unix/sysv/linux/mips/kernel-features.h
686 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
687 Likewise.
688 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
689 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
690 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
691 [!__ASSUME_SENDMMSG]: Change conditional to
692 [!__ASSUME_SENDMMSG_SOCKETCALL].
693 * sysdeps/unix/sysv/linux/tile/kernel-features.h
694 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
695 Define.
696
0e31b18c
JM
697 [BZ #16610]
698 * sysdeps/unix/sysv/linux/kernel-features.h
699 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
700 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
701 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
702 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
703 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
704 [__i386__ || __sparc__]
705 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
706 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
707 (__ASSUME_RECVMMSG): Define instead of using previous
708 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
709 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
710 (__ASSUME_RECVMMSG_SYSCALL): Define.
711 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
712 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
713 Likewise.
714 * sysdeps/unix/sysv/linux/arm/kernel-features.h
715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
716 Likewise.
717 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
718 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
719 Likewise.
720 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
721 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
722 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
723 [__ASSUME_RECVMMSG]: Change condition to
724 [__ASSUME_RECVMMSG_SOCKETCALL].
725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
726 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
727 Define.
728 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
729 * sysdeps/unix/sysv/linux/mips/kernel-features.h
730 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
731 Likewise.
732 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
733 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
734 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
735 [!__ASSUME_RECVMMSG]: Change condition to
736 [!__ASSUME_RECVMMSG_SOCKETCALL].
737 * sysdeps/unix/sysv/linux/tile/kernel-features.h
738 (__ASSUME_RECVMMSG_SYSCALL): Define.
739
dd481ccf
JM
740 [BZ #16609]
741 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
742 __powerpc__ || __s390__ || __sh__ || __sparc__]
743 (__ASSUME_SOCKETCALL): Define.
744 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
745 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
746 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
747 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
748 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
749 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
750 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
751 (__ASSUME_ACCEPT4): Define instead of using previous
752 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
753 __powerpc__ || __sparc__ || __s390__)] condition.
754 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
755 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
756 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
757 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
758 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
759 [!__ASSUME_ACCEPT4]: Change condition to
760 [!__ASSUME_ACCEPT4_SOCKETCALL].
761 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
762 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
763 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
764 * sysdeps/unix/sysv/linux/arm/kernel-features.h
765 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
766 __ASSUME_ACCEPT4_SYSCALL.
767 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
768 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
769 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
770 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
771 __ASSUME_ACCEPT4_SYSCALL.
772 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
773 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
774 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
775 [__ASSUME_ACCEPT4]: Change condition to
776 [__ASSUME_ACCEPT4_SOCKETCALL].
777 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
778 (__ASSUME_SOCKETCALL): Define.
779 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
780 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
781 (__ASSUME_SOCKETCALL): Define.
782 (__ASSUME_ACCEPT4): Remove.
783 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
784 Define.
785 * sysdeps/unix/sysv/linux/mips/kernel-features.h
786 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
787 Likewise.
788 * sysdeps/unix/sysv/linux/tile/kernel-features.h
789 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
790
5d7b57ca
JM
791 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
792 macro.
793 (HWCAP_ARM_LPAE): Likewise.
794 (HWCAP_ARM_EVTSTRM): Likewise.
795 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
796 Add vpfd32, lpae and evtstrm.
797 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
798 Increase to 22.
799
63689d61
JM
8002014-02-19 Joseph Myers <joseph@codesourcery.com>
801
802 * math/auto-libm-test-in: Add tests of clog10.
803 * math/auto-libm-test-out: Regenerated.
804 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
805 * sysdeps/i386/fpu/libm-test-ulps: Update.
806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
807
ab09bf61
AS
8082014-02-18 Andreas Schwab <schwab@suse.de>
809
810 [BZ #16574]
811 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
812 Store non-zero if the second buffer was newly allocated.
813 (send_dg): Likewise.
814 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
815 to send_vc and send_dg.
816 (res_nsend): Pass NULL for ansp2_malloced.
817 * resolv/res_query.c (__libc_res_nquery): Add parameter
818 answerp2_malloced and pass it down to __libc_res_nsend.
819 (res_nquery): Pass additional NULL to __libc_res_nquery.
820 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
821 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
822 second answer buffer if answerp2_malloced was set.
823 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
824 (__libc_res_nquerydomain): Add parameter
825 answerp2_malloced and pass it down to __libc_res_nquery.
826 (res_nquerydomain): Pass additional NULL to
827 __libc_res_nquerydomain.
828 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
829 additional NULL to __libc_res_nsend and __libc_res_nquery.
830 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
831 additional NULL to __libc_res_nsearch.
832 (_nss_dns_gethostbyname4_r): Revert last change. Use new
833 parameter of __libc_res_nsearch to check for separately allocated
834 second buffer.
835 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
836 __libc_res_nquery.
837 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
838 additional NULL to __libc_res_nquery.
839 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
840 __libc_res_nsearch.
841 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
842 * include/resolv.h: Update prototypes of __libc_res_nquery,
843 __libc_res_nsearch, __libc_res_nsend.
844
a4fb7861
JM
8452014-02-18 Joseph Myers <joseph@codesourcery.com>
846
c6af2d89
JM
847 * math/auto-libm-test-in: Add tests of fma.
848 * math/auto-libm-test-out: Regenerated.
849 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
850 (fma_towardzero_test_data): Likewise.
851 (fma_downward_test_data): Likewise.
852 (fma_upward_test_data): Likewise.
853 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
854 mpc_mode.
855 (rounding_modes): Add values for new field.
856 (func_calc_method): Add value mpfr_fff_f.
857 (func_calc_desc): Add mpfr_fff_f union field.
858 (test_function): Add field exact_args.
859 (FUNC): Add macro argument EXACT_ARGS.
860 (FUNC_mpfr_f_f): Update call to FUNC.
861 (FUNC_mpfr_f_f): Likewise.
862 (FUNC_mpfr_ff_f): Likewise.
863 (FUNC_mpfr_if_f): Likewise.
864 (FUNC_mpc_c_f): Likewise.
865 (FUNC_mpc_c_c): Likewise.
866 (test_functions): Add fma. Update calls to FUNC.
867 (handle_input_arg): Add argument exact_args.
868 (add_test): Update call to handle_input_arg.
869 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
870 (output_for_one_input_case): Update call to calc_generic_results.
871 Recalculate exact zero results in each rounding mode.
872
a4fb7861
JM
873 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
874 non-negative before setting low bit.
875 * math/auto-libm-test-in: Mark one asin test possibly having
876 spurious underflow.
877 * math/auto-libm-test-out: Regenerated.
878 * sysdeps/i386/fpu/libm-test-ulps: Update.
879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880
ef114eaf
DH
8812014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
882
2b7f4f2c
SP
883 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
884 * sysdeps/unix/sysv/linux/microblaze: Move directory from
885 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
886 * README: Add missing listing for microblaze*-*-linux-gnu.
887
c70a4b1d
MF
8882014-02-16 Mike Frysinger <vapier@gentoo.org>
889
890 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
891 * sysdeps/unix/sysv/linux/ia64: Move directory from
892 ports/sysdeps/unix/sysv/linux/ia64.
893 * README: Update listing for ia64-*-linux-gnu.
894
591aeaf7
TD
8952014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
896 Joseph Myers <joseph@codesourcery.com>
897
898 * Makeconfig (test-name): New variable.
899 (evaluate-test): Likewise.
900 * Makerules (do-test-clean): Remove .test-result files.
901 (common-mostlyclean): Likewise.
902 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
903 * scripts/evaluate-test.sh: New file.
904
6e89caf1
JM
9052014-02-14 Joseph Myers <joseph@codesourcery.com>
906
7f98f180
JM
907 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
908 separate $(objpfx)tst-fopenloc-cmp.out and
909 $(objpfx)tst-fopenloc-mem.out targets.
910 (tests): Update dependencies.
911 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
912 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
913 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
914 (tst-rxspencer-no-utf8-ARGS): New variable.
915 (tst-rxspencer-no-utf8-ENV): Likewise.
916 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
917 instead of $(objpfx)tst-rxspencer-mem.
918 ($(objpfx)tst-rxspencer-mem): Change target to
919 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
920 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
921 * posix/tst-rxspencer-no-utf8.c: New file.
922
6e89caf1
JM
923 * elf/Makefile ($(objpfx)order.out): Remove rule.
924 [$(run-built-tests) = yes] (tests): Depend on
925 $(objpfx)order-cmp.out.
926 ($(objpfx)order-cmp.out): New rule.
927 [$(run-built-tests) = yes] (tests): Depend on
928 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
929 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
930 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
931 $(objpfx)tst-array5-static-cmp.out.
932 ($(objpfx)tst-array1.out): Remove rule.
933 ($(objpfx)tst-array1-cmp.out): New rule.
934 ($(objpfx)tst-array1-static.out): Remove rule.
935 ($(objpfx)tst-array1-static-cmp.out): New rule.
936 ($(objpfx)tst-array2.out): Remove rule.
937 ($(objpfx)tst-array2-cmp.out): New rule.
938 ($(objpfx)tst-array3.out): Remove rule.
939 ($(objpfx)tst-array3-cmp.out): New rule.
940 ($(objpfx)tst-array4.out): Remove rule.
941 ($(objpfx)tst-array4-cmp.out): New rule.
942 ($(objpfx)tst-array5.out): Remove rule.
943 ($(objpfx)tst-array5-cmp.out): New rule.
944 ($(objpfx)tst-array5-static.out): Remove rule.
945 ($(objpfx)tst-array5-static-cmp.out): New rule.
946 [$(run-built-tests) = yes] (tests): Depend on
947 $(objpfx)order2-cmp.out.
948 ($(objpfx)order2.out): Remove rule.
949 ($(objpfx)order2-cmp.out): New rule.
950 ($(objpfx)tst-initorder.out): Remove rule.
951 [$(run-built-tests) = yes] (tests): Depend on
952 $(objpfx)tst-initorder-cmp.out.
953 ($(objpfx)tst-initorder-cmp.out): New rule.
954 ($(objpfx)tst-initorder2.out): Remove rule.
955 [$(run-built-tests) = yes] (tests): Depend on
956 $(objpfx)tst-initorder2-cmp.out.
957 ($(objpfx)tst-initorder2-cmp.out): New rule.
958 [$(run-built-tests) = yes] (tests): Depend on
959 $(objpfx)tst-unused-dep-cmp.out.
960 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
961 ($(objpfx)tst-unused-dep-cmp.out): New rule.
962 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
963 on $(objpfx)tst-setvbuf1-cmp.out.
964 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
965 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
966 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
967 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
968 ($(objpfx)tst-svc.out): Remove rule.
969 ($(objpfx)tst-svc-cmp.out): New rule.
970
ed9a38e2
JM
9712014-02-13 Joseph Myers <joseph@codesourcery.com>
972
973 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
974 * ctype/ctype.h [__USE_MISC]: Likewise.
975 * dirent/dirent.h [__USE_MISC]: Likewise.
976 * grp/grp.h [__USE_MISC]: Likewise.
977 * io/fcntl.h [__USE_MISC]: Likewise.
978 * io/sys/stat.h [__USE_MISC]: Likewise.
979 * libio/stdio.h [__USE_MISC]: Likewise.
980 * posix/unistd.h [__USE_MISC]: Likewise.
981 * pwd/pwd.h [__USE_MISC]: Likewise.
982 * stdlib.h [__USE_MISC]: Likewise.
983 * string/bits/string2.h [__USE_MISC]: Likewise.
984 * string/string.h [__USE_MISC]: Likewise.
985 * time/time.h [__USE_MISC]: Likewise.
986
d6680619
AS
9872014-02-13 Andreas Schwab <schwab@suse.de>
988
989 [BZ #16574]
990 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
991 second answer buffer if it was separately allocated.
992
ace614b8
JM
9932014-02-12 Joseph Myers <joseph@codesourcery.com>
994
743151ae
JM
995 * sysdeps/mips/math-tests.h: Include <features.h>.
996 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
997 (ROUNDING_TESTS_long_double): Do not define.
998 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
999 (EXCEPTION_TESTS_long_double): Likewise.
1000 * sysdeps/mips/mips64/libm-test-ulps: Update.
1001
498afc54
JM
1002 * include/features.h (__USE_BSD): Remove macro definitions.
1003 (__USE_SVID): Likewise.
1004 (_BSD_SOURCE): Likewise.
1005 (_SVID_SOURCE): Likewise.
1006 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
1007 from definition of _DEFAULT_SOURCE.
1008 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
1009 [_DEFAULT_SOURCE].
1010 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
1011 * bits/mman.h [__USE_BSD]: Likewise.
1012 * bits/termios.h [__USE_BSD]: Likewise.
1013 * bits/waitstatus.h [__USE_BSD]: Likewise.
1014 * ctype/ctype.h [__USE_SVID]: Likewise.
1015 * dirent/dirent.h [__USE_BSD]: Likewise.
1016 * grp/grp.h [__USE_SVID]: Likewise.
1017 [__USE_BSD]: Likewise.
1018 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
1019 * io/fcntl.h [__USE_BSD]: Likewise.
1020 * io/ftw.h [__USE_BSD]: Likewise.
1021 * io/sys/stat.h [__USE_BSD]: Likewise.
1022 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
1023 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
1024 * libio/stdio.h [__USE_SVID]: Likewise.
1025 [__USE_BSD]: Likewise.
1026 * math/math.h [__USE_SVID]: Likewise.
1027 [__USE_BSD]: Likewise.
1028 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
1029 * misc/bits/syslog.h [__USE_BSD]: Likewise.
1030 * misc/search.h [__USE_SVID]: Likewise.
1031 * misc/sys/mman.h [__USE_BSD]: Likewise.
1032 * misc/sys/syslog.h [__USE_BSD]: Likewise.
1033 * misc/sys/uio.h [__USE_BSD]: Likewise.
1034 * posix/bits/unistd.h [__USE_BSD]: Likewise.
1035 * posix/glob.h [__USE_BSD]: Likewise.
1036 * posix/regex.h [__USE_BSD]: Likewise.
1037 * posix/sys/types.h [__USE_BSD]: Likewise.
1038 [__USE_SVID]: Likewise.
1039 * posix/sys/utsname.h [__USE_SVID]: Likewise.
1040 * posix/sys/wait.h [__USE_BSD]: Likewise.
1041 [__USE_SVID]: Likewise.
1042 * posix/unistd.h [__USE_BSD]: Likewise.
1043 [__USE_SVID]: Likewise.
1044 * pwd/pwd.h [__USE_SVID]: Likewise.
1045 * resolv/netdb.h [__USE_BSD]: Likewise.
1046 * setjmp/setjmp.h [__USE_BSD]: Likewise.
1047 * signal/signal.h [__USE_BSD]: Likewise.
1048 [__USE_SVID]: Likewise.
1049 * socket/sys/socket.h [__USE_BSD]: Likewise.
1050 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
1051 * stdlib/stdlib.h [__USE_BSD]: Likewise.
1052 [__USE_SVID]: Likewise.
1053 * string/bits/string2.h [__USE_BSD]: Likewise.
1054 [__USE_SVID]: Likewise.
1055 * string/bits/string3.h [__USE_BSD]: Likewise.
1056 * string/endian.h [__USE_BSD]: Likewise.
1057 * string/string.h [__USE_SVID]: Likewise.
1058 [__USE_BSD]: Likewise.
1059 * string/strings.h [__USE_BSD]: Likewise.
1060 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
1061 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
1062 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
1063 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
1064 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
1065 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
1066 Likewise.
1067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
1068 Likewise.
1069 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
1070 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
1071 Likewise.
1072 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
1073 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
1074 Likewise.
1075 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
1076 Likewise.
1077 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
1078 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
1079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
1080 Likewise.
1081 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
1082 Likewise.
1083 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
1084 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
1085 * termios/termios.h [__USE_BSD]: Likewise.
1086 * time/sys/time.h [__USE_BSD]: Likewise.
1087 * time/time.h [__USE_BSD]: Likewise.
1088 [__USE_SVID]: Likewise.
1089
dd7b064c
JM
1090 * Makefile (subdir_targets): Remove subdir_lint.out.
1091
a2c4c199
JM
1092 * stdio-common/Makefile (do-tst-unbputc): Remove target.
1093 (do-tst-printf): Likewise.
1094 (tests): Depend directly on $(objpfx)tst-unbputc.out and
1095 $(objpfx)tst-printf.out.
1096
8756f740
JM
1097 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
1098
1b6dd3f1
JM
1099 * Makerules (check-abi-%): Change target to
1100 $(objpfx)check-abi-%.out.
1101 (check-abi target): Update dependencies.
1102 (check-abi-pattern variable): Redirect output of diff to $@.
1103 (check-abi variable): Likewise.
1104 * elf/Makefile (check-abi): Update dependencies.
1105
ace614b8
JM
1106 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
1107 unused.
1108 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
1109 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
1110 subnormal range.
1111 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
1112 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
1113 value has largest subnormal exponent.
1114 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
1115 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
1116 * sysdeps/aarch64/soft-fp/sfp-machine.h
1117 (_FP_TININESS_AFTER_ROUNDING): New macro.
1118 * sysdeps/alpha/soft-fp/sfp-machine.h
1119 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1120 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1121 Likewise.
1122 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1123 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1124 * sysdeps/mips/soft-fp/sfp-machine.h
1125 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1126 * sysdeps/powerpc/soft-fp/sfp-machine.h
1127 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1128 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1129 Likewise.
1130 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1131 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1132 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1133 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1134 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1135 Likewise.
1136
fbfdf9cb
DAS
11372014-02-12 Dylan Alex Simon <dylan@dylex.net>
1138
1139 [BZ #16545]
1140 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1141 model 1.
1142
68b7efaa
RH
11432014-02-12 Richard Henderson <rth@redhat.com>
1144
c70a4b1d 1145 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
1146 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1147 * sysdeps/unix/sysv/linux/alpha: Move directory from
1148 ports/sysdeps/unix/sysv/linux/alpha.
1149 * README: Update listing for alpha-*-linux-gnu.
1150
cb4a2928
JM
11512014-02-11 Joseph Myers <joseph@codesourcery.com>
1152
c941736c
JM
1153 * include/features.h: Update comment documenting feature test
1154 macros.
1155 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
1156 _DEFAULT_SOURCE.
1157 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1158 (_SVID_SOURCE): Likewise.
1159 (_DEFAULT_SOURCE): Update description of default features.
1160 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1161 with _GNU_SOURCE.
1162 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1163 (S_ISVTX): Likewise.
1164 * manual/math.texi (Mathematical Constants): Likewise.
1165 * manual/signal.texi (Interrupted Primitives): Likewise.
1166 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1167 * math/test-matherr.c (_SVID_SOURCE): Do not define.
1168 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1169 Don't refer to _SVID_SOURCE in warning text.
1170
e8d8d7ec
JM
1171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1172
cb4a2928
JM
1173 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1174 already defined.
1175 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1176 * sysdeps/mips/dl-lookup.c: Remove.
1177 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1178
7e6424e3
AK
11792014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1180
1181 [BZ #16447]
1182 * math/auto-libm-test-in: Add testcase for expl.
1183 * math/auto-libm-test-out: Regenerate.
1184 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1185 calculation of unsafe.
1186 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1187
75eff3fe
MS
11882014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
1189
1190 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1191 * sysdeps/unix/sysv/linux/aarch64: Move directory from
1192 ports/sysdeps/unix/sysv/linux/aarch64.
1193 * README: Update listing for aarch64*-*-linux-gnu.
1194
d35f1e80
WN
11952014-02-11 Will Newton <will.newton@linaro.org>
1196
1197 * manual/probes.texi (Mathematical Function Probes): Use
1198 "triggered" instead of "hit".
1199
7b3436d4
WN
12002014-02-11 Will Newton <will.newton@linaro.org>
1201
1202 * manual/probes.texi (Internal Probes): Add documentation
1203 of setjmp, longjmp and longjmp_target probes.
1204
b4f12ca3
WN
12052014-02-11 Will Newton <will.newton@linaro.org>
1206
1207 * include/stap-probe.h: Add comment about probe argument
1208 format.
1209
c13a72b7
WN
12102014-02-11 Will Newton <will.newton@linaro.org>
1211
1212 * malloc/mtrace.c (attribute_hidden): Remove unused macro
1213 definition. (tr_where, tr_freehook, tr_mallochook,
1214 tr_reallochook, tr_memalignhook): Use ANSI protoype.
1215
195b8165
DM
12162014-02-11 David S. Miller <davem@davemloft.net>
1217
1218 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1219 processing int_tests.
1220
2ad7600b
JM
12212014-02-10 Joseph Myers <joseph@codesourcery.com>
1222
1223 * sysdeps/mips: Move directory from ports/sysdeps/mips.
1224 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1225 * sysdeps/unix/sysv/linux/mips: Move directory from
1226 ports/sysdeps/unix/sysv/linux/mips.
1227 * README: Update listing for mips-*-linux-gnu and
1228 mips64-*-linux-gnu.
1229
73588a72
AS
12302014-02-10 Andreas Schwab <schwab@linux-m68k.org>
1231
1232 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1233 * sysdeps/unix/sysv/linux/m68k: Move directory from
1234 ports/sysdeps/unix/sysv/linux/m68k.
1235 * README: Update listing for m68k-*-linux-gnu.
1236
4372980f
CM
12372014-02-10 Chris Metcalf <cmetcalf@tilera.com>
1238
1239 * sysdeps/tile: Move directory from ports/sysdeps/tile.
1240 * sysdeps/unix/sysv/linux/generic: Move directory from
1241 ports/sysdeps/unix/sysv/linux/generic.
1242 * sysdeps/unix/sysv/linux/tile: Move directory from
1243 ports/sysdeps/unix/sysv/linux/tile.
1244 * README: Update listing for tile*-*-linux-gnu.
1245
a1ffb40e
OB
12462014-02-10 Ondřej Bílka <neleai@seznam.cz>
1247
1248 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1249 * benchtests/bench-memmem.c (simple_memmem): Likewise.
1250 * catgets/open_catalog.c (__open_catalog): Likewise.
1251 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1252 * debug/confstr_chk.c: Likewise.
1253 * debug/fread_chk.c (__fread_chk): Likewise.
1254 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1255 * debug/getgroups_chk.c: Likewise.
1256 * debug/mbsnrtowcs_chk.c: Likewise.
1257 * debug/mbsrtowcs_chk.c: Likewise.
1258 * debug/mbstowcs_chk.c: Likewise.
1259 * debug/memcpy_chk.c: Likewise.
1260 * debug/memmove_chk.c: Likewise.
1261 * debug/mempcpy_chk.c: Likewise.
1262 * debug/memset_chk.c: Likewise.
1263 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1264 * debug/strcat_chk.c (__strcat_chk): Likewise.
1265 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1266 * debug/strncat_chk.c (__strncat_chk): Likewise.
1267 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1268 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1269 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1270 * debug/wcpncpy_chk.c: Likewise.
1271 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1272 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1273 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1274 * debug/wcsncpy_chk.c: Likewise.
1275 * debug/wcsnrtombs_chk.c: Likewise.
1276 * debug/wcsrtombs_chk.c: Likewise.
1277 * debug/wcstombs_chk.c: Likewise.
1278 * debug/wmemcpy_chk.c: Likewise.
1279 * debug/wmemmove_chk.c: Likewise.
1280 * debug/wmempcpy_chk.c: Likewise.
1281 * debug/wmemset_chk.c: Likewise.
1282 * dirent/scandirat.c (SCANDIRAT): Likewise.
1283 * dlfcn/dladdr1.c (dladdr1): Likewise.
1284 * dlfcn/dladdr.c (dladdr): Likewise.
1285 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1286 * dlfcn/dlerror.c (__dlerror): Likewise.
1287 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1288 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1289 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1290 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1291 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1292 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1293 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1294 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1295 Likewise.
1296 * elf/dl-conflict.c: Likewise.
1297 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1298 * elf/dl-dst.h: Likewise.
1299 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1300 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1301 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1302 * elf/dl-init.c (call_init, _dl_init): Likewise.
1303 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1304 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1305 _dl_map_object_from_fd, open_verify, open_path,
1306 _dl_map_object): Likewise.
1307 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1308 Likewise.
1309 * elf/dl-minimal.c (__libc_memalign): Likewise.
1310 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1311 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1312 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1313 * elf/dl-sym.c (do_sym): Likewise.
1314 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1315 _dl_tls_get_addr_soft): Likewise.
1316 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1317 * elf/dl-writev.h (_dl_writev): Likewise.
1318 * elf/ldconfig.c (search_dir): Likewise.
1319 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1320 dl_main): Likewise.
1321 * elf/setup-vdso.h (setup_vdso): Likewise.
1322 * grp/compat-initgroups.c (compat_call): Likewise.
1323 * grp/fgetgrent.c (fgetgrent): Likewise.
1324 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1325 * grp/putgrent.c (putgrent): Likewise.
1326 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1327 Likewise.
1328 * hurd/hurdinit.c: Likewise.
1329 * iconvdata/8bit-gap.c (struct): Likewise.
1330 * iconvdata/ansi_x3.110.c : Likewise.
1331 * iconvdata/big5.c : Likewise.
1332 * iconvdata/big5hkscs.c : Likewise.
1333 * iconvdata/cp1255.c: Likewise.
1334 * iconvdata/cp1258.c : Likewise.
1335 * iconvdata/cp932.c : Likewise.
1336 * iconvdata/euc-cn.c: Likewise.
1337 * iconvdata/euc-jisx0213.c : Likewise.
1338 * iconvdata/euc-jp.c: Likewise.
1339 * iconvdata/euc-jp-ms.c : Likewise.
1340 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1341 * iconvdata/gb18030.c : Likewise.
1342 * iconvdata/gbbig5.c (const): Likewise.
1343 * iconvdata/gbgbk.c: Likewise.
1344 * iconvdata/gbk.c : Likewise.
1345 * iconvdata/ibm1364.c : Likewise.
1346 * iconvdata/ibm930.c : Likewise.
1347 * iconvdata/ibm932.c: Likewise.
1348 * iconvdata/ibm933.c : Likewise.
1349 * iconvdata/ibm935.c : Likewise.
1350 * iconvdata/ibm937.c : Likewise.
1351 * iconvdata/ibm939.c : Likewise.
1352 * iconvdata/ibm943.c: Likewise.
1353 * iconvdata/iso_11548-1.c: Likewise.
1354 * iconvdata/iso-2022-cn.c : Likewise.
1355 * iconvdata/iso-2022-cn-ext.c : Likewise.
1356 * iconvdata/iso-2022-jp-3.c: Likewise.
1357 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1358 * iconvdata/iso-2022-kr.c : Likewise.
1359 * iconvdata/iso646.c (gconv_end): Likewise.
1360 * iconvdata/iso_6937-2.c : Likewise.
1361 * iconvdata/iso_6937.c : Likewise.
1362 * iconvdata/iso8859-1.c: Likewise.
1363 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1364 * iconvdata/shift_jisx0213.c : Likewise.
1365 * iconvdata/sjis.c : Likewise.
1366 * iconvdata/t.61.c : Likewise.
1367 * iconvdata/tcvn5712-1.c : Likewise.
1368 * iconvdata/tscii.c: Likewise.
1369 * iconvdata/uhc.c : Likewise.
1370 * iconvdata/unicode.c (gconv_end): Likewise.
1371 * iconvdata/utf-16.c (gconv_end): Likewise.
1372 * iconvdata/utf-32.c (gconv_end): Likewise.
1373 * iconvdata/utf-7.c (base64): Likewise.
1374 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1375 * iconv/gconv_close.c (__gconv_close): Likewise.
1376 * iconv/gconv_open.c (__gconv_open): Likewise.
1377 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1378 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1379 internal_ucs4le_loop_single, ucs4le_internal_loop,
1380 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1381 * iconv/iconv.c (iconv): Likewise.
1382 * iconv/iconv_close.c: Likewise.
1383 * iconv/loop.c (SINGLE): Likewise.
1384 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1385 * include/atomic.h: Likewise.
1386 * inet/inet6_option.c (option_alloc): Likewise.
1387 * intl/bindtextdom.c (set_binding_values): Likewise.
1388 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1389 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1390 * intl/localealias.c (read_alias_file): Likewise.
1391 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1392 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1393 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1394 * libio/fmemopen.c (fmemopen): Likewise.
1395 * libio/iofgets.c (_IO_fgets): Likewise.
1396 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1397 * libio/iofgetws.c (fgetws): Likewise.
1398 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1399 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1400 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1401 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1402 * locale/findlocale.c (_nl_find_locale): Likewise.
1403 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1404 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1405 Likewise.
1406 * locale/setlocale.c (setlocale): Likewise.
1407 * login/programs/pt_chown.c (main): Likewise.
1408 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1409 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1410 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1411 mmap, mmap64, mremap, munmap): Likewise.
1412 * math/e_exp2l.c: Likewise.
1413 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1414 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1415 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1416 * math/s_catan.c (__catan): Likewise.
1417 * math/s_catanf.c (__catanf): Likewise.
1418 * math/s_catanh.c (__catanh): Likewise.
1419 * math/s_catanhf.c (__catanhf): Likewise.
1420 * math/s_catanhl.c (__catanhl): Likewise.
1421 * math/s_catanl.c (__catanl): Likewise.
1422 * math/s_ccosh.c (__ccosh): Likewise.
1423 * math/s_ccoshf.c (__ccoshf): Likewise.
1424 * math/s_ccoshl.c (__ccoshl): Likewise.
1425 * math/s_cexp.c (__cexp): Likewise.
1426 * math/s_cexpf.c (__cexpf): Likewise.
1427 * math/s_cexpl.c (__cexpl): Likewise.
1428 * math/s_clog10.c (__clog10): Likewise.
1429 * math/s_clog10f.c (__clog10f): Likewise.
1430 * math/s_clog10l.c (__clog10l): Likewise.
1431 * math/s_clog.c (__clog): Likewise.
1432 * math/s_clogf.c (__clogf): Likewise.
1433 * math/s_clogl.c (__clogl): Likewise.
1434 * math/s_csin.c (__csin): Likewise.
1435 * math/s_csinf.c (__csinf): Likewise.
1436 * math/s_csinh.c (__csinh): Likewise.
1437 * math/s_csinhf.c (__csinhf): Likewise.
1438 * math/s_csinhl.c (__csinhl): Likewise.
1439 * math/s_csinl.c (__csinl): Likewise.
1440 * math/s_csqrt.c (__csqrt): Likewise.
1441 * math/s_csqrtf.c (__csqrtf): Likewise.
1442 * math/s_csqrtl.c (__csqrtl): Likewise.
1443 * math/s_ctan.c (__ctan): Likewise.
1444 * math/s_ctanf.c (__ctanf): Likewise.
1445 * math/s_ctanh.c (__ctanh): Likewise.
1446 * math/s_ctanhf.c (__ctanhf): Likewise.
1447 * math/s_ctanhl.c (__ctanhl): Likewise.
1448 * math/s_ctanl.c (__ctanl): Likewise.
1449 * math/w_pow.c: Likewise.
1450 * math/w_powf.c: Likewise.
1451 * math/w_powl.c: Likewise.
1452 * math/w_scalb.c (sysv_scalb): Likewise.
1453 * math/w_scalbf.c (sysv_scalbf): Likewise.
1454 * math/w_scalbl.c (sysv_scalbl): Likewise.
1455 * misc/error.c (error_tail): Likewise.
1456 * misc/pselect.c (__pselect): Likewise.
1457 * nis/nis_callback.c (__nis_create_callback): Likewise.
1458 * nis/nis_call.c (__nisfind_server): Likewise.
1459 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1460 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1461 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1462 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1463 * nis/nis_lookup.c (nis_lookup): Likewise.
1464 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1465 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1466 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1467 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1468 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1469 internal_getgrgid_r): Likewise.
1470 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1471 Likewise.
1472 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1473 internal_getpwuid_r): Likewise.
1474 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1475 internal_getspnam_r): Likewise.
1476 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1477 _nss_nis_getaliasbyname_r): Likewise.
1478 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1479 _nss_nis_getntohost_r): Likewise.
1480 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1481 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1482 Likewise.
1483 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1484 internal_nis_gethostent_r, internal_gethostbyname2_r,
1485 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1486 _nss_nis_gethostbyname4_r): Likewise.
1487 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1488 initgroups_netid): Likewise.
1489 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1490 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1491 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1492 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1493 _nss_nis_getprotobynumber_r): Likewise.
1494 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1495 _nss_nis_getsecretkey): Likewise.
1496 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1497 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1498 Likewise.
1499 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1500 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1501 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1502 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1503 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1504 _nss_nis_getspnam_r): Likewise.
1505 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1506 Likewise.
1507 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1508 _nss_nisplus_getntohost_r): Likewise.
1509 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1510 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1511 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1512 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1513 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1514 Likewise.
1515 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1516 _nss_nisplus_getnetbyaddr_r): Likewise.
1517 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1518 _nss_nisplus_getprotobynumber_r): Likewise.
1519 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1520 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1521 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1522 Likewise.
1523 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1524 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1525 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1526 _nss_nisplus_getspnam_r): Likewise.
1527 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1528 * nscd/aicache.c (addhstaiX): Likewise.
1529 * nscd/cache.c (cache_search, prune_cache): Likewise.
1530 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1531 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1532 * nscd/grpcache.c (addgrbyX): Likewise.
1533 * nscd/hstcache.c (addhstbyX): Likewise.
1534 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1535 * nscd/mem.c (gc, mempool_alloc): Likewise.
1536 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1537 Likewise.
1538 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1539 Likewise.
1540 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1541 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1542 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1543 Likewise.
1544 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1545 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1546 * nscd/nscd_helper.c (__readvall, open_socket,
1547 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1548 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1549 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1550 * nscd/pwdcache.c (addpwbyX): Likewise.
1551 * nscd/selinux.c (preserve_capabilities): Likewise.
1552 * nscd/servicescache.c (addservbyX): Likewise.
1553 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1554 * posix/fnmatch.c (fnmatch): Likewise.
1555 * posix/getopt.c (_getopt_internal_r): Likewise.
1556 * posix/glob.c (glob, glob_in_dir): Likewise.
1557 * posix/wordexp.c (exec_comm_child): Likewise.
1558 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1559 gaih_getanswer_slice): Likewise.
1560 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1561 * resolv/res_init.c: Likewise.
1562 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1563 * resolv/res_query.c (__libc_res_nquery): Likewise.
1564 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1565 Likewise.
1566 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1567 * stdio-common/perror.c (perror): Likewise.
1568 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1569 * stdio-common/tmpnam.c (tmpnam): Likewise.
1570 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1571 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1572 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1573 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1574 * stdlib/putenv.c (putenv): Likewise.
1575 * stdlib/setenv.c (__add_to_environ): Likewise.
1576 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1577 * stdlib/strtol_l.c (INTERNAL): Likewise.
1578 * string/memmem.c (memmem): Likewise.
1579 * string/strerror.c (strerror): Likewise.
1580 * string/strnlen.c (__strnlen): Likewise.
1581 * string/test-memmem.c (simple_memmem): Likewise.
1582 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1583 * sunrpc/pm_getport.c (__get_socket): Likewise.
1584 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1585 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1586 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1587 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1588 Likewise.
1589 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1590 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1591 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1592 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1593 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1594 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1595 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1596 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1597 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1598 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1599 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1600 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1602 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1603 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1604 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1605 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1606 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1607 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1608 Likewise.
1609 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1610 Likewise.
1611 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1612 Likewise.
1613 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1615 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1617 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1618 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1619 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1620 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1628 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1629 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1630 Likewise.
1631 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1632 Likewise.
1633 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1634 Likewise.
1635 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1637 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1638 Likewise.
1639 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1640 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1641 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1642 * sysdeps/posix/sleep.c: Likewise.
1643 * sysdeps/posix/tempname.c: Likewise.
1644 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1645 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1646 Likewise.
1647 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1648 elf_machine_rela): Likewise.
1649 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1651 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1652 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1653 Likewise.
1654 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1655 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1656 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1658 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1659 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1660 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1661 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1662 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1663 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1664 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1665 elf_machine_lazy_rel): Likewise.
1666 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1667 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1668 elf_machine_lazy_rel): Likewise.
1669 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1670 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1671 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1672 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1673 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1674 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1675 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1677 Likewise.
1678 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1679 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1680 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1681 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1682 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1683 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1684 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1685 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1686 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1687 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1688 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1689 Likewise.
1690 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1691 (__posix_fallocate64_l64): Likewise.
1692 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1693 (posix_fallocate): Likewise.
1694 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1695 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1696 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1697 getifaddrs_internal): Likewise.
1698 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1699 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1700 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1701 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1702 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1703 (__posix_fallocate64_l64): Likewise.
1704 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1705 Likewise.
1706 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1707 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1708 Likewise.
1709 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1710 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1711 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1713 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1714 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1715 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1716 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1717 Likewise.
1718 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1719 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1720 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1723 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1724 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1725 Likewise.
1726 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1727 (posix_fallocate): Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1729 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1730 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1731 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1732 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1733 Likewise.
1734 * time/asctime.c (asctime_internal): Likewise.
1735 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1736 * time/tzset.c (__tzset_parse_tz): Likewise.
1737 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1738 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1739 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1740 * wcsmbs/wcsmbsload.h: Likewise.
1741
f3d338c9
OB
17422014-02-10 Ondřej Bílka <neleai@seznam.cz>
1743
1744 [BZ #15894]
1745 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1746
bdfe308a
OB
17472014-02-10 Ondřej Bílka <neleai@seznam.cz>
1748
1749 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1750 arena_get2): Remove THREAD_STATS conditionals.
1751 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1752 __malloc_stats, int): Likewise.
1753
d674667c
MF
17542014-02-08 Mike Frysinger <vapier@gentoo.org>
1755
1756 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1757 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1758
6349768c
MF
17592014-02-08 Mike Frysinger <vapier@gentoo.org>
1760
1761 * manual/setjmp.texi: Fix typos/grammar errors.
1762
0b7c7473
MF
17632014-02-08 Mike Frysinger <vapier@gentoo.org>
1764
1765 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1766 Only return early when n is <= 0. Delete unused return statement.
1767
ac8cc9e3
MF
17682014-02-08 Mike Frysinger <vapier@gentoo.org>
1769
1770 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1771 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1772 * debug/tst-longjmp_chk3.c: New file.
1773
c5bb8e23
MF
17742014-02-08 Mike Frysinger <vapier@gentoo.org>
1775
1776 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1777 (test_main): Replace code with set_fortify_handler call.
1778 * debug/test-strcpy_chk.c: Likewise.
1779 * debug/tst-chk1.c: Likewise.
1780 * debug/tst-longjmp_chk.c: Likewise.
1781 * test-skeleton.c: Include fcntl.h & paths.h
1782 (set_fortify_handler): Define.
1783
10444e42
MF
17842014-02-08 Mike Frysinger <vapier@gentoo.org>
1785
1786 * debug/tst-longjmp_chk.c: Add header comment and include
1787 ../test-skeleton.c.
1788 (do_test): Mark static.
1789 (TEST_FUNCTION): Define.
1790
1e805e8d
MF
17912014-02-08 Mike Frysinger <vapier@gentoo.org>
1792
1793 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1794 (IP_PMTUDISC_INTERFACE): Likewise.
1795 (IP_MULTICAST_IF): Likewise.
1796 (IP_MULTICAST_TTL): Likewise.
1797 (IP_MULTICAST_LOOP): Likewise.
1798 (IP_ADD_MEMBERSHIP): Likewise.
1799 (IP_DROP_MEMBERSHIP): Likewise.
1800 (IP_UNBLOCK_SOURCE): Likewise.
1801 (IP_BLOCK_SOURCE): Likewise.
1802 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1803 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1804 (IP_MSFILTER): Likewise.
1805 (MCAST_JOIN_GROUP): Likewise.
1806 (MCAST_BLOCK_SOURCE): Likewise.
1807 (MCAST_UNBLOCK_SOURCE): Likewise.
1808 (MCAST_LEAVE_GROUP): Likewise.
1809 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1810 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1811 (MCAST_MSFILTER): Likewise.
1812 (IP_MULTICAST_ALL): Likewise.
1813 (IP_UNICAST_IF): Likewise.
1814
73f79bb7
MF
18152014-02-08 Mike Frysinger <vapier@gentoo.org>
1816
1817 * timezone/Makefile: Delete $(have-ksh) check.
1818 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1819 * timezone/tzselect.ksh: Add +x mode bits.
1820
8da79b60
MF
18212014-02-08 Mike Frysinger <vapier@gentoo.org>
1822
1823 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1824 (ANON_INODE_FS_MAGIC): Likewise.
1825 (BDEVFS_MAGIC): Likewise.
1826 (BINFMTFS_MAGIC): Likewise.
1827 (BTRFS_TEST_MAGIC): Likewise.
1828 (CRAMFS_MAGIC_WEND): Likewise.
1829 (DEBUGFS_MAGIC): Likewise.
1830 (ECRYPTFS_SUPER_MAGIC): Likewise.
1831 (EXT3_SUPER_MAGIC): Likewise.
1832 (EXT4_SUPER_MAGIC): Likewise.
1833 (FUTEXFS_SUPER_MAGIC): Likewise.
1834 (HOSTFS_SUPER_MAGIC): Likewise.
1835 (HUGETLBFS_MAGIC): Likewise.
1836 (MINIX3_SUPER_MAGIC): Likewise.
1837 (MTD_INODE_FS_MAGIC): Likewise.
1838 (NILFS_SUPER_MAGIC): Likewise.
1839 (OPENPROM_SUPER_MAGIC): Likewise.
1840 (PIPEFS_MAGIC): Likewise.
1841 (PSTOREFS_MAGIC): Likewise.
1842 (QNX6_SUPER_MAGIC): Likewise.
1843 (RAMFS_MAGIC): Likewise.
1844 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1845 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1846 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1847 (SECURITYFS_MAGIC): Likewise.
1848 (SELINUX_MAGIC): Likewise.
1849 (SMACK_MAGIC): Likewise.
1850 (SOCKFS_MAGIC): Likewise.
1851 (SQUASHFS_MAGIC): Likewise.
1852 (STACK_END_MAGIC): Likewise.
1853 (TMPFS_MAGIC): Likewise.
1854 (USBDEVICE_SUPER_MAGIC): Likewise.
1855 (V9FS_MAGIC): Likewise.
1856 (XENFS_SUPER_MAGIC): Likewise.
1857 (CRAMFS_MAGIC): Fix typo in comment.
1858 (EXT2_SUPER_MAGIC): Update comment.
1859 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1860
464263cc
JM
18612014-02-08 Joseph Myers <joseph@codesourcery.com>
1862
c6bfe5c4
JM
1863 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1864 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1865 * sysdeps/unix/sysv/linux/arm: Move directory from
1866 ports/sysdeps/unix/sysv/linux/arm.
1867 * README: Update listing for arm-*-linux-gnueabi.
1868
464263cc
JM
1869 * README: Remove mention of am33.
1870
32749f6c
RM
18712014-02-07 Roland McGrath <roland@hack.frob.com>
1872
1873 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1874 than the comma operator, to avoid "rhs of comma has no effect"
1875 compiler warnings.
1876 (__sigfillset, __sigandset, __sigorset): Likewise.
1877 * include/signal.h (__sigemptyset): Likewise.
1878 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1879
d5b396c1
AM
18802014-02-07 Allan McRae <allan@archlinux.org>
1881
1882 * version.h (RELEASE): Set to "development".
1883 (VERSION): Set to "2.19.90"
1884 * NEWS: Add 2.20 section.
1885
3bfff2ed
CD
18862014-02-06 Carlos O'Donell <carlos@redhat.com>
1887
1888 [BZ #16529]
1889 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1890
ee7cc385
SP
18912014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1892
1893 * manual/contrib.texi: Update entry for Carlos O'Donell,
1894 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1895
f877c4f2
CD
18962014-02-05 Carlos O'Donell <carlos@rehdat.com>
1897
27e839f6
CD
1898 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1899
f877c4f2
CD
1900 * sysdeps/unix/sysv/linux/kernel-features.h
1901 [__LINUX_KERNEL_VERSION >= 0x020621]
1902 (__ASSUME_PROC_PID_TASK_COMM): Define.
1903
68159946
SP
19042014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1905
ba17cdbd
SP
1906 [BZ #16398]
1907 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
1908 conversion when destination buffer does not have enough space.
1909 * libio/tst-ftell-partial-wide.c: New test case.
1910 * libio/Makefile (tests): Add tst-ftell-partial-wide.
1911
68159946
SP
1912 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1913 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1914 Leonard and Allan McRae.
1915
2b528732
DM
19162014-02-04 David S. Miller <davem@davemloft.net>
1917
1918 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1919 32-bit.
1920
0ff82463
AZ
19212014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922
c01603f7
AZ
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1924 file
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1926 New file
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1928 file.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1930 file.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1932 New file.
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1934 file.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1936 file.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1938 New file.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1940 New file.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1942 New file.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1944 New file.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1946 New file.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1948 New file.
1949
19502014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1951
0ff82463
AZ
1952 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1953 * shlib-versions: Likewise.
1954
1695c773
AZ
19552014-02-04 Roland McGrath <roland@hack.frob.com>
1956 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1957
1958 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1959 (abilist-pattern): New variable, set to %-le.abilist.
1960
1961 * Makerules (abilist-pattern): New variable.
1962 (vpath): Use $(abilist-pattern) in place of %.abilist.
1963 (check-abi-% pattern rule): Likewise.
1964 (check-abi, update-abi): Likewise.
1965
6c0ce4b4
EW
19662014-02-04 Eric Wong <normalperson@yhbt.net>
1967
1968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1969
dc98b8f5
EW
19702014-02-04 Eric Wong <normalperson@yhbt.net>
1971
1972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1973
481e3524
CD
19742014-02-03 Carlos O'Donell <carlos@redhat.com>
1975
1976 * manual/startup.texi: Add next, previous, and top entries for
1977 the `Program Arguments' and `Environment Variables' nodes.
1978
375592d3
AO
19792014-02-03 Alexandre Oliva <aoliva@redhat.com>
1980
1981 * manual/macros.texi: Add comments before MTASC-safety macros.
1982
f54838ba
AO
1983 * manual/users.texi: Document MTASC-safety properties.
1984
909e12ad
AO
1985 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1986 pthread_getspecific, pthread_setspecific): Format with
1987 @deftypefun, and add @safety note.
1988 * manual/signal.texi: Move comments that analyze the above
1989 functions to their home place.
1990
fd3daba4
AM
19912014-02-03 Allan McRae <allan@archlinux.org>
1992
1993 * po/sl.po: Update Slovenian translation from translation project.
1994
597636d7
AO
19952014-02-02 Alexandre Oliva <aoliva@redhat.com>
1996
1997 * manual/time.texi (timegm): Add missing blank after @c.
1998 Reported by Joseph Myers <joseph@codesourcery.com>.
1999
ee196e3c
AO
20002014-02-01 Alexandre Oliva <aoliva@redhat.com>
2001
2002 * manual/check-safety.sh: New.
2003 * manual/Makefile ($(objpfx)stamp-summary): Run it.
2004
f8d529d5
AO
2005 * manual/terminal.texi: Document MTASC-safety properties.
2006
de55fdf4
AO
2007 * manual/filesys.texi: Document MTASC-safety properties.
2008
c3299c08
AO
2009 * manual/errno.texi: Document MTASC-safety properties.
2010
06e90b14
AO
2011 * manual/intro.texi: Document safety identifiers and
2012 conditionals.
2013
1acd4371
AO
2014 * manual/string.texi (wcstok): Fix prototype.
2015 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
2016
23e5b8cb
AO
2017 * manual/time.texi: Document MTASC-safety properties.
2018
11087373
AO
2019 * manual/string.texi: Document MTASC-safety properties.
2020
5da2c93d
AO
2021 * manual/threads.texi: Document MTASC-safety properties.
2022
171e9210
AO
2023 * manual/stdio.texi: Document MTASC-safety properties.
2024
d9e02532
AO
2025 * manual/syslog.texi: Document MTASC-safety properties.
2026
6af8bab7
AO
2027 * manual/sysinfo.texi: Document MTASC-safety properties.
2028
663b02d7
AO
2029 * manual/startup.texi: Document MTASC-safety properties.
2030
973f180b
AO
2031 * manual/socket.texi: Document MTASC-safety properties.
2032
8f3c25c8
AO
2033 * manual/signal.texi: Document MTASC-safety properties.
2034
542210fb
AO
20352014-01-31 Alexandre Oliva <aoliva@redhat.com>
2036
2037 * manual/setjmp.texi: Document MTASC-safety properties.
2038
433c45a2
AO
2039 * manual/search.texi: Document MTASC-safety properties.
2040
c8ce789c
AO
2041 * manual/resource.texi: Document MTASC-safety properties.
2042
19f5d29c
AO
2043 * manual/process.texi: Document MTASC-safety properties.
2044
e2dfb7f4
AO
2045 * manual/platform.texi: Document MTASC-safety properties.
2046
8c1413f5
AO
2047 * manual/pipe.texi: Document MTASC-safety properties.
2048
03483ada
AO
2049 * manual/pattern.texi: Document MTASC-safety properties.
2050
29e7e2df
AO
2051 * manual/message.texi: Document MTASC-safety properties.
2052
9f529d7c
AO
2053 [BZ #12751]
2054 * manual/memory.texi: Document MTASC-safety properties.
2055
27aaa791
AO
2056 * manual/math.texi: Document MTASC-safety properties.
2057
f2d58726
AO
2058 * manual/locale.texi: Document MTASC-safety properties.
2059
2cc3615c
AO
2060 * manual/llio.texi: Document MTASC-safety properties.
2061
d9f0ec97
AO
2062 * manual/libdl.texi: New.
2063
e7c4409a
AO
2064 * manual/lang.texi: Document MTASC-safety properties.
2065
27bdc63c
AO
2066 * manual/job.texi: Document MTASC-safety properties.
2067
a7b90ea9
AO
2068 * manual/getopt.texi: Document MTASC-safety properties.
2069
c49130e3
AO
2070 * manual/ctype.texi: Document MTASC-safety properties.
2071
0d23a5c1
MR
20722014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
2073
2074 [BZ #16046]
2075 * csu/libc-tls.c (static_map): Remove variable.
2076 (__libc_setup_tls): Use main executable's link map for TLS data.
2077 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
2078 casing for LM_ID_BASE and GL(dl_nns).
2079 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
2080 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
2081 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
2082 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
2083 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
2084 member.
2085 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
2086 l_phnum members.
2087
0037bb60
AO
20882014-01-30 Alexandre Oliva <aoliva@redhat.com>
2089
2090 * manual/debug.texi: Document MTASC-safety properties.
2091
409e00bd
L
20922014-01-29 H.J. Lu <hongjiu.lu@intel.com>
2093
2094 [BZ #16510]
2095 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
2096 of __x86_64__ when disabling x87 inline functions.
2097
86e60666
AO
20982014-01-29 Alexandre Oliva <aoliva@redhat.com>
2099
2100 * manual/charset.texi: Document MTASC-safety properties.
2101
76167637
AO
2102 * manual/crypt.texi: Document MTASC-safety properties.
2103
e567f2a0
AO
2104 * manual/conf.texi: Document MTASC-safety properties.
2105
b719dafd
AO
2106 * manual/arith.texi: Document MTASC-safety properties.
2107
4a16c662
AO
2108 * manual/argp.texi: Document MTASC-safety properties.
2109
0a57b83e
AO
2110 * manual/macros.texi: Introduce macros to document multi
2111 thread, asynchronous signal and asynchronous cancellation
2112 safety properties.
2113 * manual/intro.texi: Introduce the properties themselves.
2114
feab2397
KK
21152014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2116
2117 * sysdeps/sh/sh4/Makefile: New file.
2118
1c0d11bc
AS
21192014-01-27 Andreas Schwab <schwab@linux-m68k.org>
2120
2121 * math/gen-libm-test.pl ($srcdir): New variable.
2122 ($auto_input): Use it.
2123
af37a8a3
SP
21242014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2125
d7b00f98
SP
2126 [BZ #16506]
2127 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
2128 access beyond array bounds when parsing netgroups file.
2129
af37a8a3
SP
2130 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
2131 the old buffer before realloc.
2132
0c00f062
AM
21332014-01-27 Allan McRae <allan@archlinux.org>
2134
2135 * po/fr.po: Update French translation from translation project.
2136
7d69a1b0
KK
21372014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2138
2139 * sysdeps/sh/libm-test-ulps: Regenerate.
2140
6e697ff7
DM
21412014-01-24 David S. Miller <davem@davemloft.net>
2142
2143 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2144
9cadb35c
KK
21452014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2146
2147 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2148 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2149
5d41dadf
SP
21502013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2151
2152 [BZ #16474]
2153 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2154 string pointers after reallocation.
2155
0bad441c
KK
21562014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2157
2158 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2159 __SH4A__ instead of __SH_FPU_ANY__.
2160
7007c661
KK
21612014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2162
2163 * sysdeps/sh/fpu_control.h: New file.
2164 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2165 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2166 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2167 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2168 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2169 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2170 * sysdeps/sh/sys/ucontext.h: Remove.
2171 * sysdeps/sh/sys: Remove directory.
2172
0f0c35e4
AK
21732014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2174
2175 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2176 s390/sys/ucontext.h.
2177 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2178 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2179
4959e284
L
21802014-01-20 H.J. Lu <hongjiu.lu@intel.com>
2181
2182 [BZ #15605]
2183 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2184
d98720e0
AZ
21852014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2186
2187 [BZ#16431]
2188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2189 Adjust the vDSO correctly for internal calls.
2190 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2191
91cbd0bc
AM
21922014-01-20 Allan McRae <allan@archlinux.org>
2193
2194 * po/ca.po: Update Catalan translation from translation project.
2195
7a02cfad
MF
21962014-01-16 Mike Frysinger <vapier@gentoo.org>
2197
2198 * sysdeps/s390/sotruss-lib.c: New file.
2199
736c304a
AZ
22002014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2201
2202 [BZ#16430]
6e077ee5 2203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
2204 (__GI___gettimeofday): Alias for a different internal symbol to avoid
2205 local calls issues by not having a PLT stub required for IFUNC calls.
2206 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2207
94d0cea0
JM
22082014-01-16 Joseph Myers <joseph@codesourcery.com>
2209
2210 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2211 * math/test-fpucw-static.c: Likewise.
2212
980cb518
SP
22132013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2214
2215 [BZ #16453]
2216 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2217
2393fc01
AZ
22182014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2219
2220 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2221 implementation for powerpc.
2222
d359bcc2
OB
22232014-01-15 Ondřej Bílka <neleai@seznam.cz>
2224
2225 [BZ #14782]
2226 * sysdeps/posix/system.c (__libc_system): Do not enable
2227 asynchronous cancellation.
2228
7beb48cb
AK
22292014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2230
2231 [BZ #16427]
2232 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2233 handling only for numbers special also in the IEEE case.
2234
c20d5bf5
AK
22352014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2236
2237 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2238
e83bd4ee
AM
22392014-01-11 Allan McRae <allan@archlinux.org>
2240
76d0ea69
AM
2241 * po/bg.po: Update Bulgarian translation from translation project.
2242
e83bd4ee
AM
2243 * po/de.po: Update German translation from translation project.
2244
bc2ba20a
RM
22452014-01-10 Roland McGrath <roland@hack.frob.com>
2246
2247 * sysdeps/generic/gcc-compat.h: New file.
2248
649ecea2
SP
22492014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2250
2251 * benchtests/asin-inputs: Correct slow inputs.
2252 * benchtests/acos-inputs: Likewise.
2253
1b19c006
AM
22542014-01-10 Allan McRae <allan@archlinux.org>
2255
a46dab08
AM
2256 * po:sv.po: Update Swedish translation from translation project.
2257
421df74a
AM
2258 * po/vi.po: Update Vietnamese translation from translation project.
2259
d61c51a7
AM
2260 * po/eo.po: Update Esperanto translation from translation project.
2261
0339a319
AM
2262 * po/cs.po: Update Czech translation from translation project.
2263
94ad3e99
AM
2264 * po/nl.po: Update Dutch translation from translation project.
2265
e349ca71
AM
2266 * po/pl.po: Update Polish translation from translation project.
2267
ddf930c1
AM
2268 * po/ru.po: Update Russian translation from translation project.
2269
1b19c006
AM
2270 * po/uk.po: Update Ukrainian translation from translation project.
2271
9f236c49
BM
22722014-01-08 Brooks Moses <bmoses@google.com>
2273
2274 * elf/dl-load.c: Fix comment typo.
2275
cd6701cf
CD
22762014-01-08 Carlos O'Donell <carlos@redhat.com>
2277
2278 * po/header.pot: Rename to...
2279 * po/pot.header: ... this.
2280 * po/Makefile: Use pot.header.
2281
66671c84
YK
22822014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2283 Maxim Kuvyrkov <maxim@kugelworks.com>
2284
2285 [BZ #16394]
cd6701cf
CD
2286 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2287 SRC and DEST against LEN.
66671c84 2288
38f34581
AZ
22892014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2290
2291 [BZ #16414]
2292 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2293 implementation.
2294 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2295
22962014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
2297
2298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2299
4c327f2a
JM
23002014-01-08 Joseph Myers <joseph@codesourcery.com>
2301
2302 [BZ #16408]
2303 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2304 for large positive arguments.
2305
b821f414
JM
23062014-01-07 Joseph Myers <joseph@codesourcery.com>
2307
1f0f2067
JM
2308 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2309
a5a326f6
JM
2310 * math/auto-libm-test-in: Mark various tests with
2311 xfail-rounding:ldbl-128ibm.
2312 * math/auto-libm-test-out: Regenerated.
2313
b821f414
JM
2314 [BZ #16407]
2315 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2316 Increase overflow threshold.
2317
94c8a4bc
OB
23182014-01-07 Ondřej Bílka <neleai@seznam.cz>
2319
2320 [BZ #14286]
2321 * stdio-common/vfprintf.c: Check for integer overflow.
2322
87ded0c3
AK
23232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2324
2325 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2326 the first argument and return value of __tls_get_addr_internal.
2327
c5eebdd0
AK
23282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2329
2330 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2331 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2332
05d138ef
AK
23332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2334
2335 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2336 * sysdeps/s390/rtld-global-offsets.sym: New file.
2337 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2338 GLIBC_2.19 symbol.
2339 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2340 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2341 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2342 ... this.
2343 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2344 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2345 ... this.
2346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2347 Regenerate.
2348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2349 Regenerate.
2350 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2351 halfs of GPRs for high_gprs contexts.
2352 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2353 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2354 field.
2355 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2356 uc_flags field.
2357 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2358 64 bit versions:
2359 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2360 for high GPRs (uc_high_gprs) and for future extensions
2361 (__reserved).
2362 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2363 for future extensions (__reserved).
2364 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2365 64 bit versions:
2366 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2367 SC_HIGHGPRS offset definition.
2368 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2369 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2370
93a45ff1
AK
23712014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2372
2373 * Versions.def: Add GLIBC_2.19 for libpthread.
2374 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2375 siglongjmp for libpthread with GLIBC_2.19 symver.
2376 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2377 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2378 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2379 * sysdeps/s390/__longjmp.c: New file.
2380 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2381 * sysdeps/s390/longjmp.c: New file.
2382 * sysdeps/s390/setjmp.S: New file.
2383 * sysdeps/s390/sigjmp.S: New file.
2384 * sysdeps/s390/v1-longjmp.c: New file.
2385 * sysdeps/s390/v1-setjmp.h: New file.
2386 * sysdeps/s390/v1-sigjmp.c: New file.
2387 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2388 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2389 GLIBC_2.19 version.
2390 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2391 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2392 versioned symbols for ____longjmp_chk.
2393 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2394 Likewise.
2395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2396 Regenerate.
2397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2398 Regenerate.
2399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2400 Regenerate.
2401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2402 Regenerate.
2403 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2404 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2405 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2406 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2407 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2408 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2409 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2410 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2411 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2412 * sysdeps/s390/rtld-__longjmp.c: New file.
2413 * sysdeps/s390/rtld-setjmp.S: New file.
2414
eb3fc44b
JM
24152014-01-06 Joseph Myers <joseph@codesourcery.com>
2416
2417 [BZ #16400]
2418 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2419 Return -__logl (x) for small positive arguments without evaluating
2420 a polynomial.
2421
9341dde4
MF
24222014-01-06 Mike Frysinger <vapier@gentoo.org>
2423
2424 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2425 Rename to ...
2426 (__ptrace_peeksiginfo_args): ... this.
2427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2429 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2430
4cff0293
AM
24312014-01-06 Allan McRae <allan@archlinux.org>
2432
2433 * inet/netinet/in.h: Fix typo in comment.
2434
75595dcf
AJ
24352014-01-05 Andreas Jaeger <aj@suse.de>
2436
2437 * sysdeps/i386/fpu/libm-test-ulps: Update.
2438
79c1e109
AM
24392014-01-05 Allan McRae <allan@archlinux.org>
2440
dd804818
AM
2441 * po/libc.pot: Regenerated.
2442
79c1e109
AM
2443 * malloc/memusagestat.c: Fix gettext call formatting.
2444
0c813d1f
SK
24452014-01-04 Sami Kerola <kerolasa@iki.fi>
2446
2447 * nscd/nscd.c: Improve usage() output.
2448
20f4a8d9
MF
24492014-01-04 Mike Frysinger <vapier@gentoo.org>
2450
2451 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2452 * sysdeps/unix/sysv/linux/configure: Regenerated.
2453 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2454 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2455
22562bb2
JM
24562014-01-03 Joseph Myers <joseph@codesourcery.com>
2457
2458 [BZ #16390]
2459 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2460 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2461
d7ad2d9b
AZ
24622014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463
2464 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2465 extra tokens at end of #undef directive.
2466 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2468 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2469
7dd009d8
JM
24702014-01-03 Joseph Myers <joseph@codesourcery.com>
2471
24db925a
JM
2472 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2473
7dd009d8
JM
2474 * math/auto-libm-test-in: Mark various tests with
2475 xfail-rounding:ldbl-128ibm.
2476 * math/auto-libm-test-out: Regenerated.
2477
396e3ecf
JM
24782014-01-02 Joseph Myers <joseph@codesourcery.com>
2479
819e5d50
JM
2480 [BZ #16386]
2481 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2482 numbers with subnormal high part when calculating exponent.
2483
90b6a1e5
JM
2484 [BZ #16385]
2485 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2486 fabs.
2487
396e3ecf
JM
2488 [BZ #16384]
2489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2490 M_LN2l.
2491 (__ieee754_acoshl): Use __log1pl not __log1p.
2492
6c8dbf00
OB
24932013-01-02 Ondřej Bílka <neleai@seznam.cz>
2494
2495 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2496 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2497 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2498 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2499 Convert to GNU style.
2500 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2501 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2502 memalign_check, __malloc_set_state): Likewise.
2503 * malloc/mallocbug.c (main): Likewise.
2504 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2505 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2506 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2507 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2508 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2509 * malloc/malloc.h: Likewise.
2510 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2511 memalignhook, reallochook, mabort): Likewise.
2512 * malloc/mcheck.h: Likewise.
2513 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2514 mmap64, mremap, munmap, dest): Likewise.
2515 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2516 * malloc/morecore.c (__default_morecore): Likewise.
2517 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2518 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2519 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2520 print_and_abort): Likewise.
2521 * malloc/obstack.h: Likewise.
2522 * malloc/set-freeres.c (__libc_freeres): Likewise.
2523 * malloc/tst-mallocstate.c (main): Likewise.
2524 * malloc/tst-mtrace.c (main): Likewise.
2525 * malloc/tst-realloc.c (do_test): Likewise.
2526
d4124212
SP
25272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2528
9a3c6a6f
SP
2529 [BZ #16366]
2530 * nscd/netgroupcache.c (do_notfound): New function.
2531 (addgetnetgrentX): Use it.
2532
d4124212
SP
2533 [BZ # 16365]
2534 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2535 NSS_STATUS_NOTFOUND.
2536
97b9a009
JM
25372014-01-01 Joseph Myers <joseph@codesourcery.com>
2538
2539 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2541
d4697bc9
AM
25422014-01-01 Allan McRae <allan@archlinux.org>
2543
ddb3687f
AM
2544 * scripts/update-copyrights: Update configure input file suffix.
2545
88726d48
AM
2546 * NEWS: Update copyright year.
2547 * catgets/gencat.c: Likewise.
2548 * csu/version.c: Likewise.
2549 * debug/catchsegv.sh: Likewise.
2550 * debug/pcprofiledump.c: Likewise.
2551 * debug/xtrace.sh: Likewise.
2552 * elf/ldconfig.c: Likewise.
2553 * elf/ldd.bash.in: Likewise.
2554 * elf/pldd.c: Likewise.
2555 * elf/sotruss.ksh: Likewise.
2556 * elf/sprof.c: Likewise.
2557 * iconv/iconv_prog.c: Likewise.
2558 * iconv/iconvconfig.c: Likewise.
2559 * locale/programs/locale.c: Likewise.
2560 * locale/programs/localedef.c: Likewise.
2561 * login/programs/pt_chown.c: Likewise.
2562 * malloc/memusage.sh: Likewise.
2563 * malloc/memusagestat.c: Likewise.
2564 * malloc/mtrace.pl: Likewise.
2565 * manual/libc.texinfo: Likewise.
2566 * nscd/nscd.c: Likewise.
2567 * nss/getent.c: Likewise.
2568 * nss/makedb.c: Likewise.
2569 * posix/getconf.c: Likewise.
2570 * scripts/test-installation.pl: Likewise.
2571
d4697bc9
AM
2572 * All files with FSF copyright notices: Update copyright dates
2573 using scripts/update-copyrights.
2574 * intl/plural.c: Regenerated.
2575 * locale/programs/charmap-kw.h: Likewise.
2576 * locale/programs/locfile-kw.h: Likewise.
2577
c8590f9d
MF
25782013-12-31 Mike Frysinger <vapier@gentoo.org>
2579
2580 * sysdeps/unix/sysv/linux/configure: Regenerated.
2581 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2582 the linux/fanotify.h header.
2583 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2584 HAVE_LINUX_FANOTIFY_H is defined.
2585
b19221b9
SP
25862013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2587
dd1d85e5
SP
2588 * benchtests/cos-inputs: New inputs.
2589 * benchtests/sin-inputs: Likewise.
2590
1acbb90f
SP
2591 * benchtests/atan-inputs: New inputs. Fix name of multiple
2592 precision fallback inputs.
2593
4c012ed3
SP
2594 * benchtests/atanh-inputs: New inputs.
2595 * benchtests/tanh-inputs: Likewise.
2596
eff98324
SP
2597 * benchtests/acosh-inputs: New inputs.
2598 * benchtests/asinh-inputs: Likewise.
2599
ce641152
SP
2600 * benchtests/cosh-inputs: New inputs.
2601 * benchtests/sinh-inputs: Likewise.
2602
b19221b9
SP
2603 * benchtests/acos-inputs: Add more inputs.
2604 * benchtests/asin-inputs: Likewise.
2605
030a4976 26062013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 2607
030a4976 2608 [BZ #16375]
9dcc8f11
VS
2609 * manual/arith.texi: Fix spelling.
2610 * manual/charset.texi: Likewise.
2611 * manual/errno.texi: Likewise.
2612 * manual/filesys.texi: Likewise.
2613 * manual/lang.texi: Likewise.
2614 * manual/llio.texi: Likewise.
2615 * manual/locale.texi: Likewise.
2616 * manual/message.texi: Likewise.
2617 * manual/resource.texi: Likewise.
2618 * manual/search.texi: Likewise.
2619 * manual/setjmp.texi: Likewise.
2620 * manual/stdio.texi: Likewise.
2621 * manual/string.texi: Likewise.
2622 * manual/sysinfo.texi: Likewise.
2623 * manual/time.texi: Likewise.
2624
11520a57
CD
26252013-12-27 Carlos O'Donell <carlos@redhat.com>
2626
2627 * po/sl.po: New file.
2628
471103ae
MF
26292013-12-27 Mike Frysinger <vapier@gentoo.org>
2630
2631 * .gitignore: Add core/.gdbinit/.gdb_history.
2632
6c9642ed
AM
26332013-12-27 Allan McRae <allan@archlinux.org>
2634
2635 [BZ #16369]
2636 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2637 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2638
3f637079
BM
26392013-12-24 Brooks Moses <bmoses@google.com>
2640
2641 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2642 all compilers that claim C++98 compliance, not just GCC.
2643 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2644 Likewise.
2645
abc26e99
MK
26462013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2647
2648 * NEWS: Restore accidentally deleted bug-fix entries.
2649
362b47fe
MK
26502013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2651 Ondřej Bílka <neleai@seznam.cz>
2652
2653 [BZ #15073]
2654 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2655 have_lock.
362b47fe 2656
b9bcbbcb
OB
26572013-12-23 Ondřej Bílka <neleai@seznam.cz>
2658
2659 [BZ #12986]
2660 * manual/stdio.texi (String Input Conversions): Clarify that character
2661 classes are not supported.
2662
fb55fcd2
AZ
26632013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2664
2665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2666
ef7344f0
JM
26672013-12-22 Joseph Myers <joseph@codesourcery.com>
2668
4f40e4b3
JM
2669 [BZ #16337]
2670 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2671 Calculate results for small negative arguments directly rather
2672 than using reflection formula with special underflow handling.
2673
ef7344f0
JM
2674 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2675 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2676 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2677 (fchflags): Likewise.
2678 (revoke): Likewise.
2679 (setlogin): Likewise.
2680 (sigaltstack): Likewise.
2681 (wait4): Likewise.
2682 (sigblock): Remove.
2683 (sigsetmask): Likewise.
2684 (wait3): Likewise.
2685 (waitpid): Likewise.
2686 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2687 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2688 file.
2689 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2690 * sysdeps/unix/bsd/Makefile: ... here.
2691 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2692 * sysdeps/unix/bsd/Versions: ... here.
2693 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2694 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2695 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2696 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2697 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2698 * sysdeps/unix/bsd/sigblock.c: ... here.
2699 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2700 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2701 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2702 * sysdeps/unix/bsd/sigvec.c: ... here.
2703 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2704 * sysdeps/unix/bsd/tcdrain.c: ... here.
2705 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2706 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2707 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2708 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2709 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2710 * sysdeps/unix/bsd/wait.c: ... here.
2711 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2712 * sysdeps/unix/bsd/wait3.c: ... here.
2713 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2714 * sysdeps/unix/bsd/waitpid.c: ... here.
2715
5b0626b9
JM
27162013-12-21 Joseph Myers <joseph@codesourcery.com>
2717
2718 [BZ #16356]
2719 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2720 round-to-nearest for [!USE_AS_EXPM1L].
2721 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2722 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2723 more tests of exp and exp10. Expect some exp10 tests to miss
2724 exceptions or fail in directed rounding modes.
2725 * math/auto-libm-test-out: Regenerated.
2726 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2727 (exp10_test_tonearest): New function.
2728 (exp10_towardzero_test_data): New array.
2729 (exp10_test_towardzero): New function.
2730 (exp10_downward_test_data): New array.
2731 (exp10_test_downward): New function.
2732 (exp10_upward_test_data): New array.
2733 (exp10_test_upward): New function.
2734 (main): Call the new functions.
2735 * sysdeps/i386/fpu/libm-test-ulps: Update.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2737
7fda5682
JM
27382013-12-20 Joseph Myers <joseph@codesourcery.com>
2739
31e3a405
JM
2740 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2741 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2742 * math/auto-libm-test-out: Regenerated.
2743 * math/libm-test.inc (acosh_test_data): Add more tests.
2744 (atanh_test_data): Likewise.
2745 (ceil_test_data): Likewise.
2746 (copysign_test_data): Likewise.
2747 * sysdeps/i386/fpu/libm-test-ulps: Update.
2748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749
85bff96a
JM
2750 * timezone/checktab.awk: Update from tzcode 2013i.
2751 * timezone/private.h: Likewise.
2752 * timezone/scheck.c: Likewise.
2753 * timezone/tzfile.h: Likewise.
2754 * timezone/tzselect.ksh: Likewise.
2755 * timezone/zdump.c: Likewise.
2756 * timezone/zic.c: Likewise.
2757
b7867a3b
JM
2758 * math/auto-libm-test-in: Add tests of cpow.
2759 * math/auto-libm-test-out: Regenerated.
2760 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2761 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2762 mpc_cc_c.
2763 (func_calc_desc): Add mpc_cc_c union field.
2764 (test_functions): Add cpow.
2765 (special_fill_2pi): New function.
2766 (special_real_inputs): Add 2pi.
2767 (calc_generic_results): Handle mpc_cc_c.
2768 * sysdeps/i386/fpu/libm-test-ulps: Update.
2769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2770
7fda5682
JM
2771 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2772 csqrt, ctan and ctanh.
2773 * math/auto-libm-test-out: Regenerated.
2774 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2775 (TEST_COND_x86): Likewise.
2776 (ccos_test_data): Use AUTO_TESTS_c_c.
2777 (ccosh_test_data): Likewise.
2778 (cexp_test_data): Likewise.
2779 (clog_test_data): Likewise.
2780 (csqrt_test_data): Likewise.
2781 (ctan_test_data): Likewise.
2782 (ctan_tonearest_test_data): Likewise.
2783 (ctan_towardzero_test_data): Likewise.
2784 (ctan_downward_test_data): Likewise.
2785 (ctan_upward_test_data): Likewise.
2786 (ctanh_test_data): Likewise.
2787 (ctanh_tonearest_test_data): Likewise.
2788 (ctanh_towardzero_test_data): Likewise.
2789 (ctanh_downward_test_data): Likewise.
2790 (ctanh_upward_test_data): Likewise.
2791 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2792 mpc_c_c.
2793 (func_calc_desc): Add mpc_c_c union field.
2794 (FUNC_mpc_c_c): New macro.
2795 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2796 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2797 ctanh.
2798 (special_fill_min_subnorm_p120): New function.
2799 (special_real_inputs): Add min_subnorm_p120.
2800 (calc_generic_results): Handle mpc_c_c.
2801 * sysdeps/i386/fpu/libm-test-ulps: Update.
2802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2803
5ff8d60e
SP
28042013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2805
392dd2de
SP
2806 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2807 do_sin_slow): New functions.
2808 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2809 cslow2, csloww1, csloww2): Use the new functions.
2810
84ba214c
SP
2811 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2812 Use M to change sign of result instead of X. Assume X is
2813 positive.
2814 (csloww1): Likewise.
2815 (__sin): Adjust.
2816 (__cos): Adjust.
2817
975195e4
SP
2818 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2819 arguments A and DA.
2820 (__sin): Adjust.
2821 (__cos): Likewise.
2822
5ff8d60e
SP
2823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2824 (__cos): Likewise.
2825 (sloww1): Don't adjust sign of DX.
2826 (csloww1): Likewise.
2827 (sloww2): Use X directly and don't adjust sign of DX.
2828 (csloww2): Likewise.
2829
eb983568
JM
28302013-12-19 Joseph Myers <joseph@codesourcery.com>
2831
64a17f1a
JM
2832 * math/auto-libm-test-in: Add tests of cabs and carg.
2833 * math/auto-libm-test-out: Regenerated.
2834 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2835 (carg_test_data): Likewise.
2836 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2837 mpc_c_f.
2838 (func_calc_desc): Add mpc_c_f union field.
2839 (test_functions): Add cabs and carg.
2840 (calc_generic_results): Handle mpc_c_f.
2841
eb983568
JM
2842 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2843 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2844 as a macro and a compat symbol.
2845 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2846 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2847 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2848 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2849 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2850 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2851 not use .hidden.
2852 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2853 Likewise.
2854 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2855 Likewise.
2856 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2857 Likewise.
2858 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2859 Likewise.
2860 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2861 Likewise.
2862 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2863 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2864 from GLIBC_2.3.2.
2865
6eeb678a
AZ
28662013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2867
2868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2869
6f6fc482
JM
28702013-12-19 Joseph Myers <joseph@codesourcery.com>
2871
21fea2e2
JM
2872 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2873 trailing whitespace removed.
2874 * scripts/config.guess: Update to version 2013-11-29.
2875 * scripts/config.sub: Update to version 2013-10-01.
2876
6f6fc482
JM
2877 * math/auto-libm-test-in: Add tests of sincos.
2878 * math/auto-libm-test-out: Regenerated.
2879 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2880 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2881 mpfr_f_11.
2882 (func_calc_desc): Add mpfr_f_11 union field.
2883 (test_functions): Add sincos.
2884 (calc_generic_results): Handle mpfr_f_11.
2885 * sysdeps/i386/fpu/libm-test-ulps: Update.
2886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2887
83f5c32d
AS
28882013-12-19 Andreas Schwab <schwab@suse.de>
2889
2890 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2891 CALL_MCOUNT.
2892 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2893 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2894 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2895
c688b419
JM
28962013-12-19 Joseph Myers <joseph@codesourcery.com>
2897
335ee092
JM
2898 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2899 * sysdeps/i386/fpu/libm-test-ulps: Update.
2900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2901
f88acd39
JM
2902 [BZ #16293]
2903 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2904 round-to-nearest mode when using frndint.
2905 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2906 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2908 Likewise.
2909 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2910 sinh test to fail.
2911 * math/auto-libm-test-out: Regenerated.
2912 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2913 (TEST_COND_x86): Likewise.
2914 (expm1_tonearest_test_data): New array.
2915 (expm1_test_tonearest): New function.
2916 (expm1_towardzero_test_data): New array.
2917 (expm1_test_towardzero): New function.
2918 (expm1_downward_test_data): New array.
2919 (expm1_test_downward): New function.
2920 (expm1_upward_test_data): New array.
2921 (expm1_test_upward): New function.
2922 (main): Run the new test functions.
2923 * sysdeps/i386/fpu/libm-test-ulps: Update.
2924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2925
c688b419
JM
2926 * include/features.h: Update comment documenting feature test
2927 macros. Mention _DEFAULT_SOURCE in comment.
2928 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2929 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2930 _BSD_SOURCE and _SVID_SOURCE.
2931 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2932 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2933 !_SVID_SOURCE]: Likewise.
2934 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2935 (__USE_POSIX_IMPLICITLY): Define.
2936 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2937 (_POSIX_SOURCE): Undefine and redefine.
2938 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2939 (_POSIX_C_SOURCE): Likewise.
2940 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2941 (Feature Test Macros): Update documentation of default features.
2942
9f6e964c
RS
29432013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2944
2945 * benchtests/Makefile: Add bench-strtok.
2946 * benchtests/bench-strtok.c: New file: strtok benchtest.
2947
ee0a148a
AM
29482013-12-19 Allan McRae <allan@archlinux.org>
2949
2950 * manual/install.texi: Suppress menu for plain text output.
2951 * INSTALL: Regenerated.
2952
b9ab448f
BM
29532013-12-18 Brooks Moses <bmoses@google.com>
2954
2955 [BZ #15846]
2956 * misc/getauxval.c: Include errno.h.
2957 (__getauxval): Set errno to ENOENT if the requested type is not
2958 found.
2959 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2960 don't declare with __attribute_const__.
2961 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2962 * manual/startup.texi: Document that getauxval sets errno.
2963
23776487
JM
29642013-12-18 Joseph Myers <joseph@codesourcery.com>
2965
f889953b
JM
2966 * math/auto-libm-test-in: Add tests of jn and yn.
2967 * math/auto-libm-test-out: Regenerated.
2968 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2969 (yn_test_data): Likewise.
2970 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2971 mpfr_if_f.
2972 (func_calc_desc): Add mpfr_if_f union field.
2973 (FUNC_mpfr_if_f): New macro.
2974 (test_functions): Add jn and yn.
2975 (calc_generic_results): Assert type of second input for
2976 mpfr_ff_f. Handle mpfr_if_f.
2977 (output_for_one_input_case): Disable all checking for arguments
2978 fitting floating-point types in case of an integer argument.
2979 * sysdeps/i386/fpu/libm-test-ulps: Update.
2980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2981
23776487
JM
2982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2983 Don't expect fegetround reference in libm.so.
2984
cb756c6d
MS
29852013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2986
2987 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2988 $(config-cflags-nofma).
2989
2dec468f
JM
29902013-12-18 Joseph Myers <joseph@codesourcery.com>
2991
5953eb3a
JM
2992 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2993 * math/auto-libm-test-out: Regenerated.
2994
2dec468f
JM
2995 [BZ #16338]
2996 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2997 to determine exponent and adjust argument to have exponent of -1.
2998 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2999 log2.
3000 * math/auto-libm-test-out: Regenerated.
3001 * sysdeps/i386/fpu/libm-test-ulps: Update.
3002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3003
4d84e6ad
OB
30042013-12-18 Ondřej Bílka <neleai@seznam.cz>
3005
3006 * manual/probes.texi: Remove cases when per-thread arenas are
3007 disabled.
3008
1818483b
AS
30092013-12-18 Andreas Schwab <schwab@suse.de>
3010
3011 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
3012 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
3013 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
3014 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
3015 * sysdeps/i386/i686/multiarch/Makefile: Update.
3016 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
3017
25de95bf
JM
30182013-12-17 Joseph Myers <joseph@codesourcery.com>
3019
3020 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
3021 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3022
674762d9
PE
30232013-12-17 Paul Eggert <eggert@cs.ucla.edu>
3024
ed27ed83 3025 [BZ #15968]
0748546f
PE
3026 Support TZ transition times < 00:00:00.
3027 This is needed for version-3 tz-format files; it supports time
3028 stamps past 2037 for America/Godthab (the only entry in the tz
3029 database for which this change is relevant).
3030 * manual/time.texi (TZ Variable): Document transition times
3031 from -167:59:59 through -00:00:01.
3032 * time/tzset.c (tz_rule): Time of day is now signed.
3033 (__tzset_parse_tz): Parse negative time of day.
3034
4480e934
PE
3035 Document TZ transition times >= 25:00:00.
3036 * manual/time.texi (TZ Variable): Document transition times from
3037 25:00:00 through 167:59:59. These are already supported, and this
3038 support will help with version-3 tz-format files.
3039
69947401
PE
3040 * manual/time.texi (TZ Variable): Modernize North America example
3041 to reflect current (i.e., 2007-and-later) daylight saving rules.
3042
674762d9
PE
3043 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
3044
7011c262
JM
30452013-12-17 Joseph Myers <joseph@codesourcery.com>
3046
2fc6557e
JM
3047 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
3048 * sysdeps/unix/bsd/bits/stat.h: Likewise.
3049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
3050 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3051 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
3052 * sysdeps/unix/bsd/bsdstat.h: Likewise.
3053 * sysdeps/unix/bsd/clock.c: Likewise.
3054 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
3055 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
3056 * sysdeps/unix/bsd/init-posix.c: Likewise.
3057 * sysdeps/unix/bsd/poll.c: Likewise.
3058 * sysdeps/unix/bsd/ptsname.c: Likewise.
3059 * sysdeps/unix/bsd/seekdir.c: Likewise.
3060 * sysdeps/unix/bsd/setegid.c: Likewise.
3061 * sysdeps/unix/bsd/seteuid.c: Likewise.
3062 * sysdeps/unix/bsd/setgid.c: Likewise.
3063 * sysdeps/unix/bsd/setrgid.c: Likewise.
3064 * sysdeps/unix/bsd/setruid.c: Likewise.
3065 * sysdeps/unix/bsd/setsid.c: Likewise.
3066 * sysdeps/unix/bsd/setuid.c: Likewise.
3067 * sysdeps/unix/bsd/sigaction.c: Likewise.
3068 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3069 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
3070 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3071 * sysdeps/unix/bsd/telldir.c: Likewise.
3072 * sysdeps/unix/bsd/times.c: Likewise.
3073 * sysdeps/unix/bsd/usleep.c: Likewise.
3074
029c7b25
JM
3075 * misc/Makefile (install-lib): Remove libbsd-compat.a.
3076 ($(objpfx)libbsd-compat.a): Remove rule.
3077
7011c262
JM
3078 * include/features.h (__FAVOR_BSD): Do not define.
3079 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
3080 features conflicting with POSIX.
3081 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
3082 (_BSD_SOURCE): Remove description of not being a subset of other
3083 feature test macros.
3084 * manual/job.texi (getpgrp): Do not document BSD version.
3085 (getpgid): Do not document by reference to BSD getpgrp.
3086 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
3087 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
3088 * signal/signal.h [__FAVOR_BSD]: Likewise.
3089 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
3090 instead of making contents conditional on [__FAVOR_BSD].
3091 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
3092
affb6f78
AZ
30932013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3094
3095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3096
c88769dd
JM
30972013-12-17 Joseph Myers <joseph@codesourcery.com>
3098
6432a540
JM
3099 [BZ #16314]
3100 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
3101 values below 2**-450, not 2**-500.
3102 * math/auto-libm-test-in: Don't allow spurious underflow from
3103 hypot.
3104 * math/auto-libm-test-out: Regenerated.
3105
c88769dd
JM
3106 [BZ #16316]
3107 [BZ #16330]
3108 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
3109 values of ha and hb and sort them after adjusting subnormal
3110 arguments.
3111 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3112 Likewise.
3113 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
3114 values of ea and eb and sort them after adjusting subnormal
3115 arguments.
3116 * math/auto-libm-test-in: Do not expect some hypot tests of
3117 subnormals to fail. Add more hypot tests.
3118 * math/auto-libm-test-out: Regenerated.
3119
29618f6b
KK
31202013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3121
3122 [BZ #13304]
3123 * sysdeps/sh/s_fma.c: New file.
3124 * sysdeps/sh/s_fmaf.c: New file.
3125 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
3126 version.
3127 * sysdeps/sh/Implies: Add sh/soft-fp.
3128
eacfdfbf
RM
31292013-12-16 Roland McGrath <roland@hack.frob.com>
3130
3131 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
3132 level of indirection to members `objname', `errstring', `malloced'.
3133 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
3134 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
3135 it as the __longjmp argument (just pass 1 instead).
3136 (_dl_catch_error): Initialize C with argument pointers and address of
3137 volatile local ERRCODE rather than copying values out of C at return.
3138
ff362e5b
JM
31392013-12-16 Joseph Myers <joseph@codesourcery.com>
3140
3141 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3142 * math/auto-libm-test-out: Regenerated.
3143 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3144 (hypot_test_data): Likewise.
3145 (pow_test_data): Likewise.
3146 (pow_tonearest_test_data): Likewise.
3147 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3148 mpfr_ff_f.
3149 (func_calc_desc): Add mpfr_ff_f union field.
3150 (FUNC_mpfr_ff_f): New macro.
3151 (test_functions): Add atan2, hypot and pow.
3152 (special_fill_min): New function.
3153 (special_fill_minus_min): Likewise.
3154 (special_fill_min_subnorm): Likewise.
3155 (special_fill_minus_min_subnorm): Likewise.
3156 (special_real_inputs): Add min, -min, min_subnorm and
3157 -min_subnorm.
3158 (calc_generic_results): Handle mpfr_ff_f.
3159 * sysdeps/i386/fpu/libm-test-ulps: Update.
3160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3161
5764c27f
WN
31622013-12-16 Will Newton <will.newton@linaro.org>
3163
3164 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3165 (Aligned Memory Blocks): Add documentation for aligned_alloc
3166 and suggest it as an alternative to posix_memalign.
3167 (Hooks for Malloc): Document __memalign_hook is also called
3168 for aligned_alloc. (Summary of Malloc): Add summary for
3169 aligned alloc. Document __memalign_hook is also called
3170 for aligned_alloc.
3171
0a096e44
WN
31722013-12-16 Will Newton <will.newton@linaro.org>
3173
3174 * manual/memory.texi (Malloc Examples): Clarify default
3175 alignment documentation. Suggest posix_memalign rather
3176 than memalign or valloc.
3177 (Aligned Memory Blocks): Remove suggestion to use memalign
3178 or valloc. Remove obsolete comment about BSD.
3179 Document memalign errno values and mark the function obsolete.
3180 Document posix_memalign returned error codes. Mark valloc
3181 as obsolete. (Hooks for Malloc): __memalign_hook is also
3182 called for posix_memalign and valloc.
3183 (Summary of Malloc): Add posix_memalign to function summary.
3184 __memalign_hook is also called for posix_memalign and valloc.
3185
8d561986
SP
31862013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3187
3188 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3189 TAYLOR_SIN.
3190 (__sin): Adjust.
3191 (__cos): Likewise.
3192 (sloww): Use mynumber union. Expand ternary operator into
3193 if-else statements.
3194 (cslow): use mynumber union.
3195
73616a74
AM
31962013-12-16 Allan McRae <allan@archlinux.org>
3197
9e8ac24b
AM
3198 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3199 * configure: Regenerated.
3200
6f8e37eb
AM
3201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3202
8894bad3
AM
3203 [BZ #14120]
3204 * configure.ac: Added --enable-maintainer-mode. Check for
3205 autoconf when enabled.
3206 * configure: Regenerated.
3207
73616a74
AM
3208 * nscd/nscd.service: New file.
3209 * nscd/nscd.tmpfiles: New file.
3210
584b18eb
OB
32112013-12-14 Ondřej Bílka <neleai@seznam.cz>
3212
3213 [BZ #12100]
3214 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3215 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3216 * sysdeps/x86_64/multiarch/strstr.c: ... here.
3217 (strstr): Add __strstr_sse2_unaligned ifunc.
3218 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3219 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3220 (strcasestr): Remove __strcasestr_sse42 ifunc.
3221 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3224
8a5c7897
KK
32252013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3226
3227 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3228 * sysdeps/sh/bits/fenv.h: ... here.
3229 * sysdeps/sh/sh4/fpu/bits: Remove directory.
3230
fd712ef3
AZ
32312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3232
3233 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3234
42fcb46c
AZ
32352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236
3237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3238 hypotf multiarch implementations.
3239 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3240 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3241 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3242 multiarch hypot for PPC64.
3243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3246 multiarch hypotf for PPC64.
3247
83efded4
AZ
32482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3249
3250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3251 modff multiarch implementations.
3252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3255 multiarch modf for PPC64.
3256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3259 multiarch modff for PPC64.
3260
43e246d2
AZ
32612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3262
3263 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3264 and logl multiarch implementations.
3265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3268 multiarch logb for PPC64.
3269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3272 multiarch logb for PPC64.
3273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3276 multiarch logb for PPC64.
3277
8fdad123
AZ
32782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3279
3280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3281 isinff multiarch implementation.
3282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3283 file.
3284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3286 multiarch isinf for PPC64.
3287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3288 file.
3289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3290 multiarch isinff for PPC64.
3291
1481d706
AZ
32922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3293
3294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3295 finitef multiarch implementation.
3296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3297 file.
3298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3300 multiarch finite for PPC64.
3301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3302 file.
3303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3304 multiarch finitef for PPC64.
3305
5ccd5fc8
AZ
33062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307
3308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3309 lrint multiarch implementation.
3310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3311 file.
3312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3314 multiarch llrint for PPC64.
3315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3316 multiarch lrint for PPC64.
3317
2568f3fa
AZ
33182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3319
3320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3321 copysignf multiarch implementation.
3322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3323 file.
3324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3325 file.
3326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3327 multiarch copysign for PPC64.
3328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3329 multiarch copysignf for PPC64.
3330
1cb341fd
AZ
33312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332
3333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3334 multiarch implementation.
3335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3336 file.
3337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3338 file.
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3340 file.
3341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3342 file.
3343 multiarch llround for PPC64.
3344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3345 multiarch trunc for PPC64.
3346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3347 multiarch truncf for PPC64.
3348
59a3e194
AZ
33492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3350
3351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3352 multiarch implementation.
3353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3354 file.
3355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3356 file.
3357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3358 file.
3359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3360 file.
3361 multiarch llround for PPC64.
3362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3363 multiarch round for PPC64.
3364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3365 multiarch roundf for PPC64.
3366
357fd3b4
AZ
33672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3368
3369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3370 multiarch implementation.
3371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3372 file.
3373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3374 file.
3375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3376 file.
3377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3378 file.
3379 multiarch llround for PPC64.
3380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3381 multiarch floor for PPC64.
3382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3383 multiarch floorf for PPC64.
3384
96770f12
AZ
33852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3386
3387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3388 multiarch implementation.
3389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3390 file.
3391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3392 file.
3393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3394 file.
3395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3396 file.
3397 multiarch llround for PPC64.
3398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3399 multiarch ceil for PPC64.
3400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3401 multiarch ceilf for PPC64.
3402
c3627f6e
AZ
34032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3404
3405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3406 multiarch implementation.
3407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3408 file.
3409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3410 file.
3411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3412 file.
3413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3414 multiarch llround for PPC64.
3415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3416 multiarch lround for PPC64.
3417
b2284ad7
AZ
34182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3419
3420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3421 multiarch implementation.
3422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3425 file.
3426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3429 multiarch isnan for PPC64.
3430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3431 multiarch isnanf for PPC64.
3432
69bbc63d
AZ
34332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434
3435 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3436 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3437 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3438 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3439 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3441
c24517c9
AZ
34422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3443
3444 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3445 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3448
a52374e8
AZ
34492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3450
3451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3452 multiarch implementations.
3453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3454 (__libc_ifunc_impl_list): Likewise.
3455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3456 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3457 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3458 multiarch stpcpy for PPC64.
3459
7f5ec113
AZ
34602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3461
3462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3463 multiarch implementations.
3464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3465 (__libc_ifunc_impl_list): Likewise.
3466 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3467 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3468 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3469 multiarch strcpy for PPC64.
3470
e28bcd42
AZ
34712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3472
3473 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3474 redefine function name.
3475 (_wordcopy_fwd_dest_aligned): Likewise.
3476 (_wordcopy_bwd_aligned): Likewise.
3477 (_wordcopy_bwd_dest_aligned): Likewise.
3478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3479 multiarch implementations.
3480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3481 (__libc_ifunc_impl_list): Likewise.
3482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3483 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3484 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3485 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3486 multiarch wcscpy for PPC64.
3487
92cacfce
AZ
34882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3489
3490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3491 multiarch implementations.
3492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3493 (__libc_ifunc_impl_list): Likewise.
3494 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3495 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3496 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3497 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3498 multiarch wcscpy for PPC64.
3499
7b714620
AZ
35002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3501
3502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3503 multiarch implementations.
3504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3505 (__libc_ifunc_impl_list): Likewise.
3506 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3507 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3508 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3509 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3510 multiarch wcsrchr for PPC64.
3511
16fd2ae3
AZ
35122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3513
3514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3515 multiarch implementations.
3516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3517 (__libc_ifunc_impl_list): Likewise.
3518 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3519 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3520 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3521 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3522 multiarch wcschr for PPC64.
3523
9ee2969b
AZ
35242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525
3526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3527 multiarch implementations.
3528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3529 (__libc_ifunc_impl_list): Likewise.
3530 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3531 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3533 multiarch strchrnul for PPC64.
3534
372dc060
AZ
35352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3536
3537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3538 implementations.
3539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3540 (__libc_ifunc_impl_list): Likewise.
3541 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3542 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3543 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3544 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3545 strchr for PPC64.
3546
24c2c3b9
AZ
35472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548
3549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3550 implementations.
3551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3552 (__libc_ifunc_impl_list): Likewise.
3553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3555 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3556 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3557 strncmp for PPC64.
3558
1c92d9a0
AZ
35592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3560
3561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3562 multiarch implementations.
3563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3564 (__libc_ifunc_impl_list): Likewise.
3565 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3566 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3567 strncasecmp for PPC64.
3568 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3569 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3570 multiarch strncasecmp_l for PPC64.
3571
17de3ee3
AZ
35722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3573
3574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3575 multiarch implementations.
3576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3577 (__libc_ifunc_impl_list): Likewise.
3578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3579 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3580 multiarch strcasecmp for PPC64.
3581 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3582 file.
3583 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3584 multiarch strcasecmp_l for PPC64.
3585
62982bf9
AZ
35862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3587
3588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3589 implementations.
3590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3591 (__libc_ifunc_impl_list): Likewise.
3592 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3593 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3594 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3595 strnlen for PPC64.
3596
a65f4904
AZ
35972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3598
3599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3600 implementations.
3601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3602 (__libc_ifunc_impl_list): Likewise.
3603 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3604 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3605 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3606 strlen for PPC64.
3607
1fd005ad
AZ
36082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3609
3610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3611 implementations.
3612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3613 (__libc_ifunc_impl_list): Likewise.
3614 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3615 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3616 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3617 rawmemrchr for PPC64.
3618
cd05ba91
AZ
36192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3620
3621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3622 implementation.
3623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3624 (__libc_ifunc_impl_list): Likewise.
3625 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3626 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3627 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3628 memrchr for PPC64.
3629
870f8676
AZ
36302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3631
3632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3633 implementation.
3634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3635 (__libc_ifunc_impl_list): Likewise.
3636 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3637 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3638 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3639 memchr for PPC64.
3640
f00be62b
AZ
36412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3642
3643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3644 implementation.
3645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3646 (__libc_ifunc_impl_list): Likewise.
3647 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3648 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3649 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3650 mempcpy for PPC64.
3651
8a29a3d0
AZ
36522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3653
3654 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3655 avoid cretion of __bzero symbol.
3656 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3657 Likewise.
3658 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3659 Likewise.
3660 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3661 Likewise.
3662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3663 multiarch implementations.
3664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3665 (__libc_ifunc_impl_list): Likewise.
3666 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3667 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3668 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3669 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3670 bzero for PPC32.
3671 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3672 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3673 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3674 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3675 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3676 memset for PPC64.
3677 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3678
07253fcf
AZ
36792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680
3681 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3683 implementations.
3684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3685 (__libc_ifunc_impl_list): Likewise.
3686 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3687 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3688 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3689 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3690 memcmp for PPC64.
3691
b5beafbc
AZ
36922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3693
3694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3695 multiarch for POWER/PPC64.
3696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3697 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3698 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3699 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3701 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3704 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3705 memcpy for PPC64.
3706
5e6a4d4b
AZ
37072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3708
3709 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3710 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3711 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3712 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3713 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3714 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3715 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3716 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3717 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3718 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3719 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3720 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3721 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3722 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3723 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3731
ddfab6dc
KK
37322013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3733
3734 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3735
19b5525e
SP
37362013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3737
3738 * benchtests/Makefile (bench): Add exp2 and log2.
3739 (LDLIBS-bench-exp2): Add -lm.
3740 (LDLIBS-bench-log2): Likewise.
3741 * benchtests/exp2-inputs: New inputs file.
3742 * benchtests/log2-inputs: New inputs file.
3743 * benchtests/log-inputs: Add new inputs.
3744 * benchtests/tan-inputs: Likewise.
3745
196f7f5d
SP
37462013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3747
7a74607f
SP
3748 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3749 definition...
3750 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3751 csloww1, csloww2): ... from here.
3752
196f7f5d
SP
3753 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3754 instead of structures.
3755 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3756 (POLYNOMIAL): Likewise.
3757 (TAYLOR_SLOW): Likewise.
3758 (__sin): Likewise.
3759 (__cos): Likewise.
3760 (slow1): Likewise.
3761 (slow2): Likewise.
3762 (sloww): Likewise.
3763 (sloww1); Likewise.
3764 (sloww2): Likewise.
3765 (bsloww1): Likewise.
3766 (bsloww2): Likewise.
3767 (cslow2): Likewise.
3768 (csloww): Likewise.
3769 (csloww1): Likewise.
3770 (csloww2): Likewise.
3771
0dfa665c
OB
37722013-12-10 Ondřej Bílka <neleai@seznam.cz>
3773
3774 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3775 (__malloc_assert, __libc_realloc, __libc_calloc,
3776 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3777 memcpy and memset.
3778 * malloc/hooks.c (realloc_check): Likewise.
3779
5782a80f
OB
37802013-12-10 Ondřej Bílka <neleai@seznam.cz>
3781
3782 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3783 * malloc/arena.c: Remove PER_THREAD conditional.
3784 [!PER_THREAD]: Remove code.
3785 (ptmalloc_unlock_all2): Likewise.
3786 (ptmalloc_init): Likewise.
3787 (_int_new_arena): Likewise.
3788 (arena_get2): Likewise.
3789 * malloc/hooks.c (__malloc_get_state): Likewise.
3790 (__malloc_set_state): Likewise.
3791 * malloc/malloc.c: Likewise.
3792 (struct malloc_state): Likewise.
3793 (struct malloc_par): Likewise.
3794 (__libc_realloc): Likewise.
3795 (__libc_mallopt): Likewise.
3796
aeb95445
AZ
37972013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3798
3799 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3800
e8349efd
OB
38012013-12-09 Ondřej Bílka <neleai@seznam.cz>
3802
3803 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3804 macro to a function. Check for zero perturb_byte.
3805 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3806
f3eeb3fc
OB
38072013-12-09 Ondřej Bílka <neleai@seznam.cz>
3808
3809 * malloc/malloc.c: (force_reg): Remove.
3810 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3811 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3812 force_reg by atomic_forced_read.
3813 * malloc/arena.c (ptmalloc_init): Likewise.
3814 * malloc/hooks.c (top_check): Likewise.
3815
be2f9009
AZ
38162013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3817
3818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3819
e7b914bd
MT
38202013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3821
3822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3823
9f0be4f8
JM
38242013-12-08 Joseph Myers <joseph@codesourcery.com>
3825
3826 * math/auto-libm-test-in: Add tests of lgamma.
3827 * math/auto-libm-test-out: Regenerated.
3828 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3829 (M_LOG_2_SQRT_PIl): Likewise.
3830 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3831 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3832 mpfr_f_f1.
3833 (func_calc_desc): Add mpfr_f_f1 union field.
3834 (ARGS1): New macro.
3835 (ARGS2): Likewise.
3836 (ARGS3): Likewise.
3837 (ARGS4): Likewise.
3838 (RET1): Likewise.
3839 (RET2): Likewise.
3840 (CALC): Likewise.
3841 (FUNC): Likewise.
3842 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3843 (test_functions): Add lgamma.
3844 (calc_generic_results): Handle mpfr_f_f1.
3845 * sysdeps/i386/fpu/libm-test-ulps: Update.
3846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3847
24eeafdb
AZ
38482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3849
3850 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3851 __mpn_add_n for PowerPC64/POWER7.
3852 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3853 __mpn_sub_n for PowerPC64/POWER7.
3854
4a2c0fd4
AZ
38552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3856
3857 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3858 __mpn_addmul_1 for PowerPC64.
3859 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3860 __mpn_submul_1 for PowerPC64.
3861 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3862 for PowerPC64.
3863 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3864 for PowerPC64.
3865
4b5b548c
FS
38662013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3867
3868 [BZ #15089]
3869 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3870
0a3ac0aa
AZ
38712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3872
3873 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3874
ccdc8438
AZ
38752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3876
3877 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3878 add multiarch folders.
3879 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3880 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3881 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3882 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3883 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3884 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3885 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3886 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3887 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3888 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3889 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3896
2e973d99
AZ
38972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3898
3899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3900 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3902 New file.
3903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3904 New file.
3905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3906 multiarch __ieee754_hypot for PowerPC32.
3907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3908 New file.
3909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3910 New file.
3911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3912 multiarch __ieee754_hypotf for PowerPC32.
3913
2d9470b2
AZ
39142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3915
3916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3917 long_double_symbol only if __logbl is defined.
3918 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3919 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3921 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3923 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3924 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3925 path for implementation.
3926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3929 logb, and logbl multiarch implementations for PowerPC32.
3930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3931 file.
3932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3933 file.
3934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3935 multiarch logb for PowerPC32.
3936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3937 file.
3938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3939 file.
3940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3941 multiarch logbf for PowerPC32.
3942 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3944 file.
3945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3946 multiarch logbl implementation for PowerPC32.
3947
5212ffce
AZ
39482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3949
3950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3951 and modff multiarch implementations.
3952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3953 New file.
3954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3955 New file.
3956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3957 multiarch modf for PowerPC32.
3958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3959 New file.
3960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3961 New file.
3962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3963 multiarch modff for PowerPC32.
3964
79dccf31
AZ
39652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3966
3967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3968 and lrintf multiarch implementations.
3969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3970 New file.
3971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3972 New file.
3973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3974 multiarch lrint for PowerPC32.
3975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3976 file: multiarch lrintf for PowerPC32.
3977
deb66480
AZ
39782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3979
3980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3981 and lroundf multiarch implementations.
3982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3983 New file.
3984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3985 New file.
3986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3987 New file.
3988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3989 multiarch lround for PowerPC32.
3990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3991 file: multiarch lroundf for PowerPC32.
3992
264b036b
AZ
39932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3994
3995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3996 copysign and copysignf multiarch implementations.
3997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3998 New file.
3999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4000 New file.
4001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
4002 file: multiarch copysign for PowerPC32.
4003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
4004 file: multiarch copysignf for PowerPC32.
4005
d47db6c9
AZ
40062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4007
4008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
4009 and truncf multiarch implementations.
4010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
4011 New file.
4012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
4013 file.
4014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
4015 multiarch trunc for PowerPC32.
4016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
4017 New file.
4018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4019 New file.
4020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
4021 multiarch truncf for PowerPC32.
4022
ddb60b5a
AZ
40232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4024
4025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
4026 and roundf multiarch implementations.
4027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
4028 New file.
4029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
4030 file.
4031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
4032 multiarch round for PowerPC32.
4033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
4034 New file.
4035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4036 New file.
4037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
4038 multiarch roundf for PowerPC32.
4039
bedcf49b
AZ
40402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4041
4042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
4043 and floorf multiarch implementations.
4044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4045 New file.
4046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
4047 file.
4048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
4049 multiarch floor for PowerPC32.
4050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4051 New file.
4052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4053 New file.
4054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
4055 multiarch floorf for PowerPC32.
4056
35ae5b40
AZ
40572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4058
4059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
4060 and ceilf multiarch implementations.
4061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4062 New file.
4063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
4064 file.
4065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
4066 multiarch ceil for PowerPC32.
4067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4068 New file.
4069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
4070 file.
4071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
4072 multiarch ceilf for PowerPC32.
4073
ae1a4cd9
AZ
40742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4075
4076 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
4077 is defined.
4078 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
4079 FINITEF is defined.
4080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
4081 and finitef multiarch implementations.
4082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
4083 New file.
4084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
4085 file.
4086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
4087 multiarch finite for PowerPC32.
4088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
4089 New file.
4090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
4091 file: multiarch finitef for PowerPC32.
4092
64fffd65
AZ
40932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4094
4095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
4096 and isinff multiarch implementations.
4097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
4098 file.
4099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
4100 file.
4101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
4102 multiarch isinf for PowerPC32.
4103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
4104 New file.
4105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
4106 multiarch isinff for PowerPC32.
4107
8e4e7ba2
AZ
41082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4109
4110 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
4111 alias when __isnan is defined.
4112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
4113 and isnanf multiarch implementations.
4114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
4115 file.
4116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
4117 file.
4118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
4119 file.
4120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
4121 file.
4122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
4123 multiarch isnan for PowerPC32.
4124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
4125 New file.
4126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
4127 New file.
4128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
4129 multiarch isnanf for PowerPC32.
4130
ddba588e
AZ
41312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4132
4133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4134 and sqrtf multiarch implementations.
4135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
4136 file.
4137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4138 file.
4139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4140 multiarch sqrt for PowerPC32.
4141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4142 file.
4143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4144 file.
4145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4146 multiarch sqrtf for PowerPC32.
4147
0f96a2f0
AZ
41482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4149
4150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4151 and llroundf multiarch implementations.
4152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4153 New file.
4154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4155 New file.
4156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4157 New file.
4158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4159 file: multiarch llround for PowerPC32.
4160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4161 file: multiarch llroundf for PowerPC32.
4162
c9b5d79e
AZ
41632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4164
4165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4166 multiarch PowerPC32 fpu implementations.
4167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4168 New file.
4169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4170 New file.
4171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4172 multiarch llrint for PowerPC32.
4173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4174 New file.
4175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4176 New file.
4177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4178 file.
4179
9cbb3aab
AZ
41802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4181
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4183
ea5a72f8
AZ
41842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4185
4186 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4187 file.
4188 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4189 file.
4190 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4191 file.
4192 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4193 multiarch wordcopy for PPC32.
4194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4195 wordcopy objects.
4196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4197 (__libc_ifunc_impl_list): Likewise.
4198 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4199 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4200 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4201 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4202 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4203 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4204
93be09e7
AZ
42052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4206
4207 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4209 file.
4210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4211 file.
4212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4213 file.
4214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4215 multiarch wcscpy for PPC32.
4216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4217 multiarch objects.
4218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4219 (__libc_ifunc_impl_list): Likewise.
4220 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4221 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4222 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4223 sysdeps/powerpc/power6/wcscpy.c.
4224
bb04e529
AZ
42252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4226
4227 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4229 file.
4230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4231 file.
4232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4233 file.
4234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4235 multiarch wcsrchr for PPC32.
4236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4237 multiarch objects.
4238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4239 (__libc_ifunc_impl_list): Likewise.
4240 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4241 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4242 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4243 sysdeps/powerpc/power6/wcsrchr.c.
4244
05b5cd1c
AZ
42452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4246
4247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4248 file.
4249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4250 file.
4251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4253 multiarch wcschr for PPc32.
4254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4255 multiarch objects.
4256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4257 (__libc_ifunc_impl_list): Likewise.
4258 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4259 * sysdeps/powerpc/power6/wcschr.c: ... to here.
4260 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4261 sysdeps/powerpc/power6/wcschr.c.
4262
ba964147
AZ
42632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4264
4265 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4266 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4267 file.
4268 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4269 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4270 file: multiarch strchr for PPC32.
4271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4272 multiarch objects.
4273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4274 (__libc_ifunc_impl_list): Likewise.
4275
31c81aaa
AZ
42762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4277
4278 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4279 name.
4280 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4281 file.
4282 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4283 file.
4284 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4285 multiarch strchrnul for PPC32.
4286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4287 multiarch objects.
4288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4289 (__libc_ifunc_impl_list): Likewise.
4290
0d0607d9
AZ
42912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4292
4293 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4294 file.
4295 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4296 multiarch strncasecmp for PPC32.
4297 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4298 file.
4299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4300 multiarch strncasecmp_l for PPC32.
4301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4302 strncasecmp multiarch objects.
4303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4304 (__libc_ifunc_impl_list): Likewise.
4305
4dfd5c86
AZ
43062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4307
4308 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4309 file.
4310 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4311 multiarch strncasecmp for PPC32.
4312 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4313 New file.
4314 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4315 multiarch strcasecmp_l for PPC32.
4316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4317 multiarch objects.
4318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4319 (__libc_ifunc_impl_list): Likewise.
4320
a19e01a3
AZ
43212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4322
4323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4324 file.
4325 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4326 file.
4327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4328 multiarch strncmp for PPC32.
4329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4330 multiarch objects.
4331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4332 (__libc_ifunc_impl_list): Likewise.
4333
ae9cf7a2
AZ
43342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4335
4336 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4337 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4338 file.
4339 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4340 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4342 multiarch objects.
4343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4344 (__libc_ifunc_impl_list): Likewise.
4345
3148bb7d
AZ
43462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4347
4348 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4349 file.
4350 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4351 file.
4352 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4354 multiarch objects.
4355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4356 (__libc_ifunc_impl_list): Likewise.
4357
7af8b946
AZ
43582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4359
4360 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4361 file.
4362 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4363 file.
4364 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4365 multiarch rawmemchr for PPC32.
4366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4367 multiarch objects.
4368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4369 (__libc_ifunc_impl_list): Likewise.
4370
03a6aa6a
AZ
43712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4372
4373 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4374 file.
4375 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4376 file.
4377 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4378 file: memrchr multiarch for PPC32.
4379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4380 multiarch objects.
4381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4382 (__libc_ifunc_impl_list): Likewise.
4383
1c62e6d9
AZ
43842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4385
4386 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4387 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4388 file.
4389 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4390 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4391 multiarch memchr for PPC32.
4392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4393 multiarch objects.
4394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4395 (__libc_ifunc_impl_list): Likewise.
4396
87da8bdb
AZ
43972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4398
4399 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4400 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4401 file.
4402 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4403 file.
4404 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4405 file: multiarch mempcpy for PPC32.
4406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4407 multiarch objects.
4408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4409 (__libc_ifunc_impl_list): Likewise.
4410
20ed4714
AZ
44112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4412
4413 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4414 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4415 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4416 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4417 multiarch bzero for PPC32.
4418 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4419 file.
4420 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4421 file.
4422 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4423 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4424 file: multiarch memset for PPC32.
4425 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4427 memset multiarch objects.
4428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4429 (__libc_ifunc_impl_list): Likewise.
4430
ab3e3a46
AZ
44312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4432
4433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4434 file.
4435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4437 memcmp for PPC32.
4438 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4440 multiarch objects.
4441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4442 (__libc_ifunc_impl_list): Likewise.
4443
930de6f0
AZ
44442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4445
4446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4449 file.
4450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4451 file.
4452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4453 file.
4454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4455 multiarch memcpy for PPC32.
4456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4457 multiarch objects.
4458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4459 (__libc_ifunc_impl_list): Likewise.
4460
4c628e00
AZ
44612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4462
4463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4464 support multiarch for POWER/PPC32.
4465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4466 Likewise.
4467 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4469 Implies file to make multiarch folder appers before the fpu and
4470 default folder for power4 configuration.
4471
f4479220
SP
44722013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4473
4474 * scripts/bench.pl: Append volatile keyword to type.
4475
8517800f
KK
44762013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4477
4478 * sysdeps/sh/sotruss-lib.c: New file.
4479 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4480
180138f1
AZ
44812013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4482
4483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4484
bbf37bdc
JM
44852013-12-05 Joseph Myers <joseph@codesourcery.com>
4486
e47cc4e0
JM
4487 [BZ #6810]
4488 * math/w_tgamma.c: Include <errno.h>.
4489 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4490 * math/w_tgammaf.c: Include <errno.h>.
4491 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4492 * math/w_tgammal.c: Include <errno.h>.
4493 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4494 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4495 underflow. Add more tgamma tests.
4496 * math/auto-libm-test-out: Regenerated.
4497 * sysdeps/i386/fpu/libm-test-ulps: Update.
4498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4499
bbf37bdc
JM
4500 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4501 sin, sinh, tan, tanh, tgamma, y0 and y1.
4502 * math/auto-libm-test-out: Regenerated.
4503 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4504 (TEST_COND_x86): Likewise.
4505 (M_E2l): Remove macro.
4506 (M_E3l): Likewise.
4507 (M_2_SQRT_PIl): Likewise.
4508 (M_SQRT_PIl): Likewise.
4509 (M_1_DIV_El): Likewise.
4510 (log_test_data): Use AUTO_TESTS_f_f.
4511 (log10_test_data): Likewise.
4512 (log1p_test_data): Likewise.
4513 (log2_test_data): Likewise.
4514 (sin_test_data): Likewise.
4515 (sin_tonearest_test_data): Likewise.
4516 (sin_towardzero_test_data): Likewise.
4517 (sin_downward_test_data): Likewise.
4518 (sin_upward_test_data): Likewise.
4519 (sinh_test_data): Likewise.
4520 (sinh_tonearest_test_data): Likewise.
4521 (sinh_towardzero_test_data): Likewise.
4522 (sinh_downward_test_data): Likewise.
4523 (sinh_upward_test_data): Likewise.
4524 (tan_test_data): Likewise.
4525 (tan_tonearest_test_data): Likewise.
4526 (tan_towardzero_test_data): Likewise.
4527 (tan_downward_test_data): Likewise.
4528 (tan_upward_test_data): Likewise.
4529 (tanh_test_data): Likewise.
4530 (tgamma_test_data): Likewise.
4531 (y0_test_data): Likewise.
4532 (y1_test_data): Likewise.
4533 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4534 (special_real_inputs): Add pi/4.
4535 * sysdeps/i386/fpu/libm-test-ulps: Update.
4536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4537
eb5ad6b9
AZ
45382013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4539
4540 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4541 "longjmp_target" static probes.
4542 (__longjmp): Rename to __longjmp_symbol.
4543 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4544 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4545 on which longjmp to generate.
4546 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4547 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4548 probe.
4549 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4550 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4551 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4552 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4553 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4554 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4556 __longjmp_symbol based on which __longjmp to generate.
4557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4558 probe.
4559 (setjmp): Rename to setjmp_symbol.
4560 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4561 (_setjmp): Rename to _setjmp_symbol.
4562 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4563 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4564 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4565 which setjmp to generate.
4566 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4567 "longjmp_target" static probes.
4568
d136c6dc
SP
45692013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4570
9298ecba
SP
4571 * benchtests/README: Add note about output arguments.
4572 * benchtests/bench-sincos.c: Remove file.
4573 * benchtests/sincos-inputs: New file.
4574 * scripts/bench.pl: Identify output arguments and define
4575 static variables for them.
4576
232983e9
SP
4577 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4578
d136c6dc
SP
4579 [BZ #15941]
4580 * Makefile (INSTALL): Add install-plain.texi as the primary
4581 dependency.
4582 * manual/install-plain.texi: New file.
4583 * manual/install.texi: Include node directive only for
4584 non-plaintext output.
4585
699ff837
JM
45862013-12-04 Joseph Myers <joseph@codesourcery.com>
4587
ab07cea8
JM
4588 * stdlib/longlong.h: Update from GCC.
4589
699ff837
JM
4590 [BZ #6807]
4591 [BZ #15901]
4592 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4593 * math/w_j0f.c (y0f): Likewise.
4594 * math/w_j0l.c (__y0l): Likewise.
4595 * math/w_j1.c (y1): Likewise.
4596 * math/w_j1f.c (y1f): Likewise.
4597 * math/w_j1l.c (__y1l): Likewise
4598 * math/w_jn.c (yn): Likewise.
4599 * math/w_jnf.c (ynf): Likewise.
4600 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4601 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4602 value for Bessel function domain errors outside _SVID_ mode.
4603 Adjust sign of return value for yn (negative integer, 0).
4604 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4605 by zero in return for negative x and set sign appropriately for
4606 negative n.
4607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4608 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4609 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4610 expectations in error cases.
4611 (y1_test_data): Likewise.
4612 (yn_test_data): Likewise.
4613 * sysdeps/i386/fpu/libm-test-ulps: Update.
4614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4615
5b118558
UW
46162013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4617
4618 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4619 "64" to "64-v1". Add "64-v2".
4620 (abi-64-options): Rename to ...
4621 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4622 (abi-64-condition): Rename to ...
4623 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4624 (abi-64-ld-soname): Rename to ...
4625 (abi-64-v1-ld-soname): ... this.
4626 (abi-64-v2-options): Define.
4627 (abi-64-v2-condition): Likewise.
4628 (abi-64-v2-ld-soname): Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4630 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4634
61cd8fe4
UW
46352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4636 Alan Modra <amodra@gmail.com>
4637
4638 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4639 New versions for use with the ELFv2 ABI.
4640 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4641 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4642 declaration.
4643 (struct La_ppc64v2_retval): Likewise.
4644 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4645 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4646 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4647 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4648 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4649 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4650 Do not save or restore CR.
4651 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4652 (_dl_profile_resolve): Do no save or restore CR. Support extended
4653 return values for ELFv2 ABI. Fix location of FPR return registers.
4654 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4655 updated values for _CALL_ELF == 2.
4656 (La_regs, La_retval, int_retval): Likewise.
4657
8b8a692c
UW
46582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4659
4660 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4661 (FRAME_MIN_SIZE_PARM): Likewise.
4662 (FRAME_BACKCHAIN): Likewise.
4663 (FRAME_CR_SAVE): Likewise.
4664 (FRAME_LR_SAVE): Likewise.
4665 (FRAME_TOC_SAVE): Likewise.
4666 (FRAME_PARM_SAVE): Likewise.
4667 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4668 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4669 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4670 (call_mcount_parm_offset): New macro.
4671 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4672 (PROF): Use symbolic stack frame offsets.
4673 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4674 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4675 Redefine in terms of FRAME_MIN_SIZE.
4676 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4677 (_dl_profile_resolve): Likewise. Update comment.
4678 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4679 symbols stack frame offsets.
4680 (__sigsetjmp): Likewise.
4681 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4682 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4683 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4684 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4685
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4687 (FRAME_BACKCHAIN): Remove.
4688 (FRAME_CR_SAVE): Likewise.
4689 (FRAME_LR_SAVE): Likewise.
4690 (FRAME_COMPILER_DW): Likewise.
4691 (FRAME_LINKER_DW): Likewise.
4692 (FRAME_TOC_SAVE): Likewise.
4693 (FRAME_PARM_SAVE): Likewise.
4694 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4695 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4696 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4698 (CHECK_SP): Use symbolic stack frame offsets.
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4700 zone" instead of caller's parameter save area for temp storage.
4701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4702 Likewise. Also, use symbolic stack frame offsets.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4704 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4705 our own stack frame instead of the caller's.
4706 (__socket): Use symbolic stack frame offsets.
4707
122b66de
UW
47082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4709 Alan Modra <amodra@gmail.com>
4710
4711 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4712 Define.
4713 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4714 PPC64_LOCAL_ENTRY_OFFSET): Define.
4715 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4716 New function.
4717 (elf_machine_fixup_plt): Call it.
4718 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4719 reloc arguments.
4720 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4722 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4723 r2 before calling target.
4724
696caf1d
UW
47252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4726 Alan Modra <amodra@gmail.com>
4727
4728 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4729 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4730 versions of macros to support ELFv2 ABI.
4731 (LOCALENTRY): New macro.
4732 (ENTRY, EALIGN): Use it.
4733 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4734 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4735 fall through into ENTRY entry point.
4736 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4737 Only define if _CALL_ELF != 2.
4738
4739 (elf_machine_matches_host): Verify ABI version matches.
4740 (RTLD_START): Use LOCALENTRY.
4741 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4742 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4743 (PLT_ENTRY_WORDS): New macro.
4744 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4745 (elf_machine_runtime_setup): Support ELFv2 ABI.
4746 (elf_machine_fixup_plt): Likewise.
4747 (elf_machine_plt_conflict): Likewise.
4748 (resolve_ifunc): Likewise.
4749 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4751 Likewise.
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4753 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4755 (makecontext): Support ELFv2 ABI.
4756 * elf/elf.h (EF_PPC64_ABI): Define.
4757
d31beafa
UW
47582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4759
4760 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4761 New assembler macro.
4762 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4763 [ASSEMBLER] (ENTRY): ... but instead here ...
4764 [ASSEMBLER] (EALIGN): ... and here.
4765 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4766 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4767 [!ASSEMBLER] (ENTRY_2): Use it.
4768 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4769 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4771 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4772 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4774 Use PPC64_LOAD_FUNCPTR.
4775
b525166b
UW
47762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4777
4778 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4779
7ec07d9a
AM
47802013-12-04 Alan Modra <amodra@gmail.com>
4781
4782 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4783 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4784 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4785 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4786
4787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4788 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4789 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4790 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4791 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4792 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4793
5162e7dd
UW
47942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4795
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4797 (__makecontext): Fix incorrect CFI when backtracing out of
4798 context created via makecontext.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4800 (__setcontext): Fix incorrect CFI during switch to new context.
4801 (__novec_setcontext): Likewise.
4802
19e3372b
OB
48032013-12-04 Ondřej Bílka <neleai@seznam.cz>
4804
4805 [BZ #4772]
4806 * time/strptime_l.c (__strptime_internal): Allow modifiers
4807 in strptime.
4808 * time/tst-strptime.c (day_tests): Add testcase.
4809
4810
ecaf142d
SP
48112013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4812
4813 * scripts/bench.pl: Skip over blank lines.
4814
fbf964ae
PE
48152013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4816
4817 [BZ #926]
4818 * manual/time.texi (Calendar Time): Clarify what timezone functions
4819 use.
4820
fa60a674
AZ
48212013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4822
4823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4824
d674f0ef
OB
48252013-12-04 Ondřej Bílka <neleai@seznam.cz>
4826
4827 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4828 implementation.
4829 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4830 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4831 * debug/memset_chk.c (__memset_chk): Likewise.
4832 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4833 * debug/strncpy_chk.c: Likewise.
4834
17dea188
JM
48352013-12-03 Joseph Myers <joseph@codesourcery.com>
4836
749008ff
JM
4837 [BZ #15268]
4838 [BZ #15425]
4839 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4840 (__ieee754_exp): For possibly underflowing results, check size of
4841 result and force underflow exception if required.
4842 * math/auto-libm-test-in: Add more tests of exp.
4843 * math/auto-libm-test-out: Regenerated.
4844 * sysdeps/i386/fpu/libm-test-ulps: Update.
4845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4846
17dea188
JM
4847 [BZ #16283]
4848 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4849 * math/w_exp2f.c (__exp2f): Likewise.
4850 * math/w_exp2l.c (__exp2l): Likewise.
4851 * math/auto-libm-test-in: Do not allow missing errno on exp2
4852 underflow.
4853 * math/auto-libm-test-out: Regenerated.
4854
b20de2c3
OB
48552013-12-03 Ondřej Bílka <neleai@seznam.cz>
4856
4857 [BZ #16274]
4858 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4859 handle filename validation.
4860 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4861 (do_open): Delete.
4862
d8e2dbe3
JM
48632013-12-03 Joseph Myers <joseph@codesourcery.com>
4864
34e16df5
JM
4865 [BZ #6786]
4866 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4867 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4868 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4869 <float.h>.
4870 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4871 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4872 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4874 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4876 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4877 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4878 Add more erfc tests.
4879 * math/auto-libm-test-out: Regenerated.
4880 * sysdeps/i386/fpu/libm-test-ulps: Update.
4881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4882
d8e2dbe3
JM
4883 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4884 exp2, expm1, j0 and j1.
4885 * math/auto-libm-test-out: Regenerated.
4886 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4887 (erfc_test_data): Likewise.
4888 (exp_test_data): Likewise.
4889 (exp_tonearest_test_data): Likewise.
4890 (exp_towardzero_test_data): Likewise.
4891 (exp_downward_test_data): Likewise.
4892 (exp_upward_test_data): Likewise.
4893 (exp10_test_data): Likewise.
4894 (exp2_test_data): Likewise.
4895 (expm1_test_data): Likewise.
4896 (j0_test_data): Likewise.
4897 (j1_test_data): Likewise.
4898 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4899 (input_flag_type): Add flag_xfail_rounding.
4900 (input_flags): Add xfail-rounding.
4901 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4902 (output_for_one_input_case): Handle flag_xfail_rounding.
4903 * sysdeps/i386/fpu/libm-test-ulps: Update.
4904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905
18d14251
AJ
49062013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4907
3d2e6075 4908 [BZ #16289]
18d14251
AJ
4909 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4910 division by 0.
4911
520d437b
SP
49122013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4913
4914 [BZ #16195]
4915 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4916 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4917 (STAP_PROBE0): New macro.
4918 (STAP_PROBE1): Likewise.
4919 (STAP_PROBE2): Likewise.
4920 (STAP_PROBE3): Likewise.
4921 (STAP_PROBE4): Likewise.
4922
416e0145
OB
49232013-12-02 Ondřej Bílka <neleai@seznam.cz>
4924
4925 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4926
9d17796a
SE
49272013-12-02 Steve Ellcey <sellcey@mips.com>
4928
4929 * benchtests/Makefile (bench): Add sqrt.
4930 (LDLIBS-bench-sqrt): New.
4931 * benchtests/sqrt-input: New.
4932
f524d6a8
PS
49332013-12-02 Pavel Simerda <psimerda@redhat.com>
4934
639a0ef8
PS
4935 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4936 (GAIH_EAI): Likewise.
4937 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4938 (gaih_inet): Likewise.
4939 (getaddrinfo): Don't use GAIH_EAI.
4940
f524d6a8
PS
4941 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4942 (struct gaih): Remove definition.
4943
df3aedaf
SP
49442013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4945
4946 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4947 Use HERRNOP directly.
4948
1ab19dec
AZ
49492013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4950
b42ad38d 4951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4952
176b0c79
JM
49532013-11-30 Joseph Myers <joseph@codesourcery.com>
4954
4955 * math/gen-auto-libm-tests.c (test_functions): Add more
4956 single-argument functions.
4957 (special_fill_pi_2): New function.
4958 (special_fill_minus_pi_2): Likewise.
4959 (special_fill_pi_6): Likewise.
4960 (special_fill_minus_pi_6): Likewise.
4961 (special_fill_pi_3): Likewise.
4962 (special_fill_2pi_3): Likewise.
4963 (special_fill_e): Likewise.
4964 (special_fill_1_e): Likewise.
4965 (special_fill_e_minus_1): Likewise.
4966 (special_real_inputs): Add more special inputs.
4967 (output_for_one_input_case): Do not require ERANGE on underflow to
4968 zero if round-to-nearest result does not underflow to zero, unless
4969 exact results required.
4970 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4971 atan, atanh, cbrt, cos and cosh.
4972 * math/auto-libm-test-out: Regenerated.
4973 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4974 (acos_tonearest_test_data): Likewise.
4975 (acos_towardzero_test_data): Likewise.
4976 (acos_downward_test_data): Likewise.
4977 (acos_upward_test_data): Likewise.
4978 (acosh_test_data): Likewise.
4979 (asin_test_data): Likewise.
4980 (asin_tonearest_test_data): Likewise.
4981 (asin_towardzero_test_data): Likewise.
4982 (asin_upward_test_data): Likewise.
4983 (asinh_test_data): Likewise.
4984 (atan_test_data): Likewise.
4985 (atanh_test_data): Likewise.
4986 (cbrt_test_data): Likewise.
4987 (cos_test_data): Likewise.
4988 (cos_tonearest_test_data): Likewise.
4989 (cos_towardzero_test_data): Likewise.
4990 (cos_downward_test_data): Likewise.
4991 (cos_upward_test_data): Likewise.
4992 (cosh_test_data): Likewise.
4993 (cosh_tonearest_test_data): Likewise.
4994 (cosh_towardzero_test_data): Likewise.
4995 (cosh_downward_test_data): Likewise.
4996 (cosh_upward_test_data): Likewise.
4997 * sysdeps/i386/fpu/libm-test-ulps: Update.
4998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4999
ffb536d0
JM
50002013-11-29 Joseph Myers <joseph@codesourcery.com>
5001
2a77a467
JM
5002 [BZ #6787]
5003 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
5004 * math/w_exp10f.c (__exp10f): Likewise.
5005 * math/w_exp10l.c (__exp10l): Likewise.
5006 * math/libm-test.inc (exp10_test_data): Add more tests and expect
5007 errno settings in existing tests.
5008
ea3bc4e8
JM
5009 [BZ #14032]
5010 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
5011 precision control set to double precision.
5012 * sysdeps/i386/fpu/w_sqrt.c: New file.
5013 * math/auto-libm-test-in: Add more tests.
5014 * math/auto-libm-test-out: Update.
5015
0712c9d8
JM
5016 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
5017 (sqrt_test_tonearest): New function.
5018 (sqrt_towardzero_test_data): New variable.
5019 (sqrt_test_towardzero): New function.
5020 (sqrt_downward_test_data): New variable.
5021 (sqrt_test_downward): New function.
5022 (sqrt_upward_test_data): New variable.
5023 (sqrt_test_upward): New function.
5024 (main): Call the new functions.
5025
ffb536d0
JM
5026 * math/gen-auto-libm-tests.c: New file.
5027 * math/auto-libm-test-in: Likewise.
5028 * math/auto-libm-test-out: New generated file.
5029 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
5030 variables.
5031 (%beautify): Add generated representations of zero.
5032 (top level): Set $auto_input and call parse_auto_input.
5033 (beautify): Remove trailing "f" from hex float constants.
5034 (parse_args): Handle XFAIL_TEST.
5035 (convert_condition): New function.
5036 (or_value): Likewise.
5037 (or_cond_value): Likewise.
5038 (generate_testfile): Handle AUTO_TESTS_* lines.
5039 (parse_auto_input): New function.
5040 * math/libm-test.inc (XFAIL_TEST): New macro.
5041 (ERRNO_UNCHANGED): Update value.
5042 (ERRNO_EDOM): Likewise.
5043 (ERRNO_ERANGE): Likewise.
5044 (IGNORE_RESULT): Likewise.
5045 (TEST_COND_flt_32): New macro.
5046 (TEST_COND_dbl_64): Likewise.
5047 (TEST_COND_ldbl_96_intel): Likewise.
5048 (TEST_COND_ldbl_96_m68k): Likewise.
5049 (TEST_COND_ldbl_128): Likewise.
5050 (TEST_COND_ldbl_128ibm): Likewise.
5051 (TEST_COND_long32): Likewise.
5052 (TEST_COND_long64): Likewise.
5053 (TEST_COND_before_rounding): Likewise.
5054 (TEST_COND_after_rounding): Likewise.
5055 (enable_test): Handle XFAIL_TEST flag.
5056 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
5057 with finite results.
5058 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
5059 auto-libm-test-out.
5060
acd98a8e
AK
50612013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5062 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5063
5064 [BZ #16214]
5065 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
5066 __tls_get_addr_internal instead of __tls_get_offset in order to
5067 avoid GOT pointer dependency. Make rtld export
5068 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
5069 __tls_get_addr since we are a __tls_get_offset platform.
5070 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
5071 GOT pointer being set up before.
5072 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
5073
3c1c46a6
JM
50742013-11-28 Joseph Myers <joseph@codesourcery.com>
5075
7475aef5
JM
5076 * manual/math.texi (Errors in Math Functions): Document accuracy
5077 goals.
5078
8bca7cd8
JM
5079 [BZ #15004]
5080 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
5081 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5083 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5084 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5085 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5086 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5087 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5088 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5092 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5096
91a1f3fe
JM
5097 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
5098 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
5099 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
5100 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
5101 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
5102 Likewise.
5103 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
5104 Likewise.
5105 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
5106 Likewise.
5107 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
5108 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
5109 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
5110 atomic-feupdateenv and flt-rounds.
5111 * sysdeps/powerpc/nofpu/Versions (libc): Add
5112 __atomic_feholdexcept, __atomic_feclearexcept,
5113 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
5114 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
5115 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
5116 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
5117 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
5118 here.
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5120 Update.
5121
c5df7609
JM
5122 * manual/arith.texi (FP Exceptions): Document that exceptions may
5123 not be raised when matherr is used.
5124 (Math Error Reporting): Document overflow in directed rounding
5125 modes. Document that errno may not be set when finite values are
5126 returned on overflow. Document intent to set errno on underflow
5127 only for underflow to zero.
5128
3c1c46a6
JM
5129 [BZ #16271]
5130 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5131 round-to-nearest then adjust result for other rounding modes.
5132 * include/fenv.h (fegetround): Use libm_hidden_proto.
5133 * math/fegetround.c (fegetround): Use libm_hidden_def.
5134 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5135 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5136 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5138 Likewise.
5139 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5140 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5141 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5142 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5143
5a4c6d53
SP
51442013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5145
5146 [BZ #16077]
5147 * nss/Versions (libnss_files): Add
5148 _nss_files_gethostbyname3_r.
5149 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5150 New function.
5151 (HOST_DB_LOOKUP): Remove macro.
5152 (_nss_files_gethostbyname_r): Implement function without the
5153 HOST_DB_LOOKUP macro.
5154 (_nss_files_gethostbyname2_r): Likewise.
5155
897b98ba
OB
51562013-11-28 Ondřej Bílka <neleai@seznam.cz>
5157
5158 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5159
6f476861
UB
51602013-11-26 Uros Bizjak <ubizjak@gmail.com>
5161
5162 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5163 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5164 warning.
5165
bd12ab55
AZ
51662013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5167
5168 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5169 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5170 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5171 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5172 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5173 __fe_nomask_env_priv and attribute_hidden.
5174 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5175 (libc_feupdateenv_test_ppc): Likewise.
5176 (libc_feresetround_ppc): Likewise.
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5178 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5179 compat_symbol macro.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5181 (__fe_nomask_env): Likewise.
5182 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5183
52bb6543
OB
51842013-11-26 Ondřej Bílka <neleai@seznam.cz>
5185
5186 * string/Makefile: Remove ifunc tests.
5187 * string/test-string.h: Define TEST_IFUNC.
5188 * string/test-bcopy-ifunc.c: Remove.
5189 * string/test-bzero-ifunc.c: Likewise.
5190 * string/test-memccpy-ifunc.c: Likewise.
5191 * string/test-memchr-ifunc.c: Likewise.
5192 * string/test-memcmp-ifunc.c: Likewise.
5193 * string/test-memcpy-ifunc.c: Likewise.
5194 * string/test-memmem-ifunc.c: Likewise.
5195 * string/test-memmove-ifunc.c: Likewise.
5196 * string/test-mempcpy-ifunc.c: Likewise.
5197 * string/test-memrchr-ifunc.c: Likewise.
5198 * string/test-memset-ifunc.c: Likewise.
5199 * string/test-rawmemchr-ifunc.c: Likewise.
5200 * string/test-stpcpy-ifunc.c: Likewise.
5201 * string/test-stpncpy-ifunc.c: Likewise.
5202 * string/test-strcasecmp-ifunc.c: Likewise.
5203 * string/test-strcasestr-ifunc.c: Likewise.
5204 * string/test-strcat-ifunc.c: Likewise.
5205 * string/test-strchr-ifunc.c: Likewise.
5206 * string/test-strchrnul-ifunc.c: Likewise.
5207 * string/test-strcmp-ifunc.c: Likewise.
5208 * string/test-strcpy-ifunc.c: Likewise.
5209 * string/test-strcspn-ifunc.c: Likewise.
5210 * string/test-strlen-ifunc.c: Likewise.
5211 * string/test-strncasecmp-ifunc.c: Likewise.
5212 * string/test-strncat-ifunc.c: Likewise.
5213 * string/test-strncmp-ifunc.c: Likewise.
5214 * string/test-strncpy-ifunc.c: Likewise.
5215 * string/test-strnlen-ifunc.c: Likewise.
5216 * string/test-strpbrk-ifunc.c: Likewise.
5217 * string/test-strrchr-ifunc.c: Likewise.
5218 * string/test-strspn-ifunc.c: Likewise.
5219 * string/test-strstr-ifunc.c: Likewise.
5220
ab260039 52212013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
5222
5223 * benchtests/Makefile: Remove ifunc tests.
5224 * benchtests/bench-string.h: Define TEST_IFUNC.
5225 * benchtests/bench-bcopy-ifunc.c: Remove.
5226 * benchtests/bench-bzero-ifunc.c: Likewise.
5227 * benchtests/bench-memccpy-ifunc.c: Likewise.
5228 * benchtests/bench-memchr-ifunc.c: Likewise.
5229 * benchtests/bench-memcmp-ifunc.c: Likewise.
5230 * benchtests/bench-memcpy-ifunc.c: Likewise.
5231 * benchtests/bench-memmem-ifunc.c: Likewise.
5232 * benchtests/bench-memmove-ifunc.c: Likewise.
5233 * benchtests/bench-mempcpy-ifunc.c: Likewise.
5234 * benchtests/bench-memrchr-ifunc.c: Likewise.
5235 * benchtests/bench-memset-ifunc.c: Likewise.
5236 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5237 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5238 * benchtests/bench-stpcpy-ifunc.c: Likewise.
5239 * benchtests/bench-stpncpy-ifunc.c: Likewise.
5240 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5241 * benchtests/bench-strcasestr-ifunc.c: Likewise.
5242 * benchtests/bench-strcat-ifunc.c: Likewise.
5243 * benchtests/bench-strchr-ifunc.c: Likewise.
5244 * benchtests/bench-strchrnul-ifunc.c: Likewise.
5245 * benchtests/bench-strcmp-ifunc.c: Likewise.
5246 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5247 * benchtests/bench-strcpy-ifunc.c: Likewise.
5248 * benchtests/bench-strcspn-ifunc.c: Likewise.
5249 * benchtests/bench-strlen-ifunc.c: Likewise.
5250 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5251 * benchtests/bench-strncat-ifunc.c: Likewise.
5252 * benchtests/bench-strncmp-ifunc.c: Likewise.
5253 * benchtests/bench-strncpy-ifunc.c: Likewise.
5254 * benchtests/bench-strnlen-ifunc.c: Likewise.
5255 * benchtests/bench-strpbrk-ifunc.c: Likewise.
5256 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 5257 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
5258 * benchtests/bench-strspn-ifunc.c: Likewise.
5259 * benchtests/bench-strstr-ifunc.c: Likewise.
5260
52612013-11-26 Ondřej Bílka <neleai@seznam.cz>
5262
ab260039
OB
5263 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5264
d1d9eaf4 52652013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 5266
d1d9eaf4
OB
5267 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5268 * rt/aio.h: Likewise.
5269 * sysdeps/gnu/bits/utmp.h: Likewise.
5270 * sysdeps/gnu/bits/utmpx.h: Likewise.
5271 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5272 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5273 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5274 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5275 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5276 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5277 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5278 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5279 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5280 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5281 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5282 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5283 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5285 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5286 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5287 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5288 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5289 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5290 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5291 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5292 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5293 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5294 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5295 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5297 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5298 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5299 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5300 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5301 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5302 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5303 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5304 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5305 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5306 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5307 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5308 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5309 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5310 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5311 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5312 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5313
a7624ed9
CD
53142013-11-25 Carlos O'Donell <carlos@redhat.com>
5315
5316 [BZ #16245]
5317 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5318 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5319
63cfe52b
JM
53202013-11-25 Joseph Myers <joseph@codesourcery.com>
5321
5322 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5323 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5324 Likewise.
5325
41e8926a
AZ
53262013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5327
5328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5329 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5330 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5331 (__fesetround): Remove define.
5332 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5333 rounding and exceptions handling.
5334 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5335 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5336 (__fe_nomask_env): Likewise.
5337 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5338 __fegetround instead of fegetround.
5339 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5340 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5341
6851bd4d
RM
53422013-11-21 Roland McGrath <roland@hack.frob.com>
5343
070906ff
RM
5344 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5345 it's there.
5346
6851bd4d
RM
5347 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5348
84ae135d
MI
53492013-11-21 Meador Inge <meadori@codesourcery.com>
5350
5351 [BZ #11157]
5352 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5353 (encrypt_r): Likewise.
5354 * malloc/obstack.h (obstack_free): Likewise.
5355 * posix/unistd.h (encrypt): Likewise.
5356
daf75146
GM
53572013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5358
5359 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5360 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5361 DL_CALL_DT_FINI() that call the functions directly.
5362 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5363 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5364 * elf/dl-fini.c: Likewise.
5365
10ad46bc
OB
53662013-11-20 Ondřej Bílka <neleai@seznam.cz>
5367
5368 * malloc/hooks.c (memalign_check): Add alignment rounding.
5369 * malloc/malloc.c (_mid_memalign): New function.
5370 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5371 Implement by calling _mid_memalign.
5372 * manual/probes.texi (Memory Allocation Probes): Remove
5373 memory_valloc_retry and memory_pvalloc_retry.
5374
f3fd2628
SP
53752013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5376
4712799f
SP
5377 * locale/programs/locarchive.c (open_archive): Add const
5378 qualifier to ARCHIVEFNAME and copy default fname to
5379 DEFAULT_FNAME.
5380
0417b20f
SP
5381 [BZ #15601]
5382 * libio/tst-widetext.input: Rename Oriya to Odia.
5383 * locale/iso-639.def: Likewise.
5384
f3fd2628
SP
5385 * manual/probes.texi (Mathematical Function Probes): Add
5386 documentation for sin, cos, asin and acos probes.
5387 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5388 (__sin32): Add slowasin probe.
5389 (__cos32): Add slowacos probe.
5390 (__mpsin): Add slowsin probe.
5391 (__mpcos): Add slowcos probe.
5392
73c1ce4f
JM
53932013-11-19 Joseph Myers <joseph@codesourcery.com>
5394
5395 [BZ #15483]
5396 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5397 thread-local __sim_exceptions_thread and global
5398 __sim_exceptions_global.
5399 (__sim_disabled_exceptions): Change to thread-local
5400 __sim_disabled_exceptions_thread and global
5401 __sim_disabled_exceptions_global.
5402 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5403 and global __sim_round_mode_global.
5404 (__simulate_exceptions): Use thread-local floating-point state and
5405 set global state from it as needed.
5406 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5407 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5408 __sim_round_mode_thread.
5409 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5410 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5411 and global __sim_exceptions_global.
5412 (__sim_disabled_exceptions): Change to thread-local
5413 __sim_disabled_exceptions_thread and global
5414 __sim_disabled_exceptions_global.
5415 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5416 and global __sim_round_mode_global.
5417 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5418 (SIM_SET_GLOBAL): Likewise.
5419 * sysdeps/powerpc/soft-fp/sfp-machine.h
5420 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5421 __sim_round_mode_thread.
5422 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5423 __sim_disabled_exceptions_thread.
5424 (__sim_exceptions): Change to __sim_exceptions_thread.
5425 (__sim_disabled_exceptions): Change to
5426 __sim_disabled_exceptions_thread.
5427 (__sim_round_mode): Change to __sim_round_mode_thread.
5428 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5429 thread-local floating-point state and set global state from it as
5430 needed.
5431 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5432 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5433 (__sim_disabled_exceptions): Remove extern declaration.
5434 (feenableexcept): Use thread-local floating-point state and set
5435 global state from it as needed.
5436 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5437 extern declaration.
5438 (__sim_disabled_exceptions): Likewise.
5439 (__sim_round_mode): Likewise.
5440 (__fegetenv): Use thread-local floating-point state.
5441 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5442 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5443 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5444 floating-point state and set global state from it as needed.
5445 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5446 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5447 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5448 Likewise.
5449 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5450 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5451 Likewise.
5452 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5453 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5454 Use __sim_round_mode_thread.
5455 * math/test-fenv-tls.c: New file.
5456 * math/Makefile (tests): Add test-fenv-tls.
5457 ($(objpfx)test-fenv-tls): Depend on
5458 $(common-objpfx)nptl/libpthread.so.
5459
b5449b12
AS
54602013-11-19 Andreas Schwab <schwab@suse.de>
5461
5462 * locale/programs/locale.c (show_info): Decode wordarray elements.
5463 * locale/categories.def (LC_MONETARY): Add element for
5464 _NL_MONETARY_CRNCYSTR.
5465 * locale/C-monetary.c (conversion_rate): New variable.
5466 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5467 element.
5468
e186536b
CM
54692013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5470
5471 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5472 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5473
5c349950
PP
54742013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5475
5476 * elf/Makefile (tst-auxv): New test.
5477 * elf/tst-auxv.c: New
5478 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5479
699df45b
JM
54802013-11-18 Joseph Myers <joseph@codesourcery.com>
5481
5482 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5483 (hidden_proto): Caller changed.
5484 (hidden_tls_proto): New macro.
5485 (libc_hidden_tls_proto): Likewise.
5486 (rtld_hidden_tls_proto): Likewise.
5487 (libm_hidden_tls_proto): Likewise.
5488 (libresolv_hidden_tls_proto): Likewise.
5489 (librt_hidden_tls_proto): Likewise.
5490 (libdl_hidden_tls_proto): Likewise.
5491 (libnss_files_hidden_tls_proto): Likewise.
5492 (libnsl_hidden_tls_proto): Likewise.
5493 (libnss_nisplus_hidden_tls_proto): Likewise.
5494 (libutil_hidden_tls_proto): Likewise.
5495
b7589107
OB
54962013-11-18 Ondřej Bílka <neleai@seznam.cz>
5497
5498 [BZ #10253]
5499 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5500 (decompose_rpath): Defer expansion to fillin_rpath.
5501 (_dl_init_paths): Pass linkmap to fillin_rpath.
5502
250c23bd
RS
55032013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5504
5505 * benchtests/Makefile: Add strsep.
5506 * benchtests/bench-strsep.c: New file: strsep benchtest.
5507 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5508
a7931fcf
AS
55092013-11-18 Andreas Schwab <schwab@suse.de>
5510
5511 * locale/programs/locale.c (show_info) [case byte]: Check for
5512 '\377' instead of '\177'.
5513 * locale/C-monetary.c (not_available): Always use "\377".
5514 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5515 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5516 detect unavailable sign_posn locale elements.
5517 * locale/localeconv.c (__localeconv): For grouping and
5518 mon_grouping handle "\177" and "\377" like no grouping.
5519 (INT_ELEM): New macro. Use it to set all numeric members.
5520 * locale/programs/ld-monetary.c (monetary_read)
5521 <tok_mon_grouping>: Normalize single -1 to the empty string.
5522 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5523 Likewise.
5524
728dab0e
OB
55252013-11-07 Ondřej Bílka <neleai@seznam.cz>
5526
5527 [BZ #16055]
5528 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5529 when we match (nil).
5530 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5531
66294491
JM
55322013-11-16 Joseph Myers <joseph@codesourcery.com>
5533
ce665817
JM
5534 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5535 (NO_TEST_INLINE): Update value.
5536 (ERRNO_UNCHANGED): Likewise.
5537 (ERRNO_EDOM): Likewise.
5538 (ERRNO_ERANGE): Likewise.
5539 (IGNORE_RESULT): Likewise.
5540 (check_float_internal): Check signs of NaN results if
5541 TEST_NAN_SIGN used.
5542 (check_complex): Pass TEST_NAN_SIGN flag through to second
5543 check_float_internal call.
5544 (copysign_test_data): Add tests with quiet NaNs as second
5545 argument. Use TEST_NAN_SIGN.
5546 (fabs_test_data): Add test of negative quiet NaN argument. Use
5547 TEST_NAN_SIGN.
5548 (signbit_test_data): Add tests of quiet NaN argument.
5549 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5550
ee1466a9
JM
5551 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5552 $ignore_result.
5553 (parse_args): Handle function results specified as IGNORE.
5554 * math/libm-test.inc (IGNORE_RESULT): New macro.
5555 (check_float_internal): Do not check numerical result if flag
5556 IGNORE_RESULT set.
5557 (check_complex): Pass through IGNORE_RESULT to second
5558 check_float_internal call.
5559 (check_int): Do not check numerical result if flag IGNORE_RESULT
5560 set.
5561 (check_long): Likewise.
5562 (check_bool): Likewise.
5563 (check_longlong): Likewise.
5564 (lrint_test_data): Add tests of infinite and NaN arguments.
5565 (lrint_tonearest_test_data): Likewise.
5566 (lrint_towardzero_test_data): Likewise.
5567 (lrint_downward_test_data): Likewise.
5568 (lrint_upward_test_data): Likewise.
5569 (llrint_test_data): Likewise.
5570 (llrint_tonearest_test_data): Likewise.
5571 (llrint_towardzero_test_data): Likewise.
5572 (llrint_downward_test_data): Likewise.
5573 (llrint_upward_test_data): Likewise.
5574 (lround_test_data): Likewise.
5575 (llround_test_data): Likewise.
5576
14407b7e
JM
5577 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5578 (ERRNO_UNCHANGED): Update value.
5579 (ERRNO_EDOM): Likewise.
5580 (ERRNO_ERANGE): Likewise.
5581 (NO_TEST_INLINE_FLOAT): New macro.
5582 (NO_TEST_INLINE_DOUBLE): Likewise.
5583 (enable_test): New function.
5584 (RUN_TEST_f_f): Check enable_test before running test.
5585 (RUN_TEST_2_f): Likewise.
5586 (RUN_TEST_fff_f): Likewise.
5587 (RUN_TEST_c_f): Likewise.
5588 (RUN_TEST_f_f1): Likewise.
5589 (RUN_TEST_fF_f1): Likewise.
5590 (RUN_TEST_fI_f1): Likewise.
5591 (RUN_TEST_ffI_f1): Likewise.
5592 (RUN_TEST_c_c): Likewise.
5593 (RUN_TEST_cc_c): Likewise.
5594 (RUN_TEST_f_i): Likewise.
5595 (RUN_TEST_f_i_tg): Likewise.
5596 (RUN_TEST_ff_i_tg): Likewise.
5597 (RUN_TEST_f_b): Likewise.
5598 (RUN_TEST_f_b_tg): Likewise.
5599 (RUN_TEST_f_l): Likewise.
5600 (RUN_TEST_f_L): Likewise.
5601 (RUN_TEST_fFF_11): Likewise.
5602 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5603 conditionals.
5604 (cosh_test_data): Likewise.
5605 (exp_test_data): Likewise.
5606 (expm1_test_data): Likewise.
5607 (hypot_test_data): Likewise.
5608 (pow_test_data): Likewise.
5609 (sinh_test_data): Likewise.
5610 (tanh_test_data): Likewise.
5611 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5612 flags argument.
5613
ca07f197
JM
5614 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5615 tests with quiet NaN input and output.
5616 (acosh_test_data): Likewise.
5617 (asin_test_data): Likewise.
5618 (asinh_test_data): Likewise.
5619 (atan_test_data): Likewise.
5620 (atanh_test_data): Likewise.
5621 (atan2_test_data): Likewise.
5622 (cbrt_test_data): Likewise.
5623 (cos_test_data): Likewise.
5624 (cosh_test_data): Likewise.
5625 (erf_test_data): Likewise.
5626 (erfc_test_data): Likewise.
5627 (exp_test_data): Likewise.
5628 (exp10_test_data): Likewise.
5629 (exp2_test_data): Likewise.
5630 (expm1_test_data): Likewise.
5631 (hypot_test_data): Likewise.
5632 (j0_test_data): Likewise.
5633 (j1_test_data): Likewise.
5634 (jn_test_data): Likewise.
5635 (lgamma_test_data): Likewise.
5636 (log_test_data): Likewise.
5637 (log10_test_data): Likewise.
5638 (log1p_test_data): Likewise.
5639 (log2_test_data): Likewise.
5640 (pow_test_data): Likewise.
5641 (scalb_test_data): Likewise.
5642 (sin_test_data): Likewise.
5643 (sincos_test_data): Likewise.
5644 (sinh_test_data): Likewise.
5645 (tan_test_data): Likewise.
5646 (tanh_test_data): Likewise.
5647 (tgamma_test_data): Likewise.
5648 (y0_test_data): Likewise.
5649 (y1_test_data): Likewise.
5650 (yn_test_data): Likewise.
5651
66294491
JM
5652 [BZ #16167]
5653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5654 argument being NaN and avoid computations with second argument in
5655 that case.
5656 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5657 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5658 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5659
1820b143
CL
56602013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5661
5662 * locale/iso-639.def: Add Chitwani Tharu (the).
5663
714bd261
AS
56642013-11-14 Andreas Schwab <schwab@suse.de>
5665
5666 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5667 word instead of empty string.
5668
7ab44563
AZ
56692013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5670
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5672 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5674 (__fe_nomask_env): Likewise.
5675
e8470ea2
SE
56762013-11-13 Steve Ellcey <sellcey@mips.com>
5677
5678 * benchtests/bench-timing.h: Include time.h.
5679
17c1d9f0
L
56802013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5681
5682 [BZ #15997]
5683 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5684 to 3.4.0 for x32.
5685 * sysdeps/unix/sysv/linux/configure: Regenerated.
5686
9310c284
JM
56872013-11-13 Joseph Myers <joseph@codesourcery.com>
5688
5689 [BZ #16151]
5690 * stdlib/strtod_l.c (round_and_return): Do not consider
5691 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5692 exponent one less than half the least subnormal exponent.
5693 * stdlib/test-strtod-round-data: Add more tests.
5694 * stdlib/tst-strtod-round.c (tests): Regenerated.
5695
7a2ad8cf
AZ
56962013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5697
5698 [BZ #14143]
5699 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5700 (__fe_mask_env): Likewise.
5701 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5702 libm_hidden_proto and add function prototype.
5703 (__fe_mask_env): Add function prototype.
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5705 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5707 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5709 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5710
50727aa7
MS
57112013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5712
b2f386c1 5713 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5714 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5715
a615be46
MS
57162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5717
5718 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5719 of htab_find_slot().
5720
7ddace62
DM
57212013-11-11 David S. Miller <davem@davemloft.net>
5722
5723 [BZ #16150]
5724 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5725 symbol in the non-vis3 case in static builds.
5726 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5727 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5728 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5729 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5730
9182aa67
JK
57312013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5732
5733 [BZ #387]
5734 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5735 it is empty.
5736
450a2e2d
AZ
57372013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5738
b2f386c1
SP
5739 * benchtests/Makefile: Add bench-strtod.
5740 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5741
8ec3f656
AS
57422013-11-11 Andreas Schwab <schwab@suse.de>
5743
5744 [BZ #16153]
5745 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5746 terminating NUL in key length.
5747
76a9b998
AZ
57482013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5749
5750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5751 Add artificial ODP entry for vDSO symbol for PPC64.
5752 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5753 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5754
e4368156
OB
57552013-11-07 Ondřej Bílka <neleai@seznam.cz>
5756
5757 [BZ #15374]
5758 * nss/getent.c (services_keys): Recognize services starting with digit.
5759
8d6bb57c
DM
57602013-11-06 David S. Miller <davem@davemloft.net>
5761
5762 [BZ #15985]
5763 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5764 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5765
e256c421
WN
57662013-11-06 Will Newton <will.newton@linaro.org>
5767
5768 * manual/memory.texi (Malloc Examples): Remove register
5769 keyword from examples.
5770
f6e12daa 57712013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5772
f6e12daa 5773 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5774
9d880655
AS
57752013-11-04 Joseph Myers <joseph@codesourcery.com>
5776
fd2f9486 5777 [BZ #6981]
9d880655
AS
5778 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5779 depending on [__GCC_IEC_559 > 0].
5780 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5781 depending on [__GCC_IEC_559_COMPLEX > 0].
5782
ae129d3c
CL
57832013-11-03 Chris Leonard <cjl@sugarlabs.org>
5784
5785 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5786 to iso-639.def.
5787
4a15c2a4 57882013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5789
5790 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5791
8b35e35d
OB
57922013-11-01 Ondřej Bílka <neleai@seznam.cz>
5793
5794 [BZ #16112]
5795 * malloc/malloc (malloc_info): Do not handle first bin as
5796 special case.
5797
1d70fd6c
CL
57982013-11-01 Chris Leonard <cjl@sugarlabs.org>
5799
5800 * locale/iso-639.def: Add Central Nahuatl (nhn).
5801
8c5c2600
BH
58022013-11-01 Bruno Haible <bruno@clisp.org>
5803
5804 [BZ #7003]
5805 * manual/math.texi (BSD Random): Specify range upper bound as
5806 in POSIX.
5807
da5579c2
CL
58082013-10-31 Chris Leonard <cjl@sugarlabs.org>
5809
5810 * locale/iso-639.def: Add Meadow Mari (mhr).
5811
5d30d853
OB
58122013-10-31 Ondřej Bílka <neleai@seznam.cz>
5813
5814 [BZ #14752], [BZ #15763]
5815 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5816 Validate name.
5817 * rt/tst_shm.c: Add test for escaping directory.
5818
a4966c61
AS
58192013-10-31 Andreas Schwab <schwab@suse.de>
5820
8a43e768 5821 [BZ #15917]
a4966c61
AS
5822 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5823 followed by 'x' as part of digit sequence.
5824 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5825
28d708c4
MAP
58262013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5827
5828 [BZ #16037]
5829 * configure.ac: allow GNU Make 4.0 and greater.
5830 * configure: Regenerated.
5831
a56ee40b
WN
58322013-10-30 Will Newton <will.newton@linaro.org>
5833
5834 [BZ #16038]
5835 * malloc/hooks.c (memalign_check): Limit alignment to the
5836 maximum representable power of two.
5837 * malloc/malloc.c (__libc_memalign): Likewise.
5838 * malloc/tst-memalign.c (do_test): Add test for very
5839 large alignment values.
5840 * malloc/tst-posix_memalign.c (do_test): Likewise.
5841
c6e4925d
OB
58422013-10-30 Ondřej Bílka <neleai@seznam.cz>
5843
5844 [BZ #11087]
5845 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5846 (munmap_chunk): Likewise.
5847 (mremap_chunk): Likewise.
5848
58492013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5850
8a43e768 5851 [BZ #15799]
bbea82f7
OB
5852 * stdlib/div.c (div): Remove obsolete code.
5853 * stdlib/ldiv.c (ldiv): Likewise.
5854 * stdlib/lldiv.c (lldiv): Likewise.
5855
977f4b31
SP
58562013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5857
5858 [BZ #16071]
5859 * nss/nss_files/files-XXX.c (get_contents_ret): New
5860 enumerator.
5861 (get_contents): New function.
5862 (internal_getent): Use it. Expand size of LINEBUFLEN.
5863
cb8a6dbd
MF
58642013-10-30 Mike Frysinger <vapier@gentoo.org>
5865
5866 * configure.in: Moved to ...
5867 * configure.ac: ... here. Change reference to configure.in
5868 to configure.ac.
5869 * sysdeps/arm/preconfigure.ac: ... here.
5870 configure.in to configure.ac.
5871 * sysdeps/gnu/configure.in: Moved to ...
5872 * sysdeps/gnu/configure.ac: ... here.
5873 * sysdeps/i386/configure.in: Moved to ...
5874 * sysdeps/i386/configure.ac: ... here.
5875 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5876 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5877 * sysdeps/mach/configure.in: Moved to ...
5878 * sysdeps/mach/configure.ac: ... here.
5879 * sysdeps/mach/hurd/configure.in: Moved to ...
5880 * sysdeps/mach/hurd/configure.ac: ... here.
5881 * sysdeps/powerpc/configure.in: Moved to ...
5882 * sysdeps/powerpc/configure.ac: ... here.
5883 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5884 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5885 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5886 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5887 * sysdeps/s390/s390-32/configure.in: Moved to ...
5888 * sysdeps/s390/s390-32/configure.ac: ... here.
5889 * sysdeps/s390/s390-64/configure.in: Moved to ...
5890 * sysdeps/s390/s390-64/configure.ac: ... here.
5891 * sysdeps/sh/configure.in: Moved to ...
5892 * sysdeps/sh/configure.ac: ... here.
5893 * sysdeps/sparc/configure.in: Moved to ...
5894 * sysdeps/sparc/configure.ac: ... here.
5895 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5896 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5897 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5898 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5899 * sysdeps/x86_64/configure.in: Moved to ...
5900 * sysdeps/x86_64/configure.ac: ... here.
5901 * sysdeps/x86_64/preconfigure.in: Moved to ...
5902 * sysdeps/x86_64/preconfigure.ac: ... here.
5903 * aclocal.m4: Change reference to configure.in to configure.ac.
5904 * config.h.in: Likewise.
5905 * manual/install.texi: Likewise.
5906 * manual/maint.texi: Likewise.
5907 * Makefile: Likewise.
5908 * malloc/Makefile: Likewise.
5909 * nscd/Makefile: Likewise.
5910 * Makeconfig: Change reference to configure.in and
5911 preconfigure.in to configure.ac and preconfigure.ac
5912 respectively.
5913 * INSTALL: Regenerated.
5914 * configure: Likewise.
5915 * sysdeps/gnu/configure: Likewise.
5916 * sysdeps/i386/configure: Likewise.
5917 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5918 * sysdeps/mach/configure: Likewise.
5919 * sysdeps/mach/hurd/configure: Likewise.
5920 * sysdeps/powerpc/configure: Likewise.
5921 * sysdeps/powerpc/powerpc32/configure: Likewise.
5922 * sysdeps/powerpc/powerpc64/configure: Likewise.
5923 * sysdeps/s390/s390-32/configure: Likewise.
5924 * sysdeps/s390/s390-64/configure: Likewise.
5925 * sysdeps/sh/configure: Likewise.
5926 * sysdeps/sparc/configure: Likewise.
5927 * sysdeps/unix/sysv/linux/configure: Likewise.
5928 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5929 * sysdeps/x86_64/configure: Likewise.
5930 * sysdeps/x86_64/preconfigure: Likewise.
5931
36a4953a
AS
59322013-10-29 Andreas Schwab <schwab@suse.de>
5933
5934 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5935
c79a1204
SP
59362013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5937
dfa1b402
SP
5938 * benchtests/pow-inputs: Add new inputs.
5939
54f73d9c
SP
5940 * benchtests/exp-inputs: Add new inputs.
5941
c79a1204
SP
5942 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5943 conditional check for return value.
5944 (__cos32): Likewise.
5945
67beb545 59462013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5947
5948 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5949 to provide a boost for large inputs with word alignment.
5950 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5951 implementation based on optimized PPC64 strcpy.
5952 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5953 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5954 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5955 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5956
151659f6
OB
59572013-10-25 Ondřej Bílka <neleai@seznam.cz>
5958
482a077e 5959 [BZ #2801]
151659f6
OB
5960 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5961
10b0f26b
OB
59622013-10-25 Ondřej Bílka <neleai@seznam.cz>
5963
5964 [BZ #14876]
5965 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5966 * time/tst-strptime.c (day_tests): Add testcase.
5967
ca42d35e
OB
59682013-10-25 Ondřej Bílka <neleai@seznam.cz>
5969
482a077e 5970 [BZ #14029]
ca42d35e
OB
5971 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5972
52e6d801
FB
59732013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5974
5975 [BZ #16074]
5976 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5977 MAP_FAILED on error.
5978
7cbcdb36
SP
59792013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5980
5981 [BZ #16072]
5982 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5983 heap for large requests.
5984
894f3f10
AM
59852013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5986
5987 [BZ #9954]
5988 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5989 result if the result has no associated interface.
5990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5991 interface for all 127.X.Y.Z addresses.
5992
b85545a6
CL
59932013-10-24 Chris Leonard <cjl@sugarlabs.org>
5994
5995 * locale/iso-639.def: Add Ligurian (lij)
5996
d1f23d46
OB
59972013-10-21 Ondřej Bílka <neleai@seznam.cz>
5998
5999 [BZ #15825]
6000 * sunrpc/rpc_main.c: Document rpcgen -5.
6001
4db5b08f
MS
60022013-10-19 Michael Stahl <mstahl@redhat.com>
6003
6004 * elf/rtld.c (do_preload): Print the reason why preloading failed.
6005
a471e96a
OB
60062013-10-19 Ondřej Bílka <neleai@seznam.cz>
6007
d1f23d46 6008 [BZ #10278]
a471e96a
OB
6009 * posix/glob.c: Match only directories when trailing slash is present.
6010 * posix/tst-gnuglob.c (my_opendir): Do not open files.
6011 (main): Add testcase.
6012
45c30c61
OB
60132013-10-19 Ondřej Bílka <neleai@seznam.cz>
6014
6015 [BZ #15670]
6016 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
6017
484c12fb
CD
60182013-10-18 Carlos O'Donell <carlos@redhat.com>
6019
3d7dc513
CD
6020 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
6021 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
6022 AUTH_DES and cindex for FIPS 140-2.
6023 (DES Encryption): Add cindex FIPS 46-3.
6024
484c12fb
CD
6025 * locale/locarchive.h (struct locarhandle): Add fname.
6026 * locale/programs/localedef.c (main): Pass ARGV[remaining]
6027 if an optional argument was specified to --list-archive,
6028 otherwise NULL.
6029 * locale/programs/locarchive.c (show_archive_content): Take new
6030 argument fname and pass it via ah.fname to open_archive.
6031 * locale/programs/localedef.h: Update decl.
6032 (open_archive): If AH->fname is non-null, open that file
6033 rather than the default file name, and don't ignore ENOENT.
6034 (create_archive): Set AH.fname to NULL.
6035 (delete_locales_from_archive): Likewise.
6036 (add_locales_to_archive): Likewise.
6037 * locale/programs/locfile.c (write_all_categories): Likewise.
6038
3c8325fb
JM
60392013-10-18 Joseph Myers <joseph@codesourcery.com>
6040 Aldy Hernandez <aldyh@redhat.com>
6041
6042 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
6043 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
6044 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
6045 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
6046 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
6047 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
6048 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
6049 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
6050 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
6051 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
6052 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
6053 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
6054 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
6055 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
6056 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
6057 Likewise.
6058 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
6059 Likewise.
6060 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
6061 Likewise.
6062 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
6063 Likewise.
6064 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
6065 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
6066 Likewise.
6067 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
6068 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
6069 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
6070 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
6071 Likewise.
6072 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
6073 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
6074 * sysdeps/powerpc/preconfigure: Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
6076 Likewise.
6077 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
6078 Replace contents of file by #include of <fenv_libc.h>.
6079 * sysdeps/powerpc/soft-fp/sfp-machine.h
6080 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
6081 and <sys/prctl.h>.
6082 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
6083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
6084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
6085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
6086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
6087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
6088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
6089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
6090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
6091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
6092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
6093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
6094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6095 Allow copysignl PLT reference to be missing.
6096
5abe0682
RS
60972013-10-18 Richard Sandiford <richard@codesourcery.com>
6098 Joseph Myers <joseph@codesourcery.com
6099
6100 [BZ #15948]
6101 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
6102 single character.
6103 (add_to_tablewc): Assert sequence of wide characters is nonempty.
6104
c7738d08
SP
61052013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6106
6107 * elf/tst-tls-dlinfo.c: Don't include tls.h.
6108 * elf/tst-tls1.c: Likewise.
6109 * elf/tst-tls10.h: Likewise.
6110 * elf/tst-tls14.c: Likewise.
6111 * elf/tst-tls2.c: Likewise.
6112 * elf/tst-tls3.c: Likewise.
6113 * elf/tst-tls4.c: Likewise.
6114 * elf/tst-tls5.c: Likewise.
6115 * elf/tst-tls6.c: Likewise.
6116 * elf/tst-tls7.c: Likewise.
6117 * elf/tst-tls8.c: Likewise.
6118 * elf/tst-tls9.c: Likewise.
6119 * elf/tst-tlsmod1.c: Likewise.
6120 * elf/tst-tlsmod13.c: Likewise.
6121 * elf/tst-tlsmod13a.c: Likewise.
6122 * elf/tst-tlsmod14a.c: Likewise.
6123 * elf/tst-tlsmod16a.c: Likewise.
6124 * elf/tst-tlsmod16b.c: Likewise.
6125 * elf/tst-tlsmod2.c: Likewise.
6126 * elf/tst-tlsmod3.c: Likewise.
6127 * elf/tst-tlsmod4.c: Likewise.
6128 * elf/tst-tlsmod5.c: Likewise.
6129 * elf/tst-tlsmod6.c: Likewise.
6130
0bfcf2c7
OB
61312013-10-18 Ondřej Bílka <neleai@seznam.cz>
6132
6133 [BZ #12486]
6134 * malloc/malloc.c: remove checks for statistics.
6135
264aad1e
OB
61362013-10-17 Ondřej Bílka <neleai@seznam.cz>
6137
6138 [BZ #15277]
6139 * inet/inet_net.c (inet_network): Detect additional invalid strings.
6140 * inet/tst-network.c: Add testcase.
6141
b957ced8
AS
61422013-10-17 Andreas Schwab <schwab@suse.de>
6143
6144 [BZ #15218]
6145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6146 to determine canonical name.
6147
c5d5d574
OB
61482013-10-17 Ondřej Bílka <neleai@seznam.cz>
6149
6150 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6151 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6158 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6159 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6160 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6161 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6174 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6175 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6180 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6202 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6206 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6208
e5c2c2d0
JM
62092013-10-17 Joseph Myers <joseph@codesourcery.com>
6210
6211 [BZ #16041]
6212 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6213 make result into a quiet NaN.
6214
51ca9e29
JM
62152013-10-16 Joseph Myers <joseph@codesourcery.com>
6216
6217 * soft-fp/adddf3.c: Fix horizontal whitespace.
6218 * soft-fp/addsf3.c: Likewise.
6219 * soft-fp/addtf3.c: Likewise.
6220 * soft-fp/divdf3.c: Likewise.
6221 * soft-fp/divsf3.c: Likewise.
6222 * soft-fp/divtf3.c: Likewise.
6223 * soft-fp/double.h: Likewise.
6224 * soft-fp/eqdf2.c: Likewise.
6225 * soft-fp/eqsf2.c: Likewise.
6226 * soft-fp/eqtf2.c: Likewise.
6227 * soft-fp/extenddftf2.c: Likewise.
6228 * soft-fp/extended.h: Likewise.
6229 * soft-fp/extendsfdf2.c: Likewise.
6230 * soft-fp/extendsftf2.c: Likewise.
6231 * soft-fp/extendxftf2.c: Likewise.
6232 * soft-fp/fixdfdi.c: Likewise.
6233 * soft-fp/fixdfsi.c: Likewise.
6234 * soft-fp/fixdfti.c: Likewise.
6235 * soft-fp/fixsfdi.c: Likewise.
6236 * soft-fp/fixsfsi.c: Likewise.
6237 * soft-fp/fixsfti.c: Likewise.
6238 * soft-fp/fixtfdi.c: Likewise.
6239 * soft-fp/fixtfsi.c: Likewise.
6240 * soft-fp/fixtfti.c: Likewise.
6241 * soft-fp/fixunsdfdi.c: Likewise.
6242 * soft-fp/fixunsdfsi.c: Likewise.
6243 * soft-fp/fixunsdfti.c: Likewise.
6244 * soft-fp/fixunssfdi.c: Likewise.
6245 * soft-fp/fixunssfsi.c: Likewise.
6246 * soft-fp/fixunssfti.c: Likewise.
6247 * soft-fp/fixunstfdi.c: Likewise.
6248 * soft-fp/fixunstfsi.c: Likewise.
6249 * soft-fp/fixunstfti.c: Likewise.
6250 * soft-fp/floatdidf.c: Likewise.
6251 * soft-fp/floatdisf.c: Likewise.
6252 * soft-fp/floatditf.c: Likewise.
6253 * soft-fp/floatsidf.c: Likewise.
6254 * soft-fp/floatsisf.c: Likewise.
6255 * soft-fp/floatsitf.c: Likewise.
6256 * soft-fp/floattidf.c: Likewise.
6257 * soft-fp/floattisf.c: Likewise.
6258 * soft-fp/floattitf.c: Likewise.
6259 * soft-fp/floatundidf.c: Likewise.
6260 * soft-fp/floatundisf.c: Likewise.
6261 * soft-fp/floatunditf.c: Likewise.
6262 * soft-fp/floatunsidf.c: Likewise.
6263 * soft-fp/floatunsisf.c: Likewise.
6264 * soft-fp/floatunsitf.c: Likewise.
6265 * soft-fp/floatuntidf.c: Likewise.
6266 * soft-fp/floatuntisf.c: Likewise.
6267 * soft-fp/floatuntitf.c: Likewise.
6268 * soft-fp/fmadf4.c: Likewise.
6269 * soft-fp/fmasf4.c: Likewise.
6270 * soft-fp/fmatf4.c: Likewise.
6271 * soft-fp/gedf2.c: Likewise.
6272 * soft-fp/gesf2.c: Likewise.
6273 * soft-fp/getf2.c: Likewise.
6274 * soft-fp/ledf2.c: Likewise.
6275 * soft-fp/lesf2.c: Likewise.
6276 * soft-fp/letf2.c: Likewise.
6277 * soft-fp/muldf3.c: Likewise.
6278 * soft-fp/mulsf3.c: Likewise.
6279 * soft-fp/multf3.c: Likewise.
6280 * soft-fp/negdf2.c: Likewise.
6281 * soft-fp/negsf2.c: Likewise.
6282 * soft-fp/negtf2.c: Likewise.
6283 * soft-fp/op-1.h: Likewise.
6284 * soft-fp/op-2.h: Likewise.
6285 * soft-fp/op-4.h: Likewise.
6286 * soft-fp/op-8.h: Likewise.
6287 * soft-fp/op-common.h: Likewise.
6288 * soft-fp/quad.h: Likewise.
6289 * soft-fp/single.h: Likewise.
6290 * soft-fp/soft-fp.h: Likewise.
6291 * soft-fp/sqrtdf2.c: Likewise.
6292 * soft-fp/sqrtsf2.c: Likewise.
6293 * soft-fp/sqrttf2.c: Likewise.
6294 * soft-fp/subdf3.c: Likewise.
6295 * soft-fp/subsf3.c: Likewise.
6296 * soft-fp/subtf3.c: Likewise.
6297 * soft-fp/truncdfsf2.c: Likewise.
6298 * soft-fp/trunctfdf2.c: Likewise.
6299 * soft-fp/trunctfsf2.c: Likewise.
6300 * soft-fp/trunctfxf2.c: Likewise.
6301 * soft-fp/unorddf2.c: Likewise.
6302 * soft-fp/unordsf2.c: Likewise.
6303 * soft-fp/unordtf2.c: Likewise.
6304
9ebb0332
JM
63052013-10-15 Joseph Myers <joseph@codesourcery.com>
6306
6307 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6308 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6309
4b1a6d8b
OB
63102013-10-15 Ondřej Bílka <neleai@seznam.cz>
6311
6312 * elf/dl-libc.c: Clear initfini list after freeing.
6313
1e145589
JM
63142013-10-14 Joseph Myers <joseph@codesourcery.com>
6315
6316 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6317 * soft-fp/addsf3.c: Likewise.
6318 * soft-fp/addtf3.c: Likewise.
6319 * soft-fp/divdf3.c: Likewise.
6320 * soft-fp/divsf3.c: Likewise.
6321 * soft-fp/divtf3.c: Likewise.
6322 * soft-fp/double.h: Likewise.
6323 * soft-fp/eqdf2.c: Likewise.
6324 * soft-fp/eqsf2.c: Likewise.
6325 * soft-fp/eqtf2.c: Likewise.
6326 * soft-fp/extenddftf2.c: Likewise.
6327 * soft-fp/extended.h: Likewise.
6328 * soft-fp/extendsfdf2.c: Likewise.
6329 * soft-fp/extendsftf2.c: Likewise.
6330 * soft-fp/extendxftf2.c: Likewise.
6331 * soft-fp/fixdfdi.c: Likewise.
6332 * soft-fp/fixdfsi.c: Likewise.
6333 * soft-fp/fixdfti.c: Likewise.
6334 * soft-fp/fixsfdi.c: Likewise.
6335 * soft-fp/fixsfsi.c: Likewise.
6336 * soft-fp/fixsfti.c: Likewise.
6337 * soft-fp/fixtfdi.c: Likewise.
6338 * soft-fp/fixtfsi.c: Likewise.
6339 * soft-fp/fixtfti.c: Likewise.
6340 * soft-fp/fixunsdfdi.c: Likewise.
6341 * soft-fp/fixunsdfsi.c: Likewise.
6342 * soft-fp/fixunsdfti.c: Likewise.
6343 * soft-fp/fixunssfdi.c: Likewise.
6344 * soft-fp/fixunssfsi.c: Likewise.
6345 * soft-fp/fixunssfti.c: Likewise.
6346 * soft-fp/fixunstfdi.c: Likewise.
6347 * soft-fp/fixunstfsi.c: Likewise.
6348 * soft-fp/fixunstfti.c: Likewise.
6349 * soft-fp/floatdidf.c: Likewise.
6350 * soft-fp/floatdisf.c: Likewise.
6351 * soft-fp/floatditf.c: Likewise.
6352 * soft-fp/floatsidf.c: Likewise.
6353 * soft-fp/floatsisf.c: Likewise.
6354 * soft-fp/floatsitf.c: Likewise.
6355 * soft-fp/floattidf.c: Likewise.
6356 * soft-fp/floattisf.c: Likewise.
6357 * soft-fp/floattitf.c: Likewise.
6358 * soft-fp/floatundidf.c: Likewise.
6359 * soft-fp/floatundisf.c: Likewise.
6360 * soft-fp/floatunsidf.c: Likewise.
6361 * soft-fp/floatunsisf.c: Likewise.
6362 * soft-fp/floatuntidf.c: Likewise.
6363 * soft-fp/floatuntisf.c: Likewise.
6364 * soft-fp/floatuntitf.c: Likewise.
6365 * soft-fp/fmadf4.c: Likewise.
6366 * soft-fp/fmasf4.c: Likewise.
6367 * soft-fp/fmatf4.c: Likewise.
6368 * soft-fp/gedf2.c: Likewise.
6369 * soft-fp/gesf2.c: Likewise.
6370 * soft-fp/getf2.c: Likewise.
6371 * soft-fp/ledf2.c: Likewise.
6372 * soft-fp/lesf2.c: Likewise.
6373 * soft-fp/letf2.c: Likewise.
6374 * soft-fp/muldf3.c: Likewise.
6375 * soft-fp/mulsf3.c: Likewise.
6376 * soft-fp/multf3.c: Likewise.
6377 * soft-fp/negdf2.c: Likewise.
6378 * soft-fp/negsf2.c: Likewise.
6379 * soft-fp/negtf2.c: Likewise.
6380 * soft-fp/op-1.h: Likewise.
6381 * soft-fp/op-2.h: Likewise.
6382 * soft-fp/op-4.h: Likewise.
6383 * soft-fp/op-8.h: Likewise.
6384 * soft-fp/op-common.h: Likewise.
6385 * soft-fp/quad.h: Likewise.
6386 * soft-fp/single.h: Likewise.
6387 * soft-fp/soft-fp.h: Likewise.
6388 * soft-fp/sqrtdf2.c: Likewise.
6389 * soft-fp/sqrtsf2.c: Likewise.
6390 * soft-fp/sqrttf2.c: Likewise.
6391 * soft-fp/subdf3.c: Likewise.
6392 * soft-fp/subsf3.c: Likewise.
6393 * soft-fp/subtf3.c: Likewise.
6394 * soft-fp/truncdfsf2.c: Likewise.
6395 * soft-fp/trunctfdf2.c: Likewise.
6396 * soft-fp/trunctfsf2.c: Likewise.
6397 * soft-fp/trunctfxf2.c: Likewise.
6398 * soft-fp/unorddf2.c: Likewise.
6399 * soft-fp/unordsf2.c: Likewise.
6400 * soft-fp/unordtf2.c: Likewise.
6401
17c48a60
OB
64022013-10-14 Ondřej Bílka <neleai@seznam.cz>
6403
6404 [BZ #15672]
6405 * misc/error.c (error_tail): Fix possible buffer overflow.
6406
cabba934
OB
64072013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6408
6409 [BZ #13028]
6410 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6411 address.
6412
94bf958a
PM
64132013-10-14 P. J. McDermott <pj@pehjota.net>
6414
6415 [BZ #832]
6416 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6417 testing pipefail option.
6418
71b4dea7
JM
64192013-10-12 Joseph Myers <joseph@codesourcery.com>
6420
6421 * soft-fp/double.h: Indent preprocessor directives inside #if.
6422 * soft-fp/extended.h: Likewise.
6423 * soft-fp/op-2.h: Likewise.
6424 * soft-fp/op-4.h: Likewise.
6425 * soft-fp/op-common.h: Likewise.
6426 * soft-fp/quad.h: Likewise.
6427 * soft-fp/single.h: Likewise.
6428 * soft-fp/soft-fp.h: Likewise.
6429
55602758
YC
64302013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6431
6432 * iconv/iconv_prog.c: Fix typos.
6433 * stdio-common/psiginfo-data.h: Likewise.
6434
9cd83302
RT
64352013-10-12 Reuben Thomas <rrt@sc3d.org>
6436
6437 [BZ #15764]
6438 * locale/setlocale.c: Fix typo.
6439
99fd9f47
JM
64402013-10-12 Joseph Myers <joseph@codesourcery.com>
6441
b7ea74f0
JM
6442 [BZ #16036]
6443 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6444 signaling NaN arguments.
6445 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6446 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6447
8a509447
JM
6448 [BZ #14910]
6449 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6450 unordered operands.
6451 * soft-fp/gesf2.c (__gesf2): Likewise.
6452 * soft-fp/getf2.c (__getf2): Likewise.
6453 * soft-fp/ledf2.c (__ledf2): Likewise.
6454 * soft-fp/lesf2.c (__lesf2): Likewise.
6455 * soft-fp/letf2.c (__letf2): Likewise.
6456
98998e9f
JM
6457 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6458 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6459 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6460 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6461 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6462 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6463 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6464 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6465 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6466 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6467 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6468 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6469 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6470 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6471 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6472 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6473 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6474 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6475 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6476 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6477 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6478 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6479 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6480 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6481 * soft-fp/floattidf.c (__floattidf): Likewise.
6482 * soft-fp/floattisf.c (__floattisf): Likewise.
6483 * soft-fp/floattitf.c (__floattitf): Likewise.
6484 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6485 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6486 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6487 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6488 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6489 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6490 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6491 * soft-fp/gesf2.c (__gesf2): Likewise.
6492 * soft-fp/getf2.c (__getf2): Likewise.
6493 * soft-fp/ledf2.c (__ledf2): Likewise.
6494 * soft-fp/lesf2.c (__lesf2): Likewise.
6495 * soft-fp/letf2.c (__letf2): Likewise.
6496
8edc4a11
JM
6497 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6498 Undefine and redefine.
6499 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6500 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6501 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6502 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6503 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6504 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6505 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6506 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6507 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6508 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6509 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6510 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6511 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6512 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6513 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6514
8399acaf
JM
6515 [BZ #16032]
6516 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6517 without decrementing exponent if mantissa >= that for the
6518 denominator, not >.
6519 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6520 denominator, not >. Decrement exponent in < case instead of
6521 incrementing in >= case.
6522 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6523 without decrementing exponent if mantissa >= that for the
6524 denominator, not >.
6525
99fd9f47
JM
6526 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6527 computing saturated result for unsigned overflow.
6528
10e1cf6b
SP
65292013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6530 Jeff Law <law@redhat.com>
6531
6532 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6533 (atan2Mp): Add systemtap probe marker.
6534 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6535 (__ieee754_log): Add systemtap probe marker.
6536 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6537 (atanMp): Add systemtap probe marker.
6538 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6539 (tanMp): Add systemtap probe marker.
6540 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6541 (__slowexp): Add systemtap probe marker.
6542 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6543 (__slowpow): Add systemtap probe marker.
6544 * manual/probes.texi: Document probes.
6545
3d110c7c
EB
65462013-10-11 Eric Biggers <ebiggers3@gmail.com>
6547
6548 [BZ #15362]
6549 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6550 written.
6551 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6552 written.
6553 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6554 written to buffer but not flushed.
6555 * libio/iofwrite_u.c: Likewise.
6556 * libio/iopadn.c: Return bytes returned even if EOF was
6557 encountered.
6558 * libio/iowpadn.c: Likewise.
6559 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6560 if _IO_padn does not write the whole buffer.
6561 [!COMPILE_WPRINTF] (PAD): Likewise.
6562
75b4202a
DM
65632013-10-10 David S. Miller <davem@davemloft.net>
6564
6565 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6566 directory block.
6567
6c6352e6
JM
65682013-10-10 Joseph Myers <joseph@codesourcery.com>
6569
33b853c3
JM
6570 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6571 instead of FSF address.
6572 * soft-fp/fixdfti.c: Likewise.
6573 * soft-fp/fixsfti.c: Likewise.
6574 * soft-fp/fixtfti.c: Likewise.
6575 * soft-fp/fixunsdfti.c: Likewise.
6576 * soft-fp/fixunssfti.c: Likewise.
6577 * soft-fp/fixunstfti.c: Likewise.
6578 * soft-fp/floattidf.c: Likewise.
6579 * soft-fp/floattisf.c: Likewise.
6580 * soft-fp/floattitf.c: Likewise.
6581 * soft-fp/floatuntidf.c: Likewise.
6582 * soft-fp/floatuntisf.c: Likewise.
6583 * soft-fp/floatuntitf.c: Likewise.
6584 * soft-fp/trunctfxf2.c: Likewise.
6585
6c6352e6
JM
6586 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6587 * soft-fp/fixdfti.c: Likewise.
6588 * soft-fp/fixsfti.c: Likewise.
6589 * soft-fp/fixtfti.c: Likewise.
6590 * soft-fp/fixunsdfti.c: Likewise.
6591 * soft-fp/fixunssfti.c: Likewise.
6592 * soft-fp/fixunstfti.c: Likewise.
6593 * soft-fp/floattidf.c: Likewise.
6594 * soft-fp/floattisf.c: Likewise.
6595 * soft-fp/floattitf.c: Likewise.
6596 * soft-fp/floatuntidf.c: Likewise.
6597 * soft-fp/floatuntisf.c: Likewise.
6598 * soft-fp/floatuntitf.c: Likewise.
6599 * soft-fp/trunctfxf2.c: Likewise.
6600
3bf78b71
DM
66012013-10-10 David S. Miller <davem@davemloft.net>
6602
6603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6604
6f10289e
JM
66052013-10-10 Joseph Myers <joseph@codsourcery.com>
6606
bd878fc0
JM
6607 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6608 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6609 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6610 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6611 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6612 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6613 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6614
6f10289e
JM
6615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6616 for NaNs before doing comparisons on argument.
6617 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6618 Likewise.
6619
321e2684
WN
66202013-10-10 Will Newton <will.newton@linaro.org>
6621
6622 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6623 passed to _int_memalign does not overflow.
6624
40fefba1
TR
66252013-10-10 Torvald Riegel <triegel@redhat.com>
6626
6627 * scripts/bench.pl: Add include-sources directive.
6628 * benchtests/README: Update documentation.
6629
2ae21ed2
JM
66302013-10-10 Joseph Myers <joseph@codesourcery.com>
6631
dcc2dd3f
JM
6632 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6633 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6634 instead of FP_INIT_ROUNDMODE.
6635 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6636 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6637
2ae21ed2
JM
6638 [BZ #16034]
6639 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6640 copy class of input value.
6641 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6642 not handle exceptions.
6643 * soft-fp/negsf2.c (__negsf2): Likewise.
6644 * soft-fp/negtf2.c (__negtf2): Likewise.
6645 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6646
cb8f9562
JM
66472013-10-09 Joseph Myers <joseph@codesourcery.com>
6648
6649 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6650 semicolon. From Linux kernel.
6651
5b60c59d
AB
66522013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6653
6654 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6655
b86835ca
YC
66562013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6657
6658 [BZ #156]
6659 * manual/socket.texi: Added statement about buffer
6660 for gethostbyname2_r.
6661
e7044ea7
OB
66622013-10-08 Ondřej Bílka <neleai@seznam.cz>
6663
6664 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6665 Use .p2align directive instead, throughout.
6666 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6667 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6668 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6670 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6671 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6672 * sysdeps/x86_64/strchr.S: Likewise.
6673 * sysdeps/x86_64/strrchr.S: Likewise.
6674
09544cbc
SP
66752013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6676
88576635
SP
6677 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6678
e7b2d1dd
SP
6679 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6680
09544cbc
SP
6681 * sysdeps/generic/math_private.h (__mpsin1): Remove
6682 declaration.
6683 (__mpcos1): Likewise.
6684 (__mpsin): New argument __range_reduce.
6685 (__mpcos): Likewise.
6686 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6687 (slow): Use __mpsin and __mpcos.
6688 (slow1): Likewise.
6689 (slow2): Likewise.
6690 (sloww): Likewise.
6691 (sloww1): Likewise.
6692 (sloww2): Likewise.
6693 (bsloww): Likewise.
6694 (bsloww1): Likewise.
6695 (bsloww2): Likewise.
6696 (cslow2): Likewise.
6697 (csloww): Likewise.
6698 (csloww1): Likewise.
6699 (csloww2): Likewise.
6700 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6701 range_reduce. Merge in __mpsin1.
6702 (__mpcos): Likewise.
6703 (__mpsin1): Remove.
6704 (__mpcos1): Likewise.
6705
7602d070
JM
67062013-10-07 Joseph Myers <joseph@codesourcery.com>
6707
6708 * locale/loadlocale.c (_nl_intern_locale_data): Use
6709 LOCFILE_ALIGNED_P.
6710 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6711 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6712 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6713 obstack data is appropriately aligned.
6714 (obstack_int32_grow_fast): Likewise.
6715 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6716 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6717 (add_locale_uint32_array): Likewise.
6718
a357259b
SP
67192013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6720
6721 * benchtests/Makefile: Remove ARGLIST and RET variables.
6722 ($(objpfx)bench-%.c): Pass only function name to the script.
6723 * benchtests/README: Update documentation.
6724 * benchtests/acos-inputs: Add new directives.
6725 * benchtests/acosh-inputs: Likewise.
6726 * benchtests/asin-inputs: Likewise.
6727 * benchtests/asinh-inputs: Likewise.
6728 * benchtests/atan-inputs: Likewise.
6729 * benchtests/atanh-inputs: Likewise.
6730 * benchtests/cos-inputs: Likewise.
6731 * benchtests/cosh-inputs: Likewise.
6732 * benchtests/exp-inputs: Likewise.
6733 * benchtests/log-inputs: Likewise.
6734 * benchtests/pow-inputs: Likewise.
6735 * benchtests/rint-inputs: Likewise.
6736 * benchtests/sin-inputs: Likewise.
6737 * benchtests/sinh-inputs: Likewise.
6738 * benchtests/tan-inputs: Likewise.
6739 * benchtests/tanh-inputs: Likewise.
6740 * scripts/bench.pl: Add support for new directives.
6741
9ec1b13d
AM
67422013-10-07 Alan Modra <amodra@gmail.com>
6743
6744 * README: Fix careless merge.
6745
8b7d57cd
AM
67462013-10-05 Alan Modra <amodra@gmail.com>
6747
6748 * NEWS: Mention powerpc64le support and bugs fixed.
6749 * README: Both big-endian and little-endian powerpc64 supported.
6750
7b7bab13
ST
67512013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6752
6753 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6754 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6755 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6756 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6757
d39baad1
RA
67582013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6759
6760 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6761 match prototype.
6762
cd78f7e7
JM
67632013-10-04 Joseph Myers <joseph@codesourcery.com>
6764
29d73d86
JM
6765 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6766 Move -mhard-float appending from
6767 ports/sysdeps/powerpc/powerpc32/Makefile.
6768 [$(with-fp) = yes] (ASFLAGS): Likewise.
6769 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6770 * sysdeps/powerpc/nofpu: Move directory from
6771 ports/sysdeps/powerpc/nofpu.
6772 * sysdeps/powerpc/soft-fp: Move directory from
6773 ports/sysdeps/powerpc/soft-fp.
6774 * sysdeps/powerpc/powerpc32/405: Move directory from
6775 ports/sysdeps/powerpc/powerpc32/405.
6776 * sysdeps/powerpc/powerpc32/440: Move directory from
6777 ports/sysdeps/powerpc/powerpc32/440.
6778 * sysdeps/powerpc/powerpc32/464: Move directory from
6779 ports/sysdeps/powerpc/powerpc32/464.
6780 * sysdeps/powerpc/powerpc32/476: Move directory from
6781 ports/sysdeps/powerpc/powerpc32/476.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6783 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6785 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6787 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6789 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6791 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6792 * README: Update for powerpc-*-linux-gnu software floating point
6793 support in libc.
6794
e246b347
JM
6795 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6796 case to powerpc/powerpc32*.
6797 * sysdeps/unix/sysv/linux/configure: Regenerated.
6798
89c2003e
JM
6799 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6800 (_FPU_MASK_OM): Define as 0x04.
6801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6803 0x00c10080.
6804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6805 0x0000003c.
6806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6807
cd78f7e7
JM
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6809 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6810 getcontext_e500.
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6812 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6813 setcontext_e500.
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6815 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6816 and setcontext_e500.
6817
c755294d
CL
68182013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6819
6820 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6821
e16d221c
SP
68222013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6823
6824 * manual/threads.texi (Default Thread Attributes): Fix typo.
6825
215c7d43
WN
68262013-10-04 Will Newton <will.newton@linaro.org>
6827
6828 * malloc/Makefile: Add tst-memalign.
6829 * malloc/tst-memalign.c: New file.
6830
27d0461b
WN
6831 * malloc/tst-posix_memalign.c: Add comments.
6832 (do_test): Add comments and call free on all potentially
6833 allocated pointers. Add space after cast.
6834
1bc92709
WN
6835 * malloc/tst-pvalloc.c: Add comments.
6836 (do_test): Add comments and call free on all potentially
6837 allocated pointers. Remove duplicate check for NULL pointer.
6838 Add space after cast.
6839
66a9be9d
WN
6840 * malloc/tst-valloc.c: Add comments.
6841 (do_test): Add comments and call free on all potentially
6842 allocated pointers. Remove duplicate check for NULL pointer.
6843 Add space after cast.
6844
4cb81307
AM
68452013-10-04 Alan Modra <amodra@gmail.com>
6846
6847 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6848 Use stdint types in rather than __attribute__((mode())).
6849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6850
f8e3e9f3
AM
68512013-10-04 Alan Modra <amodra@gmail.com>
6852
6853 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6854 Correct handling of unaligned relocs for little-endian.
6855 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6856
8f9ebb08
AM
68572013-10-04 Alan Modra <amodra@gmail.com>
6858
6859 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6860 * configure: Regenerate.
6861 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6862 * shlib-versions: Likewise.
6863
0edf96c2
AM
68642013-10-04 Alan Modra <amodra@gmail.com>
6865
6866 * string/tester.c (test_memrchr): Increment reported test cycle.
6867
e0f7a380
AM
68682013-10-04 Alan Modra <amodra@gmail.com>
6869
6870 * string/test-memcpy.c (do_one_test): When reporting errors, print
6871 string address and don't overrun end of string.
6872
466b0393
AM
68732013-10-04 Alan Modra <amodra@gmail.com>
6874
6875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6876 insrdi. Make better use of reg selection to speed exit slightly.
6877 Schedule entry path a little better. Remove useless "are we done"
6878 checks on entry to main loop. Handle wrapping around zero address.
6879 Correct main loop count. Handle single left-over word from main
6880 loop inline rather than by using loop_small. Remove extra word
6881 case in loop_small caused by wrong loop count. Add little-endian
6882 support.
6883 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6884 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6885 cache hint.
6886 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6887 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6888 support. Avoid rlwimi.
6889 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6890
3be87c77
AM
68912013-10-04 Alan Modra <amodra@gmail.com>
6892
6893 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6894 insrdi. Formatting.
3be87c77
AM
6895 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6896 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6897 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6898 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6899 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6900 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6901
759cfef3
AM
69022013-10-04 Alan Modra <amodra@gmail.com>
6903
6904 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6905 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6906 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6907 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6908 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6909 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6910 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6911 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6912 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6913 use of regs. Use power7 mtocrf. Tidy function tails.
6914
fe6e95d7
AM
69152013-10-04 Alan Modra <amodra@gmail.com>
6916
6917 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6918 Formatting. Consistently use rXXX register defines or rN defines.
6919 Use early exit labels that avoid restoring unused non-volatile regs.
6920 Make cr field use more consistent with rWORDn compares. Rename
6921 regs used as shift registers for unaligned loop, using rN defines
6922 for short lifetime/multiple use regs.
6923 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6925 addi 1,1,64 to pop stack frame. Simplify return value code.
6926 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6927
664318c3
AM
69282013-10-04 Alan Modra <amodra@gmail.com>
6929
6930 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6931 support. Correct typos, formatting. Optimize tail. Use insrdi
6932 rather than rlwimi.
6933 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6934 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6935 little-endian support. Correct typos.
6936 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6937 rather than rlwimi.
6938 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6939 in loop and entry code to keep "and." results.
6940 (strchr): Add little-endian support. Comment. Move cntlzd
6941 earlier in tail.
6942 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6943
43b84013
AM
69442013-10-04 Alan Modra <amodra@gmail.com>
6945
6946 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6947 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6948 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6949 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6950
8a7413f9
AM
69512013-10-04 Alan Modra <amodra@gmail.com>
6952
6953 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6954 (rTMP): Define as r11.
6955 (strcmp): Add little-endian support. Optimise tail.
6956 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6957 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6958 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6959 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6960 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6962 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6963
33ee81de
AM
69642013-10-04 Alan Modra <amodra@gmail.com>
6965
6966 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6967 little-endian support. Remove unnecessary "are we done" tests.
6968 Handle "s" wrapping around zero and extremely large "size".
6969 Correct main loop count. Handle single left-over word from main
6970 loop inline rather than by using small_loop. Correct comments.
6971 Delete "zero" tail, use "end_max" instead.
6972 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6973
db9b4570
AM
69742013-10-04 Alan Modra <amodra@gmail.com>
6975
6976 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6977 support. Don't branch over align.
6978 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6979 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6980 support. Rearrange tmp reg use to suit. Comment.
6981 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6982
f7c399cf
AM
69832013-10-04 Alan Modra <amodra@gmail.com>
6984
6985 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6986
0b2c2ace
AM
69872013-10-04 Alan Modra <amodra@gmail.com>
6988
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6990 conditional form of branch and link when obtaining pc.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6992
02f04a6c
AM
69932013-10-04 Alan Modra <amodra@gmail.com>
6994
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6996 HIWORD/LOWORD.
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6999
9b874b2f
AM
70002013-10-04 Alan Modra <amodra@gmail.com>
7001
7002 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
7003 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
7004 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7005 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
7006 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7007 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7008 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
7009 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7010 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7011 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
7012
be1e5d31
AB
70132013-10-04 Anton Blanchard <anton@au1.ibm.com>
7014 Alistair Popple <alistair@ozlabs.au.ibm.com>
7015 Alan Modra <amodra@gmail.com>
7016
7017 [BZ #15723]
7018 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
7019 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
7020 _dl_hwcap access for little-endian.
7021 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
7022 destroy vmx regs when saving unaligned.
7023 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
7024 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
7025 destroy vmx regs when saving unaligned.
7026
fef13a78
AM
70272013-10-04 Alan Modra <amodra@gmail.com>
7028
7029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
7030 Don't use a union to pack hi/low value.
7031
76a66d51
AB
70322013-10-04 Anton Blanchard <anton@au1.ibm.com>
7033
7034 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
7035 for little-endian.
7036 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7037 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
7038 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7039 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7040 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7041
6a31fe7f
AM
70422013-10-04 Alan Modra <amodra@gmail.com>
7043
7044 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
7045 constants to usual value for .cst8 section, and remove redundant
7046 high address load.
7047 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
7048 constant for 0x1p52. Load little-endian words of double from
7049 correct stack offsets.
7050
7b88401f
AM
70512013-10-04 Alan Modra <amodra@gmail.com>
7052
7053 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
7054 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
7055 words of double from correct stack offsets.
7056 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7057 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
7058 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7062 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7063 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7064 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7065 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7067 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7068 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7069 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7070 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7071 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
7072 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7073
9c008155
AM
70742013-10-04 Alan Modra <amodra@gmail.com>
7075
7076 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
7077 64-bit int/double union.
7078 (_FPU_SETCW): Likewise.
7079 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
7080 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
7081
da13146d
AM
70822013-10-04 Alan Modra <amodra@gmail.com>
7083
7084 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
7085 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
7086
603e8410
AM
70872013-10-04 Alan Modra <amodra@gmail.com>
7088
7089 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
7090 use vector int constants.
7091 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
7092
4a28b3ca
AB
70932013-10-04 Anton Blanchard <anton@au1.ibm.com>
7094
7095 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
7096 array with long long.
7097 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
7098 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
7099 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
7100 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
7101 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
7102 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
7103 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
7104 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
7105 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
7106 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
7107 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
7108 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
7109 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
7110
2ca85d2b
AB
71112013-10-04 Anton Blanchard <anton@au1.ibm.com>
7112
7113 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
7114 (__signbit): Likewise. Correct for little-endian.
7115 (__signbitl): Call __signbit.
7116 (lrint): Correct for little-endian.
7117 (lrintf): Call lrint.
7118
62a728ae
AM
71192013-10-04 Alan Modra <amodra@gmail.com>
7120
7121 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
7122 union 32-bit int array member with 64-bit int array.
7123 (t515, tm256): Double rather than long double.
7124 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
7125
32c301df
AM
71262013-10-04 Alan Modra <amodra@gmail.com>
7127
7128 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
7129 Delete.
7130 (IEEE854_LONG_DOUBLE_BIAS): Delete.
7131 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7132 version of math_ldbl.h.
7133
650ef4bd
AM
71342013-10-04 Alan Modra <amodra@gmail.com>
7135
7136 [BZ #15734], [BZ #15735]
7137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
7138 all uses of ieee875 long double macros and unions. Simplify test
7139 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
7140 ldbl_extract_mantissa value for ix,iy exponents. Properly
7141 normalize after ldbl_extract_mantissa, and don't add hidden bit
7142 already handled. Don't treat low word of ieee854 mantissa like
7143 low word of IBM long double and mask off bit when testing for
7144 zero.
7145 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7146 all uses of ieee875 long double macros and unions. Simplify tests
7147 for 0.0L and inf. Correct double adjustment of k. Delete dead code
7148 adjusting ha,hb. Simplify code setting kld. Delete two600 and
7149 two1022, instead use their values. Recognise that tests for large
7150 "a" and small "b" are mutually exclusive. Rename vars. Comment.
7151 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7152 Rewrite all uses of ieee875 long double macros and unions. Simplify
7153 test for 0.0L and nan. Correct negation.
7154 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7155 ieee875 long double macros and unions. Correct output for large
7156 magnitude x. Correct absolute value calculation.
7157 (__erfcl): Likewise.
7158 * math/libm-test.inc: Add tests for errors discovered in IBM long
7159 double versions of fmodl, remainderl, erfl and erfcl.
7160
765714ca
AM
71612013-10-04 Alan Modra <amodra@gmail.com>
7162
7163 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7164 all uses of ieee854 long double macros and unions. Simplify tests
7165 for long doubles that are fully specified by the high double.
7166 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7167 Likewise.
7168 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7169 Remove dead code too.
7170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7171 (__ieee754_ynl): Likewise.
7172 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7173 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7175 Remove dead code too.
7176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7177 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7178 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7180 Simplify.
7181 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7182 Simplify.
7183 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7186 Comment on variable precision.
7187 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7189 Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7193 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7194 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7195
4ebd120c
AM
71962013-10-04 Alan Modra <amodra@gmail.com>
7197
7198 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7199 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7200 all uses of ieee854 long double macros and unions.
7201 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7204 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7207 Likewise.
7208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7214 Simplify sign and nan test too.
7215 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7217 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7218 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7219 Likewise.
7220 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7221 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7222 Likewise.
7223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7225 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7229
1b6adf88
AM
72302013-10-04 Alan Modra <amodra@gmail.com>
7231
7232 * stdio-common/printf_size.c (__printf_size): Don't use
7233 union ieee854_long_double in fpnum union.
7234 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
7235 signbit macro to retrieve sign from long double.
7236 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7237 retrieve sign from long double.
7238 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7239 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7240 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7241 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7242 * math/test-misc.c (main): Don't use union ieee854_long_double.
7243
4cf69995
AM
72442013-10-04 Alan Modra <amodra@gmail.com>
7245
7246 [BZ #15680]
7247 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7248 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7249 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7250 calculation. Remove unnecessary test for denormal exponent.
7251 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7252 Correct handling of denormals. Avoid undefined shift behaviour.
7253 Correct normalisation of low mantissa when low double is denormal.
7254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7255 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
7256 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7257 Correct normalisation of low mantissa. Test for overflow of high
7258 mantissa and normalise.
7259 (ldbl_nearbyint): Use more readable constant for two52.
7260 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7261 (__mpn_construct_long_double): Fix test for overflow of high
7262 mantissa and correct normalisation. Avoid undefined shift.
7263
9605ca6c
AM
72642013-10-04 Alan Modra <amodra@gmail.com>
7265
7266 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7267 (union ibm_extended_long_double): Define as an array of ieee754_double.
7268 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7269 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7270 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7271 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7275 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7279
975569d0
JM
72802013-10-03 Joseph Myers <joseph@codesourcery.com>
7281
d3d23756
JM
7282 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7283 page size instead of calling getpagesize.
7284
975569d0
JM
7285 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7286 (LOCFILE_ALIGN_MASK): Likewise.
7287 (LOCFILE_ALIGN_UP): Likewise.
7288 (LOCFILE_ALIGNED_P): Likewise.
7289 * locale/programs/ld-collate.c (collate_output): Use the new
7290 macros instead of __alignof__ (int32_t).
7291 * locale/weight.h (findidx): Likewise.
7292
b1fe1f2b
OB
72932013-10-03 Ondřej Bílka <neleai@seznam.cz>
7294
7295 [BZ #431]
7296 * manual/string.texi: Fix strncat and wcsncat.
7297
5f855e35
BM
72982013-10-03 Brooks Moses <bmoses@google.com>
7299
7300 [BZ #15915]
7301 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7302 * Makerules: ...here, and adjust associated comments.
7303
3cef6009
WN
73042013-10-02 Will Newton <will.newton@linaro.org>
7305
7306 * malloc/Makefile: Add tst-pvalloc.
7307 * malloc/tst-pvalloc.c: New file.
7308
7815420b
WN
73092013-10-02 Will Newton <will.newton@linaro.org>
7310
7311 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7312 improve test coverage.
7313
4868b204
WN
73142013-10-02 Will Newton <will.newton@linaro.org>
7315
7316 * malloc/Makefile: Add tst-posix_memalign.
7317 * malloc/tst-posix_memalign.c: New file.
7318
29c793b3
EB
73192013-10-01 Eric Blake <eblake@redhat.com>
7320
7321 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7322 Use __THROWNL rather than __THROW on static functions.
7323
fd967522
PM
73242013-09-30 Petr Machata <pmachata@redhat.com>
7325
7326 * elf/elf.h (R_AARCH64_ABS16): New macro.
7327 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7328 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7329 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7330 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7331 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7332 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7333 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7334 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7335 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7336 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7337 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7338 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7339 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7340 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7341 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7342 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7343 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7344 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7345 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7346 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7347 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7348 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7349 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7350 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7351 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7352 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7353 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7354 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7355 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7356 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7357 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7358 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7359 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7360 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7361 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7362 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7363 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7364 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7365 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7366 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7367 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7368 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7369 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7370 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7371 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7372 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7373 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7374 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7375 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7376 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7377 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7378 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7379 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7380 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7381 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7382 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7383 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7384 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7385 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7386 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7387 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7388 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7389 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7390 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7391 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7392 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7393 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7394 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7395 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7396 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7397 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7398 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7399 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7400 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7401 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7402 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7403 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7404 (R_AARCH64_TLSDESC_LDR): Likewise.
7405 (R_AARCH64_TLSDESC_ADD): Likewise.
7406 (R_AARCH64_TLSDESC_CALL): Likewise.
7407
b2179107
AS
74082013-09-30 Andreas Schwab <schwab@suse.de>
7409
7410 [BZ #15048]
7411 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7412 the nss database lookup.
7413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7415
47f28d0a
MF
74162013-09-28 Mike Frysinger <vapier@gentoo.org>
7417
7418 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7419
74202013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
7421
7422 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7423 ${Bash-specific parameter/pattern/string} parameter expansion.
7424 * sysdeps/unix/make-syscalls.sh: Likewise.
7425
f4518a17
KK
74262013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7427
7428 * sysdeps/sh/stackguard-macros.h: New file.
7429
dc1a95c7
OB
74302013-09-26 Ondřej Bílka <neleai@seznam.cz>
7431
7432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7434 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7435 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7436 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7437 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7438
5ebbff8f
AZ
74392013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7440
7441 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7442 Fix thread ID register.
7443
4fd2cf9f
JM
74442013-09-25 Joseph Myers <joseph@codesourcery.com>
7445
7446 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7447 [POSIX || UNIX98]: Require rather than permitting all symbols from
7448 <time.h>.
7449 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7450 element of struct sched_param.
7451 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7452 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7453 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7454 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7455 constant.
7456
12c22bc4
OL
74572013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7458
7459 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7460 argument calculation.
7461
a03d8ea7
JM
74622013-09-24 Joseph Myers <joseph@codesourcery.com>
7463
7464 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7465 Expect macro.
7466 [POSIX] (pthread_attr_t): Do not require type.
7467 [POSIX] (pthread_cond_t): Likewise.
7468 [POSIX] (pthread_condattr_t): Likewise.
7469 [POSIX] (pthread_key_t): Likewise.
7470 [POSIX] (pthread_mutex_t): Likewise.
7471 [POSIX] (pthread_mutexattr_t): Likewise.
7472 [POSIX] (pthread_once_t): Likewise.
7473 [POSIX] (pthread_t): Likewise.
7474 [POSIX-based standards] (pthread_atfork): Expect function.
7475
6055173a
JM
74762013-09-24 Joseph Myers <joseph@codesourcery.com>
7477 Richard Sandiford <richard@codesourcery.com>
7478
7479 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7480 (swap_endianness_p): New extern variable.
7481 (set_big_endian): New inline function.
7482 (maybe_swap_uint32): Likewise.
7483 (maybe_swap_uint32_array): Likewise.
7484 (maybe_swap_uint32_obstack): Likewise.
7485 * locale/programs/locfile.c: Include <stdbool.h>.
7486 (swap_endianness_p): New variable.
7487 (add_locale_uint32): Call maybe_swap_uint32.
7488 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7489 (write_locale_data): Call maybe_swap_uint32_array.
7490 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7491 maybe_swap_uint32.
7492 (obstack_int32_grow_fast): Likewise.
7493 (output_weightwc): Call maybe_swap_uint32_obstack.
7494 (collate_output): Likewise.
7495 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7496 (OPT_LITTLE_ENDIAN): Likewise.
7497 (options): Add --little-endian and --big-endian options.
7498 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7499 * locale/programs/locarchive.c: Include "locfile.h".
7500 (GET): New macro.
7501 (SET): Likewise.
7502 (INC): Likewise.
7503 (create_archive): Use the new macros to access fields of
7504 structures directly mapped from or written to locale archives.
7505 (oldlocrecentcmp): Likewise.
7506 (enlarge_archive): Likewise.
7507 (insert_name): Likewise.
7508 (add_alias): Likewise.
7509 (add_locale): Likewise.
7510 (delete_locales_from_archive): Likewise.
7511 (show_archive_content): Likewise.
7512 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7513 locale data.
7514
39bf0bb4
RM
75152013-09-24 Roland McGrath <roland@hack.frob.com>
7516
7517 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7518 http://www.gnu.org/doc/freemanuals.texi.
7519 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7520
f02eed10
WN
75212013-09-24 Will Newton <will.newton@linaro.org>
7522
7523 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7524 macro.
7525
a3a6c312
JM
75262013-09-23 Joseph Myers <joseph@codesourcery.com>
7527
7528 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7529 unsigned char.
7530
107375ac
MR
75312013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7532
7533 * manual/threads.texi (POSIX Threads): Fix a typo.
7534
141f3a77
SP
75352013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7536
303e567a
SP
7537 [BZ #14547]
7538 * string/tst-strcoll-overflow.c: New test case.
7539 * string/Makefile (xtests): Add tst-strcoll-overflow.
7540 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7541 cache if string sizes may cause integer overflow.
7542
141f3a77
SP
7543 [BZ #14547]
7544 * string/strcoll_l.c (coll_seq): New members rule, idx,
7545 save_idx and back_us.
7546 (get_next_seq_nocache): New function.
7547 (do_compare_nocache): New function.
7548 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7549 when malloc fails.
7550
c61b4d41
CD
75512013-09-23 Carlos O'Donell <carlos@redhat.com>
7552
0b1f8e35
CD
7553 [BZ #15754]
7554 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7555 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7556 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7557
c61b4d41
CD
7558 [BZ #15754]
7559 * elf/Makefile (tests): Add tst-ptrguard1.
7560 (tests-static): Add tst-ptrguard1-static.
7561 (tst-ptrguard1-ARGS): Define.
7562 (tst-ptrguard1-static-ARGS): Define.
7563 * elf/tst-ptrguard1.c: New file.
7564 * elf/tst-ptrguard1-static.c: New file.
7565 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7566 * sysdeps/i386/stackguard-macros.h: Likewise.
7567 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7568 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7569 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7570 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7571 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7572 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7573
75742013-09-23 Hector Marco <hecmargi@upv.es>
7575 Ismael Ripoll <iripoll@disca.upv.es>
7576 Carlos O'Donell <carlos@redhat.com>
7577
7578 [BZ #15754]
7579 * sysdeps/generic/stackguard-macros.h: Define
7580 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7581 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7582 Define __pointer_chk_guard_local.
7583 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7584 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7585
f5f4e7b4
VV
75862013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7587
7588 [BZ #15859]
7589 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7590
5bb43a43
AS
75912013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7592
7593 * include/string.h (__ffs): Declare as hidden.
7594 * string/ffs.c (__ffs): Define as hidden.
7595 * sysdeps/i386/ffs.c (__ffs): Likewise.
7596 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7597 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7598 * sysdeps/s390/ffs.c (__ffs): Likewise.
7599 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7600
3ea5be54
AO
76012013-09-20 Alexandre Oliva <aoliva@redhat.com>
7602
ffb89e53
AO
7603 * NEWS: Mention malloc probes.
7604
322dea08
AO
7605 * malloc/arena.c (new_heap): New memory_heap_new probe.
7606 (grow_heap): New memory_heap_more probe.
7607 (shrink_heap): New memory_heap_less probe.
7608 (heap_trim): New memory_heap_free probe.
7609 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7610 (systrim): New memory_sbrk_less probe.
7611 * manual/probes.texi: Document them.
7612
655673f3
AO
7613 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7614 * manual/probes.texi: Document it.
7615
35fed6f1
AO
7616 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7617 (__libc_realloc): Add memory_realloc_retry probe.
7618 (__libc_memalign): Add memory_memalign_retry probe.
7619 (__libc_valloc): Add memory_valloc_retry probe.
7620 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7621 (__libc_calloc): Add memory_calloc_retry probe.
7622 * manual/probes.texi: Document them.
7623
6999d38c
AO
7624 * malloc/arena.c (get_free_list): Add probe
7625 memory_arena_reuse_free_list.
7626 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7627 and memory_arena_reuse.
7628 (arena_get2) [!PER_THREAD]: Likewise.
7629 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7630 memory_arena_reuse_realloc.
7631 * manual/probes.texi: Document them.
7632
0653427f
AO
7633 * malloc/malloc.c (__libc_free): Add
7634 memory_mallopt_free_dyn_thresholds probe.
7635 (__libc_mallopt): Add multiple memory_mallopt probes.
7636 * manual/probes.texi: Document them.
7637
3ea5be54
AO
7638 * malloc/malloc.c: Include stap-probe.h.
7639 (__libc_mallopt): Add memory_mallopt probe.
7640 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7641 * manual/probes.texi: New.
7642 * manual/Makefile (chapters): Add probes.
7643 * manual/threads.texi: Set next node.
7644
e35696c3 76452013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 7646
e35696c3
CL
7647 [BZ #15963, #13985]
7648 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7649 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7650 Add `Chinese' to `nan' entry name.
7651
4aafb73c
SP
76522013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7653
7654 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7655 (POLYNOMIAL): Likewise.
7656 (TAYLOR_SINCOS): Likewise.
7657 (TAYLOR_SLOW): Likewise.
7658 (__sin): Use TAYLOR_SINCOS.
7659 (__cos): Likewise.
7660 (slow): Use TAYLOR_SLOW.
7661 (sloww): Likewise.
7662 (bsloww): Likewise.
7663 (csloww): Likewise.
7664
d84f25c7
LD
76652013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7666
7667 * stdlib/strtod_l.c: Fix buffer overrun.
7668
5eea0404
SP
76692013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7670
7849ff93
SP
7671 * benchtests/Makefile (bench): Add sincos.
7672 * benchtests/bench-sincos.c: New file.
7673
cfa3c886
SP
7674 * math/libm-test.inc (cos_test_data): New test inputs.
7675 (sin_test_data): Likewise.
7676
b348e1e3
SP
7677 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7678 macro.
7679 (__sin): Use it.
7680 (__cos): Likewise.
7681 (slow1): Likewise.
7682 (slow2): Likewise.
7683 (sloww1): Likewise.
7684 (sloww2): Likewise.
7685 (bsloww1): Likewise.
7686 (bsloww2): Likewise.
7687 (cslow2): Likewise.
7688 (csloww1): Likewise.
7689 (csloww2): Likewise.
7690
6cce25f8
SP
7691 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7692 function.
7693 (__sin): Use it.
7694 (__cos): Likewise.
7695
5eea0404
SP
7696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7697 gotos.
7698 (__cos): Likewise.
7699
9c21573c
MR
77002013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7701
7702 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7703 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7704 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7705 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7706 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7707 * elf/cache.c (print_entry): Handle the new cache flags.
7708
24d22e65
JM
77092013-09-18 Joseph Myers <joseph@codesourcery.com>
7710 Aldy Hernandez <aldyh@redhat.com>
7711
7712 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7713 Change condition to [_SOFT_FLOAT].
7714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7726 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7729 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7730 declaration.
7731
d13ef066
JM
77322013-09-18 Joseph Myers <joseph@codesourcery.com>
7733
2e071de0
JM
7734 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7735 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7736 (__longjmp): Use LOAD_GP to load saved GPRs.
7737 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7738 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7739 (__sigsetjmp): Use SAVE_GP to save GPRs.
7740
d13ef066
JM
7741 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7742 Do not append -msoft-float.
7743 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7744
97a0650b
SP
77452013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7746
7747 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7748
11ca09e9
JM
77492013-09-17 Joseph Myers <joseph@codesourcery.com>
7750
7751 [BZ #15966]
7752 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7753 (_FPU_GETCW): Use initial "__" on variable and field names but not
7754 on macro parameter name.
7755 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7756 parentheses around reference to macro parameter.
7757
08ffcf34
RS
77582013-09-13 Richard Sandiford <richard@codesourcery.com>
7759
7760 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7761 prototype.
7762 (ctype_startup): Use uint32_t in cast and sizeof for
7763 ctype->charnames.
7764
ae7080d3
JL
77652013-09-11 Jia Liu <proljc@gmail.com>
7766
7767 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7768 __daddr_t_defined.
7769 [__FreeBSD__]: Likewise.
7770
5905e7b3
OB
77712013-09-11 Ondřej Bílka <neleai@seznam.cz>
7772
7773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7774 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7775 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7776 (strchr): Remove __strchr_sse42 ifunc selection.
7777 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7778 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7779
b987c776
WN
77802013-09-11 Will Newton <will.newton@linaro.org>
7781
7782 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7783 parameter to RES. Remove hardcoded 1000 value.
7784 * benchtests/bench-skeleton.c (main): Pass RES parameter
7785 to TIMING_INIT and multiply result by 1000.
7786
ddf985af
AZ
77872013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7788
7789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7790
ffdd3181
AS
77912013-09-11 Andreas Schwab <schwab@suse.de>
7792
7793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7794 if not defined.
7795 (O_TMPFILE) [__USE_GNU]: Define.
7796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7797 Define.
7798
b73ed247
WN
77992013-09-11 Will Newton <will.newton@linaro.org>
7800
7801 [BZ #15857]
7802 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7803 does not overflow.
7804
55e17aad
WN
78052013-09-11 Will Newton <will.newton@linaro.org>
7806
7807 [BZ #15856]
7808 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7809 does not overflow.
7810
1159a193
WN
78112013-09-11 Will Newton <will.newton@linaro.org>
7812
7813 [BZ #15855]
7814 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7815 does not overflow.
7816
5905e7b3 78172013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7818
7819 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7820 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7821 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7822 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7823 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7824
cdfc721b
AM
78252013-09-10 Allan McRae <allan@archlinux.org>
7826
aa04af00
AM
7827 [BZ #15748]
7828 * manual/arith.texi (Parsing of Floats): Clarify
7829 cross-reference.
7830
cdfc721b
AM
7831 [BZ #15849]
7832 * manual/install.texi (Running make install): Mention
7833 --enable-pt-chown.
7834 * INSTALL: Regenerated.
7835
95e7cf29
MR
78362013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7837
7838 * csu/init-first.c (_init): Remove the !SHARED condition around
7839 FPU control word initialization.
7840 * elf/dl-support.c (_dl_fpu_control): New variable.
7841 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7842 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7843 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7844 * math/test-fpucw-static.c: New file.
7845 * math/test-fpucw-ieee.c: New file.
7846 * math/test-fpucw-ieee-static.c: New file.
7847 * math/Makefile (tests): Add `test-fpucw-ieee' and
7848 `$(tests-static)'.
7849 (tests-static): New variable.
7850 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7851 dependency to...
7852 [($(build-shared),yes)]
7853 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7854 ... this.
7855 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7856 New dependency.
7857
83e43bf0
AM
78582013-09-09 Allan McRae <allan@archlinux.org>
7859
a9f5ce09
AM
7860 [BZ #15939]
7861 * manual/string.texi (Collation Functions): Fix typo in
7862 strcoll example.
7863 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7864
34829bc2
AM
7865 [BZ #15893]
7866 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7867
3932737d
AM
7868 [BZ #15892]
7869 * libio/memstream.c (open_memstream): Fix memory leak.
7870 * libio/wmemstream.c (open_wmemstream): Likewise.
7871
83e43bf0
AM
7872 [BZ #15895]
7873 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7874
0c66b8e9
WN
78752013-09-09 Will Newton <will.newton@linaro.org>
7876
7877 * malloc/Makefile: Add tst-realloc to tests.
7878 * malloc/tst-realloc.c: New file.
7879
f6b00fd1
AM
78802013-09-09 Allan McRae <allan@archlinux.org>
7881
7882 [BZ #15844]
7883 * COPYING: Update from GNU website to fix FSF address.
7884 * COPYING.LIB: Likewise.
7885
eec55e16
DM
78862013-09-06 David S. Miller <davem@davemloft.net>
7887
7888 * po/zh_TW.po: Update Chinese (traditional) translation from
7889 translation project.
7890
1ecbb381
RS
78912013-09-06 Richard Sandiford <richard@codesourcery.com>
7892 Joseph Myers <joseph@codesourcery.com>
7893
7894 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7895 "localeinfo.h".
7896 (obstack_chunk_alloc): New macro.
7897 (obstack_chunk_free): Likewise.
7898 (record_offset): New function.
7899 (init_locale_data): Likewise.
7900 (align_locale_data): Likewise.
7901 (add_locale_empty): Likewise.
7902 (add_locale_raw_data): Likewise.
7903 (add_locale_raw_obstack): Likewise.
7904 (add_locale_string): Likewise.
7905 (add_locale_wstring): Likewise.
7906 (add_locale_uint32): Likewise.
7907 (add_locale_uint32_array): Likewise.
7908 (add_locale_char): Likewise.
7909 (start_locale_structure): Likewise.
7910 (end_locale_structure): Likewise.
7911 (start_locale_prelude): Likewise.
7912 (end_locale_prelude): Likewise.
7913 (write_locale_data): Take locale_file structure rather than an
7914 iovec.
7915 * locale/programs/locfile.h: Include "obstack.h".
7916 (struct locale_file): Change to store locale file contents instead
7917 of header.
7918 (init_locale_data): New prototype.
7919 (align_locale_data): Likewise.
7920 (add_locale_empty): Likewise.
7921 (add_locale_raw_data): Likewise.
7922 (add_locale_raw_obstack): Likewise.
7923 (add_locale_string): Likewise.
7924 (add_locale_wstring): Likewise.
7925 (add_locale_uint32): Likewise.
7926 (add_locale_uint32_array): Likewise.
7927 (add_locale_char): Likewise.
7928 (start_locale_structure): Likewise.
7929 (end_locale_structure): Likewise.
7930 (start_locale_prelude): Likewise.
7931 (end_locale_prelude): Likewise.
7932 (write_locale_data): Update prototype.
7933 * locale/programs/3level.h (struct TABLE): Remove result field.
7934 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7935 Use new locale_file interface.
7936 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7937 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7938 * locale/programs/ld-address.c (address_output): Use new
7939 locale_file interface.
7940 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7941 NO_ADD_LOCALE.
7942 (collate_finish): Don't call collseq_table_finalize.
7943 (collate_output): Use new locale_file interface.
7944 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7945 in file.
7946 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7947 (TABLE): Move defines earlier in file.
7948 (ELEMENT): Likewise.
7949 (DEFAULT): Likewise.
7950 (wctrans_table_add): Move macro and inline function earlier in
7951 file.
7952 (struct wctype_table): Move type earlier in file.
7953 (add_locale_wctype_table): New static prototype.
7954 (struct locale_ctype_t): Use logical types instead of struct iovec
7955 pointers for members.
7956 (ctype_output): Use new locale_file interface.
7957 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7958 new locale_file interface.
7959 (allocate_arrays): Update for use of new locale_file interface.
7960 * locale/programs/ld-identification.c (identification_output): Use
7961 new locale_file interface.
7962 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7963 * locale/programs/ld-messages.c (messages_output): Likewise.
7964 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7965 * locale/programs/ld-name.c (name_output): Likewise.
7966 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7967 * locale/programs/ld-paper.c (paper_output): Likewise.
7968 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7969 * locale/programs/ld-time.c (time_output): Likewise.
7970
e029e2e5
AZ
79712013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7972
7973 * benchtests/Makefile: Add memrchr benchmark.
7974 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7975 benchmark as memrchr.
7976 * benchtests/bench-memrchr-ifunc.c: New file.
7977 * benchtests/bench-memrchr.c: New file.
7978
bbf6e8e4
WN
79792013-09-06 Will Newton <will.newton@linaro.org>
7980
7981 * benchtests/Makefile (string-bench): Add memcpy.
7982
6c82a2f8
CD
79832013-09-05 Carlos O'Donell <carlos@redhat.com>
7984 Cong Wang <amwang@redhat.com>
7985
e732c5f0 7986 [BZ #15850]
6c82a2f8
CD
7987 * sysdeps/unix/sysv/linux/bits/in.h
7988 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7989 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7990 before __USE_KERNEL_IPV6_DEFS uses.
7991 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7992 IPPROTO_BEETPH.
7993 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7994 sockaddr_in6, or ipv6_mreq.
7995
5430fc65
AZ
79962013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7997
7998 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7999 memory access for final bytes in some large inputs.
8000 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
8001
4660856c
AZ
80022013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8003
8004 * string/test-memrchr.c: New file.
8005 * string/test-memrchr-ifunc.c: New file.
8006 * string/Makefile: Add new memrchr testcase.
8007
bb8ea713
MF
80082013-09-05 Mike Frysinger <vapier@gentoo.org>
8009
8010 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
8011 fanotify_init returns EPERM.
8012
b92a20b5
JM
80132013-09-04 Joseph Myers <joseph@codesourcery.com>
8014
8015 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
8016 errors.
8017 (top level): Treat second token from macro or constant entries for
8018 allowed headers as allowed.
8019 * include/complex.h: Condition internal declarations on
8020 [!_ISOMAC].
8021 * include/fenv.h: Condition include of <stdbool.h> and internal
8022 declarations on [!_ISOMAC].
7447ccd9
CL
8023
80242013-09-04 Chris Leonard <cjl@sugarlabs,.org>
8025
3e181dda 8026 [BZ #15923]
7447ccd9
CL
8027 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
8028
3f2e46a4
JM
80292013-09-04 Joseph Myers <joseph@codesourcery.com>
8030
8031 * configure.in (--enable-versioning): Remove configure option.
8032 (libc_cv_asm_symver_directive): Remove configure test.
8033 (libc_cv_ld_version_script_option): Likewise.
8034 (VERSIONING): Remove variable and AC_SUBST.
8035 (DO_VERSIONING): Remove AC_DEFINE.
8036 * configure: Regenerated.
8037 * config.h.in (DO_VERSIONING): Remove macro.
8038 * Makerules [$(versioning) = yes]: Change conditionals to
8039 [$(build-shared) = yes].
8040 * config.make.in (versioning): Remove variable.
8041 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
8042 [$(build-shared) = yes].
8043 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
8044 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
8045 * elf/Makefile [$(versioning) = yes]: Change conditionals to
8046 [$(build-shared) = yes].
8047 * extra-lib.mk [$(versioning) = yes]: Likewise.
8048 * hurd/Makefile [$(versioning) = yes]: Likewise.
8049 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
8050 [SHARED].
8051 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
8052 [SHARED].
8053 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8054 [SHARED && !NO_HIDDEN].
8055 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
8056 [SHARED].
8057 [SHARED && DO_VERSIONING]: Likewise..
8058 * libio/Makefile [$(versioning) = yes]: Change conditionals to
8059 [$(build-shared) = yes].
8060 * manual/install.texi (--disable-versioning): Remove
8061 documentation.
8062 * INSTALL: Regenerated.
8063 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
8064 to [SHARED].
8065 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
8066 [$(build-shared) = yes].
8067 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
8068 * sysdeps/i386/i686/multiarch/strstr-c.c
8069 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8070 [SHARED && !NO_HIDDEN].
8071 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
8072 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
8073 * sysdeps/powerpc/powerpc32/dl-machine.c
8074 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
8075 * sysdeps/powerpc/powerpc32/sysdep.h
8076 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
8077 to [SHARED && PIC && !NO_HIDDEN].
8078 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
8079 conditional to [SHARED].
8080
44558701
WN
80812013-09-04 Will Newton <will.newton@linaro.org>
8082
8083 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
8084 * benchtests/bench-string.h: Include bench-timing.h instead
8085 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
8086 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
8087 call to HP_TIMING_DIFF_INIT.
8088 * benchtests/bench-memccpy.c: Use bench-timing.h macros
8089 instead of hp-timing.h macros.
8090 * benchtests/bench-memchr.c: Likewise.
8091 * benchtests/bench-memcmp.c: Likewise.
8092 * benchtests/bench-memcpy.c: Likewise.
8093 * benchtests/bench-memmem.c: Likewise.
8094 * benchtests/bench-memmove.c: Likewise.
8095 * benchtests/bench-memset.c: Likewise.
8096 * benchtests/bench-rawmemchr.c: Likewise.
8097 * benchtests/bench-strcasecmp.c: Likewise.
8098 * benchtests/bench-strcasestr.c: Likewise.
8099 * benchtests/bench-strcat.c: Likewise.
8100 * benchtests/bench-strchr.c: Likewise.
8101 * benchtests/bench-strcmp.c: Likewise.
8102 * benchtests/bench-strcpy.c: Likewise.
8103 * benchtests/bench-strcpy_chk.c: Likewise.
8104 * benchtests/bench-strlen.c: Likewise.
8105 * benchtests/bench-strncasecmp.c: Likewise.
8106 * benchtests/bench-strncat.c: Likewise.
8107 * benchtests/bench-strncmp.c: Likewise.
8108 * benchtests/bench-strncpy.c: Likewise.
8109 * benchtests/bench-strnlen.c: Likewise.
8110 * benchtests/bench-strpbrk.c: Likewise.
8111 * benchtests/bench-strrchr.c: Likewise.
8112 * benchtests/bench-strspn.c: Likewise.
8113 * benchtests/bench-strstr.c: Likewise.
8114
cae16d66
WN
81152013-09-04 Will Newton <will.newton@linaro.org>
8116
8117 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
8118
ffa3cd7f
JM
81192013-09-03 Joseph Myers <joseph@codesourcery.com>
8120
8121 [BZ #15427]
8122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8123 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
8124 * math/libm-test.inc (lgamma_test_data): Add more tests.
8125 * sysdeps/i386/fpu/libm-test-ulps: Update.
8126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8127
8f02859f
OB
81282013-09-03 Ondřej Bílka <neleai@seznam.cz>
8129
8130 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
8131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8132 Add ifunc.
8133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8134 Add strcmp-sse2-unaligned
8135 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
8136
18d43716
MF
81372013-09-02 Mike Frysinger <vapier@gentoo.org>
8138
8139 * Versions.def (libc): Add GLIBC_2.19.
8140
ac444012
MF
81412013-09-02 Mike Frysinger <vapier@gentoo.org>
8142
8143 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8144 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8145
b7835e32
JM
81462013-09-02 Joseph Myers <joseph@codesourcery.com>
8147
8148 [BZ #14155]
8149 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8150 intermediate calculations in recurrence.
8151 (__ieee754_ynf): Likewise.
8152 * math/libm-test.inc (jn_test_data): Do not allow spurious
8153 underflow exception. Add more tests.
8154 (yn_test_data): Add more tests.
8155 * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8157
8220f4f0
OB
81582013-09-02 Ondřej Bílka <neleai@seznam.cz>
8159
8160 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8161
f24a6d08
OB
81622013-08-30 Ondřej Bílka <neleai@seznam.cz>
8163
8164 * csu/init-first.c: Fix then/than typos.
8165 * locale/programs/ld-collate.c: Likewise.
8166 * locale/programs/linereader.h: Likewise.
8167 * manual/charset.texi: Likewise.
8168 * manual/filesys.texi: Likewise.
8169 * manual/stdio.texi: Likewise.
8170 * manual/string.texi: Likewise.
8171 * stdlib/fmtmsg.c: Likewise.
8172 * sysdeps/i386/stpncpy.S: Likewise.
8173 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8174 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8175 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8176 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8177
382466e0
OB
81782013-08-30 Ondřej Bílka <neleai@seznam.cz>
8179
8180 * elf/dl-open.c: Fix typos.
8181 * iconvdata/gbbig5.c: Likewise.
8182 * iconvdata/iso-2022-jp.c: Likewise.
8183 * iconv/gconv_int.h: Likewise.
8184 * iconv/loop.c: Likewise.
8185 * nis/rpcsvc/nis.h: Likewise.
8186 * resolv/ns_name.c: Likewise.
8187 * stdio-common/vfscanf.c: Likewise.
8188 * streams/stropts.h: Likewise.
8189 * sunrpc/rpc_thread.c: Likewise.
8190 * sysdeps/i386/strpbrk.S: Likewise.
8191 * sysdeps/ieee754/k_standard.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8194 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8195 * sysdeps/mach/hurd/profil.c: Likewise.
8196 * sysdeps/s390/dl-procinfo.h: Likewise.
8197 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8198 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8199 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8200 * sysdeps/x86_64/dl-trampoline.S: Likewise.
8201 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8202
0186c6e9
OB
82032013-08-30 Ondřej Bílka <neleai@seznam.cz>
8204
8205 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8207
d4e16af1
OB
82082013-08-29 Ondřej Bílka <neleai@seznam.cz>
8209
8210 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8211 aix specific files.
8212 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8214 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8215 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8216 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8217 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8218 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8219 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8220
88335980
TS
82212013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8222 Roland McGrath <roland@hack.frob.com>
8223
8224 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8225 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8226
ed479b02
ST
82272013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8228
8229 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8230 __executable_start symbol instead of _start.
8231
f1cc4c86
TS
82322013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8233
d821f07c
TS
8234 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8235 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8236 Move macros to...
8237 * sysdeps/gnu/ldsodefs.h: ... this new file.
8238
c54290cf
TS
8239 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8240 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8241 instead of ELFOSABI_LINUX.
8242
0007fc9b 8243 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
8244 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8245 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8246 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8247 Likewise.
8248 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8249 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8251 Likewise.
8252 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8253 (ibm_extended_long_double): Add ieee_nan member.
8254 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8255 (do_test): New function.
8256
f1cc4c86
TS
8257 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8258 TEST_TRUNC.
8259 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8260 functions, renamed from truncdfsf_test, trunctfsf_test,
8261 trunctfdf_test.
8262 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8263 functions.
8264 (do_test): Run all these.
8265
6f65e668
OB
82662013-08-29 Ondřej Bílka <neleai@seznam.cz>
8267
8268 * argp/argp-help.c: Fix typos.
8269 * argp/argp-parse.c: Likewise.
8270 * debug/backtracesyms.c: Likewise.
8271 * elf/elf.h: Likewise.
8272 * malloc/malloc.c: Likewise.
8273 * nis/nis_print.c: Likewise.
8274 * resolv/res_comp.c: Likewise.
8275 * stdlib/stdlib.h: Likewise.
8276 * sunrpc/clnt_tcp.c: Likewise.
8277 * sunrpc/clnt_udp.c: Likewise.
8278 * sunrpc/clnt_unix.c: Likewise.
8279 * sysdeps/unix/bsd/ptsname.c: Likewise.
8280 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8281 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
8282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8283 Likewise.
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8285 Likewise.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8287 Likewise.
6f65e668
OB
8288 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8289
3a309239
SP
82902013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8291
8292 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8294
3b813b29
MF
82952013-08-27 Mike Frysinger <vapier@gentoo.org>
8296
8297 [BZ #15897]
8298 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8299 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8300 ($(objpfx)bug-dl-leaf): New rule.
8301 ($(objpfx)bug-dl-leaf.so): Likewise.
8302 ($(objpfx)bug-dl-leaf.out): Likewise.
8303 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8304 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8305 * dlfcn/bug-dl-leaf.c: New test.
8306 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8307 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8308 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8309 (dlclose): Likewise.
8310 (dlmopen): Likewise.
8311
8cc3269f
RM
83122013-08-27 Roland McGrath <roland@hack.frob.com>
8313
7f9d0034
RM
8314 * include/netdb.h [!_ISOMAC]:
8315 Don't include <tls.h>.
8316 (h_errno, __libc_h_errno): Move declaration and macros out of
8317 [_LIBC_REENTRANT].
8318
fb431262
RM
8319 * include/resolv.h [_RESOLV_H_]:
8320 Don't include <tls.h>.
8321 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8322 * resolv/res_libc.c: Don't include <tls.h>.
8323 (_res): Use __attribute__ ((nocommon)) in place of
8324 __attribute__ ((section (".bss"))).
8325
bd81123a
RM
8326 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8327 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8328
c4e42566
RM
8329 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8330
f890a59b
RM
8331 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8332 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8333
8334 * resolv/res_mkquery.c: Include <sys/time.h>.
8335
5d1f0a09
RM
8336 * inet/ifreq.c: Moved to ...
8337 * sysdeps/unix/ifreq.c: ... here.
8338 * inet/ifreq.c: New file, true stub version.
8339
6fcf28b3
RM
8340 * socket/sa_len.c: New file.
8341 * socket/Makefile (aux): Add it.
8342 * sysdeps/unix/sysv/linux/Makefile
8343 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8344 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8345 and #include <socket/sa_len.c>.
8346 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8347 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8348
e041fb8b
RM
8349 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8350 * bits/socket.h: ... here.
8351
8cc3269f
RM
8352 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8353 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8354 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8355
5d228a43
AS
83562013-08-27 Andreas Schwab <schwab@suse.de>
8357
45b8accc
AS
8358 [BZ #15736]
8359 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8360 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8361 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8362 * string/test-strcasecmp.c (test_main): Run tests in several
8363 locales.
8364 * string/test-strncasecmp.c (test_main): Likewise.
8365
5d228a43
AS
8366 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8367 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8368 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8370 (__strncasecmp_ssse3) [PIC]: Likewise.
8371
59d112a4
RM
83722013-08-26 Roland McGrath <roland@hack.frob.com>
8373
53234cc3
RM
8374 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8375
59d112a4
RM
8376 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8377 instead of explicitly declaring xdecrypt.
8378 * nis/nss_nis/nis-publickey.c: Likewise.
8379
595aba70
SP
83802013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8381
8382 [BZ #15890]
8383 * nscd/aicache.c: Include res_hconf.h.
8384 (addhstaiX): Initialize res_hconf.
8385
ffabd393
AS
83862013-08-26 Andreas Schwab <schwab@suse.de>
8387
8388 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8389 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8390
e0a69f5c
SP
83912013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8392
8393 * nscd/aicache.c (addhstaiX): Fix indentation.
8394
8c12f01d
MF
83952013-08-25 Mike Frysinger <vapier@gentoo.org>
8396
8397 * configure.ac: Quote $build_pt_chown test.
8398 * configure: Regenerated.
8399
8fe89494
JM
84002013-08-23 Joseph Myers <joseph@codesourcery.com>
8401
8402 [BZ #15532]
8403 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8404 * math/s_cexpf.c (__cexpf): Likewise.
8405 * math/s_cexpl.c (__cexpl): Likewise.
8406 * math/libm-test.inc (cexp_test_data): Correct expected return
8407 value for NaN + i0. Add another test.
8408
75b181d6
DM
84092013-08-22 David S. Miller <davem@davemloft.net>
8410
8411 * po/ca.po: Update Catalan translation from translation project.
936241e4 8412 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 8413
acd06bb1
JM
84142013-08-21 Joseph Myers <joseph@codesourcery.com>
8415
8416 [BZ #15797]
8417 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8418 is infinite, not alongside NaN test.
8419 * math/s_fdimf.c (__fdimf): Likewise.
8420 * math/s_fdiml.c (__fdiml): Likewise.
8421 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8422 errno is unchanged.
8423
c0c3f78a
OB
84242013-08-21 Ondřej Bílka <neleai@seznam.cz>
8425
8426 * argp/argp-help.c: Fix typos.
8427 * crypt/speeds.c: Likewise.
8428 * csu/check_fds.c: Likewise.
8429 * elf/dl-load.c: Likewise.
8430 * elf/dl-open.c: Likewise.
8431 * elf/reldep3.c: Likewise.
8432 * elf/reldep.c: Likewise.
8433 * elf/sprof.c: Likewise.
8434 * iconv/iconv_charmap.c: Likewise.
8435 * iconv/skeleton.c: Likewise.
8436 * iconv/strtab.c: Likewise.
8437 * io/lockf64.c: Likewise.
8438 * libio/libioP.h: Likewise.
8439 * resolv/gai_notify.c: Likewise.
8440 * resolv/ns_name.c: Likewise.
8441 * resolv/ns_samedomain.c: Likewise.
8442 * resolv/res_send.c: Likewise.
8443 * stdlib/random.c: Likewise.
8444 * sunrpc/rpc/xdr.h: Likewise.
8445 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8446 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8453 * sysdeps/mach/hurd/check_fds.c: Likewise.
8454 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8455 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8456 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8457 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8458 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8459 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8460 * sysdeps/pthread/aio_notify.c: Likewise.
8461 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8462 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8463 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8464 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8465 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8466
46ed1038
LD
84672013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8468
8469 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8470 version if bit_Slow_SSE4_2 is set.
8471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8472 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8473
d400dcac
AZ
84742013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8475
8476 [BZ #15867]
8477 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8478 trampoline stack frame information.
8479 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8480 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8481 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8482 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8483 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8484 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8485 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8486 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8487 sa_flags value.
8488 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8489 interrupting a syscall and set with option SA_SIGINFO.
8490
42c8fdd8
JM
84912013-08-20 Joseph Myers <joseph@codesourcery.com>
8492
c980f2f4
JM
8493 [BZ #15531]
8494 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8495 argument is infinite.
8496 * math/s_cprojf.c (__cprojf): Likewise.
8497 * math/s_cprojl.c (__cprojl): Likewise.
8498 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8499 * math/libm-test.inc (cproj_test_data): Add more tests.
8500
0716c4fc
JM
8501 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8502
42c8fdd8
JM
8503 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8504 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8505 size. Use __ffs to determine corresponding shift.
8506
b31469d0
JM
85072013-08-20 Joseph Myers <joseph@codesourcery.com>
8508 Roland McGrath <roland@hack.frob.com>
8509
8510 * Makefile (INSTALL): Remove trailing blank lines from output of
8511 makeinfo.
8512
4e39af6e
AK
85132013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8514
8515 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8516 Align 32 bit compat elf_greg to 8 bytes.
8517
f315524e
AA
85182013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8519
8520 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8521
1326ba1a
SP
85222013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8523
8524 * string/strcoll_l.c (coll_seq): New structure.
8525 (get_next_seq_cached): New function.
8526 (get_next_seq): New function.
8527 (do_compare): New function.
8528 (STRCOLL): Use GNU style definition. Simplify implementation
8529 by using get_next_seq, get_next_seq_cached and do_compare.
8530
91ce4085
FW
85312013-08-16 Florian Weimer <fweimer@redhat.com>
8532
8533 [BZ #14699]
8534 CVE-2013-4237
8535 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8536 member.
8537 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8538 member.
8539 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8540 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8541 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8542 conditional.
8543 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8544 GETDENTS_64BIT_ALIGNED.
8545 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8546 * manual/filesys.texi (Reading/Closing Directory): Document
8547 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8548 strongly.
8549 * manual/conf.texi (Limits for Files): Add portability note to
8550 NAME_MAX, PATH_MAX.
8551 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8552
ca0a6bc4
AS
85532013-08-13 Andreas Schwab <schwab@suse.de>
8554
8555 [BZ #15749]
8556 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8557 of fabs.
8558 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8559 LDBL_MAX_EXP >= 16384]: Add tests for it.
8560
6c1fd795
DM
85612013-08-12 David S. Miller <davem@davemloft.net>
8562
8563 * version.h (RELEASE): Set to "development".
8564 (VERSION): Set to "2.18.90".
8565 * NEWS: Add 2.19 section.
8566
31ad488d
DM
85672013-08-03 David S. Miller <davem@davemloft.net>
8568
8569 * po/ko.po: Update Korean translation from translation project.
8570
db24e684
DM
85712013-08-01 David S. Miller <davem@davemloft.net>
8572
8573 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8574 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8575 Bilka.
8576
f723285b
DM
85772013-07-30 David S. Miller <davem@davemloft.net>
8578
8579 * po/fr.po: Update French translation from translation project.
8580
3cbc52db
DM
85812013-07-28 David S. Miller <davem@davemloft.net>
8582
30bbc0cc
DM
8583 * po/cs.po: Update Czech translation from translation project.
8584
3cbc52db
DM
8585 * po/sv.po: Update Swedish translation from translation project.
8586
d492e6d0
DM
85872013-07-27 David S. Miller <davem@davemloft.net>
8588
f1a7f492
DM
8589 * po/eo.po: Update Esperanto translation from translation project.
8590
90e62a4a
DM
8591 * po/vi.po: Update Vietnamese translation from translation project.
8592
d492e6d0
DM
8593 * po/de.po: Update German translation from translation project.
8594
d4baa62d
DM
85952013-07-26 David S. Miller <davem@davemloft.net>
8596
641aa7b4
DM
8597 * po/bg.po: Update Bulgarian translation from translation project.
8598
d4baa62d
DM
8599 * po/nl.po: Update Dutch translation from translation project.
8600 * po/pl.po: Update Polish translation from translation project.
8601 * po/ru.po: Update Russian translation from translation project.
8602
61a9dcb9
DM
86032013-07-24 David S. Miller <davem@davemloft.net>
8604
8605 * po/libc.pot: Update.
8606
7b1f8b58
AZ
86072013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8608
8609 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8610 variable page size.
8611 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8612 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8613 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8614
a8fc7a03
AK
86152013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8616
8617 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8618
e4608715
CD
86192013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8620 Andreas Schwab <schwab@suse.de>
8621 Roland McGrath <roland@hack.frob.com>
8622 Joseph Myers <joseph@codesourcery.com>
8623 Carlos O'Donell <carlos@redhat.com>
8624
8625 [BZ #15755]
8626 * config.h.in: Define HAVE_PT_CHOWN.
8627 * config.make.in (build-pt-chown): New variable.
8628 * configure.in (--enable-pt_chown): New configure option.
8629 * configure: Regenerate.
8630 * login/Makefile: Include Makeconfig. Build pt_chown only if
8631 build-pt-chown is enabled.
8632 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8633 pt_chown to fix pty ownership.
8634 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8635 CLOSE_ALL_FDS.
8636 * manual/install.texi (Configuring and compiling): Mention
8637 --enable-pt_chown. Add @findex for grantpt.
8638 * INSTALL: Regenerate.
8639
da2d62df
DM
86402013-07-20 David S. Miller <davem@davemloft.net>
8641
8642 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8643 difference between 32-bit and 64-bit.
8644
d7e06450
CD
86452013-07-15 Carlos O'Donell <carlos@redhat.com>
8646
8647 [BZ #15711]
8648 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8649 Avoid system header dependency with -ffreestanding.
8650 ($(objpfx)bits/syscall%d): Likewise.
8651
f959cfd7
DM
86522013-07-13 David S. Miller <davem@davemloft.net>
8653
8654 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8655 underflows from atanl/atan2l due to bug 15319.
8656 (casinh_test_data): Likewise.
8657
c61f8513
DM
86582013-07-07 David S. Miller <davem@davemloft.net>
8659
8660 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8661
72c90ed0
JA
86622013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8663
8664 * sysdeps/i386/fpu/libm-test-ulps: Update.
8665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8666
52dfbe13
SP
86672013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8668
8669 * configure.in (--enable-lock-elision): Fix message text.
8670 * INSTALL: Regenerate.
8671 * configure: Regenerate.
8672
3f169543
AZ
86732013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8674
8675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8676
521c6785
AJ
86772013-07-03 Andreas Jaeger <aj@suse.de>
8678
8679 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8680 define.
8681 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8682 (ptrace_peeksiginfo_args): Add.
8683 (__ptrace_peeksiginfo_flags): Add.
8684 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8686 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8687
d2cc15cb
AM
86882013-07-03 Allan McRae <allan@archlinux.org>
8689
8690 * sysdeps/i386/fpu/libm-test-ulps: Update.
8691
3aaeeca7
DM
86922013-07-02 David S. Miller <davem@davemloft.net>
8693
8694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8695
5314ed1a
MT
86962013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8697
8698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8699
67338156
JM
87002013-07-02 Joseph Myers <joseph@codesourcery.com>
8701
8702 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8704
1717da59
AK
87052013-07-02 Andi Kleen <ak@linux.intel.com>
8706
8707 * config.h.in (ENABLE_LOCK_ELISION): Add.
8708 * configure.in (--enable-lock-elision): Add option.
8709 * manual/install.texi: Document --enable lock elision.
8710 * configure: Regenerate
8711 * INSTALL: Regenerate.
8712
1c81621c
L
87132013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8714
8715 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8716 SSE4.2 strcasecmp for libc.a.
8717 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8718
77f01ab5
JM
87192013-07-02 Joseph Myers <joseph@codesourcery.com>
8720
8721 [BZ #13304]
8722 * soft-fp/op-common.h (_FP_FMA): New macro.
8723 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8724 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8725 (_FP_MUL_MEAT_1_imm): ... here.
8726 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8727 (_FP_MUL_MEAT_1_wide): ... here.
8728 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8729 (_FP_MUL_MEAT_1_hard): ... here.
8730 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8731 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8732 (_FP_MUL_MEAT_2_wide): ... here.
8733 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8734 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8735 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8736 (_FP_MUL_MEAT_2_gmp): ... here.
8737 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8738 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8739 (_FP_MUL_MEAT_4_wide): ... here.
8740 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8741 (_FP_MUL_MEAT_4_gmp): ... here.
8742 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8743 (_FP_WFRACBITS_DW_S): Likewise.
8744 (_FP_WFRACXBITS_DW_S): Likewise.
8745 (_FP_HIGHBIT_DW_S): Likewise.
8746 (FP_FMA_S): Likewise.
8747 (_FP_FRAC_HIGH_DW_S): Likewise.
8748 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8749 (_FP_WFRACBITS_DW_D): Likewise.
8750 (_FP_WFRACXBITS_DW_D): Likewise.
8751 (_FP_HIGHBIT_DW_D): Likewise.
8752 (FP_FMA_D): Likewise.
8753 (_FP_FRAC_HIGH_DW_D): Likewise.
8754 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8755 (_FP_WFRACBITS_DW_E): Likewise.
8756 (_FP_WFRACXBITS_DW_E): Likewise.
8757 (_FP_HIGHBIT_DW_E): Likewise.
8758 (FP_FMA_E): Likewise.
8759 (_FP_FRAC_HIGH_DW_E): Likewise.
8760 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8761 (_FP_WFRACBITS_DW_Q): Likewise.
8762 (_FP_WFRACXBITS_DW_Q): Likewise.
8763 (_FP_HIGHBIT_DW_Q): Likewise.
8764 (FP_FMA_Q): Likewise.
8765 (_FP_FRAC_HIGH_DW_Q): Likewise.
8766 * soft-fp/fmasf4.c: New file.
8767 * soft-fp/fmadf4.c: Likewise.
8768 * soft-fp/fmatf4.c: Likewise.
8769
6308fd9a
LD
87702013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8771
8772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8773 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8774 Silvermont.
8775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8776 macro.
8777 (index_Slow_SSE4_2): Likewise.
8778 (index_Prefer_PMINUB_for_stringop): Likewise.
8779 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8780 bit_Slow_SSE4_2 is set.
8781 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8783
89cd9569
RA
87842013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8785
8786 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8787 rtld_global._dl_hwcap2.
8788 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8789 POWER8.
8790 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8791 POWER8 feature descriptions defined in _dl_hwcap2.
8792 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8793 string handling for POWER8 feature bits.
8794 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8795 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8796 _dl_powerpc_cap_flags.
8797 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8798 * sysdeps/powerpc/rtld-global-offsets.sym
8799 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8800 _dl_hwcap2 in the rtld_global_ro structure.
8801
1ae8bfe0
RA
88022013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8803
8804 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8805 hardware capabilities in support of AT_HWCAP2.
8806 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8807 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8808 GLRO(dl_hwcap2).
8809 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8810 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8811 explicitly the unknown a_type display mechanism is used.
8812 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8813 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8814 struct member.
8815 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8816 to macro prototype for AT_HWCAP2 support.
8817 * sysdeps/i386/dl-procinfo.h: Likewise.
8818 * sysdeps/s390/dl-procinfo.h: Likewise.
8819 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8820 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8821 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8822 return -1 for unknown a_type display fallback.
8823 * sysdeps/sparc/dl-procinfo.h: Likewise.
8824 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8825 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8826
8fbec010
JM
88272013-06-28 Joseph Myers <joseph@codesourcery.com>
8828
8829 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8830 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8831
0432680e
PY
88322013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8833
8834 [BZ #12492]
8835 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8836 mprotect making __stack_prot writable.
8837
ce61a2ad
NF
88382013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8839 Joseph Myers <joseph@codesourcery.com>
8840
8841 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8842 as being properly aligned.
8843
f91f1c0f
MR
88442013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8845
3d0f5d0c
MR
8846 * dlfcn/modstatic5.c: New file.
8847 * dlfcn/tststatic5.c: New file.
8848 * dlfcn/Makefile (tests): Add tststatic5.
8849 (tests-static): Likewise.
8850 (modules-names): Add modstatic5.
8851 (tststatic5-ENV): New variable.
8852 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8853
f91f1c0f
MR
8854 [BZ #15022]
8855 * elf/dl-support.c (_dl_main_map): New variable.
8856 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8857 (_dl_nns, _dl_load_adds): Set to 1.
8858 (_dl_initial_searchlist): Refer to _dl_main_map.
8859 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8860 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8861 call to _dl_get_origin.
8862 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8863 around call_map.
8864 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8865 * dlfcn/modstatic3.c: New file.
8866 * dlfcn/tststatic3.c: New file.
8867 * dlfcn/tststatic4.c: New file.
8868 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8869 (tests-static): Likewise.
8870 (modules-names): Add modstatic3.
8871 (tststatic3-ENV, tststatic4-ENV): New variables.
8872 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8873 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8874
cbe7d24b
JM
88752013-06-26 Joseph Myers <joseph@codesourcery.com>
8876
8877 * configure.in (CC): Require GCC version 4.4 or later.
8878 * configure: Regenerated.
8879 * manual/install.texi (Tools for Compilation): Update GCC version
8880 requirement.
8881 * INSTALL: Regenerated.
8882
11b8a0e1
LD
88832013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8884
8885 [BZ #15674]
bb5bb87c
L
8886 * string/test-memcmp.c (check2): New.
8887 (main): Call check2.
8888
11b8a0e1
LD
8889 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8890
b0037103
MR
88912013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8892
8893 [BZ #15022]
8894 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8895 over to...
8896 (dl_open_worker) [!SHARED]: ... here.
8897
c18c701d
RA
88982013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8899
8900 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8901
1d17fa5f
RH
89022013-06-25 Richard Henderson <rth@redhat.com>
8903
8904 * locale/programs/locarchive.c: Include <libc-internal.h>
8905
8fcb833a
JM
89062013-06-25 Joseph Myers <joseph@codesourcery.com>
8907
8908 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8909 trailing whitespace removed.
8910
17db6e8d
MF
89112013-06-24 Mike Frysinger <vapier@gentoo.org>
8912
8913 [BZ #10283]
17db6e8d
MF
8914 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8915 * locale/programs/locarchive.c: Include libc-mmap.h.
8916 (prepare_address_space): Take two new outputs (the mmap base and len).
8917 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8918 values.
8919 (create_archive): Declare new mmap base and len values for
8920 prepare_address_space, and store the result in ah.
8921 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8922 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8923 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8924 Declare new mmap base and len values for
8925 prepare_address_space, and store the result in new_ah.
8926 (open_archive): Declare new mmap base and len values for
8927 prepare_address_space, and store the result in ah.
8928 (close_archive): If ah->mmap_base is not NULL, use that and
8929 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8930 * sysdeps/generic/libc-mmap.h: New file.
8931
d605071e
MF
89322013-06-24 Mike Frysinger <vapier@gentoo.org>
8933
8934 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8935 (ALIGN_UP): Likewise.
8936 (PTR_ALIGN_DOWN): Likewise.
8937 (PTR_ALIGN_UP): Likewise.
8938
2f063a6e
RA
89392013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8940
8941 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8942 entry mapped to PPC_PLATFORM_POWER8.
8943 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8944 POWER8.
8945 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8946 (_dl_string_platform): Add case for exporting platform position for
8947 POWER8.
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8949 search path to sysdeps/powerpc/powerpc32/power8 directory.
8950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8951 search path to sysdeps/powerpc/powerpc64/power8 directory.
8952 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8953 power7 directories.
8954 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8955 power7 directories.
8956
a31ee4b3
SP
89572013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8958
a74ca98f
SP
8959 * INSTALL: Regenerate.
8960
a31ee4b3
SP
8961 * nscd/connections.c (nscd_init): Fix comment.
8962
695c378f
JM
89632013-06-22 Joseph Myers <joseph@codesourcery.com>
8964
d8412221
JM
8965 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8966
695c378f
JM
8967 [BZ #15667]
8968 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8969 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8970
d1d54715
MR
89712013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8972
8973 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8974 DL_DST_REQ_STATIC.
8975 (DL_DST_REQ_STATIC): Remove macro.
8976
8fdda7af
JM
89772013-06-21 Joseph Myers <joseph@codesourcery.com>
8978
8979 [BZ #7006]
8980 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8981 with a shift of 0 bits.
8982
f3bc5e5a
MR
89832013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8984
8985 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8986 $(tststatic-ENV).
8987
be09e8c9
KK
89882013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8989
8990 [BZ #15655]
8991 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8992
85c2e611
AZ
89932013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8994
8995 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8996 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8997 accepts -fno-tree-loop-distribute-patterns.
8998 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8999 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
9000 recursive call.
9001 * string/memset.c (memset): Likewise.
9002 * string/test-memmove.c (simple_memmove): Disable loop transformation
9003 to library calls.
9004 * string/test-memset.c (simple_memset): Likewise.
9005 * benchtests/bench-memmove.c (simple_memmove): Likewise.
9006 * benchtests/bench-memset.c (simple_memset): Likewise.
9007 * configure: Regenerated.
9008
c91e0825
JM
90092013-06-20 Joseph Myers <joseph@codesourcery.com>
9010
b8c792af
JM
9011 * math/test-misc.c (main): Ignore fesetround failure when failures
9012 of subsequent rounding tests would be ignored.
9013
c91e0825
JM
9014 [BZ #15654]
9015 * math/fedisblxcpt.c (fedisableexcept): Return 0.
9016 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
9017 * math/fegetenv.c (__fegetenv): Return 0.
9018 * math/fegetexcept.c (fegetexcept): Return 0.
9019 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
9020 FE_TONEAREST.
9021 * math/feholdexcpt.c (feholdexcept): Return 0.
9022 * math/fesetenv.c (__fesetenv): Return 0.
9023 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
9024 argument FE_TONEAREST.
9025 * math/feupdateenv.c (__feupdateenv): Return 0.
9026 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
9027
bfcacbde
RM
90282013-06-18 Roland McGrath <roland@hack.frob.com>
9029
9030 * elf/rtld-Rules (rtld-compile-command.S): New variable.
9031 (rtld-compile-command.s, rtld-compile-command.c): New variables.
9032 ($(objpfx)rtld-%.os rules): Use them.
9033
e55a9b25
AZ
90342013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9035
9036 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
9037 fields.
9038
346d65b3
RM
90392013-06-17 Roland McGrath <roland@hack.frob.com>
9040
12086fb4
RM
9041 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
9042 length of target pattern, then descending length of dependency pattern.
9043 * configure.in (AWK): Require gawk 3.1.2 or newer.
9044 * manual/install.texi (Tools for Compilation): Say that we do.
9045 * configure: Regenerated.
9046
346d65b3
RM
9047 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
9048 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
9049 * scripts/sysd-rules.awk: ... this new script.
9050 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
9051 than a glob-style pattern.
9052
1a846317
JM
90532013-06-17 Joseph Myers <joseph@codesourcery.com>
9054
9055 * math/test-misc.c (main): Do not treat incorrectly rounded
9056 conversions as failure unless ROUNDING_TESTS passes.
9057
8fc75e6f
JM
90582013-06-15 Joseph Myers <joseph@codesourcery.com>
9059
3711a167
JM
9060 [BZ #15631]
9061 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
9062 restore exception state around main square root computation, then
9063 check for inexactness explicitly.
9064
8fc75e6f
JM
9065 * math/libm-test.inc (fma_test_data): Add another test.
9066
61dd6208
SP
90672013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9068
adf23d2c
SP
9069 * manual/threads.texi (Non-POSIX Extensions): New document
9070 node. Document pthread_getattr_default_np and
9071 pthread_setattr_default_np.
9072
61dd6208
SP
9073 * Versions.def (libpthread): Add GLIBC_2.18.
9074 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9076 Likewise.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9078 Likewise.
9079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9080 Likewise.
9081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9082 Likewise.
9083 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
9084 Likewise.
9085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9086 Likewise.
9087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9088 Likewise.
9089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9090 Likewise.
9091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9092 Likewise.
9093
d086fc7b
LD
90942013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9095
9096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9097 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
9098
747ef469
SP
90992013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9100 H.J. Lu <hjl.tools@gmail.com>
9101
9102 [BZ #15627]
9103 * sysdeps/x86_64/rtld-memset.c: Remove file.
9104 * sysdeps/x86_64/rtld-memset.S: New file.
9105
1b2feed2
JM
91062013-06-14 Joseph Myers <joseph@codesourcery.com>
9107
9108 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
9109 (test_in_one_mode): Take arguments for whether the rounding mode
9110 is supported for each floating-point type.
9111 (do_test): Pass new arguments to test_in_one_mode using
9112 ROUNDING_TESTS.
9113
a58ad3f8
RM
91142013-06-13 Roland McGrath <roland@hack.frob.com>
9115
9116 * posix/tst-waitid.c (do_test): Distinguish different instances of
9117 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
9118 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
9119 before entering the kernel for waitpid.
9120
c204ab28
SP
91212013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9122
9123 * NEWS: Fix note on clock function precision. Text by Roland
9124 McGrath.
9125
f4a29fba
RM
91262013-06-13 Roland McGrath <roland@hack.frob.com>
9127
9128 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
9129 it into place only when and if the sanity check passes.
9130
1f24b9ad
JM
91312013-06-13 Joseph Myers <joseph@codesourcery.com>
9132
9133 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
9134 output for whether conversion result is exact. Take argument
9135 indicating whether type is IBM long double.
9136 (round_for_all): Change need_exact field to ibm_ld.
9137 * stdlib/tst-strtod-round.c (struct exactness): New type.
9138 (struct test): Change bool ld_ok field to struct exactness exact.
9139 (TEST): Update all definitions for change to field.
9140 (tests): Regenerate array contents.
9141 (test_in_one_mode): Take pointer to new field instead of old ld_ok
9142 field value. Check for IBM long double here.
9143 (do_test): Update calls to test_in_one_mode.
9144
58206c68
SP
91452013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9146
9147 [BZ #12515]
9148 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9149 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9150
2d6f4c5b 91512013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
9152
9153 [BZ #15605]
9154 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9155 generated by the compiler on loop optimizations.
9156 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9157 general definitions.
9158
94f2c076
JM
91592013-06-12 Joseph Myers <joseph@codesourcery.com>
9160
9161 * math/bug-nextafter.c: Include <math-tests.h>.
9162 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9163 the relevant type.
9164 * math/bug-nexttoward.c: Include <math-tests.h>.
9165 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9166 the relevant type.
9167 * math/test-misc.c: Include <math-tests.h>.
9168 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9169 the relevant type.
9170
e0e50a0a
AJ
91712013-06-12 Andreas Jaeger <aj@suse.de>
9172
9173 * po/ia.po: Update Interlingua translation from translation
9174 project.
9175
25061094
SP
91762013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9177
9178 * include/fenv.h: Include stdbool.h.
9179 (struct rm_ctx): New structure.
9180 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9181 Define macro.
9182 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9183 (SET_RESTORE_ROUNDF): Likewise.
9184 (SET_RESTORE_ROUNDL): Likewise.
9185 (SET_RESTORE_ROUND_NOEX): Likewise.
9186 (SET_RESTORE_ROUND_NOEXF): Likewise.
9187 (SET_RESTORE_ROUND_NOEXL): Likewise.
9188 (SET_RESTORE_ROUND_53BIT): Likewise.
9189 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9190 (libc_feresetround_noexf_ctx): Likewise.
9191 (libc_feresetround_noexl_ctx): Likewise.
9192 (libc_feholdsetround_53bit_ctx): Likewise.
9193 (libc_feresetround_53bit_ctx): Likewise.
9194 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9195 (libc_feholdexcept_setround_sse_ctx): New function.
9196 (libc_fesetenv_sse_ctx): Likewise.
9197 (libc_feupdateenv_sse_ctx): Likewise.
9198 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9199 (libc_feholdexcept_setround_387_ctx): Likewise.
9200 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9201 (libc_feholdsetround_387_prec_ctx): Likewise.
9202 (libc_feholdsetround_387_ctx): Likewise.
9203 (libc_feholdsetround_387_53bit_ctx): Likewise.
9204 (libc_feholdsetround_sse_ctx): Likewise.
9205 (libc_feresetround_sse_ctx): Likewise.
9206 (libc_feresetround_387_ctx): Likewise.
9207 (libc_feupdateenv_387_ctx): Likewise.
9208 (libc_feholdexcept_setroundf_ctx): Define macro.
9209 (libc_fesetenvf_ctx): Likewise.
9210 (libc_feupdateenvf_ctx): Likewise.
9211 (libc_feholdsetroundf_ctx): Likewise.
9212 (libc_feresetroundf_ctx): Likewise.
9213 (libc_feholdexcept_setround_ctx): Likewise.
9214 (libc_fesetenv_ctx): Likewise.
9215 (libc_feupdateenv_ctx): Likewise.
9216 (libc_feholdsetround_ctx): Likewise.
9217 (libc_feresetround_ctx): Likewise.
9218 (libc_feholdexcept_setroundl_ctx): Likewise.
9219 (libc_feupdateenvl_ctx): Likewise.
9220 (libc_feholdsetroundl_ctx): Likewise.
9221 (libc_feresetroundl_ctx): Likewise.
9222 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9223 (libc_feresetround_53bit_ctx): Likewise.
9224
59b30555
SP
92252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9226
9227 * locale/iso-639.def: Convert to UTF-8.
9228
f1d73d30
JM
92292013-06-11 Joseph Myers <joseph@codesourcery.com>
9230
9231 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9232 (EXCEPTION_TESTS_double): Likewise.
9233 (EXCEPTION_TESTS_long_double): Likewise.
9234 (EXCEPTION_TESTS): Likewise.
9235 * math/libm-test.inc (test_exceptions): Only test exceptions if
9236 EXCEPTION_TESTS (FLOAT).
9237
94aca5e7
SP
92382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9239
9240 * benchtests/Makefile (string-bench): Add strcpy_chk and
9241 stpcpy_chk.
9242 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9243 * benchtests/bench-stpcpy_chk.c: New file.
9244 * benchtests/bench-strcpy_chk-ifunc.c: New file.
9245 * benchtests/bench-strcpy_chk.c: New file.
9246 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9247 code.
9248 (do_test): Likewise.
9249
fac0c5f2
RA
92502013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9251
9252 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9253 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9254 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9255 with tabs where appropriate.
9256 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9257 dl-procinfo.h.
9258 [PPC_PLATFORM_PPC440]: Likewise.
9259 [PPC_PLATFORM_PPC464]: Likewise.
9260 [PPC_PLATFORM_PPC476]: Likewise.
9261 (_dl_string_platform): Add support for detecting ppc405, ppc440,
9262 ppc464, and ppc476 platform strings merging from ports/
9263 dl-procinfo.h.
9264
f22bc486
AS
92652013-06-11 Andreas Schwab <schwab@suse.de>
9266
9267 [BZ #14991]
9268 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9269 (from_ucs4_idx): Regenerate.
9270 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9271 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9272 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9273 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9274 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9275 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9276 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9277 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9278 from FROM_LOOP and TO_LOOP specific macros.
9279 (BODY): Handle combining characters.
9280 * iconvdata/BIG5HKSCS.irreversible: Update.
9281 * iconvdata/BIG5HKSCS.precomposed: New file.
9282 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9283 characters.
9284 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9285
c1f75dc3
SP
92862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9287
4eacded2
SP
9288 * include/sys/time.h: Fix indentation and add copyright header.
9289
fec799f8
SP
9290 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9291 (do_test): Likewise.
9292 * string/test-memchr.c (do_one_test): Likewise.
9293 (do_test): Likewise.
9294 * string/test-memcmp.c (do_one_test): Likewise.
9295 (do_test): Likewise.
9296 * string/test-memcpy.c (do_one_test): Likewise.
9297 (do_test): Likewise.
9298 * string/test-memmem.c (do_one_test): Likewise.
9299 (do_test): Likewise.
9300 (do_random_tests): Likewise.
9301 * string/test-memmove.c (do_one_test): Likewise.
9302 (do_test): Likewise.
9303 * string/test-memset.c (do_one_test): Likewise.
9304 (do_test): Likewise.
9305 * string/test-rawmemchr.c (do_one_test): Likewise.
9306 (do_test): Likewise.
9307 * string/test-strcasecmp.c (do_one_test): Likewise.
9308 (do_test): Likewise.
9309 * string/test-strcasestr.c (do_one_test): Likewise.
9310 (do_test): Likewise.
9311 * string/test-strcat.c (do_one_test): Likewise.
9312 (do_test): Likewise.
9313 * string/test-strchr.c (do_one_test): Likewise.
9314 (do_test): Likewise.
9315 * string/test-strcmp.c (do_one_test): Likewise.
9316 (do_test): Likewise.
9317 * string/test-strcpy.c (do_one_test): Likewise.
9318 (do_test): Likewise.
9319 * string/test-string.h: Likewise.
9320 (test_init): Likewise.
9321 * string/test-strlen.c (do_one_test): Likewise.
9322 (do_test): Likewise.
9323 * string/test-strncasecmp.c (do_one_test): Likewise.
9324 (do_test): Likewise.
9325 * string/test-strncat.c (do_one_test): Likewise.
9326 (do_test): Likewise.
9327 * string/test-strncmp.c (do_one_test): Likewise.
9328 (do_test_limit): Likewise.
9329 (do_test): Likewise.
9330 * string/test-strncpy.c (do_one_test): Likewise.
9331 (do_test): Likewise.
9332 * string/test-strnlen.c (do_one_test): Likewise.
9333 (do_test): Likewise.
9334 * string/test-strpbrk.c (do_one_test): Likewise.
9335 (do_test): Likewise.
9336 * string/test-strrchr.c (do_one_test): Likewise.
9337 (do_test): Likewise.
9338 * string/test-strspn.c (do_one_test): Likewise.
9339 (do_test): Likewise.
9340 * string/test-strstr.c (do_one_test): Likewise.
9341 (do_test): Likewise.
9342
97020474
SP
9343 * benchtests/Makefile (string-bench): Add string benchmarks.
9344 * benchtests/bench-bcopy-ifunc.c: New file.
9345 * benchtests/bench-bcopy.c: New file.
9346 * benchtests/bench-bzero-ifunc.c: New file.
9347 * benchtests/bench-bzero.c: New file.
9348 * benchtests/bench-memccpy-ifunc.c: New file.
9349 * benchtests/bench-memccpy.c: New file.
9350 * benchtests/bench-memchr-ifunc.c: New file.
9351 * benchtests/bench-memchr.c: New file.
9352 * benchtests/bench-memcmp-ifunc.c: New file.
9353 * benchtests/bench-memcmp.c: New file.
9354 * benchtests/bench-memmem-ifunc.c: New file.
9355 * benchtests/bench-memmem.c: New file.
9356 * benchtests/bench-memmove-ifunc.c: New file.
9357 * benchtests/bench-memmove.c: New file.
9358 * benchtests/bench-mempcpy-ifunc.c: New file.
9359 * benchtests/bench-mempcpy.c: New file.
9360 * benchtests/bench-memset-ifunc.c: New file.
9361 * benchtests/bench-memset.c: New file.
9362 * benchtests/bench-rawmemchr-ifunc.c: New file.
9363 * benchtests/bench-rawmemchr.c: New file.
9364 * benchtests/bench-stpcpy-ifunc.c: New file.
9365 * benchtests/bench-stpcpy.c: New file.
9366 * benchtests/bench-stpncpy-ifunc.c: New file.
9367 * benchtests/bench-stpncpy.c: New file.
9368 * benchtests/bench-strcasecmp-ifunc.c: New file.
9369 * benchtests/bench-strcasecmp.c: New file.
9370 * benchtests/bench-strcasestr-ifunc.c: New file.
9371 * benchtests/bench-strcasestr.c: New file.
9372 * benchtests/bench-strcat-ifunc.c: New file.
9373 * benchtests/bench-strcat.c: New file.
9374 * benchtests/bench-strchr-ifunc.c: New file.
9375 * benchtests/bench-strchr.c: New file.
9376 * benchtests/bench-strchrnul-ifunc.c: New file.
9377 * benchtests/bench-strchrnul.c: New file.
9378 * benchtests/bench-strcmp-ifunc.c: New file.
9379 * benchtests/bench-strcmp.c: New file.
9380 * benchtests/bench-strcpy-ifunc.c: New file.
9381 * benchtests/bench-strcpy.c: New file.
9382 * benchtests/bench-strcspn-ifunc.c: New file.
9383 * benchtests/bench-strcspn.c: New file.
9384 * benchtests/bench-strlen-ifunc.c: New file.
9385 * benchtests/bench-strlen.c: New file.
9386 * benchtests/bench-strncasecmp-ifunc.c: New file.
9387 * benchtests/bench-strncasecmp.c: New file.
9388 * benchtests/bench-strncat-ifunc.c: New file.
9389 * benchtests/bench-strncat.c: New file.
9390 * benchtests/bench-strncmp-ifunc.c: New file.
9391 * benchtests/bench-strncmp.c: New file.
9392 * benchtests/bench-strncpy-ifunc.c: New file.
9393 * benchtests/bench-strncpy.c: New file.
9394 * benchtests/bench-strnlen-ifunc.c: New file.
9395 * benchtests/bench-strnlen.c: New file.
9396 * benchtests/bench-strpbrk-ifunc.c: New file.
9397 * benchtests/bench-strpbrk.c: New file.
9398 * benchtests/bench-strrchr-ifunc.c: New file.
9399 * benchtests/bench-strrchr.c: New file.
9400 * benchtests/bench-strspn-ifunc.c: New file.
9401 * benchtests/bench-strspn.c: New file.
9402 * benchtests/bench-strstr-ifunc.c: New file.
9403 * benchtests/bench-strstr.c: New file.
9404
c1f75dc3
SP
9405 * benchtests/Makefile: Disable parallel execution of targets.
9406 (string-bench): Add memcpy.
9407 (benchset): New variable to store a list of benchmark sets.
9408 (bench-func): Renamed from bench.
9409 (bench-set): New target.
9410 (bench): Depend on bench-func and bench-set.
9411 * benchtests/README: Add section on benchmark sets.
9412 * benchtests/bench-memcpy-ifunc.c: New file.
9413 * benchtests/bench-memcpy.c: New file.
9414 * benchtests/bench-string.h: New file.
9415
50fd745b
AS
94162013-06-11 Andreas Schwab <schwab@suse.de>
9417
9418 [BZ #15577]
9419 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9420 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9421 values in the triple.
9422 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9423 terminator in the group key.
9424
3ee7e9fe
AJ
94252013-06-11 Andreas Jaeger <aj@suse.de>
9426
9427 * po/zh_TW.po: Update Chinese (traditional) translation from
9428 translation project.
9429
89fb6835
SP
94302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9431
9432 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9433 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9434 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9436 (clock_getcpuclockid): Likewise.
9437 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9438 Add weak_alias and libc_hidden_def.
9439 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9440 * rt/clock_gettime.c (clock_gettime): Rename to
9441 __clock_gettime. Add weak_alias and libc_hidden_def.
9442 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9443 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9444 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9445 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9446 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9447 Likewise.
9448 * rt/clock_settime.c (clock_settime): Rename to
9449 __clock_settime. Add weak_alias and libc_hidden_def.
9450 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9451
0efa6f8b
JM
94522013-06-10 Joseph Myers <joseph@codesourcery.com>
9453
b8c61b4b
JM
9454 * mach/err_boot.sub: Remove trailing whitespace.
9455 * mach/err_ipc.sub: Likewise.
9456 * mach/err_mach.sub: Likewise.
9457
0efa6f8b
JM
9458 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9459 (ROUNDING_TESTS_double): Likewise.
9460 (ROUNDING_TESTS_long_double): Likewise.
9461 (ROUNDING_TESTS): Likewise.
9462 * math/libm-test.inc: Include <math-tests.h>.
9463 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9464 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9465 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9466 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9467
50b818bf
SP
94682013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9469
9470 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9471 of assigning.
9472
60d2f8f3
JM
94732013-06-08 Joseph Myers <joseph@codesourcery.com>
9474
4902d2c3
JM
9475 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9476 otherwise empty TRANS lines.
9477 * sysdeps/gnu/errlist.c: Regenerated.
9478
60d2f8f3
JM
9479 * catgets/gencat.c (error_print): Use (void) in function
9480 definition.
9481 * crypt/crypt_util.c (__init_des): Likewise.
9482 * crypt/speeds.c (Stop): Likewise.
9483 (main): Likewise.
9484 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9485 * inet/ruserpass.c (token): Likewise.
9486 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9487 * intl/localealias.c (extend_alias_table): Likewise.
9488 * intl/plural-exp.c (init_germanic_plural): Likewise.
9489 * libio/fcloseall.c (__fcloseall): Likewise.
9490 * libio/genops.c (_IO_flush_all): Likewise.
9491 (_IO_flush_all_linebuffered): Likewise.
9492 (_IO_cleanup): Likewise.
9493 (_IO_iter_begin): Likewise.
9494 (_IO_iter_end): Likewise.
9495 (_IO_list_lock): Likewise.
9496 (_IO_list_unlock): Likewise.
9497 (_IO_list_resetlock): Likewise.
9498 * libio/getchar.c (getchar): Likewise.
9499 * libio/getchar_u.c (getchar_unlocked): Likewise.
9500 * libio/getwchar.c (getwchar): Likewise.
9501 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9502 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9503 * login/getpt.c (__getpt): Likewise.
9504 * login/tst-utmp.c (main): Likewise.
9505 * malloc/hooks.c (__malloc_check_init): Likewise.
9506 * malloc/malloc.c (__malloc_stats): Likewise.
9507 * malloc/mtrace.c (tr_break): Likewise.
9508 (mtrace): Likewise.
9509 (muntrace): Likewise.
9510 * misc/fstab.c (endfsent): Likewise.
9511 * misc/getclktck.c (__getclktck): Likewise.
9512 * misc/getdtsz.c (__getdtablesize): Likewise.
9513 * misc/gethostid.c (gethostid): Likewise.
9514 * misc/getpagesize.c (__getpagesize): Likewise.
9515 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9516 (__get_nprocs): Likewise.
9517 (__get_phys_pages): Likewise.
9518 (__get_avphys_pages): Likewise.
9519 * misc/getttyent.c (getttyent): Likewise.
9520 (setttyent): Likewise.
9521 (endttyent): Likewise.
9522 * misc/getusershell.c (getusershell): Likewise.
9523 (endusershell): Likewise.
9524 (setusershell): Likewise.
9525 (initshells): Likewise.
9526 * misc/hsearch.c (__hdestroy): Likewise.
9527 * misc/sync.c (sync): Likewise.
9528 * misc/syslog.c (closelog_internal): Likewise.
9529 (closelog): Likewise.
9530 * misc/ttyslot.c (ttyslot): Likewise.
9531 * misc/vhangup.c (vhangup): Likewise.
9532 * posix/fork.c (__fork): Likewise.
9533 * posix/getegid.c (__getegid): Likewise.
9534 * posix/geteuid.c (__geteuid): Likewise.
9535 * posix/getgid.c (__getgid): Likewise.
9536 * posix/getpid.c (__getpid): Likewise.
9537 * posix/getppid.c (__getppid): Likewise.
9538 * posix/getuid.c (__getuid): Likewise.
9539 * posix/pause.c (pause): Likewise.
9540 * posix/setpgrp.c (setpgrp): Likewise.
9541 * posix/setsid.c (__setsid): Likewise.
9542 * posix/test-vfork.c (noop): Likewise.
9543 * resolv/gethnamaddr.c (_endhtent): Likewise.
9544 (_gethtent): Likewise.
9545 (ht_endhostent): Likewise.
9546 (gethostent): Likewise.
9547 (dns_service): Likewise.
9548 * stdlib/drand48.c (drand48): Likewise.
9549 * stdlib/lrand48.c (lrand48): Likewise.
9550 * stdlib/mrand48.c (mrand48): Likewise.
9551 * stdlib/rand.c (rand): Likewise.
9552 * stdlib/random.c (__random): Likewise.
9553 * stdlib/setenv.c (clearenv): Likewise.
9554 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9555 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9556 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9557 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9558 (__get_nprocs): Likewise.
9559 (__get_phys_pages): Likewise.
9560 (__get_avphys_pages): Likewise.
9561 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9562 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9563 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9564 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9565 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9566 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9567 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9568 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9569 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9570 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9571 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9572 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9573 * sysdeps/posix/clock.c (clock): Likewise.
9574 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9575 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9576 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9577 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9578 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9580 (__get_nprocs_conf): Likewise.
9581 (__get_phys_pages): Likewise.
9582 (__get_avphys_pages): Likewise.
9583 * time/clock.c (clock): Likewise.
9584 * time/tzset.c (__tzname_max): Likewise.
9585
2e09a79a
JM
95862013-06-07 Joseph Myers <joseph@codesourcery.com>
9587
9588 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9589 (__bswap_32): Do not use "register".
9590 * crypt/crypt.c (_ufc_doit_r): Likewise.
9591 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9592 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9593 * gmon/gmon.c (__monstartup): Likewise.
9594 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9595 * hurd/hurdmalloc.c (more_memory): Likewise.
9596 (malloc): Likewise.
9597 (free): Likewise.
9598 (realloc): Likewise.
9599 (malloc_fork_prepare): Likewise.
9600 (malloc_fork_parent): Likewise.
9601 (malloc_fork_child): Likewise.
9602 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9603 (_svcauth_des): Likewise.
9604 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9605 * inet/inet_net.c (inet_network): Likewise.
9606 * inet/inet_netof.c (inet_netof): Likewise.
9607 * inet/rcmd.c (__validuser2_sa): Likewise.
9608 * io/fts.c (fts_open): Likewise.
9609 (fts_load): Likewise.
9610 (fts_close): Likewise.
9611 (fts_read): Likewise.
9612 (fts_children): Likewise.
9613 (fts_build): Likewise.
9614 (fts_stat): Likewise.
9615 (fts_sort): Likewise.
9616 (fts_alloc): Likewise.
9617 (fts_lfree): Likewise.
9618 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9619 (_IO_file_xsgetn): Likewise.
9620 (_IO_file_xsgetn_mmap): Likewise.
9621 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9622 (_IO_cookie_write): Likewise.
9623 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9624 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9625 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9626 * malloc/obstack.c (_obstack_begin): Likewise.
9627 (_obstack_begin_1): Likewise.
9628 (_obstack_newchunk): Likewise.
9629 (_obstack_allocated_p): Likewise.
9630 (obstack_free): Likewise.
9631 (_obstack_memory_used): Likewise.
9632 * misc/getttyent.c (getttynam): Likewise.
9633 (getttyent): Likewise.
9634 (skip): Likewise.
9635 (value): Likewise.
9636 * misc/getusershell.c (initshells): Likewise.
9637 * misc/syslog.c (__vsyslog_chk): Likewise.
9638 * misc/ttyslot.c (ttyslot): Likewise.
9639 * nis/nis_hash.c (__nis_hash): Likewise.
9640 * posix/fnmatch_loop.c (FCT): Likewise.
9641 * posix/getconf.c (print_all): Likewise.
9642 (main): Likewise.
9643 * posix/getopt.c (exchange): Likewise.
9644 * posix/glob.c (globfree): Likewise.
9645 (prefix_array): Likewise.
9646 (__glob_pattern_type): Likewise.
9647 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9648 (NS_GET32): Likewise.
9649 (NS_PUT16): Likewise.
9650 (NS_PUT32): Likewise.
9651 * resolv/gethnamaddr.c (getanswer): Likewise.
9652 (gethostbyname2): Likewise.
9653 (gethostbyaddr): Likewise.
9654 (_gethtent): Likewise.
9655 (_gethtbyname2): Likewise.
9656 (_gethtbyaddr): Likewise.
9657 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9658 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9659 * resolv/res_init.c (__res_vinit): Likewise.
9660 (net_mask): Likewise.
9661 * resolv/res_mkquery.c (outchar): Likewise.
9662 (PRINT): Likewise.
9663 * stdio-common/printf_fp.c (outchar): Likewise.
9664 (PRINT): Likewise.
9665 * stdio-common/printf_fphex.c (outchar): Likewise.
9666 (PRINT): Likewise.
9667 * stdio-common/printf_size.c (outchar): Likewise.
9668 (PRINT): Likewise.
9669 * stdio-common/test_rdwr.c (main): Likewise.
9670 * stdio-common/tfformat.c (matches): Likewise.
9671 * stdio-common/vfprintf.c (outchar): Likewise.
9672 (printf_unknown): Likewise.
9673 (buffered_vfprintf): Likewise.
9674 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9675 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9676 (ReadFile): Likewise.
9677 * stdlib/qsort.c (SWAP): Likewise.
9678 (_quicksort): Likewise.
9679 * stdlib/setenv.c (__add_to_environ): Likewise.
9680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9681 * stdlib/strtol_l.c (__strtol_l): Likewise.
9682 * stdlib/tst-strtod.c (main): Likewise.
9683 * stdlib/tst-strtol.c (main): Likewise.
9684 * stdlib/tst-strtoll.c (main): Likewise.
9685 * string/bits/string2.h (__strcmp_cc): Likewise.
9686 (__strcmp_cg): Likewise.
9687 (__strcspn_c1): Likewise.
9688 (__strcspn_c2): Likewise.
9689 (__strcspn_c3): Likewise.
9690 (__strspn_c1): Likewise.
9691 (__strspn_c2): Likewise.
9692 (__strspn_c3): Likewise.
9693 (__strsep_1c): Likewise.
9694 (__strsep_2c): Likewise.
9695 (__strsep_3c): Likewise.
9696 * string/memccpy.c (__memccpy): Likewise.
9697 * string/stpcpy.c (__stpcpy): Likewise.
9698 * string/strcmp.c (strcmp): Likewise.
9699 * string/strrchr.c (strrchr): Likewise.
9700 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9701 Likewise.
9702 * sysdeps/mach/hurd/getcwd.c
9703 (_hurd_canonicalize_directory_name_internal): Likewise.
9704 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9705 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9706 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9707 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9708 Likewise, in both definitions.
9709 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9710 definitions.
9711 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9712 64] (__bswap_64): Likewise.
9713 * time/test_time.c (main): Likewise.
9714 * time/tzfile.c (__tzfile_read): Likewise.
9715 (__tzfile_compute): Likewise.
9716 * time/tzset.c (__tzset_parse_tz): Likewise.
9717 (tzset_internal): Likewise.
9718 (compute_change): Likewise.
9719 * wcsmbs/wcscat.c (__wcscat): Likewise.
9720 * wcsmbs/wcschr.c (wcschr): Likewise.
9721 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9722 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9723 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9724 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9725 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9726 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9727 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9728 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9729 * wcsmbs/wmemset.c (wmemset): Likewise.
9730
9e54314b
JM
97312013-06-06 Joseph Myers <joseph@codesourcery.com>
9732
9733 * scripts/config.guess: Update to version 2013-05-16.
9734 * scripts/config.sub: Update to version 2013-04-24.
9735 * scripts/install-sh: Update to version 2011-11-20.07.
9736 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9737 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9738
350635a5
OB
97392013-06-06 Ondřej Bílka <neleai@seznam.cz>
9740
9741 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9742 * elf/sln.c: Likewise.
9743 * hurd/hurd/ioctl.h: Likewise.
9744 * hurd/hurdmalloc.c: Likewise.
9745 * hurd/xattr.c: Likewise.
9746 * include/shlib-compat.h: Likewise.
9747 * inet/ruserpass.c: Likewise.
9748 * libio/iofgets_u.c: Likewise.
9749 * libio/iofgetws_u.c: Likewise.
9750 * locale/programs/ld-identification.c: Likewise.
9751 * locale/programs/ld-time.c: Likewise.
9752 * mach/msg-destroy.c: Likewise.
9753 * nss/nss_files/files-netgrp.c: Likewise.
9754 * resolv/res_data.c: Likewise.
9755 * soft-fp/op-1.h: Likewise.
9756 * soft-fp/op-2.h: Likewise.
9757 * soft-fp/op-4.h: Likewise.
9758 * soft-fp/op-common.h: Likewise.
9759 * stdio-common/printf_fphex.c: Likewise.
9760 * stdlib/strtod_l.c: Likewise.
9761 * sunrpc/rpc/clnt.h: Likewise.
9762 * sysdeps/generic/framestate.c: Likewise.
9763 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9764 * sysdeps/i386/bsd-setjmp.S: Likewise.
9765 * sysdeps/i386/__longjmp.S: Likewise.
9766 * sysdeps/i386/setjmp.S: Likewise.
9767 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9768 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9769 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9785 * sysdeps/ieee754/support.c: Likewise.
9786 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9787 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9788 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9789 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9790 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9791 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9792 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9793 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9794 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9795 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9796 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9797 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9798 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9799 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9800 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9801 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9802 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9804
44a988af
OB
98052013-06-05 Ondřej Bílka <neleai@seznam.cz>
9806
25506f09 9807 * posix/transbug.c: Remove executable mode.
44a988af 9808
9c84384c
JM
98092013-06-05 Joseph Myers <joseph@codesourcery.com>
9810
9811 * crypt/speeds.c: Remove trailing whitespace.
9812 * dlfcn/default.c: Likewise.
9813 * elf/ifuncdep2.c: Likewise.
9814 * elf/ifuncmain1.c: Likewise.
9815 * elf/ifuncmain1vis.c: Likewise.
9816 * elf/testobj.h: Likewise.
9817 * elf/tst-stackguard1.c: Likewise.
9818 * gmon/sys/gmon.h: Likewise.
9819 * hurd/hurdmsg.c: Likewise.
9820 * hurd/new-fd.c: Likewise.
9821 * hurd/ports-get.c: Likewise.
9822 * iconvdata/ibm1008_420.c: Likewise.
9823 * inet/tst-getni1.c: Likewise.
9824 * inet/tst-getni2.c: Likewise.
9825 * libio/ioungetc.c: Likewise.
9826 * libio/wfiledoalloc.c: Likewise.
9827 * manual/libm-err-tab.pl: Likewise.
9828 * math/w_dremf.c: Likewise.
9829 * misc/ftruncate.c: Likewise.
9830 * posix/bug-glob2.c: Likewise.
9831 * posix/tst-pcre.c: Likewise.
9832 * posix/wait4.c: Likewise.
9833 * resolv/README: Likewise.
9834 * resolv/res_debug.h: Likewise.
9835 * resolv/tst-inet_ntop.c: Likewise.
9836 * setjmp/bug269-setjmp.c: Likewise.
9837 * soft-fp/extended.h: Likewise.
9838 * soft-fp/op-1.h: Likewise.
9839 * soft-fp/op-2.h: Likewise.
9840 * soft-fp/op-4.h: Likewise.
9841 * soft-fp/op-8.h: Likewise.
9842 * soft-fp/testit.c: Likewise.
9843 * stdio-common/bug16.c: Likewise.
9844 * stdlib/random.c: Likewise.
9845 * sunrpc/rpcsvc/rquota.x: Likewise.
9846 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9847 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9848 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9849 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9850 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9851 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9852 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9853 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9855 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9856 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9875 * sysdeps/ieee754/s_lib_version.c: Likewise.
9876 * sysdeps/mach/hurd/check_fds.c: Likewise.
9877 * sysdeps/mach/hurd/getsockname.c: Likewise.
9878 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9879 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9880 * sysdeps/powerpc/bits/link.h: Likewise.
9881 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9882 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9883 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9884 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9885 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9886 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9887 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9888 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9889 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9890 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9891 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9892 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9893 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9894 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9895 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9896 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9898 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9899 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9902 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9903 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9904 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9905 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9906 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9907 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9910 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9912 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9913 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9914 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9915 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9916 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9917 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9918 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9919 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9920 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9921 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9922 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9923 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9924 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9925 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9927 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9928 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9929 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9930 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9933 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9934 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9935 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9936 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9937 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9938 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9939 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9940 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9942 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9943 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9944 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9945 * sysdeps/powerpc/sysdep.h: Likewise.
9946 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9947 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9948 * sysdeps/sh/dl-trampoline.S: Likewise.
9949 * sysdeps/sh/memset.S: Likewise.
9950 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9951 * sysdeps/sh/strlen.S: Likewise.
9952 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9953 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9954 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9955 * sysdeps/sparc/sparc32/rem.S: Likewise.
9956 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9957 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9958 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9959 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9960 * sysdeps/sparc/sparc32/urem.S: Likewise.
9961 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9962 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9963 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9964 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9965 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9966 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9967 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9968 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9969 * sysdeps/unix/bsd/times.c: Likewise.
9970 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9971 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9975 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9976 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9977 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9978 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9979 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9980 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9981 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9982 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9983 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9984 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9985 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9986 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9987 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9988 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9989 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9990 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9991 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9992 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9993 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9994 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9995 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9996 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9997 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9998 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9999 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
10000 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
10001 * sysdeps/x86_64/strcspn.S: Likewise.
10002
869378a5
RA
100032013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10004
10005 * locale/C-translit.h: Revert #include <stdint.h> because this is a
10006 generated file. Regenerate properly from gen-translit.pl.
10007 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
10008 locale/C-translit.h.
10009
840e2943
AS
100102013-06-05 Andreas Schwab <schwab@suse.de>
10011
10012 [BZ #15100]
10013 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
10014 week as 6 instead of -1.
10015 * time/tst-strptime.c (day_tests): Add test case.
10016
4c60cb0c
SP
100172013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10018
10019 * sysdeps/generic/math_private.h
10020 (libc_feholdexcept_setround_53bit): Replace with
10021 libc_feholdsetround_53bit.
10022 (libc_feupdateenv_53bit): Replace with
10023 libc_feresetround_53bit.
10024 (SET_RESTORE_ROUND_53BIT): Adjust.
10025
d180203e
SP
100262013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10027
96df079a
SP
10028 * string/test-strchrnul.c: Add copyright header.
10029
d180203e
SP
10030 * posix/tst-getaddrinfo4.c: Increase test timeout.
10031
8b0ccb2d
CD
100322013-06-03 Carlos O'Donell <carlos@redhat.com>
10033
10034 [BZ #15536]
10035 * math/libm-test.inc (MAX_EXP): Remove
10036 (MIN_EXP): Define.
10037 (ulp): Use MIN_EXP - MANT_DIG.
10038 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
10039
3b3c4d40
CD
100402013-05-31 Carlos O'Donell <carlos@redhat.com>
10041
10042 * po/be.po: Revert last change.
10043 * po/zh_CN.po: Likewise.
10044 * po/header.pot: Likewise.
10045
fab7ce3f
JM
100462013-05-31 Joseph Myers <joseph@codesourcery.com>
10047
10048 * Makefile ($(common-objpfx)linkobj/libc.so): Define
10049 link-libc-deps to empty as target-specific variable.
10050 * Makerules (link-libc-args): New variable.
10051 (libc-for-link): Likewise.
10052 (link-libc-deps): Likewise.
10053 (lib%.so): Depend on $(link-libc-deps). Link with
10054 $(link-libc-args).
10055 (build-module): Link with $(link-libc-args).
10056 (build-module-asneeded): Likewise.
10057 (build-module-helper-objlist): Filter out $(link-libc-deps) from
10058 list of objects.
10059 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
10060 target-specific variable.
10061 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
10062 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
10063 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
10064 libc.
10065 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
10066 libc and ld.so.
10067 ($(objpfx)libpcprofile.so): Likewise.
10068 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
10069 libc_nonshared.a.
10070 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
10071 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
10072 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
10073 $(link-libc-deps).
10074 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
10075 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
10076 * login/Makefile ($(objpfx)libutil.so): Likewise.
10077 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
10078 * math/Makefile ($(objpfx)libm.so): Likewise.
10079 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
10080 $(objpfx)libnsl.so): Define libc-for-link as target-specific
10081 variable instead of depending directly on libc.
10082 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
10083 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
10084 $(link-libc-deps).
10085 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
10086 libc.
10087 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
10088 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
10089 ($(objpfx)libanl.so): Likewise.
10090 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
10091 ld.so.
10092 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
10093 $(link-libc-deps).
10094 * sysdeps/i386/fpu/Makefile: Remove file.
10095 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
10096 ($(objpfx)libm.so): Remove dependency on ld.so.
10097
eca5920c
PF
100982013-05-30 Patsy Franklin <pfrankli@redhat.com>
10099
10100 [BZ # 15553]
10101 * nis/yp_xdr.c (XDRMAXNAME): Define.
10102 (XDRMAXRECORD): Define.
10103 (xdr_domainname): Use XDRMAXNAME.
10104 (xdr_mapname): Likewise.
10105 (xdr_peername): Likewise.
10106 (xdr_keydat): Use XDRMAXRECORD.
10107 (xdr_valdat): Likewise.
10108
101092013-05-30 Jeff Law <law@redhat.com>
96945714
JL
10110
10111 [BZ #14256]
10112 * manual/errno.texi (ESTALE): Update to account for more than
10113 just NFS file systems.
10114 * sysdeps/gnu/errlist.c: Regenerated.
10115
b9375348
SP
101162013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10117
10118 [BZ #15465]
10119 * elf/Makefile (tests): Add tst-null-argv.
10120 (modules-names): Add tst-null-argv-lib.
10121 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
10122 (tst-null-argv-ENV): Set environment for tst-null-argv.
10123 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
10124 (RTLD_PROGNAME): New macro.
10125 * elf/tst-null-argv.c: New test case.
10126 * elf/tst-null-argv-lib.c: Library for test case.
10127 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
10128 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10129 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
10130 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
10131 * elf/dl-init.c (call_init): Likewise.
10132 (_dl_init): Likewise.
10133 * elf/dl-load.c (print_search_path): Likewise.
10134 (_dl_map_object): Likewise.
10135 * elf/dl-lookup.c (do_lookup_x): Likewise.
10136 (add_dependency): Likewise.
10137 (_dl_lookup_symbol_x): Likewise.
10138 (_dl_debug_bindings): Likewise.
10139 * elf/dl-open.c (_dl_show_scope): Likewise.
10140 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10141 * elf/dl-version.c (match_symbol): Likewise.
10142 (_dl_check_map_versions): Likewise.
10143 * elf/rtld.c (dl_main): Likewise.
10144 (print_unresolved): Use RTLD_PROGNAME.
10145 (print_missing_version): Likewise.
10146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10147 (elf_machine_rela): Likewise.
10148 * sysdeps/powerpc/powerpc32/dl-machine.c
10149 (__process_machine_rela): Likewise.
10150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10151 Likewise.
10152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10153 Likewise.
10154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10155 Likewise.
10156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10158 Likewise.
10159 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10160 Likewise.
10161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10162
8a9f20c8
CD
101632013-05-28 Carlos O'Donell <carlos@redhat.com>
10164
10165 * po/be.po: Add descriptive title.
10166 * po/zh_CN.po: Likewise.
10167 * po/header.pot: Likewise.
10168
0e60d68e
MF
101692013-05-28 Mike Frysinger <vapier@gentoo.org>
10170
10171 * locale/programs/locarchive.c (create_archive): Inlucde fname in
10172 error message.
10173 (enlarge_archive): Likewise.
10174
56b672e9
BN
101752013-05-28 Ben North <ben@redfrontdoor.org>
10176
10177 * manual/arith.texi (frexp): It is the magnitude of the return
10178 value which lies in [0.5, 1), not the return value itself.
10179
5e056687
AZ
101802013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10181
10182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10183
2b66ef5d
TS
101842013-05-26 Thomas Schwinge <thomas@codesourcery.com>
10185
528c2405
TS
10186 * stdio-common/bug26.c (main): Correct fscanf template.
10187
07b4c13d
TS
10188 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10189 declare _dl_skip_args.
10190
ec9dd97c
TS
10191 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10192 Don't declare.
10193
2b66ef5d
TS
10194 * manual/platform.texi: Add missing @end deftypefun.
10195
4f8dfe27
JM
101962013-05-24 Joseph Myers <joseph@codesourcery.com>
10197
0323d086
JM
10198 [BZ #15529]
10199 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10200 bit of mantissa of 2^16382.
10201 * math/libm-test.inc (hypot_test_data): Add more tests.
10202
dd4259b9
JM
10203 * math/libm-test.inc: Add drem and pow10 to list of tested
10204 functions.
10205 (pow10_test): New function.
10206 (drem_test): Likewise.
10207 (drem_test_tonearest): Likewise.
10208 (drem_test_towardzero): Likewise.
10209 (drem_test_downward): Likewise.
10210 (drem_test_upward): Likewise.
10211 (main): Call the new functions.
10212
4f8dfe27
JM
10213 * math/libm-test.inc (finite_test_data): Remove.
10214 (finite_test): Run tests from isfinite_test_data.
10215 (gamma_test_data): Remove.
10216 (gamma_test): Run tests from lgamma_test_data.
10217 * sysdeps/i386/fpu/libm-test-ulps: Update.
10218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10219
d116b7c4
AZ
102202013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10221
10222 * manual/platform.texi: Add PowerPC PPR function set documentation.
10223 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10224 implementation.
10225
e96e3767
CD
102262013-05-24 Carlos O'Donell <carlos@redhat.com>
10227
10228 * math/libm-test.inc (MAX_EXP): Define.
10229 (ULPDIFF): Define.
10230 (ulp): New function.
10231 (check_float_internal): Use ULPDIFF.
10232 (cpow_test): Disable failing test.
10233 (check_ulp): Test ulp() implemetnation.
10234 (main): Call check_ulp before starting tests.
10235
b679a606
JM
102362013-05-24 Joseph Myers <joseph@codesourcery.com>
10237
e8bdba36
JM
10238 * math/gen-libm-test.pl (generate_testfile): Do not handle
10239 START_DATA and END_DATA.
10240 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10241 END_DATA.
10242 (acos_tonearest_test_data): Likewise.
10243 (acos_towardzero_test_data): Likewise.
10244 (acos_downward_test_data): Likewise.
10245 (acos_upward_test_data): Likewise.
10246 (acosh_test_data): Likewise.
10247 (asin_test_data): Likewise.
10248 (asin_tonearest_test_data): Likewise.
10249 (asin_towardzero_test_data): Likewise.
10250 (asin_downward_test_data): Likewise.
10251 (asin_upward_test_data): Likewise.
10252 (asinh_test_data): Likewise.
10253 (atan_test_data): Likewise.
10254 (atanh_test_data): Likewise.
10255 (atan2_test_data): Likewise.
10256 (cabs_test_data): Likewise.
10257 (cacos_test_data): Likewise.
10258 (cacosh_test_data): Likewise.
10259 (carg_test_data): Likewise.
10260 (casin_test_data): Likewise.
10261 (casinh_test_data): Likewise.
10262 (catan_test_data): Likewise.
10263 (catanh_test_data): Likewise.
10264 (cbrt_test_data): Likewise.
10265 (ccos_test_data): Likewise.
10266 (ccosh_test_data): Likewise.
10267 (ceil_test_data): Likewise.
10268 (cexp_test_data): Likewise.
10269 (cimag_test_data): Likewise.
10270 (clog_test_data): Likewise.
10271 (clog10_test_data): Likewise.
10272 (conj_test_data): Likewise.
10273 (copysign_test_data): Likewise.
10274 (cos_test_data): Likewise.
10275 (cos_tonearest_test_data): Likewise.
10276 (cos_towardzero_test_data): Likewise.
10277 (cos_downward_test_data): Likewise.
10278 (cos_upward_test_data): Likewise.
10279 (cosh_test_data): Likewise.
10280 (cosh_tonearest_test_data): Likewise.
10281 (cosh_towardzero_test_data): Likewise.
10282 (cosh_downward_test_data): Likewise.
10283 (cosh_upward_test_data): Likewise.
10284 (cpow_test_data): Likewise.
10285 (cproj_test_data): Likewise.
10286 (creal_test_data): Likewise.
10287 (csin_test_data): Likewise.
10288 (csinh_test_data): Likewise.
10289 (csqrt_test_data): Likewise.
10290 (ctan_test_data): Likewise.
10291 (ctan_tonearest_test_data): Likewise.
10292 (ctan_towardzero_test_data): Likewise.
10293 (ctan_downward_test_data): Likewise.
10294 (ctan_upward_test_data): Likewise.
10295 (ctanh_test_data): Likewise.
10296 (ctanh_tonearest_test_data): Likewise.
10297 (ctanh_towardzero_test_data): Likewise.
10298 (ctanh_downward_test_data): Likewise.
10299 (ctanh_upward_test_data): Likewise.
10300 (erf_test_data): Likewise.
10301 (erfc_test_data): Likewise.
10302 (exp_test_data): Likewise.
10303 (exp_tonearest_test_data): Likewise.
10304 (exp_towardzero_test_data): Likewise.
10305 (exp_downward_test_data): Likewise.
10306 (exp_upward_test_data): Likewise.
10307 (exp10_test_data): Likewise.
10308 (exp2_test_data): Likewise.
10309 (expm1_test_data): Likewise.
10310 (fabs_test_data): Likewise.
10311 (fdim_test_data): Likewise.
10312 (finite_test_data): Likewise.
10313 (floor_test_data): Likewise.
10314 (fma_test_data): Likewise.
10315 (fma_towardzero_test_data): Likewise.
10316 (fma_downward_test_data): Likewise.
10317 (fma_upward_test_data): Likewise.
10318 (fmax_test_data): Likewise.
10319 (fmin_test_data): Likewise.
10320 (fmod_test_data): Likewise.
10321 (fpclassify_test_data): Likewise.
10322 (frexp_test_data): Likewise.
10323 (gamma_test_data): Likewise.
10324 (hypot_test_data): Likewise.
10325 (ilogb_test_data): Likewise.
10326 (isfinite_test_data): Likewise.
10327 (isgreater_test_data): Likewise.
10328 (isgreaterequal_test_data): Likewise.
10329 (isinf_test_data): Likewise.
10330 (isless_test_data): Likewise.
10331 (islessequal_test_data): Likewise.
10332 (islessgreater_test_data): Likewise.
10333 (isnan_test_data): Likewise.
10334 (isnormal_test_data): Likewise.
10335 (issignaling_test_data): Likewise.
10336 (isunordered_test_data): Likewise.
10337 (j0_test_data): Likewise.
10338 (j1_test_data): Likewise.
10339 (jn_test_data): Likewise.
10340 (ldexp_test_data): Likewise.
10341 (lgamma_test_data): Likewise.
10342 (lrint_test_data): Likewise.
10343 (lrint_tonearest_test_data): Likewise.
10344 (lrint_towardzero_test_data): Likewise.
10345 (lrint_downward_test_data): Likewise.
10346 (lrint_upward_test_data): Likewise.
10347 (llrint_test_data): Likewise.
10348 (llrint_tonearest_test_data): Likewise.
10349 (llrint_towardzero_test_data): Likewise.
10350 (llrint_downward_test_data): Likewise.
10351 (llrint_upward_test_data): Likewise.
10352 (log_test_data): Likewise.
10353 (log10_test_data): Likewise.
10354 (log1p_test_data): Likewise.
10355 (log2_test_data): Likewise.
10356 (logb_test_data): Likewise.
10357 (logb_downward_test_data): Likewise.
10358 (lround_test_data): Likewise.
10359 (llround_test_data): Likewise.
10360 (modf_test_data): Likewise.
10361 (nearbyint_test_data): Likewise.
10362 (nextafter_test_data): Likewise.
10363 (nexttoward_test_data): Likewise.
10364 (pow_test_data): Likewise.
10365 (pow_tonearest_test_data): Likewise.
10366 (pow_towardzero_test_data): Likewise.
10367 (pow_downward_test_data): Likewise.
10368 (pow_upward_test_data): Likewise.
10369 (remainder_test_data): Likewise.
10370 (remainder_tonearest_test_data): Likewise.
10371 (remainder_towardzero_test_data): Likewise.
10372 (remainder_downward_test_data): Likewise.
10373 (remainder_upward_test_data): Likewise.
10374 (remquo_test_data): Likewise.
10375 (rint_test_data): Likewise.
10376 (rint_tonearest_test_data): Likewise.
10377 (rint_towardzero_test_data): Likewise.
10378 (rint_downward_test_data): Likewise.
10379 (rint_upward_test_data): Likewise.
10380 (round_test_data): Likewise.
10381 (scalb_test_data): Likewise.
10382 (scalbn_test_data): Likewise.
10383 (scalbln_test_data): Likewise.
10384 (signbit_test_data): Likewise.
10385 (sin_test_data): Likewise.
10386 (sin_tonearest_test_data): Likewise.
10387 (sin_towardzero_test_data): Likewise.
10388 (sin_downward_test_data): Likewise.
10389 (sin_upward_test_data): Likewise.
10390 (sincos_test_data): Likewise.
10391 (sinh_test_data): Likewise.
10392 (sinh_tonearest_test_data): Likewise.
10393 (sinh_towardzero_test_data): Likewise.
10394 (sinh_downward_test_data): Likewise.
10395 (sinh_upward_test_data): Likewise.
10396 (sqrt_test_data): Likewise.
10397 (tan_test_data): Likewise.
10398 (tan_tonearest_test_data): Likewise.
10399 (tan_towardzero_test_data): Likewise.
10400 (tan_downward_test_data): Likewise.
10401 (tan_upward_test_data): Likewise.
10402 (tanh_test_data): Likewise.
10403 (tgamma_test_data): Likewise.
10404 (trunc_test_data): Likewise.
10405 (y0_test_data): Likewise.
10406 (y1_test_data): Likewise.
10407 (yn_test_data): Likewise.
10408 (significand_test_data): Likewise.
10409
b679a606
JM
10410 * math/gen-libm-test.pl (@functions): Remove variable.
10411 (generate_testfile): Don't handle START and END lines.
10412 * math/libm-test.inc (START): New macro.
10413 (END): Likewise.
10414 (END_COMPLEX): Likewise.
10415 (acos_test): Use END macro without arguments.
10416 (acos_test_tonearest): Likewise.
10417 (acos_test_towardzero): Likewise.
10418 (acos_test_downward): Likewise.
10419 (acos_test_upward): Likewise.
10420 (acosh_test): Likewise.
10421 (asin_test): Likewise.
10422 (asin_test_tonearest): Likewise.
10423 (asin_test_towardzero): Likewise.
10424 (asin_test_downward): Likewise.
10425 (asin_test_upward): Likewise.
10426 (asinh_test): Likewise.
10427 (atan_test): Likewise.
10428 (atanh_test): Likewise.
10429 (atan2_test): Likewise.
10430 (cabs_test): Likewise.
10431 (cacos_test): Use END_COMPLEX macro without arguments.
10432 (cacosh_test): Likewise.
10433 (carg_test): Use END macro without arguments.
10434 (casin_test): Use END_COMPLEX macro without arguments.
10435 (casinh_test): Likewise.
10436 (catan_test): Likewise.
10437 (catanh_test): Likewise.
10438 (cbrt_test): Use END macro without arguments.
10439 (ccos_test): Use END_COMPLEX macro without arguments.
10440 (ccosh_test): Likewise.
10441 (ceil_test): Use END macro without arguments.
10442 (cexp_test): Use END_COMPLEX macro without arguments.
10443 (cimag_test): Use END macro without arguments.
10444 (clog_test): Use END_COMPLEX macro without arguments.
10445 (clog10_test): Likewise.
10446 (conj_test): Likewise.
10447 (copysign_test): Use END macro without arguments.
10448 (cos_test): Likewise.
10449 (cos_test_tonearest): Likewise.
10450 (cos_test_towardzero): Likewise.
10451 (cos_test_downward): Likewise.
10452 (cos_test_upward): Likewise.
10453 (cosh_test): Likewise.
10454 (cosh_test_tonearest): Likewise.
10455 (cosh_test_towardzero): Likewise.
10456 (cosh_test_downward): Likewise.
10457 (cosh_test_upward): Likewise.
10458 (cpow_test): Use END_COMPLEX macro without arguments.
10459 (cproj_test): Likewise.
10460 (creal_test): Use END macro without arguments.
10461 (csin_test): Use END_COMPLEX macro without arguments.
10462 (csinh_test): Likewise.
10463 (csqrt_test): Likewise.
10464 (ctan_test): Likewise.
10465 (ctan_test_tonearest): Likewise.
10466 (ctan_test_towardzero): Likewise.
10467 (ctan_test_downward): Likewise.
10468 (ctan_test_upward): Likewise.
10469 (ctanh_test): Likewise.
10470 (ctanh_test_tonearest): Likewise.
10471 (ctanh_test_towardzero): Likewise.
10472 (ctanh_test_downward): Likewise.
10473 (ctanh_test_upward): Likewise.
10474 (erf_test): Use END macro without arguments.
10475 (erfc_test): Likewise.
10476 (exp_test): Likewise.
10477 (exp_test_tonearest): Likewise.
10478 (exp_test_towardzero): Likewise.
10479 (exp_test_downward): Likewise.
10480 (exp_test_upward): Likewise.
10481 (exp10_test): Likewise.
10482 (exp2_test): Likewise.
10483 (expm1_test): Likewise.
10484 (fabs_test): Likewise.
10485 (fdim_test): Likewise.
10486 (finite_test): Likewise.
10487 (floor_test): Likewise.
10488 (fma_test): Likewise.
10489 (fma_test_towardzero): Likewise.
10490 (fma_test_downward): Likewise.
10491 (fma_test_upward): Likewise.
10492 (fmax_test): Likewise.
10493 (fmin_test): Likewise.
10494 (fmod_test): Likewise.
10495 (fpclassify_test): Likewise.
10496 (frexp_test): Likewise.
10497 (gamma_test): Likewise.
10498 (hypot_test): Likewise.
10499 (ilogb_test): Likewise.
10500 (isfinite_test): Likewise.
10501 (isgreater_test): Likewise.
10502 (isgreaterequal_test): Likewise.
10503 (isinf_test): Likewise.
10504 (isless_test): Likewise.
10505 (islessequal_test): Likewise.
10506 (islessgreater_test): Likewise.
10507 (isnan_test): Likewise.
10508 (isnormal_test): Likewise.
10509 (issignaling_test): Likewise.
10510 (isunordered_test): Likewise.
10511 (j0_test): Likewise.
10512 (j1_test): Likewise.
10513 (jn_test): Likewise.
10514 (ldexp_test): Likewise.
10515 (lgamma_test): Likewise.
10516 (lrint_test): Likewise.
10517 (lrint_test_tonearest): Likewise.
10518 (lrint_test_towardzero): Likewise.
10519 (lrint_test_downward): Likewise.
10520 (lrint_test_upward): Likewise.
10521 (llrint_test): Likewise.
10522 (llrint_test_tonearest): Likewise.
10523 (llrint_test_towardzero): Likewise.
10524 (llrint_test_downward): Likewise.
10525 (llrint_test_upward): Likewise.
10526 (log_test): Likewise.
10527 (log10_test): Likewise.
10528 (log1p_test): Likewise.
10529 (log2_test): Likewise.
10530 (logb_test): Likewise.
10531 (logb_test_downward): Likewise.
10532 (lround_test): Likewise.
10533 (llround_test): Likewise.
10534 (modf_test): Likewise.
10535 (nearbyint_test): Likewise.
10536 (nextafter_test): Likewise.
10537 (nexttoward_test): Likewise.
10538 (pow_test): Likewise.
10539 (pow_test_tonearest): Likewise.
10540 (pow_test_towardzero): Likewise.
10541 (pow_test_downward): Likewise.
10542 (pow_test_upward): Likewise.
10543 (remainder_test): Likewise.
10544 (remainder_test_tonearest): Likewise.
10545 (remainder_test_towardzero): Likewise.
10546 (remainder_test_downward): Likewise.
10547 (remainder_test_upward): Likewise.
10548 (remquo_test): Likewise.
10549 (rint_test): Likewise.
10550 (rint_test_tonearest): Likewise.
10551 (rint_test_towardzero): Likewise.
10552 (rint_test_downward): Likewise.
10553 (rint_test_upward): Likewise.
10554 (round_test): Likewise.
10555 (scalb_test): Likewise.
10556 (scalbn_test): Likewise.
10557 (scalbln_test): Likewise.
10558 (signbit_test): Likewise.
10559 (sin_test): Likewise.
10560 (sin_test_tonearest): Likewise.
10561 (sin_test_towardzero): Likewise.
10562 (sin_test_downward): Likewise.
10563 (sin_test_upward): Likewise.
10564 (sincos_test): Likewise.
10565 (sinh_test): Likewise.
10566 (sinh_test_tonearest): Likewise.
10567 (sinh_test_towardzero): Likewise.
10568 (sinh_test_downward): Likewise.
10569 (sinh_test_upward): Likewise.
10570 (sqrt_test): Likewise.
10571 (tan_test): Likewise.
10572 (tan_test_tonearest): Likewise.
10573 (tan_test_towardzero): Likewise.
10574 (tan_test_downward): Likewise.
10575 (tan_test_upward): Likewise.
10576 (tanh_test): Likewise.
10577 (tgamma_test): Likewise.
10578 (trunc_test): Likewise.
10579 (y0_test): Likewise.
10580 (y1_test): Likewise.
10581 (yn_test): Likewise.
10582 (significand_test): Likewise.
10583
bae143d2
OB
105842013-05-24 Ondřej Bílka <neleai@seznam.cz>
10585
10586 [BZ #15381]
10587 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10588
9323d39b
EM
105892013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10590
d4ea44a0 10591 [BZ #14894]
9323d39b
EM
10592 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10593 __ppc_mdoio and __ppc_mdoom.
10594 * manual/platform.texi: Document new functions __ppc_yield,
10595 __ppc_mdoio and __ppc_mdoom.
10596
13e23af7
CD
105972013-05-22 Carlos O'Donell <carlos@redhat.com>
10598
10599 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10600 (main): Mention "tls" pseudo-hwcap is legacy.
10601 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10602
351fe550
JM
106032013-05-22 Joseph Myers <joseph@codesourcery.com>
10604
10605 * math/gen-libm-test.pl (parse_args): Output only string of
10606 arguments as text for test name, not full call or descriptions of
10607 tests for extra outputs.
10608 (generate_testfile): Do not pass function name to parse_args.
10609 Generate this_func variable from START.
10610 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10611 field to arg_str.
10612 (struct test_ff_f_data): Likewise.
10613 (test_ff_f_data_nexttoward): Likewise.
10614 (struct test_fi_f_data): Likewise.
10615 (struct test_fl_f_data): Likewise.
10616 (struct test_if_f_data): Likewise.
10617 (struct test_fff_f_data): Likewise.
10618 (struct test_c_f_data): Likewise.
10619 (struct test_f_f1_data): Likewise. Remove field extra_name.
10620 (struct test_fF_f1_data): Likewise.
10621 (struct test_ffI_f1_data): Likewise.
10622 (struct test_c_c_data): Rename test_name field to arg_str.
10623 (struct test_cc_c_data): Likewise.
10624 (struct test_f_i_data): Likewise.
10625 (struct test_ff_i_data): Likewise.
10626 (struct test_f_l_data): Likewise.
10627 (struct test_f_L_data): Likewise.
10628 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10629 and extra2_name.
10630 (COMMON_TEST_SETUP): New macro.
10631 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10632 (COMMON_TEST_CLEANUP): Likewise.
10633 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10634 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10635 macros.
10636 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10637 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10638 macros.
10639 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10640 (RUN_TEST_fff_f): Take argument string. Call new setup and
10641 cleanup macros.
10642 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10643 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10644 macros.
10645 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10646 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10647 macros.
10648 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10649 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10650 cleanup macros.
10651 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10652 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10653 cleanup macros.
10654 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10655 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10656 cleanup macros.
10657 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10658 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10659 macros.
10660 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10661 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10662 macros.
10663 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10664 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10665 macros.
10666 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10667 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10668 cleanup macros.
10669 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10670 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10671 cleanup macros.
10672 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10673 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10674 macros.
10675 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10676 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10677 cleanup macros.
10678 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10679 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10680 macros.
10681 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10682 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10683 macros.
10684 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10685 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10686 cleanup macros.
10687 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10688
85118d4d
EBM
106892013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10690
10691 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10692 to _sifields.sigfault.
10693 (si_addr_lsb): Define new macro.
10694 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10696 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10697
7a44c18f
CD
106982013-05-03 Carlos O'Donell <carlos at redhat.com>
10699
10700 [BZ #15441]
10701 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10702 returns -1.
10703 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10704 null return -1.
10705 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10706 loading the domain.
10707
b50a7181
JM
107082013-05-22 Joseph Myers <joseph@codesourcery.com>
10709
10710 * math/gen-libm-test.pl (parse_args): Do not include expected
10711 result in test name.
10712 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10713 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10714 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10715 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10716 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10718
051063c8
SP
107192013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10720
3ce9e010
SP
10721 * benchtests/Makefile: Sort function entries.
10722
051063c8
SP
10723 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10724 tanh, asinh, acosh, atanh.
10725 * benchtests/acos-inputs: New file.
10726 * benchtests/acosh-inputs: New file.
10727 * benchtests/asin-inputs: New file.
10728 * benchtests/asinh-inputs: New file.
10729 * benchtests/atanh-inputs: New file.
10730 * benchtests/cosh-inputs: New file.
10731 * benchtests/log-inputs: New file.
10732 * benchtests/sinh-inputs: New file.
10733 * benchtests/tanh-inputs: New file.
10734
47c22455
DL
107352013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10736
10737 [BZ #15339]
10738 * posix/tst-getaddrinfo4.c: New test.
10739 * posix/Makefile (tests): Add it.
10740
3d04f5db
SP
107412013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10742
10743 [BZ #15339]
10744 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10745 when no services were used.
10746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10747 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10748
d5dd6189
AS
107492013-05-21 Andreas Schwab <schwab@suse.de>
10750
10751 [BZ #15014]
10752 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10753 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10754 successful.
10755 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10756 redundant variable declarations and reallocation of buffer when
10757 parsing as IPv6 address. Always set NSS status when called from
10758 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10759 buffer too small. Correct computation of needed size.
10760 * nss/Makefile (tests): Add test-digits-dots.
10761 * nss/test-digits-dots.c: New test.
10762
fef94eab
SP
107632013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10764
10765 * benchtests/Makefile: Remove instructions for adding
10766 benchmark tests.
10767 * benchtests/README: New file to explain how to execute and
10768 enhance the benchmark tests.
10769
e39adf43
AS
107702013-05-21 Andreas Schwab <schwab@suse.de>
10771
10772 [BZ #15493]
10773 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10774 * setjmp/tst-sigsetjmp.c: New test.
10775
b2b671b6
OB
107762013-05-20 Ondřej Bílka <neleai@seznam.cz>
10777
10778 * sysdeps/x86_64/memset.S (memset): New implementation.
10779 (__bzero): Likewise.
10780 (__memset_tail): New function.
10781
2d48b41c
OB
107822013-05-20 Ondřej Bílka <neleai@seznam.cz>
10783
10784 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10785 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10786 __memcpy_sse2_unaligned ifunc selection.
10787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10788 Add memcpy-sse2-unaligned.S.
10789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10790 Add: __memcpy_sse2_unaligned.
10791
f16cc3eb
JM
107922013-05-19 Joseph Myers <joseph@codesourcery.com>
10793
3e694268
JM
10794 [BZ #15490]
10795 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10796 math_force_eval before restoring floating-point envrionment.
10797 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10799 Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10801 <math_private.h>.
10802 (__nearbyintl): Use math_force_eval before restoring
10803 floating-point environment.
10804 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10805
db62a907
JM
10806 * math/gen-libm-test.pl (special_functions): Remove.
10807 (parse_args): Don't handle TEST_extra. Handle functions with no
10808 return value.
10809 * math/libm-test.inc (struct test_sincos_data): Replace with
10810 struct test_fFF_11_data.
10811 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10812 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10813 (sincos_test_data): Change element type to struct
10814 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10815 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10816 RUN_TEST_LOOP_sincos.
10817 * math/README.libm-test: Don't mention special handling of
10818 individual functions.
10819 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10820 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10821 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10822 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10823 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10825
f16cc3eb
JM
10826 * math/gen-libm-test.pl (get_variable): Remove function.
10827 (parse_args): Don't show pointer parameters to call in test
10828 names. Use "extra output N" in test names for extra outputs
10829 rather than naming variables.
10830
3779b5b6
JM
108312013-05-18 Joseph Myers <joseph@codesourcery.com>
10832
2ee094ff
JM
10833 [BZ #15488]
10834 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10835 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10836 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10837 double tests.
10838 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10839 disable.
10840 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10841 check_long_double.
10842
3779b5b6
JM
10843 * math/gen-libm-test.pl (@tests): Remove variable.
10844 ($count): Likewise.
10845 (new_test): Remove function.
10846 (show_exceptions): New function.
10847 (special_functions): Use show_exceptions instead of new_test.
10848 (parse_args): Likewise.
10849 (generate_testfile): Pass only function name in generated call to
10850 print_max_error or print_complex_max_error.
10851 (get_ulps): Do not handle complex tests specially.
10852 (output_test): Rename to ...
10853 (get_all_ulps_for_test): ... this. Return a string rather than
10854 printing to a file. Require ulps to be present.
10855 (output_ulps): Generate arrays rather than #defines.
10856 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10857 (struct ulp_data): New type.
10858 (BUILD_COMPLEX_ULP): Remove macro.
10859 (compare_ulp_data): New function.
10860 (find_ulps): Likewise.
10861 (find_test_ulps): Likewise.
10862 (find_function_ulps): Likewise.
10863 (find_complex_function_ulps): Likewise.
10864 (print_max_error): Determine allowed ulps using
10865 find_function_ulps.
10866 (print_complex_max_error): Determine allowed ulps using
10867 find_complex_function_ulps.
10868 (check_float_internal): Determine max ulps using find_test_ulps.
10869 (check_float): Do not take max_ulp parameter. Update call to
10870 check_float_internal.
10871 (check_complex): Likewise.
10872 (check_int): Do not take max_ulp parameter.
10873 (check_long): Likewise.
10874 (check_bool): Likewise.
10875 (check_longlong): Likewise.
10876 (struct test_f_f_data): Remove max_ulp field.
10877 (struct test_ff_f_data): Likewise.
10878 (struct test_ff_f_data_nexttoward): Likewise.
10879 (struct test_fi_f_data): Likewise.
10880 (struct test_fl_f_data): Likewise.
10881 (struct test_if_f_data): Likewise.
10882 (struct test_fff_f_data): Likewise.
10883 (struct test_c_f_data): Likewise.
10884 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10885 (struct test_fF_f1_data): Likewise.
10886 (struct test_ffI_f1_data): Likewise.
10887 (struct test_c_c_data): Remove max_ulp field.
10888 (struct test_cc_c_data): Likewise.
10889 (struct test_f_i_data): Likewise.
10890 (struct test_ff_i_data): Likewise.
10891 (struct test_f_l_data): Likewise.
10892 (struct test_f_L_data): Likewise.
10893 (struct test_sincos_data): Likewise.
10894 (RUN_TEST_f_f): Do not handle ulps.
10895 (RUN_TEST_LOOP_f_f): Likewise.
10896 (RUN_TEST_2_f): Likewise.
10897 (RUN_TEST_LOOP_2_f): Likewise.
10898 (RUN_TEST_fff_f): Likewise.
10899 (RUN_TEST_LOOP_fff_f): Likewise.
10900 (RUN_TEST_c_f): Likewise.
10901 (RUN_TEST_LOOP_c_f): Likewise.
10902 (RUN_TEST_f_f1): Likewise.
10903 (RUN_TEST_LOOP_f_f1): Likewise.
10904 (RUN_TEST_fF_f1): Likewise.
10905 (RUN_TEST_LOOP_fF_f1): Likewise.
10906 (RUN_TEST_fI_f1): Likewise.
10907 (RUN_TEST_LOOP_fI_f1): Likewise.
10908 (RUN_TEST_ffI_f1): Likewise.
10909 (RUN_TEST_LOOP_ffI_f1): Likewise.
10910 (RUN_TEST_c_c): Likewise.
10911 (RUN_TEST_LOOP_c_c): Likewise.
10912 (RUN_TEST_cc_c): Likewise.
10913 (RUN_TEST_LOOP_cc_c): Likewise.
10914 (RUN_TEST_f_i): Likewise.
10915 (RUN_TEST_LOOP_f_i): Likewise.
10916 (RUN_TEST_f_i_tg): Likewise.
10917 (RUN_TEST_LOOP_f_i_tg): Likewise.
10918 (RUN_TEST_ff_i_tg): Likewise.
10919 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10920 (RUN_TEST_f_b): Likewise.
10921 (RUN_TEST_LOOP_f_b): Likewise.
10922 (RUN_TEST_f_b_tg): Likewise.
10923 (RUN_TEST_LOOP_f_b_tg): Likewise.
10924 (RUN_TEST_f_l): Likewise.
10925 (RUN_TEST_LOOP_f_l): Likewise.
10926 (RUN_TEST_f_L): Likewise.
10927 (RUN_TEST_LOOP_f_L): Likewise.
10928 (RUN_TEST_sincos): Likewise.
10929 (RUN_TEST_LOOP_sincos): Likewise.
10930
8269107f
JM
109312013-05-17 Joseph Myers <joseph@codesourcery.com>
10932
bb38759d
JM
10933 [BZ #15480]
10934 [BZ #15485]
10935 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10936 main case of finite arguments, set rounding mode to FE_TONEAREST
10937 and discard exceptions.
10938 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10939 exceptions.
10940 (remainder_tonearest_test_data): New variable.
10941 (remainder_test_tonearest): New function.
10942 (remainder_towardzero_test_data): New variable.
10943 (remainder_test_towardzero): New function.
10944 (remainder_downward_test_data): New variable.
10945 (remainder_test_downward): New function.
10946 (remainder_upward_test_data): New variable.
10947 (remainder_test_upward): New function.
10948 (main): Call the new test functions.
10949
a00bdcf0
JM
10950 * math/libm-test.inc (struct test_f_f1_data): Remove field
10951 extra_init.
10952 (struct test_fF_f1_data): Likewise.
10953 (struct test_ffI_f1_data): Likewise.
10954 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10955 based on value of EXTRA_EXPECTED.
10956 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10957 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10958 EXTRA_VAR based on value of EXTRA_EXPECTED.
10959 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10960 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10961 EXTRA_VAR based on value of EXTRA_EXPECTED.
10962 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10963 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10964 EXTRA_VAR based on value of EXTRA_EXPECTED.
10965 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10966 * math/gen-libm-test.pl (parse_args): Don't output initializers
10967 for extra output values.
10968
de407f79
JM
10969 * math/libm-test.inc (check_int): Expect result to be exactly
10970 equal to expected value and do not handle ulps.
10971 (check_long): Likewise.
10972 (check_longlong): Likewise.
10973
8269107f
JM
10974 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10975 exceptions.
10976 (cimag_test_data): Likewise.
10977 (conj_test_data): Likewise.
10978 (copysign_test_data): Likewise.
10979 (cproj_test_data): Likewise.
10980 (creal_test_data): Likewise.
10981 (fabs_test_data): Likewise.
10982 (fdim_test_data): Likewise.
10983 (finite_test_data): Likewise.
10984 (floor_test_data): Likewise.
10985 (fmax_test_data): Likewise.
10986 (fmin_test_data): Likewise.
10987 (fmod_test_data): Likewise.
10988 (fpclassify_test_data): Likewise.
10989 (frexp_test_data): Likewise.
10990 (ilogb_test_data): Likewise.
10991 (isfinite_test_data): Likewise.
10992 (isgreater_test_data): Likewise.
10993 (isgreaterequal_test_data): Likewise.
10994 (isinf_test_data): Likewise.
10995 (isless_test_data): Likewise.
10996 (islessequal_test_data): Likewise.
10997 (islessgreater_test_data): Likewise.
10998 (isnan_test_data): Likewise.
10999 (isnormal_test_data): Likewise.
11000 (issignaling_test_data): Likewise.
11001 (isunordered_test_data): Likewise.
11002 (ldexp_test_data): Likewise.
11003 (lrint_test_data): Likewise.
11004 (lrint_test_data) [TEST_FLOAT]: Disable one test.
11005 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
11006 (lrint_tonearest_test_data): Test for "inexact" exceptions.
11007 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11008 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
11009 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11010 test input.
11011 (lrint_towardzero_test_data): Test for "inexact" exceptions.
11012 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11013 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
11014 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
11015 that test input.
11016 (lrint_downward_test_data): Test for "inexact" exceptions.
11017 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11018 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
11019 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11020 test input.
11021 (lrint_upward_test_data): Test for "inexact" exceptions.
11022 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
11023 test input.
11024 (llrint_test_data): Test for "inexact" exceptions.
11025 (llrint_test_data) [TEST_FLOAT]: Disable one test.
11026 (llrint_tonearest_test_data): Test for "inexact" exceptions.
11027 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11028 (llrint_towardzero_test_data): Test for "inexact" exceptions.
11029 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11030 (llrint_downward_test_data): Test for "inexact" exceptions.
11031 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11032 (llrint_upward_test_data): Test for "inexact" exceptions.
11033 (logb_test_data): Likewise.
11034 (logb_downward_test_data): Likewise.
11035 (nextafter_test_data): Likewise.
11036 (nexttoward_test_data): Likewise.
11037 (remainder_test_data): Likewise.
11038 (remquo_test_data): Likewise.
11039 (scalbn_test_data): Likewise.
11040 (scalbln_test_data): Likewise.
11041 (signbit_test_data): Likewise.
11042 (sqrt_test_data): Likewise.
11043 (significand_test_data): Likewise.
11044
48a18de1
SP
110452013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11046
11047 [BZ #15424]
11048 * benchtests/bench-modf.c (struct args): Mark arg0 as
11049 volatile.
11050 * scripts/bench.pl: Mark members of struct args as volatile.
11051
13d3b41a
AZ
110522013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11053
68191c1d 11054 [BZ # 15497]
13d3b41a
AZ
11055 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
11056 negative infinity on POWER6 or lower.
11057 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
11058
2848b105
MR
110592013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11060
11061 [BZ #15442]
11062 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
11063 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
11064 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
11065 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
11066 (_FP_SETQNAN): New macro.
11067 (_FP_SETQNAN_SEMIRAW): Likewise.
11068 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
11069 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
11070 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
11071 (FP_EXTEND): Use _FP_FRAC_SNANP.
11072 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
11073 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
11074 into account.
11075 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11076 New macro.
11077 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11078 Likewise.
11079
323e5cb7
JM
110802013-05-16 Joseph Myers <joseph@codesourcery.com>
11081
c58b274f
JM
11082 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
11083 with DIVIDE_BY_ZERO_EXCEPTION.
11084 (gamma_test_data): Likewise.
11085 (lgamma_test_data): Likewise.
11086 (log_test_data): Likewise.
11087 (log10_test_data): Likewise.
11088 (log2_test_data): Likewise.
11089 (tgamma_test_data): Likewise.
11090
0ab34904
JM
11091 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
11092 (acos_test_tonearest): Likewise.
11093 (acos_test_towardzero): Likewise.
11094 (acos_test_downward): Likewise.
11095 (acos_test_upward): Likewise.
11096 (acosh_test): Likewise.
11097 (asin_test): Likewise.
11098 (asin_test_tonearest): Likewise.
11099 (asin_test_towardzero): Likewise.
11100 (asin_test_downward): Likewise.
11101 (asin_test_upward): Likewise.
11102 (asinh_test): Likewise.
11103 (atan_test): Likewise.
11104 (atanh_test): Likewise.
11105 (atan2_test): Likewise.
11106 (cabs_test): Likewise.
11107 (cacos_test): Likewise.
11108 (cacosh_test): Likewise.
11109 (casin_test): Likewise.
11110 (casinh_test): Likewise.
11111 (catan_test): Likewise.
11112 (catanh_test): Likewise.
11113 (cbrt_test): Likewise.
11114 (ccos_test): Likewise.
11115 (ccosh_test): Likewise.
11116 (cexp_test): Likewise.
11117 (clog_test): Likewise.
11118 (clog10_test): Likewise.
11119 (cos_test): Likewise.
11120 (cos_test_tonearest): Likewise.
11121 (cos_test_towardzero): Likewise.
11122 (cos_test_downward): Likewise.
11123 (cos_test_upward): Likewise.
11124 (cosh_test): Likewise.
11125 (cosh_test_tonearest): Likewise.
11126 (cosh_test_towardzero): Likewise.
11127 (cosh_test_downward): Likewise.
11128 (cosh_test_upward): Likewise.
11129 (cpow_test): Likewise.
11130 (csin_test): Likewise.
11131 (csinh_test): Likewise.
11132 (csqrt_test): Likewise.
11133 (ctan_test): Likewise.
11134 (ctan_test_tonearest): Likewise.
11135 (ctan_test_towardzero): Likewise.
11136 (ctan_test_downward): Likewise.
11137 (ctan_test_upward): Likewise.
11138 (ctanh_test): Likewise.
11139 (ctanh_test_tonearest): Likewise.
11140 (ctanh_test_towardzero): Likewise.
11141 (ctanh_test_downward): Likewise.
11142 (ctanh_test_upward): Likewise.
11143 (erf_test): Likewise.
11144 (erfc_test): Likewise.
11145 (exp_test): Likewise.
11146 (exp_test_tonearest): Likewise.
11147 (exp_test_towardzero): Likewise.
11148 (exp_test_downward): Likewise.
11149 (exp_test_upward): Likewise.
11150 (exp10_test): Likewise.
11151 (exp2_test): Likewise.
11152 (expm1_test): Likewise.
11153 (fmod_test): Likewise.
11154 (gamma_test): Likewise.
11155 (hypot_test): Likewise.
11156 (j0_test): Likewise.
11157 (j1_test): Likewise.
11158 (jn_test): Likewise.
11159 (lgamma_test): Likewise.
11160 (log_test): Likewise.
11161 (log10_test): Likewise.
11162 (log1p_test): Likewise.
11163 (log2_test): Likewise.
11164 (logb_test_downward): Likewise.
11165 (pow_test): Likewise.
11166 (pow_test_tonearest): Likewise.
11167 (pow_test_towardzero): Likewise.
11168 (pow_test_downward): Likewise.
11169 (pow_test_upward): Likewise.
11170 (remainder_test): Likewise.
11171 (remquo_test): Likewise.
11172 (sin_test): Likewise.
11173 (sin_test_tonearest): Likewise.
11174 (sin_test_towardzero): Likewise.
11175 (sin_test_downward): Likewise.
11176 (sin_test_upward): Likewise.
11177 (sincos_test): Likewise.
11178 (sinh_test): Likewise.
11179 (sinh_test_tonearest): Likewise.
11180 (sinh_test_towardzero): Likewise.
11181 (sinh_test_downward): Likewise.
11182 (sinh_test_upward): Likewise.
11183 (sqrt_test): Likewise.
11184 (tan_test): Likewise.
11185 (tan_test_tonearest): Likewise.
11186 (tan_test_towardzero): Likewise.
11187 (tan_test_downward): Likewise.
11188 (tan_test_upward): Likewise.
11189 (tanh_test): Likewise.
11190 (tgamma_test): Likewise.
11191 (y0_test): Likewise.
11192 (y1_test): Likewise.
11193 (yn_test): Likewise.
11194
323e5cb7
JM
11195 * math/gen-libm-test.pl (adjust_arg): Remove function.
11196 (special_function): Remove argument $in_func. Only handle
11197 generating output for tables of tests, not inside functions.
11198 (parse_args): Likewise.
11199 (generate_testfile): Remove variable $in_func. Update call to
11200 parse_args.
11201 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11202 (MINUS_ZERO_INIT): Rename macro to minus_zero.
11203 (PLUS_INFTY_INIT): Rename macro to plus_infty.
11204 (MINUS_INFTY_INIT): Rename macro to minus_infty.
11205 (QNAN_VALUE_INIT): Rename macro to qnan_value.
11206 (MAX_VALUE_INIT): Rename macro to max_value.
11207 (MIN_VALUE_INIT): Rename macro to min_value.
11208 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11209 (plus_zero): Remove variable.
11210 (minus_zero): Likewise.
11211 (plus_infty): Likewise.
11212 (minus_infty): Likewise.
11213 (qnan_value): Likewise.
11214 (max_value): Likewise.
11215 (min_value): Likewise.
11216 (min_subnorm_value): Likewise.
11217
e054f494
RA
112182013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11219
11220 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11221 uint64_t or uint32_t usage.
11222 * crypt/sha256-block.c: Likewise.
11223 * crypt/sha256-crypt.c: Likewise.
11224 * crypt/sha256.c: Likewise.
11225 * crypt/sha512-block.c: Likewise.
11226 * crypt/sha512-crypt.c: Likewise.
11227 * crypt/sha512.c: Likewise.
11228 * debug/backtrace-tst.c: Likewise.
11229 * debug/pcprofiledump.c: Likewise.
11230 * elf/cache.c: Likewise.
11231 * elf/dl-cache.c: Likewise.
11232 * elf/dl-misc.c: Likewise.
11233 * elf/dl-profile.c: Likewise.
11234 * elf/dl-support.c: Likewise.
11235 * elf/ldconfig.c: Likewise.
11236 * elf/sprof.c: Likewise.
11237 * iconv/dummy-repertoire.c: Likewise.
11238 * iconv/iconv_charmap.c: Likewise.
11239 * iconv/skeleton.c: Likewise.
11240 * iconvdata/8bit-generic.c: Likewise.
11241 * iconvdata/cp737.h: Likewise.
11242 * iconvdata/cp775.h: Likewise.
11243 * iconvdata/ibm1008.h: Likewise.
11244 * iconvdata/ibm1025.h: Likewise.
11245 * iconvdata/ibm1046.h: Likewise.
11246 * iconvdata/ibm1097.h: Likewise.
11247 * iconvdata/ibm1112.h: Likewise.
11248 * iconvdata/ibm1122.h: Likewise.
11249 * iconvdata/ibm1123.h: Likewise.
11250 * iconvdata/ibm1124.h: Likewise.
11251 * iconvdata/ibm1129.h: Likewise.
11252 * iconvdata/ibm1130.h: Likewise.
11253 * iconvdata/ibm1132.h: Likewise.
11254 * iconvdata/ibm1133.h: Likewise.
11255 * iconvdata/ibm1137.h: Likewise.
11256 * iconvdata/ibm1140.h: Likewise.
11257 * iconvdata/ibm1141.h: Likewise.
11258 * iconvdata/ibm1142.h: Likewise.
11259 * iconvdata/ibm1143.h: Likewise.
11260 * iconvdata/ibm1144.h: Likewise.
11261 * iconvdata/ibm1145.h: Likewise.
11262 * iconvdata/ibm1146.h: Likewise.
11263 * iconvdata/ibm1147.h: Likewise.
11264 * iconvdata/ibm1148.h: Likewise.
11265 * iconvdata/ibm1149.h: Likewise.
11266 * iconvdata/ibm1153.h: Likewise.
11267 * iconvdata/ibm1154.h: Likewise.
11268 * iconvdata/ibm1155.h: Likewise.
11269 * iconvdata/ibm1156.h: Likewise.
11270 * iconvdata/ibm1157.h: Likewise.
11271 * iconvdata/ibm1158.h: Likewise.
11272 * iconvdata/ibm1160.h: Likewise.
11273 * iconvdata/ibm1161.h: Likewise.
11274 * iconvdata/ibm1162.h: Likewise.
11275 * iconvdata/ibm1163.h: Likewise.
11276 * iconvdata/ibm1164.h: Likewise.
11277 * iconvdata/ibm1166.h: Likewise.
11278 * iconvdata/ibm1167.h: Likewise.
11279 * iconvdata/ibm12712.h: Likewise.
11280 * iconvdata/ibm1390.h: Likewise.
11281 * iconvdata/ibm1399.h: Likewise.
11282 * iconvdata/ibm16804.h: Likewise.
11283 * iconvdata/ibm4517.h: Likewise.
11284 * iconvdata/ibm4899.h: Likewise.
11285 * iconvdata/ibm4909.h: Likewise.
11286 * iconvdata/ibm4971.h: Likewise.
11287 * iconvdata/ibm5347.h: Likewise.
11288 * iconvdata/ibm803.h: Likewise.
11289 * iconvdata/ibm856.h: Likewise.
11290 * iconvdata/ibm901.h: Likewise.
11291 * iconvdata/ibm902.h: Likewise.
11292 * iconvdata/ibm9030.h: Likewise.
11293 * iconvdata/ibm9066.h: Likewise.
11294 * iconvdata/ibm921.h: Likewise.
11295 * iconvdata/ibm922.h: Likewise.
11296 * iconvdata/ibm9448.h: Likewise.
11297 * iconvdata/isiri-3342.h: Likewise.
11298 * iconvdata/jis0201.h: Likewise.
11299 * include/link.h: Likewise.
11300 * include/netdb.h: Likewise.
11301 * inet/check_native.c: Likewise.
11302 * inet/check_pf.c: Likewise.
11303 * inet/getipv4sourcefilter.c: Likewise.
11304 * inet/getnameinfo.c: Likewise.
11305 * inet/getsourcefilter.c: Likewise.
11306 * inet/htonl.c: Likewise.
11307 * inet/setipv4sourcefilter.c: Likewise.
11308 * inet/setsourcefilter.c: Likewise.
11309 * inet/test-inet6_opt.c: Likewise.
11310 * inet/tst-network.c: Likewise.
11311 * locale/C-collate.c: Likewise.
11312 * locale/C-ctype.c: Likewise.
11313 * locale/C-time.c: Likewise.
11314 * locale/C-translit.h: Likewise.
11315 * locale/loadarchive.c: Likewise.
11316 * locale/programs/3level.h: Likewise.
11317 * locale/programs/charmap.c: Likewise.
11318 * locale/programs/charmap.h: Likewise.
11319 * locale/programs/ld-address.c: Likewise.
11320 * locale/programs/ld-collate.c: Likewise.
11321 * locale/programs/ld-ctype.c: Likewise.
11322 * locale/programs/ld-identification.c: Likewise.
11323 * locale/programs/ld-measurement.c: Likewise.
11324 * locale/programs/ld-messages.c: Likewise.
11325 * locale/programs/ld-monetary.c: Likewise.
11326 * locale/programs/ld-name.c: Likewise.
11327 * locale/programs/ld-numeric.c: Likewise.
11328 * locale/programs/ld-paper.c: Likewise.
11329 * locale/programs/ld-telephone.c: Likewise.
11330 * locale/programs/ld-time.c: Likewise.
11331 * locale/programs/linereader.c: Likewise.
11332 * locale/programs/locale.c: Likewise.
11333 * locale/programs/locarchive.c: Likewise.
11334 * locale/programs/locfile.h: Likewise.
11335 * locale/programs/repertoire.c: Likewise.
11336 * locale/programs/simple-hash.c: Likewise.
11337 * locale/programs/simple-hash.h: Likewise.
11338 * malloc/memusage.c: Likewise.
11339 * malloc/memusagestat.c: Likewise.
11340 * nis/nis_defaults.c: Likewise.
11341 * nis/nis_hash.c: Likewise.
11342 * nis/nis_print.c: Likewise.
11343 * nis/nis_xdr.c: Likewise.
11344 * nscd/connections.c: Likewise.
11345 * nscd/hstcache.c: Likewise.
11346 * nscd/nscd_gethst_r.c: Likewise.
11347 * nscd/nscd_getserv_r.c: Likewise.
11348 * nscd/nscd_helper.c: Likewise.
11349 * nscd/servicescache.c: Likewise.
11350 * nss/makedb.c: Likewise.
11351 * nss/nss_db/db-XXX.c: Likewise.
11352 * nss/nss_db/db-initgroups.c: Likewise.
11353 * nss/nss_db/db-netgrp.c: Likewise.
11354 * nss/nss_files/files-network.c: Likewise.
11355 * nss/nss_files/files-parse.c: Likewise.
11356 * posix/bug-regex5.c: Likewise.
11357 * posix/fnmatch_loop.c: Likewise.
11358 * posix/regcomp.c: Likewise.
11359 * posix/regexec.c: Likewise.
11360 * posix/tst-rfc3484-2.c: Likewise.
11361 * posix/tst-rfc3484-3.c: Likewise.
11362 * posix/tst-rfc3484.c: Likewise.
11363 * resolv/nss_dns/dns-canon.c: Likewise.
11364 * resolv/nss_dns/dns-network.c: Likewise.
11365 * resolv/res_init.c: Likewise.
11366 * resolv/res_mkquery.c: Likewise.
11367 * resolv/tst-aton.c: Likewise.
11368 * stdlib/cxa_atexit.c: Likewise.
11369 * stdlib/cxa_finalize.c: Likewise.
11370 * stdlib/gen-fpioconst.c: Likewise.
11371 * stdlib/strtol_l.c: Likewise.
11372 * string/tst-endian.c: Likewise.
11373 * sunrpc/auth_des.c: Likewise.
11374 * sunrpc/clnt_udp.c: Likewise.
11375 * sunrpc/rtime.c: Likewise.
11376 * sunrpc/svcauth_des.c: Likewise.
11377 * sunrpc/xdr.c: Likewise.
11378 * sunrpc/xdr_intXX_t.c: Likewise.
11379 * sunrpc/xdr_rec.c: Likewise.
11380 * sysdeps/generic/ldconfig.h: Likewise.
11381 * sysdeps/generic/ldsodefs.h: Likewise.
11382 * sysdeps/generic/memusage.h: Likewise.
11383 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11386 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11393 * sysdeps/posix/getaddrinfo.c: Likewise.
11394 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11395 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11396 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11397 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11398 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11399 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11400 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11401 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11402 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11404 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11405 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11406 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11407 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11408 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11409 * sysdeps/x86_64/dl-tls.h: Likewise.
11410 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11411 * time/alt_digit.c: Likewise.
11412 * time/era.c: Likewise.
11413 * wcsmbs/tst-c16c32-1.c: Likewise.
11414
8c75f674
JM
114152013-05-16 Joseph Myers <joseph@codesourcery.com>
11416
11417 * math/libm-test.inc (struct test_sincos_data): New type.
11418 (RUN_TEST_LOOP_sincos): New macro.
11419 (sincos_test_data): New variable.
11420 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11421
e6e49e59
RH
114222013-05-16 Richard Henderson <rth@redhat.com>
11423
11424 * math/atest-exp2.c (LIMB64): New macro.
11425 (CONSTSZ): New macro.
11426 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11427 (hexdig): Move ...
11428 (print_mpn_fp): ... to function scope.
11429 (read_mpn_hex): Remove.
11430 (get_log2): Remove.
11431 (exp2_mpn): Use mp_log2.
11432 (main): Use mp_exp1.
11433
15c7c18d
JM
114342013-05-16 Joseph Myers <joseph@codesourcery.com>
11435
105a07df
JM
11436 * math/libm-test.inc: Remove comment about not testing "inexact"
11437 exceptions.
11438 (INEXACT_EXCEPTION): New macro.
11439 (NO_INEXACT_EXCEPTION): Likewise.
11440 (INVALID_EXCEPTION_OK): Update value.
11441 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11442 (OVERFLOW_EXCEPTION_OK): Likewise.
11443 (UNDERFLOW_EXCEPTION_OK): Likewise.
11444 (IGNORE_ZERO_INF_SIGN): Likewise.
11445 (ERRNO_UNCHANGED): Likewise.
11446 (ERRNO_EDOM): Likewise.
11447 (ERRNO_ERANGE): Likewise.
11448 (test_exceptions): Handle testing "inexact" exceptions.
11449 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11450 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11451 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11452 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11453 INEXACT_EXCEPTION.
11454 (rint_towardzero_test_data): Likewise.
11455 (rint_downward_test_data): Likewise.
11456 (rint_upward_test_data): Likewise.
11457
e9eee333
JM
11458 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11459 with OVERFLOW_EXCEPTION.
11460 (exp10_test_data): Likewise.
11461 (exp2_test_data): Likewise.
11462 (expm1_test_data): Likewise.
11463 (lgamma_test_data): Likewise.
11464 (pow_test_data): Likewise.
11465 (tgamma_test_data): Likewise.
11466 (yn_test_data): Remove duplicate test of overflow.
11467
1c38ff73
JM
11468 * math/libm-test.inc (struct test_cc_c_data): New type.
11469 (RUN_TEST_LOOP_cc_c): New macro.
11470 (cpow_test_data): New variable.
11471 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11472
15c7c18d
JM
11473 * math/libm-test.inc (struct test_f_L_data): New type.
11474 (RUN_TEST_LOOP_f_L): New macro.
11475 (llrint_test_data): New variable.
11476 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11477 (llrint_tonearest_test_data): New variable.
11478 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11479 (llrint_towardzero_test_data): New variable.
11480 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11481 (llrint_downward_test_data): New variable.
11482 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11483 (llrint_upward_test_data): New variable.
11484 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11485 (llround_test_data): New variable.
11486 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11487
f137ff13
PC
114882013-05-13 Peter Collingbourne <pcc@google.com>
11489
11490 * math/atest-exp2.c (get_log2): Remove const attribute.
11491
3608cb24
JM
114922013-05-15 Joseph Myers <joseph@codesourcery.com>
11493
11494 * math/libm-test.inc (struct test_f_l_data): New type.
11495 (RUN_TEST_LOOP_f_l): New macro.
11496 (lrint_test_data): New variable.
11497 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11498 (lrint_tonearest_test_data): New variable.
11499 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11500 (lrint_towardzero_test_data): New variable.
11501 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11502 (lrint_downward_test_data): New variable.
11503 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11504 (lrint_upward_test_data): New variable.
11505 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11506 (lround_test_data): New variable.
11507 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11508
39b1f617
PC
115092013-05-15 Peter Collingbourne <pcc@google.com>
11510
1deff3dc
PC
11511 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11512 (EXTRACT_WORDS64) Use where appropriate.
11513 (INSERT_WORDS64) Likewise.
11514
791f3ba0
PC
11515 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11516 constraints with x constraints.
11517 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11518
39b1f617
PC
11519 * malloc/obstack.c (_obstack_compat): Add initializer.
11520
12fba011
EM
115212013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11522
11523 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11524 si_trapno and add si_addr_lsb to _sifields.sigfault.
11525 (si_trapno): Remove macro.
11526 (si_addr_lsb): Define new macro.
11527 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11528
d369f531
JM
115292013-05-15 Joseph Myers <joseph@codesourcery.com>
11530
b861c6c4
JM
11531 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11532 instead of TEST_f_l.
11533 (llrint_test_tonearest): Likewise.
11534 (llrint_test_towardzero): Likewise.
11535 (llrint_test_downward): Likewise.
11536 (llrint_test_upward): Likewise.
11537 (llround_test): Likewise.
11538
7abeee12
JM
11539 * math/libm-test.inc (struct test_f_i_data): Add comment.
11540 (RUN_TEST_LOOP_f_b): New macro.
11541 (RUN_TEST_LOOP_f_b_tg): Likewise.
11542 (finite_test_data): New variable.
11543 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11544 (isfinite_test_data): New variable.
11545 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11546 (isinf_test_data): New variable.
11547 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11548 (isnan_test_data): New variable.
11549 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11550 (isnormal_test_data): New variable.
11551 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11552 (issignaling_test_data): New variable.
11553 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11554 (signbit_test_data): New variable.
11555 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11556
cbe8c4d3
JM
11557 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11558 with INVALID_EXCEPTION.
11559 (acosh_test_data): Likewise.
11560 (asin_test_data): Likewise.
11561 (atanh_test_data): Likewise.
11562 (fmod_test_data): Likewise.
11563 (log_test_data): Likewise.
11564 (log10_test_data): Likewise.
11565 (log2_test_data): Likewise.
11566 (pow_test_data): Likewise.
11567 (sqrt_test_data): Likewise.
11568 (y0_test_data): Likewise.
11569 (y1_test_data): Likewise.
11570 (yn_test_data): Likewise.
11571
5575c0e5
JM
11572 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11573 function contents.
11574
d369f531
JM
11575 * math/libm-test.inc (struct test_ff_i_data): New type.
11576 (RUN_TEST_LOOP_ff_i_tg): New macro.
11577 (isgreater_test_data): New variable.
11578 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11579 (isgreaterequal_test_data): New variable.
11580 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11581 (isless_test_data): New variable.
11582 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11583 (islessequal_test_data): New variable.
11584 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11585 (islessgreater_test_data): New variable.
11586 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11587 (isunordered_test_data): New variable.
11588 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11589
781fd748
DM
115902013-05-14 David S. Miller <davem@davemloft.net>
11591
11592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11593
87aa21df
JM
115942013-05-14 Joseph Myers <joseph@codesourcery.com>
11595
5e908270
JM
11596 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11597
f71172e5
JM
11598 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11599 extra_test to int.
11600 (struct test_f_i_data): Change type of max_ulp to int.
11601
8cfa635a
JM
11602 * math/libm-test.inc (test_ffI_f1_data): New type.
11603 (RUN_TEST_LOOP_ffI_f1): New macro.
11604 (remquo_test_data): New variable.
11605 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11606
2bcb36b2
JM
11607 * setjmp/tst-setjmp-fp.c: New file.
11608 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11609 (link-libm): New variable.
11610 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11611
acbd839a
JM
11612 * math/libm-test.inc (struct test_f_i_data): New type.
11613 (RUN_TEST_LOOP_f_i): New macro.
11614 (RUN_TEST_LOOP_f_i_tg): Likewise.
11615 (fpclassify_test_data): New variable.
11616 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11617 (ilogb_test_data): New variable.
11618 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11619
e414d745
JM
11620 * math/libm-test.inc (scalbln_test): Correct function name in END
11621 call.
11622
d9c2a0fd
JM
11623 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11624 (RUN_TEST_LOOP_fI_f1): New macro.
11625 (frexp_test_data): New variable.
11626 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11627
9dc9095d
JM
11628 * math/libm-test.inc (struct test_fF_f1_data): New type.
11629 (RUN_TEST_LOOP_fF_f1): New macro.
11630 (modf_test_data): New variable.
11631 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11632
87aa21df
JM
11633 * math/libm-test.inc (struct test_f_f1_data): New type.
11634 (RUN_TEST_LOOP_f_f1): New macro.
11635 (gamma_test_data): New variable.
11636 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11637 (lgamma_test_data): New variable.
11638 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11639
141af660
CD
116402013-05-13 Carlos O'Donell <carlos@redhat.com>
11641
11642 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11643 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11644 (main): Comment "tls" pseudo-hwcap.
11645
6d33265c
JM
116462013-05-13 Joseph Myers <joseph@codesourcery.com>
11647
68fc074c
JM
11648 * math/libm-test.inc (struct test_fl_f_data): New type.
11649 (RUN_TEST_LOOP_fl_f): New variable.
11650 (scalbln_test_data): New variable.
11651 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11652
243216e1
JM
11653 * math/libm-test.inc (struct test_fi_f_data): New type.
11654 (RUN_TEST_LOOP_fi_f): New macro.
11655 (ldexp_test_data): New variable.
11656 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11657 (scalbn_test_data): New variable.
11658 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11659
6a1992e2
JM
11660 * math/libm-test.inc (struct test_c_f_data): New type.
11661 (RUN_TEST_LOOP_c_f): New macro.
11662 (cabs_test_data): New variable.
11663 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11664 (carg_test_data): New variable.
11665 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11666 (cimag_test_data): New variable.
11667 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11668 (creal_test_data): New variable.
11669 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11670
0e400df5
JM
11671 * math/libm-test.inc (struct test_if_f_data): New type.
11672 (RUN_TEST_LOOP_if_f): New macro.
11673 (jn_test_data): New variable.
11674 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11675 (yn_test_data): New variable.
11676 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11677
6d33265c
JM
11678 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11679
f98ece5f
AZ
116802013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11681
11682 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11683 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11684
0f7d347b
SP
116852013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11686
43fe811b
SP
11687 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11688 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11689 (bench-deps): Add bench-timing.h.
11690 * benchtests-bench-skeleton.c: Include bench-timing.h.
11691 (main): Use TIMING_* macros instead of clock_gettime.
11692 * benchtests/bench-timing.h: New file.
11693
0f7d347b
SP
11694 [BZ #14582]
11695 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11696 Renamed from _LIB_VERSION.
11697 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11698
601a3a5f
JM
116992013-05-12 Joseph Myers <joseph@codesourcery.com>
11700
4f184d30
JM
11701 * math/libm-test.inc (struct test_fff_f_data): New type.
11702 (RUN_TEST_LOOP_fff_f): New macro.
11703 (fma_test_data): New variable.
11704 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11705 (fma_towardzero_test_data): New variable.
11706 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11707 (fma_downward_test_data): New variable.
11708 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11709 (fma_upward_test_data): New variable.
11710 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11711
08198877
JM
11712 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11713 (struct test_c_c_data): New type.
11714 (RUN_TEST_LOOP_c_c): New macro.
11715 (cacos_test_data): New variable.
11716 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11717 (cacosh_test_data): New variable.
11718 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11719 (casin_test_data): New variable.
11720 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11721 (casinh_test_data): New variable.
11722 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11723 (catan_test_data): New variable.
11724 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11725 (catanh_test_data): New variable.
11726 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11727 (ccos_test_data): New variable.
11728 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11729 (ccosh_test_data): New variable.
11730 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11731 (cexp_test_data): New variable.
11732 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11733 (clog_test_data): New variable.
11734 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11735 (clog10_test_data): New variable.
11736 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11737 (conj_test_data): New variable.
11738 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11739 (cproj_test_data): New variable.
11740 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11741 (csin_test_data): New variable.
11742 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11743 (csinh_test_data): New variable.
11744 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11745 (csqrt_test_data): New variable.
11746 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11747 (ctan_test_data): New variable.
11748 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11749 (ctan_tonearest_test_data): New variable.
11750 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11751 (ctan_towardzero_test_data): New variable.
11752 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11753 (ctan_downward_test_data): New variable.
11754 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11755 (ctan_upward_test_data): New variable.
11756 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11757 (ctanh_test_data): New variable.
11758 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11759 (ctanh_tonearest_test_data): New variable.
11760 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11761 (ctanh_towardzero_test_data): New variable.
11762 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11763 (ctanh_downward_test_data): New variable.
11764 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11765 (ctanh_upward_test_data): New variable.
11766 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11767 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11768 of BUILD_COMPLEX.
11769
601a3a5f
JM
11770 * math/libm-test.inc (struct test_ff_f_data): New type.
11771 (struct test_ff_f_data_nexttoward): Likewise.
11772 (RUN_TEST_LOOP_2_f): New macro.
11773 (RUN_TEST_LOOP_ff_f): Likewise.
11774 (atan2_test_data): New variable.
11775 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11776 (copysign_test_data): New variable.
11777 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11778 (fdim_test_data): New variable.
11779 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11780 (fmax_test_data): New variable.
11781 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11782 (fmin_test_data): New variable.
11783 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11784 (fmod_test_data): New variable.
11785 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11786 (hypot_test_data): New variable.
11787 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11788 (nextafter_test_data): New variable.
11789 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11790 (nexttoward_test_data): New variable.
11791 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11792 (pow_test_data): New variable.
11793 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11794 (pow_tonearest_test_data): New variable.
11795 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11796 (pow_towardzero_test_data): New variable.
11797 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11798 (pow_downward_test_data): New variable.
11799 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11800 (pow_upward_test_data): New variable.
11801 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11802 (remainder_test_data): New variable.
11803 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11804 (scalb_test_data): New variable.
11805 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11806 * sysdeps/i386/fpu/libm-test-ulps: Update.
11807
74c57478
JM
118082013-05-11 Joseph Myers <joseph@codesourcery.com>
11809
8329e4da
JM
11810 * math/libm-test.inc (fma_test): Use max_value instead of local
11811 variable fltmax.
11812 (nextafter_test): Likewise.
11813
74c57478
JM
11814 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11815 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11816 (acos_downward_test_data): New variable.
11817 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11818 (acos_upward_test_data): New variable.
11819 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11820 (acosh_test_data): New variable.
11821 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11822 (asin_test_data): New variable.
11823 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11824 (asin_tonearest_test_data): New variable.
11825 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11826 (asin_towardzero_test_data): New variable.
11827 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11828 (asin_downward_test_data): New variable.
11829 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11830 (asin_upward_test_data): New variable.
11831 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11832 (asinh_test_data): New variable.
11833 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11834 (atan_test_data): New variable.
11835 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11836 (atanh_test_data): New variable.
11837 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11838 (cbrt_test_data): New variable.
11839 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11840 (ceil_test_data): New variable.
11841 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11842 (cos_test_data): New variable.
11843 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11844 (cos_tonearest_test_data): New variable.
11845 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11846 (cos_towardzero_test_data): New variable.
11847 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11848 (cos_downward_test_data): New variable.
11849 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11850 (cos_upward_test_data): New variable.
11851 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11852 (cosh_test_data): New variable.
11853 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11854 (cosh_tonearest_test_data): New variable.
11855 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11856 (cosh_towardzero_test_data): New variable.
11857 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11858 (cosh_downward_test_data): New variable.
11859 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11860 (cosh_upward_test_data): New variable.
11861 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11862 (erf_test_data): New variable.
11863 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11864 (erfc_test_data): New variable.
11865 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11866 (exp_test_data): New variable.
11867 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11868 (exp_tonearest_test_data): New variable.
11869 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11870 (exp_towardzero_test_data): New variable.
11871 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11872 (exp_downward_test_data): New variable.
11873 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11874 (exp_upward_test_data): New variable.
11875 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11876 (exp10_test_data): New variable.
11877 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11878 (exp2_test_data): New variable.
11879 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11880 (expm1_test_data): New variable.
11881 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11882 (fabs_test_data): New variable.
11883 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11884 (floor_test_data): New variable.
11885 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11886 (j0_test_data): New variable.
11887 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11888 (j1_test_data): New variable.
11889 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11890 (log_test_data): New variable.
11891 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11892 (log10_test_data): New variable.
11893 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11894 (log1p_test_data): New variable.
11895 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11896 (log2_test_data): New variable.
11897 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11898 (logb_test_data): New variable.
11899 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11900 (logb_downward_test_data): New variable.
11901 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11902 (nearbyint_test_data): New variable.
11903 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11904 (rint_test_data): New variable.
11905 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11906 (rint_tonearest_test_data): New variable.
11907 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11908 (rint_towardzero_test_data): New variable.
11909 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11910 (rint_downward_test_data): New variable.
11911 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11912 (rint_upward_test_data): New variable.
11913 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11914 (round_test_data): New variable.
11915 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11916 (sin_test_data): New variable.
11917 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11918 (sin_tonearest_test_data): New variable.
11919 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11920 (sin_towardzero_test_data): New variable.
11921 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11922 (sin_downward_test_data): New variable.
11923 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11924 (sin_upward_test_data): New variable.
11925 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11926 (sinh_test_data): New variable.
11927 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11928 (sinh_tonearest_test_data): New variable.
11929 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11930 (sinh_towardzero_test_data): New variable.
11931 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11932 (sinh_downward_test_data): New variable.
11933 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11934 (sinh_upward_test_data): New variable.
11935 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11936 (sqrt_test_data): New variable.
11937 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11938 (tan_test_data): New variable.
11939 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11940 (tan_tonearest_test_data): New variable.
11941 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11942 (tan_towardzero_test_data): New variable.
11943 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11944 (tan_downward_test_data): New variable.
11945 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11946 (tan_upward_test_data): New variable.
11947 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11948 (tanh_test_data): New variable.
11949 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11950 (tgamma_test_data): New variable.
11951 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11952 (trunc_test_data): New variable.
11953 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11954 (y0_test_data): New variable.
11955 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11956 (y1_test_data): New variable.
11957 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11958 (significand_test_data): New variable.
11959 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11960
7187d844
CG
119612013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11962
11963 [BZ #12387]
11964 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11965
f63fae73
PT
119662013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11967
11968 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11969
8a67a4b3
AJ
119702013-05-10 Andreas Jaeger <aj@suse.de>
11971
11972 [BZ #15448]
11973 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11974 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11975
51df539d
JM
119762013-05-10 Joseph Myers <joseph@codesourcery.com>
11977
11978 * math/gen-libm-test.pl (adjust_arg): New function.
11979 (special_functions): Handle generating output in both functions
11980 and arrays.
11981 (parse_args): Likewise.
11982 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11983 $in_func argument to parse_args.
11984 * math/libm-test.inc (struct test_f_f_data): New type.
11985 (IF_ROUND_INIT_): New macro.
11986 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11987 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11988 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11989 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11990 (ROUND_RESTORE_): Likewise.
11991 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11992 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11993 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11994 (ROUND_RESTORE_FE_UPWARD): Likewise.
11995 (RUN_TEST_LOOP_f_f): New macro.
11996 (acos_test_data): New variable.
11997 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11998 (acos_tonearest_test_data): New variable.
11999 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12000
5c637fe5
SP
120012013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12002
12003 * benchtests/bench-skeleton.c (startup): Fix coding style.
12004
ab2b9461
JM
120052013-05-10 Joseph Myers <joseph@codesourcery.com>
12006
12007 [BZ #6809]
12008 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
12009 negative infinity argument.
12010 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
12011 negative infinity argument.
12012 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
12013 negative infinity argument.
12014 * math/libm-test.inc (tgamma_test): Expect errno to be set for
12015 domain errors.
12016
4c0fe6fe
FW
120172013-05-10 Florian Weimer <fweimer@redhat.com>
12018
12019 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
12020 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
12021 * iconv/iconv_prog.c (main): Likewise.
12022 * locale/programs/charmap-dir.c (charmap_readdir)
12023 (fopen_uncompressed): Likewise.
12024 * locale/programs/locfile.c (siblings_uncached)
12025 (write_locale_data): Use lstat64 instead of lstat.
12026 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
12027 stat.
12028
a3375d29
AJ
120292013-05-10 Andreas Jaeger <aj@suse.de>
12030
12031 [BZ #15395]
12032 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
12033 localization.
12034 Include <locale.h>.
12035
36129722
CD
120362013-05-09 Carlos O'Donell <carlos@redhat.com>
12037
12038 * elf/dl-close.c (_dl_close_worker): Add comments.
12039
faa7f811
JM
120402013-05-09 Joseph Myers <joseph@codesourcery.com>
12041
ed41ffef
JM
12042 [BZ #15359]
12043 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
12044 high part of pi/2.
12045 (__ieee754_rem_pio2l): Update comments.
12046
d0213cd0
JM
12047 [BZ #15429]
12048 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
12049 high part of pi/2.
12050 (__ieee754_rem_pio2l): Update comments.
12051
0d3e777a
JM
12052 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
12053 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
12054
24f56066
JM
12055 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
12056 M_PI_4l.
12057
faa7f811
JM
12058 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
12059 (M_PI_34_LOG10El): Likewise.
12060 (M_PI2_LOG10El): Likewise.
12061 (M_PI4_LOG10El): Likewise.
12062 (M_PI_LOG10El): Likewise.
12063
e9a5e0fd
AZ
120642013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12065
12066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12067
d8cd06db
JM
120682013-05-08 Joseph Myers <joseph@codesourcery.com>
12069
a0d9f9d7
JM
12070 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
12071 (MINUS_ZERO_INIT): Likewise.
12072 (PLUS_INFTY_INIT): Likewise.
12073 (MINUS_INFTY_INIT): Likewise.
12074 (QNAN_VALUE_INIT): Likewise.
12075 (MAX_VALUE_INIT): Likewise.
12076 (MIN_VALUE_INIT): Likewise.
12077 (MIN_SUBNORM_VALUE_INIT): Likewise.
12078 (plus_zero): Initialize with PLUS_ZERO_INIT.
12079 (minus_zero): Initialize with MINUS_ZERO_INIT.
12080 (plus_infty): Initialize with PLUS_INFTY_INIT.
12081 (minus_infty): Initialize with MINUS_INFTY_INIT.
12082 (qnan_value): Initialize with QNAN_VALUE_INIT.
12083 (max_value): Initialize with MAX_VALUE_INIT.
12084 (min_value): Initialize with MIN_VALUE_INIT.
12085 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
12086
ae08db3b
JM
12087 * math/libm-test.inc (RUN_TEST_if_f): New macro.
12088 (jn_test): Use TEST_if_f instead of TEST_ff_f.
12089 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
12090 (yn_test): Use TEST_if_f instead of TEST_ff_f.
12091
f44bf14a
JM
12092 * math/libm-test.inc (RUN_TEST_f_f): New macro.
12093 (RUN_TEST_2_f): Likewise.
12094 (RUN_TEST_ff_f): Likewise.
12095 (RUN_TEST_fi_f): Likewise.
12096 (RUN_TEST_fl_f): Likewise.
12097 (RUN_TEST_fff_f): Likewise.
12098 (RUN_TEST_c_f): Likewise.
12099 (RUN_TEST_f_f1): Likewise.
12100 (RUN_TEST_fF_f1): Likewise.
12101 (RUN_TEST_fI_f1): Likewise.
12102 (RUN_TEST_ffI_f1): Likewise.
12103 (RUN_TEST_c_c): Likewise.
12104 (RUN_TEST_cc_c): Likewise.
12105 (RUN_TEST_f_i): Likewise.
12106 (RUN_TEST_f_i_tg): Likewise.
12107 (RUN_TEST_ff_i_tg): Likewise.
12108 (RUN_TEST_f_b): Likewise.
12109 (RUN_TEST_f_b_tg): Likewise.
12110 (RUN_TEST_f_l): Likewise.
12111 (RUN_TEST_f_L): Likewise.
12112 (RUN_TEST_sincos): Likewise.
12113 * math/gen-libm-test.pl (new_test): Take new argument to indicate
12114 whether to show exceptions. Do not include ");\n" in return
12115 value.
12116 (special_functions): Output call to RUN_TEST_sincos instead of
12117 check_float calls. Update calls to new_test.
12118 (parse_args): Output call to single RUN_TEST_* macro instead of
12119 check_* calls and other assignments. Update calls to new_test.
12120
d8cd06db
JM
12121 [BZ #2546]
12122 [BZ #2560]
12123 [BZ #5159]
12124 [BZ #15426]
12125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
12126 input to result for tgamma overflow.
12127 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
12128 (gamma_coeff): New variable.
12129 (NCOEFF): New macro.
12130 (gamma_positive): New function.
12131 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
12132 underflow here. Use gamma_positive instead of exp (lgamma) for
12133 other arguments.
12134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
12135 (gamma_coeff): New variable.
12136 (NCOEFF): New macro.
12137 (gammaf_positive): New function.
12138 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12139 underflow here. Use gamma_positive instead of exp (lgamma) for
12140 other arguments.
12141 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12142 (gamma_coeff): New variable.
12143 (NCOEFF): New macro.
12144 (gammal_positive): New function.
12145 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12146 underflow here. Use gamma_positive instead of exp (lgamma) for
12147 other arguments.
12148 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12149 (gamma_coeff): New variable.
12150 (NCOEFF): New macro.
12151 (gammal_positive): New function.
12152 (__ieee754_gammal_r): Handle positive infinity, overflow and
12153 underflow here. Handle NaN the same as positive infinity. Remove
12154 check x < 0xffffffff for negative integers. Use gamma_positive
12155 instead of exp (lgamma) for other arguments.
12156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12157 (gamma_coeff): New variable.
12158 (NCOEFF): New macro.
12159 (gammal_positive): New function.
12160 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12161 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12162 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12165 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12166 * sysdeps/generic/math_private.h (__gamma_productf): New
12167 prototype.
12168 (__gamma_product): Likewise.
12169 (__gamma_productl): Likewise.
12170 * math/Makefile (libm-calls): Add gamma_product.
12171 * math/libm-test.inc (tgamma_test): Add more tests.
12172 * sysdeps/i386/fpu/libm-test-ulps: Update.
12173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12174
bb7cf681
OB
121752013-05-08 Ondřej Bílka <neleai@seznam.cz>
12176
12177 * benchtests/bench-skeleton.c (main): Preheat CPU.
12178
ba853947
AJ
121792013-05-07 Aurelien Jarno <aurelien@aurel32.net>
12180
12181 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12182
8347c74c
RM
121832013-05-07 Roland McGrath <roland@hack.frob.com>
12184
12185 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12186 and _dl_skip_args_internal.
12187
e8dd4791
CD
121882013-05-07 Carlos O'Donell <carlos@redhat.com>
12189
12190 * manual/message.texi (Message Translation): Talk about users.
12191 Message to key mapping impacts design.
12192
c7405830
RM
121932013-05-06 Roland McGrath <roland@hack.frob.com>
12194
a9173057
RM
12195 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12196
976e2f03
RM
12197 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12198
9723ffc5
RM
12199 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12200 * sysdeps/wordsize-64/glob64.c: ... here.
12201
962e6658
RM
12202 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12203 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12204 New macros.
12205
ee586a6d
RM
12206 * debug/getlogin_r_chk.c: Moved to ...
12207 * login/getlogin_r_chk.c: ... here.
12208 * debug/Makefile (routines): Move getlogin_r_chk to ...
12209 * login/Makefile (routines): ... here.
12210 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12211 * login/Versions (libc: GLIBC_2.4): ... here.
12212
355f9165
RM
12213 * io/poll.c (__poll): Renamed from poll.
12214 Add libc_hidden_def.
12215 (poll): Define as weak alias.
12216
bd9ffde6
RM
12217 * debug/ptsname_r_chk.c: Moved to ...
12218 * login/ptsname_r_chk.c: ... here.
12219 * debug/Makefile (routines): Move ptsname_r_chk to ...
12220 * login/Makefile (routines): ... here.
12221 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12222 * login/Versions (libc: GLIBC_2.4): ... here.
12223
8fb16a04
RM
12224 * posix/getlogin.c: Moved to ...
12225 * login/getlogin.c: ... here.
12226 * posix/getlogin_r.c: Moved to ...
12227 * login/getlogin_r.c: ... here.
12228 * posix/getlogin_r.c: Moved to ...
12229 * login/getlogin_r.c: ... here.
12230 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12231 * login/Makefile (routines): ... here.
12232 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12233 * login/Versions (libc: GLIBC_2.0): ... here.
12234
b99b892f
RM
12235 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12236 (setrlimit): Define as weak alias.
12237
c7405830
RM
12238 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12239 Call __ names for open, ftruncate, and close.
12240 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12241 (truncate): Define as weak alias.
12242
5bf96de5
JM
122432013-05-06 Joseph Myers <joseph@codesourcery.com>
12244
9ea3513c
JM
12245 * math/gen-libm-test.pl (parse_args): Initialize x before each
12246 test of frexp, modf and remquo.
12247
5bf96de5
JM
12248 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12249 test signgam value.
12250
16e616a7
AZ
122512013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12252
12253 [BZ #15418]
12254 [BZ #15419]
12255 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12256 internal tests.
12257 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12258
d5e82754
RM
122592013-05-06 Roland McGrath <roland@hack.frob.com>
12260
12261 * elf/dl-writev.h: New file.
12262 * elf/dl-misc.c: Include it.
12263 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12264 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12265
a7548d41
JM
122662013-05-04 Joseph Myers <joseph@codesourcery.com>
12267
b7dab1e4
JM
12268 * math/libm-test.inc (noXFails): Remove variable.
12269 (noXPasses): Likewise.
12270 (BUILD_COMPLEX_INT): Remove macro.
12271 (print_screen): Remove xfail argument.
12272 (print_screen_max_error): Likewise.
12273 (update_stats): Likewise.
12274 (print_max_error): Likewise. Update calls to other affected
12275 functions.
12276 (print_complex_max_error): Likewise.
12277 (test_single_exception): Update calls to print_screen.
12278 (test_single_errno): Likewise.
12279 (check_float_internal): Remove xfail argument. Update calls to
12280 other affected functions.
12281 (check_float): Likewise.
12282 (check_complex): Likewise.
12283 (check_int): Likewise.
12284 (check_long): Likewise.
12285 (check_bool): Likewise.
12286 (check_longlong): Likewise.
12287 (main): Don't print noXFails and noXPasses.
12288 * math/gen-libm-test.pl (top level): Don't mention expected
12289 failure handling in comment.
12290 (new_test): Don't handle expected failures.
12291 (parse_args): Don't mention expected failure handling in comment.
12292 (generate_testfile): Don't handle expected failures.
12293 (parse_ulps): Likewise.
12294 (print_ulps_file): Likewise.
12295 (get_failure): Remove function.
12296 (output_test): Don't handle expected failures.
12297 * make/README.libm-test: Don't mention expected failure handling.
12298
a7548d41
JM
12299 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12300 (minus_zero): Likewise.
12301 (plus_infty): Likewise.
12302 (minus_infty): Likewise.
12303 (qnan_value): Likewise.
12304 (max_value): Likewise.
12305 (min_value): Likewise.
12306 (min_subnorm_value): Likewise.
12307 (initialize): Do not initialize those variables dynamically.
12308
60bfd54c
RM
123092013-05-03 Roland McGrath <roland@hack.frob.com>
12310
cc0e6ed8
RM
12311 * io/open.c (__open_2): Moved to ...
12312 * io/open_2.c: ... this new file.
12313 * io/open64.c (__open64_2): Moved to ...
12314 * io/open64_2.c: ... this new file.
12315 * io/openat.c (__openat_2): Moved to ...
12316 * io/openat_2.c: ... this new file.
12317 * io/openat64.c (__openat64_2): Moved to ...
12318 * io/openat64_2.c: ... this new file.
12319 * io/Makefile (routines): Add them.
12320 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12321 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12322 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12323 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12324 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12325 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12326 (__openat64): Add hidden_ver.
12327 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12328 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12329
60bfd54c
RM
12330 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12331 Separately conditionalize setting of GLRO(dl_sysinfo) so
12332 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12333 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12334
83e7640f
AZ
123352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12336
12337 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12339 definition.
12340 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12341 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12342 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12343 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12344 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12345
d5dc2af3
JM
123462013-05-03 Joseph Myers <joseph@codesourcery.com>
12347
c31a5b1e
JM
12348 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12349 test signgam value.
12350
d5dc2af3
JM
12351 * math/libm-test.inc (hypot_test): Do not use
12352 IGNORE_ZERO_INF_SIGN.
12353
164fd39d
AJ
123542013-05-03 Andreas Jaeger <aj@suse.de>
12355
12356 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12357 Linux 3.9.
12358 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12359 (PF_MAX): Adjust for VSOCK change.
12360
8237f48c
AZ
123612013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12362
12363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12364
9df02941
CD
123652013-05-02 Carlos O'Donell <carlos@redhat.com>
12366
12367 [BZ #15264]
12368 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12369 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12370 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12371
d422395e
DM
123722013-05-02 David S. Miller <davem@davemloft.net>
12373
12374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12375
a07c5731
OB
123762013-05-01 Ondřej Bílka <neleai@seznam.cz>
12377
12378 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12379
1324e37f
RM
123802013-05-01 Roland McGrath <roland@hack.frob.com>
12381
12382 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12383
0695940b
RS
123842013-05-01 Richard Smith <richard@metafoo.co.uk>
12385
bb5f27ad 12386 [BZ #14952]
0695940b
RS
12387 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12388 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12389 Use __attribute__ ((__gnu_inline__)).
12390 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12391 Don't use __attribute__ ((__gnu_inline__)).
12392
10de07f5
JM
123932013-05-01 Joseph Myers <joseph@codesourcery.com>
12394
12395 [BZ #15423]
12396 * math/s_catan.c (__catan): Handle small real or imaginary part of
12397 input specially to avoid spurious underflow.
12398 * math/s_catanf.c (__catanf): Likewise.
12399 * math/s_catanh.c (__catanh): Likewise.
12400 * math/s_catanhf.c (__catanhf): Likewise.
12401 * math/s_catanhl.c (__catanhl): Likewise.
12402 * math/s_catanl.c (__catanl): Likewise.
12403 * math/libm-test.inc (catan_test): Add more tests.
12404 (catanh_test): Likewise.
12405 * sysdeps/i386/fpu/libm-test-ulps: Update.
12406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12407
cb4d5414
AZ
124082013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12409
12410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12411
caf84319
JM
124122013-04-30 Joseph Myers <joseph@codesourcery.com>
12413
12414 [BZ #15416]
12415 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12416 accurately for denominator in atan2.
12417 * math/s_catanf.c (__catanf): Likewise.
12418 * math/s_catanh.c (__catanh): Likewise.
12419 * math/s_catanhf.c (__catanhf): Likewise.
12420 * math/s_catanhl.c (__catanhl): Likewise.
12421 * math/s_catanl.c (__catanl): Likewise.
12422 * math/libm-test.inc (catan_test): Add more tests.
12423 (catanh_test): Likewise.
12424 * sysdeps/i386/fpu/libm-test-ulps: Update.
12425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12426
d569c6ee
SP
124272013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12428
6dbe713d
SP
12429 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12430
f0ee064b
SP
12431 * benchtests/Makefile (bench): Remove slow benchmarks.
12432 * benchtests/atan-inputs: Add slow benchmark inputs.
12433 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12434 (BENCH_FUNC): Accept variant offset.
12435 (VARIANT): Define.
12436 * benchtests/bench-skeleton.c (main): Run benchmark for each
12437 variant.
12438 * benchtests/cos-inputs: Add slow benchmark inputs.
12439 * benchtests/exp-inputs: Likewise.
12440 * benchtests/pow-inputs: Likewise.
12441 * benchtests/sin-inputs: Likewise.
12442 * benchtests/slowatan-inputs: Remove.
12443 * benchtests/slowatan.c: Remove.
12444 * benchtests/slowcos-inputs: Remove.
12445 * benchtests/slowcos.c: Remove.
12446 * benchtests/slowexp-inputs: Remove.
12447 * benchtests/slowexp.c: Remove.
12448 * benchtests/slowpow-inputs: Remove.
12449 * benchtests/slowpow.c: Remove.
12450 * benchtests/slowsin-inputs: Remove.
12451 * benchtests/slowsin.c: Remove.
12452 * benchtests/slowtan-inputs: Remove.
12453 * benchtests/slowtan.c: Remove.
12454 * benchtests/tan-inputs: Add slow benchmark inputs.
12455 * scripts/bench.pl: Parse comments and directives.
12456
d569c6ee
SP
12457 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12458 in CPPFLAGS.
12459 ($(objpfx)bench-%.c): Remove *-ITER.
12460 * benchtests/bench-modf.c: Remove definition of ITER.
12461 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12462 (main): Loop for DURATION seconds instead of fixed number of
12463 iterations.
12464 * scripts/bench.pl: Don't expect iterations in parameters.
12465
a6a242fe
RM
124662013-04-29 Roland McGrath <roland@hack.frob.com>
12467
12468 * io/fchdir.c (__fchdir): Renamed from fchdir.
12469 (fchdir): Define as weak alias.
12470
f2da7793
JM
124712013-04-29 Joseph Myers <joseph@codesourcery.com>
12472
12473 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12474 (ERRNO_EDOM): Likewise.
12475 (ERRNO_ERANGE): Likewise.
12476 (noErrnoTests): New variable.
12477 (init_max_error): Set errno to 0.
12478 (test_single_errno): New function.
12479 (test_errno): Likewise.
12480 (check_float_internal): Call test_errno. Set errno to 0.
12481 (check_complex): Refer to errno tests in comment.
12482 (check_int): Call test_errno. Set errno to 0.
12483 (check_long): Likewise.
12484 (check_bool): Likewise.
12485 (check_longlong): Likewise.
12486 (cos_test): Use ERRNO_* flags for errno tests instead of
12487 check_int.
12488 (expm1_test): Likewise.
12489 (fmod_test): Likewise.
12490 (ilogb_test): Likewise.
12491 (lgamma_test): Likewise.
12492 (pow_test): Likewise.
12493 (remainder_test): Likewise.
12494 (sin_test): Likewise.
12495 (tan_test): Likewise.
12496 (yn_test): Likewise.
12497 (initialize): Set errno to 0.
12498 (main): Print number of errno tests.
12499 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12500
b1a36ceb
AJ
125012013-04-29 Andreas Jaeger <aj@suse.de>
12502
c3ed8088
AJ
12503 [BZ #15084]
12504 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12505 and RES_USEVC.
12506
f1a24198
AJ
12507 [BZ #15085]
12508 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12509 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12510 unimplemented.
12511
9ce3b2cb
AJ
12512 [BZ #15380]
12513 * stdlib/random.c (__initstate): Return NULL if
12514 __initstate fails.
12515
f1a24198 12516 [BZ #15086]
b1a36ceb
AJ
12517 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12518 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12519 RES_SNGLKUPREOP.
12520
7e7b6f36
AZ
125212013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12522
12523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12524
4d14f449
JM
125252013-04-29 Joseph Myers <joseph@codesourcery.com>
12526
12527 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12528 of individual tests.
12529 (casin_test): Likewise.
12530 (casinh_test): Likewise.
12531
5b4217d7
JM
125322013-04-27 Joseph Myers <joseph@codesourcery.com>
12533
12534 [BZ #15409]
12535 * math/s_catan.c (__catan): Handle arguments with large real or
12536 imaginary part separately without squaring.
12537 * math/s_catanf.c (__catanf): Likewise.
12538 * math/s_catanh.c (__catanh): Likewise.
12539 * math/s_catanhf.c (__catanhf): Likewise.
12540 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12541 and redefine.
12542 (__catanhl): Handle arguments with large real or imaginary part
12543 separately without squaring.
12544 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12545 and redefine.
12546 (__catanl): Handle arguments with large real or imaginary part
12547 separately without squaring.
12548 * math/libm-test.inc (catan_test): Add more tests.
12549 (catanh_test): Likewise.
12550 * sysdeps/i386/fpu/libm-test-ulps: Update.
12551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12552
4220c3ef
AJ
125532013-04-27 Andreas Jaeger <aj@suse.de>
12554
12555 [BZ #15007]
12556 * stdlib/stdlib.h: Update guards for qecvt.
12557 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12558 <stdlib.h>.
12559
4721b2d1
AM
125602013-04-27 Allan McRae <allan@archlinux.org>
12561
12562 * sysdeps/i386/fpu/libm-test-ulps: Update.
12563
f0302940
JM
125642013-04-26 Joseph Myers <joseph@codesourcery.com>
12565
9457fd95
JM
12566 [BZ #15406]
12567 * math/s_catan.c: Include <float.h>.
12568 (__catan): Ensure underflow exception occurs for underflowed
12569 result.
12570 * math/s_catanf.c: Include <float.h>.
12571 (__catanf): Ensure underflow exception occurs for underflowed
12572 result.
12573 * math/s_catanh.c: Include <float.h>.
12574 (__catanh): Ensure underflow exception occurs for underflowed
12575 result.
12576 * math/s_catanhf.c: Include <float.h>.
12577 (__catanhf): Ensure underflow exception occurs for underflowed
12578 result.
12579 * math/s_catanhl.c: Include <float.h>.
12580 (__catanhl): Ensure underflow exception occurs for underflowed
12581 result.
12582 * math/s_catanl.c: Include <float.h>.
12583 (__catanl): Ensure underflow exception occurs for underflowed
12584 result.
12585 * math/libm-test.inc (catan_test): Add more tests.
12586 (catanh_test): Likewise.
12587
f0302940
JM
12588 [BZ #15405]
12589 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12590 underflowed result.
12591 * math/s_ccoshf.c (__ccoshf): Likewise.
12592 * math/s_ccoshl.c (__ccoshl): Likewise.
12593 * math/s_csin.c (__csin): Likewise.
12594 * math/s_csinf.c (__csinf): Likewise.
12595 * math/s_csinh.c (__csinh): Likewise.
12596 * math/s_csinhf.c (__csinhf): Likewise.
12597 * math/s_csinhl.c (__csinhl): Likewise.
12598 * math/s_csinl.c (__csinl): Likewise.
12599 * math/libm-test.inc (ccos_test): Add more tests.
12600 (ccosh_test): Likewise.
12601 (csin_test): Likewise.
12602 (csinh_test): Likewise.
12603
aa630f59
AZ
126042013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12605
12606 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12607 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12608 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12609 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12610 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12611 powerpc/power5+/fpu folders.
12612 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12613
12614
1b835983
MT
126152013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12616
12617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12618
73709b26
JM
126192013-04-25 Joseph Myers <joseph@codesourcery.com>
12620
12621 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12622 additions to variable.
12623 [$(config-machine) = x86_64] (modules-names): Likewise.
12624 ($(objpfx)tst-audit3): Remove dependency.
12625 ($(objpfx)tst-audit3.out): Likewise.
12626 ($(objpfx)tst-audit4): Likewise.
12627 ($(objpfx)tst-audit4.out): Likewise.
12628 ($(objpfx)tst-audit5): Likewise.
12629 ($(objpfx)tst-audit5.out): Likewise.
12630 ($(objpfx)tst-audit6): Likewise.
12631 ($(objpfx)tst-audit6.out): Likewise.
12632 ($(objpfx)tst-audit7): Likewise.
12633 ($(objpfx)tst-audit7.out): Likewise.
12634 (tst-audit3-ENV): Remove variable.
12635 (tst-audit4-ENV): Likewise.
12636 (tst-audit5-ENV): Likewise.
12637 (tst-audit6-ENV): Likewise.
12638 (tst-audit7-ENV): Likewise.
12639 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12640 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12641 addition to variable.
12642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12647 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12648 tst-audit3, tst-audit4 and tst-audit5.
12649 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12650 tst-audit6 and tst-audit7.
12651 [$(subdir) = elf] (modules-names): Add audit modules for those
12652 tests.
12653 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12654 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12655 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12656 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12657 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12658 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12659 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12660 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12661 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12662 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12663 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12664 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12665 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12666 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12667 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12668 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12669 Likewise.
12670 [$(subdir) = elf && $(config-cflags-avx) = yes]
12671 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12672 [$(subdir) = elf && $(config-cflags-avx) = yes]
12673 (CFLAGS-tst-auditmod4a.c): Likewise.
12674 [$(subdir) = elf && $(config-cflags-avx) = yes]
12675 (CFLAGS-tst-auditmod4b.c): Likewise.
12676 [$(subdir) = elf && $(config-cflags-avx) = yes]
12677 (CFLAGS-tst-auditmod6b.c): Likewise.
12678 [$(subdir) = elf && $(config-cflags-avx) = yes]
12679 (CFLAGS-tst-auditmod6c.c): Likewise.
12680 [$(subdir) = elf && $(config-cflags-avx) = yes]
12681 (CFLAGS-tst-auditmod7b.c): Likewise.
12682 * elf/tst-audit3.c: Move to ...
12683 * sysdeps/x86_64/tst-audit3.c: ... here.
12684 * elf/tst-audit4.c: Move to ...
12685 * sysdeps/x86_64/tst-audit4.c: ... here.
12686 * elf/tst-audit5.c: Move to ...
12687 * sysdeps/x86_64/tst-audit5.c: ... here.
12688 * elf/tst-audit6.c: Move to ...
12689 * sysdeps/x86_64/tst-audit6.c: ... here.
12690 * elf/tst-audit7.c: Move to ...
12691 * sysdeps/x86_64/tst-audit7.c: ... here.
12692 * elf/tst-auditmod3a.c: Move to ...
12693 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12694 * elf/tst-auditmod3b.c: Move to ...
12695 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12696 * elf/tst-auditmod4a.c: Move to ...
12697 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12698 * elf/tst-auditmod4b.c: Move to ...
12699 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12700 * elf/tst-auditmod5a.c: Move to ...
12701 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12702 * elf/tst-auditmod5b.c: Move to ...
12703 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12704 * elf/tst-auditmod6a.c: Move to ...
12705 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12706 * elf/tst-auditmod6b.c: Move to ...
12707 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12708 * elf/tst-auditmod6c.c: Move to ...
12709 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12710 * elf/tst-auditmod7a.c: Move to ...
12711 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12712 * elf/tst-auditmod7b.c: Move to ...
12713 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12714
1ef74943
PP
127152013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12716
12717 [BZ #15366]
12718 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12719 define unconditionally.
12720 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12721 define unconditionally.
12722 (INT8_C, INT16_C, etc.): Likewise.
12723
93fd48c5
MR
127242013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12725
ae9552cf
MR
12726 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12727 __ehdr_start with hidden visibility.
12728
93fd48c5
MR
12729 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12730
418601aa
CD
127312013-04-24 Carlos O'Donell <carlos@redhat.com>
12732
12733 * math/libm-test.inc (cos_test): Use accurate hex constants.
12734 (sincost_test): Likewise.
12735
2f38fbfe
JM
127362013-04-24 Joseph Myers <joseph@codesourcery.com>
12737
5e221800
JM
12738 * math/libm-test.inc (catan_test): Add more tests.
12739 (catanh_test): Likewise.
12740
77f143fd
JM
12741 * math/s_catanf.c (__catanf): Use suffixed floating-point
12742 constants.
12743 * math/s_catanhf.c (__catanhf): Likewise.
12744 * math/s_catanhl.c (__catanhl): Likewise.
12745 * math/s_catanl.c (__catanl): Likewise.
12746
2f38fbfe
JM
12747 [BZ #15394]
12748 * math/s_catan.c (__catan): Calculate imaginary part of result
12749 with log1p not log unless computing log of number close to 0.
12750 * math/s_catanf.c (__catanf): Likewise.
12751 * math/s_catanl.c (__catanl): Likewise.
12752 * math/s_catanh.c (__catanh): Calculate real part of result with
12753 log1p not log unless computing log of number close to 0.
12754 * math/s_catanhf.c (__catanhf): Likewise.
12755 * math/s_catanhl.c (__catanhl): Likewise.
12756 * math/libm-test.inc (catan_test): Add more tests.
12757 (catanh_test): Likewise.
12758 * sysdeps/i386/fpu/libm-test-ulps: Update.
12759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12760
45d69176
SP
127612013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12762
12763 * benchtests/Makefile: Mention files in which fast and slow
12764 paths of math functions are implemented.
12765
87f51853
RM
127662013-04-23 Roland McGrath <roland@hack.frob.com>
12767
12768 * sysdeps/posix/timespec_get.c: New file.
12769
3c026539
AZ
127702013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12771
12772 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12773 POWER.
12774 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12775 for POWER.
12776 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12777 powerpc/power5/fpu folders.
12778 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12779 * benchtests/Makefile: Add modf testcase.
12780 * benchtests/bench-modf.c: New file: Benchmark test for mo
12781
ff491d14
SP
127822013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12783
12784 [BZ #14888]
12785 * time/Makefile (tests): Add tst-strptime-whitespace.
12786 * time/strptime_l.c (get_number): Use ISSPACE.
12787 (__strptime_internal): Likewise.
12788 * time/tst-strptime-whitespace.c: New test case.
12789
7ed3f4e8
AS
127902013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12791
12792 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12793 member.
12794 (_nss_files_init): Set it here.
12795
5c95f7b6
HC
127962013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12797
12798 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12799 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12800 unsigned.
12801
d34c9158
JBG
128022013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12803
12804 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12805
2169712d
SP
128062013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12807
12808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12809 size just once.
12810
29c5de99
DM
128112013-04-21 David S. Miller <davem@davemloft.net>
12812
12813 * po/ru.po: Update Russion translation from translation project.
12814
ccdad15d
AC
128152013-04-17 Adam Conrad <adconrad@0c3.net>
12816
12817 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12818 and setfsgid.
12819
0f122b8d
CD
128202013-04-17 Carlos O'Donell <carlos@redhat.com>
12821
5c5b07da 12822 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12823 * configure: Regenerate.
5c5b07da 12824 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12825 Add example to error message.
12826 * sysdeps/i386/configure: Regenerate.
12827
037714dd
SP
128282013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12829
12830 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12831 slowtan.
12832 * benchtests/cos-inputs: New file.
12833 * benchtests/slowcos-inputs: New file.
12834 * benchtests/slowcos.c: New file.
12835 * benchtests/slowtan-inputs: New file.
12836 * benchtests/slowtan.c: New file.
12837 * benchtests/tan-inputs: New file.
12838
e913141d
RM
128392013-04-16 Roland McGrath <roland@hack.frob.com>
12840
12841 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12842 considered kosher.
12843
a2964074
SP
128442013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12845
4856bcd2
SP
12846 * benchtests/Makefile: Include cppflags-iterator.mk to add
12847 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12848
a2964074
SP
12849 * Makefile.in (bench-clean): New target.
12850 * benchtests/Makefile (bench-clean): Likewise.
12851
9fbf9aca
DH
128522013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12853
12854 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12855
207d1e2a
TS
128562013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12857
12858 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12859
306dfba9
AS
128602013-04-15 Andreas Schwab <schwab@suse.de>
12861
12862 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12864 * nscd/pwdcache.c (cache_addpw): Likewise.
12865 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12866 more than recsize.
12867
206a6699
SP
128682013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12869
12870 * benchtests/Makefile (bench): Write all output to
12871 bench-out.tmp together.
12872
0582f6b3
AS
128732013-04-15 Andreas Schwab <schwab@suse.de>
12874
12875 * nscd/nscd.c (main): Don't fork again after closing files.
12876
acb4325f
SP
128772013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12878
5cb26d0a
SP
12879 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12880
acb4325f
SP
12881 * benchtests/Rules (bench-deps): Collect dependencies into a
12882 single variable. Add Makefile to dependencies.
12883 ($(objpfx)bench-%.c): Depend on bench-deps.
12884
47792506
RM
128852013-04-12 Roland McGrath <roland@hack.frob.com>
12886 Xavier Roche <roche+kml2@exalead.com>
12887
12888 [BZ #15361]
12889 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12890 just that it's a file descriptor.
12891 * manual/llio.texi (Synchronizing AIO Operations): Update description
12892 for EBADF error from aio_fsync.
12893
8fc1bee5
SP
128942013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12895
12896 * Rules (bench): Move target definition...
12897 * benchtests/Makefile: ... here.
12898
aba5e333
CD
128992013-04-11 Carlos O'Donell <carlos@redhat.com>
12900
12901 * math/libm-test.inc (cos_test): Fix PI/2 test.
12902 (sincos_test): Likewise.
12903 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12904 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12905
273cdee8
AS
129062013-04-11 Andreas Schwab <schwab@suse.de>
12907
6ecec3b6
AS
12908 [BZ #13988]
12909 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12910 accept exponent character only when digits were seen.
12911 * stdio-common/Makefile (tests): Add bug26.
12912 * stdio-common/bug26.c: New file.
12913
273cdee8
AS
12914 [BZ #14293]
12915 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12916 non-freeable.
12917
8da491f5
SP
129182013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12919
01dc6df9
SP
12920 * Makeconfig (rtld-prefix): Define built linker prefix.
12921 * Rules (run-bench): Use it.
12922 * math/Makefile (run-regen-ulps): Likewise.
12923
8da491f5
SP
12924 * Rules (bench): Remove eval.
12925
abe7f530
SP
129262013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12927 Roland McGrath <roland@hack.frob.com>
12928 Ondrej Bilka <neleai@seznam.cz>
12929
12930 [BZ #15346]
12931 * time/getdate.c: Include ctype.h and alloca.h.
12932 (__getdate_r): Trim leading and trailing spaces of input.
12933 * time/tst-getdate.c (tests): Add tests with leading and
12934 trailing spaces.
12935
61c23e62
RM
129362013-04-08 Roland McGrath <roland@hack.frob.com>
12937
12938 [BZ #14280]
12939 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12940 when computing value.
12941
7208a313
CD
129422013-04-06 Carlos O'Donell <carlos@redhat.com>
12943
085b2d41
CD
12944 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12945 Use testrun.sh to run libm tests.
12946
7208a313
CD
12947 [BZ #15309]
12948 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12949
872c0acd
MM
129502013-04-06 Marko Myllynen <myllynen@redhat.com>
12951
12952 [BZ #15264]
12953 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12954
26510bdd
CD
129552013-04-06 Carlos O'Donell <carlos@redhat.com>
12956
12957 * Makefile.in (regen-ulps): New target.
12958 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12959 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12960 [ifneq (no,$(PERL)] (regen-ulps): New target.
12961 [ifeq (no,$(PERL)] (regen-ulps): New target.
12962 * math/libm-test.inc (ulps_file_name): Define.
12963 (output_dir): New variable.
12964 (options): Add "output-dir" option.
12965 (parse_opt): Handle 'o' case.
12966 (main): If output_dir is non-NULL use it as a prefix
12967 otherwise use "".
12968 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12969
a01f19c8
CD
129702013-04-06 Carlos O'Donell <carlos@redhat.com>
12971
12972 [BZ #10060, #10062]
12973 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12974 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12975 fail configure if __sync_val_compare_and_swap is not inlined.
12976 * sysdeps/i386/configure: Regenerate.
12977 * configure.in: Build for i686 when configured for i386.
12978 * configure: Regenerate.
12979 * README: Remove i386 reference.
12980
b7a329a5
CD
129812013-04-06 Carlos O'Donell <carlos@redhat.com>
12982
12983 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12985
bf0f50df
TS
129862013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12987
ee091edf
TS
12988 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12989 (lmsnanval): New variables.
12990 (F): Add conversion tests.
12991 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12992 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12993
a8b792d6
TS
12994 * stdio-common/tstdiomisc.c (F): Properly collect individual
12995 tests' results.
12996
a1cbf437
TS
12997 [BZ #14686, #15336]
12998 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12999 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13000 Instead, use input NaN values or generate a qNaN by arithmetic
13001 operation. Also fix bugs to comply with the standard.
13002 * math/libm-test.inc (remainder_test): Add more tests.
13003
8b43a0c9
TS
13004 [BZ #15335, #15342]
13005 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
13006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
13007 input NaN values or generate a qNaN by arithmetic operation.
13008
d91da4ce
TS
13009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
13010 unreachable code.
13011
bf0f50df
TS
13012 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
13013 definitions.
13014
05e166c8
JM
130152013-04-03 Joseph Myers <joseph@codesourcery.com>
13016
13017 [BZ #14478]
13018 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
13019 underflowed result.
13020 * math/s_cexpf.c (__cexpf): Likewise.
13021 * math/s_cexpl.c (__cexpl): Likewise.
13022 * math/libm-test.inc (cexp_test): Add more tests.
13023
1cef1b19
AS
130242013-04-03 Andreas Schwab <schwab@suse.de>
13025
13026 [BZ #15330]
13027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
13028 order arrays from heap if bigger than alloca cutoff.
13029
74d87055
TS
130302013-04-03 Thomas Schwinge <thomas@codesourcery.com>
13031
13032 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
13033 (SNAN_TESTS_double): Refer to GCC PR56831.
13034 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
13035 GCC PR56828.
13036
d755bba4
SP
130372013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13038
90d5d5bb
SP
13039 * Rules (bench): Move bench.out after the run is complete.
13040
73e0cd5d
SP
13041 * Rules (bench): Echo currently running benchmark.
13042
64aabd4b
SP
13043 * benchtests/Makefile (bench): Add atan and slowatan.
13044 * benchtests/atan-inputs: New file.
13045 * benchtests/slowatan-inputs: New file.
13046 * benchtests/slowatan.c: New file.
13047
c871eccd
SP
13048 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
13049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
13050 its value.
13051
d755bba4
SP
13052 [BZ #15305]
13053 * sysdeps/unix/sysv/linux/kernel-features.h
13054 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
13055 __ASSUME_XFS_RESTRICTED_CHOWN.
13056 * sysdeps/unix/sysv/linux/pathconf.c
13057 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13058 Save and restore errno.
13059
52ce4860
JM
130602013-04-02 Joseph Myers <joseph@codesourcery.com>
13061
13062 [BZ #15327]
13063 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
13064 arguments using __kernel_casinh.
13065 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
13066 arguments using __kernel_casinhf.
13067 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
13068 arguments using __kernel_casinhl.
13069 * math/libm-test.inc (cacosh_test): Add more tests.
13070 * sysdeps/i386/fpu/libm-test-ulps: Update.
13071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13072
81f311c2
SP
130732013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13074
e7906a47
SP
13075 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
13076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
13077
92e3664b
SP
13078 * bench/Makefile (bench): Add sin and slowsin.
13079 * benchtests/sin-inputs: New file.
13080 * benchtests/slowsin-inputs: New file.
13081 * benchtests/slowsin.c: New file.
13082
81f311c2
SP
13083 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
13084 (bench): Add slowexp and slowpow.
13085 (exp-ITER): Increase iterations.
13086 (pow-ITER): Likewise.
13087 * benchtests/exp-inputs: Change input.
13088 * benchtests/pow-inputs: Likewise.
13089 * benchtests/slowexp-inputs: New file.
13090 * benchtests/slowexp.c: New file.
13091 * benchtests/slowpow-inputs: New file.
13092 * benchtests/slowpow.c: New file.
13093
ab0f1aa9
AZ
130942013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13095
13096 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
13097 instructions.
13098 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13099 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
13100 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13101 * benchtests/Makefile: Add rint benchtest.
13102 * benchtests/rint-inputs: Input for rint benchtest.
13103
57267616
TS
131042013-04-02 Thomas Schwinge <thomas@codesourcery.com>
13105
13106 * Versions.def (libm): Add GLIBC_2.18.
13107 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
13108 hidden libm prototypes.
13109 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
13110 * math/Makefile (libm-calls): Add s_issignaling.
13111 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
13112 __issignalingf, __issignalingl. Adjust all libm.abilist files.
13113 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
13114 declaration.
13115 * math/math.h [__USE_GNU] (issignaling): New macro.
13116 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
13117 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
13119 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
13122 * manual/arith.texi (issignaling): New section.
13123 * manual/libm-err-tab.pl (@all_functions): Update comment.
13124 * math/gen-libm-test.pl (parse_args): Apply special handling for
13125 issignaling.
13126 * math/libm-test.inc (print_float, issignaling_test): New
13127 functions.
13128 (check_float_internal): Add issignaling checks.
13129 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
13130 default definition.
13131 * sysdeps/powerpc/math-tests.h: New file.
13132 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
13133 tests.
13134 * math/test-snan.c (TEST_FUNC): Likewise.
13135
6142896d
DM
131362013-03-30 David S. Miller <davem@davemloft.net>
13137
13138 * po/de.po: Update from translation team.
13139
ccc8cadf
JM
131402013-03-30 Joseph Myers <joseph@codesourcery.com>
13141
13142 [BZ #10357]
13143 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13144 imaginary part less than 1.0 and real part less than 0.5
13145 specially.
13146 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13147 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13148 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13149 (cacos_test): Add more tests.
13150 (casin_test): Likewise.
13151 (casinh_test): Likewise.
13152 * sysdeps/i386/fpu/libm-test-ulps: Update.
13153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13154
0f6a8d4b
SP
131552013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13156
0d1029de
SP
13157 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13158 ONE with its value.
13159
c2d94018
SP
13160 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13161 (__pow_mp): Replace ONE and MONE with their values.
13162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13164 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13165 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13168
27ec37f1
SP
13169 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13170
a64d7e0e
SP
13171 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13172 (__pow_mp): Replace ZERO and MZERO with their values.
13173 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13174 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13175 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13177 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13178 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13179 (__sqr): Likewise.
13180
d26dd3eb
SP
13181 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13182
0f6a8d4b
SP
13183 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13184
e57b0c61
RM
131852013-03-28 Roland McGrath <roland@hack.frob.com>
13186
13187 * include/stdlib.h [!SHARED] (__call_tls_dtors):
13188 Declare with __attribute__ ((weak)).
13189 * stdlib/exit.c (__libc_atexit) [!SHARED]:
13190 Call __call_tls_dtors only if it's not NULL.
13191
356b3480
RM
131922013-03-28 Roland McGrath <roland@hack.frob.com>
13193
288f7d79
RM
13194 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13195 didn't do it already, then set _dl_phdr and _dl_phnum based on the
13196 magic __ehdr_start linker symbol if it's defined.
13197 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13198 them up here if it was already done.
13199
dc0a0263
RM
13200 * elf/dl-support.c (_dl_phdr): Make pointer to const.
13201 (_dl_aux_init): Use const in cast when setting it.
13202 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13203 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13204 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13205
3d3436ae
RM
13206 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13207 Declare them here.
13208 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13209 * csu/libc-tls.c: Nor here.
13210 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13211
356b3480
RM
13212 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13213 (__libc_message): Never call vsyslog.
13214
b0f1246a
AM
132152013-03-28 Alan Modra <amodra@gmail.com>
13216
13217 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13218 Define as empty.
13219 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13220 Likewise.
13221
fbbe2b9a
AZ
132222013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13223
13224 [BZ #15214]
13225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13226 underflow.
13227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13228
1728ab37
SP
132292013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13230
7a86be6e
SP
13231 [BZ #15304]
13232 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13233 Don't add gid passed as argument.
13234
1728ab37
SP
13235 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13236
3a7182a1
JM
132372013-03-27 Joseph Myers <joseph@codesourcery.com>
13238
13239 [BZ #15307]
13240 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13241 imaginary part between 1.0 and 1.5 and real part less than 0.5
13242 specially.
13243 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13244 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13245 * math/libm-test.inc (cacos_test): Add more tests.
13246 (casin_test): Likewise.
13247 (casinh_test): Likewise.
13248 * sysdeps/i386/fpu/libm-test-ulps: Update.
13249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13250
6f2e90e7
SP
132512013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13252
5739f705
SP
13253 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13254 constants.
13255 (norm): Likewise.
13256 (denorm): Likewise.
13257 (__dbl_mp): Likewise.
13258 (add_magnitudes): Likewise.
13259 (sub_magnitudes): Likewise.
13260 (__add): Likewise.
13261 (__sub): Likewise.
13262 (__mul): Likewise.
13263 (__sqr): Likewise.
13264 (__inv): Likewise.
13265 (__dvd): Likewise.
13266
e375e83d
SP
13267 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13268 commented code.
13269 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13270 (__dubcos): Likewise.
13271 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13272 (__ieee754_acos): Likewise.
13273 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13274 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13275 (__exp1): Likewise.
13276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13278 (log1): Likewise.
13279 (my_log2): Likewise.
13280 (checkint): Likewise.
13281 * sysdeps/ieee754/dbl-64/e_remainder.c
13282 (__ieee754_remainder): Likewise.
13283 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13285 (bsloww): Likewise.
13286 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13287
6f2e90e7
SP
13288 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13289 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13290 MANTISSA_STORE_T to store computations on mantissa. Use
13291 macros for rounding and division.
13292 (denorm): Likewise.
13293 (__dbl_mp): Likewise.
13294 (add_magnitudes): Likewise.
13295 (sub_magnitudes): Likewise.
13296 (__mul): Likewise.
13297 (__sqr): Likewise.
13298 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13299 powers of two in terms of TWOPOW macro.
13300 (mp_no): Make type of mantissa as MANTISSA_T.
13301 [!RADIXI]: Define RADIXI.
13302 [!TWO52]: Define TWO52.
13303 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13304
fce14d4e
AZ
133052013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13306
13307 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13308 llroundl symbol when building for PPC32.
13309
9ad027fb
MW
133102013-03-24 Mark H Weaver <mhw@netris.org>
13311
13312 * manual/arith.texi (Normalization Functions): Fix prototypes for
13313 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13314
e42a38dd
AZ
133152013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13316
13317 [BZ #13889]
13318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13319 high value to check if expl overflow.
13320 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13321 to check for underflow and overflow.
13322 * math/libm-test.inc: Add exp test.
13323
2e0fb521
DL
133242013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13325
13326 [BZ #11120]
13327 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13328 with NOT_IN_libc.
13329
b5784d95
AZ
133302013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13331
13332 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13333 symbol.
13334
5aa4a1a1
TS
133352013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13336
bdef0be7
TS
13337 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13338 wrap blocks consisting of several statements.
13339
5aa4a1a1
TS
13340 * sysdeps/generic/math-tests.h: New file.
13341 * sysdeps/i386/fpu/math-tests.h: Likewise.
13342 * math/test-snan.c: Include it.
13343 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13344
98c48fe5
JM
133452013-03-21 Joseph Myers <joseph@codesourcery.com>
13346
13347 [BZ #15285]
13348 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13349 (__ieee754_j0l): Do not improve calculations using cos of twice
13350 input for inputs above LDBL_MAX / 2.0L.
13351 (__ieee754_y0l): Likewise.
13352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13353 (__ieee754_j1l): Do not improve calculations using cos of twice
13354 input for inputs above LDBL_MAX / 2.0L.
13355 (__ieee754_y1l): Likewise.
13356 * math/libm-test.inc (j0_test): Add another test.
13357 (j1_test): Likewise.
13358 (y0_test): Likewise.
13359 (y1_test): Likewise.
13360 * sysdeps/i386/fpu/libm-test-ulps: Update.
13361
3775a8bc
SP
133622013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13363
13364 * Rules ($(objpfx)bench-%.c): Include code from a C source
13365 file.
13366
0a1b2ae6
JM
133672013-03-21 Joseph Myers <joseph@codesourcery.com>
13368
13369 [BZ #15287]
13370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13371 imaginary part 1.0 and real part less than 0.5 specially.
13372 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13373 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13374 * math/libm-test.inc (cacos_test): Add more tests.
13375 (casin_test): Likewise.
13376 (casinh_test): Likewise.
13377 * sysdeps/i386/fpu/libm-test-ulps: Update.
13378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13379
b33d4ce4
SP
133802013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13381
13382 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13383 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13384
bef0b507
JM
133852013-03-20 Joseph Myers <joseph@codesourcery.com>
13386
13387 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13388 * config.make.in (config-cflags-sse4): Remove variable.
13389 (config-cflags-avx): Likewise.
13390 (config-cflags-sse2avx): Likewise.
13391 (config-cflags-novzeroupper): Likewise.
13392 (config-asflags-i686): Likewise.
13393 (have-mfma4): Likewise.
13394 (have-as-vis3): Likewise.
13395 (MIG): Likewise.
13396 * configure.in (MIG): Do not AC_SUBST.
13397 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13398 (libc_cv_cc_sse4): Do not AC_SUBST.
13399 (libc_cv_cc_avx): Likewise.
13400 (libc_cv_cc_sse2avx): Likewise.
13401 (libc_cv_cc_novzeroupper): Likewise.
13402 (libc_cv_cc_fma4): Likewise.
13403 (libc_cv_as_i686): Likewise.
13404 (libc_cv_sparc_as_vis3): Likewise.
13405 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13406 LIBC_CONFIG_VAR.
13407 (config-asflags-i686): Likewise.
13408 (config-cflags-avx): Likewise.
13409 (config-cflags-sse2avx): Likewise.
13410 (have-mfma4): Likewise.
13411 (config-cflags-novzeroupper): Likewise.
13412 * sysdeps/mach/configure.in (MIG): Likewise.
13413 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13414 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13415 LIBC_CONFIG_VAR.
13416 (config-cflags-avx): Likewise.
13417 (config-cflags-sse2avx): Likewise.
13418 (have-mfma4): Likewise.
13419 (config-cflags-novzeroupper): Likewise.
13420 * configure: Regenerated.
13421 * sysdeps/i386/configure: Likewise.
13422 * sysdeps/mach/configure: Likewise.
13423 * sysdeps/sparc/configure: Likewise.
13424 * sysdeps/x86_64/configure: Likewise.
13425
912cc4b3
RM
134262013-03-20 Roland McGrath <roland@hack.frob.com>
13427
13428 [BZ #14812]
13429 * locale/programs/localedef.c (options): Put N_ translation marker
13430 on argument names, not just descriptions.
13431
04eed2b0
MS
134322013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13433
13434 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13435
a065ceff
OB
134362013-03-20 Ondřej Bílka <neleai@seznam.cz>
13437
9bb2a810 13438 [BZ #14176]
a065ceff
OB
13439 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13440
a600e5ce
RM
134412013-03-19 Roland McGrath <roland@hack.frob.com>
13442
13443 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13444 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13445 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13446 [!BEFORE_ABORT] (before_abort): New function.
13447 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13448 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13449 (writev_for_fatal): New function.
13450 (WRITEV_FOR_FATAL): New macro; call that.
13451 (backtrace_and_maps): New function.
13452 (BEFORE_ABORT): New macro; call that.
13453 (struct str_list): Type removed.
13454 (__libc_message, __libc_fatal): Functions removed.
13455 Include <sysdeps/posix/libc_fatal.c> instead.
13456
6b18bea6
JM
134572013-03-19 Joseph Myers <joseph@codesourcery.com>
13458
13459 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13460 constants.
13461 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13462 double constants.
13463
aaa8cb4b
AS
134642013-03-19 Andreas Schwab <schwab@suse.de>
13465
44673770
AS
13466 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13467 * sysdeps/gnu/configure: Regenerate.
13468
aaa8cb4b
AS
13469 * configure.in: Substitute libc_cv_rtlddir.
13470 * configure: Regenerate.
13471 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13472 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13473 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13474 * elf/Makefile (install-others, CFLAGS-interp.c)
13475 (ldso_install, common-ldd-rewrite): Likewise.
13476 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13477 $(inst_slibdir)/$(rtld-installed-name).
13478 * scripts/rellns-sh: Add -p option.
13479 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13480 for source.
13481
d3cfc668
SP
134822013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13483
13484 * manual/nptl.texi: Renamed to ...
13485 * manual/threads.texi: ... this.
13486 * manual/Makefile (chapters): Update.
13487
0e2b9cdd
RM
134882013-03-18 Roland McGrath <roland@hack.frob.com>
13489
13490 [BZ #14812]
13491 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13492 on argument names, not just descriptions.
0e2b9cdd
RM
13493 * malloc/memusagestat.c (options): Likewise.
13494 * nss/getent.c (options): Likewise.
63270c24
RM
13495
134962013-03-18 Benno Schulenberg <bensberg@justemail.net>
13497
13498 [BZ #14812]
13499 * iconv/iconv_prog.c (options): Put N_ translation marker
13500 on argument names, not just descriptions.
13501 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 13502
b2e1393c
OB
135032013-03-18 Ondrej Bilka <neleai@seznam.cz>
13504
13505 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13506 implementation which is faster on all x86_64 architectures.
13507 Tested on AMD, Intel Nehalem, SNB, IVB.
13508 * sysdeps/x86_64/strnlen.S: Likewise.
13509
13510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13511 Remove all multiarch strlen and strnlen versions.
13512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13513 Remove strlen and strnlen related parts.
13514
13515 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13516 Inline strlen part.
13517 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13518
13519 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13520 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13521 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13522 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13523 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13524 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13525
ec4ff04d
CD
135262013-03-17 Carlos O'Donell <carlos@redhat.com>
13527
13528 * manual/memory.texi (Malloc Tunable Parameters):
13529 Sort parameters alphabetically. Add comments for missing entries.
13530
cd18e90a
DM
135312013-03-17 David S. Miller <davem@davemloft.net>
13532
13533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13534
2a185d32
JM
135352013-03-16 Joseph Myers <joseph@codesourcery.com>
13536
d2f9799e
JM
13537 [BZ #15283]
13538 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13539 for arguments at most half maximum finite value.
13540 * math/libm-test.inc (j0_test): Add more tests.
13541 (j1_test): Likewise.
13542 (y0_test): Likewise.
13543 (y1_test): Likewise.
13544 * sysdeps/i386/fpu/libm-test-ulps: Update.
13545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13546
2a185d32
JM
13547 [BZ #14155]
13548 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13549 1 / x and functions P and Q for arguments above 0x1p256L.
13550 (__ieee754_y0l): Likewise.
13551 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13552 (__ieee754_y1l): Likewise.
13553 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13554 (j1_test): Likewise.
13555 (y0_test): Likewise.
13556 (y1_test): Likewise.
13557
6cbec759
TS
135582013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13559
13560 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13561 variable.
13562
bc16e260
RM
135632013-03-15 Roland McGrath <roland@hack.frob.com>
13564
aefc9b8c
RM
13565 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13566 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13567 zero since it's initialized to EXEC_PAGESIZE.
13568
bc16e260
RM
13569 * sysdeps/unix/sysv/linux/ldsodefs.h
13570 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13571 * sysdeps/generic/ldsodefs.h: ... here.
13572
a57da955
TS
135732013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13574
af00a34d
TS
13575 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13576
495ded2c
TS
13577 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13578 math/test-snan.c.
13579 * math/test-snan.c: Renamed from
13580 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13581 * math/Makefile (tests): Add test-snan.
13582 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13583 test-powerpc-snan.
13584
777b0332
TS
13585 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13586 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13587 functions.
13588 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13589 __builtin_nan family of functions.
13590 * math/libm-test.inc (initialize): Initialize qnan_value with
13591 __builtin_nan family of functions.
13592 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13593 Remove variables.
13594 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13595 Remove functions.
13596 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13597 storage class. Initialize qNaN_var and sNaN_var with
13598 __builtin_nan and __builtin_nans families of functions,
13599 respectively.
13600
64d063b8
TS
13601 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13602 (sqrt_test): Remove duplicate test with qNaN input.
13603 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13604 (round_test, signbit_test, significand_test): Note missing +/-Inf
13605 as well as qNaN tests.
13606
67e971f1
TS
13607 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13608 qNaN_var. Fix a few strings, too.
13609 * math/libm-test.inc (nan_value): Rename to qnan_value.
13610 * math/gen-libm-test.pl (%beautify): Adjust to that.
13611 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13612 * math/test-misc.c (main): Likewise.
13613 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13614 to __qnan_bytes, and __qnan_union, respectively.
13615 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13616 Likewise.
13617 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13618 and lqnanval, respectively.
13619 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13620 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13621 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13622 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13623
64487e12
TS
13624 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13625 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13626 doubles.
13627
e015e27b
TS
13628 * math/test-misc.c (main): Fix copy'n'pastos.
13629 * misc/tst-efgcvt.c (special): Likewise.
13630
a57da955
TS
13631 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13632 Remove declarations.
13633
1e380345
SP
136342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13635
13636 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13637 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13638 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13639 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13640
ef26eece
AZ
136412013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13642
13643 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13644 macro to return vdso values correctly in IFUNC implementations.
13645 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13646 Optimization by using IFUNC.
13647
8cfdb7e0
SP
136482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13649 Richard Henderson <rth@redhat.com>
13650 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13651
13652 * Makefile.in (bench): New target.
13653 * NEWS: Mention the benchmark framework.
13654 * Rules (bench): Likewise.
13655 (binaries-bench): Generate binaries for functions to
13656 benchmark.
13657 * benchtests/Makefile: New makefile for benchmark tests.
13658 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13659 programs.
13660 * benchtests/exp-inputs: New input file for EXP function.
13661 * benchtests/pow-inputs: New input file for POW function.
13662 * scripts/bench.pl: New script to generate source files for
13663 benchmark programs.
13664
bcda9880
SP
136652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13666
d22ca8cd
SP
13667 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13668 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13669 computations on mantissa. Use macros for rounding and
13670 division.
13671 (denorm): Likewise.
13672 (__dbl_mp): Likewise.
13673 (add_magnitudes): Likewise.
13674 (sub_magnitudes): Likewise.
13675 (__mul): Likewise.
13676 (__sqr): Likewise.
13677 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13678 powers of two in terms of TWOPOW macro.
13679 (mp_no): Make type of mantissa as MANTISSA_T.
13680 [!RADIXI]: Define RADIXI.
13681 [!TWO52]: Define TWO52.
13682 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13683
bcda9880
SP
13684 * manual/nptl.texi (cindex): Modify threads to pthreads.
13685
06d5adfb
JM
136862013-03-15 Joseph Myers <joseph@codesourcery.com>
13687
13688 * sysdeps/x86_64/preconfigure: Regenerated.
13689
41c7328e
JM
136902013-03-14 Joseph Myers <joseph@codesourcery.com>
13691
13692 [BZ #14155]
13693 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13694 0x1p28 and above.
13695 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13696 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13697 0x1p28 and above.
13698 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13699 * math/libm-test.inc (j0_test): Do not allow one spurious
13700 underflow exception.
13701 (y1_test): Likewise.
13702
e25cfa60
SP
137032013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13704
0409959c
SP
13705 * manual/Makefile (chapters): Add nptl.
13706 * manual/debug.texi (Debugging Support): Add link to Threads
13707 chapter.
13708 * manual/nptl.texi: New file.
13709
e25cfa60
SP
13710 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13711
58a1335e
PB
137122013-03-14 Petr Baudis <pasky@ucw.cz>
13713
13714 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13715 for non-NULL pointer before the memory validity test. Pointed
13716 out by Holger Brunck <holger.brunck@keymile.com>.
13717
9dc7c64f
AS
137182013-03-13 Andreas Schwab <schwab@suse.de>
13719
13720 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13721 instead of .os.
13722
54206aa6
JM
137232013-03-13 Joseph Myers <joseph@codesourcery.com>
13724
13725 * timezone/zic.c: Update from tzcode 2013b.
13726
e98cdb38
CD
137272013-03-12 Carlos O'Donell <carlos@redhat.com>
13728
13729 * manual/install.texi (Configuring and compiling):
13730 Mention i686 and i586.
13731 * INSTALL: Regenerate.
13732
9967e003
RM
137332013-03-12 Roland McGrath <roland@hack.frob.com>
13734
13735 * sysdeps/init_array/elf-init.c: New file.
13736 * csu/elf-init.c
13737 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13738 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13739
13740 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13741 __gmon_start__ as global, but as static with a .preinit_array pointer.
13742 * sysdeps/init_array/gmon-start.c: New file. Use that.
13743 * sysdeps/init_array/crti.S: New file, empty except for comments.
13744 * sysdeps/init_array/crtn.S: Likewise.
13745
e6b5a293 137462013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13747
13748 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13749 definining bcopy.
80f844c9
OB
13750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13751 Remove Prefer_SSE_for_memop.
13752 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13753 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13754 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13756 memset-x86-64.
80f844c9 13757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13758 Remove bzero, memset ifunc support.
80f844c9
OB
13759 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13761 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13762 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13763
fb6b0fcb
AS
137642013-03-11 Andreas Schwab <schwab@suse.de>
13765
13766 [BZ #15234]
13767 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13768 by SHLIB_COMPAT.
13769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13770 (GLIBC_2.16): Remove pthread_atfork.
13771
3e6bd4b1
PP
137722013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13773
13774 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13775 (ptestcases.h): Likewise.
13776
222d7f00
RM
137772013-03-08 Roland McGrath <roland@hack.frob.com>
13778
13779 * Makeconfig ($(common-objpfx)config.status): Depend on
13780 sysdeps/*/preconfigure{,.in} too.
13781
1ba4f030
JM
137822013-03-08 Joseph Myers <joseph@codesourcery.com>
13783
a222d91a
JM
13784 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13785 (__free_hook): Use void * instead of __malloc_ptr_t.
13786 (__malloc_hook): Likewise.
13787 (__realloc_hook): Likewise.
13788 (__memalign_hook): Likewise.
13789 (__after_morecore_hook): Likewise.
13790 * malloc/arena.c (save_malloc_hook): Likewise.
13791 (save_free_hook): Likewise.
13792 * malloc/hooks.c (malloc_hook_ini): Likewise.
13793 (realloc_hook_ini): Likewise.
13794 (memalign_hook_ini): Likewise.
13795 * malloc/malloc.c (malloc_hook_ini): Likewise.
13796 (realloc_hook_ini): Likewise.
13797 (memalign_hook_ini): Likewise.
13798 (__free_hook): Likewise.
13799 (__malloc_hook): Likewise.
13800 (__realloc_hook): Likewise.
13801 (__memalign_hook): Likewise.
13802 (__libc_malloc): Likewise.
13803 (__libc_free): Likewise.
13804 (__libc_realloc): Likewise.
13805 (__libc_memalign): Likewise.
13806 (__libc_valloc): Likewise.
13807 (__libc_pvalloc): Likewise.
13808 (__libc_calloc): Likewise.
13809 (__posix_memalign): Likewise.
13810 * malloc/morecore.c (__sbrk): Likewise.
13811 (__default_morecore): Likewise.
13812
5cc45e10
JM
13813 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13814
dd54b864
JM
13815 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13816 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13817 __malloc_ptrdiff_t.
13818
1ba4f030
JM
13819 * malloc/malloc.h (__malloc_size_t): Remove macro.
13820 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13821 __malloc_size_t.
13822 (old_memalign_hook): Likewise.
13823 (old_realloc_hook): Likewise.
13824 (struct hdr): Likewise.
13825 (flood): Likewise.
13826 (mallochook): Likewise.
13827 (memalignhook): Likewise.
13828 (reallochook): Likewise.
13829 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13830 (tr_old_realloc_hook): Likewise.
13831 (tr_old_memalign_hook): Likewise.
13832 (tr_mallochook): Likewise.
13833 (tr_reallochook): Likewise.
13834 (tr_memalignhook): Likewise.
13835
edf66e57
AZ
138362013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13837
13838 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13839 default_ldbl_pack and using as default implementation.
13840 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13841 implementation.
13842 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13843 redundant definition.
13844 (ldbl_insert_mantissa): Likewise.
13845 (ldbl_canonicalize): Likewise.
13846 (ldbl_nearbyint): Likewise.
13847 (ldbl_pack): Rename to ldbl_pack_ppc.
13848 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13849 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13850 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13851
6d9145d8
SP
138522013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13853
13854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13855 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13857 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13859 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13860 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13861 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13862
4dd4e157
AJ
138632013-03-07 Andreas Jaeger <aj@suse.de>
13864
13865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13866 bits/mman-linux.h.
13867
adbb8027
SP
138682013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13869
ce544b5b
SP
13870 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13871 Include mpa.h and declare __MPEXP.
13872 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13873 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13874 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13875 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13876 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13877 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13878 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13879
4cc149fd
SP
13880 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13881 (__slowpow): Use long double EXPL and LOGL functions to
13882 compute POW.
13883 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13884 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13886 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13887 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13888 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13889
e6ebd4a7
SP
13890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13891 intermediate variable to calculate exponent.
13892 (__sqr): Likewise.
13893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13894 Likewise.
13895 (__sqr): Likewise.
13896
82a9811d
SP
13897 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13898 [!NO__SQR]: Define __sqr.
13899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13900 and NO__SQR. Remove all code except __mul and __sqr. Include
13901 sysdeps/ieee754/dbl-64/mpa.c.
13902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13903
adbb8027
SP
13904 [BZ #12723]
13905 * posix/Makefile (tests): Add tst-pathconf.
13906 * posix/tst-pathconf.c: New test case.
13907 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13908 _PC_PIPE_BUF.
13909 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13910
39120df9
PF
139112013-03-06 Patsy Franklin <pfrankli@redhat.com>
13912
13913 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13914
67525cb8
AJ
139152013-03-06 Andreas Jaeger <aj@suse.de>
13916
664a9ce4
AJ
13917 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13918 definition via __MAP_ANONYMOUS.
13919
8e39047d
AJ
13920 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13921 it's not part of Linux headers.
13922
67525cb8
AJ
13923 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13924 (MAP_HUGE_MASK): Define.
13925
13926 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13927 Define.
13928 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13930 Define.
13931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13932 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13933 Define.
13934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13936 Define.
13937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13938
13939 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13940 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13941 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13942 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13943 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13944 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13945
13946 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13947 Handle f2fs.
13948
13949 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13950 Handle f2fs and efivarfs.
13951
13952 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13953 f2fs.
13954
13955 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13956 (EFIVARFS_MAGIC): Add.
13957 (F2FS_LINK_MAX): Add.
13958
e1b42695
PP
139592013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13960
13961 * stdio-common/vfprintf.c: Replace __builtin_expect with
13962 __glibc_unlikely.
13963
2d67d91a
JM
139642013-03-06 Joseph Myers <joseph@codesourcery.com>
13965
13966 [BZ #13550]
13967 * sysdeps/generic/bp-sym.h: Remove file.
13968 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13969 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13970 <bp-sym.h> and <bp-asm.h>.
13971 (__longjmp): Don't use BP_SYM.
13972 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13973 and <bp-asm.h>.
13974 (memcpy): Don't use BP_SYM.
13975 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13976 <bp-sym.h> and <bp-asm.h>.
13977 (memcpy): Don't use BP_SYM.
13978 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13979 <bp-asm.h>.
13980 (memcpy): Don't use BP_SYM.
13981 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13982 <bp-asm.h>.
13983 (memset): Don't use BP_SYM.
13984 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13985 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13986 (__bzero): Don't use BP_SYM.
13987 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13988 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13989 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13990 <bp-sym.h> and <bp-asm.h>.
13991 (memcmp): Don't use BP_SYM. Remove comment about bounded
13992 pointers.
13993 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13994 <bp-sym.h> and <bp-asm.h>.
13995 (memcpy): Don't use BP_SYM.
13996 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13997 <bp-sym.h> and <bp-asm.h>.
13998 (memset): Don't use BP_SYM.
13999 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14000 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14001 (__bzero): Don't use BP_SYM.
14002 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14003 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14004 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
14005 <bp-sym.h> and <bp-asm.h>.
14006 (strncmp): Don't use BP_SYM. Remove comment about bounded
14007 pointers.
14008 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
14009 <bp-sym.h> and <bp-asm.h>.
14010 (memcpy): Don't use BP_SYM.
14011 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
14012 <bp-sym.h> and <bp-asm.h>.
14013 (memset): Don't use BP_SYM.
14014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14016 (__bzero): Don't use BP_SYM.
14017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14019 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
14020 <bp-sym.h> and <bp-asm.h>.
14021 (__memchr): Don't use BP_SYM.
14022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
14023 <bp-sym.h> and <bp-asm.h>.
14024 (memcmp): Don't use BP_SYM. Remove comment about bounded
14025 pointers.
14026 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
14027 <bp-sym.h> and <bp-asm.h>.
14028 (memcpy): Don't use BP_SYM.
14029 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
14030 <bp-sym.h> and <bp-asm.h>.
14031 (__mempcpy): Don't use BP_SYM.
14032 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
14033 <bp-sym.h> and <bp-asm.h>.
14034 (__memrchr): Don't use BP_SYM.
14035 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
14036 <bp-sym.h> and <bp-asm.h>.
14037 (memset): Don't use BP_SYM.
14038 (__bzero): Likewise.
14039 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
14040 <bp-sym.h> and <bp-asm.h>.
14041 (__rawmemchr): Don't use BP_SYM.
14042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
14043 <bp-sym.h> and <bp-asm.h>.
14044 (__STRCMP): Don't use BP_SYM.
14045 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
14046 <bp-sym.h> and <bp-asm.h>.
14047 (strchr): Don't use BP_SYM.
14048 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
14049 <bp-sym.h> and <bp-asm.h>.
14050 (__strchrnul): Don't use BP_SYM.
14051 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
14052 <bp-sym.h> and <bp-asm.h>.
14053 (strlen): Don't use BP_SYM.
14054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
14055 <bp-sym.h> and <bp-asm.h>.
14056 (strncmp): Don't use BP_SYM. Remove comment about bounded
14057 pointers.
14058 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
14059 <bp-sym.h> and <bp-asm.h>.
14060 (__strnlen): Don't use BP_SYM.
14061 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
14062 <bp-sym.h> and <bp-asm.h>.
14063 (__GI__setjmp): Don't use BP_SYM.
14064 (_setjmp): Likewise.
14065 (__sigsetjmp): Likewise.
14066 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
14067 (L(start_addresses)): Don't use BP_SYM.
14068 (_start): Likewise.
14069 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
14070 <bp-asm.h>.
14071 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
14072 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
14073 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14074 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14075 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
14076 <bp-asm.h>.
14077 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
14078 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
14079 about bounded pointers.
14080 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14081 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14082 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
14083 <bp-asm.h>.
14084 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
14085 about bounded pointers. Remove GKM FIXME comments.
14086 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14087 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
14088 <bp-asm.h>.
14089 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
14090 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
14091 Remove GKM FIXME comments.
14092 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14093 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14094 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
14095 <bp-asm.h>.
14096 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
14097 about bounded pointers. Remove GKM FIXME comment.
14098 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
14099 and <bp-asm.h>.
14100 (strncmp): Don't use BP_SYM. Remove comment about bounded
14101 pointers.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
14103 <bp-sym.h> and <bp-asm.h>.
14104 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
14106 <bp-sym.h> and <bp-asm.h>.
14107 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14108 comment.
14109
cdcf361f
PP
141102013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14111
14112 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
14113 call free(NULL).
14114
3c4a2b15
DM
141152013-03-05 David S. Miller <davem@davemloft.net>
14116
14117 * po/es.po: Update from translation team.
14118
cdcf361f 141192013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
14120
14121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
14122 <bits/mman-linux.h>.
14123 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14124 is fine.
14125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
14126 <bits/mman-linux.h> to end of file.
14127 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14128 is fine.
14129 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
14130 <bits/mman-linux.h> to end of file.
14131 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14132 is fine.
14133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
14134 <bits/mman-linux.h> to end of file.
14135
14136 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
14137 (MCL_CURRENT, MCL_FUTURE): Define here.
14138
5f67c04f
AK
141392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14140
8a4473cc 14141 [BZ #15232]
5f67c04f
AK
14142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14143 attribute_hidden.
14144 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14145
c3e94a95
AK
141462013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14147
14148 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14149 fourth parameter needed for rt_sigprocmask syscall.
14150 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14151 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14152 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14153 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14154 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14155 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14156
cfb6382a
JM
141572013-03-04 Joseph Myers <joseph@codesourcery.com>
14158
14159 [BZ #13550]
14160 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14161 comment about bounded pointers.
14162 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14163 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14164
539d8e01
AJ
141652013-03-04 Andreas Jaeger <aj@suse.de>
14166
14167 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14168 common definitions.
14169
14170 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14171 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14172 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14173 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
14175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14176
2e167a70 141772013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
14178
14179 [BZ #15055]
14180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14181 __ieee754_sqrl instead of __sqrl.
14182
68508633
JM
141832013-03-01 Joseph Myers <joseph@codesourcery.com>
14184
14185 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14186 * sysdeps/powerpc/fpu_control.h: ... here.
14187 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14188 * sysdeps/powerpc/bits/fenvinline.h: ... here.
14189 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14190 * sysdeps/powerpc/bits/mathinline.h: ... here.
14191
7775448e
RM
141922013-03-01 Roland McGrath <roland@hack.frob.com>
14193
14194 * elf/dl-hwcaps.c (_dl_important_hwcaps):
14195 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14196 to just [NEED_DL_SYSINFO_DSO].
14197 * elf/dl-support.c: Likewise.
14198 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14199 * elf/rtld.c (dl_main): Likewise.
14200 * elf/setup-vdso.h (setup_vdso): Likewise.
14201 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14202 * sysdeps/unix/sysv/linux/dl-sysdep.c
14203 (_dl_discover_osversion): Likewise.
14204
4e9b5995
CD
142052013-03-01 Carlos O'Donell <carlos@redhat.com>
14206
14207 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14208 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14209
e23872c8
SP
142102013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14211
e5c74c63
SP
14212 * NEWS: Mention libm performance improvements and non-x86 PI
14213 futex support.
14214
e23872c8
SP
14215 * csu/libc-start.c (__pthread_initialize_minimal): Change
14216 function arguments.
14217 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14218
b5510883
JM
142192013-02-28 Joseph Myers <joseph@codesourcery.com>
14220
14221 [BZ #13550]
14222 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14223 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14224 <bp-sym.h> and <bp-asm.h>.
14225 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14226 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14227 and <bp-asm.h>.
14228 (memcpy): Don't use BP_SYM.
14229 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14230 <bp-asm.h>.
14231 (__mpn_add_n): Don't use BP_SYM.
14232 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14233 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14234 and <bp-asm.h>.
14235 (__mpn_addmul_1): Don't use BP_SYM.
14236 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14237 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14238 <bp-sym.h>.
14239 (_setjmp): Don't use BP_SYM.
14240 (__novmx_setjmp): Likewise.
14241 (__GI__setjmp): Likewise.
14242 (__vmx_setjmp): Likewise.
14243 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14244 <bp-sym.h>.
14245 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14246 (__bzero): Don't use BP_SYM.
14247 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14248 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14249 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14250 <bp-sym.h> and <bp-asm.h>.
14251 (memcpy): Don't use BP_SYM.
14252 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14253 <bp-sym.h> and <bp-asm.h>.
14254 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14255 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14256 <bp-sym.h> and <bp-asm.h>.
14257 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14258 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14259 <bp-asm.h>.
14260 (__mpn_lshift): Don't use BP_SYM.
14261 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14262 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14263 <bp-asm.h>.
14264 (memset): Don't use BP_SYM.
14265 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14266 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14267 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14268 <bp-asm.h>.
14269 (__mpn_mul_1): Don't use BP_SYM.
14270 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14272 <bp-sym.h> and <bp-asm.h>.
14273 (memcmp): Don't use BP_SYM.
14274 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14275 <bp-sym.h> and <bp-asm.h>.
14276 (memcpy): Don't use BP_SYM.
14277 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14278 <bp-sym.h> and <bp-asm.h>.
14279 (memset): Don't use BP_SYM.
14280 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14281 <bp-sym.h> and <bp-asm.h>.
14282 (strncmp): Don't use BP_SYM.
14283 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14284 <bp-sym.h> and <bp-asm.h>.
14285 (memcpy): Don't use BP_SYM.
14286 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14287 <bp-sym.h> and <bp-asm.h>.
14288 (memset): Don't use BP_SYM.
14289 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14290 <bp-sym.h> and <bp-asm.h>.
14291 (__memchr): Don't use BP_SYM.
14292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14293 <bp-sym.h> and <bp-asm.h>.
14294 (memcmp): Don't use BP_SYM.
14295 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14296 <bp-sym.h> and <bp-asm.h>.
14297 (memcpy): Don't use BP_SYM.
14298 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14299 <bp-sym.h> and <bp-asm.h>.
14300 (__mempcpy): Don't use BP_SYM.
14301 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14302 <bp-sym.h> and <bp-asm.h>.
14303 (__memrchr): Don't use BP_SYM.
14304 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14305 <bp-sym.h> and <bp-asm.h>.
14306 (memset): Don't use BP_SYM.
14307 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14308 <bp-sym.h> and <bp-asm.h>.
14309 (__rawmemchr): Don't use BP_SYM.
14310 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14311 <bp-sym.h> and <bp-asm.h>.
14312 (__STRCMP): Don't use BP_SYM.
14313 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14314 <bp-sym.h> and <bp-asm.h>.
14315 (strchr): Don't use BP_SYM.
14316 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14317 <bp-sym.h> and <bp-asm.h>.
14318 (__strchrnul): Don't use BP_SYM.
14319 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14320 <bp-sym.h> and <bp-asm.h>.
14321 (strlen): Don't use BP_SYM.
14322 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14323 <bp-sym.h> and <bp-asm.h>.
14324 (strncmp): Don't use BP_SYM.
14325 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14326 <bp-sym.h> and <bp-asm.h>.
14327 (__strnlen): Don't use BP_SYM.
14328 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14329 <bp-asm.h>.
14330 (__mpn_rshift): Don't use BP_SYM.
14331 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14332 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14333 <bp-sym.h> and <bp-asm.h>.
14334 (__sigsetjmp): Don't use BP_SYM.
14335 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14336 (L(start_addresses)): Don't use BP_SYM.
14337 (_start): Likewise.
14338 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14339 <bp-asm.h>.
14340 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14341 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14342 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14343 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14344 <bp-asm.h>.
14345 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14346 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14347 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14348 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14349 <bp-asm.h>.
14350 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14351 comments.
14352 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14353 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14354 <bp-asm.h>.
14355 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14356 FIXME comments.
14357 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14358 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14359 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14360 <bp-asm.h>.
14361 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14362 comment.
14363 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14364 and <bp-asm.h>.
14365 (strncmp): Don't use BP_SYM,
14366 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14367 <bp-asm.h>.
14368 (__mpn_sub_n): Don't use BP_SYM.
14369 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14370 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14371 and <bp-asm.h>.
14372 (__mpn_submul_1): Don't use BP_SYM.
14373 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14375 <bp-sym.h> and <bp-asm.h>.
14376 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14378 <bp-sym.h> and <bp-asm.h>.
14379 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14380 comment.
14381
8d19fe64
SP
143822013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14383
14384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14385 Use ZK to minimize writes to Z.
14386 (sub_magnitudes): Simplify code a bit.
14387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14388 Use ZK to minimize writes to Z.
14389 (sub_magnitudes): Simplify code a bit.
14390
85bd816a
RM
143912013-02-27 Roland McGrath <roland@hack.frob.com>
14392
14393 * csu/gmon-start.c: Add special exception to license text.
14394
b5977bf2
RH
143952013-02-27 Richard Henderson <rth@redhat.com>
14396
14397 * scripts/config.guess: Update from config.git.
14398 * scripts/config.sub: Likewise.
14399
11d6e2f2
SP
144002013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14401
09c14ed2
SP
14402 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14403
a688864e
SP
14404 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14405
6295157a
SP
14406 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14407
b8de2202
SP
14408 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14409
11d6e2f2
SP
14410 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14411
7e80ddb8
RM
144122013-02-26 Roland McGrath <roland@hack.frob.com>
14413
14414 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14415 [$(build-shared = yes].
7e80ddb8 14416
7da6d9ed
SP
144172013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14418
45f05884
SP
14419 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14420 (__mul): Reduce iterations for calculating mantissa.
14421
2236d359
SP
14422 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14423 MPTWO.
14424 (__mpranred): Likewise.
14425
7da6d9ed
SP
14426 [BZ #15160]
14427 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14428 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14429
b7688c42
PE
144302013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14431
14432 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14433 Define __attribute__.
14434
53a5c423
SP
144352013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14436
14437 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14438 unused.
14439 * posix/regex_internal.h (__attribute): Remove.
14440 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14441 (re_string_context_at): Likewise.
14442 (bitset_not): Use __attribute__ and mark function as possibly
14443 unused.
14444 (bitset_merge): Likewise.
14445 (bitset_mask): Likewise.
14446 (re_string_char_size_at): Likewise.
14447 (re_string_wchar_at): Likewise.
14448 (re_string_elem_size_at): Likewise.
14449
60f5a8b5
SP
144502013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14451
2a983a2e
SP
14452 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14453 code.
14454 (cc32): Likewise.
14455
e69804d1
SP
14456 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14457 (__acr): Likewise.
14458 (__cpy): Likewise.
14459 (norm): Likewise.
14460 (denorm): Likewise.
14461 (__dbl_mp): Likewise.
14462 (add_magnitudes): Likewise.
14463 (sub_magnitudes): Likewise.
14464 (__mul): Likewise.
14465 (__inv): Likewise.
14466
2f22a1e8
SP
14467 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14468 style.
14469
8930ddc7
SP
14470 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14471 style.
14472
dc60cb11
SP
14473 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14474 code.
14475
60f5a8b5
SP
14476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14477 up changes with default code.
14478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14479 Likewise.
14480
b4d1fd33
AM
144812013-02-24 Allan McRae <allan@archlinux.org>
14482
faf6f8bc
AM
14483 * manual/socket.texi (The Internet Namespace): Order menu items
14484 to match that in the file.
14485
b4d1fd33
AM
14486 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14487 node listing of the info page menu.
14488
2366713d
JM
144892013-02-21 Joseph Myers <joseph@codesourcery.com>
14490
14491 [BZ #13550]
14492 * sysdeps/i386/bp-asm.h: Remove file.
14493 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14494 (PARMS): Do not use macros from bp-asm.h.
14495 (S1): Likewise.
14496 (S2): Likewise.
14497 (SIZE): Likewise.
14498 (__mpn_add_n): Do not use BP_SYM
14499 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14500 "bp-asm.h".
14501 (PARMS): Do not use macros from bp-asm.h.
14502 (S1): Likewise.
14503 (SIZE): Likewise.
14504 (__mpn_addmul_1): Do not use BP_SYM
14505 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14506 "bp-asm.h".
14507 (PARMS): Do not use macros from bp-asm.h.
14508 (SIGMSK): Likewise.
14509 (_setjmp): Likewise. Do not use BP_SYM.
14510 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14511 "bp-asm.h".
14512 (PARMS): Do not use macros from bp-asm.h.
14513 (SIGMSK): Likewise.
14514 (setjmp): Likewise. Do not use BP_SYM.
14515 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14516 "bp-asm.h".
14517 (PARMS): Do not use macros from bp-asm.h.
14518 (__frexp): Do not use BP_SYM.
14519 (frexp): Likewise.
14520 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14521 "bp-asm.h".
14522 (PARMS): Do not use macros from bp-asm.h.
14523 (__frexpf): Do not use BP_SYM.
14524 (frexpf): Likewise.
14525 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14526 "bp-asm.h".
14527 (PARMS): Do not use macros from bp-asm.h.
14528 (__frexpl): Do not use BP_SYM.
14529 (frexpl): Likewise.
14530 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14531 "bp-asm.h".
14532 (PARMS): Do not use macros from bp-asm.h.
14533 (__remquo): Do not use BP_SYM.
14534 (remquo): Likewise.
14535 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14536 "bp-asm.h".
14537 (PARMS): Do not use macros from bp-asm.h.
14538 (__remquof): Do not use BP_SYM.
14539 (remquof): Likewise.
14540 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14541 "bp-asm.h".
14542 (PARMS): Do not use macros from bp-asm.h.
14543 (__remquol): Do not use BP_SYM.
14544 (remquol): Likewise.
14545 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14546 "bp-asm.h".
14547 (PARMS): Do not use macros from bp-asm.h.
14548 (DEST): Likewise.
14549 (SRC): Likewise.
14550 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14551 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14552 "bp-asm.h".
14553 (PARMS): Do not use macros from bp-asm.h.
14554 (strlen): Do not use BP_SYM.
14555 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14556 "bp-asm.h".
14557 (PARMS): Do not use macros from bp-asm.h.
14558 (S1): Likewise.
14559 (S2): Likewise.
14560 (SIZE): Likewise.
14561 (__mpn_add_n): Do not use BP_SYM.
14562 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14563 "bp-asm.h".
14564 (PARMS): Do not use macros from bp-asm.h.
14565 (S1): Likewise.
14566 (SIZE): Likewise.
14567 (__mpn_addmul_1): Do not use BP_SYM.
14568 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14569 weak_alias.
14570 (bzero): Likewise.
14571 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14572 "bp-asm.h".
14573 (PARMS): Do not use macros from bp-asm.h.
14574 (S): Likewise.
14575 (SIZE): Likewise.
14576 (__mpn_lshift): Do not use BP_SYM.
14577 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14578 "bp-asm.h".
14579 (PARMS): Do not use macros from bp-asm.h.
14580 (DEST): Likewise.
14581 (SRC): Likewise.
14582 (LEN): Likewise.
14583 (memcpy): Likewise. Do not use BP_SYM.
14584 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14585 libc_hidden_def and weak_alias.
14586 (mempcpy): Do not use BP_SYM in weak_alias.
14587 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14588 "bp-asm.h".
14589 (PARMS): Do not use macros from bp-asm.h.
14590 (DEST): Likewise.
14591 (LEN): Likewise.
14592 [!BZERO_P] (CHR): Likewise.
14593 (memset): Likewise. Do not use BP_SYM.
14594 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14595 "bp-asm.h".
14596 (PARMS): Do not use macros from bp-asm.h.
14597 (S1): Likewise.
14598 (SIZE): Likewise.
14599 (__mpn_mul_1): Do not use BP_SYM.
14600 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14601 "bp-asm.h".
14602 (PARMS): Do not use macros from bp-asm.h.
14603 (S): Likewise.
14604 (SIZE): Likewise.
14605 (__mpn_rshift): Do not use BP_SYM.
14606 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14607 "bp-asm.h".
14608 (PARMS): Do not use macros from bp-asm.h.
14609 (STR): Likewise.
14610 (CHR): Likewise.
14611 (strchr): Likewise. Do not use BP_SYM.
14612 (index): Do not use BP_SYM in weak_alias.
14613 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14614 "bp-asm.h".
14615 (PARMS): Do not use macros from bp-asm.h.
14616 (DEST): Likewise.
14617 (SRC): Likewise.
14618 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14619 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14620 "bp-asm.h".
14621 (PARMS): Do not use macros from bp-asm.h.
14622 (strlen): Do not use BP_SYM.
14623 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14624 "bp-asm.h".
14625 (PARMS): Do not use macros from bp-asm.h.
14626 (S1): Likewise.
14627 (S2): Likewise.
14628 (SIZE): Likewise.
14629 (__mpn_sub_n): Do not use BP_SYM.
14630 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14631 "bp-asm.h".
14632 (PARMS): Do not use macros from bp-asm.h.
14633 (S1): Likewise.
14634 (SIZE): Likewise.
14635 (__mpn_submul_1): Do not use BP_SYM.
14636 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14637 "bp-asm.h".
14638 (PARMS): Do not use macros from bp-asm.h.
14639 (S1): Likewise.
14640 (S2): Likewise.
14641 (SIZE): Likewise.
14642 (__mpn_add_n): Do not use BP_SYM.
14643 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14644 weak_alias.
14645 (bzero): Likewise.
14646 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14647 "bp-asm.h".
14648 (PARMS): Do not use macros from bp-asm.h.
14649 (BLK2): Likewise.
14650 (LEN): Likewise.
14651 (memcmp): Do not use BP_SYM.
14652 (bcmp): Do not use BP_SYM in weak_alias.
14653 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14654 "bp-asm.h".
14655 (PARMS): Do not use macros from bp-asm.h.
14656 (DEST): Likewise.
14657 (SRC): Likewise.
14658 (LEN): Likewise.
14659 (memcpy): Likewise. Do not use BP_SYM.
14660 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14661 "bp-asm.h".
14662 (PARMS): Do not use macros from bp-asm.h.
14663 (DEST): Likewise.
14664 (SRC): Likewise.
14665 (LEN): Likewise.
14666 (memmove): Likewise. Do not use BP_SYM.
14667 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14668 "bp-asm.h".
14669 (PARMS): Do not use macros from bp-asm.h.
14670 (DEST): Likewise.
14671 (SRC): Likewise.
14672 (LEN): Likewise.
14673 (__mempcpy): Likewise. Do not use BP_SYM.
14674 (mempcpy): Do not use BP_SYM in weak_alias.
14675 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14676 "bp-asm.h".
14677 (PARMS): Do not use macros from bp-asm.h.
14678 (DEST): Likewise.
14679 (LEN): Likewise.
14680 [!BZERO_P] (CHR): Likewise.
14681 (memset): Likewise. Do not use BP_SYM.
14682 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14683 "bp-asm.h".
14684 (PARMS): Do not use macros from bp-asm.h.
14685 (STR2): Likewise.
14686 (strcmp): Do not use BP_SYM.
14687 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14688 "bp-asm.h".
14689 (PARMS): Do not use macros from bp-asm.h.
14690 (STR): Likewise.
14691 (DELIM): Likewise.
14692 [USE_AS_STRTOK_R] (SAVE): Likewise.
14693 (FUNCTION): Likewise. Do not use BP_SYM.
14694 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14695 aliases.
14696 (strtok_r): Likewise.
14697 (__GI___strtok_r): Likewise.
14698 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14699 (PARMS): Do not use macros from bp-asm.h.
14700 (S): Likewise.
14701 (SIZE): Likewise.
14702 (__mpn_lshift): Do not use BP_SYM.
14703 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14704 (PARMS): Do not use macros from bp-asm.h.
14705 (STR): Likewise.
14706 (CHR): Likewise.
14707 (__memchr): Do not use BP_SYM.
14708 (memchr): Do not use BP_SYM in weak_alias.
14709 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14710 (PARMS): Do not use macros from bp-asm.h.
14711 (BLK2): Likewise.
14712 (LEN): Likewise.
14713 (memcmp): Do not use BP_SYM.
14714 (bcmp): Do not use BP_SYM in weak_alias.
14715 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14716 (PARMS): Do not use macros from bp-asm.h.
14717 (S1): Likewise.
14718 (SIZE): Likewise.
14719 (__mpn_mul_1): Do not use BP_SYM.
14720 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14721 "bp-asm.h".
14722 (PARMS): Do not use macros from bp-asm.h.
14723 (STR): Likewise.
14724 (CHR): Likewise.
14725 (__rawmemchr): Do not use BP_SYM.
14726 (rawmemchr): Do not use BP_SYM in weak_alias.
14727 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14728 (PARMS): Do not use macros from bp-asm.h.
14729 (S): Likewise.
14730 (SIZE): Likewise.
14731 (__mpn_rshift): Do not use BP_SYM.
14732 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14733 (PARMS): Do not use macros from bp-asm.h.
14734 (SIGMSK): Likewise.
14735 (__sigsetjmp): Likewise. Do not use BP_SYM.
14736 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14737 (_start): Do not use BP_SYM.
14738 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14739 (PARMS): Do not use macros from bp-asm.h.
14740 (DEST): Likewise.
14741 (SRC): Likewise.
14742 (__stpcpy): Likewise. Do not use BP_SYM.
14743 (stpcpy): Do not use BP_SYM in weak_alias.
14744 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14745 "bp-asm.h".
14746 (PARMS): Do not use macros from bp-asm.h.
14747 (DEST): Likewise.
14748 (SRC): Likewise.
14749 (LEN): Likewise.
14750 (__stpncpy): Likewise. Do not use BP_SYM.
14751 (stpncpy): Do not use BP_SYM in weak_alias.
14752 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14753 (PARMS): Do not use macros from bp-asm.h.
14754 (STR): Likewise.
14755 (CHR): Likewise.
14756 (strchr): Likewise. Do not use BP_SYM.
14757 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14758 "bp-asm.h".
14759 (PARMS): Do not use macros from bp-asm.h.
14760 (STR): Likewise.
14761 (CHR): Likewise.
14762 (__strchrnul): Likewise. Do not use BP_SYM.
14763 (strchrnul): Do not use BP_SYM in weak_alias.
14764 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14765 "bp-asm.h".
14766 (PARMS): Do not use macros from bp-asm.h.
14767 (STOP): Likewise.
14768 (strcspn): Do not use BP_SYM.
14769 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14770 "bp-asm.h".
14771 (PARMS): Do not use macros from bp-asm.h.
14772 (STR): Likewise.
14773 (STOP): Likewise.
14774 (strpbrk): Likewise. Do not use BP_SYM.
14775 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14776 "bp-asm.h".
14777 (PARMS): Do not use macros from bp-asm.h.
14778 (STR): Likewise.
14779 (CHR): Likewise.
14780 (strrchr): Likewise. Do not use BP_SYM.
14781 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14782 (PARMS): Do not use macros from bp-asm.h.
14783 (SKIP): Likewise.
14784 (strspn): Do not use BP_SYM.
14785 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14786 (PARMS): Do not use macros from bp-asm.h.
14787 (STR): Likewise.
14788 (DELIM): Likewise.
14789 (SAVE): Likewise.
14790 (FUNCTION): Likewise. Do not use BP_SYM.
14791 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14792 aliases.
14793 (strtok_r): Likewise.
14794 (__GI___strtok_r): Likewise.
14795 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14796 (PARMS): Do not use macros from bp-asm.h.
14797 (S1): Likewise.
14798 (S2): Likewise.
14799 (SIZE): Likewise.
14800 (__mpn_sub_n): Do not use BP_SYM.
14801 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14802 "bp-asm.h".
14803 (PARMS): Do not use macros from bp-asm.h.
14804 (S1): Likewise.
14805 (SIZE): Likewise.
14806 (__mpn_submul_1): Do not use BP_SYM.
14807 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14808 <bp-sym.h>.
14809 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14810 and <bp-asm.h>.
14811 (PARMS): Do not use macros from bp-asm.h.
14812 (FLAGS): Likewise.
14813 (PTID): Likewise.
14814 (TLS): Likewise.
14815 (CTID): Likewise.
14816 (__clone): Do not use BP_SYM.
14817 (clone): Do not use BP_SYM in weak_alias.
14818 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14819 and <bp-asm.h>.
14820 (PARMS): Do not use macros from bp-asm.h.
14821 (LEN): Likewise.
14822 (__mmap64): Do not use BP_SYM.
14823 (mmap64): Do not use BP_SYM in weak_alias.
14824 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14825 <bp-sym.h> and <bp-asm.h>.
14826 (PARMS): Do not use macros from bp-asm.h.
14827 (__posix_fadvise64_l64): Do not use BP_SYM.
14828 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14829 (PARMS): Do not use macros from bp-asm.h.
14830 (NSOPS): Likewise.
14831 (semtimedop): Do not use BP_SYM.
14832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14833 and <bp-asm.h>.
14834
582a3cff
AM
148352013-02-21 Allan McRae <allan@archlinux.org>
14836
14837 * manual/message.texi (Charset conversion in gettext):
14838 Move @end statement to beginning of line.
14839
bab8a695
SP
148402013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14841
80945231
SP
14842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14843 static.
14844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14845 Likewise.
14846
bab8a695
SP
14847 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14848 (denorm): Likewise.
14849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14851
e21d7aa7
AK
148522013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14853
14854 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14855 tail-call to the resolved function if pltexit isn't needed.
14856
4c7a4263
SP
148572013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14858
14859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14860 or Y being zero as being unlikely.
14861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14862 Likewise.
14863
41f49342
CD
148642013-02-20 Carlos O'Donell <carlos@redhat.com>
14865
14866 * manual/nss.texi (System Databases and Name Service Switch):
14867 Remove frobnicate @pxref.
14868
50022a93
TS
148692013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14870
14871 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14872 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14873
08cbd996
PM
148742013-02-20 Petr Machata <pmachata@redhat.com>
14875
14876 * elf/elf.h (R_ARM_TARGET1): New macro.
14877 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14878 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14879 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14880 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14881 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14882 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14883 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14884 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14885 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14886 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14887 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14888 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14889 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14890 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14891 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14892 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14893 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14894 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14895 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14896 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14897 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14898 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14899 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14900 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14901 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14902 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14903 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14904 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14905 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14906 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14907 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14908 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14909 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14910 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14911 (R_ARM_THM_GOT_BREL12): Likewise.
14912 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14913 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14914 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14915 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14916 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14917 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14918 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14919 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14920 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14921
c7b275d6
TS
149222013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14923
14924 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14925 __attribute_used__ to __attribute__ ((unused)).
14926
20cd7fb3
SP
149272013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14928
14929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14930 powerpc mpa.c.
14931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14932 comment formatting.
14933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14934
92945b52
JM
149352013-02-19 Joseph Myers <joseph@codesourcery.com>
14936
14937 [BZ #13550]
14938 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14939 Remove macro.
14940 (ENTER): Remove both macro definitions.
14941 (LEAVE): Likewise.
14942 (CHECK_BOUNDS_LOW): Likewise.
14943 (CHECK_BOUNDS_HIGH): Likewise.
14944 (CHECK_BOUNDS_BOTH): Likewise.
14945 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14946 (RETURN_BOUNDED_POINTER): Likewise.
14947 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14948 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14949 (POP_ERRNO_LOCATION_RETURN): Likewise.
14950 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14951 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14952 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14953 macros.
14954 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14955 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14956 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14957 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14958 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14959 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14960 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14961 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14962 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14963 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14964 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14965 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14966 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14967 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14968 removed macros.
14969 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14970 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14971 macros.
14972 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14973 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14974 * sysdeps/i386/i586/memset.S (memset): Likewise.
14975 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14976 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14977 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14978 macros.
14979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14980 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14981 Change uses of L(2) to L(out).
14982 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14983 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14984 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14985 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14986 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14987 removed macros.
14988 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14989 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14990 macros.
14991 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14992 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14993 (RETURN): Do not use macro LEAVE.
14994 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14995 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14996 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14997 * sysdeps/i386/i686/memset.S (memset): Likewise.
14998 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14999 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
15000 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15001 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
15002 Likewise.
15003 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15004 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
15005 L(1_2) and L(1_3) into L(1).
15006 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15007 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
15008 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15009 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
15010 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15011 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
15012 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
15013 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15014 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
15015 macros.
15016 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
15017 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15018 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
15019 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
15020 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
15021 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15022 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
15023 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
15024 * sysdeps/i386/strcspn.S (strcspn): Likewise.
15025 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
15026 * sysdeps/i386/strrchr.S (strrchr): Likewise.
15027 * sysdeps/i386/strspn.S (strspn): Likewise.
15028 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
15029 conditional code.
15030 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15031 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
15032 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15033 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
15034 L(1_3) into L(1_1).
15035 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
15036 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15037 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
15038 macros.
15039 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15040
2389741a
JJ
150412013-02-19 Jakub Jelinek <jakub@redhat.com>
15042
15043 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
15044 macro.
15045
2016b3cd
SP
150462013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15047
e4f22324
SP
15048 * math/atest-exp.c (exp_mpn): Remove ROUND.
15049 * math/atest-exp2.c (exp_mpn): Likewise.
15050 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
15051
2016b3cd
SP
15052 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
15053 * stdlib/tst-tls-atexit-lib.c: Likewise.
15054 * stdlib/tst-tls-atexit.c: Likewise.
15055
4be9b544
MF
150562013-02-18 Mike Frysinger <vapier@gentoo.org>
15057
15058 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
15059 and __attribute_alloc_size__.
15060
2f62b9ee
MF
150612013-02-18 Mike Frysinger <vapier@gentoo.org>
15062
15063 * include/programs/xmalloc.h: Change __attribute_alloc_size to
15064 __attribute_alloc_size__.
15065 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
15066 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
15067
6ff444c4
MF
150682013-02-18 Mike Frysinger <vapier@gentoo.org>
15069
15070 * include/programs/xmalloc.h: New file.
15071 * catgets/gencat.c: Include it.
15072 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
15073 * elf/pldd.c: Likewise.
15074 * iconv/iconv_charmap.c: Likewise.
15075 * iconv/iconvconfig.c: Likewise.
15076 * iconv/strtab.c: Likewise.
15077 * locale/programs/locale.c: Likewise.
15078 * locale/programs/localedef.h: Likewise.
15079 * locale/programs/simple-hash.c: Likewise.
15080 * nscd/nscd.h: Likewise.
15081 * nss/makedb.c: Likewise.
15082 * sysdeps/generic/ldconfig.h: Likewise.
15083
be179c8a
SP
150842013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15085
ba384f6e
SP
15086 * Versions.def: Add GLIBC_2.18.
15087 * include/link.h (struct link_map): New member l_tls_dtor_count.
15088 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
15089 (__call_tls_dtors): Likewise.
15090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
15091 __cxa_thread_atexit_impl.
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15093 Likewise.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15095 Likewise.
15096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15097 Likewise.
15098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15099 Likewise.
15100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
15102 Likewise.
15103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
15104 Likewise.
15105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15107 Likewise.
15108 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
15109 (tests): Add test case tst-tls-atexit.
15110 (modules-names): Add shared library for tst-tls-atexit.
85891aca 15111 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
15112 (GLIBC_PRIVATE): Add __call_tls_dtors.
15113 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
15114 for libstdc++.
15115 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
15116 * stdlib/tst-tls-atexit.c: New test case.
15117 * stdlib/tst-tls-atexit-lib.c: New test case.
15118
ffaa74cf 15119 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 15120
be179c8a
SP
15121 * elf/Versions (ld): Add _dl_find_dso_for_object.
15122 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
15123 * elf/dl-open.c (_dl_find_dso_for_object): New function.
15124 (dl_open_worker): Use _dl_find_dso_for_object.
15125 * elf/dl-sym.c (do_sym): Likewise.
15126 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
15127
f78b5caa
AK
151282013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15129
15130 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
15131 Syntactic changes only.
15132 (_dl_runtime_profile): Do a tail-call to the resolved function.
15133
29691210
JM
151342013-02-17 Joseph Myers <joseph@codesourcery.com>
15135
15136 [BZ #13550]
15137 * sysdeps/x86_64/bp-asm.h: Remove file.
15138 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15139 <bp-sym.h> and <bp-asm.h>.
15140 (__clone): Do not use BP_SYM.
15141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15142 <bp-sym.h> and <bp-asm.h>.
15143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15144 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15145 "bp-asm.h".
15146 (_setjmp): Do not use BP_SYM.
15147 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15148 "bp-asm.h".
15149 (setjmp): Do not use BP_SYM.
15150 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15151 libc_hidden_def.
15152 (mempcpy): Do not use BP_SYM in weak_alias.
15153 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15154 "bp-asm.h".
15155 (strchr): Do not use BP_SYM.
15156 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15157 "bp-asm.h".
15158 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15159 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15160 (_start): Do not use BP_SYM.
15161 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15162 "bp-asm.h".
15163 (strcat): Do not use BP_SYM.
15164 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15165 "bp-asm.h".
15166 (STRCMP): Do not use BP_SYM.
15167 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15168 "bp-asm.h".
15169 (STRCPY): Do not use BP_SYM.
15170 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15171 "bp-asm.h".
15172 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15173 "bp-asm.h".
15174 (FUNCTION): Do not use BP_SYM.
15175 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15176 weak_alias.
15177 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15178
f238fd19
AJ
151792013-02-17 Andreas Jaeger <aj@suse.de>
15180
15181 * time/Versions: Sort entries.
15182 * string/Versions: Likewise.
15183 * resolv/Versions: Likewise.
15184 * posix/Versions: Likewise.
15185 * iconv/Versions: Likewise.
15186 * elf/Versions: Likewise.
15187 * wcsmbs/Versions: Likewise.
15188
bd07f23c 151892013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 15190
22af19f9
SP
15191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15192 loop termination condition.
15193
4709fe76
SP
15194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15195 variable to calculate EZ.
15196 (__sqr): Likewise.
2d0e0f29
SP
15197
15198 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15199 the lower precision input.
15200
daaa7713
JM
152012013-02-15 Joseph Myers <joseph@codesourcery.com>
15202
15203 [BZ #13550]
15204 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15205 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15206 (run-via-rtld-prefix): Do not handle %-bp tests.
15207 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15208 (all-object-suffixes): Remove .ob.
15209 (bppfx): Remove variable.
15210 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15211 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15212 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15213 [$(build-bounded) = yes] (libtype.ob): Likewise.
15214 * Makerules (elide-routines.ob): Remove variable.
15215 (do-tests-clean): Do not handle *-bp.out.
15216 (common-mostlyclean): Do not handle *-bp and *-bp.out.
15217 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15218 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15219 (tests): Do not include $(tests-bp.out).
15220 (xtests): Do not include $(xtests-bp.out).
15221 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15222 [$(build-bounded) = yes] ($(addprefix
15223 $(objpfx),$(binaries-bounded))): Remove rule.
15224 ($(objpfx)%-bp.out): Remove rule.
15225 * config.make.in (build-bounded): Remove variable.
15226 * crypt/Makefile [$(build-bounded) = yes]
15227 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15228 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15229 append to variable.
15230 [$(build-bounded) = yes] (install-lib): Likewise.
15231 [$(build-bounded) = yes] (generated): Likewise.
15232 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15233 Remove rule.
15234 * intl/Makefile [$(build-bounded) = yes]
15235 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15236 * math/Makefile [$(build-bounded) = yes]
15237 ($(tests:%=$(objpfx)%-bp): Likewise.
15238 * misc/Makefile [$(build-bounded) = yes]
15239 ($(objpfx)tst-tsearch-bp): Likewise.
15240 * nptl/Makeconfig (bounded-thread-library): Remove variable.
15241 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15242 Remove dependency.
15243 * string/Makefile (o-objects.ob): Remove variable.
15244 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15245 (CFLAGS-.ob): Remove variable.
15246 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15247 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15248 both definitions of variable.
15249 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15250 (ASFLAGS-.ob): Remove variable.
15251
e97ed6dd
JM
152522013-02-14 Joseph Myers <joseph@codesourcery.com>
15253
2bdd4ca6
JM
15254 [BZ #13550]
15255 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15256 Remove __BOUNDED_POINTERS__ from condition.
15257 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15258 * string/bits/string2.h [!__NO_STRING_INLINES &&
15259 !__BOUNDED_POINTERS__]: Likewise.
15260 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15261 Likewise.
15262 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15263 Remove conditional code.
15264 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15265 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15266 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15267 condition.
15268
e97ed6dd
JM
15269 [BZ #13550]
15270 * csu/libc-start.c: Do not include <bp-sym.h>.
15271 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15272 * elf/dl-open.c: Do not include <bp-sym.h>.
15273 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15274 * math/fegetenv.c: Do not include <bp-sym.h>.
15275 (fegetenv): Do not use BP_SYM in versioned symbols.
15276 * nptl/sysdeps/pthread/bits/libc-lockP.h
15277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15278 <bp-sym.h>.
15279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15280 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15282 (__pthread_mutex_destroy): Likewise.
15283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15284 (__pthread_mutex_lock): Likewise.
15285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15286 (__pthread_mutex_trylock): Likewise.
15287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15288 (__pthread_mutex_unlock): Likewise.
15289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15290 (__pthread_mutexattr_init): Likewise.
15291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15292 (__pthread_mutexattr_destroy): Likewise.
15293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15294 (__pthread_mutexattr_settype): Likewise.
15295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15296 (__pthread_rwlock_init): Likewise.
15297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15298 (__pthread_rwlock_destroy): Likewise.
15299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15300 (__pthread_rwlock_rdlock): Likewise.
15301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15302 (__pthread_rwlock_tryrdlock): Likewise.
15303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15304 (__pthread_rwlock_wrlock): Likewise.
15305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15306 (__pthread_rwlock_trywrlock): Likewise.
15307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15308 (__pthread_rwlock_unlock): Likewise.
15309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15310 (__pthread_key_create): Likewise.
15311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15312 (__pthread_setspecific): Likewise.
15313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15314 (__pthread_getspecific): Likewise.
15315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15316 Likewise.
15317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15318 (_pthread_cleanup_push_defer): Likewise.
15319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15320 (_pthread_cleanup_pop_restore): Likewise.
15321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15322 (pthread_setcancelstate): Likewise.
15323 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15324 <bp-sym.h>.
15325 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15326 (memchr): Do not use BP_SYM in weak_alias.
15327 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15328 (fegetenv): Do not use BP_SYM in versioned symbols.
15329 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15330 (fesetenv): Do not use BP_SYM in versioned symbols.
15331 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15332 (feupdateenv): Do not use BP_SYM in versioned symbols.
15333 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15334 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15335 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15336 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15337 (open64): Do not use BP_SYM in weak_alias.
15338 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15339 (fegetenv): Do not use BP_SYM in versioned symbols.
15340 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15341 (fesetenv): Do not use BP_SYM in versioned symbols.
15342 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15343 (feupdateenv): Do not use BP_SYM in versioned symbols.
15344 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15345 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15346 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15347 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15348 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15349 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15350 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15351 <bp-sym.h>.
15352 (__libc_start_main): Do not use BP_SYM.
15353
d6752ccd
SP
153542013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15355
cb57ce60
SP
15356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15357 redundant return line.
15358 (norm): Likewise.
15359 (denorm): Likewise.
15360 (dbl_mp): Likewise.
15361 (sub_magnitudes): Likewise.
15362 (__add): Likewise.
15363 (__sub): Likewise.
15364 (__mul): Likewise.
15365 (__inv): Likewise.
15366 (__dvd): Likewise.
15367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15368 (norm): Likewise.
15369 (denorm): Likewise.
15370 (dbl_mp): Likewise.
15371 (sub_magnitudes): Likewise.
15372 (__add): Likewise.
15373 (__sub): Likewise.
15374 (__mul): Likewise.
15375 (__inv): Likewise.
15376 (__dvd): Likewise.
15377
f414520d
SP
15378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15379 instead of __mul.
15380 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15381 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15382 (cc32): Likewise.
15383
d6752ccd
SP
15384 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15385 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15387 of __mul for squares.
15388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15389 function
15390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15391 Likewise.
15392 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15393 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15394
70d9946a
JM
153952013-02-13 Joseph Myers <joseph@codesourcery.com>
15396
15397 [BZ #13550]
15398 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15399 code.
15400 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15401 prototype or function definition. Rename ubp_* variables and
15402 parameters. Remove argv definitions conditional on
15403 [__BOUNDED_POINTERS__].
15404 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15405 * elf/dl-runtime.c (_dl_fixup): Likewise.
15406 * include/set-hooks.h (RUN_HOOK): Likewise.
15407 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15408 definition.
15409 * string/strcpy.c (strcpy): Do not use __unbounded.
15410 * sysdeps/generic/frame.h (struct layout): Likewise.
15411 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15412 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15413 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15414 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15415 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15416 (__backtrace): Likewise.
15417 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15418 use __ptrvalue.
15419 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15420 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15421 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15422 Likewise.
15423 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15424 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15425 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15426 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15427 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15428 Do not use __unbounded.
15429 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15430 Rename __unboundedrlimits parameter to rlimits in prototype.
15431 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15432 Do not use __unbounded.
15433 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15434 not use __ptrvalue.
15435 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15436 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15437 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15438 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15439 __ptrvalue or __unbounded.
15440 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15441 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15442 use __unbounded.
15443 (__new_msgctl): Do not use __ptrvalue.
15444 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15445 __unbounded.
15446 (__libc_msgrcv): Do not use __ptrvalue.
15447 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15448 startup_info): Do not use __unbounded.
15449 (__libc_start_main): Likewise. Rename ubp_* variables and
15450 parameters. Remove argv definitions conditional on
15451 [__BOUNDED_POINTERS__].
15452 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15453 __ptrvalue.
15454 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15455 use __unbounded.
15456 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15457 or __ptrvalue.
15458 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15459 use __unbounded.
15460 (__new_shmctl): Do not use __ptrvalue.
15461 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15462 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15463 Likewise.
15464 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15465 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15466 (__libc_sigaction): Likewise.
15467 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15468 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15469 Likewise.
15470 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15471
cc7834d6
OB
154722013-02-13 Ondřej Bílka <neleai@seznam.cz>
15473
ffb1ec7b 15474 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
15475
15476 * string/mempcpy.c: Implement by calling memcpy.
15477
bdf02814
SP
154782013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15479
c2af38aa
SP
15480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15481
4e92d59e
SP
15482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15483 evaluation.
15484
909279a5
SP
15485 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15486 values in the mantissa.
15487
bdf02814
SP
15488 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15489 minimize writes to Z.
15490 (sub_magnitudes): Simplify code a bit.
15491
cd525923
RM
154922013-02-12 Roland McGrath <roland@hack.frob.com>
15493
15494 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15495 from the message. The linker prefixes all warnings with that already.
15496
7e2f0d2d
AS
154972013-02-12 Andreas Schwab <schwab@suse.de>
15498
a445af0b
AS
15499 [BZ #15078]
15500 * posix/regexec.c (extend_buffers): Add parameter min_len.
15501 (check_matching): Pass minimum needed length.
15502 (clean_state_log_if_needed): Likewise.
15503 (get_subexp): Likewise.
15504 * posix/Makefile (tests): Add bug-regex34.
15505 (bug-regex34-ENV): Define.
15506 * posix/bug-regex34.c: New file.
15507
7e2f0d2d
AS
15508 [BZ #11561]
15509 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15510 elements compare against the byte sequence of it, not its name.
15511 * posix/Makefile (tests): Add bug-regex35.
15512 (bug-regex35-ENV): Define.
15513 * posix/bug-regex35.c: New file.
15514
a175b684
TV
155152013-02-11 Tom de Vries <tom@codesourcery.com>
15516
15517 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15518 comment.
15519 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15520 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15521 (CHECK_EOL): Add undef.
15522
310998fe 155232013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
15524
15525 * bits/stdlib-bsearch.h: New file.
15526 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 15527 * stdlib/stdlib.h: Likewise.
41eda41d 15528
8ded91fb
RM
155292013-02-11 Roland McGrath <roland@hack.frob.com>
15530
15531 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15532 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15533 declaration.
15534 * manual/search.texi (Array Search Function): Add missing const in
15535 lfind prototype.
15536 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15537 declaration to use rlim_t.
15538 (Basic Scheduling Functions): Remove erroneous const from
15539 sched_getparam prototype. Remove erroneous * from
15540 sched_get_priority_max and sched_get_priority_min prototypes.
15541 (Resource Usage): Fix summary @comment on vtimes to refer to
15542 sys/vtimes.h rather than vtimes.h.
15543 Add missing *s in vtimes prototype.
15544 (Limits on Resources): Fix ulimit prototype to return long int.
15545 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15546 prototypes to use long int rather than double.
15547 (BSD Random): Fix initstate and setstate to use char *, not void *.
15548 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15549 prototype to make second argument 'struct aiocb64 *const[]'.
15550 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15551 (Status of AIO Operations): Remove erroneous const in aio_return and
15552 aio_return64 prototypes.
15553 (Synchronizing I/O): Fix sync prototype to return void.
15554 * manual/startup.texi (Suboptions): Remove an erroneous const in
15555 getsubopt prototype.
15556 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15557 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15558 use size_t rather than int.
15559 (Scanning All Users): Likewise for getpwent_r.
15560 (Setting Groups): Add missing const to setgroups prototype.
15561 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15562 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15563 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15564 'const void *' rather than 'const char *'.
15565 (Host Address Functions): Likewise for inet_ntop.
15566 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15567 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15568 ssize_t for return value.
15569 (Sending Data): Likewise for send, sendto, sendmsg.
15570 (Socket Option Functions): Add a missing const in setsockopt prototype.
15571 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15572 use wchar_t for the argument.
15573 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15574 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15575 take no arguments.
15576 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15577 double/float/long double for second argument.
15578 Fix return types of significand, significandf, significandl.
15579 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15580 argument in fchmod prototype.
15581 (File Owner): Use uid_t and gid_t in fchown prototype.
15582 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15583 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15584 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15585 use 'const struct dirent **' as argument types to CMP function pointer
15586 argument.
15587 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15588 (File Times): Fix summary magic @comment for struct utimbuf and utime
15589 to refer to utime.h, not time.h.
15590 * manual/string.texi (Argz Functions): Add missing const in
15591 argz_extract and argz_next prototypes.
15592 (Finding Tokens in a String): Likewise for basename.
15593 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15594 (Copying and Concatenation): Fix typo in wmemmove prototype.
15595 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15596 (Signal Stack): Remove erroneous const in sigstack prototype.
15597 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15598 prototype.
15599 (Simple Calendar Time): Likewise for stime.
15600 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15601 prototype.
15602 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15603 say sys/sysctl.h instead.
15604 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15605 and vsyslog prototypes.
15606
fe77fe6d
TV
156072013-02-11 Tom de Vries <tom@codesourcery.com>
15608
15609 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15610 Remove.
15611
3a09b620
RM
156122013-02-11 Roland McGrath <roland@hack.frob.com>
15613
15614 * misc/sys/mman.h: Fix typo in mremap comment.
15615
550a0b89
RM
156162013-02-08 Roland McGrath <roland@hack.frob.com>
15617
15618 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15619 the '\0' terminator.
15620
a2da1673
JM
156212013-02-08 Joseph Myers <joseph@codesourcery.com>
15622
15623 [BZ #13550]
15624 * debug/segfault.c: Don't include <bp-checks.h>.
15625 * sysdeps/generic/bp-checks.h: Remove file.
15626 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15627 (__GETDENTS): Don't use CHECK_N.
15628 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15629 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15630 (__getgroups): Don't use CHECK_N.
15631 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15632 (setgroups): Don't use CHECK_N.
15633 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15634 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15635 (__libc_msgrcv): Don't use CHECK_N.
15636 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15637 (__libc_msgsnd): Don't use CHECK_N.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15639 <bp-checks.h>.
15640 (__libc_pread): Don't use CHECK_N.
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15642 include <bp-checks.h>.
15643 (__libc_pread64): Don't use CHECK_N.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15645 include <bp-checks.h>.
15646 (__libc_pwrite): Don't use CHECK_N.
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15648 include <bp-checks.h>.
15649 (__libc_pwrite64): Don't use CHECK_N.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15651 <bp-checks.h>.
15652 (__libc_pread): Don't use CHECK_N.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15654 include <bp-checks.h>.
15655 (__libc_pread64): Don't use CHECK_N.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15657 include <bp-checks.h>.
15658 (__libc_pwrite): Don't use CHECK_N.
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15660 include <bp-checks.h>.
15661 (__libc_pwrite64): Don't use CHECK_N.
15662 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15663 (do_pread): Don't use CHECK_N.
15664 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15665 (do_pread64): Don't use CHECK_N.
15666 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15667 (do_pwrite): Don't use CHECK_N.
15668 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15669 (do_pwrite64): Don't use CHECK_N.
15670 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15671 (__libc_readv): Don't use CHECK_N.
15672 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15673 (semop): Don't use CHECK_N.
15674 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15675 <bp-checks.h>.
15676 (semtimedop): Don't use CHECK_N.
15677 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15678 (__libc_pread): Don't use CHECK_N.
15679 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15680 <bp-checks.h>.
15681 (__libc_pread64): Don't use CHECK_N.
15682 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15683 <bp-checks.h>.
15684 (__libc_pwrite): Don't use CHECK_N.
15685 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15686 <bp-checks.h>.
15687 (__libc_pwrite64): Don't use CHECK_N.
15688 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15689 <bp-checks.h>.
15690 (__libc_msgrcv): Don't use CHECK_N.
15691 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15692 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15693 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15694 (__libc_writev): Don't use CHECK_N.
15695
b84660a8
RM
156962013-02-08 Roland McGrath <roland@hack.frob.com>
15697
7f3e75f8
RM
15698 * string/strcpy.c: Removed unused variable.
15699
b84660a8
RM
15700 * Makeconfig (+sysdep-includes): Define with := rather than =.
15701 Use an existing include/ subdir of each sysdeps dir before it.
15702
471514d3
CD
157032013-02-08 Carlos O'Donell <carlos@redhat.com>
15704
15705 * nscd/connection.c (register_traced_file): Comment function.
15706 [HAVE_INOTIFY] (union __inev): Define.
15707 [HAVE_INOTIFY] (inotify_check_files): New function.
15708 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15709 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15710 clear_db_cache.
15711 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15712
b2d3c3be
CD
157132013-02-08 Carlos O'Donell <carlos@redhat.com>
15714
15715 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15716 loaded if not already and that a failure is permanent.
15717
b39949d2
CD
157182013-02-08 Carlos O'Donell <carlos@redhat.com>
15719
ddacd1db 15720 [BZ #15006]
b39949d2
CD
15721 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15722 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15723
b2c9eff4
JM
157242013-02-08 Joseph Myers <joseph@codesourcery.com>
15725
f3aae3f3
JM
15726 [BZ #13550]
15727 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15728 (CHECK_1_NULL_OK): Likewise.
15729 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15730 (__fxstat): Do not use CHECK_1.
15731 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15732 <bp-checks.h>.
15733 (___fxstat64): Do not use CHECK_1.
15734 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15735 <bp-checks.h>.
15736 (__fxstatat): Do not use CHECK_1.
15737 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15738 <bp-checks.h>.
15739 (__fxstatat64): Do not use CHECK_1.
15740 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15741 <bp-checks.h>.
15742 (__fxstat): Do not use CHECK_1.
15743 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15744 <bp-checks.h>.
15745 (__fxstatat): Do not use CHECK_1.
15746 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15747 <bp-checks.h>.
15748 (__getresgid): Do not use CHECK_1.
15749 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15750 <bp-checks.h>.
15751 (__getresuid): Do not use CHECK_1.
15752 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15753 <bp-checks.h>.
15754 (__lxstat): Do not use CHECK_1.
15755 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15756 <bp-checks.h>.
15757 (__old_msgctl): Do not use CHECK_1.
15758 (__new_msgctl): Likewise.
15759 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15760 <bp-checks.h>.
15761 (__new_setrlimit): Do not use CHECK_1.
15762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15763 <bp-checks.h>.
15764 (__old_shmctl): Do not use CHECK_1.
15765 (__new_shmctl): Likewise.
15766 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15767 <bp-checks.h>.
15768 (__xstat): Do not use CHECK_1.
15769 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15770 (__lxstat): Do not use CHECK_1.
15771 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15772 <bp-checks.h>.
15773 (___lxstat64): Do not use CHECK_1.
15774 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15775 (__old_msgctl): Do not use CHECK_1.
15776 (__new_msgctl): Likewise.
15777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15778 <bp-checks.h>.
15779 (__gettimeofday): Do not use CHECK_1.
15780 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15781 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15782 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15783 <bp-checks.h>.
15784 (__gettimeofday): Do not use CHECK_1.
15785 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15786 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15787 (__new_shmctl): Do not use CHECK_1.
15788 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15789 <bp-checks.h>.
15790 (do_sigtimedwait): Do not use CHECK_1.
15791 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15792 <bp-checks.h>.
15793 (do_sigwaitinfo): Do not use CHECK_1.
15794 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15795 <bp-checks.h>.
15796 (msgctl): Do not use CHECK_1.
15797 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15798 <bp-checks.h>.
15799 (shmctl): Do not use CHECK_1.
15800 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15801 (ustat): Do not use CHECK_1.
15802 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15803 <bp-checks.h>.
15804 (__fxstat): Do not use CHECK_1.
15805 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15806 <bp-checks.h>.
15807 (__fxstatat): Do not use CHECK_1.
15808 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15809 <bp-checks.h>.
15810 (__lxstat): Do not use CHECK_1.
15811 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15812 <bp-checks.h>.
15813 (__xstat): Do not use CHECK_1.
15814 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15815 (__xstat): Do not use CHECK_1.
15816 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15817 (___xstat64): Do not use CHECK_1.
15818
b2c9eff4
JM
15819 [BZ #13550]
15820 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15821 definitions.
15822 (CHECK_BOUNDS_HIGH): Likewise.
15823 * string/strcpy.c: Do not include <bp-checks.h>.
15824 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15825
f1d70dad
RM
158262013-02-07 Roland McGrath <roland@hack.frob.com>
15827
15828 * nscd/nscd-client.h (__nscd_drop_map_ref):
15829 Add __attribute__ ((unused)).
15830 * nis/nss-nisplus.h (niserr2nss): Likewise.
15831
15832 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15833 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15834
15835 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15836 Remove inline keyword.
15837 * include/rounding-mode.h (round_away): Likewise.
15838 * libio/wfileops.c (adjust_wide_data): Likewise.
15839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15840 (__m128i_strloadu_tolower): Likewise.
15841 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15842 (__m128i_strloadu_tolower): Likewise.
15843 * time/mktime.c (ydhms_diff): Likewise.
15844 * locale/elem-hash.h (elem_hash): Likewise.
15845 * locale/setlocale.c (setdata): Likewise.
15846 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15847 (re_string_wchar_at): Likewise.
15848 (bitset_not, bitset_merge, bitset_mask): Likewise.
15849 [!(__GNUC__ > 3)] (inline): Remove macro.
15850 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15851 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15852 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15853 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15854 * string/memcmp.c (memcmp_bytes): Likewise.
15855 * locale/programs/locarchive.c (compute_hashval): Likewise.
15856 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15857 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15858 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15859 * nss/getent.c (print_rpc, print_protocols): Likewise.
15860 (print_passwd, print_group, print_aliases): Likewise.
15861 * nis/nss-nisplus.h (niserr2nss): Likewise.
15862 * nscd/connections.c (restart_p): Likewise.
15863 Change return type to bool.
15864
eab55bfb
RM
158652013-02-05 Roland McGrath <roland@hack.frob.com>
15866
7bd642f5
RM
15867 * Makeconfig (all-Depend-files): Add existing
15868 $(sorted-subdirs:=/Depend) files.
15869 (all-subdirs): Remove nss.
15870 * sysdeps/unix/inet/Subdirs: Add it here instead.
15871 * hesiod/Depend: New file.
15872
573c29b2
RM
15873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15874 instead of calling alloca.
15875
b2e25af0
RM
15876 * io/lseek.c (__lseek): Rename to __libc_lseek.
15877 Define __lseek as an alias.
15878
eab55bfb
RM
15879 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15880
9a0d1941
CD
158812013-02-04 Carlos O'Donell <carlos@redhat.com>
15882
15883 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15884 else clause and remove check for non-standard endianness.
15885
b83bbec4
DM
158862013-02-04 David S. Miller <davem@davemloft.net>
15887
15888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15889
6277fdab
JM
158902013-02-04 Joseph Myers <joseph@codesourcery.com>
15891
15892 [BZ #13550]
15893 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15894 (__ubp_memchr): Remove prototype.
15895 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15896 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15897 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15898 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15899 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15900 Remove alias.
15901 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15902 (__ubp_memchr): Likewise.
15903 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15904 (__ubp_memchr): Likewise.
15905 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15906 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15907 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15908 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15909 CHECK_STRING.
15910 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15911 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15912 (__getcwd): Do not use CHECK_STRING.
15913 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15914 <bp-checks.h>.
15915 (__real_chown): Do not use CHECK_STRING.
15916 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15917 <bp-checks.h>.
15918 (fchownat): Do not use CHECK_STRING.
15919 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15920 CHECK_STRING.
15921 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15922 <bp-checks.h>.
15923 (__lchown): Do not use CHECK_STRING.
15924 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15925 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15926 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15927 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15929 include <bp-checks.h>.
15930 (truncate64): Do not use CHECK_STRING.
15931 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15932 <bp-checks.h>.
15933 (__real_chown): Do not use CHECK_STRING.
15934 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15935 <bp-checks.h>.
15936 (__lchown): Do not use CHECK_STRING.
15937 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15938 <bp-checks.h>.
15939 (__chown): Do not use CHECK_STRING.
15940 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15941 <bp-checks.h>.
15942 (truncate64): Do not use CHECK_STRING.
15943 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15944 Likewise.
15945 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15946 (__xmknod): Do not use CHECK_STRING.
15947 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15948 <bp-checks.h>.
15949 (__xmknodat): Do not use CHECK_STRING.
15950 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15951 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15952
903ae060
AS
159532013-02-04 Andreas Schwab <schwab@suse.de>
15954
15955 [BZ #14142]
15956 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15957 * include/netdb.h: Likewise for h_errno.
15958 * elf/tst-stackguard1.c: Include <tls.h>.
15959
542f9466
JK
159602013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15961
15962 * elf/link.h (struct link_map): Extend the l_addr comment.
15963 * include/link.h (struct link_map): Likewise.
15964
e782a927
JM
159652013-02-01 Joseph Myers <joseph@codesourcery.com>
15966
15967 [BZ #13550]
15968 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15969 (BOUNDED_1): Remove macro.
15970 * debug/backtrace.c: Don't include <bp-checks.h>.
15971 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15972 (__backtrace): Likewise.
15973 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15974 <bp-checks.h>.
15975 (__backtrace): Don't use BOUNDED_1.
15976 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15977 <bp-checks.h>.
15978 (__backtrace): Don't use BOUNDED_1.
15979 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15980 (__backtrace): Don't use BOUNDED_1.
15981 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15982 (shmat): Don't use BOUNDED_N.
15983
8cf28c5e
JM
159842013-01-31 Joseph Myers <joseph@codesourcery.com>
15985
3a7ac8a0
JM
15986 [BZ #13550]
15987 * sysdeps/generic/bp-start.h: Remove file.
15988 * csu/libc-start.c: Don't include <bp-start.h>.
15989 (LIBC_START_MAIN): Set up __environ directly instead of using
15990 INIT_ARGV_and_ENVIRON.
15991 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15992 <bp-start.h>.
15993
f3499f95
JM
15994 [BZ #13550]
15995 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15996 definitions.
15997 (CHECK_FCNTL): Likewise.
15998 (CHECK_N_PAGES): Likewise.
15999
32a45bea
JM
16000 [BZ #13550]
16001 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
16002 definitions.
16003 (CHECK_SIGSET_NULL_OK): Likewise.
16004 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
16005 <bp-checks.h>.
16006 (sigpending): Don't use CHECK_SIGSET.
16007 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
16008 <bp-checks.h>.
16009 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16010 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
16011 <bp-checks.h>.
16012 (do_sigsuspend): Don't use CHECK_SIGSET.
16013 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
16014 use CHECK_SIGSET.
16015 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
16016 (do_sigwait): Don't use CHECK_SIGSET.
16017 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
16018 use CHECK_SIGSET.
16019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
16020 include <bp-checks.h>.
16021 (sigpending): Don't use CHECK_SIGSET.
16022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
16023 include <bp-checks.h>.
16024 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16025 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
16026 <bp-checks.h>.
16027 (sigpending): Don't use CHECK_SIGSET.
16028 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
16029 <bp-checks.h>.
16030 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16031
2e8a5c8c
JM
16032 [BZ #13550]
16033 * sysdeps/generic/bp-semctl.h: Remove file.
16034 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
16035 <bp-checks.h> and <bp-semctl.h>.
16036 (__old_semctl): Don't use CHECK_SEMCTL.
16037 (__new_semctl): Likewise.
16038 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
16039 and <bp-semctl.h>.
16040 (__old_semctl): Don't use CHECK_SEMCTL.
16041 (__new_semctl): Likewise.
16042 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
16043 <bp-checks.h> and <bp-semctl.h>.
16044 (__old_semctl): Don't use CHECK_SEMCTL.
16045 (__new_semctl): Likewise.
16046 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
16047 <bp-checks.h> and <bp-semctl.h>.
16048 (semctl): Don't use CHECK_SEMCTL.
16049
c2d54929
JM
16050 [BZ #13550]
16051 * Makerules (elide-bp-thunks): Remove variable.
16052 (elide-routines.oS): Don't use $(elide-bp-thunks).
16053 (elide-routines.os): Likewise.
16054 (elide-routines.o): Likewise.
16055 (elide-routines.op): Likewise.
16056 (elide-routines.og): Likewise.
16057 (objects): Don't use $(bp-thunks).
16058 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
16059 include.
16060 (common-generated): Do not add s-proto-bp.d.
16061 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
16062 (int): Likewise.
16063 (typ): Likewise.
16064 Do not generate makefile rules for bounded-pointer thunks.
16065 * sysdeps/generic/bp-thunks.h: Remove file.
16066 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
16067 * sysdeps/unix/s-proto-bp.S: Likewise.
16068
8cf28c5e
JM
16069 [BZ #15062]
16070 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
16071 parts of result separately when argument is not close to line from
16072 -i to i and one part of argument is small.
16073 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16074 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16075 * math/libm-test.inc (cacos_test): Add more tests.
16076 (casin_test): Likewise.
16077 (casinh_test): Likewise.
16078 * sysdeps/i386/fpu/libm-test-ulps: Update.
16079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16080
c4e33b8d
DM
160812013-01-31 David S. Miller <davem@davemloft.net>
16082
16083 * po/de.po: Update from translation team.
16084
3b60b421
MK
160852013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
16086
16087 * time/tzfile.c: Include stdint.h for SIZE_MAX.
16088
bb931195
TS
160892013-01-25 Thomas Schwinge <thomas@codesourcery.com>
16090
b5a5da23
TS
16091 * configure.in (_AC_PROG_CC_C89): New definition.
16092 * configure: Regenerate.
16093
bb931195
TS
16094 * configure.in (AC_PROG_CPP): New definition.
16095 * configure: Regenerate.
16096
8c53a12c
JM
160972013-01-23 Joseph Myers <joseph@codesourcery.com>
16098
16099 * debug/tst-backtrace.h: New file.
16100 * debug/tst-backtrace2.c: Include tst-backtrace.h.
16101 (ret): Remove variable.
16102 (x): Likewise.
16103 (FAIL): Remove macro.
16104 (NO_INLINE): Likewise.
16105 (fn1): Use match function instead of strstr.
16106 * debug/tst-backtrace3.c: Include tst-backtrace.h.
16107 (ret): Remove variable.
16108 (x): Likewise.
16109 (FAIL): Remove macro.
16110 (NO_INLINE): Likewise.
16111 (fn): Use match function instead of strstr.
16112 * debug/tst-backtrace4.c: Include tst-backtrace.h.
16113 (ret): Remove variable.
16114 (x): Likewise.
16115 (FAIL): Remove macro.
16116 (NO_INLINE): Likewise.
16117 (handle_signal): Use match function instead of strstr.
16118 * debug/tst-backtrace5.c: Include tst-backtrace.h.
16119 (ret): Remove variable.
16120 (x): Likewise.
16121 (FAIL): Remove macro.
16122 (NO_INLINE): Likewise.
16123 (handle_signal): Use match function instead of strstr.
16124
4858fa2a
RM
161252013-01-23 Roland McGrath <roland@hack.frob.com>
16126
16127 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
16128
bae8e7f5
DM
161292013-01-23 David S. Miller <davem@davemloft.net>
16130
16131 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
16132 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
16133 argument of CAS if possible.
16134 * sysdeps/sparc/sparc64/bits/atomic.h
16135 (__arch_compare_and_exchange_val_32_acq): Likewise.
16136 (__arch_compare_and_exchange_val_64_acq): Likewise.
16137
9cbbc4ae
PT
161382013-01-23 Pino Toscano <toscano.pino@tiscali.it>
16139
16140 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16141 * sysdeps/posix/ulimit.c: ... this.
92a601b8 16142 Include <limits.h>.
67b3f58c 16143 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 16144
5655a0b5
AC
161452013-01-23 Adam Conrad <adconrad@0c3.net>
16146
16147 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16148 (LDFLAGS-tst-array5): Likewise.
16149
052aff95
JM
161502013-01-23 Joseph Myers <joseph@codesourcery.com>
16151
16152 [BZ #15036]
16153 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16154 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16155 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16156 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16157
7c1e01aa
DM
161582013-01-21 David S. Miller <davem@davemloft.net>
16159
16160 * sysdeps/sparc/backtrace.c: New file.
16161 * sysdeps/sparc/sparc32/backtrace.h: New file.
16162 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16163 * sysdeps/sparc/sparc64/backtrace.h: New file.
16164 * sysdeps/sparc/sparc64/backtrace.c: Delete.
16165 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16166 -funwind-tables.
16167
ab087e0a
AS
161682013-01-21 Andreas Schwab <schwab@suse.de>
16169
16170 [BZ #15020]
16171 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16172 closed its stdout.
16173
ed689c2f
AS
161742013-01-20 Andreas Schwab <schwab@linux-m68k.org>
16175
16176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16177 "mpa2.h".
16178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16179
31d470ac
JM
161802013-01-18 Joseph Myers <joseph@codesourcery.com>
16181 Mark Mitchell <mark@codesourcery.com>
16182 Tom de Vries <tom@codesourcery.com>
16183 Paul Pluzhnikov <ppluzhnikov@google.com>
16184
16185 * debug/tst-backtrace2.c: New file.
16186 * debug/tst-backtrace3.c: Likewise.
16187 * debug/tst-backtrace4.c: Likewise.
16188 * debug/tst-backtrace5.c: Likewise.
16189 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16190 (CFLAGS-tst-backtrace3.c): Likewise.
16191 (CFLAGS-tst-backtrace4.c): Likewise.
16192 (CFLAGS-tst-backtrace5.c): Likewise.
16193 (LDFLAGS-tst-backtrace2): Likewise.
16194 (LDFLAGS-tst-backtrace3): Likewise.
16195 (LDFLAGS-tst-backtrace4): Likewise.
16196 (LDFLAGS-tst-backtrace5): Likewise.
16197 (tests): Add new tests tst-backtrace2, tst-backtrace3,
16198 tst-backtrace4 and tst-backtrace5.
16199
90567f30 162002013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
16201 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16202
16203 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16204 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16205 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16206 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16208 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16209 "+r" and remove output regs list as redundant. Add explicit inline
16210 asm to specify register of return val to work around compiler codegen
16211 bug. Remove (int) cast on return value. Add return type parameter to
16212 use in macro so that this macro does not truncate return value for
16213 64-bit values.
16214 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16215 pass to INTERNAL_VSYSCALL_NCS.
16216 (INLINE_VSYSCALL): Add 'long int' as return type to
16217 INTERNAL_VSYSCALL_NCS macro invocation.
16218 (INTERNAL_VSYSCALL): Add 'long int' as return type to
16219 INTERNAL_VSYSCALL_NCS macro invocation.
16220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16221
d3b9ea61
SP
162222013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16223
0b57daeb
SP
16224 [BZ #14496]
16225 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16226 Fix application of SIMD FP exception mask.
16227
caa99d06
SP
16228 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16229 mp_no from a power of two.
16230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16231 __mpexp_twomm1. Use __pow_mp.
16232
d3b9ea61
SP
16233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16234 multiplication.
16235
1dbaee3c
DM
162362013-01-17 David S. Miller <davem@davemloft.net>
16237
16238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16239
728d7b43
JM
162402013-01-17 Joseph Myers <joseph@codesourcery.com>
16241
16242 [BZ #15023]
16243 * include/complex.h: Condition contents on [!_COMPLEX_H].
16244 (__kernel_casinhf): New prototype.
16245 (__kernel_casinh): Likewise.
16246 (__kernel_casinhl): Likewise.
16247 * math/Makefile (libm_calls): Add k_casinh.
16248 * math/k_casinh.c: New file.
16249 * math/k_casinhf.c: Likewise.
16250 * math/k_casinhl.c: Likewise.
16251 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16252 finite nonzero arguments.
16253 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16254 finite nonzero arguments.
16255 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16256 finite nonzero arguments.
16257 * math/s_casinh.c: Do not include <float.h>.
16258 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16259 * math/s_casinhf.c: Do not include <float.h>.
16260 (__casinhf): Move code for finite nonzero arguments to
16261 k_casinhf.c.
16262 * math/s_casinhl.c: Do not include <float.h>.
16263 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16264 redefine.
16265 (__casinhl): Move code for finite nonzero arguments to
16266 k_casinhl.c.
16267 * math/libm-test.inc (cacos_test): Add more tests.
16268 * sysdeps/i386/fpu/libm-test-ulps: Update.
16269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16270
2a26ef3a
PT
162712013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16272
16273 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16274 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16275 [!HAVE_MREMAP]: Remove [defined linux] case.
16276 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16277
a897655d
SP
162782013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16279
16280 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16281
881ebe89 162822013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
16283
16284 * elf/elf.h (R_386_SIZE32): New relocation.
16285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16286 R_386_SIZE32.
16287 (elf_machine_rela): Likewise.
16288 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16289 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16290
59981e9b
JM
162912013-01-17 Joseph Myers <joseph@codesourcery.com>
16292
16293 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16294 (FP_FAST_FMA): Do not define.
16295 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16296 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16297 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16298 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16299 !_SOFT_FLOAT]: Likewise.
16300 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16301 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16302 value.
16303 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16304 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16307 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16308 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16309 file.
16310
cfa8054f
AS
163112013-01-16 Andreas Schwab <schwab@suse.de>
16312
16313 [BZ #14327]
16314 * include/stdlib.h (__mktemp): Add declaration.
16315 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16316 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16317
dd930cc5
SP
163182013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16319
881ebe89
SP
16320 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16321 definitions.
16322 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16323 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16324 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16325 definitions here.
16326 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16327 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16328 definitions.
16329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16330 and ONE.
16331 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16332 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16333 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16334 definitions.
16335 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16336 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16337 definitions.
16338 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 16339
dd930cc5
SP
16340 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16341
c19a9f89
DM
163422013-01-15 David S. Miller <davem@davemloft.net>
16343
1aa61767
DM
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16345 trunc{,f} to libm-sysdep_routes.
16346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16348 file.
16349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16351 file.
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16353 file.
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16357 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16358 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16359 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16360 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16361 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16362
c42d5e98
DM
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16364 nearbyint{,f} to libm-sysdep_routes.
16365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16367 New file.
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16369 file.
16370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16371 New file.
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16373 file.
16374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16376 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16377 file.
16378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16380 file.
16381 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16382 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16383 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16384
c19a9f89
DM
16385 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16386 libc_feholdexcept and libc_fesetenv.
16387
357679d2
MF
163882013-01-15 Mike Frysinger <vapier@gentoo.org>
16389
16390 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16391
65a82e3d
DM
163922013-01-14 David S. Miller <davem@davemloft.net>
16393
8b954ab9
DM
16394 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16395 (SPARC_ASM_VIS2_IFUNC): Likewise.
16396 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16398 use of 'siam' instruction.
16399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16400 Likewise.
16401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16402 Likewise.
16403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16404 Likewise.
16405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16410 file.
16411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16412 file.
16413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16414 file.
16415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16416 file.
16417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16422 new VIS2 routines.
16423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16426 Likewise.
16427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16432 routines to libm-sysdep_routines.
16433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16434
65a82e3d
DM
16435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16436 fdim/fdimf to libm-sysdep_routines.
16437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16438 file.
16439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16441 file.
16442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16445 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16446 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16447 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16448 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16449
e34ab705
SP
164502013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16451
2a91b573
SP
16452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16453 to optimize copies.
16454
1066a534
SP
16455 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16458
e34ab705
SP
16459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16460 local variable MPTWO.
16461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16462 Likewise.
16463
aba5e596
MF
164642013-01-13 Mike Frysinger <vapier@gentoo.org>
16465
16466 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16467 GLOB_NOESCAPE.
16468
e557e9e5
MF
164692013-01-13 Mike Frysinger <vapier@gentoo.org>
16470
16471 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16472
0428cec9
MF
164732013-01-13 Mike Frysinger <vapier@gentoo.org>
16474
16475 * manual/pattern.texi (glob_t): Document gl_flags.
16476 (glob64_t): Likewise.
16477
8794a964
DM
164782013-01-11 David S. Miller <davem@davemloft.net>
16479
66438c3f
RM
16480 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16481 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16482 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
16483 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16484 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16485 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16486 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16487 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16488 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16489 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16490 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16491 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16492 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16493
4ae4244d
DM
16494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16495 sparc V9 rather than using V8 code.
16496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16498
8794a964
DM
16499 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16500 Move to...
16501 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16502 Here.
16503
6270516e
RM
165042013-01-11 Roland McGrath <roland@hack.frob.com>
16505
16506 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16507 not in the main loop.
16508 * configure: Regenerated.
16509
6a57d931
JM
165102013-01-11 Joseph Myers <joseph@codesourcery.com>
16511
16512 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16513 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16514 to just #else.
16515 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16516 [!__GLIBC_HAVE_LONG_LONG] case.
16517 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16518 condition to just #else.
16519 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16520 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16521 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16522 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16523 unconditional.
16524 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16525 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16526 #elif condition to just #else.
16527 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16528 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16529 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16530 #elif condition to just #else.
16531
0e8529e9
SE
165322013-01-11 Steve Ellcey <sellcey@mips.com>
16533
16534 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16535 (EF_MIPS_ARCH_64): Fix value.
16536 (EF_MIPS_ARCH_32R2): New.
16537 (EF_MIPS_ARCH_64R2): New.
16538
740b3dbe
L
165392013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16540
16541 * Makeconfig (+link-pie-before-libc): New.
16542 (+link-pie-after-libc): Likewise.
16543 (+link-pie-tests): Likewise.
16544 (+link-pie): Rewritten.
16545 (link-before-libc): Remove $(config-LDFLAGS).
16546 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16547 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16548 (config-LDFLAGS): Renamed to ...
16549 (rtld-LDFLAGS): This.
16550 (rtld-tests-LDFLAGS): New macro.
16551 (link-libc-rpath-link): Likewise.
16552 (link-libc-tests-rpath-link): Likewise.
16553 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16554 (link-libc): Prepand $(link-libc-rpath-link).
16555 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16556 (test-program-prefix): New macro.
16557 (test-via-rtld-prefix): Likewise.
16558 (test-program-cmd): Likewise.
16559 (host-test-program-cmd): Likewise.
16560 * Makefile ($(common-objpfx)testrun.sh): Replace
16561 $(run-program-prefix) with $(test-program-prefix).
16562 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16563 $(rtld-LDFLAGS).
16564 ($(common-objpfx)shlib.lds): Likewise.
16565 (build-module-helper): Likewise.
16566 ($(common-objpfx)format.lds): Likewise.
16567 * Rules (binaries-pie-tests): New.
16568 (binaries-pie-notests): Likewise.
16569 (binaries-pie): Rewritten.
16570 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16571 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16572 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16573 (make-test-out): Replace $(host-built-program-cmd) with
16574 $(host-test-program-cmd).
16575 * config.make.in (build-hardcoded-path-in-tests): New variable.
16576 * configure.in (--enable-hardcoded-path-in-tests): New configure
16577 option.
16578 (hardcoded_path_in_tests): New AC_SUBST.
16579 * configure: Regenerated.
16580 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16581 $(built-program-cmd) with $(test-program-cmd).
16582 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16583 (test_program_cmd): This.
16584 * elf/Makefile ($(objpfx)order.out): Run test with
16585 $(test-program-prefix).
16586 ($(objpfx)order2.out): Likewise.
16587 ($(objpfx)tst-initorder.out): Likewise.
16588 ($(objpfx)tst-initorder2.out): Likewise.
16589 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16590 $(test-program-cmd).
16591 ($(objpfx)tst-array1-static.out): Likewise.
16592 ($(objpfx)tst-array2.out): Likewise.
16593 ($(objpfx)tst-array3.out): Likewise.
16594 ($(objpfx)tst-array4.out): Likewise.
16595 ($(objpfx)tst-array5.out): Likewise.
16596 ($(objpfx)tst-array5-static.out): Likewise.
16597 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16598 $(test-program-cmd).
16599 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16600 $(run-program-prefix) with $(test-program-prefix).
16601 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16602 (test_program_prefix): This.
16603 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16604 $(run-program-prefix) with $(test-program-prefix).
16605 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16606 (test_program_prefix): This.
16607 * iconvdata/tst-tables.sh: Likewise.
16608 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16609 $(run-program-prefix) with $(test-program-prefix).
16610 ($(objpfx)tst-translit.out): Likewise.
16611 ($(objpfx)tst-gettext2.out): Likewise.
16612 ($(objpfx)tst-gettext4.out): Likewise.
16613 ($(objpfx)tst-gettext6.out): Likewise.
16614 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16615 (test_program_prefix): This.
16616 * intl/tst-gettext2.sh: Likewise.
16617 * intl/tst-gettext4.sh Likewise.
16618 * intl/tst-gettext6.sh: Likewise.
16619 * intl/tst-translit.sh: Likewise.
16620 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16621 with $(test-program-cmd).
16622 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16623 $(run-program-prefix) with $(test-program-prefix).
16624 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16625 (test_program_prefix): This.
16626 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16627 $(run-program-prefix) with $(test-program-prefix).
16628 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16629 (test_program_prefix): This.
16630 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16631 * posix/Makefile ($(objpfx)globtest.out): Replace
16632 $(run-via-rtld-prefix) and $(test-wrapper) with
16633 $(test-program-prefix) and $(test-via-rtld-prefix).
16634 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16635 $(test-program-prefix).
16636 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16637 $(host-test-program-cmd).
16638 (tst-spawn-ARGS): Likewise.
16639 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16640 $(test-program-prefix).
16641 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16642 (test_via_rtld_prefix): This.
16643 (test_wrapper): Renamed to ...
16644 (test_program_prefix): This.
16645 (run_program_prefix): Replaced by test_program_prefix.
16646 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16647 (test_program_prefix): This.
16648 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16649 with $(host-test-program-cmd).
16650 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16651 $(run-program-prefix) with $(test-program-prefix).
16652 ($(objpfx)tst-printf.out): Likewise.
16653 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16654 $(test-program-cmd).
16655 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16656 (test_program_prefix): This.
16657 * stdio-common/tst-unbputc.sh: Likewise.
16658 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16659 $(run-program-prefix) with $(test-program-prefix).
16660 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16661 (test_program_prefix): This.
16662 * string/Makefile ($(objpfx)tst-svc.out): Replace
16663 $(built-program-cmd) with $(test-program-cmd).
16664
c6fe55cf
AJ
166652013-01-11 Andreas Jaeger <aj@suse.de>
16666
16667 [BZ #15003]
16668 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16669 value. Sync with Linux 3.7.
16670
9e6919c8
DM
166712013-01-10 David S. Miller <davem@davemloft.net>
16672
16673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16676
1c9f1a02
RM
166772013-01-10 Roland McGrath <roland@hack.frob.com>
16678
16679 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16680 never set.
16681 * configure: Regenerated.
16682
b9de2dde
DM
166832013-01-10 David S. Miller <davem@davemloft.net>
16684
16685 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16686 sparc V9 rather than using V8 code.
16687 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16688 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16689
e7f68ef4
RM
166902013-01-10 Roland McGrath <roland@hack.frob.com>
16691
16692 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16693 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16694 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16695 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16696 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16697 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16698 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16699 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16700 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16701 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16702 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16703 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16704 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16705 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16706 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16707 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16708 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16709 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16710 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16711 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16712 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16713 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16714 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16715 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16716 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16717 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16718 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16719
5a47cc9c
DM
167202013-01-10 David S. Miller <davem@davemloft.net>
16721
16722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16723
4cf8f209
L
167242013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16725
16726 * posix/Makefile (tests-static): New variable.
16727 (tests): Add $(tests-static).
16728 (tst-exec-static-ARGS): New variable.
16729 (tst-spawn-static-ARGS): Likewise.
16730 * posix/tst-exec-static.c: New file.
16731 * posix/tst-spawn-static.c: Likewise.
16732 * posix/tst-exec.c: Support run directly.
16733 * posix/tst-spawn.c: Likewise.
16734
fed0faa1
JM
167352013-01-10 Joseph Myers <joseph@codesourcery.com>
16736
828beb13
JM
16737 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16738 long.
16739 * math/bits/mathcalls.h (llrint): Likewise.
16740 (llround): Likewise.
16741 * stdlib/stdlib.h (struct drand48_data): Likewise.
16742 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16743 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16744 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16745 Likewise.
16746 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16747 Likewise.
16748 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16749 (elf_greg_t): Likewise.
16750 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16751 (__jmp_buf): Likewise.
16752 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16753 definitions.
16754 (llrint): Likewise, for all definitions.
16755 (llrintl): Likewise.
16756
fed0faa1
JM
16757 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16758 Remove [__GNUC__] condition.
16759 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16760 condition to just [__USE_ISOC99].
16761 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16762
1a20cb20
L
167632013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16764
16765 [BZ #14200]
16766 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16767 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16768 defined.
16769 (_POSIX_V6_ILP32_OFF32): Likewise.
16770 (_XBS5_ILP32_OFF32): Likewise.
16771 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16772 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16773
751b85f7
SP
167742013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16775
7490eb81
SP
16776 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16777
751b85f7
SP
16778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16779 doubles __mpexp_twomm1. Adjust usage.
16780 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16781 Remove.
16782
988197f0
AS
167832013-01-10 Andreas Schwab <schwab@suse.de>
16784
16785 [BZ #14964]
16786 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16787 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16788
e83d7298
DM
167892013-01-09 David S. Miller <davem@davemloft.net>
16790
034ed64b 16791 [BZ #15003]
e83d7298
DM
16792 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16793 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16794 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16795 TCP_FASTOPEN): Define.
16796 (tcp_repair_opt): New structure.
16797 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16798 enum values.
16799 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16800 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16801 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16802 (tcp_cookie_transactions): New structure.
16803
d5e0b9bd
AB
168042013-01-09 Anton Blanchard <anton@samba.org>
16805
16806 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16807 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16810
0c07e3ea
JM
168112013-01-09 Joseph Myers <joseph@codesourcery.com>
16812
16813 * include/features.h (__USE_ANSI): Remove.
16814
232f7002
RM
168152013-01-09 Roland McGrath <roland@hack.frob.com>
16816
ad98e30c
RM
16817 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16818
232f7002
RM
16819 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16820
950c99ca
SP
168212013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16822
b5792741
SP
16823 * sysdeps/s390/fpu/libm-test-ulps: Update.
16824
47cf2278
SP
16825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16826
950c99ca
SP
16827 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16828 (__acr): Likewise.
16829 (__cpy): Likewise.
16830 (norm): Likewise.
16831 (denorm): Likewise.
16832 (__mp_dbl): Likewise.
16833 (__dbl_mp): Likewise.
16834 (add_magnitudes): Likewise.
16835 (sub_magnitudes): Likewise.
16836 (__add): Likewise.
16837 (__sub): Likewise.
16838 (__mul): Likewise.
16839 (__inv): Likewise.
16840 (__dvd): Likewise.
16841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16842 (__acr): Likewise.
16843 (__cpy): Likewise.
16844 (norm): Likewise.
16845 (denorm): Likewise.
16846 (__mp_dbl): Likewise.
16847 (__dbl_mp): Likewise.
16848 (add_magnitudes): Likewise.
16849 (sub_magnitudes): Likewise.
16850 (__add): Likewise.
16851 (__sub): Likewise.
16852 (__mul): Likewise.
16853 (__inv): Likewise.
16854 (__dvd): Likewise.
16855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16856 (__acr): Likewise.
16857 (__cpy): Likewise.
16858 (norm): Likewise.
16859 (denorm): Likewise.
16860 (__mp_dbl): Likewise.
16861 (__dbl_mp): Likewise.
16862 (add_magnitudes): Likewise.
16863 (sub_magnitudes): Likewise.
16864 (__add): Likewise.
16865 (__sub): Likewise.
16866 (__mul): Likewise.
16867 (__inv): Likewise.
16868 (__dvd): Likewise.
16869
eede9df9
JM
168702013-01-08 Joseph Myers <joseph@codesourcery.com>
16871
16872 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16873 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16874 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16875 2 && __USE_EXTERN_INLINES]: Likewise.
16876
c40ea3d9
AJ
168772013-01-08 Andreas Jaeger <aj@suse.de>
16878
16879 [BZ# 14985]
16880 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16881 Remove.
16882 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16883 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16884
2ccdea26
AB
168852013-01-07 Anton Blanchard <anton@samba.org>
16886
16887 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16888 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16889 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16890 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16891 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16892 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16893 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16894 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16900 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16905 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16907 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16908 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16910 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16911 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16912 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16913 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16914 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16916 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16917 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16919 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16921 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16923 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16929 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16930
a9708fed
JM
169312013-01-07 Joseph Myers <joseph@codesourcery.com>
16932
375607b9
JM
16933 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16934 (__MALLOC_PMT): Likewise.
16935 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16936 [__GNUC__], only on [_LIBC].
16937 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16938 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16939 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16940 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16941 forward declaration.
16942 (realloc_hook_ini): Likewise.
16943 (memalign_hook_ini): Likewise.
16944 (__libc_memalign): Do not use __MALLOC_PMT in variable
16945 declaration.
16946 (__libc_valloc): Likewise.
16947 (__libc_pvalloc): Likewise.
16948 (__libc_calloc): Likewise.
16949 (__posix_memalign): Likewise.
16950
a9708fed
JM
16951 [BZ #14996]
16952 * math/s_casinh.c: Include <float.h>.
16953 (__casinh): Do not do computation with squaring and square root
16954 for large arguments.
16955 * math/s_casinhf.c: Include <float.h>.
16956 (__casinhf): Do not do computation with squaring and square root
16957 for large arguments.
16958 * math/s_casinhl.c: Include <float.h>.
16959 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16960 (__casinhl): Do not do computation with squaring and square root
16961 for large arguments.
16962 * math/libm-test.inc (casin_test): Add more tests.
16963 (casinh_test): Likewise.
16964 * sysdeps/i386/fpu/libm-test-ulps: Update.
16965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16966
afec409a
L
169672013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16968
16969 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16970 (__x86_64_raw_data_cache_size): Likewise.
16971 (__x86_64_data_cache_size_half): Likewise.
16972 (__x86_64_raw_data_cache_size_half): Likewise.
16973 (__x86_64_shared_cache_size): Likewise.
16974 (__x86_64_raw_shared_cache_size): Likewise.
16975 (__x86_64_shared_cache_size_half): Likewise.
16976 (__x86_64_raw_shared_cache_size_half): Likewise.
16977 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16978 to ...
16979 (__x86_data_cache_size): This.
16980 (__x86_64_raw_data_cache_size): Renamed to ...
16981 (__x86_raw_data_cache_size): This.
16982 (__x86_64_data_cache_size_half): Renamed to ...
16983 (__x86_data_cache_size_half): This.
16984 (__x86_64_raw_data_cache_size_half): Renamed to ...
16985 (__x86_raw_data_cache_size_half): This.
16986 (__x86_64_shared_cache_size): Renamed to ...
16987 (__x86_shared_cache_size): This.
16988 (__x86_64_raw_shared_cache_size): Renamed to ...
16989 (__x86_raw_shared_cache_size): This.
16990 (__x86_64_shared_cache_size_half): Renamed to ...
16991 (__x86_shared_cache_size_half): This.
16992 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16993 (__x86_raw_shared_cache_size_half): This.
16994 * sysdeps/x86_64/memcpy.S: Updated.
16995 * sysdeps/x86_64/memset.S: Likewise.
16996 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16999
0b3986d0
DM
170002013-01-04 David S. Miller <davem@davemloft.net>
17001
17002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17003
e47686e9
AS
170042013-01-04 Andreas Schwab <schwab@linux-m68k.org>
17005
d643bac1
AS
17006 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
17007 1 to avoid redefinition warning.
17008 (__USE_GNU): Don't define.
17009 (init_signaling_nan): Protoize.
17010
e47686e9
AS
17011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17012
b18decba
SP
170132013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17014
fffb407f
SP
17015 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
17016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
17017 (__cpymn): Likewise.
17018 (norm): Remove commented code.
17019 (denorm): Likewise.
17020 (__mp_dbl): Likewise.
17021 (__inv): Likewise.
17022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
17023 (__cpymn): Likewise.
17024 (norm): Remove commented code.
17025 (denorm): Likewise.
17026 (__mp_dbl): Likewise.
17027 (__inv): Likewise.
17028
b18decba
SP
17029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
17030 mp_no value for 1.0 and 2.0.
17031 (norm): Use RADIXI instead of radixi.d.
17032 (denorm): Likewise.
17033 (__mul): Use 0.0 instead of zero.d.
17034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
17035 mp_no value for 1.0 and 2.0.
17036 (norm): Use RADIXI instead of radixi.d.
17037 (denorm): Likewise.
17038 (__mul): Use 0.0 instead of zero.d.
17039
cdc1c96f
JM
170402013-01-04 Joseph Myers <joseph@codesourcery.com>
17041
17042 [BZ #14994]
17043 * math/s_casinh.c (__casinh): Reduce finite argument to first
17044 quadrant then set signs of results at the end.
17045 * math/s_casinhf.c (__casinhf): Likewise.
17046 * math/s_casinhl.c (__casinhl): Likewise.
17047 * math/libm-test.inc (casin_test): Add more tests.
17048 (casinh_test): Likewise.
17049 * sysdeps/i386/fpu/libm-test-ulps: Update.
17050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17051
302913e1
SP
170522013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17053
6420d207
SP
17054 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
17055
a9e48ab4
SP
17056 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
17057
b7837264
SP
17058 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
17059 declarations.
17060 (denorm): Likewise.
17061 (__mp_dbl): Likewise.
17062 (__inv): Likewise.
17063
f8af25d2
SP
17064 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
17065 and adjust the header comment.
17066
302913e1
SP
17067 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
17068 variable name from declaration.
17069
5d7dd1ca
L
170702013-01-03 H.J. Lu <hongjiu.lu@intel.com>
17071
17072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17073 Initialize COMMON_CPUID_INDEX_7 element.
17074 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
17075 (CPUID_RTM): Likewise.
17076 (HAS_RTM): Likewise.
17077 (COMMON_CPUID_INDEX_7): New enum.
17078
2f5f40f4
AS
170792013-01-03 Andreas Schwab <schwab@linux-m68k.org>
17080
17081 [BZ #14981]
17082 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
17083 size is zero, record memory as freed.
17084
4056f4a0
AJ
170852013-01-03 Andreas Jaeger <aj@suse.de>
17086
17087 * po/ia.po: Add new Interlingua translation.
17088
ab15736f 170892012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
17090
17091 * locale/programs/localedef.c: Fix description of '--posix' flag.
17092
568035b7
JM
170932013-01-02 Joseph Myers <joseph@codesourcery.com>
17094
e6898b8d
JM
17095 * NEWS: Update dates in second copyright notice.
17096 * README: Update copyright dates in example.
17097 * manual/libc.texinfo: Update copyright dates.
17098 * scripts/test-installation.pl: Update copyright date in --version
17099 output.
17100
0e2f9562
JM
17101 * hurd/ctty-input.c: Fix copyright notice formatting.
17102 * hurd/ctty-output.c: Likewise.
17103 * hurd/dtable.c: Likewise.
17104 * hurd/hurd-raise.c: Likewise.
17105 * hurd/hurdprio.c: Likewise.
17106 * hurd/msgportdemux.c: Likewise.
17107 * misc/sys/file.h: Likewise.
17108 * misc/sys/ioctl.h: Likewise.
17109 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17110 * sysdeps/mach/hurd/chdir.c: Likewise.
17111 * sysdeps/mach/hurd/fchdir.c: Likewise.
17112 * sysdeps/mach/hurd/rename.c: Likewise.
17113 * sysdeps/mach/hurd/rmdir.c: Likewise.
17114 * sysdeps/mach/hurd/seekdir.c: Likewise.
17115 * sysdeps/mach/hurd/setsid.c: Likewise.
17116 * sysdeps/posix/wait3.c: Likewise.
17117
568035b7
JM
17118 * All files with FSF copyright notices: Update copyright dates
17119 using scripts/update-copyrights.
17120 * intl/plural.c: Regenerated.
17121 * locale/programs/charmap-kw.h: Likewise.
17122 * locale/programs/locfile-kw.h: Likewise.
17123
da08f647
SP
171242013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17125
0f5477af
SP
17126 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
17127 four values.
17128
44e0d4c2
SP
17129 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
17130 calculation loop and add branch prediction.
17131
4d55b4e5
SP
17132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
17133 check access beyond bounds of m1np.
17134
da08f647
SP
17135 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17136 MPTWO.
17137 (__inv): Remove local variable MPTWO to use the global
17138 constant.
17139 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17141 variable MPTWO.
17142 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17143 MP3HALFS static const.
17144
8e051029
DM
171452013-01-01 David S. Miller <davem@davemloft.net>
17146
17147 * po/ca.po: Update from translation team.
17148
f4cf5f2d
JM
171492013-01-01 Joseph Myers <joseph@codesourcery.com>
17150
17151 * scripts/update-copyrights: New file.
17152 * Makeconfig: Reformat copyright notice.
17153 * ctype/ctype.h: Likewise.
17154 * debug/swprintf_chk.c: Likewise.
17155 * elf/dl-cache.c: Likewise.
17156 * elf/dl-debug.c: Likewise.
17157 * elf/dl-object.c: Likewise.
17158 * grp/initgroups.c: Likewise.
17159 * hurd/Makefile: Likewise.
17160 * hurd/hurd/signal.h: Likewise.
17161 * hurd/hurdfault.c: Likewise.
17162 * hurd/hurdioctl.c: Likewise.
17163 * hurd/hurdlookup.c: Likewise.
17164 * hurd/intr-msg.c: Likewise.
17165 * iconv/gconv_open.c: Likewise.
17166 * libio/swprintf.c: Likewise.
17167 * locale/lc-ctype.c: Likewise.
17168 * locale/nl_langinfo.c: Likewise.
17169 * mach/Machrules: Likewise.
17170 * mach/Makefile: Likewise.
17171 * malloc/obstack.h: Likewise.
17172 * manual/Makefile: Likewise.
17173 * manual/tsort.awk: Likewise.
17174 * misc/bits/stab.def: Likewise.
17175 * nis/nis_print_group_entry.c: Likewise.
17176 * nis/nis_table.c: Likewise.
17177 * nis/nss_compat/compat-pwd.c: Likewise.
17178 * nis/nss_compat/compat-spwd.c: Likewise.
17179 * po/Makefile: Likewise.
17180 * posix/fnmatch.c: Likewise.
17181 * posix/regex.h: Likewise.
17182 * resolv/Makefile: Likewise.
17183 * resolv/nss_dns/dns-network.c: Likewise.
17184 * resolv/res_hconf.c: Likewise.
17185 * scripts/gen-sorted.awk: Likewise.
17186 * soft-fp/soft-fp.h: Likewise.
17187 * stdio-common/printf.h: Likewise.
17188 * stdlib/monetary.h: Likewise.
17189 * stdlib/random.c: Likewise.
17190 * stdlib/random_r.c: Likewise.
17191 * sysdeps/generic/Makefile: Likewise.
17192 * sysdeps/gnu/Makefile: Likewise.
17193 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17195 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17204 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17205 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17206 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17207 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17213 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17214 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17215 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17221 * sysdeps/mach/hurd/errnos.awk: Likewise.
17222 * sysdeps/mach/hurd/fork.c: Likewise.
17223 * sysdeps/mach/hurd/getcwd.c: Likewise.
17224 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17225 * sysdeps/mach/hurd/mmap.c: Likewise.
17226 * sysdeps/mach/hurd/utimes.c: Likewise.
17227 * sysdeps/mach/hurd/xmknod.c: Likewise.
17228 * sysdeps/posix/profil.c: Likewise.
17229 * sysdeps/posix/readdir_r.c: Likewise.
17230 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17231 * sysdeps/powerpc/bits/setjmp.h: Likewise.
17232 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17233 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17235 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17236 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17237 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17239 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17240 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17241 * sysdeps/pthread/lio_listio.c: Likewise.
17242 * sysdeps/sparc/dl-procinfo.h: Likewise.
17243 * sysdeps/unix/i386/sysdep.S: Likewise.
17244 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17245 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17246 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17247 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17249 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17250 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17251 * sysdeps/unix/sysv/linux/speed.c: Likewise.
17252 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17253 * sysdeps/wordsize-32/divdi3.c: Likewise.
17254 * time/sys/time.h: Likewise.
17255 * wcsmbs/Makefile: Likewise.
17256
0549fbba
DM
172572013-01-01 David S. Miller <davem@davemloft.net>
17258
a141f1a7
DM
17259 * po/fr.po: Update from translation team.
17260
0549fbba
DM
17261 * catgets/gencat.c: Update copyright year.
17262 * csu/version.c: Likewise.
17263 * debug/catchsegv.sh: Likewise.
17264 * debug/pcprofiledump.c: Likewise.
17265 * debug/xtrace.sh: Likewise.
17266 * elf/ldconfig.c: Likewise.
17267 * elf/ldd.bash.in: Likewise.
17268 * elf/pldd.c: Likewise.
17269 * elf/sotruss.ksh: Likewise.
17270 * elf/sprof.c: Likewise.
17271 * iconv/iconv_prog.c: Likewise.
17272 * iconv/iconvconfig.c: Likewise.
17273 * locale/programs/locale.c: Likewise.
17274 * locale/programs/localedef.c: Likewise.
17275 * login/programs/pt_chown.c: Likewise.
17276 * malloc/memusage.sh: Likewise.
17277 * malloc/memusagestat.c: Likewise.
17278 * malloc/mtrace.pl: Likewise.
17279 * nscd/nscd.c: Likewise.
17280 * nss/getent.c: Likewise.
17281 * nss/makedb.c: Likewise.
17282 * posix/getconf.c: Likewise.
17283
18ea052c
SP
172842012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17285
17286 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17287 numbers.
17288
9c89fca6
MF
172892012-12-30 Mike Frysinger <vapier@gentoo.org>
17290
17291 * math/bits/mathcalls.h (modf): Use __nonnull.
17292
085ec079
SP
172932012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17294
17295 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17296 (split): Use macro CN instead of the bare value.
17297 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17298 could be used.
17299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17300 instead of the bare value.
17301 (power1): Likewise.
17302
6d9f97e1
SP
173032012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17304
d63f73be
SP
17305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17306 __ATAN_TWOM.
17307 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17308
6d9f97e1
SP
17309 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17310 their values.
17311 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17312 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17313 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17314 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17315
4c4febf5
AJ
173162012-12-28 Andreas Jaeger <aj@suse.de>
17317
af5843ef
AJ
17318 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17319 values are from Linux 3.7.
17320
4c4febf5
AJ
17321 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17322 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17323
99136f82
SP
173242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17325
2f216c3c 17326 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
17327 TRUE case.
17328
99136f82
SP
17329 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17330 (norm): Likewise.
17331 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17332 variables with preprocessor constants.
17333 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17334 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17335 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17336
7fffbdff
BH
173372012-12-27 Bruno Haible <bruno@clisp.org>
17338
17339 [BZ #14317]
17340 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17341 only if needed.
17342
b76eb5f0
SP
173432012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17344
31a7fe5c
SP
17345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17346 and use variable directly.
17347 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17348
b76eb5f0
SP
17349 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17350 MPONE.
17351 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17353 variable MPONE.
17354 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17356 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17357 include directive. Remove local variable MPONE.
17358 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17359 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17361
2c8bfe7d
DM
173622012-12-25 David S. Miller <davem@davemloft.net>
17363
17364 * version.h (RELEASE): Set to "development".
17365 (VERSION): Set to "2.17.90".
17366 * NEWS: Add 2.18 section.
17367
147d03b0
DM
173682012-12-21 David S. Miller <davem@davemloft.net>
17369
17370 * po/hr.po: Update from translation team.
17371
a8ebb2b9
AK
173722012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17373
17374 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17375
95b4f1b6
SE
173762012-12-19 Steve Ellcey <sellcey@mips.com>
17377
b2d94007 17378 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 17379
cedb2a90
MS
173802012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17381
17382 * manual/contrib.texi (Contributors): Spelling correction.
17383
bbf527d6
DM
173842012-12-15 David S. Miller <davem@davemloft.net>
17385
17386 * po/ru.po: Update from translation team.
17387
bc38c906
DM
173882012-12-13 David S. Miller <davem@davemloft.net>
17389
85429b1a
DM
17390 * NEWS: Mention IFUNC testsuite enhancements.
17391
d283e353
DM
17392 * po/pl.po: Update from translation team.
17393 * po/bg.po: Likewise.
17394
bc38c906
DM
17395 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17396 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17397
a181b0d7
DM
173982012-12-11 David S. Miller <davem@davemloft.net>
17399
4641d57e
DM
17400 * po/sv.po: Update from translation team.
17401
f7bc6495
DM
17402 * po/vi.po: Update from translation team.
17403
6fc9048f
DM
17404 * po/cs.po: Update from translation team.
17405
a181b0d7
DM
17406 * po/de.po: Update from translation team.
17407 * po/eo.po: Likewise.
17408 * po/nl.po: Likewise.
17409
f70bfe80
SP
174102012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17411
3c8b4190
SP
17412 [BZ #14246]
17413 * manual/argp.texi (Argp Helper Functions): Move node to follow
17414 Argp Parsing State.
17415
f70bfe80
SP
17416 [BZ #14872]
17417 * manual/conf.texi (Limits on File System Capacity): Mention if
17418 terminating null is included in the max size.
17419
188f0adf
AJ
174202012-12-10 Andreas Jaeger <aj@suse.de>
17421
17422 * po/cs.po: Update from translation team.
17423
56e7d3ad
SP
174242012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17425
17426 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17427 void pointer and cast to uintptr_t.
17428 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17429 path.
17430 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17431 * sysdeps/s390/s390-64/memset.S: Likewise.
17432
76f2d2ea 174332012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
17434
17435 [BZ #14833]
17436 * menual/message.texi (Message Translation): Fix typos.
17437 (Helper programs for gettext): Likewise.
17438
67cbf9a2
AS
174392012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17440
17441 [BZ #14898]
17442 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17443 Change to -1.
17444
682d0e9a
DM
174452012-12-07 David S. Miller <davem@davemloft.net>
17446
17447 * po/libc.pot: Update.
17448
573cd484
RH
174492012-12-07 Richard Henderson <rth@redhat.com>
17450
7e9da188 17451 [BZ #10114]
573cd484
RH
17452 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17453 normal/normal case to before the switch.
17454 (_FP_DIV): Likewise.
17455
e933a943
MF
174562012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17457 Mike Frysinger <vapier@gentoo.org>
17458
17459 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17460 check for __NR_fadvise64_64.
17461
82123268
CM
174622012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17463
17464 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17465 0, not just to plain "0" as a statement.
17466 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17467 with cw.
17468
d9814526
JM
174692012-12-06 Joseph Myers <joseph@codesourcery.com>
17470
17471 * NEWS: Use sourceware.org in Bugzilla URL.
17472
7728c574
SP
174732012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17474
f16946dd
SP
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17477
5704bbcb
SP
17478 * stdio-common/tst-put-error.c (do_test): Add newline to the
17479 padded test to ensure flush.
17480
17aa0516
JL
174812012-12-05 Jeff Law <law@redhat.com>
17482
17483 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17484
363313b5
JM
174852012-12-05 Joseph Myers <joseph@codesourcery.com>
17486
effbd42a
JM
17487 * README: Don't refer to ports add-on as distributed separately.
17488 Mention AArch64 in list of systems supported in the ports add-on.
17489
87600365
JM
17490 * LICENSES: Add more non-FSF copyright and license notices.
17491
a0d7066a
JM
17492 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17493 ((unused)).
17494
66ca5a5b
JM
17495 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17496
363313b5
JM
17497 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17498 10000 as width of padded output.
17499
b37984ad
JM
175002012-12-04 Joseph Myers <joseph@codesourcery.com>
17501
9003570a
JM
17502 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17503
b37984ad
JM
17504 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17505 variable LX with __attribute__ ((unused)).
17506 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17507 Likewise.
17508 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17511 with __attribute__ ((unused)).
17512
c8df52ec
DM
175132012-12-04 David S. Miller <davem@abraco.davemloft.net>
17514
17515 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17516
b3b099af
JM
175172012-12-04 Joseph Myers <joseph@codesourcery.com>
17518
c33aa6e3
JM
17519 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17520 (CFLAGS-nldbl-acos.c): New variable.
17521 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17522 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17523 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17524 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17525 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17526 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17527 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17528 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17529 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17530 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17531 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17532 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17533 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17534 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17535 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17536 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17537 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17538 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17539 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17540 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17541 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17542 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17543 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17544 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17545 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17546 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17547 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17548 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17549 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17550 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17551 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17552 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17553 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17554 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17555 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17556 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17557 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17558 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17559 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17560 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17561 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17562 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17563 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17564 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17565 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17566 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17567 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17568 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17569 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17570 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17571 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17572 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17573 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17574 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17575 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17576 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17577 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17578 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17579 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17580 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17581 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17582 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17583 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17584 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17585 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17586 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17587 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17588 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17589 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17590 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17591 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17592 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17593 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17594 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17595 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17596 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17597 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17598 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17599 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17600 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17601 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17602 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17603 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17604 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17605 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17606 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17607 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17608 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17609 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17610 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17611 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17612 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17613 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17614 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17615 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17616 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17617 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17618
20f0018d
JM
17619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17620 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17621
b3b099af
JM
17622 [BZ #14914]
17623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17624 whole low double instead of just low 47 bits when splitting values
17625 into two parts.
17626
029264d1
AM
176272012-12-03 Allan McRae <allan@archlinux.org>
17628
17629 * manual/stdio.texi (Predefined Printf Handlers): Remove
17630 @hsep and @vsep usage.
17631
c9d6789e
MF
176322012-12-03 Mike Frysinger <vapier@gentoo.org>
17633
17634 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17635 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17636
4b7634a5
JL
176372012-12-03 Jeff Law <law@redhat.com>
17638
17639 * time/sys/time.h (settimeofday): Do not mark TV argument
17640 as __nonnull.
17641
eb6cbd24
MF
176422012-12-01 Mike Frysinger <vapier@gentoo.org>
17643
17644 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17645 when currently writing and seek to current position when not.
17646 * libio/Makefile (tests): Remove bug-fclose1.
17647 * libio/bug-fclose1.c: Delete.
17648
f638872a
JM
176492012-12-01 Joseph Myers <joseph@codesourcery.com>
17650
17651 * manual/arith.texi (feenableexcept): Fix typo.
17652 (fedisableexcept): Likewise.
17653
48085d14
RM
176542012-11-30 Roland McGrath <roland@hack.frob.com>
17655
17656 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17657 second, differently-typed declaration, rather than a cast.
17658
1a538b9f
SP
176592012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17660
17661 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17662 * include/rpc/svc.h: ... here.
17663
d07f2ff1 176642012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17665
17666 [BZ #13013]
17667 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17668 depending n and resplen2 to catch cases where answer
17669 equals answerp2.
17670
c93ec1f0
CD
176712012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17672
17673 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17674 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17675
37db69de
MF
176762012-11-29 Mike Frysinger <vapier@gentoo.org>
17677
17678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17679
e10c4e4f
RM
176802012-11-29 Roland McGrath <roland@hack.frob.com>
17681
17682 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17683
2af1b328
JL
176842012-11-28 Jeff Law <law@redhat.com>
17685
17686 [BZ #13761]
17687 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17688 dataset_temporary. Track alloca usage into alloca_used.
17689 If dataset is large allocate and release it via malloc/free.
17690
111db5b1
FW
176912012-06-04 Florian Weimer <fweimer@redhat.com>
17692
f06cc227 17693 [BZ #14197]
111db5b1
FW
17694 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17695
dd694abd
DM
176962012-11-28 David S. Miller <davem@davemloft.net>
17697
17698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17699
9984dd01
JM
177002012-11-28 Joseph Myers <joseph@codesourcery.com>
17701
17702 [BZ #14803]
17703 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17704 of pi/2 rounded to nearest to 64 bits.
17705 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17706 nearest to 64 bits.
17707 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17708 bits.
17709
14bc93a9
JL
177102012-11-28 Jeff Law <law@redhat.com>
17711 Martin Osvald <mosvald@redhat.com>
17712
17713 [BZ #14889]
17714 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17715 * sunrpc/svc.c: Include time.h.
17716 (__svc_accept_failed): New function.
17717 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17718 any reason other than EINTR, call __svc_accept_failed.
17719 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17720 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17721
e3c6aa3a
AS
177222012-11-28 Andreas Schwab <schwab@suse.de>
17723
17724 * scripts/abilist.awk: Also handle indirect functions in .opd
17725 section.
17726
1bead169
JM
177272012-11-28 Joseph Myers <joseph@codesourcery.com>
17728
17729 [BZ #13881]
17730 * sysdeps/x86/fpu/powl_helper.c: New file.
17731 * sysdeps/x86/fpu/Makefile: Likewise.
17732 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17733 (p3): New object.
17734 (__ieee754_powl): Use __powl_helper for finite arguments except
17735 integer exponents below 8.
17736 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17737 (p3): New object.
17738 (__ieee754_powl): Use __powl_helper for finite arguments except
17739 integer exponents below 8.
17740 * math/libm-test.inc (pow_test): Add more tests and enable some
17741 previously disabled tests.
17742 * sysdeps/i386/fpu/libm-test-ulps: Update.
17743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17744
0817d63d
SP
177452012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17746 Carlos O'Donell <carlos_odonell@mentor.com>
17747
17748 * nss/makedb.c (is_prime): Assert that input is odd and greater
17749 than 4. Note that fact in a comment too.
17750 (next_prime): Add 4 to input.
17751
de2fd463
SP
177522012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17753
17754 [BZ #11741]
17755 * libio/Makefile (tests): Add test case tst-fwrite-error.
17756 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17757 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17758 * libio/tst-fwrite-error.c: New test case.
17759
c515fb51
L
177602012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17761
17762 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17763 before casting to void *.
17764 * include/libc-internal.h (__pointer_type): New macro.
17765 (__integer_if_pointer_type_sub): Likewise.
17766 (__integer_if_pointer_type): Likewise.
17767 (cast_to_integer): Likewise.
17768 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17769 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17770 before casting to atomic64_t.
17771 (atomic_exchange_acq): Likewise.
17772 (__arch_exchange_and_add_body): Likewise.
17773 (__arch_add_body): Likewise.
17774 (atomic_add_negative): Likewise.
17775 (atomic_add_zero): Likewise.
17776
4cf77aa9
JM
177772012-11-26 Joseph Myers <joseph@codesourcery.com>
17778
17779 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17780 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17781 (add_fdes): Likewise.
17782 (linear_search_fdes): Likewise.
17783 (binary_search_unencoded_fdes): Likewise.
17784
d260b3b4
AS
177852012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17786
17787 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17788
67060746
AC
177892012-11-24 Adam Conrad <adconrad@0c3.net>
17790
17791 * configure.in: Autodetect C++ header directories.
17792 * configure: Regenerated.
17793
800938a1
MF
177942012-11-23 Mike Frysinger <vapier@gentoo.org>
17795
17796 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17797
4e6e34e6
AS
177982012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17799
17800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17801
7c7feb47
JM
178022012-11-22 Joseph Myers <joseph@codesourcery.com>
17803
7184dcdf
JM
17804 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17805 LDBL_MANT_DIG == 106]: Disable some tests.
17806 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17807 Likewise.
17808 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17809 Likewise.
17810
0a42601f
JM
17811 [BZ #14871]
17812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17813 input for small inputs. Return +/- pi/2 for large inputs.
17814 * math/libm-test.inc (atan_test): Add more tests.
17815
79c9b9fe
JM
17816 * sysdeps/generic/unwind-dw2-fde-glibc.c
17817 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17818 __attribute__ ((unused)).
17819
c60d3bf2
JM
17820 [BZ #14645]
17821 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17822 x * y if x and y are nonzero and z is zero.
17823
ef1e0867
JM
17824 [BZ #14811]
17825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17826 nonzero exponents with absolute value below 0x1p-117 to +/-
17827 0x1p-117.
17828
1468ded3
JM
17829 [BZ #14869]
17830 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17831 up arguments below 2**-450, not just those below 2**-500.
17832 * math/libm-test.inc (hypot_test): Add another test.
17833
8e27e3cc
JM
17834 [BZ #14868]
17835 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17836 Return a+b for ratio over 2**120, not 2**60.
17837 * math/libm-test.inc (hypot_test): Add another test.
17838
c9c0279b
JM
17839 * math/libm-test.inc (clog_test): Use
17840 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17841 (clog10_test): Likewise.
17842
7c7feb47
JM
17843 [BZ #6778]
17844 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17845
fff1530e
AS
178462012-11-22 Andreas Schwab <schwab@suse.de>
17847
17848 * sysdeps/i386/fpu/libm-test-ulps: Update.
17849
94558d30
PT
178502012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17851
17852 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17853 printf output with newline.
17854
7e1be741
L
178552012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17856
6bfea974
L
17857 [BZ #14865]
17858 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17859 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17860 -z nodlopen, -z initfirst and -z execstack support.
17861 * configure: Regenerated.
17862
7e1be741
L
17863 * elf/elf.h (DF_1_NODIRECT): New macro.
17864 (DF_1_IGNMULDEF): Likewise.
17865 (DF_1_NOKSYMS): Likewise.
17866 (DF_1_NOHDR): Likewise.
17867 (DF_1_EDITED): Likewise.
17868 (DF_1_NORELOC): Likewise.
17869 (DF_1_SYMINTPOSE): Likewise.
17870 (DF_1_GLOBAUDIT): Likewise.
17871 (DF_1_SINGLETON): Likewise.
17872 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17873 DT_1_SUPPORTED_MASK bits.
17874 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17875
105ce2ce
CD
178762012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17877
17878 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17879
123be9de
TS
178802012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17881
d072f3f7
TS
17882 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17883 macro.
17884
123be9de
TS
17885 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17886 (sendmmsg): Move declarations...
17887 * socket/sys/socket.h: ... here.
17888 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17889 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17890 include it from...
17891 * socket/recvmmsg.c: ... this new file.
17892 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17893 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17894 definition of __sendmmsg hidden.
17895 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17896 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17897 Move ENOSYS stub into and include it from...
17898 * socket/sendmmsg.c: ... this new file.
17899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17900 (sysdep_routines): Move recvmmsg and sendmmsg...
17901 * socket/Makefile (routines): ... here.
17902 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17903 (GLIBC_PRIVATE): Add __sendmmsg.
17904 * include/sys/socket.h (__sendmmsg): Add declarations.
17905 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17906 sendmmsg.
17907
cf9a5d18
JM
179082012-11-20 Joseph Myers <joseph@codesourcery.com>
17909
17910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17911 variable I1 with __attribute__ ((unused)).
17912 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17913
ecd4caf9
JM
179142012-11-19 Joseph Myers <joseph@codesourcery.com>
17915
be14d48f
JM
17916 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17917 DUMMY variables with __attribute__ ((unused)).
17918
ecd4caf9
JM
17919 * bits/byteswap.h: Include <bits/types.h>.
17920 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17921
986cab95
PT
179222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17923
17924 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17925 string_t. Do not manually set errno.
17926 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17927 length with __strnlen. Make sure to both set errno and return it on
17928 failure.
17929
6d33cc9d
DM
179302012-11-19 David S. Miller <davem@davemloft.net>
17931
17932 With help from Joseph Myers.
17933 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17934 very large arguments properly.
17935 * math/libm-test.inc (atan_test): New tests.
17936 (atan2_test): New tests.
17937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17939
ee663277
JM
179402012-11-19 Joseph Myers <joseph@codesourcery.com>
17941
877f2d8e
JM
17942 [BZ #14856]
17943 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17944 Define to 3.
17945
116fc08a
JM
17946 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17947 [POSIX] (EADDRNOTAVAIL): Likewise.
17948 [POSIX] (EAFNOSUPPORT): Likewise.
17949 [POSIX] (EALREADY): Likewise.
17950 [POSIX] (ECONNABORTED): Likewise.
17951 [POSIX] (ECONNREFUSED): Likewise.
17952 [POSIX] (ECONNRESET): Likewise.
17953 [POSIX] (EDESTADDRREQ): Likewise.
17954 [POSIX] (EDQUOT): Likewise.
17955 [POSIX] (EHOSTUNREACH): Likewise.
17956 [POSIX] (EIDRM): Likewise.
17957 [POSIX] (EISCONN): Likewise.
17958 [POSIX] (ELOOP): Likewise.
17959 [POSIX] (EMULTIHOP): Likewise.
17960 [POSIX] (ENETDOWN): Likewise.
17961 [POSIX] (ENETUNREACH): Likewise.
17962 [POSIX] (ENOBUFS): Likewise.
17963 [POSIX] (ENODATA): Likewise.
17964 [POSIX] (ENOLINK): Likewise.
17965 [POSIX] (ENOMSG): Likewise.
17966 [POSIX] (ENOPROTOOPT): Likewise.
17967 [POSIX] (ENOSR): Likewise.
17968 [POSIX] (ENOSTR): Likewise.
17969 [POSIX] (ENOTCONN): Likewise.
17970 [POSIX] (ENOTSOCK): Likewise.
17971 [POSIX] (EOPNOTSUPP): Likewise.
17972 [POSIX] (EOVERFLOW): Likewise.
17973 [POSIX] (EPROTO): Likewise.
17974 [POSIX] (EPROTONOSUPPORT): Likewise.
17975 [POSIX] (EPROTOTYPE): Likewise.
17976 [POSIX] (ESTALE): Likewise.
17977 [POSIX] (ETIME): Likewise.
17978 [POSIX] (ETXTBSY): Likewise.
17979 [POSIX] (EWOULDBLOCK): Likewise.
17980 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17981 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17982 [POSIX] (SEEK_CUR): Likewise.
17983 [POSIX] (SEEK_END): Likewise.
17984 [POSIX || UNIX98] (mode_t): Do not require.
17985 [POSIX] (off_t): Likewise.
17986 [POSIX] (pid_t): Likewise.
17987 [POSIX] (sys/stat.h): Do not allow header.
17988 [POSIX] (unistd.h): Likewise.
17989 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17990 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17991 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17992 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17993 require.
17994 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17995 sigevent): Specify elements.
17996 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17997 entry.
17998 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17999 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
18000
a483863f
JM
18001 * conform/data/cpio.h-data [POSIX]: Disable whole file.
18002 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
18003 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
18004 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
18005 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
18006 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
18007 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
18008 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
18009 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
18010 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
18011 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
18012 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
18013 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
18014 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
18015 Likewise.
18016 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
18017 Likewise.
18018 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
18019 Likewise.
18020 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
18021 Likewise.
18022 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
18023 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
18024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
18025 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
18026 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
18027 Specify lower bound on value.
18028 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
18029 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
18030 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
18031 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
18032 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
18033 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
18034 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
18035 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
18036 value.
18037 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
18038 as optional.
18039 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
18040 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
18041 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
18042 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
18043 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
18044 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
18045 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
18046 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
18047 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
18048 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
18049 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
18050 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
18051 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
18052 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
18053 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
18054 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
18055 entry.
18056 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
18057 optional.
18058 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
18059 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
18060 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
18061 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
18062 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
18063 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
18064 Likewise.
18065 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
18066 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
18067 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
18068 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
18069 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
18070 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
18071 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
18072 as optional.
18073 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
18074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
18075 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
18076 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
18077 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
18078 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
18079 specify as optional.
18080 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
18081 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
18082 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
18083 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
18084 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
18085 [XPG3] (NL_LANGMAX): Likewise.
18086 [POSIX || XPG3] (NL_MSGMAX): Likewise.
18087 [POSIX || XPG3] (NL_NMAX): Likewise.
18088 [POSIX || XPG3] (NL_SETMAX): Likewise.
18089 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
18090 [XPG3] (NZERO): Likewise.
18091 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
18092 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
18093 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
18094 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
18095 (REG_ERANGE): Expect.
18096 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
18097 optional-constant.
18098 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
18099 Use (void) in prototype.
18100 [POSIX] (*_t): Allow.
18101 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
18102 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
18103 (WRDE_BADVAL): Expect.
18104
5ba924e3
JM
18105 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
18106 expect.
18107 [XPG3 || XPG4] (O_RSYNC): Likewise.
18108 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
18109 Likewise.
18110 [XPG3 || XPG4] (pthread_sigmask): Likewise.
18111 [XPG3 || XPG4] (sigqueue): Likewise.
18112 [XPG3 || XPG4] (sigtimedwait): Likewise.
18113 [XPG3 || XPG4] (sigwaitinfo): Likewise.
18114 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
18115 [XPG3 || XPG4] (vsnprintf): Likewise.
18116 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
18117 Likewise.
18118 [XPG3 || XPG4] (blksize_t): Likewise.
18119 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
18120 Likewise.
18121 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
18122 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18123 [XPG3 || XPG4] (struct itimerspec): Likewise.
18124 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
18125 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
18126 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
18127 [XPG3 || XPG4] (clockid_t): Likewise.
18128 [XPG3 || XPG4] (timer_t): Likewise.
18129 [XPG3 || XPG4] (clock_getres): Likewise.
18130 [XPG3 || XPG4] (clock_gettime): Likewise.
18131 [XPG3 || XPG4] (clock_settime): Likewise.
18132 [XPG3 || XPG4] (nanosleep): Likewise.
18133 [XPG3 || XPG4] (timer_create): Likewise.
18134 [XPG3 || XPG4] (timer_delete): Likewise.
18135 [XPG3 || XPG4] (timer_gettime): Likewise.
18136 [XPG3 || XPG4] (timer_getoverrun): Likewise.
18137 [XPG3 || XPG4] (timer_settime): Likewise.
18138 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18139 [XPG3 || XPG4] (getlogin_r): Likewise.
18140 [XPG3 || XPG4] (pread): Likewise.
18141 [XPG3 || XPG4] (pthread_atfork): Likewise.
18142 [XPG3 || XPG4] (pwrite): Likewise.
18143
ee663277
JM
18144 [BZ #14835]
18145 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18146 <bits/siginfo.h>.
18147
942caa16
PT
181482012-11-19 Pino Toscano <toscano.pino@tiscali.it>
18149
e19af380
PT
18150 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18151 finalizing MALLSTREAM.
18152
942caa16
PT
18153 * sysdeps/mach/hurd/syncfs.c: New file.
18154
cfde9b46
SP
181552012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18156
18157 [BZ #14719]
18158 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18159 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18160 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18161 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18162 (_nss_dns_gethostbyname4_r): Likewise.
18163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18164 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18165
f6da27e5
PH
181662012-11-19 Peng Haitao <penght@cn.fujitsu.com>
18167
18168 [BZ #13763]
18169 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18170
6665d4a2
SM
181712012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
18172
1f51ee92
SM
18173 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18174 * elf/cache.c (print_entry): Print ",AArch64" for
18175 FLAG_AARCH64_LIB64
18176
6665d4a2
SM
18177 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18178 * elf/cache.c (print_entry): Print ",hard-float" for
18179 FLAG_ARM_LIBHF.
18180
05b227bd
DM
181812012-11-18 David S. Miller <davem@davemloft.net>
18182
18183 With help from Joseph Myers.
18184 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18185 cutoff to 2**-13.
18186 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18187 cutoff to 2**-25.
18188 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18189 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18190 small.
18191 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18192 * math/libm-test.inc (y0_test): New tests.
18193 (y1_test): New tests.
18194 * sysdeps/i386/fpu/libm-test-ulps: Update.
18195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18197
786b0b67
AS
181982012-11-18 Andreas Schwab <schwab@linux-m68k.org>
18199
18200 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18201 64-bit targets.
18202 * configure: Regenerated.
18203
8e18b86d
DM
182042012-11-17 David S. Miller <davem@davemloft.net>
18205
18206 [BZ #14811]
18207 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18208 nonzero exponents with absolute value below 0x1p-128 to +/-
18209 0x1p-128.
18210
531f1ae0
JM
182112012-11-17 Joseph Myers <joseph@codesourcery.com>
18212
12df29e2
JM
18213 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18214
150dc1a0
JM
18215 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18216
531f1ae0
JM
18217 * posix/getconf-speclist.c: New file.
18218 * posix/posix-envs.def: Likewise.
18219 * posix/confstr.c (START_ENV_GROUP): New macro.
18220 (END_ENV_GROUP): Likewise.
18221 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18222 (KNOWN_PRESENT_ENV_STRING): Likewise.
18223 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18224 (UNKNOWN_ENVIRONMENT): Likewise.
18225 (confstr): Include posix-envs.def instead of handling
18226 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18227 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18228 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18229 (END_ENV_GROUP): Likewise.
18230 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18231 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18232 (UNKNOWN_ENVIRONMENT): Likewise.
18233 (__sysconf): Include posix-envs.def instead of handling associated
18234 cases directly here.
18235 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18236 preprocessing getconf-speclist.c rather than running getconf or
18237 generating empty file.
18238
a93f9cbc
PT
182392012-11-16 Pino Toscano <toscano.pino@tiscali.it>
18240
18241 * scripts/check-local-headers.sh: Ignore 'mach' headers.
18242
d64d9f87
AL
182432012-11-16 Andrej Lajovic <natrij@gmail.com>
18244
18245 [BZ #14672]
18246 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18247
447885eb
DM
182482012-11-16 David S. Miller <davem@davemloft.net>
18249
18250 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18251 smaller than LDBL_EPSILON/2.0L, just return xm1.
18252
bcbf9830
L
182532012-11-16 H.J. Lu <hongjiu.lu@intel.com>
18254
18255 * elf/tst-array1.c (init): Set constructor priority to 1000.
18256 (fini): Set destructor priority to 1000.
18257 * elf/tst-array2dep.c: Likewise.
18258
2b766585
SP
182592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18260
18261 [BZ #11741]
18262 * libio/fileops.c (_IO_new_file_write): Correctly return error.
18263 (_IO_new_file_xsputn): Also return EOF if none of the input
18264 data was written when overflow failed.
18265 * libio/iopadn.c (_IO_padn): Likewise.
18266 * libio/iowpadn.c (_IO_wpadn): Likewise.
18267 * stdio-common/tst-put-error.c: Add copyright notice.
18268 (do_test): Add case for printing padded string.
18269 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18270 _IO_padn returned error.
18271 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18272 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18273 return EOF.
18274
b1848fde
SP
182752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18276
18277 * libio/libioP.h: Add comment note that the references to C++
18278 bits are now obsolete.
18279
2fd89785
MS
182802012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18281
18282 * math/libm-test.inc (check_complex): Use asprintf.
18283
e3ea5409
JM
182842012-11-14 Joseph Myers <joseph@codesourcery.com>
18285
18286 * debug/pcprofiledump.c (print_version): Update copyright year.
18287 * malloc/memusagestat.c (print_version): Likewise.
18288
2e64d265
L
182892012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18290
18291 [BZ #14831]
18292 * elf/Makefile (tests): Add tst-audit8.
18293 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18294 ($(objpfx)tst-audit8.out): New target.
18295 (tst-audit8-ENV): New variable.
18296 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18297 audit if l_reloc_result is NULL.
18298 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18299 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18300 * elf/tst-audit8.c: New file.
18301
c485e4d2
MS
183022012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18303
18304 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18305 * misc/Makefile (CFLAGS-select.c): Define.
18306 * posix/Makefile (CFLAGS-pause.c): Define.
18307
3a0d900a
DM
183082012-11-13 David S. Miller <davem@davemloft.net>
18309
18310 * crypt/Makefile: Move test targets after toplevel Rules
18311 inclusion. Grab any necessary sysdep routines when linking.
18312 * crypt/md5.c (md5_process_block): Remove define, we will always
18313 name it __md5_process_block.
18314 (md5_finish_ctx): Update md5_process_block call.
18315 (md5_stream): Likewise.
18316 (md5_process_bytes): Likewise.
18317 (md5_process_block): Rename to __md5_process_block and move to ...
18318 * crypt/md5-block.c: ... here.
18319 * crypt/sha256.c (sha256_process_block): Move to ...
18320 * crypt/sha256-block.c: ... here.
18321 * crypt/sha512.c (sha512_process_block): Move to ...
18322 * crypt/sha512-block.c: ... here.
18323 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18324 path.
18325 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18326 * sysdeps/sparc/sparc64/multiarch/Makefile
18327 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18328 crypt subdir.
18329 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18330 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18331 multiarch changes.
18332 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18333 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18334 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18335 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18336 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18337 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18338 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18339 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18340 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18341 file.
18342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18343 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18344 file.
18345 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18346
8ca89318
JM
183472012-11-13 Joseph Myers <joseph@codesourcery.com>
18348
e27d476a
JM
18349 * timezone/tzselect.ksh: Update from tzcode git revision
18350 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18351 * timezone/zdump.c: Likewise.
18352 * timezone/zic.c: Likewise.
18353 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18354 in TZVERSION setting, not $(PKGVERSION).
18355 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18356 REPORT_BUGS_TO settings.
18357
8ca89318
JM
18358 [BZ #14838]
18359 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18360 macro.
18361
47594329
MS
183622012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18363
18364 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18365 detection to immediately after _FP_ROUND().
18366 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18367 bits are 0.
18368
640ac3f1
DM
183692012-11-11 David S. Miller <davem@davemloft.net>
18370
18371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18372 inttypes.h
18373 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18374 __close rather than their public counterparts.
18375
3d2577bb
JM
183762012-11-10 Joseph Myers <joseph@codesourcery.com>
18377
18378 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18379 file.
18380 [UNIX98] (sem_timedwait): Do not expect.
18381 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18382 [XPG4 || UNIX98] (sockatmark): Do not expect.
18383 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18384 (clock_getcpuclockid): Do not expect.
18385 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18386 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18387 Do not expect.
18388 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18389 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18390 [UNIX98] (vwscanf): Likewise.
18391 [UNIX98] (vswscanf): Likewise.
18392
fb1ae1ee
JM
183932012-11-09 Joseph Myers <joseph@codesourcery.com>
18394
9ec6f8bd
JM
18395 * timezone/version.h: Remove file.
18396 * timezone/README: Do not refer to version.h.
18397 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18398 $(objpfx)version.h.
18399 ($(objpfx)zdump.o): Likewise.
c3f81911 18400 ($(objpfx)version.h): New target.
9ec6f8bd 18401
0aa8f8a1
JM
18402 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18403 2012i.
18404 * timezone/README: Don't mention modification to tzselect.ksh.
18405 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18406 work on unmodified tzselect.ksh. Substitute version numbers in
18407 tzselect.ksh.
18408
4e87147f
JM
18409 * Makefile (format-me): Remove.
18410 (INSTALL): Adjust indentation. Use commands directly instead of
18411 using $(format-me).
18412
8b748aed
JM
18413 * aclocal.m4 (ACX_PKGVERSION): New macro.
18414 (ACX_BUGURL): Likewise.
18415 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18416 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18417 (REPORT_BUGS_TO): Likewise.
18418 * configure: Regenerated.
18419 * config.h.in (PKGVERSION): New macro.
18420 (REPORT_BUGS_TO): Likewise.
18421 * config.make.in (PKGVERSION): New variable.
18422 (PKGVERSION_TEXI): Likewise.
18423 (REPORT_BUGS_TO): Likewise.
18424 (REPORT_BUGS_TEXI): Likewise.
18425 * Makefile (format-me): Use -I$(common-objpfx)manual.
18426 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18427 ($(common-objpfx)manual/%): New target.
18428 (manual/%): Remove target.
18429 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18430 (print_version): Use PKGVERSION.
18431 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18432 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18433 and REPORT_BUGS_TO.
18434 ($(objpfx)xtrace): Likewise.
18435 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18436 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18437 (print_version): Use PKGVERSION.
18438 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18439 (do_version): Use PKGVERSION.
18440 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18441 REPORT_BUGS_TO.
18442 (common-ldd-rewrite): Likewise.
18443 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18444 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18445 (print_version): Use PKGVERSION.
18446 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18447 * elf/pldd.c (argp_program_bug_address): Remove variable.
18448 (more_help): New function.
18449 (argp): Use more_help.
18450 (print_version): Use PKGVERSION.
18451 * elf/sln.c (main): Use PKGVERSION.
18452 (usage): Use REPORT_BUGS_TO.
18453 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18454 (top level): Use PKGVERSION.
18455 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18456 (print_version): Use PKGVERSION.
18457 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18458 (print_version): Use PKGVERSION.
18459 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18460 (print_version): Use PKGVERSION.
18461 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18462 (print_version): Use PKGVERSION.
18463 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18464 (print_version): Use PKGVERSION.
18465 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18466 (print_version): Use PKGVERSION.
18467 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18468 and BUGURL.
18469 ($(objpfx)memusage): Likewise.
18470 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18471 (do_version): Use PKGVERSION.
18472 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18473 (print_version): Use PKGVERSION.
18474 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18475 ($PKGVERSION): New variable.
18476 ($REPORT_BUGS_TO): Likewise.
18477 (usage): Use $REPORT_BUGS_TO.
18478 (top level): Use $PKGVERSION.
18479 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18480 ($(objpfx)pkgvers.texi): New rule.
18481 ($(objpfx)stamp-pkgvers): Likewise.
18482 * manual/install.texi: Include pkgvers.texi.
18483 (--with-pkgversion): Document new configure option.
18484 (--with-bugurl): Likewise.
18485 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18486 than necessarily for this particular distribution. Use
18487 REPORT_BUGS_TO for where to report bugs.
18488 * INSTALL: Regenerated.
18489 * manual/libc.texinfo: Include pkgvers.texi.
18490 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18491 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18492 (print_version): Use PKGVERSION.
18493 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18494 (print_version): Use PKGVERSION.
18495 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18496 (print_version): Use PKGVERSION.
18497 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18498 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18499 macro.
18500 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18501 (print_version): Use PKGVERSION.
18502 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18503 (print_version): Use PKGVERSION.
18504 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18505 and PKGVERSION.
18506
92e4b6a9
JM
18507 * timezone/checktab.awk: Update from tzcode 2012i.
18508 * timezone/ialloc.c: Likewise.
18509 * timezone/private.h: Likewise.
18510 * timezone/scheck.c: Likewise.
18511 * timezone/tzfile.h: Likewise.
18512 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18513 (TZVERSION): Hardcode tzcode version number.
18514 * timezone/zdump.c: Update from tzcode 2012i.
18515 * timezone/zic.c: Likewise.
18516 * timezone/version.h: New file.
18517 * timezone/README: Describe version.h. Update upstream location.
18518
9bde902c
JM
18519 [BZ #14824]
18520 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18521 (mktemp): Enable declaration.
18522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18526 Likewise.
18527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18528 Likewise.
18529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18530 Likewise.
18531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18532 Likewise.
18533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18534 Likewise.
18535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18536 Likewise.
18537
fb1ae1ee
JM
18538 [BZ #14821]
18539 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18540 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18541 for copies of such integer values.
18542 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18543 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18544
2c1adbcb
AJ
185452012-11-09 Andreas Jaeger <aj@suse.de>
18546
18547 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18548 definitions and declarations that are provided by
18549 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18550
d0f8457e
AK
185512012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18552
3a235abb 18553 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
18554 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18555 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18556 definition.
18557
57241e26
MS
185582012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18559
18560 * elf/elf.h: Update comment before AArch64 relocations.
18561
60e8270d
DM
185622012-11-07 David S. Miller <davem@davemloft.net>
18563
18564 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18565 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18566 (__start_context): Declare.
18567 (__makecontext_ret): Delete.
18568 (__makecontext): Hook up __start_context instead of
18569 __makecontext_ret.
18570 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18571 (sysdep_routines): Add __start_context when in stdlib.
18572
0fbb0fbc
JM
185732012-11-07 Joseph Myers <joseph@codesourcery.com>
18574
18575 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18576 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18577 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18578 hardcoded "nm".
18579 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18580 (READELF): New variable. Use it instead of hardcoded "readelf".
18581
eb48db7e
L
185822012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18583
18584 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18585 * sysdeps/x86/Makefile: Here.
18586 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18587 * sysdeps/x86/tst-xmmymm.sh: This.
18588
05bcf62a
JM
185892012-11-07 Joseph Myers <joseph@codesourcery.com>
18590
c4b6cf53
JM
18591 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18592 expectations.
18593 [UNIX98] (pthread_barrier_t): Do not expect.
18594 [UNIX98] (pthread_barrierattr_t): Likewise.
18595 [UNIX98] (pthread_spinlock_t): Likewise.
18596 [UNIX98] (pthread_barrier_destroy): Likewise.
18597 [UNIX98] (pthread_barrier_init): Likewise.
18598 [UNIX98] (pthread_barrier_wait): Likewise.
18599 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18600 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18601 [UNIX98] (pthread_barrierattr_init): Likewise.
18602 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18603 [UNIX98] (pthread_getcpuclockid): Likewise.
18604 [UNIX98] (pthread_mutex_timedlock): Likewise.
18605 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18606 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18607 [UNIX98] (pthread_sigmask): Likewise.
18608 [UNIX98] (pthread_spin_destroy): Likewise.
18609 [UNIX98] (pthread_spin_init): Likewise.
18610 [UNIX98] (pthread_spin_lock): Likewise.
18611 [UNIX98] (pthread_spin_trylock): Likewise.
18612 [UNIX98] (pthread_spin_unlock): Likewise.
18613 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18614 Do not expect.
18615 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18616 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18617 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18618 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18619 [XPG3 || XPG4] (pthread_key_t): Likewise.
18620 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18621 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18622 [XPG3 || XPG4] (pthread_once_t): Likewise.
18623 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18624 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18625 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18626 [XPG3 || XPG4] (pthread_t): Likewise.
18627
cbe6e120
JM
18628 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18629 not expect.
18630 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18631
1b126443
JM
18632 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18633 Change function return type to int.
18634
b961a573
JM
18635 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18636 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18637 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18638 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18639 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18640 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18641 [!POSIX] (posix_madvise): Likewise.
18642 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18643 && !UNIX98].
18644 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18645 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18646 (mode_t): Likewise.
18647 (posix_mem_offset): Likewise.
18648 (posix_typed_mem_get_info): Likewise.
18649 (posix_typed_mem_open): Likewise.
18650
9e188909
JM
18651 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18652 Change condition to [XOPEN2K8].
18653
05bcf62a
JM
18654 * conform/conformtest.pl: Preprocess allow-header data with -x c
18655 instead of from stdin.
18656 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18657 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18658 [C99-based standards] (cerfc): Likewise.
18659 [C99-based standards] (cexp2): Likewise.
18660 [C99-based standards] (cexpm1): Likewise.
18661 [C99-based standards] (clog10): Likewise.
18662 [C99-based standards] (clog1p): Likewise.
18663 [C99-based standards] (clog2): Likewise.
18664 [C99-based standards] (clgamma): Likewise.
18665 [C99-based standards] (ctgamma): Likewise.
18666 [C99-based standards] (cerff): Likewise.
18667 [C99-based standards] (cerfcf): Likewise.
18668 [C99-based standards] (cexp2f): Likewise.
18669 [C99-based standards] (cexpm1f): Likewise.
18670 [C99-based standards] (clog10f): Likewise.
18671 [C99-based standards] (clog1pf): Likewise.
18672 [C99-based standards] (clog2f): Likewise.
18673 [C99-based standards] (clgammaf): Likewise.
18674 [C99-based standards] (ctgammaf): Likewise.
18675 [C99-based standards] (cerfl): Likewise.
18676 [C99-based standards] (cerfcl): Likewise.
18677 [C99-based standards] (cexp2l): Likewise.
18678 [C99-based standards] (cexpm1l): Likewise.
18679 [C99-based standards] (clog10l): Likewise.
18680 [C99-based standards] (clog1pl): Likewise.
18681 [C99-based standards] (clog2l): Likewise.
18682 [C99-based standards] (clgammal): Likewise.
18683 [C99-based standards] (ctgammal): Likewise.
18684 * conform/data/inttypes.h-data [C99-based standards]: Include
18685 stdint.h-data. Remove all expectations for stdint.h contents.
18686 [C99-based standards] (PRI*): Do not allow.
18687 [C99-based standards] (SCN*): Likewise.
18688 [C99-based standards] (*_t): Likewise.
18689 [C99-based-standards] (PRId8): Expect macro.
18690 [C99-based-standards] (PRIi8): Likewise.
18691 [C99-based-standards] (PRIo8): Likewise.
18692 [C99-based-standards] (PRIu8): Likewise.
18693 [C99-based-standards] (PRIx8): Likewise.
18694 [C99-based-standards] (PRIX8): Likewise.
18695 [C99-based-standards] (SCNd8): Likewise.
18696 [C99-based-standards] (SCNi8): Likewise.
18697 [C99-based-standards] (SCNo8): Likewise.
18698 [C99-based-standards] (SCNu8): Likewise.
18699 [C99-based-standards] (SCNx8): Likewise.
18700 [C99-based-standards] (PRIdLEAST8): Likewise.
18701 [C99-based-standards] (PRIiLEAST8): Likewise.
18702 [C99-based-standards] (PRIoLEAST8): Likewise.
18703 [C99-based-standards] (PRIuLEAST8): Likewise.
18704 [C99-based-standards] (PRIxLEAST8): Likewise.
18705 [C99-based-standards] (PRIXLEAST8): Likewise.
18706 [C99-based-standards] (SCNdLEAST8): Likewise.
18707 [C99-based-standards] (SCNiLEAST8): Likewise.
18708 [C99-based-standards] (SCNoLEAST8): Likewise.
18709 [C99-based-standards] (SCNuLEAST8): Likewise.
18710 [C99-based-standards] (SCNxLEAST8): Likewise.
18711 [C99-based-standards] (PRIdFAST8): Likewise.
18712 [C99-based-standards] (PRIiFAST8): Likewise.
18713 [C99-based-standards] (PRIoFAST8): Likewise.
18714 [C99-based-standards] (PRIuFAST8): Likewise.
18715 [C99-based-standards] (PRIxFAST8): Likewise.
18716 [C99-based-standards] (PRIXFAST8): Likewise.
18717 [C99-based-standards] (SCNdFAST8): Likewise.
18718 [C99-based-standards] (SCNiFAST8): Likewise.
18719 [C99-based-standards] (SCNoFAST8): Likewise.
18720 [C99-based-standards] (SCNuFAST8): Likewise.
18721 [C99-based-standards] (SCNxFAST8): Likewise.
18722 [C99-based-standards] (PRId16): Likewise.
18723 [C99-based-standards] (PRIi16): Likewise.
18724 [C99-based-standards] (PRIo16): Likewise.
18725 [C99-based-standards] (PRIu16): Likewise.
18726 [C99-based-standards] (PRIx16): Likewise.
18727 [C99-based-standards] (PRIX16): Likewise.
18728 [C99-based-standards] (SCNd16): Likewise.
18729 [C99-based-standards] (SCNi16): Likewise.
18730 [C99-based-standards] (SCNo16): Likewise.
18731 [C99-based-standards] (SCNu16): Likewise.
18732 [C99-based-standards] (SCNx16): Likewise.
18733 [C99-based-standards] (PRIdLEAST16): Likewise.
18734 [C99-based-standards] (PRIiLEAST16): Likewise.
18735 [C99-based-standards] (PRIoLEAST16): Likewise.
18736 [C99-based-standards] (PRIuLEAST16): Likewise.
18737 [C99-based-standards] (PRIxLEAST16): Likewise.
18738 [C99-based-standards] (PRIXLEAST16): Likewise.
18739 [C99-based-standards] (SCNdLEAST16): Likewise.
18740 [C99-based-standards] (SCNiLEAST16): Likewise.
18741 [C99-based-standards] (SCNoLEAST16): Likewise.
18742 [C99-based-standards] (SCNuLEAST16): Likewise.
18743 [C99-based-standards] (SCNxLEAST16): Likewise.
18744 [C99-based-standards] (PRIdFAST16): Likewise.
18745 [C99-based-standards] (PRIiFAST16): Likewise.
18746 [C99-based-standards] (PRIoFAST16): Likewise.
18747 [C99-based-standards] (PRIuFAST16): Likewise.
18748 [C99-based-standards] (PRIxFAST16): Likewise.
18749 [C99-based-standards] (PRIXFAST16): Likewise.
18750 [C99-based-standards] (SCNdFAST16): Likewise.
18751 [C99-based-standards] (SCNiFAST16): Likewise.
18752 [C99-based-standards] (SCNoFAST16): Likewise.
18753 [C99-based-standards] (SCNuFAST16): Likewise.
18754 [C99-based-standards] (SCNxFAST16): Likewise.
18755 [C99-based-standards] (PRId32): Likewise.
18756 [C99-based-standards] (PRIi32): Likewise.
18757 [C99-based-standards] (PRIo32): Likewise.
18758 [C99-based-standards] (PRIu32): Likewise.
18759 [C99-based-standards] (PRIx32): Likewise.
18760 [C99-based-standards] (PRIX32): Likewise.
18761 [C99-based-standards] (SCNd32): Likewise.
18762 [C99-based-standards] (SCNi32): Likewise.
18763 [C99-based-standards] (SCNo32): Likewise.
18764 [C99-based-standards] (SCNu32): Likewise.
18765 [C99-based-standards] (SCNx32): Likewise.
18766 [C99-based-standards] (PRIdLEAST32): Likewise.
18767 [C99-based-standards] (PRIiLEAST32): Likewise.
18768 [C99-based-standards] (PRIoLEAST32): Likewise.
18769 [C99-based-standards] (PRIuLEAST32): Likewise.
18770 [C99-based-standards] (PRIxLEAST32): Likewise.
18771 [C99-based-standards] (PRIXLEAST32): Likewise.
18772 [C99-based-standards] (SCNdLEAST32): Likewise.
18773 [C99-based-standards] (SCNiLEAST32): Likewise.
18774 [C99-based-standards] (SCNoLEAST32): Likewise.
18775 [C99-based-standards] (SCNuLEAST32): Likewise.
18776 [C99-based-standards] (SCNxLEAST32): Likewise.
18777 [C99-based-standards] (PRIdFAST32): Likewise.
18778 [C99-based-standards] (PRIiFAST32): Likewise.
18779 [C99-based-standards] (PRIoFAST32): Likewise.
18780 [C99-based-standards] (PRIuFAST32): Likewise.
18781 [C99-based-standards] (PRIxFAST32): Likewise.
18782 [C99-based-standards] (PRIXFAST32): Likewise.
18783 [C99-based-standards] (SCNdFAST32): Likewise.
18784 [C99-based-standards] (SCNiFAST32): Likewise.
18785 [C99-based-standards] (SCNoFAST32): Likewise.
18786 [C99-based-standards] (SCNuFAST32): Likewise.
18787 [C99-based-standards] (SCNxFAST32): Likewise.
18788 [C99-based-standards] (PRId64): Likewise.
18789 [C99-based-standards] (PRIi64): Likewise.
18790 [C99-based-standards] (PRIo64): Likewise.
18791 [C99-based-standards] (PRIu64): Likewise.
18792 [C99-based-standards] (PRIx64): Likewise.
18793 [C99-based-standards] (PRIX64): Likewise.
18794 [C99-based-standards] (SCNd64): Likewise.
18795 [C99-based-standards] (SCNi64): Likewise.
18796 [C99-based-standards] (SCNo64): Likewise.
18797 [C99-based-standards] (SCNu64): Likewise.
18798 [C99-based-standards] (SCNx64): Likewise.
18799 [C99-based-standards] (PRIdLEAST64): Likewise.
18800 [C99-based-standards] (PRIiLEAST64): Likewise.
18801 [C99-based-standards] (PRIoLEAST64): Likewise.
18802 [C99-based-standards] (PRIuLEAST64): Likewise.
18803 [C99-based-standards] (PRIxLEAST64): Likewise.
18804 [C99-based-standards] (PRIXLEAST64): Likewise.
18805 [C99-based-standards] (SCNdLEAST64): Likewise.
18806 [C99-based-standards] (SCNiLEAST64): Likewise.
18807 [C99-based-standards] (SCNoLEAST64): Likewise.
18808 [C99-based-standards] (SCNuLEAST64): Likewise.
18809 [C99-based-standards] (SCNxLEAST64): Likewise.
18810 [C99-based-standards] (PRIdFAST64): Likewise.
18811 [C99-based-standards] (PRIiFAST64): Likewise.
18812 [C99-based-standards] (PRIoFAST64): Likewise.
18813 [C99-based-standards] (PRIuFAST64): Likewise.
18814 [C99-based-standards] (PRIxFAST64): Likewise.
18815 [C99-based-standards] (PRIXFAST64): Likewise.
18816 [C99-based-standards] (SCNdFAST64): Likewise.
18817 [C99-based-standards] (SCNiFAST64): Likewise.
18818 [C99-based-standards] (SCNoFAST64): Likewise.
18819 [C99-based-standards] (SCNuFAST64): Likewise.
18820 [C99-based-standards] (SCNxFAST64): Likewise.
18821 [C99-based-standards] (PRIdMAX): Likewise.
18822 [C99-based-standards] (PRIiMAX): Likewise.
18823 [C99-based-standards] (PRIoMAX): Likewise.
18824 [C99-based-standards] (PRIuMAX): Likewise.
18825 [C99-based-standards] (PRIxMAX): Likewise.
18826 [C99-based-standards] (PRIXMAX): Likewise.
18827 [C99-based-standards] (SCNdMAX): Likewise.
18828 [C99-based-standards] (SCNiMAX): Likewise.
18829 [C99-based-standards] (SCNoMAX): Likewise.
18830 [C99-based-standards] (SCNuMAX): Likewise.
18831 [C99-based-standards] (SCNxMAX): Likewise.
18832 [C99-based-standards] (PRIdPTR): Likewise.
18833 [C99-based-standards] (PRIiPTR): Likewise.
18834 [C99-based-standards] (PRIoPTR): Likewise.
18835 [C99-based-standards] (PRIuPTR): Likewise.
18836 [C99-based-standards] (PRIxPTR): Likewise.
18837 [C99-based-standards] (PRIXPTR): Likewise.
18838 [C99-based-standards] (SCNdPTR): Likewise.
18839 [C99-based-standards] (SCNiPTR): Likewise.
18840 [C99-based-standards] (SCNoPTR): Likewise.
18841 [C99-based-standards] (SCNuPTR): Likewise.
18842 [C99-based-standards] (SCNxPTR): Likewise.
18843 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18844 allow.
18845 * conform/data/stdint.h-data: Update comments to clarify
18846 requirements.
18847 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18848 type.
18849 [C99-based standards] (INT8_MAX): Likewise.
18850 [C99-based standards] (INT16_MIN): Likewise.
18851 [C99-based standards] (INT16_MAX): Likewise.
18852 [C99-based standards] (INT32_MIN): Likewise.
18853 [C99-based standards] (INT32_MAX): Likewise.
18854 [C99-based standards] (INT64_MIN): Likewise.
18855 [C99-based standards] (INT64_MAX): Likewise.
18856 [C99-based standards] (UINT8_MAX): Likewise.
18857 [C99-based standards] (UINT16_MAX): Likewise.
18858 [C99-based standards] (UINT32_MAX): Likewise.
18859 [C99-based standards] (UINT64_MAX): Likewise.
18860 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18861 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18862 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18863 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18864 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18865 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18866 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18867 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18868 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18869 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18870 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18871 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18872 [C99-based standards] (INT_FAST8_MIN): Likewise.
18873 [C99-based standards] (INT_FAST8_MAX): Likewise.
18874 [C99-based standards] (INT_FAST16_MIN): Likewise.
18875 [C99-based standards] (INT_FAST16_MAX): Likewise.
18876 [C99-based standards] (INT_FAST32_MIN): Likewise.
18877 [C99-based standards] (INT_FAST32_MAX): Likewise.
18878 [C99-based standards] (INT_FAST64_MIN): Likewise.
18879 [C99-based standards] (INT_FAST64_MAX): Likewise.
18880 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18881 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18882 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18883 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18884 [C99-based standards] (INTPTR_MIN): Likewise.
18885 [C99-based standards] (INTPTR_MAX): Likewise.
18886 [C99-based standards] (UINTPTR_MAX): Likewise.
18887 [C99-based standards] (INTMAX_MIN): Likewise.
18888 [C99-based standards] (INTMAX_MAX): Likewise.
18889 [C99-based standards] (UINTMAX_MAX): Likewise.
18890 [C99-based standards] (PTRDIFF_MIN): Likewise.
18891 [C99-based standards] (PTRDIFF_MAX): Likewise.
18892 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18893 [C99-based standards] (SIZE_MAX): Likewise.
18894 [C99-based standards] (WCHAR_MAX): Likewise.
18895 [C99-based standards] (WINT_MAX): Likewise.
18896 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18897 constraint on value.
18898 [C99-based standards] (WCHAR_MIN): Likewise.
18899 [C99-based standards] (WINT_MIN): Likewise.
18900 [C99-based standards] (*_t): Allow.
18901 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18902 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18903 Include math.h-data and complex.h-data. Remove all expectations
18904 of math.h and complex.h contents.
18905 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18906 at end of line.
18907 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18908 (struct tm): Expect tag.
18909 [C99-based-standards] (wcstof): Expect function.
18910 [C99-based-standards] (wcstold): Likewise.
18911 [C99-based-standards] (wcstoll): Likewise.
18912 [C99-based-standards] (wcstoull): Likewise.
18913 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18914 macro-int-constant. Specify type.
18915 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18916 constraint on value.
18917 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18918 Specify type.
18919 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18920 Specify value.
18921 [ISO C standards]: Do not allow headers.
18922 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18923 wcs[abcdefghijklmnopqrstuvwxyz]*.
18924 [ISO C standards] (*_t): Do not allow.
18925 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18926 Expect function.
18927 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18928 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18929 Specify type.
18930 [ISO C standards]: Do not allow headers.
18931 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18932 is[abcdefghijklmnopqrstuvwxyz]*.
18933 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18934 to[abcdefghijklmnopqrstuvwxyz]*.
18935 [ISO C standards] (*_t): Do not allow.
18936 * conform/data/stdalign.h-data: New file.
18937 * conform/data/stdbool.h-data: Likewise.
18938 * conform/data/stdnoreturn.h-data: Likewise.
18939
7514feb8
RM
189402012-11-07 Roland McGrath <roland@hack.frob.com>
18941
18942 [BZ #14815]
18943 * manual/filesys.texi (Directory Entries): Typo fix.
18944 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18945
19b2ecfc
MS
189462012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18947
18948 * elf/elf.h (EM_AARCH64): New macro.
18949 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18950 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18951 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18952 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18953 (R_AARCH64_TLSDESC): Likewise.
18954 (NT_ARM_TLS): Likewise.
18955 (NT_ARM_HW_BREAK): Likewise.
18956 (NT_ARM_HW_WATCH): Likewise.
18957
60e235ee
JM
189582012-11-07 Joseph Myers <joseph@codesourcery.com>
18959
18960 [BZ #14811]
18961 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18962 (__ieee754_powl): Saturate nonzero exponents with absolute value
18963 below 0x1p-79 to +/- 0x1p-79.
18964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18965 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18966 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18967 nonzero exponents with absolute value below 0x1p-32 to +/-
18968 0x1p-32.
18969 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18970 (__ieee754_powl): Saturate nonzero exponents with absolute value
18971 below 0x1p-79 to +/- 0x1p-79.
18972 * math/libm-test.inc (pow_test): Add more tests.
18973
0ab234b7
AK
189742012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18975
18976 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18977 _dl_s390_cap_flags with kernel. Increase string length.
18978 (_dl_s390_platforms): Add z196 and zEC12.
18979
45832f74
JM
189802012-11-07 Joseph Myers <joseph@codesourcery.com>
18981
18982 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18983 Change XOPEN21K to XOPEN2K.
18984
19218757
MK
189852012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18986
18987 * string/memmove.c: Use memcpy when possible.
18988
c5f45721
AJ
189892012-11-06 Andreas Jaeger <aj@suse.de>
18990
18991 * po/eo.po: Update from translation team.
18992
82477c28
JM
189932012-11-06 Joseph Myers <joseph@codesourcery.com>
18994
18995 [BZ #14793]
18996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18997 exponent and small x and y exponents, scale x or y up. Increase
18998 by 2 the exponent used in scaling up.
18999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19001 * math/libm-test.inc (fma_test): Add more tests.
19002 (fma_test_towardzero): Likewise.
19003 (fma_test_downward): Likewise.
19004 (fma_test_upward): Likewise.
19005
99252c8c
JM
190062012-11-05 Joseph Myers <joseph@codesourcery.com>
19007
acfa885f
JM
19008 [BZ #14805]
19009 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
19010 fenv_t *.
19011
99252c8c
JM
19012 [BZ #14801]
19013 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
19014 namespace for names of struct fields.
19015 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
19016 fenv_t fields.
19017 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19018 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
19019
d6d98dea
ST
190202012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19021
19022 [BZ #3665]
19023 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
19024
e10bb107
TS
190252012-11-04 Thomas Schwinge <thomas@codesourcery.com>
19026
19027 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
19028 PTR_DEMANGLE.
19029
19030 [BZ #5246]
19031 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
19032 PTR_DEMANGLE.
19033
a0c2940d
JM
190342012-11-04 Joseph Myers <joseph@codesourcery.com>
19035
19036 [BZ #14797]
19037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
19038 definitely overflow as x * y not x * y + z.
19039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19041 * math/libm-test.inc (fma_test): Add more tests.
19042 (fma_test_towardzero): Likewise.
19043 (fma_test_downward): Likewise.
19044 (fma_test_upward): Likewise.
19045
b830319d
TS
190462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
19047
19048 [BZ #157]
19049
19050 * include/stub-tag.h: Remove file.
19051 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
19052 '#include' of it.
19053 * manual/maint.texi (Porting): Don't reference it.
19054 * Makerules ($(objpfx)stubs): Likewise.
19055 * dirent/closedir.c: Don't include <stub-tag.h>.
19056 * dirent/dirfd.c: Likewise.
19057 * dirent/fdopendir.c: Likewise.
19058 * dirent/getdents.c: Likewise.
19059 * dirent/getdents64.c: Likewise.
19060 * dirent/opendir.c: Likewise.
19061 * dirent/readdir.c: Likewise.
19062 * dirent/readdir64.c: Likewise.
19063 * dirent/readdir64_r.c: Likewise.
19064 * dirent/readdir_r.c: Likewise.
19065 * dirent/rewinddir.c: Likewise.
19066 * dirent/seekdir.c: Likewise.
19067 * dirent/telldir.c: Likewise.
19068 * gmon/profil.c: Likewise.
19069 * grp/setgroups.c: Likewise.
19070 * inet/if_index.c: Likewise.
19071 * io/access.c: Likewise.
19072 * io/chdir.c: Likewise.
19073 * io/chmod.c: Likewise.
19074 * io/chown.c: Likewise.
19075 * io/close.c: Likewise.
19076 * io/dup.c: Likewise.
19077 * io/dup2.c: Likewise.
19078 * io/dup3.c: Likewise.
19079 * io/euidaccess.c: Likewise.
19080 * io/faccessat.c: Likewise.
19081 * io/fchdir.c: Likewise.
19082 * io/fchmod.c: Likewise.
19083 * io/fchmodat.c: Likewise.
19084 * io/fchown.c: Likewise.
19085 * io/fchownat.c: Likewise.
19086 * io/fcntl.c: Likewise.
19087 * io/flock.c: Likewise.
19088 * io/fstatfs.c: Likewise.
19089 * io/fstatfs64.c: Likewise.
19090 * io/fstatvfs.c: Likewise.
19091 * io/fstatvfs64.c: Likewise.
19092 * io/futimens.c: Likewise.
19093 * io/fxstat.c: Likewise.
19094 * io/fxstat64.c: Likewise.
19095 * io/fxstatat.c: Likewise.
19096 * io/fxstatat64.c: Likewise.
19097 * io/getcwd.c: Likewise.
19098 * io/isatty.c: Likewise.
19099 * io/lchmod.c: Likewise.
19100 * io/lchown.c: Likewise.
19101 * io/link.c: Likewise.
19102 * io/linkat.c: Likewise.
19103 * io/lseek.c: Likewise.
19104 * io/lseek64.c: Likewise.
19105 * io/lxstat64.c: Likewise.
19106 * io/mkdir.c: Likewise.
19107 * io/mkdirat.c: Likewise.
19108 * io/mkfifo.c: Likewise.
19109 * io/mkfifoat.c: Likewise.
19110 * io/open.c: Likewise.
19111 * io/open64.c: Likewise.
19112 * io/openat.c: Likewise.
19113 * io/openat64.c: Likewise.
19114 * io/pipe.c: Likewise.
19115 * io/pipe2.c: Likewise.
19116 * io/poll.c: Likewise.
19117 * io/posix_fadvise.c: Likewise.
19118 * io/posix_fadvise64.c: Likewise.
19119 * io/posix_fallocate.c: Likewise.
19120 * io/posix_fallocate64.c: Likewise.
19121 * io/read.c: Likewise.
19122 * io/readlink.c: Likewise.
19123 * io/readlinkat.c: Likewise.
19124 * io/rmdir.c: Likewise.
19125 * io/sendfile.c: Likewise.
19126 * io/sendfile64.c: Likewise.
19127 * io/statfs.c: Likewise.
19128 * io/statfs64.c: Likewise.
19129 * io/statvfs.c: Likewise.
19130 * io/statvfs64.c: Likewise.
19131 * io/symlink.c: Likewise.
19132 * io/symlinkat.c: Likewise.
19133 * io/ttyname.c: Likewise.
19134 * io/ttyname_r.c: Likewise.
19135 * io/umask.c: Likewise.
19136 * io/unlink.c: Likewise.
19137 * io/unlinkat.c: Likewise.
19138 * io/utime.c: Likewise.
19139 * io/utimensat.c: Likewise.
19140 * io/write.c: Likewise.
19141 * io/xmknod.c: Likewise.
19142 * io/xmknodat.c: Likewise.
19143 * io/xstat.c: Likewise.
19144 * io/xstat64.c: Likewise.
19145 * login/getpt.c: Likewise.
19146 * login/grantpt.c: Likewise.
19147 * login/unlockpt.c: Likewise.
19148 * math/e_acoshl.c: Likewise.
19149 * math/e_acosl.c: Likewise.
19150 * math/e_asinl.c: Likewise.
19151 * math/e_atan2l.c: Likewise.
19152 * math/e_atanhl.c: Likewise.
19153 * math/e_coshl.c: Likewise.
19154 * math/e_expl.c: Likewise.
19155 * math/e_fmodl.c: Likewise.
19156 * math/e_gammal_r.c: Likewise.
19157 * math/e_hypotl.c: Likewise.
19158 * math/e_j0l.c: Likewise.
19159 * math/e_j1l.c: Likewise.
19160 * math/e_jnl.c: Likewise.
19161 * math/e_lgammal_r.c: Likewise.
19162 * math/e_log10l.c: Likewise.
19163 * math/e_log2l.c: Likewise.
19164 * math/e_logl.c: Likewise.
19165 * math/e_powl.c: Likewise.
19166 * math/e_rem_pio2l.c: Likewise.
19167 * math/e_sinhl.c: Likewise.
19168 * math/e_sqrtl.c: Likewise.
19169 * math/fclrexcpt.c: Likewise.
19170 * math/fedisblxcpt.c: Likewise.
19171 * math/feenablxcpt.c: Likewise.
19172 * math/fegetenv.c: Likewise.
19173 * math/fegetexcept.c: Likewise.
19174 * math/fegetround.c: Likewise.
19175 * math/feholdexcpt.c: Likewise.
19176 * math/fesetenv.c: Likewise.
19177 * math/fesetround.c: Likewise.
19178 * math/feupdateenv.c: Likewise.
19179 * math/fgetexcptflg.c: Likewise.
19180 * math/fraiseexcpt.c: Likewise.
19181 * math/fsetexcptflg.c: Likewise.
19182 * math/ftestexcept.c: Likewise.
19183 * math/k_cosl.c: Likewise.
19184 * math/k_rem_pio2l.c: Likewise.
19185 * math/k_sinl.c: Likewise.
19186 * math/k_tanl.c: Likewise.
19187 * math/s_asinhl.c: Likewise.
19188 * math/s_atanl.c: Likewise.
19189 * math/s_cbrtl.c: Likewise.
19190 * math/s_erfl.c: Likewise.
19191 * math/s_expm1l.c: Likewise.
19192 * math/s_log1pl.c: Likewise.
19193 * math/s_tanhl.c: Likewise.
19194 * misc/acct.c: Likewise.
19195 * misc/brk.c: Likewise.
19196 * misc/chflags.c: Likewise.
19197 * misc/chroot.c: Likewise.
19198 * misc/fchflags.c: Likewise.
19199 * misc/fgetxattr.c: Likewise.
19200 * misc/flistxattr.c: Likewise.
19201 * misc/fremovexattr.c: Likewise.
19202 * misc/fsetxattr.c: Likewise.
19203 * misc/fsync.c: Likewise.
19204 * misc/ftruncate.c: Likewise.
19205 * misc/futimes.c: Likewise.
19206 * misc/futimesat.c: Likewise.
19207 * misc/getdomain.c: Likewise.
19208 * misc/getdtsz.c: Likewise.
19209 * misc/gethostid.c: Likewise.
19210 * misc/gethostname.c: Likewise.
19211 * misc/getloadavg.c: Likewise.
19212 * misc/getpagesize.c: Likewise.
19213 * misc/getsysstats.c: Likewise.
19214 * misc/getxattr.c: Likewise.
19215 * misc/gtty.c: Likewise.
19216 * misc/ioctl.c: Likewise.
19217 * misc/lgetxattr.c: Likewise.
19218 * misc/listxattr.c: Likewise.
19219 * misc/llistxattr.c: Likewise.
19220 * misc/lremovexattr.c: Likewise.
19221 * misc/lsetxattr.c: Likewise.
19222 * misc/lutimes.c: Likewise.
19223 * misc/madvise.c: Likewise.
19224 * misc/mincore.c: Likewise.
19225 * misc/mlock.c: Likewise.
19226 * misc/mlockall.c: Likewise.
19227 * misc/mmap.c: Likewise.
19228 * misc/mprotect.c: Likewise.
19229 * misc/msync.c: Likewise.
19230 * misc/munlock.c: Likewise.
19231 * misc/munlockall.c: Likewise.
19232 * misc/munmap.c: Likewise.
19233 * misc/preadv.c: Likewise.
19234 * misc/preadv64.c: Likewise.
19235 * misc/ptrace.c: Likewise.
19236 * misc/pwritev.c: Likewise.
19237 * misc/pwritev64.c: Likewise.
19238 * misc/readv.c: Likewise.
19239 * misc/reboot.c: Likewise.
19240 * misc/remap_file_pages.c: Likewise.
19241 * misc/removexattr.c: Likewise.
19242 * misc/revoke.c: Likewise.
19243 * misc/select.c: Likewise.
19244 * misc/setdomain.c: Likewise.
19245 * misc/setegid.c: Likewise.
19246 * misc/seteuid.c: Likewise.
19247 * misc/sethostid.c: Likewise.
19248 * misc/sethostname.c: Likewise.
19249 * misc/setregid.c: Likewise.
19250 * misc/setreuid.c: Likewise.
19251 * misc/setxattr.c: Likewise.
19252 * misc/sstk.c: Likewise.
19253 * misc/stty.c: Likewise.
19254 * misc/swapoff.c: Likewise.
19255 * misc/swapon.c: Likewise.
19256 * misc/sync.c: Likewise.
19257 * misc/syncfs.c: Likewise.
19258 * misc/syscall.c: Likewise.
19259 * misc/truncate.c: Likewise.
19260 * misc/ualarm.c: Likewise.
19261 * misc/usleep.c: Likewise.
19262 * misc/ustat.c: Likewise.
19263 * misc/utimes.c: Likewise.
19264 * misc/vhangup.c: Likewise.
19265 * misc/writev.c: Likewise.
19266 * posix/_exit.c: Likewise.
19267 * posix/alarm.c: Likewise.
19268 * posix/execve.c: Likewise.
19269 * posix/fexecve.c: Likewise.
19270 * posix/fork.c: Likewise.
19271 * posix/fpathconf.c: Likewise.
19272 * posix/getaddrinfo.c: Likewise.
19273 * posix/getegid.c: Likewise.
19274 * posix/geteuid.c: Likewise.
19275 * posix/getgid.c: Likewise.
19276 * posix/getgroups.c: Likewise.
19277 * posix/getlogin.c: Likewise.
19278 * posix/getlogin_r.c: Likewise.
19279 * posix/getpgid.c: Likewise.
19280 * posix/getpid.c: Likewise.
19281 * posix/getppid.c: Likewise.
19282 * posix/getresgid.c: Likewise.
19283 * posix/getresuid.c: Likewise.
19284 * posix/getsid.c: Likewise.
19285 * posix/getuid.c: Likewise.
19286 * posix/glob64.c: Likewise.
19287 * posix/nanosleep.c: Likewise.
19288 * posix/pathconf.c: Likewise.
19289 * posix/pause.c: Likewise.
19290 * posix/posix_madvise.c: Likewise.
19291 * posix/pread.c: Likewise.
19292 * posix/pread64.c: Likewise.
19293 * posix/pwrite.c: Likewise.
19294 * posix/pwrite64.c: Likewise.
19295 * posix/sched_getaffinity.c: Likewise.
19296 * posix/sched_getp.c: Likewise.
19297 * posix/sched_gets.c: Likewise.
19298 * posix/sched_primax.c: Likewise.
19299 * posix/sched_primin.c: Likewise.
19300 * posix/sched_rr_gi.c: Likewise.
19301 * posix/sched_setaffinity.c: Likewise.
19302 * posix/sched_setp.c: Likewise.
19303 * posix/sched_sets.c: Likewise.
19304 * posix/sched_yield.c: Likewise.
19305 * posix/setgid.c: Likewise.
19306 * posix/setlogin.c: Likewise.
19307 * posix/setpgid.c: Likewise.
19308 * posix/setresgid.c: Likewise.
19309 * posix/setresuid.c: Likewise.
19310 * posix/setsid.c: Likewise.
19311 * posix/setuid.c: Likewise.
19312 * posix/sleep.c: Likewise.
19313 * posix/spawni.c: Likewise.
19314 * posix/sysconf.c: Likewise.
19315 * posix/times.c: Likewise.
19316 * posix/wait.c: Likewise.
19317 * posix/wait3.c: Likewise.
19318 * posix/wait4.c: Likewise.
19319 * posix/waitpid.c: Likewise.
19320 * resolv/gai_sigqueue.c: Likewise.
19321 * resource/getpriority.c: Likewise.
19322 * resource/getrlimit.c: Likewise.
19323 * resource/getrusage.c: Likewise.
19324 * resource/nice.c: Likewise.
19325 * resource/setpriority.c: Likewise.
19326 * resource/setrlimit.c: Likewise.
19327 * resource/ulimit.c: Likewise.
19328 * rt/aio_cancel.c: Likewise.
19329 * rt/aio_fsync.c: Likewise.
19330 * rt/aio_read.c: Likewise.
19331 * rt/aio_sigqueue.c: Likewise.
19332 * rt/aio_suspend.c: Likewise.
19333 * rt/aio_write.c: Likewise.
19334 * rt/clock_getres.c: Likewise.
19335 * rt/clock_gettime.c: Likewise.
19336 * rt/clock_nanosleep.c: Likewise.
19337 * rt/clock_settime.c: Likewise.
19338 * rt/lio_listio.c: Likewise.
19339 * rt/mq_close.c: Likewise.
19340 * rt/mq_getattr.c: Likewise.
19341 * rt/mq_notify.c: Likewise.
19342 * rt/mq_open.c: Likewise.
19343 * rt/mq_receive.c: Likewise.
19344 * rt/mq_send.c: Likewise.
19345 * rt/mq_setattr.c: Likewise.
19346 * rt/mq_timedreceive.c: Likewise.
19347 * rt/mq_timedsend.c: Likewise.
19348 * rt/mq_unlink.c: Likewise.
19349 * rt/shm_open.c: Likewise.
19350 * rt/shm_unlink.c: Likewise.
19351 * rt/timer_create.c: Likewise.
19352 * rt/timer_delete.c: Likewise.
19353 * rt/timer_getoverr.c: Likewise.
19354 * rt/timer_gettime.c: Likewise.
19355 * rt/timer_settime.c: Likewise.
19356 * setjmp/__longjmp.c: Likewise.
19357 * setjmp/setjmp.c: Likewise.
19358 * signal/kill.c: Likewise.
19359 * signal/killpg.c: Likewise.
19360 * signal/raise.c: Likewise.
19361 * signal/sigaction.c: Likewise.
19362 * signal/sigaltstack.c: Likewise.
19363 * signal/sigblock.c: Likewise.
19364 * signal/sigignore.c: Likewise.
19365 * signal/sigintr.c: Likewise.
19366 * signal/signal.c: Likewise.
19367 * signal/sigpause.c: Likewise.
19368 * signal/sigpending.c: Likewise.
19369 * signal/sigqueue.c: Likewise.
19370 * signal/sigreturn.c: Likewise.
19371 * signal/sigset.c: Likewise.
19372 * signal/sigsetmask.c: Likewise.
19373 * signal/sigstack.c: Likewise.
19374 * signal/sigsuspend.c: Likewise.
19375 * signal/sigtimedwait.c: Likewise.
19376 * signal/sigvec.c: Likewise.
19377 * signal/sigwait.c: Likewise.
19378 * signal/sigwaitinfo.c: Likewise.
19379 * signal/sysv_signal.c: Likewise.
19380 * socket/accept.c: Likewise.
19381 * socket/accept4.c: Likewise.
19382 * socket/bind.c: Likewise.
19383 * socket/connect.c: Likewise.
19384 * socket/getpeername.c: Likewise.
19385 * socket/getsockname.c: Likewise.
19386 * socket/getsockopt.c: Likewise.
19387 * socket/isfdtype.c: Likewise.
19388 * socket/listen.c: Likewise.
19389 * socket/recv.c: Likewise.
19390 * socket/recvfrom.c: Likewise.
19391 * socket/recvmsg.c: Likewise.
19392 * socket/send.c: Likewise.
19393 * socket/sendmsg.c: Likewise.
19394 * socket/sendto.c: Likewise.
19395 * socket/setsockopt.c: Likewise.
19396 * socket/shutdown.c: Likewise.
19397 * socket/sockatmark.c: Likewise.
19398 * socket/socket.c: Likewise.
19399 * socket/socketpair.c: Likewise.
19400 * stdio-common/ctermid.c: Likewise.
19401 * stdio-common/cuserid.c: Likewise.
19402 * stdio-common/remove.c: Likewise.
19403 * stdio-common/rename.c: Likewise.
19404 * stdio-common/renameat.c: Likewise.
19405 * stdio-common/tempname.c: Likewise.
19406 * stdlib/getcontext.c: Likewise.
19407 * stdlib/makecontext.c: Likewise.
19408 * stdlib/setcontext.c: Likewise.
19409 * stdlib/swapcontext.c: Likewise.
19410 * stdlib/system.c: Likewise.
19411 * streams/fattach.c: Likewise.
19412 * streams/fdetach.c: Likewise.
19413 * streams/getmsg.c: Likewise.
19414 * streams/getpmsg.c: Likewise.
19415 * streams/putmsg.c: Likewise.
19416 * streams/putpmsg.c: Likewise.
19417 * sysdeps/unix/bsd/getpt.c: Likewise.
19418 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19419 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19420 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19422 Likewise.
19423 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19425 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19426 * sysvipc/msgctl.c: Likewise.
19427 * sysvipc/msgget.c: Likewise.
19428 * sysvipc/msgrcv.c: Likewise.
19429 * sysvipc/msgsnd.c: Likewise.
19430 * sysvipc/semctl.c: Likewise.
19431 * sysvipc/semget.c: Likewise.
19432 * sysvipc/semop.c: Likewise.
19433 * sysvipc/semtimedop.c: Likewise.
19434 * sysvipc/shmat.c: Likewise.
19435 * sysvipc/shmctl.c: Likewise.
19436 * sysvipc/shmdt.c: Likewise.
19437 * sysvipc/shmget.c: Likewise.
19438 * termios/tcdrain.c: Likewise.
19439 * termios/tcflow.c: Likewise.
19440 * termios/tcflush.c: Likewise.
19441 * termios/tcgetattr.c: Likewise.
19442 * termios/tcgetpgrp.c: Likewise.
19443 * termios/tcsendbrk.c: Likewise.
19444 * termios/tcsetattr.c: Likewise.
19445 * termios/tcsetpgrp.c: Likewise.
19446 * time/adjtime.c: Likewise.
19447 * time/clock.c: Likewise.
19448 * time/getitimer.c: Likewise.
19449 * time/gettimeofday.c: Likewise.
19450 * time/setitimer.c: Likewise.
19451 * time/settimeofday.c: Likewise.
19452 * time/stime.c: Likewise.
19453 * time/time.c: Likewise.
19454
194552012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 19456
a20492cf
PT
19457 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19458 /usr/old/bin.
19459
72e182e3
PT
19460 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19461 instead of spaces.
19462 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19463
fbeafede
JM
194642012-11-03 Joseph Myers <joseph@codesourcery.com>
19465
5b5b04d6
JM
19466 [BZ #14796]
19467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19468 FE_TONEAREST before applying Dekker multiplication and Knuth
19469 addition. Clear inexact exceptions and check for exact zero
19470 results afterwards.
19471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19472 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19474 * math/libm-test.inc (fma_test): Add more tests.
19475 (fma_test_towardzero): Likewise.
19476 (fma_test_downward): Likewise.
19477 (fma_test_upward): Likewise.
19478 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19479 function.
19480 (libc_fesetround): New macro.
19481 (libc_fesetroundf): Likewise.
19482 (libc_fesetroundl): Likewise.
19483 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19484 function.
19485 (libc_fesetround_387): Likewise.
19486 (libc_fesetroundf): New macro.
19487 (libc_fesetround): Likewise.
19488 (libc_fesetroundl): Likewise.
19489 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19490 function.
19491 (libc_fesetroundf): New macro.
19492 (libc_fesetround): Likewise.
19493 (libc_fesetroundl): Likewise.
19494 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19495 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19496 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19497 libm_hidden_ver.
19498 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19499 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19500 libm_hidden_def.
19501 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19502 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19503 libm_hidden_ver.
19504 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19505 libm_hidden_def.
19506
fbeafede
JM
19507 [BZ #3439]
19508 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19509 integer constant usable in #if and use that to give value to enum
19510 constant.
19511 (FE_DIVBYZERO): Likewise.
19512 (FE_UNDERFLOW): Likewise.
19513 (FE_OVERFLOW): Likewise.
19514 (FE_INVALID): Likewise.
19515 (FE_INVALID_SNAN): Likewise.
19516 (FE_INVALID_ISI): Likewise.
19517 (FE_INVALID_IDI): Likewise.
19518 (FE_INVALID_ZDZ): Likewise.
19519 (FE_INVALID_IMZ): Likewise.
19520 (FE_INVALID_COMPARE): Likewise.
19521 (FE_INVALID_SOFTWARE): Likewise.
19522 (FE_INVALID_SQRT): Likewise.
19523 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19524 (FE_TONEAREST): Likewise.
19525 (FE_TOWARDZERO): Likewise.
19526 (FE_UPWARD): Likewise.
19527 (FE_DOWNWARD): Likewise.
19528 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19529 (FE_DIVBYZERO): Likewise.
19530 (FE_OVERFLOW): Likewise.
19531 (FE_UNDERFLOW): Likewise.
19532 (FE_INEXACT): Likewise.
19533 (FE_TONEAREST): Likewise.
19534 (FE_DOWNWARD): Likewise.
19535 (FE_UPWARD): Likewise.
19536 (FE_TOWARDZERO): Likewise.
19537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19538 (FE_UNDERFLOW): Likewise.
19539 (FE_OVERFLOW): Likewise.
19540 (FE_DIVBYZERO): Likewise.
19541 (FE_INVALID): Likewise.
19542 (FE_TONEAREST): Likewise.
19543 (FE_TOWARDZERO): Likewise.
19544 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19545 (FE_OVERFLOW): Likewise.
19546 (FE_UNDERFLOW): Likewise.
19547 (FE_DIVBYZERO): Likewise.
19548 (FE_INEXACT): Likewise.
19549 (FE_TONEAREST): Likewise.
19550 (FE_TOWARDZERO): Likewise.
19551 (FE_UPWARD): Likewise.
19552 (FE_DOWNWARD): Likewise.
19553 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19554 (FE_DIVBYZERO): Likewise.
19555 (FE_OVERFLOW): Likewise.
19556 (FE_UNDERFLOW): Likewise.
19557 (FE_INEXACT): Likewise.
19558 (FE_TONEAREST): Likewise.
19559 (FE_DOWNWARD): Likewise.
19560 (FE_UPWARD): Likewise.
19561 (FE_TOWARDZERO): Likewise.
19562
105ca950
CM
195632012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19564
19565 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19566
a542b389
AS
195672012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19568
19569 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19570 commands. Quote $PWD.
19571 (blacklist_exports): Don't use remove_newlines. Replace "declare
19572 -x" by "export".
19573 (remove_newlines): Remove.
19574
f62c8abc
L
195752012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19576
19577 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19578 * stdlib/stdlib.h (atof): Moved to ...
19579 * include/bits/stdlib-float.h: Here. New file.
19580 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19581 * stdlib/bits/stdlib-float.h: New file.
19582 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19583 -mno-sse -mno-mmx.
19584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19585 <xmmintrin.h>.
19586
0155d5b2
JM
195872012-11-02 Joseph Myers <joseph@codesourcery.com>
19588
a68d0680
JM
19589 * conform/conformtest.pl (@headers): Add fenv.h.
19590 * conform/data/fenv.h-data: New file.
19591 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19592 include of <math/fenv.h>.
19593
caf7f573
JM
19594 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19595 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19596 && !UNIX98]. Enables tests for XOPEN2K8.
19597 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19598 POSIX2008]: Likewise.
19599
6c073ad6
JM
19600 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19601 (struct rusage): Do not expect type or its members.
19602
0155d5b2
JM
19603 [BZ #3439]
19604 * math/math.h (FP_NAN): Define macro to integer constant usable in
19605 #if and use that to give value to enum constant.
19606 (FP_INFINITE): Likewise.
19607 (FP_ZERO): Likewise.
19608 (FP_SUBNORMAL): Likewise.
19609 (FP_NORMAL): Likewise.
19610
b5dcacb4
AS
196112012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19612
19613 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19614 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19615 arguments.
19616
f7934be8
RM
196172012-11-02 Roland McGrath <roland@hack.frob.com>
19618
19619 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19620 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19621 autoconf-time if not.
19622 * configure.in: Remove AC_PREREQ.
19623
d7d08bde
TMQMF
196242012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19625
19626 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19627 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19628 of the internal implementation.
19629
dcdae19a
JM
196302012-11-02 Joseph Myers <joseph@codesourcery.com>
19631
19632 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19633 except include of <misc/sys/syslog.h>.
19634
d6cffd3e
AS
196352012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19636
19637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19638 function returns with a NULL context exit with zero.
19639
b3563932
TMQMF
196402012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19641
19642 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19643
b288a93d
L
196442012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19645
19646 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19647 (run_program_cmd): This.
19648 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19649 (tst_langinfo): New variable. Use it.
19650
a2421a68
SAS
196512012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19652
19653 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19654 floating point opcodes.
19655
6f796e1b
TS
196562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19657
7402596b
TS
19658 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19659 variable.
19660
d0d4f868
TS
19661 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19662
6f796e1b
TS
19663 * sysdeps/mach/hurd/powerpc: Remove directory.
19664 * sysdeps/mach/powerpc: Likewise.
19665
4da224a2
AS
196662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19667
19668 * scripts/check-local-headers.sh: Ignore c++ headers.
19669
341dd673
TS
196702012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19671
19672 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19673 __libc_cleanup_region_start argument.
19674
473611b2
JM
196752012-11-01 Joseph Myers <joseph@codesourcery.com>
19676
19677 [BZ #14784]
19678 [BZ #14785]
19679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19680 x * y using scaling, not as x * y + z.
19681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19683 * math/libm-test.inc (fma_test): Add more tests.
19684 (fma_test_towardzero): Likewise.
19685 (fma_test_downward): Likewise.
19686 (fma_test_upward): Likewise.
19687
4078da3d
TS
196882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19689
19690 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19691
903252aa
JM
196922012-10-31 Joseph Myers <joseph@codesourcery.com>
19693
19694 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19695 New variable.
19696
cbc818d0
TS
196972012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19698
19699 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19700
5a03cb1e
AS
197012012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19702
19703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19704 Fix sort order.
19705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19706 Likewise.
19707
90aff2ff
TMQMF
197082012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19709
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19711 Fix the order of the list for glibc 2.17.
19712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19713 Likewise.
19714
1818fcb7
AS
197152012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19716
19717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19718
ef82f4da
JM
197192012-10-31 Joseph Myers <joseph@codesourcery.com>
19720
16a0e2ec
JM
19721 [BZ #14610]
19722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19723 for low part of x being zero before using __atanl (y).
19724 * math/libm-test.inc (atan2_test): Add another test.
19725
0eb69512
JM
19726 * manual/install.texi (Configuring and compiling): Document
19727 general use of test-wrapper and test-wrapper-env.
19728 * INSTALL: Regenerated.
19729
ef82f4da
JM
19730 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19731 (__fma): Do not extract and scale down low bits on after-rounding
19732 systems when result rounded to normal precision would have normal
19733 exponent.
19734 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19735 (__fmal): Do not extract and scale down low bits on after-rounding
19736 systems when result rounded to normal precision would have normal
19737 exponent.
19738 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19739 (__fmal): Do not extract and scale down low bits on after-rounding
19740 systems when result rounded to normal precision would have normal
19741 exponent.
19742 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19743 macro.
19744 (fma_test): Add more tests.
19745 (fma_test_towardzero): Likewise.
19746 (fma_test_downward): Likewise.
19747 (fma_test_upward): Likewise.
19748
954ef0d9
L
197492012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19750
19751 * sysdeps/i386/tininess.h: Renamed to ...
19752 * sysdeps/x86/tininess.h: This.
19753 * sysdeps/x86_64/tininess.h: Removed.
19754
df61ffb2
JM
197552012-10-30 Joseph Myers <joseph@codesourcery.com>
19756
19757 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19758 input. Use $(build-program-cmd).
19759 ($(objpfx)tst-array1-static.out): Likewise.
19760 ($(objpfx)tst-array2.out): Likewise.
19761 ($(objpfx)tst-array3.out): Likewise.
19762 ($(objpfx)tst-array4.out): Likewise.
19763 ($(objpfx)tst-array5.out): Likewise.
19764 ($(objpfx)tst-array5-static.out): Likewise.
19765
01767843
CM
197662012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19767
47cc1490
CM
19768 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19769 if defined.
19770
01767843
CM
19771 * nss/nsswitch.h (nss_interface_function): Provide new
19772 macro for use with NSS functions.
19773 * grp/initgroups.c: Use new macro.
19774 * nss/getXXbyYY.c: Likewise.
19775 * nss/getXXbyYY_r.c: Likewise.
19776 * nss/getXXent.c: Likewise.
19777 * nss/getXXent_r.c: Likewise.
19778 * sysdeps/posix/getaddrinfo.c: Likewise.
19779
8321aa97
AJ
197802012-10-30 Andreas Jaeger <aj@suse.de>
19781
19782 * po/ru.po: Update Russion translation from translation project.
19783
2a27fd6d
JM
197842012-10-30 Joseph Myers <joseph@codesourcery.com>
19785
8627a232
JM
19786 [BZ #14152]
19787 [BZ #14783]
19788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19789 result and shift together with sticky bit instead of replicating
19790 round-to-nearest rounding.
19791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19793 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19794 missing underflow exceptions.
19795 (fma_test_towardzero): Add more tests.
19796 (fma_test_downward): Likewise.
19797 (fma_test_upward): Likewise.
19798
2a27fd6d
JM
19799 [BZ #14047]
19800 * sysdeps/generic/tininess.h: New file.
19801 * sysdeps/i386/tininess.h: Likewise.
19802 * sysdeps/sh/tininess.h: Likewise.
19803 * sysdeps/x86_64/tininess.h: Likewise.
19804 * stdlib/tst-strtod-underflow.c: Likewise.
19805 * stdlib/tst-tininess.c: Likewise.
19806 * stdlib/strtod_l.c: Include <tininess.h>.
19807 (round_and_return): Do not set errno for exact underflow cases.
19808 Force an underflow exception when setting errno for underflow.
19809 Determine underflow based on rounding to normal precision if
19810 TININESS_AFTER_ROUNDING.
19811 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19812 ERANGE for exact underflow cases.
19813 * stdlib/Makefile (tests): Add tst-tininess and
19814 tst-strtod-underflow.
19815 ($(objpfx)tst-tininess): Use $(link-libm).
19816 ($(objpfx)tst-strtod-underflow): Likewise.
19817
e7170363
AJ
198182012-10-30 Andreas Jaeger <aj@suse.de>
19819
e5088dc6
AJ
19820 [BZ#14767]
19821 * elf/Makefile (tests): Remove conditional for have-initfini-array
19822 since this is now always required and the variable does not exist
19823 anymore.
19824 (tests-static): Likewise.
19825 (modules-names): Likewise.
19826
e7170363 19827 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19828
19829 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19830 merged with constructor/destructor.
19831 (init_array): Likewise.
19832 * elf/tst-array2dep.c (fini_array): Likewise.
19833 (init_array): Likewise.
19834
60457d8a
MF
198352012-10-29 Mike Frysinger <vapier@gentoo.org>
19836
19837 * manual/message.texi: Delete @cartouche tags.
19838
8bece752
PT
198392012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19840
94ce799f
PT
19841 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19842 EOPNOTSUPP.
19843 * sysdeps/mach/hurd/fsync.c: Likewise.
19844
8bece752
PT
19845 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19846 [_POSIX_REALTIME_SIGNALS]: Change condition to
19847 [_POSIX_REALTIME_SIGNALS > 0].
19848
86ebe6b1
AJ
198492012-10-27 Andreas Jaeger <aj@suse.de>
19850
19851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19852 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19854 [__WORDSIZE != 64]: Likewise.
19855
54399c08
L
198562012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19857
19858 * iconvdata/tst-table.sh: Remove ${SHELL}.
19859 * iconvdata/tst-tables.sh: Likewise.
19860
e2211bed
DM
198612012-10-25 David S. Miller <davem@davemloft.net>
19862
19863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19864 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19865 of strtoull.
19866
f303f97c
DM
19867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19868 ifunc-impl-list.c
19869 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19870 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19871 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19872 file.
19873
1e9d84cd
RM
198742012-10-25 Roland McGrath <roland@hack.frob.com>
19875
19876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19877 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19878 __getdirentries.
19879
df381762
JM
198802012-10-25 Joseph Myers <joseph@codesourcery.com>
19881 Jim Blandy <jimb@codesourcery.com>
19882
19883 * scripts/cross-test-ssh.sh: New file.
19884 * manual/install.texi (Configuring and compiling): Document use of
19885 cross-test-ssh.sh.
19886 * INSTALL: Regenerated.
19887
bff64913
PT
198882012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19889
19890 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19891 EOPNOTSUPP.
19892
25fe8932
JM
198932012-10-25 Joseph Myers <joseph@codesourcery.com>
19894
19895 * Makeconfig (run-program-prefix): Fix comment.
19896
cc1290d0
JM
198972012-10-24 Joseph Myers <joseph@codesourcery.com>
19898 Jim Blandy <jimb@codesourcery.com>
19899
19900 * Makeconfig (test-wrapper): New variable,
19901 (test-wrapper-env): Likewise.
19902 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19903 (run-built-tests): Define to yes.
19904 (run-program-prefix): Use $(test-wrapper).
19905 (built-program-cmd): Likewise.
19906 * Rules (make-test-out): Use $(test-wrapper-env) and
19907 $(host-built-program-cmd).
19908 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19909 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19910 tst-pathopt.sh.
19911 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19912 $(test-wrapper-env) to tst-rtld-load-self.sh.
19913 ($(objpfx)order2.out): Use $(test-wrapper).
19914 ($(objpfx)tst-initorder.out): Likewise.
19915 ($(objpfx)tst-initorder2.out): Likewise.
19916 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19917 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19918 (test_wrapper_env): New variable. Use it to run ld.so.
19919 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19920 Use it to run ld.so.
19921 (test_wrapper_env): Likewise.
19922 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19923 $(test-wrapper) to run-iconv-test.sh.
19924 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19925 (ICONV): Use $test_wrapper.
19926 * posix/Makefile ($(objpfx)globtest.out): Pass
19927 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19928 globtest.sh, not $(run-program-prefix).
19929 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19930 (test_wrapper): Likewise.
19931 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19932 set together with run_via_rtld_prefix.
19933 (run_program_prefix): Define in terms of test_wrapper and
19934 run_via_rtld_prefix.
19935
6e6249d0
RM
199362012-10-24 Roland McGrath <roland@hack.frob.com>
19937
19938 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19939 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19940 Targets removed.
19941
19942 [BZ #14743]
19943 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19944 Declare __clock_getres, __clock_gettime, __clock_settime,
19945 __clock_nanosleep, and __clock_getcpuclockid.
19946 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19947 Remove librt_hidden_def (clock_gettime).
19948 * sysdeps/unix/clock_gettime.c: Likewise.
19949 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19950 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19951 * rt/clock_getres.c: Define __clock_getres as an alias.
19952 * sysdeps/posix/clock_getres.c: Likewise.
19953 * rt/clock_settime.c: Define __clock_settime as an alias.
19954 * sysdeps/unix/clock_settime.c: Likewise.
19955 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19956 * sysdeps/unix/clock_nanosleep.c: Likewise.
19957 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19958 * rt/clock-compat.c: New file.
19959 * rt/Makefile (librt-routines): Add clock-compat and move
19960 $(clock-routines) to ...
19961 (routines): ... here, new variable.
19962 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19963 Don't add get_clockfreq here.
19964 * rt/Versions (libc: GLIBC_2.17): New version set.
19965 Add clock_* symbols here.
19966 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19968 (GLIBC_2.17): Add clock_* symbols.
19969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19973 Likewise.
19974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19975 Likewise.
19976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19980 * NEWS: Mention the move.
19981
19982 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19983 Use __open, __read, __close rather than their public counterparts.
19984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19985 (__get_clockfreq_via_cpuinfo): Likewise.
19986 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19987 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19988
19989 * config.h.in (HAVE_IFUNC): New #undef.
19990 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19991 was successful.
19992 * configure: Regenerated.
19993
0cae3f4b
MF
199942012-10-24 Mike Frysinger <vapier@gentoo.org>
19995
19996 * configure.in: Move READELF check to start of file.
19997 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19998 libc_cv_asm_gnu_indirect_function in the process.
19999 * configure: Regenerated.
20000
8175a253
MF
200012012-10-24 Mike Frysinger <vapier@gentoo.org>
20002
20003 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
20004 send the output to /dev/null.
20005 (libc_cv_cc_with_libunwind): Likewise.
20006 (libc_cv_as_noexecstack): Likewise.
20007 * configure: Regenerate.
20008
0708a7d1
JM
200092012-10-24 Joseph Myers <joseph@codesourcery.com>
20010
10b40d85
JM
20011 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
20012
0708a7d1
JM
20013 * posix/globtest.sh (TMPDIR): Do not set.
20014 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
20015 (testout): Likewise.
20016
9fddec1a
AJ
200172012-10-24 Andreas Jaeger <aj@suse.de>
20018
3a8db22f
AJ
20019 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
20020 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
20021 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
20022 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
20023 posix_fadvise64, posix_fallocate64.
20024
9fddec1a
AJ
20025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
20026 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
20027 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
20028 Likewise.
20029 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
20030 Likewise.
20031 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
20032
20033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
20034 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
20035 <bits/fcntl-linux.h>.
20036 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
20037
20038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
20039 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
20040 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
20041 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
20042 [__WORDSIZE != 64]: Likewise.
20043
ebfd1bbd
JM
200442012-10-23 Joseph Myers <joseph@codesourcery.com>
20045
03ac099f
JM
20046 * Makeconfig (run-built-tests): New variable.
20047 * Rules [$(cross-compiling) = yes]: Change condition to
20048 [$(run-built-tests) = no].
20049 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
20050 to [$(run-built-tests) = yes].
20051 * elf/Makefile [$(cross-compiling) = no]: Likewise
20052 * grp/Makefile [$(cross-compiling) = no]: Likewise.
20053 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
20054 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
20055 * intl/Makefile [$(cross-compiling) = no]: Likewise.
20056 * io/Makefile [$(cross-compiling) = no]: Likewise.
20057 * libio/Makefile [$(cross-compiling) = no]: Likewise.
20058 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
20059 * misc/Makefile [$(cross-compiling) = no]: Likewise.
20060 * posix/Makefile [$(cross-compiling) = no]: Likewise.
20061 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
20062 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
20063 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
20064 * string/Makefile [$(cross-compiling) = no]: Likewise.
20065
ebfd1bbd
JM
20066 * posix/Makefile ($(objpfx)globtest.out): Pass
20067 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
20068 $(rtld-installed-name).
20069 * posix/globtest.sh (elf_objpfx): Remove variable.
20070 (rtld_installed_name): Likewise.
20071 (library_path): Likewise.
20072 (run_program_prefix): New variable. Use for running globtest
20073 binary.
20074
166bca24
JB
200752012-10-23 Jim Blandy <jimb@codesourcery.com>
20076 Joseph Myers <joseph@codesourcery.com>
20077
20078 * Makeconfig (host-built-program-cmd): New variable.
20079 * elf/Makefile (tst-stackguard1-ARGS): Use
20080 $(host-built-program-cmd).
20081 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
20082 (tst-spawn-ARGS): Likewise.
20083 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
20084
88866099
JM
200852012-10-23 Joseph Myers <joseph@codesourcery.com>
20086 Jim Blandy <jimb@codesourcery.com>
20087
20088 * Makeconfig (run-via-rtld-prefix): New variable.
20089 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
20090 (built-program-cmd): Likewise.
20091
b4b4c296
AJ
200922012-10-22 Andreas Jaeger <aj@suse.de>
20093
20094 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
20095 __O_RSYNC if it exists, otherwise to O_SYNC.
20096
6fb54a22
JB
200972012-10-22 Jim Blandy <jimb@codesourcery.com>
20098 Joseph Myers <joseph@codesourcery.com>
20099
20100 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
20101 /dev/null.
20102 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
20103 from /dev/null
20104 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
20105 /dev/null.
20106
481b90b9
AJ
201072012-10-22 Andreas Jaeger <aj@suse.de>
20108
2a0e2669
AJ
20109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
20110 Define always.
20111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
20112
76e38f9a
AJ
20113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20114 bits/fcntl-linux.h.
20115
7cd37b43
AJ
20116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
20117 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
20118
481b90b9
AJ
20119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
20120 to __O_LARGEFILE.
20121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
20122 to __O_LARGEFILE.
20123
aba75984
JB
201242012-10-21 Jim Blandy <jimb@codesourcery.com>
20125 Joseph Myers <joseph@codesourcery.com>
20126
20127 * config.make.in (NM): New variable.
20128
88d4247f
AJ
201292012-10-21 Andreas Jaeger <aj@suse.de>
20130
20131 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
20132 definitions and declarations that are provided by
20133 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20134
f2eed205
L
201352012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20136
20137 [BZ #14683]
20138 * elf/Makefile (tests-static): Add tst-leaks1-static.
20139 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20140 ($(objpfx)tst-leaks1-static): New rule.
20141 ($(objpfx)tst-leaks1-static-mem): Likewise.
20142 (tst-leaks1-static-ENV): New macro.
20143 * elf/dl-open.c (dl_open_worker): Check the main application
20144 only if SHARED is defined.
20145 * elf/tst-leaks1-static.c: New file.
20146
335e6931
AJ
201472012-10-20 Andreas Jaeger <aj@suse.de>
20148
20149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20150 generic values for Linux.
20151 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20152 and declarations that are provided by <bits/fcntl-linux.h> and
20153 include <bits/fcntl-linux.h>.
20154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20156
ac5c94d3
RM
201572012-10-20 Roland McGrath <roland@hack.frob.com>
20158
20159 * io/fcntl.h: Move include of <bits/types.h> to the top and
20160 include it unconditionally.
20161
de54b33a
L
201622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20163
228cfb01
L
20164 * wcsmbs/Makefile (tests-ifunc): New variable.
20165 (tests): Add $(tests-ifunc).
20166 * wcsmbs/test-wcschr-ifunc.c: New file.
20167 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20168 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20169 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20170 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20171 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20172
69f07e5f
L
20173 * string/Makefile (tests-ifunc): New variable.
20174 (tests): Add $(tests-ifunc).
20175 * string/test-memccpy.c (TEST_NAME): New macro.
20176 * string/test-memchr.c (TEST_NAME): Likewise.
20177 * string/test-memcmp.c (TEST_NAME): Likewise.
20178 * string/test-memcpy.c (TEST_NAME): Likewise.
20179 * string/test-memmem.c (TEST_NAME): Likewise.
20180 * string/test-memmove.c (TEST_NAME): Likewise.
20181 * string/test-memset.c (TEST_NAME): Likewise.
20182 * string/test-rawmemchr.c (TEST_NAME): Likewise.
20183 * string/test-stpcpy.c (TEST_NAME): Likewise.
20184 * string/test-stpncpy.c (TEST_NAME): Likewise.
20185 * string/test-strcasecmp.c (TEST_NAME): Likewise.
20186 * string/test-strcasestr.c (TEST_NAME): Likewise.
20187 * string/test-strcat.c (TEST_NAME): Likewise.
20188 * string/test-strchr.c (TEST_NAME): Likewise.
20189 * string/test-strcmp.c(TEST_NAME): Likewise.
20190 * string/test-strcpy.c (TEST_NAME): Likewise.
20191 * string/test-strcspn.c (TEST_NAME): Likewise.
20192 * string/test-strlen.c (TEST_NAME): Likewise.
20193 * string/test-strncasecmp.c (TEST_NAME): Likewise.
20194 * string/test-strncmp.c (TEST_NAME): Likewise.
20195 * string/test-strncpy.c (TEST_NAME): Likewise.
20196 * string/test-strnlen.c (TEST_NAME): Likewise.
20197 * string/test-strpbrk.c (TEST_NAME): Likewise.
20198 * string/test-strrchr.c (TEST_NAME): Likewise.
20199 * string/test-strspn.c (TEST_NAME): Likewise.
20200 * string/test-strstr.c (TEST_NAME): Likewise.
20201 * string/test-bcopy-ifunc.c: New file.
20202 * string/test-bzero-ifunc.c: Likewise.
20203 * string/test-memccpy-ifunc.c: Likewise.
20204 * string/test-memchr-ifunc.c: Likewise.
20205 * string/test-memcmp-ifunc.c: Likewise.
20206 * string/test-memcpy-ifunc.c: Likewise.
20207 * string/test-memmem-ifunc.c: Likewise.
20208 * string/test-memmove-ifunc.c: Likewise.
20209 * string/test-mempcpy-ifunc.c: Likewise.
20210 * string/test-memset-ifunc.c: Likewise.
20211 * string/test-rawmemchr-ifunc.c: Likewise.
20212 * string/test-stpcpy-ifunc.c: Likewise.
20213 * string/test-stpncpy-ifunc.c: Likewise.
20214 * string/test-strcasecmp-ifunc.c: Likewise.
20215 * string/test-strcasestr-ifunc.c: Likewise.
20216 * string/test-strcat-ifunc.c: Likewise.
20217 * string/test-strchr-ifunc.c: Likewise.
20218 * string/test-strchrnul-ifunc.c: Likewise.
20219 * string/test-strcmp-ifunc.c: Likewise.
20220 * string/test-strcpy-ifunc.c: Likewise.
20221 * string/test-strcspn-ifunc.c: Likewise.
20222 * string/test-strlen-ifunc.c: Likewise.
20223 * string/test-strncasecmp-ifunc.c: Likewise.
20224 * string/test-strncat-ifunc.c: Likewise.
20225 * string/test-strncmp-ifunc.c: Likewise.
20226 * string/test-strncpy-ifunc.c: Likewise.
20227 * string/test-strnlen-ifunc.c: Likewise.
20228 * string/test-strpbrk-ifunc.c: Likewise.
20229 * string/test-strrchr-ifunc.c: Likewise.
20230 * string/test-strspn-ifunc.c: Likewise.
20231 * string/test-strstr-ifunc.c: Likewise.
20232
de54b33a
L
20233 * debug/Makefile (tests-ifunc): New variable.
20234 (tests): Add $(tests-ifunc).
20235 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20236 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20237 * debug/test-stpcpy_chk-ifunc.c: New file.
20238 * debug/test-strcpy_chk-ifunc.c: Likewise.
20239
88481c16
SP
202402012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20241
20242 [BZ #13601]
20243 * elf/dl-load.c (open_verify): Retry read if the entire ELF
20244 header is not read in.
20245
135948bd
JM
202462012-10-19 Joseph Myers <joseph@codesourcery.com>
20247
89f1c388
JM
20248 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
20249 script to $(SHELL) as $<. Pass $(common-objpfx) to script
20250 directly. Pass built executable to script as
20251 $(built-program-cmd).
20252 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
20253 $testprogram without using LD_LIBRARY_PATH and $ldso.
20254
e40a0d21
JM
20255 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20256 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20257 $(rtld-installed-name).
20258 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20259 (rtld_installed_name): Likewise.
20260 (library_path): Likewise.
20261 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
20262 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20263 $(run-program-prefix) to tst-tables.sh.
20264 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20265 it to run tst-table-from and tst-table-to.
20266 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20267 Pass it to tst-table.sh.
20268 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20269 $(run-program-prefix) to tst-gettext.sh.
20270 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20271 tst-translit.sh.
20272 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20273 tst-gettext2.sh.
20274 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20275 to run tst-gettext.
20276 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20277 to run tst-gettext2.
20278 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20279 to run tst-translit.
20280 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20281 $(run-program-prefix) to tst-mtrace.sh.
20282 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20283 to run tst-mtrace.
20284 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20285 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20286 $(rtld-installed-name).
20287 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20288 (rtld_installed_name): Likewise.
20289 (run_program_prefix): New variable. Use it to run wordexp-test.
20290
728e272a
JM
20291 * Makeconfig (ARCH): Remove all definitions.
20292 (machine): Likewise.
20293 [ARCH]: Remove conditional code.
20294 [!objdir]: Give error.
20295 [!objdir] (objpfx): Remove.
20296 [!objdir] (common-objpfx): Likewise.
20297 [!objdir] (common-objdir): Likewise.
20298 * configure.in (config_makefile): Remove. Hardcode Makefile in
20299 AC_CONFIG_FILES call.
20300 * configure: Regenerated.
20301
d528cdcf
JM
20302 [BZ #13888]
20303 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20304 or TMPDIR.
20305 (testout): Likewise.
20306
135948bd
JM
20307 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20308 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20309 $(rtld-installed-name).
20310 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20311 (rtld_installed_name): Likwise.
20312 (runit): Remove function.
20313 (run_getconf): New variable, Use it for running getconf binary.
20314
38c78296
L
203152012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20316
20317 [BZ #14716]
20318 * string/test-memmem.c (check_result): New function.
20319 (do_one_test): Use it.
20320 (check1): New function.
20321 (test_main): Use it.
20322
d077f65f
MT
203232012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20324
20325 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20326
ced52c71
JM
203272012-10-18 Joseph Myers <joseph@codesourcery.com>
20328
20329 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20330 (_G_LSEEK64): Likewise.
20331 (_G_MMAP64): Likewise.
20332 (_G_FSTAT64): Likewise.
20333 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20334 (_G_LSEEK64): Likewise.
20335 (_G_MMAP64): Likewise.
20336 (_G_FSTAT64): Likewise.
20337 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20338 unconditional. Call __mmap64 directly.
20339 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20340 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20341 __lseek64 directly.
20342 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20343 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20344 __mmap64 directly.
20345 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20346 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20347 __lseek64 directly.
20348 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20349 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20350 __lseek64 directly.
20351 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20352 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20353 __lseek64 directly.
20354 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20355 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20356 __fxstat64 directly.
20357 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20358 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20359 unconditional.
20360 (freopen64) [!_G_OPEN64]: Remove conditional code.
20361 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20362 unconditional.
20363 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20364 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20365 unconditional.
20366 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20367 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20368 unconditional.
20369 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20370 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20371 unconditional.
20372 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20373 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20374 unconditional.
20375 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20376 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20377 unconditional.
20378 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20379 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20380 unconditional.
20381 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20382
b741de23
SP
203832012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20384
20385 [BZ #12140]
20386 * manual/memory.texi (Malloc Tunable Parameters): Add note
20387 about free list pointers overwriting some perturb bytes.
20388 Wording suggested by Roland McGrath.
20389
f9b9d9c9
JM
203902012-10-17 Joseph Myers <joseph@codesourcery.com>
20391
20392 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20393 (lgamma_test): Likewise.
20394 (tgamma_test): Likewise.
20395
172a631a
FW
203962012-10-16 Florian Weimer <fweimer@redhat.com>
20397
20398 [BZ #14700]
20399 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20400 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20401
e9f37252
MK
204022012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20403
20404 * NEWS: Mention BZ #14716.
20405 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20406 when removing AVAILABLE1_USES_J macro.
20407
d394eb74
L
204082012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20409
20410 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20411 (__bswap_64): __uint64_t for unsigned 64-bit int.
20412
ca38dc17
AS
204132012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20414
20415 * include/string.h (memmem): Declare libc hidden alias.
20416 * string/memmem.c (memmem): Define libc hidden alias.
20417 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20418 __read, __close instead of open, read, close.
20419
9a387d1f
L
204202012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20421
ac49ecaf
L
20422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20423 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20424 global and hidden.
20425 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20426 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20427 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20428 Likewise.
20429 (__rawmemchr_sse2): Likewise.
20430 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20431 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20432 (__strchr_sse2): Likewise.
20433 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20434 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20435 (__strcasecmp_sse2): Likewise.
20436 (__strncasecmp_sse2): Likewise.
20437 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20438 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20439 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20440 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20441 (__strrchr_sse2): Likewise.
20442 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20443 ifunc-impl-list.c.
20444 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20445 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20446 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20447 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20448 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20449 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20450 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20451 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20452 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20453 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20454 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20455 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20456 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20457 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20458 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20459 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20460 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20461 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20462 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20463 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20464 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20465 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20466 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20467 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20468 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20469 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20470 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20471 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20472 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20473 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20474
b090e8ea
L
20475 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20476 global and hidden.
20477 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20478 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20479 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20480 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20481 Likewise.
20482 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20483 Likewise.
20484 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20485 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20486 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20487 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20488 ifunc-impl-list.c.
20489 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20490 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20491 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20492 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20493 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20494 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20495 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20496 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20497 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20498 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20502 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20503 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20505 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20506 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20507 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20508 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20514 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20515 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20516 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20517 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20518 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20519 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20520 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20521 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20522 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20523 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20524 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20525 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20526 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20527 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20528 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20529 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20530
11dd4af6
L
20531 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20532 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20533 * include/ifunc-impl-list.h: New file.
20534 * misc/ifunc-impl-list.c: Likewise.
20535 * misc/Makefile (routines): Add ifunc-impl-list.
20536 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20537 * string/test-string.h: Include <ifunc-impl-list.h>.
20538 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20539 impl_array): New variables.
20540 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20541 are defined.
20542 (test_init): Call __libc_ifunc_impl_list to initialize
20543 func_list if TEST_IFUNC and TEST_NAME are defined.
20544
9a387d1f
L
20545 * string/Makefile (strop-tests): Add bcopy and bzero.
20546 * string/test-bcopy.c: New file.
20547 * string/test-bzero.c: Likewise.
20548 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20549 defined.
20550 * string/test-memset.c: Support bzero test if TEST_BZERO is
20551 defined.
20552 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20553 __libc_memmove.
20554 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20555 __libc_memset.
20556 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20557 of memset.
20558
472371b9
JM
205592012-10-10 Joseph Myers <joseph@codesourcery.com>
20560
1e4a9536
JM
20561 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20562 * configure: Regenerated.
20563
d173d12e
JM
20564 * Makeconfig (+link-static-before-libc): Don't include
20565 $(link-static-libc).
20566
472371b9
JM
20567 * libio/libio.h (_IO_pos_t): Remove.
20568
89a3ad0b
AO
205692012-10-10 Alexandre Oliva <aoliva@redhat.com>
20570
20571 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20572 McGrath.
20573
e7451425
AO
205742012-10-10 Alexandre Oliva <aoliva@redhat.com>
20575
20576 * crypt/crypt-entry.c: Include fips-private.h.
20577 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20578 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20579 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20580 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20581
4ba74a35
AO
205822012-10-10 Alexandre Oliva <aoliva@redhat.com>
20583
20584 * crypt/crypt-private.h: Include stdbool.h.
20585 (_ufc_setup_salt_r): Return bool.
20586 * crypt/crypt-entry.c: Include errno.h.
20587 (__crypt_r): Return NULL with EINVAL for bad salt.
20588 * crypt/crypt_util.c (bad_for_salt): New.
20589 (_ufc_setup_salt_r): Check that salt is long enough and within
20590 the specified alphabet.
20591 * crypt/badsalttest.c: New file.
20592 * crypt/Makefile (tests): Add it.
20593 ($(objpfx)badsalttest): New.
20594
f96f1242
MK
205952012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20596
20597 * NEWS: Add entry for BZ #14602.
20598
0e8e0c1c
JM
205992012-10-09 Joseph Myers <joseph@codesourcery.com>
20600
20601 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20602 type-generic.
20603 * math/libm-test.inc: Update comment listing what functions and
20604 macros are tested.
20605 (isgreater_test): New function.
20606 (isgreaterequal_test): Likewise.
20607 (isless_test): Likewise.
20608 (islessequal_test): Likewise.
20609 (islessgreater_test): Likewise.
20610 (isunordered_test): Likewise.
20611 (main): Call the new functions.
20612
273edc5e
RM
206132012-10-09 Roland McGrath <roland@hack.frob.com>
20614
b8493de0
RM
20615 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20616 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20617 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20618 * sysdeps/i386/configure: Regenerated.
20619 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20620 * sysdeps/mach/configure: Regenerated.
20621 * sysdeps/mach/hurd/configure: Regenerated.
20622 * sysdeps/powerpc/configure: Regenerated.
20623 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20624 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20625 * sysdeps/s390/s390-32/configure: Regenerated.
20626 * sysdeps/s390/s390-64/configure: Regenerated.
20627 * sysdeps/sh/configure: Regenerated.
20628 * sysdeps/sparc/configure: Regenerated.
20629 * sysdeps/unix/sysv/linux/configure: Regenerated.
20630 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20631 * sysdeps/x86_64/configure: Regenerated.
20632
273edc5e
RM
20633 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20634 defined. Don't check if MAP is NULL.
20635
c8450f70
JM
206362012-10-09 Joseph Myers <joseph@codesourcery.com>
20637
20638 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20639 (_G_stat64): Likewise.
20640 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20641 (_G_stat64): Likewise.
20642 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20643 instead of struct _G_stat64.
20644 * libio/fileops.c (mmap_remap_check): Likewise.
20645 (decide_maybe_mmap): Likewise.
20646 (_IO_new_file_seekoff): Likewise.
20647 (_IO_file_stat): Likewise.
20648 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20649 _G_off64_t.
20650 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20651 instead of struct _G_stat64.
20652 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20653
57e605ba
MK
206542012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20655
20656 [BZ #14602]
20657 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20658 Replace with ...
20659 (CHECK_EOL): New macro.
20660 (two_way_short_needle): Check beginning of haystack for EOL. Use
20661 CHECK_EOL.
20662 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20663 Replace with CHECK_EOL.
20664 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20665 Replace with CHECK_EOL.
20666
ef1bb361
JM
206672012-10-08 Joseph Myers <joseph@codesourcery.com>
20668
20669 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20670 type-generic.
20671 * math/libm-test.inc: Update comment listing what functions and
20672 macros are tested.
20673 (finite_test): New function.
20674 (isinf_test): Likewise.
20675 (isnan_test): Likewise.
20676 (fpclassify_test): Test subnormal input.
20677 (isfinite_test): Likewise.
20678 (isnormal_test): Likewise.
20679 (main): Call the new functions.
20680
55f11534
JN
206812012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20682
20683 [BZ #14660]
20684 * Makerules (%.dynsym): Force C locale when running
20685 $(OBJDUMP) --dynamic-syms.
20686
1ab29350
AS
206872012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20688
20689 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20690 <stdint.h>.
20691
f1ecb7ef
DM
206922012-10-06 David S. Miller <davem@davemloft.net>
20693
20694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20695 upper 32-bits of the length value in %o2 since we use branch-on-register
20696 tests which consider the entire 64-bit register.
20697
5d41d91a
L
206982012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20699
20700 * string/test-strstr.c (check2): Add a test for page boundary.
20701
3baddb72
DM
207022012-10-05 David S. Miller <davem@davemloft.net>
20703
20704 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20705 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20706 file.
20707 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20708 sysdep_routines.
20709 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20710 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20711 and bzero when HWCAP_SPARC_CRYPTO is present.
20712
9cee5585
L
207132012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20714
d7e0dab9
L
20715 [BZ #14602]
20716 * string/test-strstr.c (check2): New function.
20717 (test_main): Call check2.
20718
03759f47
L
20719 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20720 and bug-strchr1.
20721 * string/bug-strcasestr1.c (do_test): Moved to ...
20722 * string/test-strcasestr.c (check1): Here. New function.
20723 (do_one_test): Break out result checking code into ...
20724 (check_result): This. New function.
20725 (do_one_test): Call check_result.
20726 (test_main): Call check1.
20727 * string/bug-strchr1.c (do_test): Moved to ...
20728 * string/test-strchr.c (check1): Here. New function.
20729 (do_one_test): Break out result checking code into ...
20730 (check_result): This. New function.
20731 (do_one_test): Call check_result.
20732 (test_main): Call check1.
20733 * string/bug-strstr1.c (main): Moved to ...
046f153e 20734 * string/test-strstr.c (check1): Here. New function.
03759f47
L
20735 (do_one_test): Break out result checking code into ...
20736 (check_result): This. New function.
20737 (do_one_test): Call check_result.
20738 (test_main): Call check1.
20739 * string/bug-strcasestr1.c: Removed.
20740 * string/bug-strchr1.c: Likewise.
20741 * string/bug-strstr1.c: Likewise.
20742
53cea63e
L
20743 * elf/Makefile (dl-routines): Add hwcaps.
20744 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20745 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20746 (_dl_important_hwcaps): Moved to ...
20747 * elf/dl-hwcaps.c: Here. New file.
20748 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20749
9cee5585 20750 [BZ #14557]
bb859b06
L
20751 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20752 if IS_IN_rtld isn't defined.
20753
9cee5585
L
20754 * elf/dl-support.c (_dl_sysinfo_map): New.
20755 Include "get-dynamic-info.h" and "setup-vdso.h".
20756 (_dl_non_dynamic_init): Call setup_vdso.
20757 * elf/dynamic-link.h: Don't include <assert.h>.
20758 (elf_get_dynamic_info): Moved to ...
20759 * elf/get-dynamic-info.h: Here. New file.
20760 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20761 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20762 * elf/setup-vdso.h: Here. New file.
20763 * elf/rtld.c: Include "setup-vdso.h".
20764 (dl_main): Call setup_vdso.
20765
23c31b76
JM
207662012-10-05 Joseph Myers <joseph@codesourcery.com>
20767
28234b07
JM
20768 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20769 creal in comment listing functions tested. List finite, isinf,
20770 isnan, isless, islessequal, isgreater, isgreaterequal,
20771 islessgreater, isunordered, lgamma_r and pow10 as functions and
20772 macros not tested. Mention which functions not tested are aliases
20773 for other functions. Fix typo. Note that signs of NaNs are not
20774 tested.
20775
23c31b76
JM
20776 * scripts/config.guess: Update from config.git.
20777 * scripts/config.sub: Likewise.
20778
9043e228
RM
207792012-10-04 Roland McGrath <roland@hack.frob.com>
20780
20781 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20782 * misc/madvise.c (madvise): Renamed to __madvise.
20783 Make madvise a weak alias.
20784 * include/sys/mman.h: Declare __madvise.
20785 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20786 * sysdeps/unix/syscalls.list
20787 (madvise): Make __madvise the strong name, and madvise a weak alias.
20788 * sysdeps/unix/sysv/linux/syscalls.list
20789 (madvise, mmap): Remove redundant entries.
20790 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20791 * malloc/malloc.c (mtrim): Likewise.
20792 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20793
f57f8055
RM
207942012-10-03 Roland McGrath <roland@hack.frob.com>
20795
20796 * sysdeps/mach/hurd/dl-cache.c: File removed.
20797 * config.h.in (USE_LDCONFIG): New #undef.
20798 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20799 * configure: Regenerated.
20800 * elf/Makefile (dl-routines): Add dl-cache only under
20801 [$(use-ldconfig) = yes].
20802 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20803 cache on [USE_LDCONFIG].
20804 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20805 [USE_LDCONFIG].
20806 * elf/rtld.c (dl_main): Likewise.
20807
5bb0c10a
PT
208082012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20809
20810 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20811 _SC_LEVEL4_CACHE_LINESIZE.
20812
010188c6
RM
208132012-10-03 Roland McGrath <roland@hack.frob.com>
20814
20815 * sysdeps/unix/bsd/confstr.h: File removed.
20816
b6c5ec07
AO
208172012-10-02 Alexandre Oliva <aoliva@redhat.com>
20818
20819 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20820 sys/sdt-config.h.
20821
408223d4
RM
208222012-10-02 Roland McGrath <roland@hack.frob.com>
20823
20824 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20825 Make 'mapoff' field ElfW(Off) rather than off_t.
20826
bb9510dc
DL
208272012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20828
fc997c6e
DL
20829 * nscd/Makefile: Remove nscd-cflags and all its users.
20830 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20831 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20832
bb9510dc
DL
20833 [BZ #10631]
20834 * malloc.c (malloc_printerr): Clarify error message.
20835
05699367
L
208362012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20837
20838 [BZ #14648]
20839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20840 Set bit_FMA_Usable if FMA is supported.
20841 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20842 macro.
20843 (bit_FMA4_Usable): Updated.
20844 (index_FMA_Usable): New macro.
20845 (CPUID_FMA): Likewise
20846 (HAS_FMA): Defined with bit_FMA_Usable.
20847
51367701
RM
208482012-10-01 Roland McGrath <roland@hack.frob.com>
20849
20850 * bits/types.h (__swblk_t): Type removed.
20851 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20852 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20854 (__SWBLK_T_TYPE): Likewise.
20855 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20856 (__SWBLK_T_TYPE): Likewise.
20857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20858 (__SWBLK_T_TYPE): Likewise.
20859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20860 (__SWBLK_T_TYPE): Likewise.
20861
4d57bf63 208622012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20863 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20864
20865 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20866 (xdr_mapname): Use YPMAXMAP as maxsize.
20867 (xdr_peername): Use YPMAXPEER as maxsize.
20868 (xdr_keydat): Use YPAXRECORD as maxsize.
20869 (xdr_valdat): Use YPMAXRECORD as maxsize.
20870
93c65d43
RM
208712012-10-01 Roland McGrath <roland@hack.frob.com>
20872
497a03d6
RM
20873 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20874
93c65d43
RM
20875 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20876 * csu/init-first.c: ... here.
20877 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20878 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20879 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20881 * sysdeps/i386/init-first.c: File removed.
20882 * sysdeps/sh/init-first.c: File removed.
20883
bec749fd
JM
208842012-10-01 Joseph Myers <joseph@codesourcery.com>
20885
20886 [BZ #14645]
20887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20888 if x * y might underflow to zero and z is zero.
20889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20891 * math/libm-test.inc (min_subnorm_value): New variable.
20892 (fma_test): Add more tests.
20893 (fma_test_towardzero): Likewise.
20894 (fma_test_downward): Likewise
20895 (fma_test_upward): Likewise.
20896 (initialize): Set min_subnorm_value.
20897
8ec5b013
JM
208982012-09-29 Joseph Myers <joseph@codesourcery.com>
20899
20900 [BZ #14638]
20901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20902 0 + 0.
20903 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20904 mode for addition resulting in exact zero.
20905 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20907 exact 0 + 0.
20908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20910 * math/libm-test.inc (fma_test): Add more tests.
20911 (fma_test_towardzero): New function.
20912 (fma_test_downward): Likewise.
20913 (fma_test_upward): Likewise.
20914 (main): Call the new functions.
20915
b1fa802e
DM
209162012-09-28 David S. Miller <davem@davemloft.net>
20917
20918 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20919
d3b9fd9e
RM
209202012-09-28 Roland McGrath <roland@hack.frob.com>
20921
ea4d37b3
RM
20922 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20923 instead of SIGALRM.
20924
ac51c949
RM
20925 * sysdeps/gnu/_G_config.h: Moved to ...
20926 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20927 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20928 * sysdeps/generic/_G_config.h: ... here.
20929
28c195f7
RM
20930 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20931
848917f9
RM
20932 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20933
6bacf05b
RM
20934 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20935 Conditionalize target on [libnss_test1.so-version].
20936
91363dbb
RM
20937 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20938
cc87f7d8
RM
20939 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20940 (elfobjdir): Move out of conditionals.
20941
b1c608fe
RM
20942 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20943 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20944 (__nss_lookup_function): Conditionalize label remove_from_tree on
20945 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20946
1d9a6d96
DM
209472012-09-28 David S. Miller <davem@davemloft.net>
20948
20949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20950 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20951 file.
20952 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20953 sysdep_routines.
20954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20956 when HWCAP_SPARC_CRYPTO is present.
20957
72581615
PT
209582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20959
20960 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20961
715a900c
JL
209622012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20963
20964 [BZ #6530]
20965 * stdio-common/vfprintf.c (process_string_arg): Revert
20966 2000-07-22 change.
20967
209682011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20969
20970 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20971 for testcase.
20972 * stdio-common/tst-sprintf.c: Include <locale.h>
20973 (main): Test sprintf's handling of incomplete multibyte
20974 characters.
20975
9bac1d86
L
209762012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20977
20978 * elf/dl-runtime.c (VERSYMIDX): Removed.
20979 * elf/dl-version.c (VERSYMIDX): Likewise.
20980 * elf/do-rel.h (VERSYMIDX): Likewise.
20981 (VALIDX): Likewise.
20982 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20983 * elf/rtld.c (VALIDX): Likewise.
20984 (ADDRIDX): Likewise.
9bac1d86
L
20985 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20986 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20987 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20988 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20989 (VALIDX): Likewise.
20990 (ADDRIDX): Likewise.
9bac1d86 20991
b31606c0
PT
209922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20993
20994 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20995
11541177
JL
209962012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20997
20998 [BZ #11438]
20999 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
21000 to global scope.
21001 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
21002 addresses are in the same scope as 192.0.2/24.
21003 * posix/gai.conf: Document new scope table defaults.
21004
adb26fae
SP
210052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21006
21007 [BZ #5298]
21008 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
21009 for ftell. Compute offsets from write pointers instead.
21010 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21011
4573c6b0
SP
210122012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21013
21014 [BZ #14543]
21015 * libio/Makefile (tests): New test case tst-fseek.
21016 * libio/tst-fseek.c: New test case to verify that fseek/ftell
21017 combination works in wide mode.
21018 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
21019 state when the external buffer state changes.
21020
aa9bbfe6
DM
210212012-09-27 David S. Miller <davem@davemloft.net>
21022
21023 [BZ #14376]
21024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
21025 pass reloc->r_addend in as the 'high' argument to
21026 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
21027
784421e7
DM
21028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21029
c39bc8b8
PT
210302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
21031
21032 * rt/tst-aio2.c: Include <pthread.h>.
21033 * rt/tst-aio3.c: Likewise.
21034
1ccc2399
SE
210352012-09-27 Steve Ellcey <sellcey@mips.com>
21036
21037 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
21038
31ed4153
L
210392012-09-27 H.J. Lu <hongjiu.lu@intel.com>
21040
25f5f885
L
21041 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
21042 contents on [SHARED].
31ed4153 21043
b7bfe116
MP
210442012-09-26 Marek Polacek <polacek@redhat.com>
21045
21046 [BZ #14530]
21047 [BZ #13741]
21048 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
21049 for C++ and GCC <4.3 as well as for non GCC compilers.
21050
43c4edba
MT
210512012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21052
21053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21054
6a1bf82f
RM
210552012-09-25 Roland McGrath <roland@hack.frob.com>
21056
21057 * Makefile.in (all, install): Declare with .PHONY.
21058 Reported by Michael Hope <michael.hope@linaro.org>.
21059
8ad11b9a
TMQMF
210602012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21061
21062 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
21063 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
21064 system header.
21065 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
21066 Likewise.
21067 (sydep_routines): Add the new and the internal functions.
21068 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
21069 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
21071 (GLIBC_2.17): Add the new function.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21073 (GLIBC_2.17): Likewise.
21074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
21075 (GLIBC_2.17): Likewise.
21076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
21077 (GLIBC_2.17): Likewise.
21078 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
21079
7e2fca8d
AM
210802012-09-25 Alan Modra <amodra@gmail.com>
21081
21082 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
21083 Add release barrier before setting once_control to say
21084 initialisation is done. Add hints on lwarx. Use macro in
21085 place of isync.
21086 (clear_once_control): Add release barrier.
21087
b87c4b24
JM
210882012-09-25 Joseph Myers <joseph@codesourcery.com>
21089
d032e0d2
JM
21090 [BZ #13629]
21091 * math/s_clog.c (__clog): Handle more values close to |z| = 1
21092 specially.
21093 * math/s_clog10.c (__clog10): Likewise.
21094 * math/s_clog10f.c (__clog10f): Likewise.
21095 * math/s_clog10l.c (__clog10l): Likewise.
21096 * math/s_clogf.c (__clogf): Likewise.
21097 * math/s_clogl.c (__clogl): Likewise.
21098 * math/Makefile (libm-calls): Add x2y2m1.
21099 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
21100 (__x2y2m1): Likewise.
21101 (__x2y2m1l): Likewise.
21102 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
21103 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
21104 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
21105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21106 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
21107 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
21108 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
21109 * sysdeps/i386/fpu/libm-test-ulps: Update.
21110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21111
b87c4b24
JM
21112 [BZ #14621]
21113 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
21114 int as type of variable DEPTH.
21115 (glob): Use size_t instead of int as type of variables NEWCOUNT
21116 and OLD_PATHC.
21117
6d3bf199
LD
211182012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21119
22bf5c17
LD
21120 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21121 Add s_sincosf-sse2.
21122 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
21123 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
21124 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
21125 macros for using routine as __sincosf_ia32.
21126 Use macro for function declaration and weak_alias.
21127 * sysdeps/i386/fpu/libm-test-ulps: Update.
21128
21129 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
21130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21131
21132 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
21133 subnormal argument.
21134 * math/s_cexpf.c (__cexpf): Likewise.
21135 * math/s_csinf.c (__csinf): Likewise.
21136 * math/s_csinhf.c (__csinhf): Likewise.
21137 * math/s_ctanf.c (__ctanf): Likewise.
21138 * math/s_ctanhf.c (__ctanhf): Likewise.
21139 * math/s_ccosh.c (__ccoshf): Likewise.
21140 * math/s_cexp.c (__cexpl): Likewise.
21141 * math/s_csin.c (__csin): Likewise.
21142 * math/s_csinh.c (__csinh): Likewise.
21143 * math/s_ctan.c (__ctan): Likewise.
21144 * math/s_ctanh.c (ctanh): Likewise.
21145 * math/s_ccoshl.c (__ccoshl): Likewise.
21146 * math/s_cexpl.c (__cexpl): Likewise.
21147 * math/s_csinl.c (__csinl): Likewise.
21148 * math/s_csinhl.c (__csinhl): Likewise.
21149 * math/s_ctanl.c (__ctanl): Likewise.
21150 * math/s_ctanhl.c (__ctanhl): Likewise.
21151
203e5603
JM
211522012-09-25 Joseph Myers <joseph@codesourcery.com>
21153
21154 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21155 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21156 (_IO_off_t): Define to __off_t, not _G_off_t.
21157 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21158 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21159 (_IO_wint_t): Define to wint_t, not _G_wint_t.
21160 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21161 type of __dummy and __dummy2 fields.
21162 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21163 (_G_ssize_t): Likewise.
21164 (_G_off_t): Likewise.
21165 (_G_pid_t): Likewise.
21166 (_G_uid_t): Likewise.
21167 (_G_wchar_t): Likewise.
21168 (_G_wint_t): Likewise.
21169 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21170 (_G_ssize_t): Likewise.
21171 (_G_off_t): Likewise.
21172 (_G_pid_t): Likewise.
21173 (_G_uid_t): Likewise.
21174 (_G_wchar_t): Likewise.
21175 (_G_wint_t): Likewise.
21176 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21177 (_G_ssize_t): Likewise.
21178 (_G_off_t): Likewise.
21179 (_G_pid_t): Likewise.
21180 (_G_uid_t): Likewise.
21181 (_G_wchar_t): Likewise.
21182 (_G_wint_t): Likewise.
21183
9fab36eb
SP
211842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21185
21186 * malloc/arena.c: Include malloc-sysdep.h.
21187 (shrink_heap): Use check_may_shrink_heap to decide if madvise
21188 is sufficient to shrink the heap or an unmap is needed.
21189 * sysdeps/generic/malloc-sysdep.h: New file. Define
21190 new function check_may_shrink_heap.
21191 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
21192 new function check_may_shrink_heap.
21193
2b4f00d1
SP
211942012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21195
21196 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21197 comments.
21198
9a9028b1
DL
211992012-09-24 Dmitry V. Levin <ldv@altlinux.org>
21200
57c69bef
DL
21201 * catgets/test-gencat.sh: Add "set -e".
21202 * elf/tst-pathopt.sh: Likewise.
21203 * grp/tst_fgetgrent.sh: Likewise.
21204 * iconvdata/run-iconv-test.sh: Likewise.
21205 * intl/tst-gettext.sh: Likewise.
21206 * intl/tst-gettext2.sh: Likewise.
21207 * intl/tst-gettext4.sh: Likewise.
21208 * intl/tst-gettext6.sh: Likewise.
21209 * intl/tst-translit.sh: Likewise.
21210 * io/ftwtest-sh: Likewise.
21211 * libio/test-freopen.sh: Likewise.
21212 * malloc/tst-mtrace.sh: Likewise.
21213 * posix/globtest.sh: Likewise.
21214 * posix/tst-getconf.sh: Likewise.
21215 * posix/wordexp-tst.sh: Likewise.
21216 * stdio-common/tst-printf.sh: Likewise.
21217 * stdio-common/tst-unbputc.sh: Likewise.
21218 * stdlib/tst-fmtmsg.sh: Likewise.
21219 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21220 * catgets/Makefile: Do not specify -e option when running
21221 testsuite shell scripts.
21222 * elf/Makefile: Likewise.
21223 * grp/Makefile: Likewise.
21224 * iconvdata/Makefile: Likewise.
21225 * intl/Makefile: Likewise.
21226 * io/Makefile: Likewise.
21227 * libio/Makefile: Likewise.
21228 * malloc/Makefile: Likewise.
21229 * posix/Makefile: Likewise.
21230 * stdio-common/Makefile: Likewise.
21231 * stdlib/Makefile: Likewise.
21232 * sysdeps/x86_64/Makefile: Likewise.
21233
9a9028b1
DL
21234 * io/ftwtest-sh: Add copyright header.
21235 * posix/globtest.sh: Likewise.
21236 * posix/tst-getconf.sh: Likewise.
21237 * posix/wordexp-tst.sh: Likewise.
21238 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21239
ced6f16e
L
212402012-09-24 H.J. Lu <hongjiu.lu@intel.com>
21241
94b32c39
L
21242 [BZ #13679]
21243 * Makeconfig (+link): Defined as $(+link-static) if
21244 $(build-shared) isn't yes.
21245 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21246 isn't yes.
21247 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21248
189e935b
L
21249 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21250
ced6f16e
L
21251 [BZ #14562]
21252 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21253 new chunk size with MALLOC_ALIGN_MASK.
21254
a9f8e53a
JM
212552012-09-24 Joseph Myers <joseph@codesourcery.com>
21256
21257 [BZ #5044]
21258 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21259 <rounding-mode.h>.
21260 (__printf_fphex): Determine rounding using get_rounding_mode and
21261 round_away.
21262 * stdio-common/tst-printf-round.c (struct hex_test): New
21263 structure.
21264 (hex_tests): New variable.
21265 (test_hex_in_one_mode): New function.
21266 (do_test): Also run tests for hex float output.
21267
43153109
JM
212682012-09-21 Joseph Myers <joseph@codesourcery.com>
21269
21270 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21271 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21272 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21273 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21274 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21275 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21276 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21277 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21278
8a26625d
JM
212792012-09-20 Joseph Myers <joseph@codesourcery.com>
21280
21281 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21282 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21283 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21284 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21285
f3fd569c
DL
212862012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21287
21288 [BZ #14579]
21289 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21290 mode only.
21291 * elf/tst-rtld-load-self.sh: New test.
21292 * elf/Makefile: Run it.
21293
63bbedd4
JM
212942012-09-18 Joseph Myers <joseph@codesourcery.com>
21295
21296 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21297 (tst-writev-ENV): Remove.
21298 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21299
626f8b6a
CM
213002012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21301
21302 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21303
b7aaa4d6
JM
213042012-09-17 Joseph Myers <joseph@codesourcery.com>
21305
21306 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21307 unconditional.
21308 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21309 Likewise.
21310 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21311 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21312 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21313 Likewise.
21314
65513990
L
213152012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21316
21317 [BZ #14587]
21318 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21319 * config.make.in (have-cpp-asm-debuginfo): Removed.
21320 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21321 * configure: Regenerated.
21322
784761be
JM
213232012-09-14 Joseph Myers <joseph@codesourcery.com>
21324
21325 [BZ #5044]
21326 * stdio-common/printf_fp.c: Include <stdbool.h> and
21327 <rounding-mode.h>.
21328 (___printf_fp): Determine rounding using get_rounding_mode and
21329 round_away.
21330 * stdio-common/tst-printf-round.c: New file.
21331 * stdio-common/Makefile (tests): Add tst-printf-round.
21332 (link-libm): New variable.
21333 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21334
9503345f
L
213352012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21336
21337 [BZ #14576]
21338 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21339 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21340 Likewise.
21341 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21342 Likewise.
21343
ad35fc00
JM
213442012-09-13 Joseph Myers <joseph@codesourcery.com>
21345
21346 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21347 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21348 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21349 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21350
6c9b0f68
JM
213512012-09-12 Joseph Myers <joseph@codesourcery.com>
21352
21353 [BZ #14518]
21354 * include/rounding-mode.h: New file.
21355 * sysdeps/generic/get-rounding-mode.h: Likewise.
21356 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21357 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21358 (MAX_VALUE): New macro.
21359 (MIN_VALUE): Likewise.
21360 (overflow_value): New function.
21361 (underflow_value): Likewise.
21362 (round_and_return): Use overflow_value and underflow_value to
21363 determine return values in overflow and underflow cases. Use
21364 round_away to determine rounding depending on rounding mode.
21365 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21366 determine return values in overflow and underflow cases.
21367 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21368 (struct test_results): New structure.
21369 (struct test): Use struct test_results to store expected results
21370 for all rounding modes.
21371 (TEST): Include expected results for all rounding modes.
21372 (test_in_one_mode): New function.
21373 (do_test): Use test_in_one_mode to compute and check results.
21374 Check results for all rounding modes.
21375 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21376 $(link-libm).
21377
19fcedd5
AM
213782012-12-09 Allan McRae <allan@archlinux.org>
21379
1e9d84cd 21380 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 21381
8bbfd2f1
JM
213822012-09-11 Joseph Myers <joseph@codesourcery.com>
21383
21384 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21385 (_G_int32_t): Likewise.
21386 (_G_uint16_t): Likewise.
21387 (_G_uint32_t): Likewise.
21388 (_G_HAVE_BOOL): Likewise.
21389 (_G_HAVE_ATEXIT): Likewise.
21390 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21391 (_G_HAVE_IO_FILE_OPEN): Likewise.
21392 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21393 (_G_int32_t): Likewise.
21394 (_G_uint16_t): Likewise.
21395 (_G_uint32_t): Likewise.
21396 (_G_HAVE_BOOL): Likewise.
21397 (_G_HAVE_ATEXIT): Likewise.
21398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21399 (_G_HAVE_IO_FILE_OPEN): Likewise.
21400 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21401 (_G_int32_t): Likewise.
21402 (_G_uint16_t): Likewise.
21403 (_G_uint32_t): Likewise.
21404 (_G_HAVE_BOOL): Likewise.
21405 (_G_HAVE_ATEXIT): Likewise.
21406 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21407 (_G_HAVE_IO_FILE_OPEN): Likewise.
21408
b1dc5912
L
214092012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21410
21411 * csu/libc-tls.c: Update copyright years.
21412
0e886ef9
JM
214132012-09-10 Joseph Myers <joseph@codesourcery.com>
21414
28361c5e
JM
21415 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21416 [!_G_USING_THUNKS]: Remove conditional code.
21417 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21418 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21419
0e886ef9
JM
21420 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21421 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21422 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21423 (_G_VTABLE_LABEL_PREFIX): Likewise.
21424 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21425 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21426 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21427 (_G_VTABLE_LABEL_PREFIX): Likewise.
21428 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21429 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21430 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21431 (_G_VTABLE_LABEL_PREFIX): Likewise.
21432 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21433
bcba7aa2
L
214342012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21435
21436 * libio/Makefile: Include ../Makeconfig before tests.
21437 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21438 only if $(build-shared) is yes.
21439
06585ee8
L
21440 * iconv/gconv_db.c: Update copyright years.
21441
80ccd52c
LD
214422012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21443
21444 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21445 unwind info if defined PIC. Fix special cases description.
21446 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21447
21448 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21449 DP_HI_MASK entry.
21450 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21451
691bc9c1
L
214522012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21453
3d9b46b3
L
21454 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21455
de2139a9
L
21456 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21457 is NULL.
21458
5ca78dd0
L
21459 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21460 (LDLIBS-tst-chk4): This.
21461 (LDFLAGS-tst-chk5): Renamed to ...
21462 (LDLIBS-tst-chk5): This.
21463 (LDFLAGS-tst-chk6): Renamed to ...
21464 (LDLIBS-tst-chk6): This.
21465 (LDFLAGS-tst-lfschk4): Renamed to ...
21466 (LDLIBS-tst-lfschk4): This.
21467 (LDFLAGS-tst-lfschk5): Renamed to ...
21468 (LDLIBS-tst-lfschk5): This.
21469 (LDFLAGS-tst-lfschk6): Renamed to ...
21470 (LDLIBS-tst-lfschk6): This.
21471
691bc9c1
L
21472 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21473 on $(common-objpfx)soversions.mk.
21474
65cafb1c
JM
214752012-09-07 Joseph Myers <joseph@codesourcery.com>
21476
21477 [BZ #10014]
21478 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21479 example host name.
21480
c78ab094
SP
214812012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21482
21483 * malloc/arena.c (arena_get_retry): New function that gets
21484 another arena for the caller to try its request on.
21485 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21486 current arena cannot fulfill the request.
21487 (__libc_memalign): Likewise.
21488 (__libc_memalign): Likewise.
21489 (__libc_pvalloc): Likewise.
21490 (__libc_calloc): Likewise.
21491
01f49f59
JT
214922012-09-05 John Tobey <john.tobey@gmail.com>
21493
21494 [BZ #13542]
21495 * manual/arith.texi (Operations on Complex): Fix description
21496 of carg branch cut.
21497
4c23fed5
JM
214982012-09-06 Joseph Myers <joseph@codesourcery.com>
21499
1d3c8572
JM
21500 [BZ #10014]
21501 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21502 host name.
21503
4c23fed5
JM
21504 [BZ #10038]
21505 * manual/memory.texi (Memory): Make order of menu items match
21506 order of sections.
21507
04570aaa
L
215082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21511 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21512 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21513
b80af2f4
L
215142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21515
21516 * csu/libc-tls.c (static_dtv): Renamed to ...
21517 (_dl_static_dtv): This. Make it global.
21518 (_dl_initial_dtv): Removed.
21519 (__libc_setup_tls): Updated.
21520 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21521 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21522 DL_INITIAL_DTV.
21523
2abe9f15
PM
215242012-09-06 Petr Machata <pmachata@redhat.com>
21525
21526 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21527 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21528 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21529 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21530
0948c3af
L
215312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21532
21533 [BZ #14545]
21534 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21535 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21536 freeing dtv[-1].
21537
a5055ad1
L
215382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21539
21540 [BZ #14544]
21541 * Makeconfig (link-static-before-libc): Replace $(+prector)
21542 with $(+prectorT).
21543 (link-static-after-libc): Replace $(+postctor) with
21544 $(+postctorT).
21545 (link-bounded): Replace $(+prector)/$(+postctor) with
21546 $(+prectorT)/$(+postctorT).
21547 (+prectorT): New macro.
21548 (+postctorT): Likewise.
21549
ed8c2ecd
JM
215502012-09-06 Joseph Myers <joseph@codesourcery.com>
21551
21552 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21553 (round_str): Handle values above the maximum for IBM long double
21554 as inexact.
21555 * stdlib/tst-strtod-round.c (tests): Regenerated.
21556
14c996c8
AK
215572012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21558
21559 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21560 assembler flag.
21561 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21562 zarch_nohighgprs around the zarch optimized routines.
21563 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21564 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21565 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21566 for zarch.
21567
430d6ce6
DM
215682012-09-05 David S. Miller <davem@davemloft.net>
21569
21570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21571
ff04dda4
DM
21572 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21573 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21574 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21576 entries.
21577
24d4e01b
AO
215782012-09-05 Alexandre Oliva <aoliva@redhat.com>
21579
21580 * malloc/arena.c: Fold copyright years.
21581 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21582
61d58174
AO
215832012-09-05 Alexandre Oliva <aoliva@redhat.com>
21584
21585 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21586
20196a5e
AO
215872012-09-05 Alexandre Oliva <aoliva@redhat.com>
21588
21589 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21590
5c447383
AO
215912012-09-05 Alexandre Oliva <aoliva@redhat.com>
21592
21593 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21594 change internal state upon failure.
21595
fad64255
AO
215962012-09-05 Alexandre Oliva <aoliva@redhat.com>
21597
21598 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21599 * malloc/memusage.c (mmap): Likewise.
21600 (mmap64, mremap): Likewise. Adjust name in comment.
21601
1ffb8c90
SP
216022012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21603
21604 * libio/fileops.c: Fix typos in comments.
21605 * libio/oldfileops.c: Likewise.
21606 * libio/wfileops.c: Likewise.
21607
6ef9cc37
SP
216082012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21609
21610 [BZ #1349]
21611 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21612 (tst-malloc-usable-ENV): Set environment for test case.
21613 * malloc/hooks.c (malloc_check_get_size): New function to get
21614 requested size.
21615 * malloc/malloc.c (musable): Use malloc_check_get_size.
21616 * malloc/tst-malloc-usable.c: New test case.
21617
4d038ae3
AS
216182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21619
21620 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21621
c4e85184
AM
216222012-09-05 Allan McRae <allan@archlinux.org>
21623
b9dafc56 21624 [BZ #13966]
c4e85184
AM
21625 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21626 determine header location.
21627 * configure: Regenerated.
21628
e1343020
AS
216292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21630
21631 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21632 float format.
21633 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
21634 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21635 format.
e1343020
AS
21636 (test): Regenerate.
21637
0a9f1987
DM
216382012-09-04 David S. Miller <davem@davemloft.net>
21639
21640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21642 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21643
29237804
FW
216442012-09-04 Florian Weimer <fweimer@redhat.com>
21645
21646 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21647 failures.
21648
edb3cb88
FW
21649 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21650
60160d83
JM
216512012-09-04 Joseph Myers <joseph@codesourcery.com>
21652
21653 [BZ #9914]
21654 * libio/iogetdelim.c: Include <limits.h>.
21655 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21656 + len + 1 would overflow.
21657
bcd6c8dc
AJ
216582012-09-03 Andreas Jaeger <aj@suse.de>
21659
21660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21661 * sysdeps/i386/fpu/libm-test-ulps: Update.
21662
4ffffbd2
LD
216632012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21664
21665 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21666 Add s_sinf-sse2, s_conf-sse2.
21667
21668 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21669 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21670 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21671 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21672
21673 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21674 for using routine as __sinf_ia32.
21675 Use macro for function declaration and weak_alias.
21676 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21677 for using routine as __cosf_ia32.
21678 Use macro for function declaration and weak_alias.
21679
21680 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21681 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21682
21683 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21684 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21686
21687 * math/libm-test.inc (cos_test): Add more test cases.
21688 (sin_test): Likewise.
21689 (sincos_test): Likewise.
21690
511fa286
AK
216912012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21692
21693 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21694 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21695 hidden.
21696 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21697
5f30cfec
L
216982012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21699
21700 [BZ #14538]
21701 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21702 first element of the GOT.
21703 (elf_machine_load_address): Return the difference between
21704 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21705
0786794f
AM
217062012-09-01 Allan McRae <allan@archlinux.org>
21707
5f30cfec
L
21708 [BZ #13412]
21709 * configure.in (AWK): Require gawk version 3.0 or later.
21710 * configure: Regenerated.
0786794f 21711
26889eac
JM
217122012-09-01 Joseph Myers <joseph@codesourcery.com>
21713
21714 * sysdeps/unix/sysv/linux/kernel-features.h
21715 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21716 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21717 [__NR_clock_getres]: Make code unconditional.
21718 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21719 (clock_getcpuclockid): Remove code left unreachable by removal of
21720 conditionals.
21721 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21722 code unconditional.
21723 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21724 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21725 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21726 Make code unconditional.
21727 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21728 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21729 * sysdeps/unix/sysv/linux/clock_settime.c
21730 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21731 conditional code.
21732 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21734
d22e28b0
L
217352012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21736
21737 [BZ #14476]
21738 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21739 scripts/test-installation.pl.
21740
21741 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21742 and $ld_so_version if it is set.
21743
050af9c4
SP
217442012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21745
21746 [BZ #14516]
21747 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21748 failure if reading from procfs failed.
21749 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21750
ad845c0b
JM
217512012-08-27 Joseph Myers <joseph@codesourcery.com>
21752
21753 * sysdeps/unix/sysv/linux/kernel-features.h
21754 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21755 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21756 Remove conditional code.
21757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21758 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21759 Remove conditional code.
21760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21761 * sysdeps/unix/sysv/linux/i386/fxstat.c
21762 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21764 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21765 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21767 * sysdeps/unix/sysv/linux/i386/lxstat.c
21768 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21770 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21771 Remove conditional code.
21772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21773 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21774 Remove conditional code.
21775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21776 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21777 <kernel-features.h>.
21778 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21779 Remove.
21780 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21781 Remove conditional code.
21782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21783 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21784 Remove conditional.
21785
5dbf56af
MF
217862012-08-27 Mike Frysinger <vapier@gentoo.org>
21787
21788 [BZ #5400]
21789 * NEWS: Add fixed bug number.
21790
d6e70f43
JM
217912012-08-27 Joseph Myers <joseph@codesourcery.com>
21792
7efb4737
JM
21793 [BZ #14519]
21794 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21795 underflowing exponent in case of negative sign.
21796 * stdlib/tst-strtod-round-data: Add more tests.
21797 * stdlib/tst-strtod-round.c (tests): Regenerated.
21798
af92131a
JM
21799 [BZ #3479]
21800 * stdlib/strtod_l.c (NDIG): Remove.
21801 (HEXNDIG): Likewise.
21802 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21803 smallest representable value.
21804 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21805 lie within an exact representation of 1/2 ulp of the result.
21806 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21807 unconditionally.
21808 (TENS_P9_IDX): Define unconditionally.
21809 (TENS_P9_SIZE): Likewise.
21810 (TENS_P10_IDX): Likewise.
21811 (TENS_P10_SIZE): Likewise.
21812 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21813 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21814 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21815 entries for 10^2^13 and 10^2^14.
21816 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21817 (TENS_P13_IDX): Define.
21818 (TENS_P13_SIZE): Likewise.
21819 (TENS_P14_IDX): Likewise.
21820 (TENS_P14_SIZE): Likewise.
21821 (_fpioconst_pow10): Change array size to
21822 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21823 unconditional.
21824 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21825 1024]: Add entries for 10^2^13 and 10^2^14.
21826 [LAST_POW10 > _LAST_POW10]: Remove #error.
21827 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21828 (_fpioconst_pow10): Change array size to
21829 FPIOCONST_POW10_ARRAY_SIZE.
21830 * stdlib/gen-fpioconst.c: New file.
21831 * stdlib/gen-tst-strtod-round.c: Likewise.
21832 * stdlib/tst-strtod-round-data: Likewise.
21833 * stdlib/tst-strtod-round.c: Likewise.
21834 * stdlib/Makefile (tests): Add tst-strtod-round.
21835
d6e70f43
JM
21836 [BZ #14459]
21837 * stdlib/strtod_l.c: Include <stdint.h>.
21838 (NDEBUG): Do not define.
21839 (round_and_return): Change EXPONENT parameter to type intmax_t.
21840 Rearrange calculations to avoid internal overflow possibilities.
21841 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21842 Rearrange calculations to avoid internal overflow possibilities.
21843 Assert that number fits inside MPNSIZE limbs.
21844 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21845 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21846 calculations and add assertions to avoid internal overflow
21847 possibilities. Add casts to avoid signed/unsigned operations.
21848 * stdlib/tst-strtod-overflow.c: New file.
21849 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21850
1f529f7d
MP
218512012-08-25 Marek Polacek <polacek@redhat.com>
21852
21853 * time/time.h: Fix some typos in comments.
21854
59a629f1
RM
218552012-08-23 Roland McGrath <roland@hack.frob.com>
21856
21857 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21858 * posix/tst-rfc3484-2.c: Likewise.
21859 * posix/tst-rfc3484-3.c: Likewise.
21860
d3bafbc9
SM
218612012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21862
21863 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21864 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21865
4efcc022
JM
218662012-08-23 Joseph Myers <joseph@codesourcery.com>
21867
21868 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21869 #include of fxstatat64.c.
21870
3cc3ef96
RM
218712012-08-22 Roland McGrath <roland@hack.frob.com>
21872
f04e2132
RM
21873 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21874 * shadow/getspent_r.c: Likewise.
21875 * shadow/getspnam.c: Likewise.
21876 * shadow/getspnam_r.c: Likewise.
21877 * gshadow/getsgent.c: Likewise.
21878 * gshadow/getsgent_r.c: Likewise.
21879 * gshadow/getsgnam.c: Likewise.
21880 * gshadow/getsgnam_r.c: Likewise.
21881 * inet/getnetbyad.c: Likewise.
21882 * inet/getnetbyad_r.c: Likewise.
21883 * inet/getnetbynm.c: Likewise.
21884 * inet/getnetbynm_r.c: Likewise.
21885 * inet/getnetent.c: Likewise.
21886 * inet/getnetent_r.c: Likewise.
21887 * inet/getproto.c: Likewise.
21888 * inet/getproto_r.c: Likewise.
21889 * inet/getprtent.c: Likewise.
21890 * inet/getprtent_r.c: Likewise.
21891 * inet/getprtname.c: Likewise.
21892 * inet/getprtname_r.c: Likewise.
21893 * inet/getrpcbyname.c: Likewise.
21894 * inet/getrpcbyname_r.c: Likewise.
21895 * inet/getrpcbynumber.c: Likewise.
21896 * inet/getrpcbynumber_r.c: Likewise.
21897 * inet/getrpcent.c: Likewise.
21898 * inet/getrpcent_r.c: Likewise.
21899 * inet/getaliasent.c: Likewise.
21900 * inet/getaliasent_r.c: Likewise.
21901 * inet/getaliasname.c: Likewise.
21902 * inet/getaliasname_r.c: Likewise.
21903 * nscd/getgrgid_r.c: Likewise.
21904 * nscd/getgrnam_r.c: Likewise.
21905 * nscd/gethstbyad_r.c: Likewise.
21906 * nscd/gethstbynm3_r.c: Likewise.
21907 * nscd/getpwnam_r.c: Likewise.
21908 * nscd/getpwuid_r.c: Likewise.
21909 * nscd/getsrvbynm_r.c: Likewise.
21910 * nscd/getsrvbypt_r.c: Likewise.
21911 * nscd/gai.c: Likewise.
21912
c53d909c
RM
21913 * configure.in (build_nscd): New substituted variable, set
21914 by --disable-build-nscd and defaults to $use_nscd.
21915 * configure: Regenerated.
21916 * config.make.in (build-nscd): New substituted variable.
21917 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21918 Change conditional to require [$(build-nscd) = yes] as well.
21919 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21920
3cc3ef96
RM
21921 [BZ# 13696]
21922 * configure.in (use_nscd): New substituted variable, set by
21923 --disable-nscd. If enabled, define USE_NSCD.
21924 * configure: Regenerated.
21925 * config.h.in: Add USE_NSCD.
21926 * config.make.in (use-nscd): New substituted variable.
21927 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21928 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21929 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21930 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21931 (CFLAGS-getgrnam_r.c): Likewise.
21932 (CFLAGS-initgroups.c): Likewise.
21933 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21934 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21935 Variables removed.
21936 * inet/getnetgrent_r.c
21937 (nscd_setnetgrent): New function, broken out of ...
21938 (setnetgrent): ... here. Call it.
21939 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21940 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21941 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21942 * nscd/Makefile (routines, aux): Move definitions after include of
21943 Makeconfig. Conditionalize on [$(use-nscd) != no].
21944 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21945 Conditionalize on [USE_NSCD].
21946 (is_nscd, nscd_init_cb): Likewise.
21947 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21948 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21949 * nss/nss_db/db-init.c: Likewise.
21950 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21951 [USE_NSCD].
21952 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21953 (make_request): Use it.
21954 (cache_valid_p): New function.
21955 (__check_pf): Use it.
21956 * NEWS: Add item for --disable-nscd.
21957
07e51550
DL
219582012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21959
21960 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21961 to support sed >= 4.2.1-20-ga9bf076.
21962 * configure: Regenerated.
21963
35a5b08b
RM
219642012-08-22 Roland McGrath <roland@hack.frob.com>
21965
21966 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21967 Conditionalize whole body on [IREL].
21968
8479f23a
JL
219692012-08-22 Jeff Law <law@redhat.com>
21970
21971 [BZ #14505]
21972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21973 if the family is PF_UNSPEC.
21974
48da0b21
MF
219752012-08-22 Mike Frysinger <vapier@gentoo.org>
21976
21977 * Makerules (lib-version): Rename from V.
21978 (install-lib-nosubdir): Change V to lib-version.
21979
15d0da8c
WS
219802012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21981
21982 [BZ #14252]
21983 * powerpc32/power6/wcschr.c: New file.
21984 * powerpc32/power6/wcscpy.c: New file.
21985 * powerpc32/power6/wcsrchr.c: New file.
21986 * powerpc64/power6/wcschr.c: New file.
21987 * powerpc64/power6/wcscpy.c: New file.
21988 * powerpc64/power6/wcsrchr.c: New file.
21989
bcca0895
MK
219902012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21991
21992 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21993 (two_way_short_needle): Use it.
5a4aaa33
RM
21994 * string/strstr.c (AVAILABLE1_USES_J): Define.
21995 * string/strcasestr.c: Likewise.
99677e57
MK
21996
21997 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21998 array references.
21999 * string/strcasestr.c (TOLOWER): Make side-effect safe.
22000
400726de
MK
22001 [BZ #11607]
22002 * NEWS: Add an entry.
22003 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
22004 define their defaults.
22005 (two_way_short_needle): Detect end-of-string on-the-fly.
22006 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
22007 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
22008 * string/bug-strcasestr1.c: New test.
22009 * string/Makefile: Run it.
22010
20a71f2c
MK
220112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
22012
22013 [BZ #11607]
22014 * string/str-two-way.h (two_way_short_needle): Optimize matching of
22015 the first character.
22016
21ad0558
RM
220172012-08-21 Roland McGrath <roland@hack.frob.com>
22018
22019 * csu/elf-init.c (__libc_csu_irel): Function removed.
22020 * csu/libc-start.c (apply_irel): New function.
22021 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
22022
0e1d9911
JM
220232012-08-21 Joseph Myers <joseph@codesourcery.com>
22024
22025 * sysdeps/unix/sysv/linux/kernel-features.h
22026 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
22027 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22028 <kernel-features.h>.
22029 [__NR_fadvise64_64]: Make code unconditional.
22030 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
22031 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22032 !__NR_fadvise64_64)]: Likewise.
22033 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22034 !__NR_fadvise64_64))]: Likewise.
22035 [__NR_fadvise64]: Make code unconditional.
22036 [!__NR_fadvise64]: Remove conditional code.
22037 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
22038 <kernel-features.h>.
22039 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22040 unconditional.
22041 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22042 conditional code.
22043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
22044 not include <kernel-features.h>.
22045 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22046 unconditional.
22047 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22048 conditional code.
22049 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
22050 include <kernel-features.h>.
22051 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22052 unconditional.
22053 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22054 conditional code.
22055
14a50c9d
WS
220562012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22057
22058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
22059 slight instruction rearrangements per scrollpipe analysis.
22060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22061
c0f4faf0
RM
220622012-08-20 Roland McGrath <roland@hack.frob.com>
22063
696da859
RM
22064 * manual/syslog.texi (syslog; vsyslog, closelog):
22065 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
22066 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
22067
c0f4faf0
RM
22068 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
22069 DSOCAPS to match condition on defining it.
22070
348363b2
JM
220712012-08-20 Joseph Myers <joseph@codesourcery.com>
22072
a35cbf28
JM
22073 * sysdeps/unix/sysv/linux/kernel-features.h
22074 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
22076 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22077 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
22079 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22080 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
22082 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22083 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22084
445f7ecd
JM
22085 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
22086 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
22087
348363b2
JM
22088 * sysdeps/unix/sysv/linux/kernel-features.h
22089 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
22090 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
22091 unconditional.
22092 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22093 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
22094 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22095 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22096 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
22097 Make code unconditional.
22098 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22099 (__mmap64) [!__NR_mmap2]: Likewise.
22100 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
22101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22103 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
22104 [__NR_mmap2]: Make code unconditional.
22105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22106 (__mmap64) [!__NR_mmap2]: Likewise.
22107
bc5bc0e5
AK
221082012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22109
22110 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
22111
88d506de
AJ
221122012-08-18 Andreas Jaeger <aj@suse.de>
22113
22114 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
22115
493387d2
MF
221162012-08-18 Mike Frysinger <vapier@gentoo.org>
22117
22118 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
22119 * include/unistd.h (__have_sock_cloexec): Likewise.
22120 (__have_pipe2): Likewise.
22121 (__have_dup3): Likewise.
22122
a277af22
MF
221232012-08-18 Mike Frysinger <vapier@gentoo.org>
22124
22125 [BZ #9685]
22126 * include/unistd.h (__have_pipe2): Change define into an extern int.
22127 (__have_dup3): Likewise.
22128 * socket/have_sock_cloexec.c: Include fcntl.h.
22129 (__have_pipe2): New variable.
22130 (__have_dup3): Likewise.
22131
fdab8fd3
MF
221322012-08-17 Mike Frysinger <vapier@gentoo.org>
22133
22134 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
22135
31035e80
MP
221362012-08-17 Marek Polacek <polacek@redhat.com>
22137
22138 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22139 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22140
3bd9e993
RM
221412012-08-17 Roland McGrath <roland@hack.frob.com>
22142
c91c505f
RM
22143 * configure.in: Add AC_SUBST for sysheaders.
22144 * configure: Regenerated.
22145 * config.make.in (sysheaders): New substituted variable.
22146
7c6f9d53
RM
22147 * sysdeps/unix/mkfifo.c: Moved ...
22148 * sysdeps/posix/mkfifo.c: ... here.
22149 * sysdeps/unix/mkfifoat.c: Moved ...
22150 * sysdeps/posix/mkfifoat.c: ... here.
22151
22152 * sysdeps/unix/utime.c: Moved ...
22153 * sysdeps/posix/utime.c: ... here.
22154
22155 * sysdeps/unix/time.c: Moved ...
22156 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
22157 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22158 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
22159
22160 * sysdeps/unix/nice.c: Moved ...
22161 * sysdeps/posix/nice.c: ... here.
22162
22163 * sysdeps/unix/alarm.c: Moved ...
22164 * sysdeps/posix/alarm.c: ... here.
22165
3bd9e993
RM
22166 * intl/Makefile ($(codeset_mo)): Depend on the input file.
22167
d1f09384
JL
221682012-08-17 Jeff Law <law@redhat.com>
22169
22170 * intl/Makefile (codeset_mo): New variable.
22171 ($(codeset_mo)): New target.
22172 (tst-codeset.out): Depend on that. Remove explicit rule.
22173 (tst-gettext3.out, tst-gettext5.out): Likewise.
22174 (LOCPATH-ENV, tst-codeset-ENV): New variables.
22175 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22176 * intl/tst-codeset.sh: Remove.
22177 * intl/tst-gettext3.sh: Likewise.
22178 * intl/tst-gettext5.sh: Likewise.
22179
2ae1ae5c
RM
221802012-08-17 Roland McGrath <roland@hack.frob.com>
22181
c31fdb83
RM
22182 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
22183 * sysdeps/unix/syscalls.list: ... here.
22184
a0844057
RM
22185 * sysdeps/posix/getaddrinfo.c
22186 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22187 (gaiconf_init, gaiconf_reload): Use them.
22188 [!_STATBUF_ST_NSEC]
22189 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22190 Define using time_t rather than struct timespec.
22191
750c1f2a
RM
22192 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22193 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22194 Macros removed.
22195 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22196 [!NO_THREADS].
22197 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22198 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22199 Likewise.
22200
2ae1ae5c
RM
22201 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22202 __libc_cleanup_push argument.
22203
e66a42f5
RM
22204 * bits/param.h: New file.
22205 * misc/sys/param.h: New file.
22206 * include/sys/param.h: New file.
22207 * misc/Makefile (headers): Add bits/param.h.
22208 * sysdeps/generic/sys/param.h: File removed.
22209 * sysdeps/unix/sysv/linux/bits/param.h: New file.
22210 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22211 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 22212 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 22213
b7c08a66
RM
22214 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22215 last change.
22216
b2e1c562
RM
22217 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22218 [_IO_MTSAFE_IO].
22219 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22220 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22221 New macros.
22222
c75ccd4c
RM
22223 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22224 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22225 rather than -D_IO_MTSAFE_IO conditionally.
22226 * stdio-common/Makefile (CPPFLAGS): Likewise.
22227 * wcsmbs/Makefile (CPPFLAGS): Likewise.
22228 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22229 Use $(libio-mtsafe).
22230 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22231 of -D_IO_MTSAFE_IO.
22232 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22233 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22234 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22235 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22236 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22237 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22238 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22239 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22240 (CFLAGS-fread_u_chk.c): Likewise.
22241 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22242 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22243 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22244 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22245 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22246 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22247 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22248 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22249 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22250
22251 * libio/Makefile: Test [$(libc-reentrant) = yes]
22252 instead of [$(filter %REENTRANT, $(defines)) nonempty].
22253
22254 * Makeconfig
22255 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22256 * sysdeps/pthread/configure: File removed.
22257 * sysdeps/pthread/Makeconfig: New file.
22258 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22259 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22260
d9195db8
GB
222612012-08-16 Gary Benson <gbenson@redhat.com>
22262
22263 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22264 unmapping the first object in a namespace.
22265
86466cd9
RM
222662012-08-16 Roland McGrath <roland@hack.frob.com>
22267
22268 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22269 (__internal_setnetgrent): ... this. Add internal_function to
22270 definition. Add libc_hidden_def.
22271 (setnetgrent): Update caller.
22272 (internal_endnetgrent): Renamed to ...
22273 (__internal_endnetgrent): ... this. Add internal_function to
22274 definition. Add libc_hidden_def.
22275 (endnetgrent): Update caller.
22276 (internal_getnetgrent_r): Renamed to ...
22277 (__internal_getnetgrent_r): ... this. Add internal_function to
22278 definition. Add libc_hidden_def.
22279 (__getnetgrent_r): Update caller.
22280 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22281
c3c8283c
JM
222822012-08-16 Joseph Myers <joseph@codesourcery.com>
22283
22284 * stdlib/longlong.h: Update from GCC.
22285
db1ee0a8
RM
222862012-08-16 Roland McGrath <roland@hack.frob.com>
22287
22288 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22289 on _QL, which is set by umul_ppmm but never used.
22290 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22291 variables, which are set by GMP macros but never used.
22292 * stdio-common/_itowa.c (_itowa): Likewise.
22293 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22294 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22295
30f69637
CD
222962012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22297
22298 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22299 struct La_sh_regs is not constant.
22300 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22301 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22302 and struct La_sparc64_regs are not constant.
22303
93a78ac4
JM
223042012-08-16 Joseph Myers <joseph@codesourcery.com>
22305
22306 * sysdeps/unix/sysv/linux/kernel-features.h
22307 (__ASSUME_POSIX_TIMERS): Remove.
22308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22310 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22311 Make code unconditional.
22312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22313 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22314 Make code unconditional.
22315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22316 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22317 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22319 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22320 Make code unconditional.
22321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22322 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22323 (__libc_missing_posix_timers): Remove.
22324
dd924cd7
RM
223252012-08-15 Roland McGrath <roland@hack.frob.com>
22326
4b4f2771
RM
22327 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22328 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22329
601c888b
RM
22330 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22331
176790a7
RM
22332 * elf/dl-sym.c: Include <stdlib.h>.
22333
329bc018
RM
22334 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22335 constants, which avoids warnings in 32-bit builds.
22336
e04e272d
RM
22337 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22338 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22339
952bf94a
RM
22340 * misc/lseek.c: File moved to ...
22341 * io/lseek.c: ... here.
22342
7c99b50a
RM
22343 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22344
dd924cd7
RM
22345 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22346 shifting LEN more than 31 bits at once.
22347
b3f479a8
LD
223482012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22349
22350 [BZ #14195]
8c4ae0d4
RM
22351 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22352 segmentation fault for a case of two empty input strings.
b3f479a8
LD
22353 * string/test-strncasecmp.c (check1): Renamed to...
22354 (bz12205): ...this.
22355 (bz14195): Add new testcase for two empty input strings and N > 0.
22356 (test_main): Call new testcase, adapt for renamed function.
22357
9c55864e
AJ
223582012-08-15 Andreas Jaeger <aj@suse.de>
22359
22360 [BZ #14090]
22361 * crypt/md5test2.c: New test, based on test supplied by Serge
22362 Belyshev <belyshev@depni.sinp.msu.ru>.
22363 * crypt/Makefile (xtests): Add md5test-giant..
22364 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22365
02dcb6c5
PE
223662012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22367
22368 [BZ #14090]
22369 * crypt/md5.c (md5_process_block): Don't assume the buffer
22370 length is less than 2**32.
22371 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22372 length is less than 2**64.
22373
a3f95dcc
RM
223742012-08-15 Roland McGrath <roland@hack.frob.com>
22375
be75d758
RM
22376 * string/str-two-way.h: Include <sys/param.h>.
22377 (MAX): Macro removed.
22378
7312ca90
RM
22379 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22380 Move #define and #undef of memmove to just before and after
22381 including <string.h>.
22382
9a0a5486
RM
22383 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22384 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22385 and after including <string.h>. Move declarations of
22386 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22387 to before #include "string/memmove.c".
22388
67cc348d
RM
22389 * include/dirent.h: Declare __getdirentries.
22390
a3f95dcc
RM
22391 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22392 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22393
ca98e171
MF
223942012-08-14 Mike Frysinger <vapier@gentoo.org>
22395
22396 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22397 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22398 * sysdeps/i386/configure: Regenerated.
22399 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22400 STABS_CURRENT_FILE, and STABS_FUN.
22401 (END): Remove call to STABS_FUN_END.
22402 (STABS_CURRENT_FILE1): Delete.
22403 (STABS_CURRENT_FILE): Likewise.
22404 (STABS_FUN): Likewise.
22405 (STABS_FUN_END): Likewise.
22406 (STABS_FUN2): Likewise.
22407 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22408 * sysdeps/x86_64/configure: Regenerated.
22409
5908bf46
RM
224102012-08-14 Roland McGrath <roland@hack.frob.com>
22411
22412 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 22413 * elf/dl-lookup.c: Likewise.
5908bf46 22414
f2c05b9e
JM
224152012-08-14 Joseph Myers <joseph@codesourcery.com>
22416
22417 * sysdeps/unix/sysv/linux/kernel-features.h
22418 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22419 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22420 unconditionally.
22421 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22422 unconditionally.
22423 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22424 condition on __ASSUME_CLONE_THREAD_FLAGS.
22425
e11f5155
AJ
224262012-08-14 Andreas Jaeger <aj@suse.de>
22427
22428 * sysdeps/i386/fpu/libm-test-ulps: Update.
22429
51a9ba86
MK
224302012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22431
2fdd4f78
AJ
22432 * include/atomic.h (atomic_exchange_and_add): Split into ...
22433 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22434 New atomic macros.
51a9ba86 22435
ba6cba9e
MT
224362012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22437
22438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22439
42443a47
JL
224402012-08-13 Jeff Law <law@redhat.com>
22441
22442 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22443 null byte in the output string.
22444
121dce05
JM
224452012-08-10 Joseph Myers <joseph@codesourcery.com>
22446
22447 * sysdeps/unix/sysv/linux/kernel-features.h
22448 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22449 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22450 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22452 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22453 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22454 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22455
bf51f568
JL
224562012-08-09 Jeff Law <law@redhat.com>
22457
22458 [BZ #13939]
22459 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22460 When avoid_arena is set, don't retry in the that arena. Pick the
22461 next one, whatever it might be.
22462 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22463 (arena_lock): Pass in new parameter to arena_get2.
22464 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22465 arena_get2.
22466 (__libc_malloc): Unify retrying after main arena failure with
22467 __libc_memalign version.
22468 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22469
f85fa270
L
224702012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22471
22472 [BZ #14166]
22473 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22474 to __redirect_strstr.
22475 (__strstr_sse42): Use typeof __redirect_strstr.
22476 (__strstr_ia32): Likewise.
22477 (__libc_strstr): New prototype.
22478 (strstr): Renamed to ...
22479 (__libc_strstr): This.
22480 (strstr): New strong alias of __libc_strstr.
22481 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22482 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22483 __redirect_time.
22484 Include <time.h>.
22485 (__libc_time): New prototype.
22486 (time_ifunc): Replace time with __libc_time.
22487 (time): New strong alias and hidden definition of __libc_time.
22488 (__GI_time): Remove strong alias.
22489 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22490 Include <stddef.h>.
22491 (memmove): Redefined to __redirect_memmove.
22492 (__memmove_sse2): Use typeof __redirect_memmove.
22493 (__memmove_ssse3): Likewise.
22494 (__memmove_ssse3_back): Likewise.
22495 (__libc_memmove): New prototype.
22496 (memmove): Renamed to ...
22497 (__libc_memmove): This.
22498 (memmove): New strong alias of __libc_memmove.
22499
33b4a91e
MS
225002012-08-08 Mark Salter <msalter@redhat.com>
22501
22502 * elf/elf.h
22503 (R_MN10300_TLS_GD): Define.
22504 (R_MN10300_TLS_LD): Likewise.
22505 (R_MN10300_TLS_LDO): Likewise.
22506 (R_MN10300_TLS_GOTIE): Likewise.
22507 (R_MN10300_TLS_IE): Likewise.
22508 (R_MN10300_TLS_LE): Likewise.
22509 (R_MN10300_TLS_DTPMOD): Likewise.
22510 (R_MN10300_TLS_DTPOFF): Likewise.
22511 (R_MN10300_TLS_TPOFF): Likewise.
22512 (R_MN10300_SYM_DIFF): Likewise.
22513 (R_MN10300_ALIGN): Likewise.
22514 (R_MN10300_NUM): Update.
22515
b36137f1
JM
225162012-08-08 Joseph Myers <joseph@codesourcery.com>
22517
22518 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22519 Remove.
22520
cdd915fd
RM
225212012-08-08 Roland McGrath <roland@hack.frob.com>
22522
a2433aac
RM
22523 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22524
cdd915fd
RM
22525 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22526 sysdeps/unix -> sysdeps/posix move.
22527 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22528
bf9b740a
AM
225292012-08-07 Allan McRae <allan@archlinux.org>
22530
22531 [BZ #14303]
22532 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22533 (SUNOS_CPP): Likewise.
22534 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22535 not found.
22536 (open_input): Call CPP using execvp.
22537
93df14ee
JM
225382012-08-07 Joseph Myers <joseph@codesourcery.com>
22539
22540 * sysdeps/unix/sysv/linux/kernel-features.h
22541 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22542 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22543 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22544 (__ASSUME_WAITID_SYSCALL): Likewise.
22545 * sysdeps/unix/sysv/linux/dl-execstack.c
22546 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22547 code unconditional.
22548 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22549 conditional code.
22550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22551 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22552 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22553 code.
22554 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22555 unconditional.
22556 [__ASSUME_WAITID_SYSCALL]: Likewise.
22557 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22558
d34689de
RM
225592012-08-07 Roland McGrath <roland@hack.frob.com>
22560
a281decc
RM
22561 * sysdeps/unix/closedir.c: Renamed to ...
22562 * sysdeps/posix/closedir.c: ... here.
22563 * sysdeps/unix/dirfd.c: Renamed to ...
22564 * sysdeps/posix/dirfd.c: ... here.
22565 * sysdeps/unix/dirstream.h: Renamed to ...
22566 * sysdeps/posix/dirstream.h: ... here.
22567 * sysdeps/unix/fdopendir.c: Renamed to ...
22568 * sysdeps/posix/fdopendir.c: ... here.
22569 * sysdeps/unix/opendir.c: Renamed to ...
22570 * sysdeps/posix/opendir.c: ... here.
22571 * sysdeps/unix/readdir.c: Renamed to ...
22572 * sysdeps/posix/readdir.c: ... here.
22573 * sysdeps/unix/readdir_r.c: Renamed to ...
22574 * sysdeps/posix/readdir_r.c: ... here.
22575 * sysdeps/unix/rewinddir.c: Renamed to ...
22576 * sysdeps/posix/rewinddir.c: ... here.
22577 * sysdeps/unix/seekdir.c: Renamed to ...
22578 * sysdeps/posix/seekdir.c: ... here.
22579 * sysdeps/unix/telldir.c: Renamed to ...
22580 * sysdeps/posix/telldir.c: ... here.
22581 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22582 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22583 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22584 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22585
22895b47
RM
22586 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22587 * bits/fcntl.h: ... here.
22588
707a53b6
RM
22589 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22590 not 0.
22591 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22592 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22593 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22594 (struct flock): Move l_start, l_len to the beginning.
22595 Use __pid_t for l_pid.
22596 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22597 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22598 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22599 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22600 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22601 [__USE_LARGEFILE64] (struct flock64): New type.
22602 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22603
f0bd3e25
RM
22604 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22605 * bits/dirent.h: ... here.
22606
d34689de
RM
22607 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22608 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22609
6dad2c06
JM
226102012-08-07 Joseph Myers <joseph@codesourcery.com>
22611
22612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22613 Change from 2.6.0 to 2.6.16.
22614 * sysdeps/unix/sysv/linux/configure: Regenerated.
22615 * sysdeps/unix/sysv/linux/kernel-features.h
22616 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22617 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22618 version.
22619 (__ASSUME_UTIMES): Likewise.
22620 (__ASSUME_CLONE_STOPPED): Remove.
22621 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22622 architectures, not kernel version.
22623 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22624 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22625 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22626 (__ASSUME_WAITID_SYSCALL): Likewise.
22627 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22628 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22629 * README: State 2.6.16 as minimum Linux kernel version. Do not
22630 refer to older versions.
22631
03af9520
RM
226322012-08-06 Roland McGrath <roland@hack.frob.com>
22633
8e49df1d
RM
22634 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22635 Define alphasort64 as an alias.
22636 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22637 Define versionsort64 as an alias.
22638 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22639 Define scandir64 as an alias.
22640 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22641 Define scandirat64 as an alias.
22642 * dirent/alphasort64.c (alphasort64):
22643 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22644 * dirent/versionsort64.c: Likewise.
22645 * dirent/scandir64.c: Likewise.
22646 * dirent/scandirat64.c: Likewise.
22647 * sysdeps/wordsize-64/alphasort.c: File removed.
22648 * sysdeps/wordsize-64/alphasort64.c: File removed.
22649 * sysdeps/wordsize-64/scandir.c: File removed.
22650 * sysdeps/wordsize-64/scandir64.c: File removed.
22651 * sysdeps/wordsize-64/scandirat.c: File removed.
22652 * sysdeps/wordsize-64/scandirat64.c: File removed.
22653 * sysdeps/wordsize-64/versionsort.c: File removed.
22654 * sysdeps/wordsize-64/versionsort64.c: File removed.
22655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22656 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22662 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22663
22664 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22666 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22668 [defined __arch64__ || defined __sparcv9]
22669 (__INO_T_MATCHES_INO64_T): New macro.
22670 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22671 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22672 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22673 * sysdeps/unix/sysv/linux/bits/dirent.h
22674 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22675 (_DIRENT_MATCHES_DIRENT64): New macro.
22676
03af9520
RM
22677 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22678 Define lockf64 as an alias.
22679 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22680 Define fseeko64 as an alias.
22681 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22682 Define ftello64 as an alias.
22683 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22684 Define _IO_fgetpos64 and fgetpos64 as aliases.
22685 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22686 Define _IO_fsetpos64 and fsetpos64 as aliases.
22687 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22688 Conditionalize body on this.
22689 * libio/fseeko64.c: Likewise.
22690 * libio/ftello64.c: Likewise.
22691 * libio/iofgetpos64.c: Likewise.
22692 * libio/iofsetpos64.c: Likewise.
22693 * sysdeps/wordsize-64/lockf.c: File removed.
22694 * sysdeps/wordsize-64/lockf64.c: File removed.
22695 * sysdeps/wordsize-64/fseeko.c: File removed.
22696 * sysdeps/wordsize-64/fseeko64.c: File removed.
22697 * sysdeps/wordsize-64/ftello.c: File removed.
22698 * sysdeps/wordsize-64/ftello64.c: File removed.
22699 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22700 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22701 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22702 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22704 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22706 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22708 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22710 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22712 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22713
22714 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22716 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22718 [defined __arch64__ || defined __sparcv9]
22719 (__OFF_T_MATCHES_OFF64_T): New macro.
22720 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22721 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22723 (__OFF_T_MATCHES_OFF64_T): New macro.
22724
c5757acd
L
227252012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22726
22727 * stdlib/secure-getenv.c (__secure_getenv): Replace
22728 GLIBC_2_16 with GLIBC_2_17.
22729
3a31811e
L
227302012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22731
22732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22734
faa2bccb
DM
227352012-08-03 David S. Miller <davem@davemloft.net>
22736
22737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22738
85fe1997
JM
227392012-08-03 Joseph Myers <joseph@codesourcery.com>
22740
22741 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22742 Remove.
22743 (__ASSUME_CORRECT_SI_PID): Likewise.
22744 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22745 (__ASSUME_TMPFS_NAME): Likewise.
22746 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22747 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22748 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22749 (HAVE_AUX_SECURE): Make definition unconditional.
22750 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22751 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22752
4f75b7a0
RM
227532012-08-03 Roland McGrath <roland@hack.frob.com>
22754
22755 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22756 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22757 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22758 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22759 __eloop_threshold instead of SYMLOOP_MAX.
22760
22761 * sysdeps/generic/eloop-threshold.h: New file.
22762 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22763 of MAXSYMLINKS.
22764 * elf/chroot_canon.c (chroot_canon): Likewise.
22765
7aab07e4
JM
227662012-08-03 Joseph Myers <joseph@codesourcery.com>
22767
22768 [BZ #13717]
22769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22770 Change to 2.6.0 everywhere.
22771 * sysdeps/unix/sysv/linux/configure: Regenerated.
22772 * sysdeps/unix/sysv/linux/kernel-features.h
22773 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22774 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22775 kernel versions.
22776 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22777 (__ASSUME_FUTEX_REQUEUE): Remove.
22778 (__ASSUME_STATFS64): Define unconditionally.
22779 (__ASSUME_AT_SECURE): Likewise.
22780 (__ASSUME_CORRECT_SI_PID): Likewise.
22781 (__ASSUME_TGKILL): Define without depending on kernel version for
22782 i386.
22783 (__ASSUME_UTIMES): Likewise.
22784 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22785 kernel version.
22786 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22787 (__ASSUME_TMPFS_NAME): Likewise.
22788 * README: Update reference to Linux kernel versions.
22789
b67e9372
MP
227902012-08-02 Marek Polacek <polacek@redhat.com>
22791
1f529f7d 22792 [BZ# 14150]
b67e9372
MP
22793 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22794 libc_cv_asm_type_prefix with %.
22795 * configure: Regenerated.
d2441631
RM
22796 * include/libc-symbols.h: Remove comment about
22797 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22798 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22799 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22800 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22801 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22802 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22803 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22804 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22805 * elf/tst-unique2mod1.c: Likewise.
22806 * elf/tst-unique1mod2.c: Likewise.
22807 * elf/tst-unique1mod1.c: Likewise.
22808 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22809 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22810 Replace ASM_TYPE_DIRECTIVE with .type.
22811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22812 * sysdeps/i386/sysdep.h: Likewise.
22813 * sysdeps/x86_64/sysdep.h: Likewise.
22814 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22816 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22817 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22818 * sysdeps/powerpc/powerpc32/sysdep.h:
22819 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22820 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22821 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22822 * sysdeps/i386/fpu/e_powf.S: Likewise.
22823 * sysdeps/i386/fpu/e_expl.S: Likewise.
22824 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22825 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22826 * sysdeps/i386/fpu/e_pow.S: Likewise.
22827 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22829 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22830 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22831 * sysdeps/i386/fpu/e_log2.S: Likewise.
22832 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22833 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22834 * sysdeps/i386/fpu/e_powl.S: Likewise.
22835 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22836 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22837 * sysdeps/i386/fpu/e_logl.S: Likewise.
22838 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22839 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22840 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22841 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22842 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22843 * sysdeps/i386/fpu/e_log.S: Likewise.
22844 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22845 * sysdeps/i386/fpu/e_logf.S: Likewise.
22846 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22847 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22848 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22849 * sysdeps/i386/fpu/e_log10.S: Likewise.
22850 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22852 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22853 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22854 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22855 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22856 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22857 * sysdeps/i386/i686/strtok.S: Likewise.
22858 * sysdeps/i386/i386-mcount.S: Likewise.
22859 * sysdeps/i386/strtok.S: Likewise.
22860 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22861 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22862 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22864 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22865 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22866 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22867 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22868 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22869 * sysdeps/x86_64/_mcount.S: Likewise.
22870 * sysdeps/x86_64/strtok.S: Likewise.
22871 * sysdeps/sh/_mcount.S: Likewise.
22872
2747bf9a
RM
228732012-08-01 Roland McGrath <roland@hack.frob.com>
22874
22875 * libio/iofopen.c: Include <fcntl.h>.
22876 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22877 (_IO_fopen64, fopen64): Define as aliases.
22878 * libio/iofopen64.c: Include <fcntl.h>.
22879 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22880 Conditionalize body on this.
22881 * sysdeps/wordsize-64/iofopen.c: File removed.
22882 * sysdeps/wordsize-64/iofopen64.c: File removed.
22883
3fb791b8
MP
228842012-08-01 Marek Polacek <polacek@redhat.com>
22885
22886 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22887 Use dlfcn directly instead of a variable.
22888 (binfmt-subdir): Do not define.
22889 (dlfcn): Likewise.
22890
a9f1039f
JM
228912012-08-01 Joseph Myers <joseph@codesourcery.com>
22892
23bddc06
JM
22893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22894 Remove all definitions.
22895 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22896 <kernel-features.h>.
22897 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22898 (miss_F_GETOWN_EX): Remove all definitions.
22899 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22900 macro definition.
22901 [!__ASSUME_FCNTL64]: Remove conditional code.
22902 [__ASSUME_FCNTL64]: Make code unconditional.
22903 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22904 <kernel-features.h>.
22905 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22906 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22907 (lockf64) [__NR_fcntl64]: Make code unconditional.
22908 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22909
a9f1039f
JM
22910 * sysdeps/unix/sysv/linux/kernel-features.h
22911 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22912 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22913 Make code unconditional.
22914 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22915 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22917 [__NR_vfork]: Make code unconditional.
22918 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22919 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22921 [__NR_vfork]: Make code unconditional.
22922 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22923 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22924
09c0ee5f
RM
229252012-08-01 Roland McGrath <roland@hack.frob.com>
22926
48aec5b9
RM
22927 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22928 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22929
cd97c966
RM
22930 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22931 Define mkstemp64 as an alias.
3f55550c
RM
22932 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22933 Define mkstemps64 as an alias.
cd97c966
RM
22934 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22935 Define mkostemp64 as an alias.
b8625cfc
RM
22936 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22937 Define mkostemps64 as an alias.
cd97c966
RM
22938 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22939 Conditionalize body on this.
22940 * misc/mkostemp64.c: Likewise.
b8625cfc 22941 * misc/mkostemps64.c: Likewise.
3f55550c 22942 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22943 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22944 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22945 * sysdeps/wordsize-64/mkostemp.c: File removed.
22946 * sysdeps/wordsize-64/mkstemp.c: File removed.
22947 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22949 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22950 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22951
09c0ee5f
RM
22952 [BZ #14138]
22953 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22954 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22955 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22956 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22957
22958 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22959 compat_symbol macros from <shlib-compat.h> rather than the underlying
22960 default_symbol_version and symbol_version macros, so that DEFAULT
22961 lines in shlib-versions are respected.
22962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22963
7e66ee51
FW
229642012-08-01 Florian Weimer <fweimer@redhat.com>
22965
22966 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22967 Declare with warn_unused_result.
22968 (setgid, setregid, setegid, setresgid): Likewise.
22969 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22970 Likewise.
22971 * WUR-REPORT: Remove set*id functions.
22972
d2a54255
PT
229732012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22974
22975 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22976
7ecdb005
RM
229772012-07-31 Roland McGrath <roland@hack.frob.com>
22978
b4180a5e 22979 [BZ #10191]
789bd351
RM
22980 * include/sys/socket.h (__libc_accept, __libc_accept4):
22981 Add attribute_hidden.
22982 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22983
40ce302d
RM
22984 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22985 use of PTR_MANGLE.
22986 * inet/getnetgrent_r.c (setup): Likewise.
22987
7ecdb005
RM
22988 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22989
e2eabb2c
DM
229902012-07-31 David S. Miller <davem@davemloft.net>
22991
22992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22993
d0419dbf
JM
229942012-07-31 Joseph Myers <joseph@codesourcery.com>
22995
22996 [BZ #13629]
22997 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22998 value between 1.0 and 2.0 and smaller part has absolute value less
22999 than 1.0.
23000 * math/s_clog10.c (__clog10): Likewise.
23001 * math/s_clog10f.c (__clog10f): Likewise.
23002 * math/s_clog10l.c (__clog10l): Likewise.
23003 * math/s_clogf.c (__clogf): Likewise.
23004 * math/s_clogl.c (__clogl): Likewise.
23005 * math/libm-test.inc (clog_test): Add more tests.
23006 (clog10_test): Likewise.
23007 * sysdeps/i386/fpu/libm-test-ulps: Update.
23008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23009
2bc13872
FW
230102012-07-31 Florian Weimer <fweimer@redhat.com>
23011
23012 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
23013 Exit with zero in case no suitable GID is found, and write a
23014 message to standard error.
23015
bea9b193
RM
230162012-07-30 Roland McGrath <roland@hack.frob.com>
23017
23018 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
23019 rather than to 1.
23020 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
23021 (MAXPATHLEN): Removed.
23022 (NOGROUP, NODEV): New macros.
23023 (setbit, clrbit, isset, isclr): New macros.
23024 (howmany, roundup, powerof2): New macros.
23025 (DEV_BSIZE): New macro.
23026
23027 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
23028 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
23029
23030 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
23031 definition on [!__NO_LONG_DOUBLE_MATH].
23032
23033 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
23034 PTR_MANGLE and PTR_DEMANGLE.
23035
23036 * socket/accept4.c (accept4): Rename to __libc_accept4.
23037 Define accept4 as a weak alias.
23038
23039 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
23040 on [_DIRENT_HAVE_D_TYPE].
23041 * io/ftw.c (ftw_dir): Likewise.
23042
23043 * io/xmknod.c (__xmknod): Don't check PATH for being null.
23044
23045 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
23046
23047 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
23048 Use the BSD numbers rather than the arbitrary ones we had.
23049 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
23050 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
23051 (SIGXCPU, SIGXFSZ): New macros.
23052 (_NSIG): Now 32.
23053
23054 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
23055 initializer on [_LIBC_REENTRANT].
23056
23057 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
23058 definitions inside [_POSIX_MAPPED_FILES].
23059
23060 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
23061
23062 * dirent/opendir.c: Include <fcntl.h>.
23063
23064 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
23065 (__libc_getspecific): Likewise.
23066 (__libc_key_create): Likewise.
23067
23068 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
23069 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
23070 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
23071 (tmpfile64): Define as alias.
23072 * sysdeps/wordsize-64/tmpfile.c: File removed.
23073 * sysdeps/wordsize-64/tmpfile64.c: File removed.
23074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
23075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
23076
23077 * stdio-common/vfscanf.c: Include <stdbool.h>.
23078 * nss/makedb.c: Likewise.
23079 * stdio-common/_i18n_number.h: Likewise.
23080 * argp/argp-help.c: Likewise.
23081 * posix/wordexp.c: Likewise.
23082 * sysdeps/posix/spawni.c: Likewise.
23083 * nss/nss_files/files-initgroups.c: Likewise.
23084 * stdio-common/reg-modifier.c: Include <stdlib.h>.
23085 * nss/nss_files/files-initgroups.c: Likewise.
23086 * nss/nss_db/db-netgrp.c: Likewise.
23087 * nss/nss_db/db-initgroups.c: Likewise.
23088 * io/fchmodat.c: Include <sys/stat.h>.
23089
23090 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
23091 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
23092
23093 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
23094 [HAVE_MMAP].
23095
23096 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
23097 Add multiple inclusion protection.
23098
e5abc686
DM
230992012-07-27 David S. Miller <davem@davemloft.net>
23100
23101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23102
815e6fa3
GB
231032012-07-27 Gary Benson <gbenson@redhat.com>
23104
23105 [BZ #14298]
23106 * elf/rtld.c: Include <stap-probe.h>.
23107 (dl_main): Added static probes "init_start" and "init_complete".
23108 * elf/dl-load.c: Include <stap-probe.h>.
23109 (lose): Take new parameter "nsid".
23110 Added static probe "map_failed".
23111 (_dl_map_object_from_fd): Pass namespace id to lose.
23112 Added static probe "map_start".
23113 (open_verify): Pass namespace id to lose.
23114 * elf/dl-open.c: Include <stap-probe.h>.
23115 (dl_open_worker) Added static probes "map_complete", "reloc_start"
23116 and "reloc_complete".
23117 * elf/dl-close.c: Include <stap-probe.h>.
23118 (_dl_close_worker): Added static probes "unmap_start" and
23119 "unmap_complete".
23120 * elf/rtld-debugger-interface.txt: New file documenting the above.
23121
9f98c16c
RM
231222012-07-26 Roland McGrath <roland@hack.frob.com>
23123
23124 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
23125 rather than a string variable.
23126 * sunrpc/rpc_main.c (h_output): Likewise.
23127 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
23128
f3c22df3
PT
231292012-07-26 Pino Toscano <toscano.pino@tiscali.it>
23130
23131 * inet/check_native.c: New file.
23132
3129cfc6
JM
231332012-07-26 Joseph Myers <joseph@codesourcery.com>
23134
da865e95
JM
23135 [BZ #13629]
23136 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
23137 if larger part has absolute value 1.0.
23138 * math/s_clog10.c (__clog10): Likewise.
23139 * math/s_clog10f.c (__clog10f): Likewise.
23140 * math/s_clog10l.c (__clog10l): Likewise.
23141 * math/s_clogf.c (__clogf): Likewise.
23142 * math/s_clogl.c (__clogl): Likewise.
23143 * math/libm-test.inc (clog_test): Add more tests.
23144 (clog10_test): Likewise.
23145 * sysdeps/i386/fpu/libm-test-ulps: Update.
23146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23147
3129cfc6
JM
23148 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23149 (pltexit): Likewise.
23150 (La_regs): Likewise.
23151 (La_retval): Likewise.
23152 (int_retval): Likewise.
23153 Update #error for removed macros to refer only to definitions in
23154 tst-audit.h.
23155 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23156 macro.
23157 (pltexit): Likewise.
23158 (La_regs): Likewise.
23159 (La_retval): Likewise.
23160 (int_retval): Likewise.
23161 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23162 macro.
23163 (pltexit): Likewise.
23164 (La_regs): Likewise.
23165 (La_retval): Likewise.
23166 (int_retval): Likewise.
23167 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23168 macro.
23169 (pltexit): Likewise.
23170 (La_regs): Likewise.
23171 (La_retval): Likewise.
23172 (int_retval): Likewise.
23173 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23174 macro.
23175 (pltexit): Likewise.
23176 (La_regs): Likewise.
23177 (La_retval): Likewise.
23178 (int_retval): Likewise.
23179 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23180 macro.
23181 (pltexit): Likewise.
23182 (La_regs): Likewise.
23183 (La_retval): Likewise.
23184 (int_retval): Likewise.
23185 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23186 macro.
23187 (pltexit): Likewise.
23188 (La_regs): Likewise.
23189 (La_retval): Likewise.
23190 (int_retval): Likewise.
23191 * sysdeps/generic/tst-audit.h: Update comment to refer only to
23192 macro definitions in tst-audit.h.
23193 * sysdeps/i386/tst-audit.h: New file.
23194 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23195 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23196 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23197 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23198 * sysdeps/sh/tst-audit.h: Likewise.
23199 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23200 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23201 * sysdeps/x86_64/tst-audit.h: Likewise.
23202
bfc07087
AJ
232032012-07-26 Andreas Jaeger <aj@suse.de>
23204
b1b2aaf8
AJ
23205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23206 ptrace.
23207
23208 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23209 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23210 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23211 PTRACE_O_MASK.
23212 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23213 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23214 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23215
bfc07087
AJ
23216 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23217 value.
23218
23219 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23220 _sigsys.
23221 (si_call_addr, si_syscall, si_arch): Define new macro.
23222 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23223 _sigsys.
23224 (si_call_addr, si_syscall, si_arch): Define new marcro.
23225 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23226 _sigsys.
23227 (si_call_addr, si_syscall, si_arch): Define new macro.
23228 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23229 _sigsys.
23230 (si_call_addr, si_syscall, si_arch): Define new macro.
23231
89b4b02f
JM
232322012-07-25 Joseph Myers <joseph@codesourcery.com>
23233
23234 [BZ #13717]
23235 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23236 Change to 2.4.21 where previously 2.4.1.
23237 * sysdeps/unix/sysv/linux/configure: Regenerated.
23238 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23239 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23240 Linux kernel version.
23241 (__ASSUME_STD_AUXV): Remove.
23242 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23243 kernel version.
23244 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23245 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23246 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23247 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23248 (__ASSUME_NETLINK_SUPPORT): Likewise.
23249 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23250 (__no_netlink_support): Remove conditional definition.
23251 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23252 Remove.
23253 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23254 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23255 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23256 (if_nameindex_ioctl): Remove.
23257 (if_nameindex_netlink): Do not handle __no_netlink_support.
23258 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23259 code.
23260 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23261 Remove conditional code.
23262 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23263 code.
23264 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23265 unconditional.
23266 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23267 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23268 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23269 Remove.
23270 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23271 [!__ASSUME_STD_AUXV]: Remove conditional code.
23272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23273 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23274 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23276 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23277 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23278 code.
23279 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23281 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23282 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23283 conditional code.
23284 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23286 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23287 code.
23288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23289 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23290 conditional code.
23291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23292 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23293 code unconditional.
23294 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23295 conditional code.
23296 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23297 unconditional.
23298 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23299 conditional code.
23300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23301 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23302 unconditional.
23303 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23304 conditional code.
23305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23306 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23307 code unconditional.
23308 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23309 conditional code.
23310 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23311 unconditional.
23312 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23313 conditional code.
23314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23315 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23316 code unconditional.
23317 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23318 conditional code.
23319 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23320 unconditional.
23321 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23322 conditional code.
23323
842a39cd
AS
233242012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23325
23326 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23327 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23328 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23329 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23330 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23331 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23332 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23333 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23334 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23335 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23336 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23337 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23338 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23339 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23340 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23341 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23342 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23343 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23344 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23346 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23347 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23348 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23349
84b3fd84
FW
233502012-07-25 Florian Weimer <fweimer@redhat.com>
23351
23352 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
23353 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23354 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23355 Introduce __libc_secure_getenv.
0c7936d5
FW
23356 * stdlib/Versions (2.17): Add secure_getenv
23357 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23358 * stdlib/secure-getenv.c: Rename __secure_getenv to
23359 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23360 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
23361 * stdlib/tst-secure-getenv.c: New.
23362 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
23363 * manual/startup.texi (Environment Access): Document
23364 secure_getenv.
84b3fd84
FW
23365 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23366 __libc_secure_getenv.
23367 * inet/ruserpass.c (ruserpass): Likewise.
23368 * malloc/mtrace.c (mtrace): Likewise.
23369 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 23370 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
23371 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23372 * sysdeps/posix/tempname.c: Likewise. Evaluate
23373 HAVE_SECURE_GETENV.
23374 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 23375 __secure_getenv to __libc_secure_getenv.
84b3fd84 23376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
23377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23378 Likewise.
23379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23380 Likewise.
23381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 23388
56e49b71
JM
233892012-07-25 Joseph Myers <joseph@codesourcery.com>
23390
23391 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23392 (struct La_i86_retval): Likewise.
23393 (struct La_x86_64_regs): Likewise.
23394 (struct La_x86_64_retval): Likewise.
23395 (struct La_x32_regs): Likewise.
23396 (struct La_x32_retval): Likewise.
23397 (struct La_ppc32_regs): Likewise.
23398 (struct La_ppc32_retval): Likewise.
23399 (struct La_ppc64_regs): Likewise.
23400 (struct La_ppc64_retval): Likewise.
23401 (struct La_sh_regs): Likewise.
23402 (struct La_sh_retval): Likewise.
23403 (struct La_s390_32_regs): Likewise.
23404 (struct La_s390_32_retval): Likewise.
23405 (struct La_s390_64_regs): Likewise.
23406 (struct La_s390_64_retval): Likewise.
23407 (struct La_sparc32_regs): Likewise.
23408 (struct La_sparc32_retval): Likewise.
23409 (struct La_sparc64_regs): Likewise.
23410 (struct La_sparc64_retval): Likewise.
23411 (struct audit_ifaces): Remove architecture-specific pltenter and
23412 pltexit members.
23413 * sysdeps/i386/ldsodefs.h: New file.
23414 * sysdeps/powerpc/ldsodefs.h: Likewise.
23415 * sysdeps/s390/ldsodefs.h: Likewise.
23416 * sysdeps/sh/ldsodefs.h: Likewise.
23417 * sysdeps/sparc/ldsodefs.h: Likewise.
23418 * sysdeps/x86_64/ldsodefs.h: Likewise.
23419
354691b7
MP
234202012-07-25 Marek Polacek <polacek@redhat.com>
23421
23422 [BZ #6808]
23423 * math/libm-test.inc (yn_test): Add another test.
23424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23425 to ERANGE when the result is +-Inf.
23426 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23427 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23428 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23429 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23430
bf9e2071
JM
234312012-07-24 Joseph Myers <joseph@codesourcery.com>
23432
23433 * conform/data/time.h-data (NULL): Use macro-constant. Require
23434 equal to 0.
23435 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23436 clock_t.
23437 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23438
57633811
TS
234392012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23440
23441 * configure.in <sysdeps resolving>: Correct printing
23442 Implies_before.
23443 * configure: Regenerate.
23444
c23c33b0
TS
234452012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23446
23447 * math/w_ilogb.c: Include <limits.h>.
23448 * math/w_ilogbl.c: Likewise.
23449
b5982523
JM
234502012-07-20 Joseph Myers <joseph@codesourcery.com>
23451
23452 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23453 va_copy. Document allowing for unavailable va_copy only as
23454 pre-C99 compatibility.
23455 * manual/string.texi (Copying and Concatenation): Use va_copy
23456 instead of __va_copy in concat example.
23457
ac4ea442
PT
234582012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23459
23460 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23461 (__sendto): Use create_address_port. Initialize APORT and deallocate
23462 it if not null.
23463
f98eafbd
PT
23464 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23465 with O_NOLINK passed to __file_name_lookup.
23466
898c7aab
PT
23467 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23468 with O_NOLINK passed to __file_name_lookup.
23469
0ced335a
PT
23470 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23471 negative N or less than NGIDS.
23472
b3404dbd
PT
23473 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23474 type to string_t. Set ERANGE as errno and return it if NAME is not big
23475 enough. Use memcpy instead of strncpy.
23476
0f48659e
JM
234772012-07-20 Joseph Myers <joseph@codesourcery.com>
23478
23479 * elf/Makefile (check-data): Remove.
23480 (localplt.data): New vpath directive.
23481 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23482 instead of $(check-data).
23483 * scripts/data/localplt-generic.data: Move to ...
23484 * sysdeps/generic/localplt.data: ... here.
23485 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23486 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23487 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23489 ... here.
23490 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23492 ... here.
23493 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23495 ... here.
23496 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23498 ... here.
23499 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23501 ... here.
23502 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23504 ... here.
23505
d37cbdaa
AZ
235062012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23507
23508 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23509 PPC32 and PPC64 files.
23510 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23511 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23512
46f85fc2
AK
235132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23514
23515 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23516 __makecontext_ret to ...
23517 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23518 ... here and call exit if uc_link is NULL. New file.
23519 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23520 __makecontext_ret.S.
23521 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23522 __makecontext_ret to ...
23523 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23524 ... here and call exit if uc_link is NULL. New file.
23525 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23526 __makecontext_ret.S.
23527
08f43f9b
AK
235282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23529
23530 * elf/elf.h (R_390_IRELATIVE): New definition.
23531 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23532 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23533 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23534 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23535 (elf_machine_lazy_rel): Likewise.
23536 * sysdeps/s390/dl-irel.h: New file.
23537 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23538 * sysdeps/s390/s390-64/memset.S: New asm code.
23539 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23540 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23541 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23542 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23543 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23544 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23545 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23546 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23547 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23548 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23549 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23550 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23551 * sysdeps/s390/s390-32/memset.S: New asm code.
23552 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23553
3b05db33
MP
235542012-07-17 Marek Polacek <polacek@redhat.com>
23555
23556 [BZ #14349]
23557 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23558 * sysdeps/s390/s390-64/configure.in: Likewise.
23559 * sysdeps/sparc/configure.in: Likewise.
23560 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23561 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23562 * sysdeps/i386/configure.in: Likewise.
23563 * sysdeps/x86_64/configure.in: Likewise.
23564 * sysdeps/sh/configure.in: Likewise.
23565 * sysdeps/s390/s390-32/configure: Regenerated.
23566 * sysdeps/s390/s390-64/configure: Likewise.
23567 * sysdeps/x86_64/configure: Likewise.
23568 * sysdeps/sh/configure: Likewise.
23569 * sysdeps/powerpc/powerpc64/configure: Likewise.
23570 * sysdeps/powerpc/powerpc32/configure: Likewise.
23571 * sysdeps/sparc/configure: Likwise.
23572 * sysdeps/i386/configure: Likewise.
23573
a66877c6
MP
23574 * elf/dl-open.c: Comment fixes.
23575
cfc82fd8
JM
235762012-07-17 Joseph Myers <joseph@codesourcery.com>
23577
bd29910a
JM
23578 * Makefile [CXX] (check-data): Remove.
23579 [CXX] (c++-types.data): New vpath directive.
23580 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23581 vpath. Do not allow for C++ type data being missing.
23582 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23583 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23584 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23585 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23586 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23587 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23588 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23590 ... here.
23591 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23593 ... here.
23594 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23596 ... here.
23597 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23599 ... here.
23600 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23602 ... here.
23603 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23605 ... here.
23606 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23608 ... here.
23609 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23611
cfc82fd8
JM
23612 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23613 definitions to architecture-specific files.
23614 (TLS_IE): Likewise.
23615 (TLS_LD): Likewise.
23616 (TLS_GD): Likewise.
23617 * sysdeps/i386/tls-macros.h: New file.
23618 * sysdeps/powerpc/tls-macros.h: Likewise.
23619 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23620 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23621 * sysdeps/sh/tls-macros.h: Likewise.
23622 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23623 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23624 * sysdeps/x86_64/tls-macros.h: Likewise.
23625
f7db3170
TS
236262012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23627
07cbfc23
TS
23628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23629 zero value for regular exit case.
23630
f7db3170
TS
23631 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23632 (__start_context): Preserve zero value for regular exit case.
23633
dc97c227
TS
236342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23635 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23636
23637 * manual/setjmp.texi (setcontext): Clarify normal process
23638 termination when uc_link is the null pointer.
23639 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23640 exit call.
23641
d0cd7d02
AS
236422012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23643
23644 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23645 preprocessor. Test for each exception mask separately.
23646
dd318934
AJ
236472012-07-16 Andreas Jaeger <aj@suse.de>
23648
23649 * po/ru.po: Update from translation team.
23650
8048311a
JM
236512012-07-15 Joseph Myers <joseph@codesourcery.com>
23652
23653 * conform/data/string.h-data (NULL): Use macro-constant. Require
23654 equal to 0.
23655 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23656 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23657 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23658 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23660
b637d46e
AJ
236612012-07-13 Andreas Jaeger <aj@suse.de>
23662
23663 * po/fr.po: Update from translation team.
23664
541428fe
MP
236652012-07-12 Marek Polacek <polacek@redhat.com>
23666
23667 [BZ #14173]
23668 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23669 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23670 loop condition.
23671
ec332e94
JM
236722012-07-12 Joseph Myers <joseph@codesourcery.com>
23673
23674 [BZ #13717]
23675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23676 Change to 2.4.1 where previously 2.4.0.
23677 * sysdeps/unix/sysv/linux/configure: Regenerated.
23678 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23679 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23680 version.
23681 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23682 (__ASSUME_AT_CLKTCK): Remove.
23683 (__ASSUME_AT_PAGESIZE): Likewise.
23684 (__ASSUME_AT_XID): Likewise.
23685 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23686 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23687 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23688 unconditionally.
23689 (HAVE_AUX_PAGESIZE): Likewise.
23690 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23691 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23692 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23693
7b6e99be
JB
236942012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23695
23696 [BZ #14307]
23697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23698 the temporary buffer used to invoke __gethostbyname2_r,
23699 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23700 host_data / struct gaih_addrtuple.
23701 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23702 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23703 header file nss/nsswitch.h.
23704 * nss/nsswitch.h (global scope): Add definition of implementation
23705 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23706 resolv/nss_dns/dns-host.c).
23707
608404eb
AJ
237082012-07-11 Andreas Jaeger <aj@suse.de>
23709
23710 * po/fr.po: Update from translation team.
23711
71220aca
AJ
23712 * po/sv.po: Update from translation team
23713 * po/fr.po: Another update from translation team.
23714
28cfe843
AZ
237152012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23716
23717 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23718 for subnormals or multiply small sinh result by itself.
23719 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23721
6b90f981
DM
237222012-07-11 David S. Miller <davem@davemloft.net>
23723
23724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23725
c6825772
AS
237262012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23727
23728 [BZ #14347]
23729 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23730 (INTERNAL_MARK): Shift it here.
23731
7b8e0d49
MP
237322012-07-10 Marek Polacek <polacek@redhat.com>
23733
23734 [BZ #14151]
23735 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23736 libc_cv_asm_global_directive with .globl.
23737 * configure: Regenerated.
23738 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23739 with .globl.
23740 * sysdeps/i386/configure: Regenerated.
23741 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23742 with .globl.
23743 * sysdeps/x86_64/configure: Regenerated.
23744 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23745 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23746 * elf/tst-unique2mod2.c: Likewise.
23747 * elf/tst-unique2mod1.c: Likewise.
23748 * elf/tst-unique1mod2.c: Likewise.
23749 * elf/tst-unique1mod1.c: Likewise.
23750 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23751 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23753 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23754 * sysdeps/mach/sysdep.h: Likewise.
23755 * sysdeps/i386/sysdep.h: Likewise.
23756 * sysdeps/i386/i386-mcount.S: Likewise.
23757 * sysdeps/x86_64/_mcount.S: Likewise.
23758 * sysdeps/x86_64/sysdep.h: Likewise.
23759 * sysdeps/sh/_mcount.S: Likewise.
23760 * sysdeps/sh/sysdep.h: Likewise.
23761 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23762 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23763 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23764 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23765 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23766 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23767 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23768 * locale/localeinfo.h: Likewise.
23769 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23770 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23771
6c55cda3
RM
237722012-07-09 Roland McGrath <roland@hack.frob.com>
23773
23774 [BZ #14336]
23775 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23776 system".
23777 * manual/message.texi (The Uniforum approach): Likewise.
23778 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23779 (glibc iconv Implementation): Likewise.
23780
638a572e
JM
237812012-07-09 Joseph Myers <joseph@codesourcery.com>
23782
23783 [BZ #14337]
23784 * math/s_clog.c (__clog): Avoid scaling a value down where that
23785 could result in underflow.
23786 * math/s_clog10.c (__clog10): Likewise.
23787 * math/s_clog10f.c (__clog10f): Likewise.
23788 * math/s_clog10l.c (__clog10l): Likewise.
23789 * math/s_clogf.c (__clogf): Likewise.
23790 * math/s_clogl.c (__clogl): Likewise.
23791 * math/libm-test.inc (clog_test): Add more tests.
23792 (clog10_test): Likewise.
23793 * sysdeps/i386/fpu/libm-test-ulps: Update.
23794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23795
261f4859
AS
237962012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23797
0abaf3e4
AS
23798 [BZ #14283]
23799 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23800 by 7 not 8 to examine high bit of fractional part.
23801
261f4859
AS
23802 [BZ #14042]
23803 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23804 for call to __mcount_internal.
23805 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23806 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23807 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23808
f17ac40d
JM
238092012-07-06 Joseph Myers <joseph@codesourcery.com>
23810
9ad63c23
JM
23811 [BZ #14154]
23812 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23813 approximation for values within 0x1p-13f of an odd multiple of
23814 pi/4.
23815 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23816 exception. Add more tests.
23817 * sysdeps/i386/fpu/libm-test-ulps: Update.
23818
f17ac40d
JM
23819 [BZ #6778]
23820 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23821 inputs and return -1 for them. Do not check for +Inf in case not
23822 reachable for +Inf.
23823 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23824 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23825 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23826 and return -1 for them. Do not check for +Inf in case not
23827 reachable for +Inf.
23828 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23829 define.
23830 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23831 and return -1 for them. Do not check for +Inf in case not
23832 reachable for +Inf.
23833 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23834 spurious underflow.
23835 * sysdeps/i386/fpu/libm-test-ulps: Update.
23836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23837
fb21f89b
MF
238382012-07-06 Mike Frysinger <vapier@gentoo.org>
23839
23840 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23841
cdfe2c5e
JM
238422012-07-05 Joseph Myers <joseph@codesourcery.com>
23843
23844 [BZ #14157]
23845 [BZ #14331]
23846 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23847 could result in spurious underflow. Scale down values above
23848 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23849 * math/s_csqrtf.c (__csqrtf): Likewise.
23850 * math/s_csqrtl.c (__csqrtl): Likewise.
23851 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23852 spurious underflow.
23853 * sysdeps/i386/fpu/libm-test-ulps: Update.
23854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23855
70d35b67
AS
238562012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23857
704bc459
AS
23858 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23859 xopen-msg.sed.
23860 * catgets/xopen-msg.awk: New file.
23861 * catgets/xopen-msg.sed: Removed.
23862
70d35b67
AS
23863 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23864 po2text.sed.
23865 * intl/po2test.awk: New file.
23866 * intl/po2test.sed: Removed.
23867
ca61cf32
JM
238682012-07-04 Joseph Myers <joseph@codesourcery.com>
23869
23870 [BZ #14328]
23871 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23872 or multiply small sinh result by itself.
23873 * math/s_ctanf.c (__ctanf): Likewise.
23874 * math/s_ctanh.c (__ctanh): Likewise.
23875 * math/s_ctanhf.c (__ctanhf): Likewise.
23876 * math/s_ctanhl.c (__ctanhl): Likewise.
23877 * math/s_ctanl.c (__ctanl): Likewise.
23878 * math/libm-test.inc (ctan_test_tonearest): New function.
23879 (ctan_test_towardzero): Likewise.
23880 (ctan_test_downward): Likewise.
23881 (ctan_test_upward): Likewise.
23882 (ctanh_test_tonearest): Likewise.
23883 (ctanh_test_towardzero): Likewise.
23884 (ctanh_test_downward): Likewise.
23885 (ctanh_test_upward): Likewise.
23886 (main): Call these new functions.
23887 * sysdeps/i386/fpu/libm-test-ulps: Update.
23888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23889
ca48a46a
MF
238902012-07-03 Mike Frysinger <vapier@gentoo.org>
23891
23892 * .gitignore: Delete /ports entry.
23893
9d63d37d
AJ
238942012-07-03 Andreas Jaeger <aj@suse.de>
23895
23896 * po/bg.po: Update from translation team.
23897 * po/cs.po: Likewise.
23898 * po/de.po: Likewise.
23899 * po/hr.po: Likewise.
23900 * po/nl.pl: Likewise.
23901 * po/pl.po: Likewise.
23902 * po/vi.po: Likewise.
23903
370ca3d2
JM
239042012-07-03 Joseph Myers <joseph@codesourcery.com>
23905
95f5a9a8
JM
23906 * Makeconfig [!+link] (+link-before-libc): New variable.
23907 [!+link] (+link-after-libc): Likewise.
23908 [!+link] (+link-tests): Likewise.
23909 [!+link] (+link): Define in terms of $(+link-before-libc) and
23910 $(+link-after-libc).
23911 [!+link-static] (+link-static-before-libc): New variable.
23912 [!+link-static] (+link-static-after-libc): Likewise.
23913 [!+link-static] (+link-static-tests): Likewise.
23914 [!+link-static] (+link-static): Define in terms of
23915 $(+link-static-before-libc) and $(+link-static-after-libc).
23916 [build-shared] (link-libc-before-gnulib): New variable.
23917 [build-shared] (link-libc-tests): Likewise.
23918 [build-shared] (link-libc): Define in terms of
23919 $(link-libc-before-gnulib).
23920 [!build-shared] (link-libc-tests): New variable.
23921 (link-libc-static-tests): New variable.
23922 [!gnulib] (gnulib-arch): New variable.
23923 [!gnulib] (gnulib-tests): Likewise.
23924 [!gnulib] (static-gnulib-arch): Likewise.
23925 [!gnulib] (static-gnulib-tests): Likewise.
23926 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23927 Define with "=" instead of ":=".
23928 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23929 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23930 * Rules (binaries-all-notests): New variable.
23931 (binaries-all-tests): Likewise.
23932 (binaries-static-notests): Likewise.
23933 (binaries-static-tests): Likewise.
23934 (binaries-all): Define using $(binaries-all-notests) and
23935 $(binaries-all-tests).
23936 (binaries-static): Define using $(binaries-static-notests) and
23937 $(binaries-static-tests).
23938 (binaries-shared-tests): New variable.
23939 (binaries-shared-notests): Likewise.
23940 (binaries-shared): Remove variable.
23941 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23942 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23943 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23944 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23945 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23946 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23947 * elf/Makefile (sln-modules): New variable.
23948 (extra-objs): Add $(sln-modules:=.o).
23949 (ldconfig-modules): Add static-stubs.
23950 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23951 * elf/static-stubs.c: New file.
23952
7a845b2c
JM
23953 [BZ #14283]
23954 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23955 by 7 not 8 to examine high bit of fractional part. Use volatile
23956 variables when splitting into final array of floats if
23957 __FLT_EVAL_METHOD__ != 0.
23958 * math/libm-test.inc (cos_test): Add another test.
23959 (sin_test): Likewise.
23960 * sysdeps/i386/fpu/libm-test-ulps: Update.
23961
e2283f38
JM
23962 [BZ #14273]
23963 * math/libm-test.inc (cosh_test): Add more tests.
23964
370ca3d2
JM
23965 * version.h (RELEASE): Set to "development".
23966 (VERSION): Set to "2.16.90".
23967
ee9247c3
CD
239682012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23969
23970 * NEWS: Update copyright. Remove last-updated date.
23971 Mention math library bug fixes and timezone data changes.
23972 * README: Mention GNU/Hurd, x32, and HPPA support status.
23973
4648c381
TS
239742012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23975
23976 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23977
aac78a43
AJ
239782012-06-27 Andreas Jaeger <aj@suse.de>
23979
23980 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23981
ed3dbfad
AJ
239822012-06-25 Andreas Jaeger <aj@suse.de>
23983
23984 * sysdeps/s390/fpu/libm-test-ulps: Update.
23985
4d0ee855
AS
239862012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23987 Thomas Schwinge <thomas@codesourcery.com>
23988
23989 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23990 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23992 fanotify_mark.
23993
af1bce34
TS
239942012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23995
a9fa33ba
TS
23996 * sysdeps/mach/start.c: Remove file.
23997 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23998 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23999 * sysdeps/sh/init-first.c: Likewise.
24000
58f902b8
TS
24001 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
24002 registers for frame unwinding purposes, add CFI directives.
24003 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24004 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
24005 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
24006 Likewise.
24007
1518f58b
TS
24008 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
24009 __fortify_fail returning.
24010 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24011
db9b5059
TS
24012 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
24013 sysdeps/sh/____longjmp_chk.S.
24014 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
24015 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
24016 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
24017 (gen-as-const-headers): Append sigaltstack-offsets.sym.
24018
967705fe
TS
24019 * sysdeps/sh/abort-instr.h: New file.
24020 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
24021 process in case exit returns.
24022
a9def8c4
TS
24023 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
24024 initialize the GOT register before use.
24025
2a649725
TS
24026 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
24027 calculation of ARGC > 4.
24028
af1bce34
TS
24029 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
24030 meaningful names to some local labels.
24031
d230f50a
KK
240322012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24033 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24034
24035 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
24036 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
24037 (__arch_compare_and_exchange_val_16_acq): Likewise.
24038 (__arch_compare_and_exchange_val_32_acq): Likewise.
24039 (atomic_exchange_and_add): Fix gUSA sequence.
24040 (atomic_add): Likewise.
24041 (atomic_add_negative): Likewise.
24042 (atomic_add_zero): Likewise.
24043 (atomic_bit_test_set): Likewise.
24044
0479b305
AS
240452012-06-22 Andreas Schwab <schwab@redhat.com>
24046
24047 [BZ #13579]
24048 * include/link.h (struct link_map): Add l_free_initfini.
24049 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
24050 l_initfini.
24051 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
24052 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
24053 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
24054 set.
24055
0e3933b9
CD
240562012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
24057
24058 * configure.in: Use AC_LANG_SOURCE.
24059 * configure: Regenerate.
24060
4248b1b1
RM
240612012-06-22 Roland McGrath <roland@hack.frob.com>
24062
24063 * configure.in (libc_cv_localstatedir): New substituted variable.
24064 * configure: Regenerated.
24065 * config.make.in (localstatedir): New variable, substituted from
24066 libc_cv_localstatedir.
24067 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
24068 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
24069 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
24070 * sysdeps/gnu/configure: Regenerated.
24071
006dd861
JL
240722012-06-21 Jeff Law <law@redhat.com>
24073
24074 [BZ #14277]
24075 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
24076 free. Simplify list management for _LIBC case.
24077
79662d42
JM
240782012-06-21 Joseph Myers <joseph@codesourcery.com>
24079
b7abb4bf
JM
24080 [BZ #14273]
24081 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24082 Clear sign bit of 64-bit integer value before comparing against
24083 overflow value.
24084
79662d42
JM
24085 * sysdeps/mach/configure: Regenerated.
24086
1f150908
L
240872012-06-21 H.J. Lu <hongjiu.lu@intel.com>
24088
24089 [BZ #14278]
24090 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
24091
28363bbf
JL
240922012-06-21 Jeff Law <law@redhat.com>
24093
24094 [BZ #13882]
24095 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
24096 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 24097 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
24098 * elf/dl-open.c (dl_open_worker): Likewise.
24099
09615db4
CD
241002012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
24101
24102 * scripts/list-sources.sh: Scan PORTS for translations.
24103 * po/libc.pot: Regenerated.
24104
2174c6dd
AJ
241052012-06-21 Andreas Jaeger <aj@suse.de>
24106
24107 [BZ #12194]
24108 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
24109 warning.
24110 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
24111 * bits/byteswap-16.h (__bswap_16): Likewise.
24112 * bits/byteswap.h (__bswap_constant_16): Likewise.
24113
3ee947b1
L
241142012-06-18 H.J. Lu <hongjiu.lu@intel.com>
24115
24116 [BZ #14117]
a2f34833
L
24117 * sysdeps/i386/fpu_control.h: Removed.
24118 * sysdeps/x86_64/fpu_control.h: Moved to ...
24119 * sysdeps/x86/fpu_control.h: Here.
24120
3ee947b1
L
24121 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
24122 (_FPU_SETCW): Likewise.
24123
ed1825f8
L
241242012-06-15 H.J. Lu <hongjiu.lu@intel.com>
24125
25f1282a
L
24126 [BZ #14117]
24127 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
24128 * sysdeps/x86/fpu/bits/mathinline.h: This.
24129 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
24130
ed1825f8
L
24131 [BZ #14050]
24132 [BZ #14117]
24133 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
24134 functions if __x86_64__ is defined.
24135
36d54b74
CLT
241362012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
24137
24138 * string/endian.h: Add !__ASSEMBLER__ condition for including
24139 conversion interfaces.
24140
10285c21
JM
241412012-06-15 Joseph Myers <joseph@codesourcery.com>
24142
24143 [BZ #14241]
24144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24145 of ABS(x) in calculating zero to negative powers other than odd
24146 integers.
24147 * math/libm-test.inc (pow_test): Add more tests.
24148
06c5abbd
AJ
241492012-06-15 Andreas Jaeger <aj@suse.de>
24150
24151 * manual/contrib.texi (Contributors): Update entry of Liubov
24152 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24153 Machado Filho.
24154
a3aeac40
CH
241552012-06-15 Cyril Hrubis <metan@ucw.cz>
24156
24157 * string/string.h: Add __wur to GNU version of strerror_r.
24158
49bdf4c1
L
241592012-06-14 H.J. Lu <hongjiu.lu@intel.com>
24160
24161 [BZ #14229]
24162 * string/Makefile (tests): Add tst-strtok_r.
24163 * string/tst-strtok_r.c: New file.
24164 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24165 RAX_LP/RDX_LP on SAVE_PTR.
24166
834f9b8d
RM
241672012-06-14 Roland McGrath <roland@hack.frob.com>
24168
24169 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24170
75fa1921
JM
241712012-06-14 Joseph Myers <joseph@codesourcery.com>
24172
24173 * libm_test.inc (csqrt_test): Allow more spurious underflow
24174 exceptions.
24175 (j0_test): Likewise.
24176 (j1_test): Likewise.
24177 (y0_test): Likewise.
24178 (y1_test): Likewise.
24179
771766df
CD
241802012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
24181
24182 * po/Makefile (libc.pot): Use UTF-8 charset.
24183
ceb9e56b
PP
241842012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
24185
24186 [BZ #14210]
24187 Suppress sign-conversion warning from FD_SET.
24188 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24189 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24190 not unsigned long int.
24191 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24192
ddb28975
L
241932012-06-12 H.J. Lu <hongjiu.lu@intel.com>
24194
24195 [BZ #14050]
24196 [BZ #14117]
24197 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24198 __extern_always_inline instead of __extern_inline.
24199 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24200 (__signbit): Likewise.
24201 (__signbitl): Support C++ namespace.
24202 (lrintf): New inline function.
24203 (lrint): Likewise.
24204 (llrintf): Likewise.
24205 (llrint): Likewise.
24206 (fmaxf): Likewise.
24207 (fmax): Likewise.
24208 (fminf): Likewise.
24209 (fmin): Likewise.
24210 (rint): Likewise.
24211 (rintf): Likewise.
24212 (ceil): Likewise.
24213 (ceilf): Likewise.
24214 (floor): Likewise.
24215 (floorf): Likewise.
24216 (nearbyint): Likewise.
24217 (nearbyintf): Likewise.
24218
d7b4fb26
TS
242192012-06-12 Thomas Schwinge <thomas@codesourcery.com>
24220
24221 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24222 non-default versions.
24223
eb55f5c2
RM
242242012-06-11 Roland McGrath <roland@hack.frob.com>
24225
24226 [BZ #14218]
24227 * manual/argp.texi (Argp): Reword argp_parse description slightly.
24228
366af02c
TS
242292012-06-09 Thomas Schwinge <thomas@codesourcery.com>
24230
99ff6e5c
TS
24231 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24232 (FE_UPWARD, FE_DOWNWARD): Don't define.
24233 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24234 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24235
366af02c
TS
24236 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24237 reading it.
24238 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24239 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24240
793ea851
KK
242412012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24242
24243 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24245 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24246 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24247
a728a38f
L
242482012-06-06 H.J. Lu <hongjiu.lu@intel.com>
24249
24250 [BZ #14117]
c08010c7
L
24251 * sysdeps/i386/fpu/bits/fenv.h: Removed.
24252 * sysdeps/i386/fpu/Implies: New file.
24253 * sysdeps/x86_64/fpu/Implies: Likewise.
24254 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24255 * sysdeps/x86/fpu/bits/fenv.h: This.
24256
a728a38f
L
24257 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24258 __SSE_MATH__.
24259
6e230d11
SP
242602012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24261
24262 [BZ #14134]
24263 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24264 character 0xffff that matches the last element of the
24265 conversion table.
24266
1b671feb
AZ
242672012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24268
24269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24270 fmodl commit.
24271
6043738b
AZ
242722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24273
24274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24275 values higher than 25.6283.
24276
34ae0b32
AZ
242772012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24278
24279 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24280 subnormal exponent extraction and add some __builtin_expect.
24281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24282 Fix for subnormal mantissa calculation.
24283
1214ec8f
MF
242842012-06-04 Mike Frysinger <vapier@gentoo.org>
24285
24286 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24287 cpu2 is -1 and errno is not ENOSYS.
24288
f3d1f93c
L
242892012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24290
24291 [BZ #14117]
0e4a3cd7
L
24292 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24293 * sysdeps/x86/bits/string.h: This.
24294 * sysdeps/x86_64/bits/string.h: Removed.
24295
6704c645
L
24296 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24297 if not compiling for x86-64, but compiling for >= i486.
24298
48495318
L
24299 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24300 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24301
14adcbfc
L
24302 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24303 New macro from Linux kernel 3.4.0.
24304 (FP_XSTATE_MAGIC2): Likewise.
24305 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24306 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24307 (struct _fpx_sw_bytes): New struct.
24308 (struct _xsave_hdr): Likewise.
24309 (struct _ymmh_state): Likewise.
24310 (struct _xstate): Likewise.
24311
68e408ab
L
24312 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24313 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24314 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24315 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24316 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24317 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24318
f3d1f93c
L
24319 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24320 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24321 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24322 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24323 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24324 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24325
d9dc34cd
TMQMF
243262012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24327
24328 [BZ #13743]
24329 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24330 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24331 (sysdep_headers): Include sys/platform/ppc.h.
24332 * sysdeps/powerpc/test-gettimebase.c: Test for
24333 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24334 * manual/Makefile (appendices): Include platform.texi.
24335 * manual/contrib.texi (Contributors): Update @node pointers.
24336 * manual/maint.texi (Maintenance): Likewise.
24337 (Platform): New node.
24338 * manual/platform.texi: New file. Document the new features.
24339
4af3879c
SP
243402012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24341 Jakub Jelinek <jakub@redhat.com>
24342
24343 [BZ #14188]
24344 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24345 where __builtin_expect is unavailable.
24346
2fd6ff13
DM
243472012-06-03 David S. Miller <davem@davemloft.net>
24348
24349 * stdlib/longlong.h: Updated from GCC.
24350
173f7220
AS
243512012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24352
24353 [BZ #14042]
24354 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24355 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24356 __mcount_internal.
24357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24358 (GLIBC_2.16): Likewise.
24359
f34a1c6f
L
243602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24361
24362 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24363
88a4576f
JM
243642012-06-01 Joseph Myers <joseph@codesourcery.com>
24365
ea32bcdd
JM
24366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24367 (default-abi): New variable.
24368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24369 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24370 variable.
24371 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24372 Likewise.
24373 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24374 Likewise.
24375 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24376 Likewise.
24377
88a4576f
JM
24378 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24379 definition. Document in comment.
24380
402fe938
DM
243812012-06-01 David S. Miller <davem@davemloft.net>
24382
24383 * stdlib/longlong.h: Updated from GCC.
24384
3553723f
L
243852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24386
24387 [BZ #14117]
3bd872c4
L
24388 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24389 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24390 sys/debugreg.h sys/io.h here.
24391 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24392 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24393 sys/io.h.
24394 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24395 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24396 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24397 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24398 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24399 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24400
3553723f
L
24401 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24402 Define only if __x86_64__ is defined.
24403
4842e4fe
JM
244042012-06-01 Joseph Myers <joseph@codesourcery.com>
24405
c5bfe3d5
JM
24406 [BZ #14048]
24407 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24408 Use int64_t for variable i.
24409 * math/libm-test.inc (fmod_test): Add more tests.
24410
4842e4fe
JM
24411 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24412 z computation is not scheduled after fetestexcept.
24413 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24414 Use math_force_eval instead of asm to ensure calculation scheduled
24415 before exception test.
24416 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24417 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24418
efb73488
AJ
244192012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24420
24421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24422 computation is not scheduled after fetestexcept.
24423
29bcce7c
L
244242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24425
24426 [BZ #14117]
24427 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24428 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24429
73a68f94
AZ
244302012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24431
24432 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24433 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24434
67b6df78
L
244352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24436
edf2933a 24437 [BZ #14117]
ebc64a18
L
24438 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24439 <bits/wordsize.h>.
24440 (__WCHAR_MIN): Support __WORDSIZE == 64.
24441 (__WCHAR_MAX): Likewise.
24442
edf2933a
L
24443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24444 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24445
57c6cf40
L
24446 [BZ #14183]
24447 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24448 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24449
67b6df78 24450 [BZ #14117]
8eb6281e
L
24451 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24452 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24453
aac639f4
L
24454 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24455 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24456
67b6df78
L
24457 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24458 Defined to 1 if __x86_64__ isn't defined.
24459 (_STAT_VER_LINUX_OLD): New.
24460 (st_atime): Remove duplicate.
24461 (st_mtime): Likewise.
24462 (st_ctime): Likewise.
24463
1c2cfe81
DM
244642012-05-31 David S. Miller <davem@davemloft.net>
24465
24466 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24467 entries.
24468
5be8418c
AS
244692012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24470
e7725326
AS
24471 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24472 gen-libm-test.pl.
24473
5be8418c
AS
24474 [BZ #14132]
24475 * elf/dl-reloc.c: Include <_itoa.h>.
24476 (_dl_reloc_bad_type): Remove use of INTUSE.
24477 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24478 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24479 * stdio-common/psiginfo.c (psiginfo): Likewise.
24480 * stdio-common/psignal.c (psignal): Likewise.
24481 * string/strsignal.c (strsignal): Likewise.
24482 * include/signal.h (_sys_siglist): Declare hidden proto.
24483 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24484 INTVARDEF with libc_hidden_data_def.
24485 * stdio-common/itoa-udigits.c: Likewise.
24486 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24487 (_itoa_lower_digits_internal): Remove declaration.
24488 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24489 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24490 (_sys_sigabbrev_internal): Remove aliases.
24491 (_sys_siglist): Define hidden alias.
24492
507352f1
MT
244932012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24494
24495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24496 bits/sysctl.h.
24497
42bbb1c3
L
244982012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24499
24500 [BZ #14117]
6bd784b6
L
24501 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24502 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24503
8bca20f0
L
24504 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24505 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24506 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24507 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24508 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24509 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24510
f9e890a9
L
24511 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24512 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24513 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24514
471101a1
L
24515 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24516 with __addr.
24517 (insw): Likewise.
24518 (insl): Likewise.
24519 (outsb): Likewise.
24520 (outsw): Likewise.
24521 (outsl): Likewise.
24522
6451c862
L
24523 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24524 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24525 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24526
a254b8c9
L
24527 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24528 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24529 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24530 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24531 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24532 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24533
b8dfdd92
L
24534 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24535 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24536
578cd270
L
24537 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24538 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24539
de662f5f
L
24540 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24542 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24543
25653439
L
24544 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24545 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24546 to ...
24547 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24548
6bad24a0
L
24549 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24550 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24551 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24552
42bbb1c3
L
24553 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24554 for x86-64.
24555 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24556
2d10d547
JM
245572012-05-31 Joseph Myers <joseph@codesourcery.com>
24558
24559 * math/math.h (M_El): Use two more decimal places.
24560 (M_LOG2El): Likewise.
24561 (M_LOG10El): Likewise.
24562 (M_LN2l): Likewise.
24563 (M_LN10l): Likewise.
24564 (M_PIl): Likewise.
24565 (M_PI_2l): Likewise.
24566 (M_PI_4l): Likewise.
24567 (M_1_PIl): Likewise.
24568 (M_2_PIl): Likewise.
24569 (M_2_SQRTPIl): Likewise.
24570 (M_SQRT2l): Likewise.
24571 (M_SQRT1_2l): Likewise.
24572
f230c29b
DM
245732012-05-31 David S. Miller <davem@davemloft.net>
24574
24575 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24576 values between float registers.
24577 * sysdeps/sparc/sparc64/memset.S: Likewise.
24578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24579
fed806c3
MF
245802012-05-31 Mike Frysinger <vapier@gentoo.org>
24581
24582 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24583 -D_FORTIFY_SOURCE=1.
24584 (CPPFLAGS-tst-longjmp_chk.c): Define.
24585 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24586 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24587 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24588 CFLAGS-tst-wchar-h.c.
24589
30917259
MP
245902012-05-31 Marek Polacek <polacek@redhat.com>
24591
24592 [BZ #14132]
24593 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24594 __endmntent_internal): Remove declaration.
24595 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24596 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24597 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24598
1c58d5dc
DM
245992012-05-30 David S. Miller <davem@davemloft.net>
24600
24601 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24602 (___Q_simulate_exceptions): Use real FP ops rather than writing
24603 into the %fsr.
24604 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24605 Likewise.
24606
7dc00e0d
L
246072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24608
24609 [BZ #14117]
0bd53985
L
24610 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24611 * sysdeps/x86/bits/xtitypes.h: This.
24612
3a257e66
L
24613 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24614 * sysdeps/x86/bits/wordsize.h: This.
24615
62f62904
L
24616 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24617 * sysdeps/x86/bits/huge_vall.h: This.
24618
404fe9d9
L
24619 * sysdeps/i386/bits/select.h: Removed.
24620 * sysdeps/x86_64/bits/select.h: Renamed to ...
24621 * sysdeps/x86/bits/select.h: This.
24622
d48d0446
L
24623 * sysdeps/i386/bits/setjmp.h: Removed.
24624 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24625 * sysdeps/x86/bits/setjmp.h: This.
24626
7dc00e0d
L
24627 * sysdeps/i386/bits/mathdef.h: Removed.
24628 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24629 * sysdeps/x86/bits/mathdef.h: This.
24630
03277f8f
AS
246312012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24632
24633 [BZ #14132]
24634 * include/sys/socket.h (__connect_internal)
24635 (__libc_sa_len_internal): Remove declaration.
24636 (__connect, __libc_sa_len): Declare hidden_proto.
24637 (SA_LEN): Remove use of INTUSE.
24638 * socket/connect.c: Add libc_hidden_def.
24639 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24640 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24641 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24642 alias.
24643 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24644 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24645 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24646 of adding _internal alias.
24647
13764867
L
246482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24649
24650 [BZ #14117]
6bd97696
L
24651 * sysdeps/i386/bits/link.h: Removed.
24652 * sysdeps/i386/bits/linkmap.h: Likewise.
24653 * sysdeps/x86_64/bits/link.h: Renamed to ...
24654 * sysdeps/x86/bits/link.h: This.
24655 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24656 * sysdeps/x86/bits/linkmap.h: This.
24657
f726f0bb
L
24658 * sysdeps/i386/bits/endian.h: Removed.
24659 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24660 * sysdeps/x86/bits/endian.h: This.
24661
13764867
L
24662 * sysdeps/i386/bits/byteswap.h: Removed.
24663 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24664 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24665 * sysdeps/x86/bits/byteswap.h: This.
24666 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24667 * sysdeps/x86/bits/byteswap-16.h: This.
24668 * sysdeps/i386/Implies: Add x86.
24669 * sysdeps/x86_64/Implies: Likewise.
24670
ae251b0b
DM
246712012-05-30 David S. Miller <davem@davemloft.net>
24672
24673 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24674 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24675 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24676 (FP_TRAPPING_EXCEPTIONS): Define.
24677 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24678 (FP_TRAPPING_EXCEPTIONS): Define.
24679 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24680 subnormals only when inexact has been signalled or underflow
24681 exceptions are enabled.
24682 (_FP_PACK_CANONICAL): Likewise.
24683
d5c90867
L
246842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24685
24686 [BZ #14183]
24687 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24688 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24689
63f1549e
RH
246902012-05-30 Richard Henderson <rth@twiddle.net>
24691
8d8f2279
RH
24692 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24693 with #ifndef NOT_IN_libc.
24694
63f1549e
RH
24695 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24696 marked to avoid plt entry.
24697
0ab0291b
L
246982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24699
24700 [BZ #14112]
24701 * Makeconfig (default-abi): New macro.
24702 (abi-includes): Likewise.
24703 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24704 $(abi-$(default-abi)-lib-soname) for soname if defined.
24705 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24706 abi-variants.
24707 * Makefile (installed-stubs): Likewise.
24708 * include/stubs-biarch.h: Removed.
24709 * scripts/lib-names.awk: Only handle one library at a time.
24710 * scripts/soversions.awk: Remove WORDSIZE support.
24711 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24712 entries.
24713 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24714 Removed.
24715 (syscall-list-default-condition): Likewise.
24716 (syscall-list-default-condition): Likewise.
24717 (syscall-list-includes): Likewise.
24718 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24719 syscall-list-* with abi-*. Handle undefined abi-variants.
24720 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24721 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24722 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24723 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24724 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24725 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24726 Removed.
24727 (syscall-list-32-options): Likewise.
24728 (syscall-list-32-condition): Likewise.
24729 (syscall-list-64-options): Likewise.
24730 (syscall-list-64-condition): Likewise.
24731 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24732 macro.
24733 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24734 Renamed to ...
24735 (abi-*): This.
24736 (abi-64-ld-soname): New macro.
24737 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24738 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24739 Renamed to ...
24740 (abi-*): This.
24741 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24742 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24743
4da0431d
JM
247442012-05-30 Joseph Myers <joseph@codesourcery.com>
24745
3a85279c
JM
24746 * sysdeps/unix/sysv/linux/kernel-features.h
24747 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24748 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24749 include <kernel-features.h>.
24750 [!__NR_ftruncate64]: Remove conditional code.
24751 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24752 [__NR_ftruncate64]: Make code unconditional.
24753 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24754 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24755 include <kernel-features.h>.
24756 [!__NR_ftruncate64]: Remove conditional code.
24757 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24758 [__NR_ftruncate64]: Make code unconditional.
24759 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24761 include <kernel-features.h>.
24762 [!__NR_ftruncate64]: Remove conditional code.
24763 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24764 [__NR_ftruncate64]: Make code unconditional.
24765 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24767 include <kernel-features.h>.
24768 [!__NR_ftruncate64]: Remove conditional code.
24769 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24770 [__NR_ftruncate64]: Make code unconditional.
24771 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24772
4da0431d
JM
24773 * configure.in (libc_cv_fpie): Weaken to a compile test using
24774 LIBC_TRY_CC_OPTION.
24775 * configure: Regenerated.
24776
11ef492c
AK
247772012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24778
24779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24783 Refreshed.
24784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24790 Refreshed.
24791
d66ef399
DM
247922012-05-27 David S. Miller <davem@davemloft.net>
24793
24794 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24795 (___Q_zero): New.
24796 (__Q_simulate_exceptions): Return void. Change to simulate
24797 exceptions by writing into the %fsr.
24798 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24799 (__Qp_handle_exceptions): Likewise.
24800 (numbers): Delete.
24801 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24802 __Qp_handle_exceptions.
24803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24804 __Qp_handle_exceptions.
24805 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24806 as unused and give dummy FP_RND_NEAREST initializer.
24807 (FP_INHIBIT_RESULTS): Define.
24808 (___Q_simulate_exceptions): Update declaration.
24809 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24810 formatting.
24811 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24812 as unused and give dummy FP_RND_NEAREST initializer.
24813 (__Qp_handle_exceptions): Update declaration.
24814 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24815 formatting.
24816
04fb54b5
TS
248172012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24818
24819 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24820 the temporary FPU control word.
24821 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24822 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24823 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24824 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24825 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24826 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24827 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24828 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24829 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24830 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24832
3f99608f
KK
248332012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24834
24835 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24836 fields.
24837
65a4de4e
CLT
248382012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24839
24840 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24841 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24842 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24843 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24844 Likewise.
24845 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24846 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24847 Likewise.
24848
15749d40
UD
248492012-05-27 Ulrich Drepper <drepper@gmail.com>
24850
24851 * po/h.po: Update from translation team.
24852
25dbcb27
AS
248532012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24854
3d3f8e55
AS
24855 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24856
25dbcb27
AS
24857 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24858 handling of denormals.
24859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24860 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24861 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24862 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24866 Likewise.
24867
7ad47a80 248682012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24869
24870 [BZ #14152]
24871 * math/libm-test.inc (fma_test): Don't always expect underflow
24872 exception.
24873
9c6ea9fa
SP
248742012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24875
24876 [BZ #12416]
24877 * elf/tst-execstack.c: Include stackinfo.h.
24878 (do_test): Adjust test case to ensure that pthread_getattr_np
24879 behaviour remains the same after marking stack executable.
24880
a8239222
JM
248812012-05-25 Joseph Myers <joseph@codesourcery.com>
24882
24883 * sysdeps/unix/sysv/linux/kernel-features.h
24884 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24885 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24886 kernel-features.h.
24887 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24888 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24889 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24890 kernel-features.h.
24891 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24892 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24893
918b5606
L
248942012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24895
24896 * configure.in: Define the default includes to being none.
24897 * configure: Regenerated.
24898
3a097cc7
RM
248992012-05-25 Roland McGrath <roland@hack.frob.com>
24900
8422c9a5
RM
24901 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24902 * sysdeps/x86_64/setjmp.S: Likewise.
24903 * sysdeps/i386/bsd-setjmp.S: Likewise.
24904 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24905 * sysdeps/i386/setjmp.S: Likewise.
24906 * sysdeps/i386/__longjmp.S: Likewise.
24907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24908 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24909
3a097cc7
RM
24910 * include/stap-probe.h: New file.
24911 * configure.in: Handle --enable-systemtap.
24912 * configure: Regenerated.
24913 * config.h.in (USE_STAP_PROBE): New #undef.
24914 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24915 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24916 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24917
21708942
JM
249182012-05-25 Joseph Myers <joseph@codesourcery.com>
24919
24920 [BZ #13717]
24921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24922 to 2.4.0 where earlier.
24923 * sysdeps/unix/sysv/linux/configure: Regenerated.
24924 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24925 <kernel-features.h>.
24926 [__ASSUME_32BITUIDS]: Make code unconditional.
24927 [!__ASSUME_32BITUIDS]: Remove conditional code.
24928 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24929 <kernel-features.h>.
24930 [__ASSUME_32BITUIDS]: Make code unconditional.
24931 [!__ASSUME_32BITUIDS]: Remove conditional code.
24932 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24933 [__ASSUME_32BITUIDS]: Make code unconditional.
24934 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24935 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24936 <kernel-features.h>.
24937 [__ASSUME_32BITUIDS]: Make code unconditional.
24938 [!__ASSUME_32BITUIDS]: Remove conditional code.
24939 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24940 <kernel-features.h>.
24941 [__ASSUME_32BITUIDS]: Make code unconditional.
24942 [!__ASSUME_32BITUIDS]: Remove conditional code.
24943 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24944 <kernel-features.h>.
24945 [__ASSUME_32BITUIDS]: Make code unconditional.
24946 [!__ASSUME_32BITUIDS]: Remove conditional code.
24947 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24948 <kernel-features.h>.
24949 [__ASSUME_32BITUIDS]: Make code unconditional.
24950 [!__ASSUME_32BITUIDS]: Remove conditional code.
24951 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24952 <kernel-features.h>.
24953 [__ASSUME_32BITUIDS]: Make code unconditional.
24954 [!__ASSUME_32BITUIDS]: Remove conditional code.
24955 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24956 <kernel-features.h>.
24957 [__ASSUME_32BITUIDS]: Make code unconditional.
24958 [!__ASSUME_32BITUIDS]: Remove conditional code.
24959 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24960 <kernel-features.h>.
24961 [__ASSUME_32BITUIDS]: Make code unconditional.
24962 [!__ASSUME_32BITUIDS]: Remove conditional code.
24963 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24964 <kernel-features.h>.
24965 [__ASSUME_32BITUIDS]: Make code unconditional.
24966 [!__ASSUME_32BITUIDS]: Remove conditional code.
24967 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24968 <kernel-features.h>.
24969 [__ASSUME_32BITUIDS]: Make code unconditional.
24970 [!__ASSUME_32BITUIDS]: Remove conditional code.
24971 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24972 <kernel-features.h>.
24973 [__ASSUME_32BITUIDS]: Make code unconditional.
24974 [!__ASSUME_32BITUIDS]: Remove conditional code.
24975 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24976 <kernel-features.h>.
24977 [__NR_setresgid] (__setresgid): Do not declare.
24978 [__ASSUME_32BITUIDS]: Make code unconditional.
24979 [!__ASSUME_32BITUIDS]: Remove conditional code.
24980 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24981 <kernel-features.h>.
24982 [__NR_setresuid] (__setresuid): Do not declare.
24983 [__ASSUME_32BITUIDS]: Make code unconditional.
24984 [!__ASSUME_32BITUIDS]: Remove conditional code.
24985 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24986 <kernel-features.h>.
24987 [__ASSUME_32BITUIDS]: Make code unconditional.
24988 [!__ASSUME_32BITUIDS]: Remove conditional code.
24989 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24990 <kernel-features.h>.
24991 [__ASSUME_32BITUIDS]: Make code unconditional.
24992 [!__ASSUME_32BITUIDS]: Remove conditional code.
24993 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24994 <kernel-features.h>.
24995 [__ASSUME_32BITUIDS]: Make code unconditional.
24996 [!__ASSUME_32BITUIDS]: Remove conditional code.
24997 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24998 <kernel-features.h>.
24999 [__ASSUME_32BITUIDS]: Make code unconditional.
25000 [!__ASSUME_32BITUIDS]: Remove conditional code.
25001 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
25002 <kernel-features.h>.
25003 [__ASSUME_32BITUIDS]: Make code unconditional.
25004 [!__ASSUME_32BITUIDS]: Remove conditional code.
25005 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
25006 <kernel-features.h>.
25007 [__ASSUME_32BITUIDS]: Make code unconditional.
25008 [!__ASSUME_32BITUIDS]: Remove conditional code.
25009 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
25010 <kernel-features.h>.
25011 [__ASSUME_32BITUIDS]: Make code unconditional.
25012 [!__ASSUME_32BITUIDS]: Remove conditional code.
25013 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
25014 <kernel-features.h>.
25015 [__ASSUME_32BITUIDS]: Make code unconditional.
25016 [!__ASSUME_32BITUIDS]: Remove conditional code.
25017 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
25018 <kernel-features.h>.
25019 [__ASSUME_32BITUIDS]: Make code unconditional.
25020 [!__ASSUME_32BITUIDS]: Remove conditional code.
25021 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25022 <kernel-features.h>.
25023 [__ASSUME_32BITUIDS]: Make code unconditional.
25024 [!__ASSUME_32BITUIDS]: Remove conditional code.
25025 * sysdeps/unix/sysv/linux/kernel-features.h
25026 (__ASSUME_SETRESUID_SYSCALL): Remove.
25027 (__ASSUME_SETRESGID_SYSCALL): Likewise.
25028 (__ASSUME_32BITUIDS): Likewise.
25029 (__ASSUME_LDT_WORKS): Likewise.
25030 (__ASSUME_O_DIRECTORY): Likewise.
25031 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
25032 architecture but not kernel version.
25033 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25034 (__ASSUME_MMAP2_SYSCALL): Likewise.
25035 (__ASSUME_STAT64_SYSCALL): Likewise.
25036 (__ASSUME_IPC64): Likewise.
25037 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
25038 <kernel-features.h>.
25039 [__ASSUME_32BITUIDS]: Make code unconditional.
25040 [!__ASSUME_32BITUIDS]: Remove conditional code.
25041 * sysdeps/unix/sysv/linux/opendir.c: Do not include
25042 <kernel-features.h>.
25043 [__ASSUME_O_DIRECTORY]: Make code unconditional.
25044 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
25045 132096]: Remove conditional code.
25046 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
25047 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25048 <kernel-features.h>.
25049 [__ASSUME_32BITUIDS]: Make code unconditional.
25050 [!__ASSUME_32BITUIDS]: Remove conditional code.
25051 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25052 <kernel-features.h>.
25053 [__ASSUME_32BITUIDS]: Make code unconditional.
25054 [!__ASSUME_32BITUIDS]: Remove conditional code.
25055 * sysdeps/unix/sysv/linux/setegid.c: Do not include
25056 <kernel-features.h>.
25057 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
25058 unconditional.
25059 (__setresgid): Do not declare.
25060 [__ASSUME_32BITUIDS]: Make code unconditional.
25061 [!__ASSUME_32BITUIDS]: Remove conditional code.
25062 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
25063 <kernel-features.h>.
25064 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
25065 unconditional.
25066 (__setresuid): Do not declare.
25067 [__ASSUME_32BITUIDS]: Make code unconditional.
25068 [!__ASSUME_32BITUIDS]: Remove conditional code.
25069 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25070 <kernel-features.h>.
25071 [__ASSUME_32BITUIDS]: Make code unconditional.
25072 [!__ASSUME_32BITUIDS]: Remove conditional code.
25073 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
25074 <kernel-features.h>.
25075 [__ASSUME_32BITUIDS]: Make code unconditional.
25076 [!__ASSUME_32BITUIDS]: Remove conditional code.
25077
a386f1cc
RH
250782012-05-25 Richard Henderson <rth@twiddle.net>
25079
25080 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
25081 dl_hwcap to ifunc resolver.
25082 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
25083 elf_ifunc_invoke.
25084 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
25085 dl_hwcap to ifunc resolver.
25086 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
25087
b6550497
JM
250882012-05-24 Joseph Myers <joseph@codesourcery.com>
25089
25090 [BZ #14153]
25091 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
25092 for |x| <= 2**-26, not 2**-57.
25093 * math/libm-test.inc (acos_test): Do not allow spurious underflow
25094 exception.
25095
b0bc23a1
JL
250962012-05-24 Jeff Law <law@redhat.com>
25097
25098 * stdio-common/Makefile (tests): Add bug25.
25099 * stdio-common/bug25.c: New test.
25100
347c92e9
L
251012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25102
25103 [BZ #13576]
25104 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
25105 multiple of MALLOC_ALIGNMENT in size.
25106 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
25107
6bcc8b3f
JM
251082012-05-24 Joseph Myers <joseph@codesourcery.com>
25109
25110 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
25111 Require >= 256.
25112 (FILENAME_MAX): Use macro-int-constant.
25113 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
25114 (_IOFBF): Use macro-int-constant.
25115 (_IOLBF): Likewise.
25116 (_IONBF): Likewise.
25117 (SEEK_CUR): Likewise.
25118 (SEEK_END): Likewise.
25119 (SEEK_SET): Likewise.
25120 (TMP_MAX): Likewise.
25121 (EOF): Use macro-int-constant. Require < 0.
25122 (NULL): Use macro-constant. Require == 0.
25123 (stdin): Require type to be FILE *.
25124 (stdout): Likewise.
25125 (stderr): Likewise.
25126 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
25127 macro-int-constant.
25128 (EXIT_SUCCESS): Likewise.
25129 (NULL): Use macro-constant. Require == 0.
25130 (RAND_MAX): Use macro-int-constant.
25131 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
25132 [C99-based standards] (strtof): Require function.
25133 [C99-based standards] (strtold): Likewise.
25134 [C99-based standards] (strtoll): Likewise.
25135 [C99-based standards] (strtoull): Likewise.
25136 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25137 [ISO || ISO99 || ISO11] (limits.h): Likewise.
25138 [ISO || ISO99 || ISO11] (math.h): Likewise.
25139 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25140 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25141 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25142
d18ea0c5
AS
251432012-05-24 Andreas Schwab <schwab@linux-m68k.org>
25144
25145 [BZ #14132]
56d25bb8
AS
25146 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25147 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25148 * intl/dgettext.c (DCGETTEXT): Likewise.
25149 * intl/gettext.c (DCGETTEXT): Likewise.
25150 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25151 * posix/regex_internal.h (gettext): Likewise.
25152 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25153 Remove declaration.
25154 * include/argz.h (__argz_count_internal)
25155 (__argz_stringify_internal): Remove declaration.
25156 (__argz_count, __argz_stringify): Declare hidden proto.
25157 * intl/dcgettext.c: Remove use of INTDEF.
25158 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25159 * string/argz-stringify.c: Likewise.
25160 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25161 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25162 Declare hidden proto.
d18ea0c5
AS
25163 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25164 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25165 Declare hidden proto.
25166 * include/stdio.h (__asprintf_internal): Don't declare.
25167 (__asprintf): Don't define as macro. Declare hidden proto.
25168 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25169 (__fsetlocking): Declare hidden proto.
25170 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25171 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25172 hidden proto.
25173 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25174 (_IO_setlinebuf): Remove use of INTUSE.
25175 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25176 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25177 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25178 Remove declaration.
25179 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25180 (_IO_do_flush): Remove use of INTUSE.
25181 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25182 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25183 (_IO_adjust_column, _IO_least_wmarker)
25184 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25185 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25186 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25187 (_IO_default_doallocate, _IO_wdefault_doallocate)
25188 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25189 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25190 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25191 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25192 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25193 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25194 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25195 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25196 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25197 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25198 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25199 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25200 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25201 proto.
25202 (_IO_flush_all_internal, _IO_adjust_column_internal)
25203 (_IO_default_uflow_internal, _IO_default_finish_internal)
25204 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25205 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25206 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25207 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25208 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25209 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25210 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25211 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25212 (_IO_file_close_internal, _IO_file_close_it_internal)
25213 (_IO_file_underflow_internal, _IO_file_overflow_internal)
25214 (_IO_file_init_internal, _IO_file_attach_internal)
25215 (_IO_file_fopen_internal, _IO_file_read_internal)
25216 (_IO_file_sync_internal, _IO_file_seek_internal)
25217 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25218 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25219 (_IO_str_underflow_internal, _IO_str_overflow_internal)
25220 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25221 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25222 (_IO_list_all_internal, _IO_link_in_internal)
25223 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25224 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25225 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25226 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25227 (_IO_do_write_internal, _IO_padn_internal)
25228 (_IO_getline_info_internal, _IO_getline_internal)
25229 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25230 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25231 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25232 (_IO_vfscanf_internal, _IO_vfprintf_internal)
25233 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25234 (_IO_init_internal, _IO_un_link_internal): Don't declare.
25235 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25236 with libc_hidden_ver, remove use of INTUSE.
25237 * libio/genops.c: Likewise.
25238 * libio/freopen.c: Likewise.
25239 * libio/freopen64.c: Likewise.
25240 * libio/iofclose.c: Likewise.
25241 * libio/iofdopen.c: Likewise.
25242 * libio/iofflush.c: Likewise.
25243 * libio/iofflush_u.c: Likewise.
25244 * libio/iofgets.c: Likewise.
25245 * libio/iofgets_u.c: Likewise.
25246 * libio/iofopen.c: Likewise.
25247 * libio/iofopncook.c: Likewise.
25248 * libio/iofread.c: Likewise.
25249 * libio/iofread_u.c: Likewise.
25250 * libio/ioftell.c: Likewise.
25251 * libio/iofwrite.c: Likewise.
25252 * libio/iogetline.c: Likewise.
25253 * libio/iogets.c: Likewise.
25254 * libio/iogetwline.c: Likewise.
25255 * libio/iopadn.c: Likewise.
25256 * libio/iopopen.c: Likewise.
25257 * libio/ioseekoff.c: Likewise.
25258 * libio/ioseekpos.c: Likewise.
25259 * libio/iosetbuffer.c: Likewise.
25260 * libio/iosetvbuf.c: Likewise.
25261 * libio/ioungetc.c: Likewise.
25262 * libio/ioungetwc.c: Likewise.
25263 * libio/iovdprintf.c: Likewise.
25264 * libio/iovsprintf.c: Likewise.
25265 * libio/iovsscanf.c: Likewise.
25266 * libio/memstream.c: Likewise.
25267 * libio/obprintf.c: Likewise.
25268 * libio/oldfileops.c: Likewise.
25269 * libio/oldiofclose.c: Likewise.
25270 * libio/oldiofdopen.c: Likewise.
25271 * libio/oldiofopen.c: Likewise.
25272 * libio/oldiopopen.c: Likewise.
25273 * libio/oldstdfiles.c: Likewise.
25274 * libio/putc.c: Likewise.
25275 * libio/setbuf.c: Likewise.
25276 * libio/setlinebuf.c: Likewise.
25277 * libio/stdfiles.c: Likewise.
25278 * libio/strops.c: Likewise.
25279 * libio/vasprintf.c: Likewise.
25280 * libio/vscanf.c: Likewise.
25281 * libio/vsnprintf.c: Likewise.
25282 * libio/vswprintf.c: Likewise.
25283 * libio/wfiledoalloc.c: Likewise.
25284 * libio/wfileops.c: Likewise.
25285 * libio/wgenops.c: Likewise.
25286 * libio/wmemstream.c: Likewise.
25287 * libio/wstrops.c: Likewise.
25288 * libio/__fpurge.c: Likewise.
25289 * libio/__fsetlocking.c: Likewise.
25290 * assert/assert.c: Likewise.
25291 * debug/fgets_chk.c: Likewise.
25292 * debug/fgets_u_chk.c: Likewise.
25293 * debug/fread_chk.c: Likewise.
25294 * debug/fread_u_chk.c: Likewise.
25295 * debug/gets_chk.c: Likewise.
25296 * debug/obprintf_chk.c: Likewise.
25297 * debug/vasprintf_chk.c: Likewise.
25298 * debug/vdprintf_chk.c: Likewise.
25299 * debug/vsnprintf_chk.c: Likewise.
25300 * debug/vsprintf_chk.c: Likewise.
25301 * malloc/mtrace.c: Likewise.
25302 * misc/error.c: Likewise.
25303 * misc/syslog.c: Likewise.
25304 * stdio-common/asprintf.c: Likewise.
25305 * stdio-common/fxprintf.c: Likewise.
25306 * stdio-common/getw.c: Likewise.
25307 * stdio-common/isoc99_fscanf.c: Likewise.
25308 * stdio-common/isoc99_scanf.c: Likewise.
25309 * stdio-common/isoc99_vfscanf.c: Likewise.
25310 * stdio-common/isoc99_vscanf.c: Likewise.
25311 * stdio-common/isoc99_vsscanf.c: Likewise.
25312 * stdio-common/printf-prs.c: Likewise.
25313 * stdio-common/printf_fp.c: Likewise.
25314 * stdio-common/printf_fphex.c: Likewise.
25315 * stdio-common/printf_size.c: Likewise.
25316 * stdio-common/putw.c: Likewise.
25317 * stdio-common/scanf.c: Likewise.
25318 * stdio-common/sprintf.c: Likewise.
25319 * stdio-common/tmpfile.c: Likewise.
25320 * stdio-common/vfprintf.c: Likewise.
25321 * stdio-common/vfscanf.c: Likewise.
25322 * stdlib/strfmon_l.c: Likewise.
25323 * sunrpc/openchild.c: Likewise.
25324 * sunrpc/xdr_stdio.c: Likewise.
25325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25326 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25327
d6c33fda
RM
253282012-05-24 Roland McGrath <roland@hack.frob.com>
25329
c1487492
RM
25330 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25331
25332 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25333 in the third column, to generate for the shared library an IFUNC
25334 that uses _dl_vdso_vsym.
25335 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25336 * Makeconfig (object-suffixes-noshared): New variable.
25337
25338 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25339 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25340 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25341 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25342
d6c33fda
RM
25343 [BZ #14132]
25344 * include/sys/time.h (__gettimeofday): Remove macro.
25345 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25346 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25347 Remove INTDEF.
25348 (__gettimeofday): Add libc_hidden_def.
25349 (gettimeofday): Add libc_hidden_weak.
25350 * sysdeps/mach/gettimeofday.c: Likewise.
25351 * sysdeps/posix/gettimeofday.c: Likewise.
25352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25353 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25354 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25355 (__gettimeofday_internal): Remove strong_alias.
25356 (__gettimeofday): Add libc_hidden_def.
25357 (gettimeofday): Add libc_hidden_weak.
25358 * sysdeps/unix/syscalls.list (gettimeofday):
25359 Remove __gettimeofday_internal alias.
25360
b5a2bbe6
L
253612012-05-24 Daniel Jacobowitz <drow@false.org>
25362 H.J. Lu <hongjiu.lu@intel.com>
25363
25364 [BZ #12495]
25365 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25366 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25367 (largebin_index_32_big): New.
25368 (largebin_index): Use it for 16-byte alignment.
25369 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25370 correction with front_misalign.
25371
cfba4fda
L
253722012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25373
7f907421
L
25374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25376 Likewise.
25377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25378 Likewise.
25379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25380 Likewise.
25381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25382 Likewise.
25383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25384 Likewise.
25385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25386 Likewise.
25387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25388 Likewise.
25389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25390 Likewise.
25391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25392 Likewise.
25393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25394 Likewise.
25395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25396 Likewise.
25397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25398 Likewise.
25399
cfba4fda
L
25400 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25401 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25402
80bad0cc
JM
254032012-05-24 Joseph Myers <joseph@codesourcery.com>
25404
7a25eb06
JM
25405 [BZ #10846]
25406 [BZ #14036]
25407 * math/libm-test.inc (exp_test): Add test from bug 14036.
25408 (pow_test): Add test from bug 10846.
25409
795405f9
JM
25410 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25411 and other flags.
25412 (special_function): Do not include flags in test name.
25413 (parse_args): Likewise.
25414 * sysdeps/i386/fpu/libm-test-ulps: Update.
25415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25416 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25417 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25419
80bad0cc
JM
25420 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25421 exceptions.
25422 * math/libm-test.inc ("Philosophy"): Update comment about
25423 exception testing.
25424 (UNDERFLOW_EXCEPTION): New macro.
25425 (UNDERFLOW_EXCEPTION_OK): Likewise.
25426 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25427 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25428 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25429 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25430 (INVALID_EXCEPTION_OK): Update value.
25431 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25432 (OVERFLOW_EXCEPTION_OK): Likewise.
25433 (IGNORE_ZERO_INF_SIGN): Likewise.
25434 (test_exceptions): Handle underflow exceptions.
25435 (acos_test): Update for underflow exception expectations.
25436 (cexp_test): Likewise.
25437 (clog_test): Likewise.
25438 (clog10_test): Likewise.
25439 (csqrt_test): Likewise.
25440 (ctan_test): Likewise.
25441 (ctanh_test): Likewise.
25442 (exp_test): Likewise.
25443 (exp10_test): Likewise.
25444 (exp2_test): Likewise.
25445 (expm1_test): Likewise.
25446 (fma_test): Likewise.
25447 (j0_test): Likewise.
25448 (jn_test): Likewise.
25449 (nexttoward_test): Likewise.
25450 (pow_test): Likewise.
25451 (scalbn_test): Likewise.
25452 (scalbln_test): Likewise.
25453 (tan_test): Likewise.
25454 (y1_test): Likewise.
25455 * sysdeps/i386/fpu/libm-test-ulps: Update.
25456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25457
9e0e3d0b
DM
254582012-05-23 David S. Miller <davem@davemloft.net>
25459
25460 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25461 (__libc_sigaction): Remove unused local variables.
25462
ccd0a08f
L
254632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25464
25465 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25466
62bdf9a6
PE
254672012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25468
f8591f80
PE
25469 mktime: avoid signed integer overflow
25470 * time/mktime.c (__mktime_internal): Do not mishandle the case
25471 where diff == INT_MIN.
25472
94c7d826
PE
25473 mktime: simplify computation of average
25474 * time/mktime.c (ranged_convert): Use new time_t_avg function
25475 instead of rolling our own (probably-slower) code.
25476
ce73d683
PE
25477 mktime: do not assume signed right shift propagates sign bit
25478 * time/mktime.c (isdst_differ): New static function.
25479 (__mktime_internal): No need to normalize tm_isdst now.
25480 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25481 tm_isdst values.
25482
72a22e59
PE
25483 mktime: merge another wrapv change from gnulib
25484 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25485 from some compilers.
25486
68605433
PE
25487 mktime: remove incorrect attempt at unusual arithmetics
25488 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25489 The code didn't really work on such machines anyway.
25490 (TYPE_MINIMUM): Assume two's complement.
25491 (twos_complement_arithmetic): Verify that long_int and time_t
25492 are two's complement (or unsigned, in the latter case).
25493
03cf7fe3
PE
25494 mktime: check signed shifts on long_int and time_t, too
25495 * time/mktime.c (SHR): Check that shifts work as desired
25496 on the types long_int and time_t too, as SHR is used on
25497 such types.
25498
f04dfbc2
PE
25499 mktime: do not assume 'long' is wide enough
25500 * time/mktime.c (verify): Move decl up.
25501 (long_int): New type.
25502 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25503 to remove assumption in the code that 'long' is wide enough to
25504 store year values. This assumption is not true on x32 and on
25505 some non-glibc platforms.
25506
62bdf9a6
PE
25507 mktime: merge wrapv change from gnulib
25508 * time/mktime.c (WRAPV): New macro.
25509 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25510 (guess_time_tm, __mktime_internal): Do not assume that signed
25511 integer overflow wraps around; modern compilers generate code
25512 where this assumption is no longer valid.
25513
5e292e4f
L
255142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25515
25516 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25517 Replace "jmp L(pseudo_end)" with "ret".
25518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25519 Likewise.
25520
8caf8c87
AJ
255212012-05-23 Andreas Jaeger <aj@suse.de>
25522
25523 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25524 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25525
1a09dc56
AJ
255262012-05-23 Andreas Jaeger <aj@suse.de>
25527 Maximilian Attems <max@stro.at>
25528
25529 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25530 New macros.
25531
1c87aba0
L
255322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25533
25534 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25535 code so that pseudo_end is just ret and the stack pointer is
25536 correct also for static library in error case.
25537
40e45bd5
JM
255382012-05-23 Joseph Myers <joseph@codesourcery.com>
25539
c2670533
JM
25540 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25541 move to syscalls.list.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25546
40e45bd5
JM
25547 * manual/install.texi (Running make install): Do not mention Linux
25548 kernel version for which pt_chown is not needed.
25549 (Linux): Do not mention problems with nscd with 2.0 kernels.
25550 * INSTALL: Regenerated.
25551
be08eda5
AJ
255522012-05-23 Andreas Jaeger <aj@suse.de>
25553
25554 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25555 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25556 macro.
25557 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25558 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25559 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25560 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25561 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25562 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25564 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25565 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25567 * sysdeps/unix/sysv/linux/bits/in.h
25568 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25569
a6a056bb
RM
255702012-05-22 Roland McGrath <roland@hack.frob.com>
25571
25572 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25573 (PREPARE_VERSION): Just use assert instead, it will be elided
25574 under [NDEBUG] anyway.
25575
c9009328
L
255762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25577
25578 * sysdeps/unix/sysv/linux/Makefile: Include
25579 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 25580 (sysdep_routines): Remove sysctl.
c9009328
L
25581 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25582 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25583 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25584 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25585 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25586
73338355
AJ
255872012-05-22 Andreas Jaeger <aj@suse.de>
25588
25589 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25590 that pseudo_end is just ret and the stack pointer is correct also
25591 for static library in error case.
25592
d44638b0
PP
255932012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25594
25595 [BZ #14122]
25596 * nss/nsswitch.c (defconfig_entries): New variable.
25597 (__nss_database_lookup): Don't leak defconfig entries.
25598 (nss_parse_service_list): Don't leak on error paths.
25599 (free_database_entries): New function.
25600 (free_defconfig): New function.
25601 (free_mem): Move common code to free_database_entries.
25602
31a39bd8
L
256032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25604
da0331a8
L
25605 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25606 Add arch_prctl.
25607 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25608
31a39bd8
L
25609 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25610 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25612 New macro.
25613 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25614 (INTERNAL_SYSCALL_TYPES): Likewise.
25615 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25616 (LOAD_REGS_TYPES_[1-6]): Likewise.
25617 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25618 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25619
45470df3
AZ
256202012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25621
25622 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25623 copysignl for GLIBC_2_0.
25624 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25625 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25626 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25627 logbl for GLIBC_2_0.
25628 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25629 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25630
98a61bcb
L
256312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25632
a4f6e481
L
25633 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25634 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25635
f63d5db6
L
25636 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25637 Use "neg %eax".
25638
98a61bcb
L
25639 * time/mktime.c: Update copyright years.
25640
95770f14
PE
256412012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25642
6226efbd
PE
25643 mktime: merge comment-quoting-style change from gnulib
25644 * time/mktime.c: Quote 'like this' in comments.
25645 The GNU coding standards suggest that we no longer quote `like this',
25646 as "`" and "'" are typically rendered asymmetrically nowadays.
25647 The typical gnulib style is to quote 'like this' when quoting
25648 code, and "like this" when quoting English.
25649
b99e4f78
PE
25650 * time/mktime.c (compile-command): Add "-I.".
25651
643e01e6
PE
25652 mktime: merge mktime-internal.h change from gnulib
25653 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25654
2554247d
PE
25655 mktime: merge time_r change from gnulib
25656 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25657
826dd0ab
PE
25658 mktime: merge DEBUG change from gnulib
25659 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25660 case system <time.h> has a #define.
25661
bd83aabe
PE
25662 mktime: merge <sys/types.h> change from gnulib
25663 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25664 since <time.t> is now guaranteed to define time_t.
25665
95770f14
PE
25666 mktime: merge HAVE_CONFIG_H change from gnulib
25667 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25668
5e1a27a9
L
256692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25670
0e44a77e
L
25671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25672 Use "neg %eax".
25673
5e1a27a9
L
25674 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25675 __rlim_t cast.
25676 (struct rusage): Use anonymous union to pad each field to
25677 __syscall_slong_t.
25678
46259bec
DM
256792012-05-21 David S. Miller <davem@davemloft.net>
25680
25681 * Makefules (o-iterator): Remove .s cases.
25682 (compile-command.s): Delete.
25683 (COMPILE.s): Delete.
25684 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25685
59f0c22e
JM
256862012-05-21 Joseph Myers <joseph@codesourcery.com>
25687
25688 * configure.in (libc_cv_predef_stack_protector): Only consider
25689 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25690 * configure: Regenerated.
25691
20c07380
L
256922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25693
bbb3154b
L
25694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25695 New macro. Use R*LP on int and pointer.
25696 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25697 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25698 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25699 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25700
20c07380
L
25701 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25702 [__WORDSIZE_TIME64_COMPAT32] instead of
25703 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25704 (struct utmp): Likewise.
25705 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25706 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25707 Renamed to ...
25708 (__WORDSIZE_TIME64_COMPAT32): This.
25709 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25710 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25711 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25712 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25713 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25714 (__WORDSIZE_TIME64_COMPAT32): New macro.
25715
d8d1017e
AJ
257162012-05-21 Andreas Jaeger <aj@suse.de>
25717
25718 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25719 only if [SHARED]. Add prototype for __wcschr_ia32.
25720
6c7fb145
RM
257212012-05-21 Roland McGrath <roland@hack.frob.com>
25722
25723 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25724 of %rbp unmolested in the jmp_buf while mangling the low bits.
25725 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25726 unmolested high bits of %rbp while demangling the low bits.
25727 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25728
66274218
AJ
257292012-05-21 Andreas Jaeger <aj@suse.de>
25730
07c58f8f
AJ
25731 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25732 * sunrpc/svc_simple.c: Use it for registerrpc.
25733 * sunrpc/xcrypt.c: Use it for passwd2des.
25734
66274218
AJ
25735 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25736
61f65140
L
257372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25738
25739 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25740 Don't define if [__SYSCALL_WORDSIZE != 32].
25741 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25742 New macro.
25743
5fefb436
AJ
257442012-05-21 Bruno Haible <bruno@clisp.org>
25745 Andreas Jaeger <aj@suse.de>
25746
25747 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25748 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25749 inptr and inend for must_buffer_ch.
25750 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25751 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25752 * stdio-common/Makefile (tests): Remove bug15.
25753 (bug15-ENV): Remove macro.
25754 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25755 anymore.
25756
d8e272ab
AJ
257572012-05-19 Andreas Jaeger <aj@suse.de>
25758 Roland McGrath <roland@hack.frob.com>
25759
25760 * manual/contrib.texi: Completely rewritten. It contains now an
25761 alphabetical list of contributors and their contributions.
25762
4a56a162
RH
257632012-05-21 Richard Henderson <rth@twiddle.net>
25764
25765 * misc/getauxval.c (__getauxval): Use unsigned long int.
25766 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25767 (getauxval): Use unsigned long int.
25768
d024d23c
L
257692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25770
25771 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25772
cbc00a03
RM
257732012-05-21 Roland McGrath <roland@hack.frob.com>
25774
25775 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25776 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25777 __alignof__ (long double).
25778
478143fa
AZ
257792012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25780
25781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25782
c7683a6d
RH
257832012-05-20 Richard Henderson <rth@twiddle.net>
25784
25785 * misc/getauxval.c: New file.
25786 * misc/sys/auxv.h: New file.
25787 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25788 (routines): Add getauxval.
25789 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25790 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25791 * elf/dl-sysdep.c (_dl_auxv): Remove.
25792 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25793 * elf/dl-support.c (_dl_auxv): New variable.
25794 (_dl_aux_init): Initialize it.
25795 * manual/startup.texi (Auxiliary Vector): New node.
25796 * sysdeps/generic/bits/hwcap.h: New file.
25797 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25798 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25799 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25800 * sysdeps/sparc/sysdep.h: ... here. Include it.
25801 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25804 Update.
c7683a6d
RH
25805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25813
a6f1845d
AZ
258142012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25815
25816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25817
cbcbe830
DM
258182012-05-19 David S. Miller <davem@davemloft.net>
25819
25820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25821
e0b16cc2
JM
258222012-05-19 Joseph Myers <joseph@codesourcery.com>
25823
25824 [BZ #14123]
25825 * math/s_ccosh.c: Include <float.h>
25826 (__ccosh): Avoid internal overflow calculating sinh and cosh
25827 values before multiplying by sin and cos values.
25828 * math/s_ccoshf.c: Likewise.
25829 * math/s_ccoshl.c: Likewise.
25830 * math/s_csin.c: Likewise.
25831 * math/s_csinf.c: Likewise.
25832 * math/s_csinl.c: Likewise.
25833 * math/s_csinh.c: Likewise.
25834 * math/s_csinhf.c: Likewise.
25835 * math/s_csinhl.c: Likewise.
25836 * math/libm-test.inc (ccos_test): Add more tests.
25837 (ccosh_test): Likewise.
25838 (csin_test): Likewise.
25839 (csinh_test): Likewise.
25840 * sysdeps/i386/fpu/libm-test-ulps: Update.
25841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25842
6ad13e08
L
258432012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25844
f66f0ce8
L
25845 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25846 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25847
6ad13e08
L
25848 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25849
b1d072a7
JM
258502012-05-19 Joseph Myers <joseph@codesourcery.com>
25851
25852 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25853 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25854 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25855 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25856 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25857 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25858 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25859 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25860 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25861 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25862 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25863 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25864 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25865 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25866 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25867 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25868 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25869 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25870 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25871 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25872 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25873 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25874 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25875 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25876 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25877 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25878 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25879 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25880 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25881 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25882 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25883
9eae47cb
AJ
258842012-05-18 Andreas Jaeger <aj@suse.de>
25885
25886 * csu/.gitignore: Delete.
25887
bb07f69f
L
258882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25889
25890 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25891 (timex): Use __syscall_slong_t.
25892
e6bdb741
AJ
258932012-05-18 Andreas Jaeger <aj@suse.de>
25894 Carlos O'Donell <carlos_odonell@mentor.com>
25895
25896 * manual/install.texi (Configuring and compiling): Update
25897 description about files modified in the source directory.
d6c33fda 25898 * INSTALL: Regenerated.
e6bdb741 25899
1b74487e
L
259002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25901
25902 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25903 value. Use "or" to set return value to -1.
25904 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25905 negate return value.
25906
a88b64b9
TMQMF
259072012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25908
25909 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25910 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25911 failure if the compiler has Graphite support disabled.
25912 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25913 Likewise.
25914 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25915 CFLAGS-memmove.c): Likewise.
25916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25917 Likewise.
25918
3707636e
L
259192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25920
610b8622
L
25921 * sysdeps/x86_64/x32/_itoa.h: New file.
25922
7cd195df
L
25923 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25924 getdents system call only if kernel and user dirents have the
25925 same d_ino and d_off.
25926
94b07d20
L
25927 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25928 LLONG_MAX != LONG_MAX.
25929 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25930 (_fitoa_word): Likewise.
25931
18298070
L
25932 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25933 years.
25934 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25935 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25936 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25937
553c7ea4
L
25938 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25939 include <bits/wordsize.h>. Check __x86_64__ instead of
25940 __WORDSIZE.
25941 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25942 if __x86_64__ is defined. Use anonymous union on fpstate.
25943
3707636e
L
25944 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25945 anonymous union.
25946
b53ef01a
AS
259472012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25948
37fb1dc0
AS
25949 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25950 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25951 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25952 Refer to _rtld_local_ro instead of _rtld_global_ro.
25953 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25954 Likewise.
25955 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25956 Likewise.
25957 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25958 Likewise.
25959 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25960 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25961 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25962
b53ef01a
AS
25963 * sysdeps/powerpc/powerpc32/dl-machine.c
25964 (__elf_machine_runtime_setup) [PROF]: Don't reference
25965 _dl_prof_resolve.
25966
7a185db2
AJ
259672012-05-18 Andreas Jaeger <aj@suse.de>
25968
25969 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25970 function only available for GCCs before 3.4 since GCC 3.4
25971 introduced a builtin.
25972 (lrint): Likewise.
25973 (llrintf): Likewise.
25974 (llrint): Likewise.
25975 (fmaxf): Likewise.
25976 (fmax): Likewise.
25977 (fminf): Likewise.
25978 (fmin): Likewise.
25979 (rint): Likewise.
25980 (rintf): Likewise.
25981 (nearbyint): Likewise.
25982 (nearbyintf): Likewise.
25983 (ceil): Likewise.
25984 (ceilf): Likewise.
25985 (floor): Likewise.
25986 (floorf): Likewise.
25987
3e5aef87
L
259882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25989
428bd707
L
25990 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25991 on both fields and cast pointer to __syscall_ulong_t.
25992
3e5aef87
L
25993 * bits/types.h (__fsword_t): New type.
25994 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25995 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25997 (__FSWORD_T_TYPE): Likewise.
25998 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25999 (__FSWORD_T_TYPE): Likewise.
26000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26001 (__FSWORD_T_TYPE): Likewise.
26002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
26003 (__FSWORD_T_TYPE): Likewise.
26004 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
26005 __SWORD_TYPE with __fsword_t.
26006 (statfs64): Likewise.
26007
1ba7c3dc
DM
260082012-05-17 David S. Miller <davem@davemloft.net>
26009
26010 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
26011
59910343
AJ
260122012-05-17 Andreas Jaeger <aj@suse.de>
26013
26014 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
26015 warning.
26016
2e4c1e9e
L
260172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
26018
26019 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
26020
de7f5ce7
AJ
260212012-05-17 Andreas Jaeger <aj@suse.de>
26022
26023 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
26024 when it is used.
26025
286abc3d
CM
260262012-05-17 Chris Metcalf <cmetcalf@tilera.com>
26027
26028 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
26029
477cc68e
L
260302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
26031
26032 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
26033 * sysdeps/x86_64/tst-mallocalign1.c: New file.
26034
1a0994f5
CD
260352012-05-17 Andreas Jaeger <aj@suse.de>
26036 Carlos O'Donell <carlos_odonell@mentor.com>
26037
26038 [BZ #14059]
26039 * sysdeps/x86_64/multiarch/init-arch.h
26040 (bit_YMM_Usable): Rename to...
26041 (bit_AVX_Usable): ... this.
26042 (bit_FMA4_Usable): New macro.
26043 (bit_XMM_state): New macro.
26044 (bit_YMM_state): New macro.
26045 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
26046 [__ASSEMBLER__] (index_AVX_Usable): ... this.
26047 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
26048 (CPUID_OSXSAVE): New macro.
26049 (CPUID_AVX): New macro.
26050 (CPUID_FMA4): New macro.
26051 (index_YMM_Usable): Rename to...
26052 (index_AVX_Usable): ... this.
26053 (HAS_AVX): Use HAS_ARCH_FEATURE.
26054 (HAS_FMA4): Likewise.
26055 (HAS_YMM_USABLE): Remove.
26056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26057 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
26058 are present.
26059 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
26060 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
26061 * sysdeps/x86_64/multiarch/Makefile: Likewise.
26062 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
26063 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
26064
0af797de
CM
260652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
26066
26067 * math/libm-test.c: Support platforms without multiple rounding modes.
26068 * math/bug-nextafter.c: Support platforms without FP exceptions.
26069 * math/bug-nexttoward.c: Likewise.
26070 * math/test-fenv.c: Likewise.
26071 * math/test-misc.c: Likewise.
26072 * stdlib/bug-getcontext.c: Likewise.
26073
e39745ff
AJ
260742012-05-17 Andreas Jaeger <aj@suse.de>
26075
26076 * manual/examples/search.c (critter_cmp): Change signature to
26077 avoid warnings.
26078 * manual/string.texi (Collation Functions): Likewise.
26079
48970aba
L
260802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26081
26082 * bits/types.h: Fold copyright years.
26083 * bits/typesizes.h: Likewise.
26084 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
26085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
26087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
26088 * time/time.h: Likewise.
26089
bedee953
PP
260902012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
26091
26092 [BZ #208]
26093 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
26094 in instead of returning them. Return void.
26095 (__libc_mallinfo): Accumulate over all arenas.
26096 (__malloc_stats): Adjust for change in int_mallinfo interface.
26097
61653dfb
RM
260982012-05-16 Roland McGrath <roland@hack.frob.com>
26099
30b99d79
RM
26100 [BZ #10375]
26101 * configure.in (NM): Add AC_CHECK_TOOL for it.
26102 (libc_extra_cflags): New substituted variable.
26103 Check for -fstack-protector being used implicitly.
26104 * configure: Regenerated.
26105 * config.make.in (config-extra-cflags): New variable,
26106 gets @libc_extra_cflags@.
26107 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
26108
61653dfb
RM
26109 [BZ #10375]
26110 * configure.in: Check for _FORTIFY_SOURCE being predefined.
26111 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
26112 * configure: Regenerated.
26113 * config.make.in (CPPUNDEFS): New substituted variable.
26114 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
26115 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
26116 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
26117
661768bb
L
261182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26119
26120 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
26121 (mq_attr): Use __syscall_slong_t.
26122
d4261567
L
261232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26124
26125 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
26126 Check __x86_64__ instead of __WORDSIZE.
26127 (_STAT_VER_LINUX): Likewise.
26128 (stat): Check __x86_64__ instead of __WORDSIZE. Use
26129 __syscall_ulong_t and __syscall_slong_t.
26130 (stat64): Likewise.
26131
cf3ff365
L
261322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26133
26134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
26135
76cf3e4d
L
261362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26137
26138 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26139
a637753a
L
261402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26141
26142 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26143 __syscall_ulong_t.
26144
d5e05119
L
26145 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26146 include <bits/wordsize.h>. Check __x86_64__ instead of
26147 __WORDSIZE.
26148 (greg_t): Use "__extension__ long long int" if __x86_64__ is
26149 defined.
26150 (mcontext_t): Replace "unsigned long" with "unsigned long long".
26151
f62ee380
L
26152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26153 include <bits/wordsize.h>. Check __x86_64__ instead of
26154 __WORDSIZE.
26155 (user_regs_struct): Use "__extension__ unsigned long long"
26156 instead of "unsigned long" if __x86_64__ is defined.
26157 (user): Likewise. Pad after pointer field if __ILP32__ is
26158 defined.
26159
4e124ced
JM
261602012-05-16 Joseph Myers <joseph@codesourcery.com>
26161
6a3951a0
JM
26162 * configure.in (makeinfo): Require version 4.5 or later. Allow
26163 versions 5 to 9.
26164 * configure: Regenerated.
26165 * manual/install.texi (texinfo): Increase version requirement to
26166 4.5 or later.
26167 * INSTALL: Regenerated.
26168
4e124ced
JM
26169 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26170
953ca31a
L
261712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26172
26173 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26174
617aca05
L
26175 * sysdeps/x86_64/x32/ffs.c: New file.
26176
5762f7ae
L
26177 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26178 __syscall_ulong_t.
26179 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26180 defined. Use __syscall_ulong_t.
26181 (shminfo): Use __syscall_ulong_t.
26182 (shm_info): Likewise.
26183
a26b6856
L
26184 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26185 __syscall_ulong_t.
26186
cb2b9ef7
L
26187 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26188 <bits/wordsize.h>.
26189 (msgqnum_t): Use __syscall_ulong_t.
26190 (msglen_t): Likewise.
26191 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
26192 __syscall_ulong_t.
26193
34683bb0
L
26194 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26195 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26196
84a68786
L
26197 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26198
48baa5f1
L
26199 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26200 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26201
180be88b
L
26202 * sysvipc/sys/msg.h (msgbuf): Replace long int with
26203 __syscall_slong_t.
26204
5e90c8ad
L
26205 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26206 include <bits/wordsize.h>. Check __x86_64__ instead of
26207 __WORDSIZE.
26208
23dfb58b
L
26209 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26210 "unsigned long long int" if __x86_64__ is defined.
26211 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26212
ce5d54b0
L
26213 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26214 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26215 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26216
13dc9eac
L
26217 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26218 <stdint.h>.
26219 (GET_PC): Cast to uintptr_t first.
26220 (GET_FRAME): Likewise.
26221 (GET_STACK): Likewise.
26222
a7895d15
L
26223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26226 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26228 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26229 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26230 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26231 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26233 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26235 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26236 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26237 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26239 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26240 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26241 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26242 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26243 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26245 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26247 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26249 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26251 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26252
656416c9
AS
262532012-05-16 Andreas Schwab <schwab@linux-m68k.org>
26254
5bd66283
AS
26255 * Makerules (+depfiles): Also collect depfiles from .oS in
26256 $(extra-objs).
26257 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26258 .oS, $(libnldbl-routines)).
26259
656416c9
AS
26260 * Makerules (native-compile-mkdep-flags): Define.
26261 * sunrpc/Makefile (extra-objs): Add $(addprefix
26262 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26263 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26264 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26265 calling $(make-target-directory).
26266
a46f2169
L
262672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26268
26269 * bits/types.h (__snseconds_t): Removed.
26270 * time/time.h (struct timespec): Replace __snseconds_t with
26271 __syscall_slong_t.
26272 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26273 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26274 Likewise.
26275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26276 (__SNSECONDS_T_TYPE): Likewise.
26277 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26278 (__SNSECONDS_T_TYPE): Likewise.
26279 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26280 (__SNSECONDS_T_TYPE): Likewise.
26281
6af6528b
L
262822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26283
26284 * sysdeps/mach/hurd/bits/typesizes.h
26285 (__SYSCALL_SLONG_TYPE): New macro.
26286 (__SYSCALL_ULONG_TYPE): Likewise.
26287
de986b56
L
262882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26289
26290 * bits/types.h (__syscall_slong_t): New type.
26291 (__syscall_ulong_t): Likewise.
26292
26293 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26294 (__SYSCALL_ULONG_TYPE): Likewise.
26295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26296 (__SYSCALL_SLONG_TYPE): Likewise.
26297 (__SYSCALL_ULONG_TYPE): Likewise.
26298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26299 (__SYSCALL_SLONG_TYPE): Likewise.
26300 (__SYSCALL_ULONG_TYPE): Likewise.
26301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26302 (__SYSCALL_SLONG_TYPE): Likewise.
26303 (__SYSCALL_ULONG_TYPE): Likewise.
26304
85736dc7
L
263052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26306
26307 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26308 Add sigaltstack-offsets.sym.
26309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26310 <sigaltstack-offsets.h>.
26311 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26312 longjmp_msg pointer.
26313 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26314 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26315 signal stack.
26316 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26317
cc03b296
JM
263182012-05-15 Joseph Myers <joseph@codesourcery.com>
26319
a9538892
JM
26320 * elf/stackguard-macros.h: Remove file.
26321 * sysdeps/generic/stackguard-macros.h: New file.
26322 * sysdeps/i386/stackguard-macros.h: Likewise.
26323 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26324 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26325 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26326 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26327 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26328 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26329 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26330 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26331 <elf/stackguard-macros.h>.
26332
cc03b296
JM
26333 [BZ #14109]
26334 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26335 __aligned__ in attribute.
26336 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26337 (gregset_t): Likewise.
26338
93171016
L
263392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26340
26341 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26342 * sysdeps/x86_64/64/Implies-after: Here. New file.
26343 * sysdeps/x86_64/x32/Implies-after: New file.
26344
d86813a0
L
263452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26346
26347 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26348 and access return value for _dl_profile_fixup. Use R10_LP to
26349 load frame size.
26350
2953ec75
L
263512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26352
26353 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26354
3b550e9e
L
263552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26356
26357 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26358 * sysdeps/x86_64/x32/sysdep.h: New file.
26359
eda41706
L
263602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26361
26362 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26363 * sysdeps/x86_64/setjmp.S: Likewise.
26364
9ea01d93
AZ
263652012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26366
26367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26368 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26369 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26370 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26371 remove unused global constant.
26372
02a91938
CM
263732012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26374
26375 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26376 include of <not-cancel.h>.
26377
6540185f
RM
263782012-05-15 Roland McGrath <roland@hack.frob.com>
26379
26380 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26381
509072a0
AJ
263822012-05-15 Jeff Law <law@redhat.com>
26383 Andreas Jaeger <aj@suse.de>
26384
26385 [BZ #13594]
26386 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26387 out from...
26388 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26389 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26390 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26391 code changing __hst_map_handle.map.
26392
ba75122d
RM
263932012-05-15 Roland McGrath <roland@hack.frob.com>
26394
26395 * configure.in (sysnames): Look for Implies-before and Implies-after
26396 files.
26397 * configure: Regenerated.
26398
890d8bd8
L
263992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26400
26401 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26402 8-byte data alignment with LP_SIZE alignment.
26403
f6ee6623
L
264042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26405
26406 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26407 into R10_LP.
26408
ea2626f6
L
264092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26410
26411 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26412
085f715e
L
264132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26414
26415 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26416 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26417 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26418 Likewise.
26419 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26420
be8498fc
L
264212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26422
26423 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26424 (stackinfo_sub_sp): Likewise.
26425
70bc83b9
L
264262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26427
26428 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26429 RAX_LP.
26430
9bc0b730
L
264312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26432
26433 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26434 into R*_LP.
26435
6d2850e7
L
264362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26437
26438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26439 sizes into R*_LP.
26440
3cb84561
L
264412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26442
26443 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26444
54e2ed81
L
264452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26446
26447 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26448 into R11_LP and load __x86_64_shared_cache_size_half into
26449 R8_LP.
26450
8a17f349
L
264512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26452
26453 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26454 R8_LP.
26455
777b1eea
AZ
264562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26457
26458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26459 logb for POWER7.
26460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26461 logbf for POWER7.
26462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26463 logbl for POWER7.
26464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26465 powerpc32/power7/fpu/s_logb.c via #include.
26466 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26467 powerpc32/power7/fpu/s_logbf.c via #include.
26468 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26469 powerpc32/power7/fpu/s_logbl.c via #include.
26470
d20d4ac2
JM
264712012-05-15 Joseph Myers <joseph@codesourcery.com>
26472
26473 * README.libm: Remove file.
26474
6cdef1ab
L
264752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26476
26477 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26478 count for x32. Use R*_LP and omit operand-size suffix.
26479
0b254d8f
L
264802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26481
26482 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26483 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26484 * sysdeps/x86_64/x32/shlib-versions: New file.
26485
ceb809dc
RM
264862012-05-14 Roland McGrath <roland@hack.frob.com>
26487
26488 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26489 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26490 Use _dl_fatal_printf instead.
26491
37f1abd4
JM
264922012-05-14 Joseph Myers <joseph@codesourcery.com>
26493
26494 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26495 set if not set by the user. Do not allow for being unset.
26496 * sysdeps/unix/sysv/linux/configure: Regenerated.
26497
11de3a33
L
264982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26499
26500 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26501 the `q' suffix from lea and replace .quad with ASM_ADDR.
26502
e02f153a
L
265032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26504
26505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26506 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26507 instead of $17.
26508 (PTR_DEMANGLE): Likewise.
26509
520ae0fd
L
265102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26511
26512 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26513 (LP_OP): Likewise.
26514 (ASM_ADDR): Likewise.
26515 (RAX_LP): Likewise.
26516 (RBP_LP): Likewise.
26517 (RBX_LP): Likewise.
26518 (RCX_LP): Likewise.
26519 (RDI_LP): Likewise.
26520 (RSI_LP): Likewise.
26521 (RSP_LP): Likewise.
26522 (R8_LP): Likewise.
26523 (R9_LP): Likewise.
26524 (R10_LP): Likewise.
26525 (R10_LP): Likewise.
26526 (R11_LP): Likewise.
26527 (R12_LP): Likewise.
26528 (R13_LP): Likewise.
26529 (R14_LP): Likewise.
26530 (R15_LP): Likewise.
26531
b985be81
L
265322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26533
26534 * sysdeps/x86_64/x32/dl-machine.h: New file.
26535
6a4888ff
AJ
265362012-05-14 Andreas Jaeger <aj@suse.de>
26537
26538 * manual/Makefile (subdir): Remove export of subdir.
26539 (all): Remove target.
26540 (.PHONY): Remove all from list.
26541 (mkinstalldirs): Remove.
26542 (.PHONY): Remove installdirs from list.
26543 ($(inst_infodir)/libc.info): Use make-target-directory.
26544 (installdirs): Remove.
26545 (subdir_%): Remove.
26546 (glibc-targets): Remove.
26547 (lib): Remove.
26548 (stubs): Remove.
26549 ($(objpfx)stubs ../po/manual.pot): Remove.
26550 ($(objpfx)stamp%): Remove.
26551 (make-target-directory): Remove.
26552 (subdir_install): Remove.
26553 (routines): Remove.
26554 (aux): Remove.
26555 (sources): Remove.
26556 (objects): Remove.
26557 (headers): Remove.
26558
26559 [BZ #13750]
26560 * manual/.gitignore: Remove, it's not needed anymore.
26561 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26562 all files in it.
26563 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26564 directory.
26565 (texis): Renamed to $(objpfx)texis.
26566 (texis-path): New, contains path to generated files.
26567 (chapters.%): Use texis-path for complete path, add extra argument
26568 libc-texinfo.sh.
26569 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26570 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26571 (summary,texi, stamp-summary): Use complete path of
26572 files. Generate files in build dir.
26573 (dir-add.texi): Build in build dir.
26574 (libm-err.texi,stamp-libm-err): Likewise.
26575 (version.texi, stamp-version): Likewise.
26576 (.%c.texi): Likewise.
26577 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26578 (mostlyclean): Remove target.
26579 (realclean): Remove target.
26580 (generated): Add new variable with contents from mostlyclean and
26581 realclean, remove entries duplicated in common-mostlyclean, add
26582 stamp-libm-err and stamp-version.
26583 (generated-dirs): Add libc directory.
26584 ($(inst_infodir)/libc.info): Install files from build dir.
26585
26586 * manual/install.texi (Configuring and compiling): Adjust since
26587 the info files are not part of the tar ball anymore.
26588
7ac77294
AJ
265892012-05-14 Andreas Jaeger <aj@suse.de>
26590
26591 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26592 variable.
26593
ffb7875d
JM
265942012-05-14 Joseph Myers <joseph@codesourcery.com>
26595
26596 [BZ #13717]
26597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26598 to 2.2.0 where earlier.
26599 * sysdeps/unix/sysv/linux/configure: Regenerated.
26600 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26601 Remove conditional code.
26602 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26603 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26604 Remove conditional code.
26605 [!__NR_lchown]: Likewise.
26606 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26607 [__NR_lchown]: Likewise.
26608 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26609 comment referencing __ASSUME_LCHOWN_SYSCALL.
26610 * sysdeps/unix/sysv/linux/i386/sigaction.c
26611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26613 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26614 Remove conditional code.
26615 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26616 (__protocol_available): Remove #if 0 code.
26617 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26618 conditional code.
26619 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26620 * sysdeps/unix/sysv/linux/kernel-features.h
26621 (__ASSUME_GETCWD_SYSCALL): Don't define.
26622 (__ASSUME_REALTIME_SIGNALS): Likewise.
26623 (__ASSUME_PREAD_SYSCALL): Likewise.
26624 (__ASSUME_PWRITE_SYSCALL): Likewise.
26625 (__ASSUME_POLL_SYSCALL): Likewise.
26626 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26627 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26628 non-SPARC.
26629 (__ASSUME_SIOCGIFNAME): Don't define.
26630 (__ASSUME_MSG_NOSIGNAL): Likewise.
26631 (__ASSUME_SENDFILE): Define unconditionally.
26632 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26633 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26634 conditional code.
26635 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26636 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26637 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26638 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26639 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26640 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26641 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26646 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26655 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26658 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26661 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26664 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26666 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26667 Remove conditional code.
26668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26669 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26670 Remove conditional code.
26671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26672 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26673 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26674 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26675 Remove conditional code.
26676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26677 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26678 Remove conditional code.
26679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26680 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26681 Remove conditional code.
26682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26683 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26684 Remove conditional code.
26685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26686 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26687 Remove conditional code.
26688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26689 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26690 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26692 * sysdeps/unix/sysv/linux/sigaction.c
26693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26695 * sysdeps/unix/sysv/linux/sigpending.c
26696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26698 * sysdeps/unix/sysv/linux/sigprocmask.c
26699 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26700 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26701 * sysdeps/unix/sysv/linux/sigsuspend.c
26702 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26703 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26705 (__libc_missing_rt_sigs): Remove.
26706 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26707 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26708 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26709 Remove conditional code.
26710 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26711 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26712 return 1.
26713 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26714 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26715 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26716 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26717
1bfb7291
AJ
267182012-05-14 Andreas Jaeger <aj@suse.de>
26719
caae5a81
AJ
26720 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26721 it's not used in glibc.
26722 (__coshm1): Likewise.
26723 (__acosh1p): Likewise.
26724 (__sgn): Likewise.
26725
1bfb7291
AJ
26726 * manual/string.texi (Copying and Concatenation): Add missing
26727 variable in concat example.
26728 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26729
c044d724
L
267302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26731
144c5467 26732 [BZ #14103]
c044d724
L
26733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26734 __builtin_clzl with __builtin_clzll.
26735
2523c62b
L
267362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26737
26738 [BZ #14104]
26739 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26740 libc_freeres_ptr.
26741
d7bb4c42
LD
267422012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26743
26744 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26745 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26746 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26747 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26748
9dc4e1fb
MF
267492012-05-14 Mike Frysinger <vapier@gentoo.org>
26750
26751 * NEWS: Update ia64 info.
26752
c7df0112
AS
267532012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26754
26755 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26756 used as bcopy.
26757
dc70356c
TS
267582012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26759
26760 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26761 * sysdeps/unix/syscalls.list (dup3): Likewise.
26762 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26763 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26764
9fb1a21f
L
267652012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26766
26767 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26768 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26769
4822a2a5
L
267702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26771
26772 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26773 thread pointer.
26774 (TLS_IE): Use mov/add instead of movq/addq to load thread
26775 pointer.
26776 (TLS_GD_PREFIX): New.
26777 (TLS_GD): Use it.
26778
842b81d6
DM
267792012-05-11 David S. Miller <davem@davemloft.net>
26780
26781 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26782 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26783 (_FPU_SETCW): Likewise.
26784
1cf463cd
L
267852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26786
26787 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26788 is 32-byte aligned.
26789
60cc4a18
AS
267902012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26791
26792 [BZ #11837]
26793 * iconvdata/gb18030.c: Update tables.
26794 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26795 characters specially.
26796 (BODY for TO_LOOP): Add encoding of missing ranges.
26797
febb44a4
TS
267982012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26799
26800 [BZ #13673]
26801 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26802 * sysdeps/mach/hurd/dup3.c: Likewise.
26803 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26804 * sysdeps/powerpc/memmove.c:: Likewise.
26805
0a10fb9e
L
268062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26807
26808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26809 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26810
df8a552f
L
268112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26812
26813 * elf/elf.h (R_X86_64_RELATIVE64): New.
26814 (R_X86_64_NUM): Updated.
26815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26816 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26817 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26818 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26819 tst-quad1pie tst-quad2pie
26820 (modules-names): Add tst-quadmod1 tst-quadmod2.
26821 ($(objpfx)tst-quad1): New dependency.
26822 ($(objpfx)tst-quad2): Likewise.
26823 ($(objpfx)tst-quad1pie): Likewise.
26824 ($(objpfx)tst-quad2pie): Likewise.
26825 * sysdeps/x86_64/tst-quad1.c: New file.
26826 * sysdeps/x86_64/tst-quad1pie.c: New file.
26827 * sysdeps/x86_64/tst-quad2.c: Likewise.
26828 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26829 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26830 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26831 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26832 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26833
f34d6f84
ST
268342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26835
f42d41d1
ST
26836 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26837 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26838 * streams/stropts.h (t_scalar_t): Define type.
26839
3c3571fc
ST
26840 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26841 (_PATH_PRESERVE): Set to "/var/lib".
26842 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26843
61f06bd3
ST
26844 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26845 instead of int.
26846
918d4d71
ST
26847 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26848 if __dir_mkfile succeeded.
26849
f34d6f84
ST
26850 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26851 checking for _hurd_dtablesize. Unlock it right after having
26852 finished _hurd_dtable allocation.
26853
10589b4a
TS
268542012-05-10 Thomas Schwinge <thomas@schwinge.name>
26855
674cdbc7
TS
26856 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26857 * sysdeps/mach/hurd/configure: Regenerated.
26858 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26859 special-casing to...
26860 * sysdeps/gnu/configure.in: ... this new file.
26861 * sysdeps/unix/sysv/linux/configure: Regenerated.
26862 * sysdeps/gnu/configure: New generated file.
26863
8e41b99f
TS
26864 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26865 for Linux: use nsec instead of usec, as well as:
26866 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26867 members of type struct timespec.
26868 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26869 New macros.
26870 (struct stat64): Likewise.
26871 (_STATBUF_ST_NSEC): New macro.
26872 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26873
10589b4a
TS
26874 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26875 __strtoul_internal rather than strtoul.
26876
63643c85
PT
268772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26878
26879 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26880 and reject them.
26881
3faebe6a
ST
268822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26883
26884 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26885 which preserves existing values.
26886 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26887
c6474b07
PT
268882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26889
26890 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26891 TIMEOUT values. Return EINVAL for NFDS values either negative or
26892 greater than FD_SETSIZE.
26893
1043890b
ST
268942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26895
26896 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26897 allocated, call __vm_protect to finish enabling the existing space, and
26898 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26899 allocate the remainder.
26900
37ed8b9b
PT
269012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26902
26903 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26904 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26905
db653660
ST
269062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26907
37ed8b9b
PT
26908 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26909 sysdeps/mach/hurd/readlink.c.
b29d4053 26910
db653660
ST
26911 * posix/tst-sysconf.c (posix_options): Only use
26912 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26913 _POSIX_SYNCHRONIZED_IO when they are defined
26914 * sysdeps/mach/hurd/bits/posix_opt.h:
26915 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26916 (_XOPEN_REALTIME): Undefine macro.
26917 (_XOPEN_REALTIME_THREADS): Undefine macro.
26918 (_XOPEN_SHM): Undefine macro.
26919 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26920 macro to -1.
26921 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26922 macro to -1.
26923 (_POSIX_ASYNC_IO): Undefine macro.
26924 (_POSIX_PRIORITIZED_IO): Undefine macro.
26925 (_POSIX_SPIN_LOCKS): Define macro to -1.
26926
ee16e894
ST
26927 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26928 SA_NODEFER, SA_RESETHAND.
26929 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26930 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26931 F_DUPFD_CLOEXEC.
26932
6103ae3b
TS
269332012-05-10 Thomas Schwinge <thomas@schwinge.name>
26934
26935 * elf/Makefile (pldd-modules): Define unconditionally.
26936
80b4e5f3
TS
269372012-05-10 Thomas Schwinge <thomas@schwinge.name>
26938
26939 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26940
edadcbd6
ST
269412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26942
26943 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26944 Return ENOENT when name is empty.
26945 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26946
80694780
TS
269472012-05-10 Thomas Schwinge <thomas@schwinge.name>
26948
1792c087
TS
26949 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26950
80694780
TS
26951 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26952
6b645f0d
ST
269532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26954
80694780
TS
26955 Fix mlock in all cases except non-readable pages.
26956 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26957 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26958
6b645f0d
ST
26959 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26960 (__mkdir): When path is `/', just fail with EEXIST.
26961 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26962
e468f8a3
TS
269632012-05-10 Thomas Schwinge <thomas@schwinge.name>
26964
26965 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26966 <sys/uio.h> (for writev).
26967 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26968 and <sys/param.h> (for MIN).
26969
a4186cff
PT
269702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26971
26972 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26973 REQUESTED_TIME. Properly set the remaining time and return EINTR
26974 if interrupted.
26975
510bbf14
TS
269762012-05-10 Thomas Schwinge <thomas@schwinge.name>
26977
26978 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26979 Depend on against $(link-rpcuserlibs).
26980
5d5722e8
ST
269812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26982
a4186cff
PT
26983 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26984 (__libc_stack_end): Do not use attribute_relro.
26985 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26986 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26987 to libthread-provided value.
a4186cff
PT
26988 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26989 attribute_relro.
5d5722e8 26990
37233df9
TS
269912012-05-10 Thomas Schwinge <thomas@schwinge.name>
26992
be971a2b
TS
26993 [BZ #3748]
26994 * bits/libc-lock.h (__libc_once_get): New macro.
26995 * sysdeps/mach/bits/libc-lock.h: Likewise.
26996 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26998 instead of using implementation details.
26999
37233df9
TS
27000 * libio/fileops.c: Unconditionally include <kernel-features.h>.
27001 * libio/freopen.c: Likewise.
27002 * libio/freopen64.c: Likewise.
27003 * misc/syslog.c: Likewise.
27004 * nscd/connections.c: Likewise.
27005 * nscd/netgroupcache.c: Likewise.
27006 * sysdeps/posix/getcwd.c: Likewise.
27007
38de94a5
RM
270082012-05-10 Roland McGrath <roland@hack.frob.com>
27009
27010 * math/w_ilogbf.c: Add #include <limits.h>.
27011
67530489
ST
270122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27013
a4186cff 27014 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
27015 path instead of returning without unlocking.
27016
67530489
ST
27017 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
27018 immediate-write ioctls.
27019 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
27020
5aa3a74a
TS
270212012-05-10 Thomas Schwinge <thomas@schwinge.name>
27022
18bad2ae
TS
27023 * sysdeps/mach/hurd/i386/init-first.c (init): Use
27024 __builtin_frame_address instead of making assumptions about the
27025 location of the return address relative to DATA. Force early load of
27026 the return address.
27027 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
27028 __builtin_frame_address.
27029
5aa3a74a
TS
27030 dup3 for GNU Hurd.
27031 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
27032 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
27033 implement dup3 and do some further code clean-ups.
27034 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
27035 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
27036
ecd0de9a
ST
270372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27038
cd9fa985
ST
27039 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
27040
a4186cff
PT
27041 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
27042 HURD_CRITICAL_END around holding _hurd_dtable_lock.
27043 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
27044 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
27045 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
27046 d->port.lock.
802ca5a5 27047
a4186cff
PT
27048 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
27049 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
27050 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 27051
bcf55240
TS
270522012-05-10 Thomas Schwinge <thomas@schwinge.name>
27053
6960eb42
TS
27054 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
27055 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
27056 definitions.
27057
eb43375f
TS
27058 accept4 for GNU Hurd.
27059 * include/sys/socket.h (__libc_accept4): New prototype.
27060 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
27061 to implement __libc_accept4.
27062 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
27063 __libc_accept4.
27064 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
27065
bcf55240
TS
27066 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
27067 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
27068 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
27069 signal-defines.sym.
27070
6178c55b
ST
270712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27072
a4186cff 27073 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 27074
6f080c2f
TS
270752012-05-10 Thomas Schwinge <thomas@schwinge.name>
27076
27077 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
27078 assertion on O_CLOEXEC flag.
27079 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
27080 * hurd/intern-fd.c: Likewise.
27081 * hurd/port2fd.c: Likewise.
27082
bcfe3a54
ST
270832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27084
27085 [BZ #3906]
27086 * bits/in.h (IPV6_PKTINFO): Define new macro.
27087 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
27088
89c9aa49
AZ
270892012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27090
27091 [BZ #13954]
27092 [BZ #13955]
27093 [BZ #13956]
27094 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
27095 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27096 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
27097 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27099 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27100 * math/libm-test.inc (logb_test) : Additional logb tests.
27101
021db4be
AJ
271022012-05-09 Andreas Schwab <schwab@linux-m68k.org>
27103 Andreas Jaeger <aj@suse.de>
27104
27105 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
27106 * configure: Regenerated.
27107 * config.h.in (LINK_OBSOLETE_RPC): New macro.
27108 * config.make.in (link-obsolete-rpc): New substituted variable.
27109 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
27110 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
27111 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27112 (shared-only-routines): Don't set it under [link-obsolete-rpc],
27113 so that libc.a contains the symbols.
27114 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27115 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
27116 * sunrpc/auth_none.c: Likewise.
27117 * sunrpc/auth_unix.c: Likewise.
27118 * sunrpc/authdes_prot.c: Likewise.
27119 * sunrpc/authuxprot.c: Likewise.
27120 * sunrpc/clnt_gen.c: Likewise.
27121 * sunrpc/clnt_perr.c: Likewise.
27122 * sunrpc/clnt_raw.c: Likewise.
27123 * sunrpc/clnt_simp.c: Likewise.
27124 * sunrpc/clnt_tcp.c: Likewise.
27125 * sunrpc/clnt_udp.c: Likewise.
27126 * sunrpc/clnt_unix.c: Likewise.
27127 * sunrpc/des_crypt.c: Likewise.
27128 * sunrpc/des_soft.c: Likewise.
27129 * sunrpc/get_myaddr.c: Likewise.
27130 * sunrpc/key_call.c: Likewise.
27131 * sunrpc/key_prot.c: Likewise.
27132 * sunrpc/netname.c: Likewise.
27133 * sunrpc/pm_getmaps.c: Likewise.
27134 * sunrpc/pm_getport.c: Likewise.
27135 * sunrpc/pmap_clnt.c: Likewise.
27136 * sunrpc/pmap_prot.c: Likewise.
27137 * sunrpc/pmap_prot2.c: Likewise.
27138 * sunrpc/pmap_rmt.c: Likewise.
27139 * sunrpc/publickey.c: Likewise.
27140 * sunrpc/rpc_cmsg.c: Likewise.
27141 * sunrpc/rpc_common.c: Likewise.
27142 * sunrpc/rpc_dtable.c: Likewise.
27143 * sunrpc/rpc_prot.c: Likewise.
27144 * sunrpc/rpc_thread.c: Likewise.
27145 * sunrpc/rtime.c: Likewise.
27146 * sunrpc/svc.c: Likewise.
27147 * sunrpc/svc_auth.c: Likewise.
27148 * sunrpc/svc_raw.c: Likewise.
27149 * sunrpc/svc_run.c: Likewise.
27150 * sunrpc/svc_tcp.c: Likewise.
27151 * sunrpc/svc_udp.c: Likewise.
27152 * sunrpc/svc_unix.c: Likewise.
27153 * sunrpc/svcauth_des.c: Likewise.
27154 * sunrpc/xcrypt.c: Likewise.
27155 * sunrpc/xdr.c: Likewise.
27156 * sunrpc/xdr_array.c: Likewise.
27157 * sunrpc/xdr_float.c: Likewise.
27158 * sunrpc/xdr_intXX_t.c: Likewise.
27159 * sunrpc/xdr_mem.c: Likewise.
27160 * sunrpc/xdr_rec.c: Likewise.
27161 * sunrpc/xdr_ref.c: Likewise.
27162 * sunrpc/xdr_sizeof.c: Likewise.
27163 * sunrpc/xdr_stdio.c: Likewise.
27164
b5c086a2
RM
271652012-05-10 Roland McGrath <roland@hack.frob.com>
27166
27167 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27168 change. Update copyright years.
27169
6d74dd09
JM
271702012-05-10 Joseph Myers <joseph@codesourcery.com>
27171
27172 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27173
28e72501
MK
271742012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
27175 Joseph Myers <joseph@codesourcery.com>
27176 Paul Pluzhnikov <ppluzhnikov@google.com>
27177
27178 [BZ #14012]
27179 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27180 requiring rpcgen.
27181 [cross-compiling] (extra-libs): Likewise.
27182 [cross-compiling] (extra-libs-others): Likewise.
27183 [cross-compiling] (librpcsvc-routines): Likewise.
27184 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27185 [cross-compiling] (omit-deps): Likewise.
27186 (sunrpc-CPPFLAGS): New variable.
27187 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27188 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27189 (cross-rpcgen-objs): New variable.
27190 (extra-objs): Append $(cross-rpcgen-objs).
27191 ($(cross-rpcgen-objs)): New rule.
27192 ($(objpfx)cross-rpcgen): Likewise.
27193 (rpcgen-cmd): Define to use $(built-program-file). Expand
27194 comment.
27195 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27196 ($(objpfx)x%.stmp): Likewise.
27197 * sunrpc/proto.h [IS_IN_build] (_): Define.
27198 [IS_IN_build] (_libc_intl_domainname): Likewise.
27199
c8c59454
L
272002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27201
27202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27203 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27204 and R_X86_64_TPOFF64.
27205
6f27cd16
JM
272062012-05-10 Joseph Myers <joseph@codesourcery.com>
27207
27208 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27209 sysdeps/unix/sysv/syscalls.list.
27210 (stime): Likewise.
27211 (utime): Likewise.
27212 * sysdeps/unix/sysv/syscalls.list: Remove file.
27213
02467e1c
PE
272142012-05-10 Paul Eggert <eggert@cs.ucla.edu>
27215
27216 [BZ #3440]
27217 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27218 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27219 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27220 (__LC_IDENTIFICATION): Make these macros useful in #if
27221 expressions, as required by C99.
27222
da392631
AS
272232012-05-10 Andreas Schwab <schwab@linux-m68k.org>
27224
27225 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27226 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
27227 after this.
27228
8115f29b
L
272292012-05-09 H.J. Lu <hongjiu.lu@intel.com>
27230
27231 * stdlib/longlong.h: Updated from GCC.
27232
bdd74070
AJ
272332012-05-09 Andreas Jaeger <aj@suse.de>
27234
edfe0dbe
AJ
27235 * nscd/nscd.c (run_modes): Make named enum, reorder so that
27236 default is first entry.
27237 (run_mode): Set type.
27238 (main): Remove informal message about syslog.
27239 (options): Fix typo.
27240
bcfe3a54
ST
27241 [BZ #14053]
27242 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 27243 to asm.
bcfe3a54
ST
27244 (lrint): Likewise.
27245 (llrintf): Likewise.
27246 (llrint): Likewise.
27247 (rint): Likewise.
27248 (rintf): Likewise.
27249 (nearbyint): Likewise.
27250 (nearbyintf): Likewise.
bdd74070 27251
91d8d69e
AJ
272522012-05-09 Andreas Jaeger <aj@suse.de>
27253 Pedro Alves <palves@redhat.com>
27254
27255 * nscd/nscd.c (run_mode): Use enum.
27256 (main): Cleanup coding style issue.
27257
bb90b80b
AJ
272582012-05-09 Alexandre Oliva <aoliva@redhat.com>
27259 Andreas Jaeger <aj@suse.de>
27260
bcfe3a54
ST
27261 * nscd/nscd.c (go_background): Replaced with...
27262 (run_mode): ... this.
bb90b80b 27263 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
27264 (options): Add -F --foreground.
27265 (main): Implement it.
27266 (parse_opt): Parse it.
bb90b80b 27267
1a4b75a1
AJ
272682012-05-09 Andreas Jaeger <aj@suse.de>
27269
27270 [BZ #14083]
27271 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27272 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27273 -Wconversion warning.
27274 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27275 Likewise.
27276
b1cc2472
JM
272772012-05-09 Joseph Myers <joseph@codesourcery.com>
27278
27279 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27280 == 0.
27281 (LC_ALL): Use macro-int-constant.
27282 (LC_COLLATE): Likewise.
27283 (LC_CTYPE): Likewise.
27284 (LC_MESSAGES): Likewise.
27285 (LC_MONETARY): Likewise.
27286 (LC_NUMERIC): Likewise.
27287 (LC_TIME): Likewise.
27288 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27289 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27291 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27292 Specify type.
27293 [C99-based standards] (float_t): Expect type.
27294 [C99-based standards] (double_t): Expect type.
27295 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27296 type.
27297 [C99-based standards] (HUGE_VALL): Likewise.
27298 [C99-based standards] (INFINITY): Likewise.
27299 [C99-based standards] (NAN): Likewise.
27300 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27301 [C99-based standards] (FP_NAN): Likewise.
27302 [C99-based standards] (FP_NORMAL): Likewise.
27303 [C99-based standards] (FP_SUBNORMAL): Likewise.
27304 [C99-based standards] (FP_ZERO): Likewise.
27305 [C99-based standards] (FP_FAST_FMA): Use
27306 optional-macro-int-constant. Specify type. Require == 1.
27307 [C99-based standards] (FP_FAST_FMAF): Likewise.
27308 [C99-based standards] (FP_FAST_FMAL): Likewise.
27309 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27310 [C99-based standards] (FP_ILOGBNAN): Likewise.
27311 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27312 Specify type.
27313 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27314 [C99-based standards] (math_errhandling): Specify type.
27315 [ISO99 || ISO11] (signgam): Do not allow.
27316 [non-C99-based standards] (copysignf): Do not allow.
27317 [non-C99-based standards] (exp2f): Likewise.
27318 [non-C99-based standards] (log2f): Likewise.
27319 [non-C99-based standards] (modff): Allow.
27320 [non-C99-based standards] (erff): Do not allow.
27321 [non-C99-based standards] (erfcf): Likewise.
27322 [non-C99-based standards] (gammaf): Likewise.
27323 [non-C99-based standards] (hypotf): Likewise.
27324 [non-C99-based standards] (j0f): Likewise.
27325 [non-C99-based standards] (j1f): Likewise.
27326 [non-C99-based standards] (jnf): Likewise.
27327 [non-C99-based standards] (lgammaf): Likewise.
27328 [non-C99-based standards] (tgammaf): Likewise.
27329 [non-C99-based standards] (y0f): Likewise.
27330 [non-C99-based standards] (y1f): Likewise.
27331 [non-C99-based standards] (ynf): Likewise.
27332 [non-C99-based standards] (isnanf): Likewise.
27333 [non-C99-based standards] (acoshf): Likewise.
27334 [non-C99-based standards] (asinhf): Likewise.
27335 [non-C99-based standards] (atanhf): Likewise.
27336 [non-C99-based standards] (cbrtf): Likewise.
27337 [non-C99-based standards] (expm1f): Likewise.
27338 [non-C99-based standards] (ilogbf): Likewise.
27339 [non-C99-based standards] (log1pf): Likewise.
27340 [non-C99-based standards] (logbf): Likewise.
27341 [non-C99-based standards] (nextafterf): Likewise.
27342 [non-C99-based standards] (remainderf): Likewise.
27343 [non-C99-based standards] (rintf): Likewise.
27344 [non-C99-based standards] (scalbf): Likewise.
27345 [non-C99-based standards] (copysignl): Likewise.
27346 [non-C99-based standards] (exp2l): Likewise.
27347 [non-C99-based standards] (log2l): Likewise.
27348 [non-C99-based standards] (modfl): Allow.
27349 [non-C99-based standards] (erfl): Do not allow.
27350 [non-C99-based standards] (erfcl): Likewise.
27351 [non-C99-based standards] (gammal): Likewise.
27352 [non-C99-based standards] (hypotl): Likewise.
27353 [non-C99-based standards] (j0l): Likewise.
27354 [non-C99-based standards] (j1l): Likewise.
27355 [non-C99-based standards] (jnl): Likewise.
27356 [non-C99-based standards] (lgammal): Likewise.
27357 [non-C99-based standards] (tgammal): Likewise.
27358 [non-C99-based standards] (y0l): Likewise.
27359 [non-C99-based standards] (y1l): Likewise.
27360 [non-C99-based standards] (ynl): Likewise.
27361 [non-C99-based standards] (isnanl): Likewise.
27362 [non-C99-based standards] (acoshl): Likewise.
27363 [non-C99-based standards] (asinhl): Likewise.
27364 [non-C99-based standards] (atanhl): Likewise.
27365 [non-C99-based standards] (cbrtl): Likewise.
27366 [non-C99-based standards] (expm1l): Likewise.
27367 [non-C99-based standards] (ilogbl): Likewise.
27368 [non-C99-based standards] (log1pl): Likewise.
27369 [non-C99-based standards] (logbl): Likewise.
27370 [non-C99-based standards] (nextafterl): Likewise.
27371 [non-C99-based standards] (remainderl): Likewise.
27372 [non-C99-based standards] (rintl): Likewise.
27373 [non-C99-based standards] (scalbl): Likewise.
27374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27375 [non-C99-based standards] (FP_*): Do not allow.
27376 [C99-based standards] (FP_*): Change to
27377 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27378 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27379 allow.
27380 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27381 (SIG_ERR): Likewise.
27382 [X/Open-based standards] (SIG_HOLD): Likewise.
27383 (SIG_IGN): Likewise.
27384 (SIGABRT): Use macro-int-constant. Specify type. Require
27385 positive value.
27386 (SIGFPE): Likewise.
27387 (SIGILL): Likewise.
27388 (SIGINT): Likewise.
27389 (SIGSEGV): Likewise.
27390 (SIGTER): Likewise.
27391 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27392 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27393 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27394 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27395 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27396 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27397 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27398 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27399 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27400 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27401 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27402 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27403 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27404 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27405 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27406 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27407 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27408 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27409 [X/Open-based standards] (SIGTRAP): Likewise.
27410 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27411 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27412 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27413 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27414 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27415 allow.
27416
b9f1922d
IW
274172012-05-08 Ian Wienand <ianw@vmware.com>
27418
27419 [BZ #14080]
27420 * time/tzset.c (__tzset_parse_tz): Update default rules for
27421 daylight time changes in the Energy Policy Act of 2005.
27422
1db86e88
AJ
274232012-05-09 Andreas Jaeger <aj@suse.de>
27424
27425 [BZ #13983]
27426 * elf/ldconfig.c (parse_conf): Change string to make clear that
27427 ldconfig only issued a warning if ld.so.conf does not exist.
27428
dee4a4e3
DM
274292012-05-08 David S. Miller <davem@davemloft.net>
27430
ee0db190
DM
27431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27432 movxtod instead of popping the value on the stack.
27433
dee4a4e3
DM
27434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27435
6a43ec98
CD
274362012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27437
27438 * config.h.in: Add HAVE_ARM_PCS_VFP.
27439
05c2c961
RMG
274402012-05-08 Roland Mc Grath <roland@hack.frob.com>
27441
bcfe3a54
ST
27442 [BZ #13979]
27443 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27444 checking but the checks are disabled for any reason.
05c2c961 27445
4b30f61a
L
274462012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27447
27448 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27449 and ELF64_R_TYPE with ELFW(R_TYPE).
27450
eee2bc67
JM
274512012-05-08 Joseph Myers <joseph@codesourcery.com>
27452
7ea5391a
JM
27453 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27454 (ulimit): Likewise.
27455
eee2bc67
JM
27456 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27457 (settimeofday): Likewise.
27458
abb66a67
MF
274592012-05-08 Mike Frysinger <vapier@gentoo.org>
27460
27461 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27462 a struct th_u2 inside the union, and move tu_block/tu_code into
27463 a new th_u3 union of tu_block/tu_code inside of that. Move
27464 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27465 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27466 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27467 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27468 (th_stuff): Change to th_u1.tu_stuff.
27469 (th_data): Define.
27470 (th_msg): Change to th_u1.th_u2.tu_data.
27471
7f18b530
DM
274722012-05-07 David S. Miller <davem@davemloft.net>
27473
05760585
DM
27474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27475
7f18b530
DM
27476 [BZ #14074]
27477 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27478 (SETUP_PIC_REG): Use it.
27479 (SETUP_PIC_REG_LEAF): Use it.
27480
495fd99f
JM
274812012-05-07 Joseph Myers <joseph@codesourcery.com>
27482
27483 [BZ #13885]
27484 [BZ #13923]
27485 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27486 USE_AS_EXPM1L.
27487 (EXPL_FINITE): Likewise.
27488 (FLDLOG): Likewise.
27489 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27490 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27491 e_expl.S.
27492 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27493 USE_AS_EXPM1L.
27494 (EXPL_FINITE): Likewise.
27495 (FLDLOG): Likewise.
27496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27497 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27498 e_expl.S.
27499 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27500 test of -max_value argument for long double.
27501 * sysdeps/i386/fpu/libm-test-ulps: Update.
27502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27503
6693d694
DM
275042012-05-06 David S. Miller <davem@davemloft.net>
27505
27506 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27507 quad soft-float symbols whose references which are compiler
27508 generated.
27509 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27510
6c23e11c
JM
275112012-05-06 Joseph Myers <joseph@codesourcery.com>
27512
d8b82cad
JM
27513 [BZ #13884]
27514 [BZ #13914]
27515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27516 USE_AS_EXP10L.
27517 (EXPL_FINITE): Likewise.
27518 (FLDLOG): Likewise.
27519 (c0): Likewise.
27520 (c1): Likewise.
27521 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27522 Adjust comments for base varying.
27523 (__expl_finite): Change alias to EXPL_FINITE.
27524 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27525 e_expl.S.
27526 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27527 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27529 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27530 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27531 USE_AS_EXP10L.
27532 (EXPL_FINITE): Likewise.
27533 (FLDLOG): Likewise.
27534 (c0): Likewise.
27535 (c1): Likewise.
27536 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27537 Adjust comments for base varying.
27538 (__expl_finite): Change alias to EXPL_FINITE.
27539 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27540 tests for bugs.
27541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27542
6c23e11c
JM
27543 [BZ #14064]
27544 * math/libm-test.inc (check_float_internal): Correct ulp
27545 calculation for subnormal expected results.
27546
29ba805c
AJ
275472012-05-06 Andreas Jaeger <aj@suse.de>
27548
27549 * Makeconfig (+math-flags): New, set to -frounding-math.
27550 (+cflags): Add +math-flags so that all of glibc gets compiled with
27551 it.
27552
27553 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27554
7b17aeda
JM
275552012-05-05 Joseph Myers <joseph@codesourcery.com>
27556
5779f134
JM
27557 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27558 Disable one test.
27559
41498f4d
JM
27560 [BZ #13787]
27561 [BZ #13922]
27562 [BZ #14036]
27563 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27564 (__ieee754_expl): Allow for and saturate large arguments.
27565 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27566 (u_threshold): Likewise.
27567 (__exp): Call __ieee754_exp before checking for overflow and
27568 underflow.
27569 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27570 (u_threshold): Likewise.
27571 (__expf): Call __ieee754_expf before checking for overflow and
27572 underflow.
27573 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27574 (u_threshold): Likewise.
27575 (__expl): Call __ieee754_expl before checking for overflow and
27576 underflow.
27577 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27578 (__ieee754_expl): Allow for and saturate large arguments.
27579 * math/libm-test.inc (exp_test): Add another test. Do not allow
27580 missing overflow exception on overflow.
27581 (expm1_test): Do not allow missing overflow exception on overflow.
27582
6698b8bf
JM
27583 * sysdeps/i386/fpu/e_expl.c: Move to ...
27584 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27585 rather than using inline asm.
27586 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27587 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27588 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27589
7b17aeda
JM
27590 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27591 (nice): Likewise.
27592 (poll): Likewise.
27593 (signal): Likewise.
27594 (time): Likewise.
27595 (times): Likewise.
27596
f7c85819
JM
275972012-05-04 Joseph Myers <joseph@codesourcery.com>
27598
27599 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27600 sysdeps/unix/common/syscalls.list.
27601 (fchmod): Likewise.
27602 (fchown): Likewise.
27603 (ftruncate): Likewise.
27604 (getrusage): Likewise.
27605 (gettimeofday): Likewise.
27606 (setpgid): Likewise.
27607 (setregid): Likewise.
27608 (setreuid): Likewise.
27609 (sigaction): Likewise.
27610 (truncate): Likewise.
27611 (vhangup): Likewise.
27612 * sysdeps/unix/common/syscalls.list: Remove file.
27613 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27614 * sysdeps/unix/sysv/linux/Implies: Likewise.
27615
336270d0
L
276162012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27617
27618 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27620 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27621 Moved to ...
27622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27623 Here.
27624 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27625 to ...
27626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27627 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27628 to ...
27629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27630 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27631 to ...
27632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27633 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27634 to ...
27635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27636 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27637 to ...
27638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27639 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27640 to ...
27641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27642 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27643 to ...
27644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27645 Here.
27646 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27647 to ...
27648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27649 Here.
27650 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27651 to ...
27652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27653 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27654 Moved to ...
27655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27656 Here.
27657 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27658 to ...
27659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27660
d128e450
JM
276612012-05-04 Joseph Myers <joseph@codesourcery.com>
27662
fa8ee516
JM
27663 * sysdeps/unix/common/bits/dirent.h: Remove file.
27664 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27665
d128e450
JM
27666 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27667 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27668 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27669 * sysdeps/unix/bsd/isatty.c: Likewise.
27670 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27671 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27672 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27673
ff8faaf0 276742012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27675
62881be4 27676 [BZ #13563]
31dc8730
AZ
27677 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27678 long double comparison inaccuracies.
27679 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27681
6fef930c
AS
276822012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27683
27684 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27685 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27686
8f203e6c
JM
276872012-05-04 Joseph Myers <joseph@codesourcery.com>
27688
27689 [BZ #14049]
27690 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27691 nonzero digits before rounding a hex value.
27692 * stdlib/tst-strtod.c (tests): Add another test.
27693
5197d9c2
AK
276942012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27695
27696 * sysdeps/s390/fpu/libm-test-ulps: Update.
27697
f0c1dedf
AJ
276982012-05-03 Andreas Jaeger <aj@suse.de>
27699
27700 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27701 does not get optimized out.
27702 (malloc_opt_barrier): New.
27703
a65ef2ae 277042012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27705 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27706
2b942cb7 27707 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27708 intermediate file deletion.
2b942cb7 27709 (generated): Add .symlist files.
a65ef2ae 27710
54b71e02
JM
277112012-05-03 Joseph Myers <joseph@codesourcery.com>
27712
27713 [BZ #13775]
27714 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27715 Redirect under this condition.
27716 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27717 [__USE_GNU] (__dprintf_chk): Not under this condition.
27718 [__USE_GNU] (__vdprintf_chk): Likewise.
27719 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27720 under this condition.
27721 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27722 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27723 [__USE_XOPEN2K8] (vdprintf): Likewise.
27724 [__USE_GNU] (__dprintf_chk): Not under this condition.
27725 [__USE_GNU] (__vdprintf_chk): Likewise.
27726 [__USE_GNU] (dprintf): Likewise.
27727 [__USE_GNU] (vdprintf): Likewise.
27728
d3dfcc41
RM
277292012-05-03 Roland McGrath <roland@hack.frob.com>
27730
27731 * elf/Makefile (common-generated): Set this instead of generated for
27732 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27733 $(all-built-dso)-derived lists.
27734
7ac30cc5
AJ
277352012-05-03 Andreas Jaeger <aj@suse.de>
27736
0c51e550
AJ
27737 * sysdeps/i386/fpu/libm-test-ulps: Update.
27738
7ac30cc5
AJ
27739 * FAQ: Removed.
27740 * FAQ.in: Likewise.
27741 * scripts/gen-FAQ.pl: Likewise.
27742 * manual/install.texi (Installation): Point to online location of
27743 FAQ.
27744 * Makefile (files-for-dist): Remove FAQ.
27745 (FAQ): Remove.
27746
d4c2917f
AM
277472012-05-02 Allan McRae <allan@archlinux.org>
27748
27749 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27750 (LDFLAGS-reldepmod5.so): Likewise.
27751 (LDFLAGS-reldep6mod1.so): Likewise.
27752 (LDFLAGS-reldep6mod4.so): Likewise.
27753 (LDFLAGS-reldep8mod3.so): Likewise.
27754 (LDFLAGS-unload4mod1.so): Likewise.
27755 (LDFLAGS-unload4mod2.so): Likewise.
27756 (LDFLAGS-tst-initorder): Likewise.
27757 (LDFLAGS-tst-initordera2.so): Likewise.
27758 (LDFLAGS-tst-initordera3.so): Likewise.
27759 (LDFLAGS-tst-initordera4.so): Likewise.
27760 (LDFLAGS-tst-initorderb2.so): Likewise.
27761 (LDFLAGS-noload): Likewise.
27762 (LDFLAGS-next): Likewise.
27763 (LDFLAGS-order2mod1.so): Likewise.
27764 (LDFLAGS-order2mod2.so): Likewise.
27765 (LDFLAGS-tst-initorder2): Likewise.
27766 (LDFLAGS-tst-initorder2a.so): Likewise.
27767 (LDFLAGS-tst-initorder2b.so): Likewise.
27768 (LDFLAGS-tst-initorder2c.so): Likewise.
27769 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27770
d77f993f
DM
277712012-05-02 David S. Miller <davem@davemloft.net>
27772
27773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27774
171a70b4
PP
277752012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27776
27777 [BZ #14055]
27778 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27779
0be196ad
AJ
277802012-05-02 Andreas Jaeger <aj@suse.de>
27781
27782 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27783 since we manipulate rounding mode.
27784 (CPPFLAGS-test-idouble.c): Likewise.
27785 (CPPFLAGS-test-ifloat.c): Likewise.
27786 (CFLAGS-test-ldouble.c): Likewise.
27787 (CFLAGS-test-double.c): Likewise.
27788 (CFLAGS-test-float.c): Likewise.
27789 (CFLAGS-test-misc.c): Likewise.
27790 (CFLAGS-test-test-fenv.c): Likewise.
27791
4f9d04aa
AZ
277922012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27793
2b942cb7
RM
27794 [BZ #2550]
27795 [BZ #2570]
27796 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27797 comparisons to determine direction to adjust input.
4f9d04aa 27798
82a79e7d
RM
277992012-05-01 Roland McGrath <roland@hack.frob.com>
27800
f5a01ca9
RM
27801 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27802 output to the target.
27803
90fe4186
RM
27804 * scripts/localplt.awk: New file.
27805 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27806 (check-localplt-CFLAGS): Variable removed.
27807 ($(all-built-dso:=.jmprel)): New static pattern rule.
27808 (generated): Add those targets.
27809 (localplt-built-dso): New variable.
27810 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27811
27812 * elf/check-localplt.c: File removed.
27813
82397ed6
RM
27814 * scripts/check-execstack.awk: New file.
27815 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27816 (check-execstack-CFLAGS): Variable removed.
27817 ($(objpfx)check-execstack.h): Target removed.
27818 ($(objpfx)execstack-default): New target.
27819 (generated): Add that instead of check-execstack.h.
27820 ($(all-built-dso:=.phdr)): New static pattern rule.
27821 (generated): Add those targets.
27822 * elf/check-execstack.c: File removed.
27823
82a79e7d
RM
27824 * scripts/check-textrel.awk: New file.
27825 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27826 (check-textrel-CFLAGS): Variable removed.
27827 (all-built-dso): Use := to define.o
27828 ($(all-built-dso:=.dyn)): New static pattern rule.
27829 (generated): Add those targets.
27830 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27831 * config.make.in (READELF): New substituted variable.
27832 * elf/check-textrel.c: File removed.
27833
62fde54f 278342012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27835
615605c9
JM
27836 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27837 allow.
27838 * conform/data/ctype.h-data [C99-based standards] (isblank):
27839 Expect function.
27840 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27841 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27843 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27844 Specify type. Require positive value.
27845 (EILSEQ): Likewise.
27846 (ERANGE): Likewise.
27847 [ISO || POSIX] (EILSEQ): Do not expect.
27848 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27849 Specify type. Require positive value.
27850 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27851 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27852 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27853 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27854 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27855 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27856 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27857 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27858 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27859 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27860 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27861 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27862 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27863 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27864 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27865 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27866 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27867 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27868 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27869 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27870 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27871 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27872 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27873 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27874 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27875 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27876 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27877 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27878 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27879 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27880 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27881 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27882 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27883 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27884 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27885 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27886 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27887 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27888 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27889 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27890 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27891 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27892 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27893 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27894 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27895 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27896 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27897 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27898 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27899 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27900 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27901 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27902 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27903 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27904 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27905 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27906 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27907 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27908 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27909 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27910 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27911 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27912 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27913 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27914 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27915 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27916 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27917 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27918 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27919 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27920 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27921 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27922 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27923 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27924 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27925 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27926 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27927 Require >= 2.
27928 (FLT_ROUNDS): Expect as macro, not constant.
27929 (FLT_MANT_DIG): Use macro-int-constant.
27930 (DBL_MANT_DIG): Likewise.
27931 (LDBL_MANT_DIG): Likewise.
27932 (FLT_DIG): Likewise.
27933 (DBL_DIG): Likewise.
27934 (LDBL_DIG): Likewise.
27935 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27936 (DBL_MIN_EXP): Likewise.
27937 (LDBL_MIN_EXP): Likewise.
27938 (FLT_MAX_EXP): Use macro-int-constant.
27939 (DBL_MAX_EXP): Likewise.
27940 (LDBL_MAX_EXP): Likewise.
27941 (FLT_MAX_10_EXP): Likewise.
27942 (DBL_MAX_10_EXP): Likewise.
27943 (LDBL_MAX_10_EXP): Likewise.
27944 (FLT_MAX): Use macro-constant.
27945 (DBL_MAX): Likewise.
27946 (LDBL_MAX): Likewise.
27947 (FLT_EPSILON): Use macro-constant. Give upper bound.
27948 (DBL_EPSILON): Likewise.
27949 (LDBL_EPSILON): Likewise.
27950 (FLT_MIN): Likewise.
27951 (DBL_MIN): Likewise.
27952 (LDBL_MIN): Likewise.
27953 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27954 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27955 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27956 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27957 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27958 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27959 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27960 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27961 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27962 [ISO11] (FLT_TRUE_MIN): Likewise.
27963 [ISO11] (LDBL_TRUE_MIN): Likewise.
27964 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27965 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27966 (SCHAR_MIN): Use macro-int-constant. Specify type.
27967 (SCHAR_MAX): Likewise.
27968 (UCHAR_MAX): Likewise.
27969 (CHAR_MIN): Likewise.
27970 (CHAR_MAX): Likewise.
27971 (MB_LEN_MAX): Use macro-int-constant.
27972 (SHRT_MIN): Use macro-int-constant. Specify type.
27973 (SHRT_MAX): Likewise.
27974 (USHRT_MAX): Likewise.
27975 (INT_MAX): Likewise.
27976 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27977 bound negative.
27978 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27979 bound with "U".
27980 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27981 bound with "L".
27982 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27983 bound negative. Suffix upper bound with "L".
27984 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27985 bound with "UL".
27986 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27987 Specify type.
27988 [C99-based standards] (LLONG_MAX): Likewise.
27989 [C99-based standards] (ULLONG_MAX): Likewise.
27990 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27991 == 0.
27992 [ISO11] (max_align_t): Require type.
27993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27994
c9140a62
JM
27995 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27996 from $CFLAGS, without defining away __attribute__ calls.
27997 (checknamespace): Use $CFLAGS_namespace.
27998
9af0bf29
JM
27999 * conform/conformtest.pl (@keywords): Only include C99 keywords
28000 for standards based on C99 or C11.
28001
343222a2
JM
28002 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
28003 Disable tests.
28004 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
28005 UNIX98]: Likewise.
28006
661f8cf0
JM
28007 * conform/conformtest.pl: Handle "macro-int-constant" and test for
28008 usability of symbols in #if.
28009
ee74b9cb
JM
28010 * conform/conformtest.pl: If macro or constant types start
28011 "promoted:", expect the symbol to be of the following type
28012 promoted by the integer promotions.
62fde54f 28013
aafc49b3
JM
28014 * conform/conformtest.pl: Parse all "constant" and "macro" lines
28015 in one place. Also handle "macro-constant".
28016
fefdf574
JM
28017 * conform/conformtest.pl: Only accept expected macro values with
28018 "==". Parse all "macro" lines in one place.
28019 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
28020
f2d922fe
JM
28021 * conform/conformtest.pl: Handle braced types on "constant" lines
28022 instead of handling "typed-constant".
28023 * conform/data/signal.h-data: Use "constant" instead of
28024 "typed-constant".
28025
d22956c9
JM
28026 * conform/conformtest.pl: Handle "optional-" at start of lines in
28027 one place rather than duplicating several cases. Handle each
28028 format of "macro" line with initial "optional-".
28029
028e2e38
JM
28030 * conform/conformtest.pl: Only accept expected constant or
28031 optional-constant values with "==". Parse all "constant" lines in
28032 one place. Parse all "optional-constant" lines in one place.
28033 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
28034 * conform/data/fmtmsg.h-data: Likewise.
28035 * conform/data/netinet/in.h-data: Likewise.
28036 * conform/data/tar.h-data: Likewise.
28037 * conform/data/limits.h-data: Use "==" form on "constant" and
28038 "optional-constant" lines.
28039
1b8f2850
JM
28040 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
28041 Use -std=c99 for XOPEN2K.
28042 (@knownproblems): Remove.
28043 (newtoken): Don't check %isknown.
28044
a05a144b
JM
28045 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
28046 Do not expect macro.
28047 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
28048 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
28049 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
28050 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
28051 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
28052 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
28053 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
28054 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
28055 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
28056 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
28057 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
28058 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
28059 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
28060 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
28061 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
28062 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
28063 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
28064 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
28065 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
28066 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
28067 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
28068 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
28069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
28070 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
28071 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
28072 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
28073 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
28074 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
28075 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
28076 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
28077 [XPG3] (acosh): Likewise.
28078 [XPG3] (asinh): Likewise.
28079 [XPG3] (atanh): Likewise.
28080 [XPG3] (cbrt): Likewise.
28081 [XPG3] (expm1): Likewise.
28082 [XPG3] (ilogb): Likewise.
28083 [XPG3] (log1p): Likewise.
28084 [XPG3] (logb): Likewise.
28085 [XPG3] (nextafter): Likewise.
28086 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
28087 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
28088 [XPG3] (remainder): Likewise.
28089 [XPG3] (rint): Likewise.
28090 [XPG3 || XPG4 || UNIX98] (round): Likewise.
28091 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
28092 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
28093 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
28094 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
28095 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
28096 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
28097 [UNIX98 || XOPEN2K] (scalb): Expect.
28098 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
28099 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
28100 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
28101 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
28102 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
28103 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
28104 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
28105 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
28106 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
28107 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
28108 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
28109 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
28110 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
28111 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
28112 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
28113 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
28114 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
28115 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
28116 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
28117 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
28118 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
28119 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
28120 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
28121 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
28122 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
28123 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
28124 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
28125 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
28126 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
28127 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
28128 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
28129 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
28130 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
28131 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
28132 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
28133 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
28134 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
28135 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
28136 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
28137 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
28138 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28139 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28140 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28141 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28142 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28143 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28144 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28145 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28146 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28147 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28148 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28149 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28150 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28151 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28152 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28153 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28154 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28155 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28156 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28157 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28158 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28159 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28160 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28161 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28162 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28163 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28164 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28165 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28166 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28167 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28168 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28169 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28170 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28171 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28172 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28173 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28174 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28175 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28176 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28177 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28178 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28179 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28180 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28181 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28182 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28183 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28184 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28185 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28186 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28187 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28188 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28189 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28190 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28191 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28192 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28193 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28194 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28195 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28196 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28197 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28198 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28199 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28200 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28201 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28202 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28203 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28204 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28205 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28206 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28207 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28208 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28209 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28210 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28211 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28212 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28213 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28214 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28215 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28216 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28217 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28218 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28219 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28220 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28221 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28222 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28223 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28224 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28225 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28226 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28227 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28228 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28229 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28230 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28231 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28232 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28233 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28234 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28235
73c5ebe3
JM
28236 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28237 _XOPEN_SOURCE_EXTENDED for XPG4.
28238
39c33b6c
JM
28239 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28240
62fde54f
JM
28241 * Makeconfig (localtime): Remove variable.
28242 (inst_localtime-file): Likewise.
28243
0741d64c
AS
282442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28245
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28247 Update.
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28249 Update.
28250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28251 Update.
28252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28253 Update.
28254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28255 Update.
28256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28257 Update.
28258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28259 Update.
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28261 Update.
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28263 Update.
28264
7cb029ee
JM
282652012-05-01 Joseph Myers <joseph@codesourcery.com>
28266
28267 [BZ #2550]
28268 [BZ #2570]
28269 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28270 comparisons to determine direction to adjust input.
28271 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28272 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28274 Likewise.
28275 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28276 Likewise.
28277 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28278 Likewise.
28279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28281 Likewise.
28282 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28283 Likewise.
28284 * math/libm-test.inc (nexttoward_test): Add more tests.
28285
412bd966
AS
282862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28287
28288 [BZ #14040]
28289 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28290 in version GLIBC_2.1, not GLIBC_2.0.
28291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28292 Likewise.
28293
9568c0c2
JM
282942012-04-30 Joseph Myers <joseph@codesourcery.com>
28295
adfbc8ac
JM
28296 [BZ #13942]
28297 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28298 (1 - x) * (1 + x).
28299 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28300 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28301 * math/libm-test.inc (acos_test): Add more tests.
28302 (asin_test): Likewise.
28303 * sysdeps/i386/fpu/libm-test-ulps: Update.
28304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28305
5ba3cc69
JM
28306 [BZ #14034]
28307 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28308 of square root.
28309 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28310 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28311 * math/libm-test.inc (acos_test_tonearest): New function.
28312 (acos_test_towardzero): Likewise.
28313 (acos_test_downward): Likewise.
28314 (acos_test_upward): Likewise.
28315 (asin_test_tonearest): Likewise.
28316 (asin_test_towardzero): Likewise.
28317 (asin_test_downward): Likewise.
28318 (asin_test_upward): Likewise.
28319 (main): Call the new functions.
28320 * sysdeps/i386/fpu/libm-test-ulps: Update.
28321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28322
9568c0c2
JM
28323 [BZ #13884]
28324 [BZ #13924]
28325 * math/e_exp10.c: Include <float.h>.
28326 (__ieee754_exp10): Handle underflow here rather than multiplying
28327 large negative argument by M_LN10.
28328 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28329 of __ieee754_expf.
28330 * math/e_exp10l.c: Include <float.h>.
28331 (__ieee754_exp10l): Handle underflow here rather than multiplying
28332 large negative argument by M_LN10l.
28333 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28334 spurious overflow exception on underflow.
28335
5ac3ea17
MP
283362012-04-29 Marek Polacek <polacek@redhat.com>
28337
28338 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28339 (__fortify_function): New macro.
28340 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28341 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28342 __extern_always_inline.
28343 * libio/bits/stdio2.h: Likewise.
28344 * libio/bits/stdio.h: Likewise.
28345 * string/string.h: Likewise.
28346 * string/bits/string3.h: Likewise.
28347 * include/stdio.h: Likewise.
28348 * stdlib/bits/stdlib.h: Likewise.
28349 * stdlib/stdlib.h: Likewise.
28350 * rt/bits/mqueue2.h: Likewise.
28351 * rt/mqueue.h: Likewise.
28352 * posix/bits/unistd.h: Likewise.
28353 * posix/unistd.h: Likewise.
28354 * io/bits/poll2.h: Likewise.
28355 * io/bits/fcntl2.h: Likewise.
28356 * io/fcntl.h: Likewise.
28357 * io/sys/poll.h: Likewise.
28358 * misc/bits/syslog.h: Likewise.
28359 * misc/bits/syslog-ldbl.h: Likewise.
28360 * misc/sys/syslog.h: Likewise.
28361 * socket/bits/socket2.h: Likewise.
28362 * socket/sys/socket.h: Likewise.
28363 * debug/tst-chk1.c: Likewise.
28364 * wcsmbs/bits/wchar2.h: Likewise.
28365 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28366 * wcsmbs/wchar.h: Likewise.
28367
ecf0ebfb
AJ
283682012-04-29 Andreas Jaeger <aj@suse.de>
28369
28370 * Makerules (tests): Remove enable-check-abi protection.
28371 (check-abi-warn): Remove.
28372 (check-abi-%): Remove check-abi-warn usage.
28373
28374 * configure.in: Remove check-abi configure option.
28375 * configure: Regenerated.
28376 * config.make.in (enable-check-abi): Remove.
28377
6d5c57fa
AS
283782012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28379
24c5d07e 28380 [BZ #14033]
ded5180a
AS
28381 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28382 double functions to double *_finite functions.
28383
7e0d315d
AS
28384 [BZ #13941]
28385 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28386 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28387 LDBL_MIN_EXP.
28388 * stdio-common/Makefile (tests): Add tst-sprintf3.
28389 * stdio-common/tst-sprintf3.c: New file.
28390
6d5c57fa
AS
28391 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28392 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28393
0749ff8b
JM
283942012-04-28 Joseph Myers <joseph@codesourcery.com>
28395
28396 * conform/conformtest.pl: Remove duplicate typed-constant
28397 handling.
28398
8dbd5d7b
DM
283992012-04-28 David S. Miller <davem@davemloft.net>
28400
28401 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28402 (check-abi-%): Remove AWK script prerequisite and explicit
28403 abilist directory.
28404 (check-abi): Rewrite to just diff the symlist with the abilist.
28405 (config-tls, config-abi-config): Delete, no longer used.
28406 (update-abi-%): Remove AWK script and explicit abilist directory.
28407 (update-abi): Rewrite to simply compare and conditionally copy the
28408 symlist and the sysdep abilist file. Remove update-abi-config
28409 checks.
28410 * abilist/ld.abilist: Remove.
28411 * abilist/libBrokenLocale.abilist: Remove.
28412 * abilist/libanl.abilist: Remove.
28413 * abilist/libcrypt.abilist: Remove.
28414 * abilist/libdl.abilist: Remove.
28415 * abilist/librt.abilist: Remove.
28416 * abilist/libthread_db.abilist: Remove.
28417 * abilist/libutil.abilist: Remove.
28418 * scripts/extract-abilist.awk: Remove.
28419 * scripts/merge-abilist.awk: Remove.
28420 * sysdeps/generic/libcidn.abilist: New file.
28421 * sysdeps/generic/libnss_compat.abilist: New file.
28422 * sysdeps/generic/libnss_db.abilist: New file.
28423 * sysdeps/generic/libnss_dns.abilist: New file.
28424 * sysdeps/generic/libnss_files.abilist: New file.
28425 * sysdeps/generic/libnss_hesiod.abilist: New file.
28426 * sysdeps/generic/libnss_nis.abilist: New file.
28427 * sysdeps/generic/libnss_nisplus.abilist: New file.
28428 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28429 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28430 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28431 file.
28432 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28433 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28434 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28435 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28436 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28437 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28438 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28439 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28440 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28441 file.
28442 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28443 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28444 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28445 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28446 file.
28447 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28448 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28449 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28450 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28451 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28452 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28453 file.
28454 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28455 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28456 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28457 file.
28458 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28460 New file.
28461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28462 New file.
28463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28464 New file.
28465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28466 New file.
28467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28468 New file.
28469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28470 New file.
28471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28472 New file.
28473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28474 New file.
28475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28476 New file.
28477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28478 New file.
28479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28480 New file.
28481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28482 New file.
28483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28484 New file.
28485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28486 file.
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28488 New file.
28489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28490 New file.
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28492 file.
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28494 New file.
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28496 New file.
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28498 file.
28499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28500 New file.
28501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28502 New file.
28503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28504 New file.
28505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28506 New file.
28507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28508 New file.
28509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28510 New file.
28511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28513 file.
28514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28515 New file.
28516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28517 file.
28518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28519 file.
28520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28521 file.
28522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28523 file.
28524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28525 file.
28526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28527 New file.
28528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28529 file.
28530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28531 file.
28532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28533 New file.
28534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28535 file.
28536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28538 file.
28539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28540 New file.
28541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28542 file.
28543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28544 file.
28545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28546 file.
28547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28548 file.
28549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28550 file.
28551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28552 New file.
28553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28554 file.
28555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28556 file.
28557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28558 New file.
28559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28560 file.
28561 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28562 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28563 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28564 file.
28565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28566 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28567 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28568 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28569 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28570 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28571 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28572 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28573 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28574 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28577 file.
28578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28579 New file.
28580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28581 file.
28582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28583 file.
28584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28585 file.
28586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28587 file.
28588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28589 file.
28590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28591 New file.
28592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28593 New file.
28594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28595 file.
28596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28597 New file.
28598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28599 file.
28600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28602 file.
28603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28604 New file.
28605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28606 file.
28607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28608 file.
28609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28610 file.
28611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28612 file.
28613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28614 file.
28615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28616 New file.
28617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28618 New file.
28619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28620 file.
28621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28622 New file.
28623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28624 file.
28625
41d73a1b
JM
286262012-04-28 Joseph Myers <joseph@codesourcery.com>
28627
28628 * conform/conformtest.pl: Fix typo in handling typed-constant from
28629 allow-header.
28630
28aeeda4
JM
286312012-04-27 Joseph Myers <joseph@codesourcery.com>
28632
adae8f5e
JM
28633 * README: Cut down references to pre-2.6 Linux kernels and
28634 Linuxthreads. Update lists of configurations in libc and ports
28635 and sort alphabetically. Say "or newer" with Linux kernel version
28636 requirements.
28637
28aeeda4
JM
28638 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28639
a462cb63
RA
286402012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28641
28642 [BZ #887]
28643 * math/libm-test.inc (logb_test_downward): New test to expose
28644 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28645 rounding mode.
28646
6ad3493e
JM
286472012-04-27 Joseph Myers <joseph@codesourcery.com>
28648
28649 [BZ #14027]
28650 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28651 to be done.
28652 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28653 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28654
2ce4f015
JM
286552012-04-26 Joseph Myers <joseph@codesourcery.com>
28656
5aeb141a
JM
28657 * sysdeps/unix/i386/brk.S: Remove file.
28658 * sysdeps/unix/i386/dl-brk.S: Likewise.
28659 * sysdeps/unix/i386/pipe.S: Likewise.
28660 * sysdeps/unix/i386/sigreturn.S: Likewise.
28661 * sysdeps/unix/i386/syscall.S: Likewise.
28662 * sysdeps/unix/i386/vfork.S: Likewise.
28663 * sysdeps/unix/i386/wait.S: Likewise.
28664
7143acae
JM
28665 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28666 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28667
2ce4f015
JM
28668 * configure.in (arm*-none*): Do not allow without
28669 --enable-hacker-mode.
28670 (netbsd*): Remove case setting base_os.
28671 (386bsd*): Likewise.
28672 (freebsd*): Likewise.
28673 (bsdi*): Likewise.
28674 (osf*): Likewise.
28675 (sunos*): Likewise.
28676 (ultrix*): Likewise.
28677 (newsos*): Likewise.
28678 (dynix*): Likewise.
28679 (*bsd*): Likewise.
28680 (sysv*): Likewise.
28681 (isc*): Likewise.
28682 (esix*): Likewise.
28683 (sco*): Likewise.
28684 (minix*): Likewise.
28685 (irix4*): Likewise.
28686 (irix6*): Likewise.
28687 (solaris[2-9]*): Likewise.
28688 (none): Likewise.
28689 * configure: Regenerated.
28690
0ac229c8
AZ
286912012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28692
28693 [BZ #11521]
28694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28695 overflow or cancellation in calculating denominator.
28696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28697 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28698 down expression to avoid unexpected rounding in newer GCCs.
28699 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28700
33f244f4
DM
287012012-04-26 David S. Miller <davem@davemloft.net>
28702
28703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28704 long-double compat symbols.
28705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28718
cfa1f3e8
DM
287192012-04-25 David S. Miller <davem@davemloft.net>
28720
28721 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28722 HWCAP_* values only after the memory barriers have been defined.
28723 (atomic_full_barrier): Define.
28724 (atomic_read_barrier): Define.
28725 (atomic_write_barrier): Define.
28726
6e236b92
SP
287272012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28728
28729 * shlib-versions: Add libgcc_s version information.
28730 * sysdeps/generic/libgcc_s.h: Remove.
28731 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28732 libgcc_s.h.
28733 * sysdeps/gnu/unwind-resume.c: Likewise.
28734 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28735
aab39a09
DM
287362012-04-25 David S. Miller <davem@davemloft.net>
28737
28738 * sysdeps/unix/sparc/brk.S: Delete.
28739 * sysdeps/unix/sparc/dl-brk.S: Delete.
28740 * sysdeps/unix/sparc/pipe.S: Delete.
28741 * sysdeps/unix/sparc/sysdep.S: Delete.
28742 * sysdeps/unix/sparc/sysdep.h: Delete.
28743 * sysdeps/unix/sparc/vfork.S: Delete.
28744 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28745 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28747 ret_ERRVAL, r0, r1, MOVE): Define.
28748 (JUMPTARGET): Remove.
28749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28750 sysdeps/unix/sparc/sysdep.h
28751 (ENTRY, END): Remove.
28752 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28753
a3cc4f48
JM
287542012-04-25 Joseph Myers <joseph@codesourcery.com>
28755
2ed8cda2
JM
28756 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28757 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28758 -DIS_IN_build.
28759
35d76d59
JM
28760 * timezone/README: Update upstream location and email address for
28761 tzcode and tzdata.
28762 * timezone/zdump.c: Update from tzcode 2012b.
28763 * timezone/zic.c: Likewise.
28764
a3cc4f48
JM
28765 * configure.in (libc_cv_as_needed): Remove test.
28766 * configure: Regenerated.
28767 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28768 conditional definition.
28769 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28770 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28771 * config.make.in (have-as-needed): Remove variable.
28772
ceab42c3
SP
287732012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28774 Paul Pluzhnikov <ppluzhnikov@google.com>
28775
28776 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28777 strings correctly.
28778
3ce2865f
CLT
287792012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28780
28781 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28782 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28783 * sysdeps/sh/strlen.S: Likewise.
28784
f37e0d68
JM
287852012-04-24 Joseph Myers <joseph@codesourcery.com>
28786
ae186e9a
JM
28787 * sysdeps/unix/fork.S: Remove file.
28788 * sysdeps/unix/i386/fork.S: Likewise.
28789 * sysdeps/unix/sparc/fork.S: Likewise.
28790
b96914af
JM
28791 * sysdeps/unix/system.c: Remove file.
28792 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28793
f37e0d68
JM
28794 * sysdeps/unix/getegid.S: Remove file.
28795 * sysdeps/unix/geteuid.S: Likewise.
28796
87ef29ca
RM
287972012-04-24 Roland McGrath <roland@hack.frob.com>
28798
83bcd236
RM
28799 * scripts/check-localplt.awk: New file.
28800 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28801 of diff.
28802 * scripts/data/localplt-generic.data: Add a comment.
28803
87ef29ca
RM
28804 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28805 NODE when __dir_mkfile failed.
28806 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28807 Reported by Ludovic Courtès <ludo@gnu.org>.
28808
e5a6e567
AJ
288092012-04-24 Andreas Jaeger <aj@suse.de>
28810
28811 * Makerules (common-clean): Also remove gen-as-const-headers
28812 files.
28813
c1820385
JM
288142012-04-24 Joseph Myers <joseph@codesourcery.com>
28815
28816 * Makerules (native-compile): Do not change working directory for
28817 build. Use $(OUTPUT_OPTION) in command.
28818 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28819
94e02fc4
AZ
288202012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28821
28822 [BZ #13886]
28823 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28824 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28825 * math/libm-test.inc (floor_test): Add more tests.
28826 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28827
3a533ca3
JM
288282012-04-24 Joseph Myers <joseph@codesourcery.com>
28829
940ab4b3
JM
28830 * sysdeps/unix/getdents.c: Remove file.
28831 * sysdeps/unix/sysv/getdents.c: Likewise.
28832 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28833
90e037bd
JM
28834 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28835 sysdeps/unix/mman/syscalls.list.
28836 (mmap): Likewise.
28837 (mprotect): Likewise.
28838 (msync): Likewise.
28839 (munmap): Likewise.
28840 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28841 * sysdeps/unix/mman/syscalls.list: Remove.
28842 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28843
3a533ca3
JM
28844 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28845 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28846 * configure: Regenerated.
28847 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28848 $(libgcc_s_suffix).
28849 * config.make.in (libgcc_s_suffix): Remove variable.
28850
1ad743de
JM
288512012-04-23 Joseph Myers <joseph@codesourcery.com>
28852
4ad451e2
JM
28853 * sysdeps/unix/sysv/gethostname.c: Move to ...
28854 * sysdeps/posix/gethostname.c: ... here.
28855
5e37ce39
JM
28856 * sysdeps/unix/execve.S: Remove file.
28857
1ad743de
JM
28858 * sysdeps/unix/_exit.S: Remove file.
28859
4e681b5b
AJ
288602012-04-23 Andreas Jaeger <aj@suse.de>
28861
28862 [BZ #13739]
28863 * manual/Makefile: Remove make dist support, there's no
28864 need for a stand-alone documentation tar ball.
28865 (TEXI2DVI): Define always, it's not in Makeconfig.
28866 (dist): Removed.
28867 (tar-it): Removed.
28868 (edition): Removed.
28869 (glibc-doc-$(edition).tar): Removed
28870 (%.Z): Removed.
28871 (%.gz): Removed.
28872 (%.uu): Removed.
28873 (ETAGS): Remove, it's in Makeconfig.
28874 (move-if-change): Remove, it's in Makeconfig.
28875
38686a03 288762012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28877
28878 [BZ #13970]
28879 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28880 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28881 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28882 (strtod_l, strtof_l, strtold_l): Remove __wur.
28883 It is not necessarily an error to ignore strtol's return value.
28884 One can reliably look at the stored endptr to decide whether
28885 the number had valid syntax.
28886
7c0616fa
AJ
288872012-04-21 Andreas Jaeger <aj@suse.de>
28888
803cb6b7 28889 [BZ #13739]
7c0616fa
AJ
28890 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28891
b0fe253f
JM
288922012-04-21 Joseph Myers <joseph@codesourcery.com>
28893
28894 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28895 * sysdeps/unix/sysv/Versions: Remove file.
28896
8280f22d
MT
288972012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28898
28899 [BZ #13927]
28900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28901
75ce411f 289022012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28903
28904 [BZ #7064]
28905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28906 version from __vm86.
28907
097d59fa
JM
289082012-04-20 Joseph Myers <joseph@codesourcery.com>
28909
a90f3bcb
JM
28910 * sysdeps/unix/common/lxstat.c: Remove file.
28911 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28912
edc7ea78
JM
28913 * sysdeps/unix/sysv/Makefile: Remove file.
28914
cb78c221
JM
28915 * sysdeps/unix/sysv/direct.h: Remove file.
28916
efa6a45f
JM
28917 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28918 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28919 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28920 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28921 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28922 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28923 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28924
9c9f2d0c
JM
28925 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28926
4541c83b
JM
28927 * sysdeps/unix/xmknod.c: Remove file.
28928 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28929
f5d153a0
JM
28930 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28931
aa746595
JM
28932 * sysdeps/unix/sysv/i386/time.S: Remove file.
28933
cce5905e
JM
28934 * sysdeps/unix/fxstat.c: Remove file.
28935 * sysdeps/unix/xstat.c: Likewise.
28936 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28937
37fa3841
JM
28938 * sysdeps/unix/sysv/sigaction.c: Remove file.
28939
ff1962a3
JM
28940 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28941 (sysdep_headers): Remove variable.
28942 [termio.h not in sysdep_headers] (generated): Likewise.
28943 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28944 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28945 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28946 * sysdeps/unix/sysv/tcflow.c: Likewise.
28947 * sysdeps/unix/sysv/tcflush.c: Likewise.
28948 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28949 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28950 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28951 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28952 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28953
e7740d31
JM
28954 * sysdeps/unix/siglist.c: Remove file.
28955
ee06f18b
JM
28956 * sysdeps/unix/getppid.S: Remove file.
28957
097d59fa
JM
28958 * sysdeps/unix/mkdir.c: Remove file.
28959 * sysdeps/unix/rmdir.c: Likewise.
28960
ff3d51ec
AS
289612012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28962
28963 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28964 ERR_MAX value.
28965 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28966 errlist-compat value.
28967
50f81fd7
DM
289682012-04-18 David S. Miller <davem@davemloft.net>
28969
28970 * sysdeps/generic/memcopy.h (reg_char): Delete.
28971 * debug/strcat_chk.c: Use char, not reg_char.
28972 * debug/strcpy_chk.c: Likewise.
28973 * debug/strncat_chk.c: Likewise.
28974 * debug/strncpy_chk.c: Likewise.
28975 * string/memchr.c: Likewise.
28976 * string/memrchr.c: Likewise.
28977 * string/rawmemchr.c: Likewise.
28978 * string/strcat.c: Likewise.
28979 * string/strchr.c: Likewise.
28980 * string/strchrnul.c: Likewise.
28981 * string/strcmp.c: Likewise.
28982 * string/strcpy.c: Likewise.
28983 * string/strncat.c: Likewise.
28984 * string/strncmp.c: Likewise.
28985 * string/strncpy.c: Likewise.
28986
8ff41c46
WS
289872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28988
28989 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28990 __builtin_memcopy is called when src and dest ranges are known to not
28991 overlap.
28992
6b652f46
WS
289932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28994
28995 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28996 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28997 fwd_align_merge macro call.
28998 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28999 bwd_align_merge macro call.
29000 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29001
b282631e
WS
290022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
29003
29004 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
29005 bwd_align_merge macros.
29006 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
29007 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
29008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29009
95aa737c
DM
290102012-04-18 David S. Miller <davem@davemloft.net>
29011
29012 * sysdeps/sparc/sparc64/memcopy.h: Delete.
29013
7a99a614
AJ
290142012-04-18 Andreas Jaeger <aj@suse.de>
29015
29016 [BZ# 6794]
29017 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
29018 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
29019 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29020
29021 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
29022 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
29023 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29024
29025 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
29026 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
29027 Adjust for changed ldbl-128 files.
29028
29029 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
29030 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
29031 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29032
e5270c23
DM
290332012-04-17 David S. Miller <davem@davemloft.net>
29034
29035 * sysdeps/sparc/sparc32/memcopy.h: Delete.
29036
fb5e92c9
AS
290372012-04-17 Andreas Schwab <schwab@linux-m68k.org>
29038
29039 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
29040 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
29041 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
29042 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
29043 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29044 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
29045
76da7265
AZ
290462012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29047
29048 [BZ #6794]
29049 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
29050 * math/libm-test.inc: Add ilogb errno and exception tests.
29051 * math/w_ilogb.c: New file: ilogb wrapper.
29052 * math/w_ilogbf.c: New file: ilogbf wrapper.
29053 * math/w_ilogbl.c: New file: ilogbl wrapper.
29054 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
29055 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
29056 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
29057 exception being thrown with 0.0 as argument.
29058 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
29059 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
29060 exception being thrown with 0.0 as argument.
29061 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
29062 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29063 exception being thrown with 0.0 as argument.
29064 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
29065 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29066 exception being thrown with 0.0 as argument.
29067 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
29068 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 29069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
29070 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
29071 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
29072 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
29073 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
29074 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
29075 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
29076
0396e69d
PB
290772012-04-17 Petr Baudis <pasky@ucw.cz>
29078
29079 * include/sys/uio.h: Change __vector to __iovec to avoid clash
29080 with altivec.
29081
750b5926
MP
290822012-04-16 Marek Polacek <polacek@redhat.com>
29083
29084 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
29085
751728a1
MP
290862012-04-16 Marek Polacek <polacek@redhat.com>
29087
29088 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
29089 operands of fdivp instruction.
29090
34a27407
L
290912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
29092
29093 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
29094 * elf/tst-auditmod3b.c: Likewise.
29095 * elf/tst-auditmod4b.c: Likewise.
29096 * elf/tst-auditmod5b.c: Likewise.
29097 * elf/tst-auditmod6b.c: Likewise.
29098 * elf/tst-auditmod6c.c: Likewise.
29099 * elf/tst-auditmod7b.c: Likewise.
29100 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
29101 * sysdeps/x86_64/preconfigure.in: Likewise.
29102 * sysdeps/x86_64/preconfigure: Regenerated.
29103
7e73e17d
L
291042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
29105
29106 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
29107 __ILP32__.
29108
c7a6ab72
AB
291092012-04-13 Antoine Balestrat <merkil33@gmail.com>
29110
29111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29112 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
29113
a9e8e0e0
CL
291142012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
29115
29116 [BZ #13973]
29117 * locale/iso-639.def: Fix gl language name. Spotted by
29118 Yaron Shahrabani.
29119
ec98af7d
RM
291202012-04-12 Roland McGrath <roland@hack.frob.com>
29121
29122 [BZ #2074]
29123 * libio/libio.h (__io_write_fn): Update comment.
29124
247c3ede
PB
291252012-04-12 Petr Baudis <pasky@ucw.cz>
29126
29127 [BZ #2074]
29128 * stdio.texi (Hook Functions): The user provided writer function
29129 is not allowed to return -1.
29130
55939d6d
DM
291312012-04-11 David S. Miller <davem@davemloft.net>
29132
29133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29134
90020f5a
MF
291352012-04-11 Mike Frysinger <vapier@gentoo.org>
29136
29137 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
29138 Add a leading slash to rtkaio.
29139
288f9098
JM
291402012-04-11 Jim Meyering <meyering@redhat.com>
29141
90020f5a
MF
29142 [BZ #11959]
29143 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29144 It is not necessarily an error to ignore fwrite's return
29145 value. One can reliably use ferror to test for errors after
29146 the fact.
288f9098 29147
4be2b570
L
291482012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29149
29150 * bits/types.h (__snseconds_t): New type.
29151 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29152
29153 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29155 (__SNSECONDS_T_TYPE): Likewise.
29156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29157 (__SNSECONDS_T_TYPE): Likewise.
29158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29159 (__SNSECONDS_T_TYPE): Likewise.
29160
288f9098 291612012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
29162
29163 [BZ #2636]
29164 * manual/time.texi (Processor Time): Return type of times is
29165 elapsed real time since an arbitrary point in the past.
29166 (CPU Time): Move CLK_TCK from here...
29167 (Processor Time): ...to here. Correct description.
29168 * manual/conf.texi (Constants for Sysconf): Correct description of
29169 _SC_CLK_TCK.
29170
d7dd4413
DM
291712012-04-10 David S. Miller <davem@davemloft.net>
29172
29173 [BZ #13967]
29174 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29175 where the is a gap between DT_REL(A) and DT_JMPREL.
29176
b46068fc
L
291772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29178
29179 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29180 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29181 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29182
73d65cc3
SP
291832012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29184
29185 * elf/dl-support.c (_dl_inhibit_cache): New variable.
29186 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29187 (dl_main): Handle --inhibit-cache.
29188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29189 _dl_inhibit_cache.
29190 * elf/dl-load.c (_dl_map_object): Use it.
29191 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29192
bcc8d661
JM
291932012-04-09 Joseph Myers <joseph@codesourcery.com>
29194
8f9a2fae
JM
29195 [BZ #13872]
29196 * sysdeps/i386/fpu/e_powl.S (p78): New object.
29197 (__ieee754_powl): Saturate large exponents rather than testing for
29198 overflow of y*log2(x).
29199 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29200 * math/libm-test.inc (pow_test): Do not permit spurious overflow
29201 exceptions.
29202
bcc8d661
JM
29203 [BZ #11521]
29204 * math/s_ctan.c: Include <float.h>.
29205 (__ctan): Avoid internal overflow or cancellation in calculating
29206 denominator.
29207 * math/s_ctanf.c: Likewise.
29208 * math/s_ctanl.c: Likewise.
29209 * math/s_ctanh.c: Likewise.
29210 * math/s_ctanhf.c: Likewise.
29211 * math/s_ctanhl.c: Likewise.
29212 * math/libm-test.inc (ctan_test): Add more tests.
29213 (ctanh_test): Likewise.
29214 * sysdeps/i386/fpu/libm-test-ulps: Update.
29215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29216
823fbbb4
AJ
292172012-04-09 Andreas Jaeger <aj@suse.de>
29218
03879793
AJ
29219 [BZ #6894]
29220 * manual/filesys.texi (Directory Entries): Mention that d_namlen
29221 is an optional BSD extension.
29222
823fbbb4
AJ
29223 [BZ #10254]
29224 * manual/stdio.texi (Opening Streams): Document additional fopen
29225 parameters.
29226
8de131cb
RM
292272012-04-09 Roland McGrath <roland@hack.frob.com>
29228
29229 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29230 %eax without telling the compiler.
29231
c0ed9d7d
CD
292322012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
29233
29234 [BZ # 13963]
29235 * manual/install.texi: Use sourceware.org.
29236
c483f6b4
JM
292372012-04-09 Joseph Myers <joseph@codesourcery.com>
29238
d7dd9453
JM
29239 [BZ #13873]
29240 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29241 (__ieee754_pow): Generate overflow and underflow using huge*huge
29242 and tiny*tiny rather than just returning constant infinity or zero
29243 for large exponents.
29244 * math/libm-test.inc (pow_test): Require overflow exceptions for
29245 applicable cases of large exponents.
29246
c483f6b4
JM
29247 [BZ #706]
29248 * sysdeps/i386/fpu/e_pow.S (p10): New object.
29249 (__ieee754_pow): Use iterative multiplication algorithm only for
29250 integer exponents with absolute value below 1024. Check for odd
29251 integer exponents when using algorithm for real exponents.
29252 * math/libm-test.inc (pow_test): Add more tests.
29253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29254
d2de7579
JM
292552012-04-08 Joseph Myers <joseph@codesourcery.com>
29256
29257 [BZ #13705]
29258 * math/libm-test.inc (exp_test): Do not allow overflow exception
29259 on underflow test.
29260
f77f1232
AJ
292612012-04-08 Aurelien Jarno <aurelien@aurel32.net>
29262
29263 [BZ #13705]
29264 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29265 instead of __kernel_standard_f.
29266
3884932b
MF
292672012-04-08 Mike Frysinger <vapier@gentoo.org>
29268
29269 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29270 * sysdeps/x86_64/memset_chk.S: Likewise.
29271
54472e9c
AJ
292722012-04-08 Andreas Jaeger <aj@suse.de>
29273
6ab0fbfc
AJ
29274 [BZ #10153]
29275 * manual/startup.texi (Environment Access): Describe return value
29276 for putenv and setenv.
29277
61efba8c
AJ
29278 [BZ #6895]
29279 * manual/filesys.texi (Directory Entries): Add description for
29280 DT_LNK.
29281
95c3f29a
AJ
29282 [BZ #6890]
29283 * manual/filesys.texi (Directory Entries): Clarify that it's file
29284 system not operating system in the description of DT_UNKNOWN.
29285
54472e9c
AJ
29286 [BZ #6578]
29287 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29288
624254b1
SC
292892012-04-08 Stephen Compall <s11@member.fsf.org>
29290
29291 [BZ #6649]
29292 * manual/llio.texi (Opening and Closing Files): Add cross
29293 reference to explain mode argument.
29294
1e4920e0
MF
292952012-04-07 Mike Frysinger <vapier@gentoo.org>
29296
29297 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29298 * sysdeps/x86_64/memset_chk.S: Likewise.
29299
5ed848f3
DM
293002012-04-07 David S. Miller <davem@davemloft.net>
29301
29302 * elf/elf.h (R_SPARC_WDISP10): Define.
29303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29304 R_SPARC_SIZE32.
29305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29306 R_SPARC_SIZE64 and R_SPARC_H34.
29307
96154cd8
CD
293082012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29309
29310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29311 conditions and remove no longer applicable assertion.
29312
9904dc47
L
293132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29314
29315 * bits/byteswap.h: Include <features.h>.
29316 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29317 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29318
f8887d0a
L
293192012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29320
29321 * bits/byteswap.h (__bswap_16): Removed.
29322 Include <bits/byteswap-16.h> to get __bswap_16.
29323 * sysdeps/i386/bits/byteswap.h: Likewise.
29324 * sysdeps/s390/bits/byteswap.h: Likewise.
29325 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29326 * bits/byteswap-16.h: New file.
29327 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29328 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29329 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29330 * string/Makefile (headers): Add bits/byteswap-16.h.
29331
62470f60
PP
293322012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29333
29334 [BZ #13895]
29335 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29336 extra indirection.
29337 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29338 * nss/tst-nss-static.c: New.
29339
4dad7bab
RM
293402012-04-06 Robert Millan <rmh@gnu.org>
29341
29342 [BZ #6486]
29343 * manual/llio.texi (File Position Primitive): lseek
29344 refers to WHENCE when it really means OFFSET.
29345
e9142a17
AJ
293462012-04-06 Andreas Jaeger <aj@suse.de>
29347
2c040eff
AJ
29348 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29349 strncmp declarations.
29350
e9142a17
AJ
29351 * abilist/libc.abilist: Add __poll and __ppoll.
29352
ff9f1c5f
DM
293532012-04-05 David S. Miller <davem@davemloft.net>
29354
dcd2ae90
DM
29355 * scripts/check-local-headers.sh: Accept a host triplet in the
29356 path matched by the exclude regexp.
29357
993eb054
DM
29358 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29359 definition.
29360 * sysdeps/powerpc/powerpc32/dl-machine.h
29361 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29362 * sysdeps/s390/s390-32/dl-machine.h
29363 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29364 * sysdeps/sparc/sparc32/dl-machine.h
29365 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29366 * sysdeps/sparc/sparc64/dl-machine.h
29367 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29368
ff9f1c5f
DM
29369 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29370 lazy binding.
48e2e132 29371 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
29372 undefined symbol errors.
29373
48e2e132 29374 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
29375 DT_NEEDED entries.
29376
e80d6f94
MM
293772012-04-05 Michael Matz <matz@suse.de>
29378
29379 [BZ #13592]
29380 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29381
349fa79f
AJ
293822012-04-05 Andreas Jaeger <aj@suse.de>
29383
29384 [BZ #13908]
29385 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29386 comment.
29387
f402708f
KK
293882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29389
29390 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29391 which ROUND is no valid rounding mode.
29392
2ecccfc9
KK
293932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29394
29395 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29396 read again.
29397 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29398
8a53f50f
KK
293992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29400
29401 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29402 an exception using FPU order intentionally.
29403
294042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29405
29406 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29407 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29408 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29409 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29410
d653abb7
SJ
294112012-04-05 Simon Josefsson <simon@josefsson.org>
29412
29413 [BZ #12340]
29414 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29415 EINVAL when BUFLEN is too smal.
29416
c3b1bf7d
TS
294172012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29418
29419 [BZ #13553]
29420 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29421 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29422
b1aa60f3
AJ
294232012-04-03 Andreas Jaeger <aj@suse.de>
29424
c3b1bf7d 29425 [BZ #13938]
67f60a26
AJ
29426 * manual/setjmp.texi (System V contexts): Fix sentence.
29427
b1aa60f3
AJ
29428 [BZ #13926]
29429 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29430 New macro for this case.
29431 [!__GNUC__] (__bswap_64): New inline function for this case.
29432 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29433 * bits/byteswap.h: Likewise.
29434 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29435 ull, guard with __GLIBC_HAVE_LONG_LONG.
29436
29437 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29438 __GLIBC_HAVE_LONG_LONG.
29439
29440 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29441 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29442
39c59c35
TMQMF
294432012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29444
29445 [BZ #13691]
29446 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29447 inptr and inend, rather than using last_ch.
29448
135ffda8
DM
294492012-04-02 David S. Miller <davem@davemloft.net>
29450
29451 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29452 * stdio-common/printf-parse.h (read_int): Change return type to
29453 'int', return -1 on INT_MAX overflow.
29454 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29455 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29456 overflows INT_MAX. Check for overflow of in-format-string precision
29457 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29458 SIZE_MAX not INT_MAX for integer overflow test.
29459 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29460 skip the construct in the format string but do not record anything.
29461 * stdio-common/bug22.c: Adjust to test both width/prevision
29462 INT_MAX overflow as well as total length INT_MAX overflow. Check
29463 explicitly for proper errno values.
29464
228c019e
TS
294652012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29466
302cadd3
TS
29467 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29468 CHAR_MAX.
29469 * string/test-strcmp.c [! WIDE]: Likewise.
29470 * time/tst-mktime2.c: Likewise for INT_MAX.
29471 * string/test-string.h: #include <sys/param.h> for MIN.
29472
228c019e
TS
29473 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29474 * sysdeps/i386/init-first.c (init): Likewise.
29475 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29476 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29477 * sysdeps/sh/init-first.c (init): Likewise.
29478
cfa633f5
UD
294792012-04-01 Ulrich Drepper <drepper@gmail.com>
29480
29481 * po/ru.po: Update from translation team.
d1635ef8 29482 * po/vi.po: Likewise.
cfa633f5 29483
6cd0a5ea
SP
294842012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29485
29486 * resolv/nss_dns/dns-host.c: Merge copyright years.
29487
4b43400f
LD
294882012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29489
29490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29491 Optimize memcpy with prefetch if
29492 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29493 src, dst pointers have unequal 16 byte alignments.
29494
48c41d04
SP
294952012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29496
29497 [BZ #13928]
29498 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29499 from a CNAME entry and return the minimum ttl for the query.
29500 (gaih_getanswer_slice): Likewise.
29501
b8dc394d
JL
295022012-03-30 Jeff Law <law@redhat.com>
29503
29504 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29505 due to long keys.
29506 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29507 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29508
2f5a5ed0
JL
29509 * resolv/nss_dns/dns-host.c: Update copyright year.
29510
1d39e359
UD
295112012-03-30 Ulrich Drepper <drepper@gmail.com>
29512
c030f70c 29513 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 29514 requests to save a system call. Fix check that all bytes are sent.
c030f70c 29515
1d39e359
UD
29516 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29517 comments for sendmmsg.
29518
295192012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
29520
29521 [BZ #13691]
29522 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29523 with only 1 character between 0x0041 and 0x01b0.
29524 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29525 * wcsmbs/tst-mbsnrtowcs.c: New file.
29526
20fde227
DM
295272012-03-29 David S. Miller <davem@davemloft.net>
29528
29529 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29530 small copies by hand.
29531
984a4237
JL
295322012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29533
29534 [BZ #13761]
29535 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29536 _nss_compat_initgroups_dyn): Fall back to malloc/free
29537 for large group memberships.
29538
18c9d62b
DM
295392012-03-28 David S. Miller <davem@davemloft.net>
29540
88d85d4f
DM
29541 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29542 that branches into memcpy.
29543 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29546 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29547 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29548 bits.
29549 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29550 implementation too.
29551 * sysdeps/sparc/mempcpy.S: New file.
29552
e5aa83e1
DM
29553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29554 the IFUNC routine in the libc case.
29555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29556
88570753
DM
29557 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29558 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29559 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29560 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29561 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29562 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29563 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29564 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29565
249d7567
DM
29566 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29567 loop to 256 bytes instead of 64 bytes and fix test signedness.
29568
18c9d62b
DM
29569 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29570 * sysdeps/sparc/sparc32/Makefile: rather than here...
29571 * sysdeps/sparc/sparc64/Makefile: and here.
29572
05f3d1f6
UD
295732012-03-28 Ulrich Drepper <drepper@gmail.com>
29574
29575 * malloc/mallocbug.c: Avoid warnings about unused variables.
29576
86ae07a8
JL
295772012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29578
29579 [BZ #13760]
29580 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29581 in the right place. Discard and retry query if response is
29582 larger than input buffer size.
29583
41bf21a1
JM
295842012-03-28 Joseph Myers <joseph@codesourcery.com>
29585
d6270972
JM
29586 [BZ #369]
29587 [BZ #2678]
29588 [BZ #3866]
29589 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29590 x for large integer exponent.
29591 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29592 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29593 sign of result as needed afterwards.
29594 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29595 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29596 result for underflowing pow the same as for overflow.
29597 (__kernel_standard_l): Handle powl overflow and underflow here
29598 rather than calling __kernel_standard.
29599 * math/libm-test.inc (pow_test): Add more tests.
29600
414fca03 29601 [BZ #3868]
41bf21a1
JM
29602 [BZ #13879]
29603 [BZ #13910]
29604 [BZ #13911]
29605 [BZ #13912]
29606 [BZ #13913]
29607 [BZ #13915]
29608 [BZ #13916]
29609 [BZ #13917]
29610 [BZ #13918]
29611 [BZ #13919]
29612 [BZ #13920]
29613 [BZ #13921]
29614 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29615 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29616 (__kernel_standard_l): New function.
29617 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29618 __kernel_standard.
29619 * math/w_acosl.c (__acosl): Likewise.
29620 * math/w_asinl.c (__asinl): Likewise.
29621 * math/w_atan2l.c (__atan2l): Likewise.
29622 * math/w_atanhl.c (__atanhl): Likewise.
29623 * math/w_coshl.c (__coshl): Likewise.
29624 * math/w_exp10l.c (__exp10l): Likewise.
29625 * math/w_exp2l.c (__exp2l): Likewise.
29626 * math/w_fmodl.c (__fmodl): Likewise.
29627 * math/w_hypotl.c (__hypotl): Likewise.
29628 * math/w_j0l.c (__j0l, __y0l): Likewise.
29629 * math/w_j1l.c (__j1l, __y1l): Likewise.
29630 * math/w_jnl.c (__jnl, __ynl): Likewise.
29631 * math/w_lgammal.c (__lgammal): Likewise.
29632 * math/w_log10l.c (__log10l): Likewise.
29633 * math/w_log2l.c (__log2l): Likewise.
29634 * math/w_logl.c (__logl): Likewise.
29635 * math/w_powl.c (__powl): Likewise.
29636 * math/w_remainderl.c (__remainderl): Likewise.
29637 * math/w_scalbl.c (sysv_scalbl): Likewise.
29638 * math/w_sinhl.c (__sinhl): Likewise.
29639 * math/w_sqrtl.c (__sqrtl): Likewise.
29640 * math/w_tgammal.c (__tgammal): Likewise.
29641 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29642 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29643 * math/libm-test.inc (acos_test): Add more tests.
29644 (acosh_test): Likewise.
29645 (asin_test): Likewise.
29646 (atanh_test): Likewise.
29647 (exp_test): Likewise.
29648 (exp10_test): Likewise.
29649 (exp2_test): Likewise.
29650 (expm1_test): Likewise.
29651 (lgamma_test): Likewise.
29652 (log_test): Likewise.
29653 (log10_test): Likewise.
29654 (log1p_test): Likewise.
29655 (log2_test): Likewise.
29656 (pow_test): Do not allow some spurious overflow exceptions.
29657 (sqrt_test): Add more tests.
29658 (tgamma_test): Likewise.
29659 (y0_test): Likewise.
29660 (y1_test): Likewise.
29661 (yn_test): Likewise.
29662
dd62fda6
AB
296632012-03-27 Anton Blanchard <anton@samba.org>
29664
29665 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29666 MAP_HUGETLB.
29667 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29668 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29669 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29670
1e3cdfda
AJ
296712012-03-27 David S. Miller <davem@davemloft.net>
29672
b855ab85
DM
29673 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29674
1e3cdfda
AJ
29675 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29676 have-as-vis3 check.
29677
296782012-03-27 Andreas Jaeger <aj@suse.de>
29679
29680 * sysdeps/x86_64/elf/configure.in: Moved to ...
29681 * sysdeps/x86_64/configure.in: ... here.
29682 * sysdeps/x86_64/elf/start.S: Moved to ...
29683 * sysdeps/x86_64/start.S: ... here.
29684 * sysdeps/x86_64/elf/configure: Delete.
29685
29686 * sysdeps/x86_64/configure.in: Merge contents from
29687 sysdeps/i386/configure.in (without i686 check).
29688
29689 * sysdeps/i386/elf/Versions: Merge into ...
29690 * sysdeps/i386/Versions: ... this.
29691 * sysdeps/i386/elf/Versions: Delete file.
29692 * sysdeps/i386/elf/start.S: Moved to ...
29693 * sysdeps/i386/start.S: ...here.
29694 * sysdeps/i386/elf/configure.in: Merge into...
29695 * sysdeps/i386/configure.in: ...here.
29696 * sysdeps/i386/elf/configure.in: Delete file.
29697 * sysdeps/i386/elf/configure: Delete file.
29698
29699 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29700 * debug/backtracesyms.c: ... here.
29701 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29702 * debug/backtracesymsfd.c: ... here.
29703 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29704 * sysdeps/generic/ifunc-sel.h: ... here.
29705
29706 * sysdeps/unix/i386/start.c: Delete file.
29707 * sysdeps/unix/sparc/start.c: Delete file.
29708 * sysdeps/unix/start.c: Delete file.
29709
29710 * sysdeps/sh/elf/configure.in: Moved to ...
29711 * sysdeps/sh/configure.in: ... here.
29712 * sysdeps/sh/elf/start.S: Moved to ...
29713 * sysdeps/sh/start.S: ... here.
29714 * sysdeps/sh/elf/configure: Delete file.
29715
29716 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29717 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29718 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29719 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29720 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29721 * sysdeps/powerpc/powerpc64/start.S: here.
29722 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29723 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29724 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29725 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29726 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29727
29728 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29729 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29730 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29731 * sysdeps/powerpc/powerpc32/start.S: ... here.
29732 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29733 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29734 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29735
29736 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29737 * sysdeps/powerpc/ifunc-sel.h: ... here.
29738 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29739 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29740
29741 * sysdeps/sparc/elf/configure.in: Moved to ...
29742 * sysdeps/sparc/configure.in: ... here.
29743 * sysdeps/sparc/elf/configure: Delete file.
29744 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29745 * sysdeps/sparc/sparc32/start.S: ... here.
29746 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29747 * sysdeps/sparc/sparc64/start.S: ... here.
29748 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29749 * sysdeps/sparc/sparc32/Makefile: ... this.
29750 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29751 * sysdeps/sparc/sparc64/Makefile: ... this.
29752
29753 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29754 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29755 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29756 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29757 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29758 * sysdeps/s390/s390-32/setjmp.S: ... here.
29759 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29760 * sysdeps/s390/s390-32/configure.in: ... here.
29761 * sysdeps/s390/s390-32/elf/configure: Delete file.
29762 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29763 * sysdeps/s390/s390-32/start.S: ... here.
29764
29765 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29766 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29767 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29768 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29769 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29770 * sysdeps/s390/s390-64/setjmp.S: ... here.
29771 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29772 * sysdeps/s390/s390-64/configure.in: ... here
29773 * sysdeps/s390/s390-64/elf/configure: Delete file.
29774 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29775 * sysdeps/s390/s390-64/start.S: ... here.
29776 * sysdeps/s390/s390-64/elf/configure: Delete.
29777
29778 * configure.in: Remove support for elf directories in sysdeps.
29779
29780 * configure: Regenerated.
29781 * sysdeps/i386/configure: Regenerated.
29782 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29783 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29784 * sysdeps/s390/s390-32/configure: Regenerated.
29785 * sysdeps/s390/s390-64/configure: Regenerated.
29786 * sysdeps/sh/configure: Regenerated.
29787 * sysdeps/sparc/configure: Regenerated.
29788 * sysdeps/x86_64/configure: Regenerated.
29789
a3f61311
AS
297902012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29791
c876e002
AS
29792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29793
a3f61311
AS
29794 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29795 denormal result into account.
29796
ac4c54f0
RM
297972012-03-25 Roland McGrath <roland@hack.frob.com>
29798
29799 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29800 Reported by Allan McRae <allan@archlinux.org>.
29801
6a9b9c02
JL
298022012-03-23 Jeff Law <law@redhat.com>
29803
29804 * nss/getnssent.c (__nss_getent): Fix typo.
29805
4c42a0c1
DM
298062012-03-23 David S. Miller <davem@davemloft.net>
29807
29808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29809
1532c7ac
L
298102012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29811
29812 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29813 to pad to uint64_t for each field.
29814 (dl_tls_index): Replace unsigned long with uint64_t.
29815
3ff42526
PP
298162012-03-23 Daniel Jacobowitz <dmj@google.com>
29817 Paul Pluzhnikov <ppluzhnikov@google.com>
29818
29819 [BZ #6528]
29820 * grp/Makefile (otherlibs): Don't set it.
29821 * inet/Makefile (otherlibs): Likewise.
29822 * login/Makefile (otherlibs): Likewise.
29823 * nscd/Makefile (otherlibs): Likewise.
29824 * posix/Makefile (otherlibs): Likewise.
29825 * pwd/Makefile (otherlibs): Likewise.
29826 * rt/Makefile (otherlibs): Likewise.
29827 * sunrpc/Makefile (otherlibs): Likewise.
29828 * nss/Makefile (otherlibs): Likewise.
29829 Add libnss_files to routines and static-only-routines.
29830 ($(objpfx)getent): Remove rule.
29831 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29832 static-only-routines.
29833
7c69cd14
JM
298342012-03-22 Joseph Myers <joseph@codesourcery.com>
29835
29836 [BZ #13892]
29837 * math/s_cexp.c: Include <float.h>.
29838 (__cexp): Handle exp result overflowing not necessarily
29839 overflowing both real and imaginary parts of result.
29840 * math/s_cexpf.c: Likewise.
29841 * math/s_cexpl.c: Likewise.
29842 * math/libm-test.inc (cexp_test): Add more tests.
29843 * sysdeps/i386/fpu/libm-test-ulps: Update.
29844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29845
81b035fe
L
298462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29847
29848 * include/link.h (ELFW): New macro.
29849 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29850 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29851
1da7940c
L
298522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29853
29854 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29855 with uint64_t.
29856
b749dbb9
L
298572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29858
29859 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29860 declaration.
29861 (struct La_x32_retval): Likewise.
29862
2ff87f3f
L
298632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29864
29865 * sysdeps/x86_64/preconfigure.in: New file.
29866 * sysdeps/x86_64/preconfigure: New generated file.
29867
c0df8e69
JM
298682012-03-22 Joseph Myers <joseph@codesourcery.com>
29869
48e44791
JM
29870 [BZ #13824]
29871 * math/e_exp2l.c: Include <float.h>.
29872 (__ieee754_exp2l): Handle overflow and underflow cases
29873 separately. Only pass fractional part of argument to
29874 __ieee754_expl.
29875 * math/libm-test.inc (exp2_test): Add more tests.
29876
c0df8e69
JM
29877 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29878 negating x to take absolute value.
29879 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29880 Likewise.
29881 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29882 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29883 Likewise.
29884 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29885 computing low part if x was negated.
29886 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29887
c8e43ba7
L
298882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29889
29890 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29891 la_x32_gnu_pltexit.
29892 (pltexit): Cast int_retval to ptrdiff_t.
29893 * elf/tst-auditmod3b.c: Likewise.
29894 * elf/tst-auditmod4b.c: Likewise.
29895 * elf/tst-auditmod5b.c: Likewise.
29896 * elf/tst-auditmod6b.c: Likewise.
29897 * elf/tst-auditmod6c.c: Likewise.
29898 * elf/tst-auditmod7b.c: Likewise.
29899
29900 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29901 and x32_gnu_pltexit.
29902
29903 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29904 __ELF_NATIVE_CLASS.
29905 (La_x32_regs): New macro.
29906 (La_x32_retval): Likewise.
29907 (la_x32_gnu_pltenter): New function prototype.
29908 (la_x32_gnu_pltexit): Likewise.
29909
7998fa78
AS
299102012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29911
dcb33988
AS
29912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29913 exponent.
29914
233fc563
AS
29915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29916
7998fa78
AS
29917 * configure.in (libc_cv_cc_nofma): Check for option to disable
29918 generation of FMA instructions.
29919 * configure: Regenerate.
29920 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29921 * sysdeps/ieee754/dbl-64/Makefile: New file.
29922 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29923 Remove brandred-fma4.
29924 (CFLAGS-brandred-fma4.c): Remove.
29925 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29927 define.
29928 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29929 define.
29930
8e95c99a
L
299312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29932
29933 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29934 LLONG_MAX != LONG_MAX.
29935 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29936 (_fitoa_word): Likewise.
29937 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29938 LLONG_MAX != LONG_MAX.
29939 * stdio-common/_itowa.h: Include <_itoa.h>.
29940 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29941 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29942 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29943 only if not defined.
29944 (_ITOA_WORD_TYPE): Likewise.
29945 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29946 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29947
6f4db457
DM
299482012-03-21 David S. Miller <davem@davemloft.net>
29949
29950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29951
7785fe5a
L
299522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29953
29954 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29955 of x86_64 when setting libc_cv_slibdir, libdir and
29956 libc_cv_localedir.
29957 * sysdeps/unix/sysv/linux/configure: Regenerated.
29958
4535cd55
JM
299592012-03-21 Joseph Myers <joseph@codesourcery.com>
29960
29961 * manual/lang.texi (Old Varargs): Remove section.
29962 (How Variadic): Update menu.
29963 (va_start): Do not mention varargs.h.
29964
17228132
TS
299652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29966 Joseph Myers <joseph@codesourcery.com>
29967
29968 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29969 link test.
29970 * configure: Regenerated.
29971
8149f976
TS
299722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29973
05f3d1f6
UD
29974 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29975 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29976 conformtest.pl
8149f976 29977
1a4ac776
JM
299782012-03-21 Joseph Myers <joseph@codesourcery.com>
29979
be22ce65
JM
29980 * NOTES: Remove.
29981 * Makefile (files-for-dist): Remove NOTES.
29982 (NOTES): Remove rule.
29983 * README: Don't refer to NOTES.
29984 * manual/creature.texi: Don't include macros.texi.
29985 * manual/intro.texi (creature.texi): Remove comment referring to
29986 NOTES.
29987
40b601fb
JM
29988 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29989 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29990 * configure: Regenerated.
29991 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29992 LIBC_TRY_CC_OPTION.
29993 (libc_cv_as_i686): Likewise.
29994 (libc_cv_cc_avx): Likewise.
29995 (libc_cv_cc_sse2avx): Likewise.
29996 (libc_cv_cc_fma4): Likewise.
29997 (libc_cv_cc_novzeroupper): Likewise.
29998 * sysdeps/i386/configure: Regenerated.
29999
1a4ac776
JM
30000 [BZ #13883]
30001 * sysdeps/i386/fpu/s_cexp.S: Remove.
30002 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30003 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30004 * math/libm-test.inc (cexp_test): Add more tests.
30005 * sysdeps/i386/fpu/libm-test-ulps: Update.
30006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30007
a458e7fe
AM
300082012-03-21 Allan McRae <allan@archlinux.org>
30009
30010 * timezone/Makefile: Do not install iso3166.tab and zone.tab
30011
0cb7efc5
JM
300122012-03-21 Joseph Myers <joseph@codesourcery.com>
30013
30014 [BZ #13871]
30015 * math/w_exp2.c: Do not include <float.h>.
30016 (o_threshold, u_threshold): Remove.
30017 (__exp2): Calculate result before checking finiteness and calling
30018 __kernel_standard.
30019 * math/w_exp2f.c: Likewise.
30020 * math/w_exp2l.c: Likewise.
30021 * math/libm-test.inc (exp2_test): Require overflow exception for
30022 1e6 input.
2460d3aa
JM
30023
30024 [BZ #3866]
30025 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
30026 range of signed 64-bit integers before using fistpll. Remove
30027 checks for whether integers fit in mantissa bits.
30028 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
30029 the range of signed 32-bit integers before using fistpl. Remove
30030 checks for whether integers fit in mantissa bits.
30031 * sysdeps/i386/fpu/e_powl.S (p64): New object.
30032 (__ieee754_powl): Test for y outside the range of signed 64-bit
30033 integers before using fistpll. Reduce 64-bit values to 63-bit
30034 ones as needed.
30035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
30036 divide-by-zero is raised for zero to large negative powers.
30037 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
30038 (__ieee754_powl): Test for y outside the range of signed 64-bit
30039 integers before using fistpll. Reduce 64-bit values to 63-bit
30040 ones as needed.
30041 * math/libm-test.inc (pow_test): Add more tests.
30042
eb96ffb0
L
300432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30044
30045 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
30046 <stdio-common/_itoa.h>.
30047 * debug/segfault.c: Likewise.
30048 * elf/dl-cache.c: Likewise.
30049 * elf/dl-minimal.c: Likewise.
30050 * elf/dl-misc.c: Likewise.
30051 * elf/dl-sysdep.c: Likewise.
30052 * elf/dl-version.c: Likewise.
30053 * elf/rtld.c: Likewise.
30054 * hurd/hurdsock.c: Likewise.
30055 * hurd/lookup-retry.c: Likewise.
30056 * malloc/malloc.c: Likewise.
30057 * malloc/mtrace.c: Likewise.
30058 * nscd/nscd_getgr_r.c: Likewise.
30059 * nscd/nscd_getpw_r.c: Likewise.
30060 * nscd/nscd_getserv_r.c: Likewise.
30061 * posix/getopt_init.c: Likewise.
30062 * posix/wordexp.c: Likewise.
30063 * stdio-common/_itoa.c: Likewise.
30064 * stdio-common/printf_fphex.c: Likewise.
30065 * stdio-common/vfprintf.c: Likewise.
30066 * string/_strerror.c: Likewise.
30067 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
30068 * sysdeps/i386/i686/hp-timing.h: Likewise.
30069 * sysdeps/mach/_strerror.c: Likewise.
30070 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
30071 * sysdeps/mach/hurd/sethostid.c: Likewise.
30072 * sysdeps/mach/hurd/xmknodat.c: Likewise.
30073 * sysdeps/mach/xpg-strerror.c: Likewise.
30074 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30075 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30076 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
30077 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
30078 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30079 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
30080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30081 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30082 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
30083 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
30084 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
30085 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30086 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
30087 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30088 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30089 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
30090 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
30091 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
30092 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30093 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30094 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
30095
30096 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
30097
30098 * stdio-common/_itoa.h: Moved to ...
30099 * sysdeps/generic/_itoa.h: Here.
30100
30101 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
30102
30103 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
30104 instead of "_itoa.h" and "_itowa.h".
30105 * stdio-common/vfprintf.: Likewise.
30106
d1af992d
L
301072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30108
30109 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
30110 <bits/wordsize.h>.
30111 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
30112 (__signbit): Likwise.
30113 (llrintf): Likwise.
30114 (llrint): Likwise.
30115
114883e0
L
301162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30117
30118 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
30119 __WORDSIZE != 64.
30120
c135cc1b
JM
301212012-03-20 Joseph Myers <joseph@codesourcery.com>
30122
30123 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
30124 OVERFLOW_EXCEPTION_OK.
30125 * math/libm-test.inc ("Philosophy"): Update comment about
30126 exception testing.
30127 (OVERFLOW_EXCEPTION): Define.
30128 (OVERFLOW_EXCEPTION_OK): Likewise.
30129 (INVALID_EXCEPTION_OK): Renumber.
30130 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30131 (IGNORE_ZERO_INF_SIGN): Likewise.
30132 (test_exceptions): Handle FE_OVERFLOW.
30133 (exp10_test): Expect overflow exceptions.
30134 (exp2_test): Likewise.
30135 (expm1_test): Likewise.
30136 (nextafter_test): Likewise.
30137 (pow_test): Likewise.
30138 (scalbn_test): Likewise.
30139 (scalbln_test): Likewise.
30140
95443d88
L
301412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30142
30143 * sysdeps/x86_64/bits/atomic.h
30144 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30145 64bit integer.
30146 (atomic_exchange_acq): Likewise.
30147 (__arch_exchange_and_add_body): Likewise.
30148 (__arch_add_body): Likewise.
30149 (atomic_add_negative): Likewise.
30150 (atomic_add_zero): Likewise.
30151
490df6c4
L
301522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30153
c2722551 30154 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
30155 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30156
5e52b189
L
301572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30158
30159 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30160 Check __x86_64__ instead of __WORDSIZE.
30161
a9879d4c
L
301622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30163
30164 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30165
5df98260
DM
301662012-03-19 David S. Miller <davem@davemloft.net>
30167
e1497744
DM
30168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30169
5df98260
DM
30170 * sysdeps/sparc/fpu/fenv_private.h: New file.
30171 * sysdeps/sparc/fpu/math_private.h: Use it.
30172 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30173 Remove.
30174 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30175 (libc_feholdexcept_setroundl): Remove.
30176 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30177 Remove.
30178 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30179 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30180
b4c35121
L
301812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30182
30183 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30184 int64_t instead of long int.
30185 (INSERT_WORDS64): Likwise.
30186
56965fd7
L
301872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30188
30189 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30190 _Unwind_GetCFA return to _Unwind_Ptr first.
30191
83d1aec8
JM
301922012-03-19 Joseph Myers <joseph@codesourcery.com>
30193
1897ad44
JM
30194 [BZ #13629]
30195 * math/s_clog.c: Include <float.h>.
30196 (__clog): Scale large or subnormal inputs.
30197 * math/s_clogf.c: Likewise.
30198 * math/s_clogl.c: Likewise.
30199 * math/s_clog10.c: Include <float.h>.
30200 (M_LOG10_2): Define.
30201 (__clog10): Scale large or subnormal inputs.
30202 * math/s_clog10f.c: Likewise.
30203 * math/s_clog10l.c: Likewise.
30204 * math/libm-test.inc (clog_test): Add more tests.
30205 (clog10_test): Likewise.
30206 * sysdeps/i386/fpu/libm-test-ulps: Update.
30207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30208
7726d6a9
JM
30209 [BZ #11451]
30210 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30211 x and y.
30212 * math/libm-test.inc (atan2_test): Add another test.
30213
83d1aec8
JM
30214 * Makerules (common-objdir-compile): Remove.
30215 * sysdeps/unix/Makefile (config-generated): Do not add
30216 $(unix-generated) to variable.
30217 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30218 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30219 Remove rule.
30220 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30221 Likewise.
30222 [generic bits/local_lim.h] (before-compile): Do not append to
30223 variable.
30224 [generic bits/local_lim.h] (common-generated): Likewise.
30225 [generic sys/param.h] (before-compile): Do not append to variable.
30226 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30227 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30228 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30229 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30230 include.
30231 [generic sys/param.h] (sys/param.h-includes): Remove variable.
30232 [generic sys/param.h] (sys/param.h-includes): Remove rule.
30233 [generic sys/param.h] ($(addprefix
30234 $(common-objpfx),$(sys/param.h-includes))): Likewise.
30235 [generic sys/param.h] (common-generated): Do not append to
30236 variable.
30237 [generic sys/param.h] (sysdep_headers): Likewise.
30238 [generic bits/errno.h] (before-compile): Do not append to
30239 variable.
30240 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30241 rule.
30242 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30243 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30244 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30245 [generic bits/errno.h] (common-generated): Do not append to
30246 variable.
30247 [generic bits/ioctls.h] (before-compile): Do not append to
30248 variable.
30249 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30250 rule.
30251 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30252 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30253 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30254 rule.
30255 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30256 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30257 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30258 [generic bits/ioctls.h] (common-generated): Do not append to
30259 variable.
30260 [generic sys/syscall.h] (syscall.h): Remove variable.
30261 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30262 rule.
30263 [generic sys/syscall.h] (before-compile): Do not append to
30264 variable.
30265 [generic sys/syscall.h] (common-generated): Likewise.
30266 * sysdeps/unix/errnos-tmpl.c: Remove file.
30267 * sysdeps/unix/errnos.awk: Likewise.
30268 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30269 * sysdeps/unix/ioctls.awk: Likewise.
30270 * sysdeps/unix/mk-local_lim.c: Likewise.
30271 * sysdeps/unix/snarf-ioctls: Likewise.
30272
4851a949
RH
302732012-03-19 Richard Henderson <rth@twiddle.net>
30274
bd37f2ee
RH
30275 * sysdeps/i386/fpu/fenv_private.h: New file.
30276 * sysdeps/i386/fpu/math_private.h: Use it.
30277 (math_opt_barrier, math_force_eval): Remove.
30278 (libc_feholdexcept_setround_53bit): Remove.
30279 (libc_feupdateenv_53bit): Remove.
30280 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30281 (math_opt_barrier, math_force_eval): Remove.
30282 (libc_feholdexcept): Remove.
30283 (libc_feholdexcept_setround): Remove.
30284 (libc_fetestexcept, libc_fesetenv): Remove.
30285 (libc_feupdateenv_test): Remove.
30286 (libc_feupdateenv, libc_feholdsetround): Remove.
30287 (libc_feresetround): Remove.
30288
d0adc922
RH
30289 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30290 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30291
0fe0f1f8
RH
30292 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30293 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30294 (libc_feupdateenv_testl): New.
30295 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30296 (libc_feupdateenv_testf): New.
30297 (libc_feupdateenv): Use libc_feupdateenv_test.
30298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30299 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30300
eb92c487
RH
30301 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30302 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30303 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30304 (libc_feresetround_noex): New.
30305 (libc_feresetround_noexf): New.
30306 (libc_feresetround_noexl): New.
30307 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30308 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30309 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30310 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30311 SET_RESTORE_ROUND.
30312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30313 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30314 (__cos): Likewise.
30315 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30316 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30317 SET_RESTORE_ROUND_NOEX.
30318 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30319 SET_RESTORE_ROUND_NOEXF.
30320 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30321 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30322 (libc_feholdsetroundf): New.
30323 (libc_feresetround, libc_feresetroundf): New.
30324
7d2e8012
RH
30325 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30326 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30327 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30328
b4dabbb4
RH
30329 * sysdeps/generic/math_private.h: Include <fenv.h>.
30330 (default_libc_feholdexcept): New.
30331 (default_libc_feholdexcept_setround): New.
30332 (default_libc_fesetenv, default_libc_feupdateenv): New.
30333 (libc_feholdexcept): Only define if undefined.
30334 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30335 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30336 (libc_feholdexcept_setroundl): Likewise.
30337 (libc_feholdexcept_setround_53bit): Likewise.
30338 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30339 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30340 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30341 (libc_feupdateenv_53bit): Likewise.
30342 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30343 (libc_feholdexcept): Convert from macro to inline function.
30344 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30345 (libc_fesetenv, libc_feupdateenv): Likewise.
30346
4851a949
RH
30347 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30348 not previously defined.
30349 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30350 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30351 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30352 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30353 * sysdeps/ieee754/flt-32/math_private.h: New file.
30354 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30355 math_private.h below SET_FLOAT_WORD.
30356 (__isnan, __isinf_ns, __finite): Remove.
30357 (__isnanf, __isinf_nsf, __finitef): Remove.
30358
e79d442e
AS
303592012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30360
30361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30362
90b80344
DM
303632012-03-17 David S. Miller <davem@davemloft.net>
30364
30365 [BZ #6471]
30366 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30367 for 2.16.
30368
edc21804
DM
303692012-03-16 David S. Miller <davem@davemloft.net>
30370
77e927af
DM
30371 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30372 warnings.
30373
374976dd
DM
30374 [BZ #6471]
30375 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30376 properly.
30377 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30378 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30379 sysdep_routines when subdir is sysvipc.
30380 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30381 __getshmlba helper.
30382
edc21804
DM
30383 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30384
473c3ef3
L
303852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30386
30387 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30388 [__LP64__].
30389
eb0f39b6
L
303902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30391
30392 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30393 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30394 (__lround): Renamed to ...
30395 (__llround): This. Replace long int with long long int.
30396 Define lround functions as aliases of llround functions.
30397 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30398
6b6cd74b
L
303992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30400
30401 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30402 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30403 adresses to uintptr_t. Replace "long int" and "unsigned long
30404 int" with "greg_t" on va_arg.
30405
f1a77b01
L
304062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30407
30408 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30409 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30410
30411 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30412 Move e_machine check before EI_CLASS check. Handle x32
30413 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30414 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30415 SKIP_EM_IA_64 and include
30416 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30417
30418 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30419 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30420 (add_system_dir): New macro.
30421
30422 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30423 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30424
11b90b9f
JM
304252012-03-16 Joseph Myers <joseph@codesourcery.com>
30426
c36e1d23
JM
30427 [BZ #2551]
30428 [BZ #2552]
30429 [BZ #2553]
30430 [BZ #2554]
30431 [BZ #2562]
30432 [BZ #2563]
30433 [BZ #2565]
30434 [BZ #2566]
30435 [BZ #2576]
30436 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30437 (y0): Likewise.
30438 * math/w_j0f.c (j0f): Likewise.
30439 (y0f): Likewise.
30440 * math/w_j0l.c (__j0l): Likewise.
30441 (__y0l): Likewise.
30442 * math/w_j1.c (j1): Likewise.
30443 (y1): Likewise.
30444 * math/w_j1f.c (j1f): Likewise.
30445 (y1f): Likewise.
30446 * math/w_j1l.c (__j1l): Likewise.
30447 (__y1l): Likewise.
30448 * math/w_jn.c (jn): Likewise.
30449 (yn): Likewise.
30450 * math/w_jnf.c (jnf): Likewise.
30451 (ynf): Likewise.
30452 * math/w_jnl.c (__jnl): Likewise.
30453 (__ynl): Likewise.
30454 * math/libm-test.inc (j0_test): Add more tests.
30455 (j1_test): Likewise.
30456 (jn_test): Likewise. Add trailing semicolon to existing test.
30457 (y0_test): Likewise.
30458 (y1_test): Likewise.
30459 * sysdeps/i386/fpu/libm-test-ulps: Update.
30460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30461
11b90b9f
JM
30462 [BZ #13851]
30463 [BZ #13854]
30464 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30465 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30466 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30467 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30468 (__tanl): Set errno for infinite argument.
30469 * sysdeps/i386/fpu/mptan.c: Remove.
30470 * sysdeps/i386/fpu/s_tan.S: Likewise.
30471 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30472 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30473 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30474 * math/libm-test.inc (tan_test): Add more tests and enable more
30475 tests for double and long double.
30476 * sysdeps/i386/fpu/libm-test-ulps: Update.
30477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30478
6a1bd2a1
JK
304792012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30480
30481 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30482 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30483
10a803e0
RM
304842012-03-16 Roland McGrath <roland@hack.frob.com>
30485
30486 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30487 * configure.in: Use it for both main tree and add-ons.
30488 * configure: Regenerated.
30489
f196c7f7
L
304902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30491
30492 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30493
8848d99d
JM
304942012-03-16 Joseph Myers <joseph@codesourcery.com>
30495
96cbe7f4
JM
30496 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30497 in comment.
30498
8848d99d
JM
30499 [BZ #13851]
30500 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30501 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30502 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30503 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30504 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30505 infinite argument.
30506 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30508 != 0 for prec == 2.
30509 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30510 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30511 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30512 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30513 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30514 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30515 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30516 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30517 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30518 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30519 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30520 * math/libm-test.inc (cos_test): Add more tests and enable more
30521 tests for long double.
30522 (sin_test): Likewise.
30523 (sincos_test): Likewise.
30524 * sysdeps/i386/fpu/libm-test-ulps: Update.
30525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30526
dd7f4703
DM
305272012-03-16 David S. Miller <davem@davemloft.net>
30528
30529 * sysdeps/sparc/fpu/math_private.h: New file.
30530
006f1daa
DM
305312012-03-15 David S. Miller <davem@davemloft.net>
30532
c0c83bc8
DM
30533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30534 file.
e6a62e18 30535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
30536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30537 file.
e6a62e18
DM
30538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30544 sysdep routines.
30545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30546
88cb87d9
DM
30547 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30548 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30549
006f1daa 30550 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
30551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30552 sparc-ifunc.h
006f1daa 30553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
30554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30555 Likewise.
30556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30557 Likewise.
006f1daa
DM
30558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
30561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30562 Likewise.
006f1daa
DM
30563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
30567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30568 Likewise.
30569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30570 Likewise.
006f1daa
DM
30571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30595
11e0098e
AS
305962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30597
30598 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30599 scaling.
30600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30601
e85b09d0
AJ
306022012-03-15 Andreas Jaeger <aj@suse.de>
30603
30604 [BZ #13852]
30605 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30606 ieee754/flt-32 implementation for sin, cos and sincos.
30607 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30608 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30609 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30610 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30611 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30612 ieee754/flt-32 implementation for tan.
30613
30614 * math/libm-test.inc (cos_test): Enable some large input tests for
30615 float as well
30616 (sin_test): Likewise.
30617 (sincos_test): Likewise.
30618 (tan_test): Add tests for large input.
30619
30620 * sysdeps/i386/fpu/libm-test-ulps: Update.
30621
81c64153
AJ
306222012-03-15 Andreas Jaeger <aj@suse.de>
30623
30624 [BZ #13658]
30625 * math/libm-test.inc (cos_test): Add more test cases.
30626 (sin_test): Likewise.
30627 (sincos_test): Likewise.
30628
7bbfa5c6
AJ
306292012-03-15 Andreas Jaeger <aj@suse.de>
30630
30631 [BZ #13837]
30632 * math/libm-test.inc (cos_test): Add a test case for large input
30633 value.
30634 (sin_test): Likewise.
30635 (sincos_test): Likewise.
30636
306372012-03-15 Andreas Jaeger <aj@suse.de>,
30638 Joseph Myers <joseph@codesourcery.com>
30639
30640 [BZ #13658]
0671f479 30641 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
30642 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30643 * sysdeps/i386/fpu/branred.c: Likewise.
30644 * sysdeps/i386/fpu/dosincos.c: Likewise.
30645 * sysdeps/i386/fpu/mpa.c: Likewise.
30646 * sysdeps/i386/fpu/s_cos.S: Likewise.
30647 * sysdeps/i386/fpu/s_sin.S: Likewise.
30648 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30649 * sysdeps/i386/fpu/sincos32.c: Likewise.
30650
30651 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30652 Define.
30653 (libc_feupdateenv_53bit): Define.
30654 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30655 Define.
30656 (libc_feupdateenv_53bit): Define.
30657
30658 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30659 53 bit (without extend i386 double precision).
30660
30661 * math/libm-test.inc (sincos_test): Add tests for large input.
30662 (sin): Likewise.
30663 (cos): Likewise.
30664
30665 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30666
9cad04ea
AS
306672012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30668
30669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30670
f7062b9a
DM
306712012-03-15 David S. Miller <davem@davemloft.net>
30672
30673 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30674 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30675 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30676 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30689 file.
f7062b9a 30690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30692 file.
f7062b9a 30693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30695 file.
f7062b9a 30696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30698 file.
f7062b9a
DM
30699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30701 fmin/fmax sysdep routines.
30702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30703
7bd951ff
DM
307042012-03-14 David S. Miller <davem@davemloft.net>
30705
559398ab
DM
30706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30735 routines.
30736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30737 file.
559398ab 30738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30740 file.
559398ab 30741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30743 file.
559398ab 30744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30746 file.
559398ab 30747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30749 file.
559398ab 30750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30752 file.
30753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30754 file.
30755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30756 file.
30757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30758 file.
30759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30760 New file.
30761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30762 file.
30763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30764 file.
559398ab 30765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30767 file.
559398ab 30768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30770 file.
559398ab 30771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30773 file.
559398ab 30774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30776 VIS3 routines.
559398ab
DM
30777
30778 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30779 New file.
30780
5a1c1e32
DM
30781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30782
eae47a36
DM
30783 * sysdeps/sparc/configure.in: New file.
30784 * sysdeps/sparc/configure: Generate.
30785 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30786 * configure: Regenerate.
30787 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30788 * config.make.in (have-as-vis3): New.
30789 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30790 available use -Av9d instead of -Av9a.
30791 * sysdeps/sparc/sparc64/Makefile: Likewise.
30792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30794 New file.
30795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30796 file.
30797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30798 New file.
30799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30800 file.
eae47a36
DM
30801 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30806
c0c83bc8
DM
30807 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30808 fzeros/fnegs to load 0x80000000 into a float register instead of
30809 using the stack.
7bd951ff
DM
30810 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30811
bd951ccb
JM
308122012-03-14 Joseph Myers <joseph@codesourcery.com>
30813
30814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30815 bits/syscall.h.
30816 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30817 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30818 ($(inst_includedir)/bits/syscall.h): Remove rule.
30819 ($(objpfx)bits/syscall.d): Include instead of
30820 $(objpfx)syscall-list.d.
30821 (generated): Change syscall-list.h and syscall-list.d to
30822 bits/syscall.h and bits/syscall.d.
30823
bb4e6db2
RM
308242012-03-14 Roland McGrath <roland@hack.frob.com>
30825
30826 [BZ #13846]
30827 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30828
aa4a2ae1
JM
308292012-03-14 Joseph Myers <joseph@codesourcery.com>
30830
e456826d
JM
30831 [BZ #13841]
30832 * math/s_csqrt.c: Include <float.h>.
30833 (__csqrt): Scale large or subnormal inputs.
30834 * math/s_csqrtf.c: Likewise.
30835 * math/s_csqrtl.c: Likewise.
30836 * math/libm-test.inc (csqrt_test): Add more tests.
30837 * sysdeps/i386/fpu/libm-test-ulps: Update.
30838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30839
aa4a2ae1
JM
30840 [BZ #13840]
30841 * math/libm-test.inc (hypot_test): Add more tests.
30842
7c10fd35
DM
308432012-03-13 David S. Miller <davem@davemloft.net>
30844
30845 [BZ #13840]
30846 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30847 double-precision for the calculation instead of scaling.
30848
f453b98b
JM
308492012-03-13 Joseph Myers <joseph@codesourcery.com>
30850
30851 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30852 manipulate bits before adding and subtracting TWO52[sx].
30853 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30854 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30855 Likewise.
30856 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30857
09a3453f
DM
308582012-03-13 David S. Miller <davem@davemloft.net>
30859
8e59da90
DM
30860 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30861 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30863 rtld-global-offsets.h
30864 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30865
2a8ab7f2
DM
30866 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30867 large parameters.
30868
10f62770
DM
30869 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30870
5f0bdb18
DM
30871 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30872 'err' in the ifdef scope in which it is actually used.
30873
09a3453f
DM
30874 * nss/nss_db/db-init.c: Include string.h
30875
b4b2eb5e
DM
308762012-03-12 David S. Miller <davem@davemloft.net>
30877
98bb2f1c
DM
30878 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30879 masking out of the most significant byte of random value used.
30880 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30881 Fix coding style in previous change.
30882
b4b2eb5e
DM
30883 * sysdeps/unix/sysv/linux/kernel-features.h
30884 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30885 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30886 expression.
30887 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30888 later.
30889
6e226b09
DM
308902012-03-11 David S. Miller <davem@davemloft.net>
30891
a1bcbd40
DM
30892 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30893 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30894 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30895 for 'resultvar' otherwise things get truncated on 64-bit.
30896
cb9d6174
DM
30897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30898 Fix masking out of the most significant byte of random value used.
30899
6e226b09
DM
30900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30901
058c132d
AS
309022012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30903
30904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30905
2d2cd515
DM
309062012-03-09 David S. Miller <davem@davemloft.net>
30907
30908 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30909 variables with appropriate CPP guards.
30910 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30911 frame pointer, not the stack pointer. Correct layout comments. Fix test
30912 on resulting framesize and the management of the outregs buffer for pltexit.
30913 Preserve floating point return values across _dl_call_pltexit call.
30914 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30915 framesize and the management of the outregs buffer for pltexit.
30916 Preserve floating point return values across _dl_call_pltexit
30917 call.
30918 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30919 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30920 (print_exit): Fix format string for return register value.
30921
9a07f9d0
JM
309222012-03-10 Joseph Myers <joseph@codesourcery.com>
30923
30924 * sunrpc/Makefile (others): Add rpcgen.
30925 ($(objpfx)rpcgen): Remove special build rule and dependency on
30926 libc.
30927 * sunrpc/rpcgen.c: New file.
30928
547b5e30
PE
309292012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30930
c524201a
PE
30931 [BZ #13673]
30932 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30933 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30934 * sysdeps/i386/crti.S: Likewise.
30935 * sysdeps/i386/crtn.S: Likewise.
30936 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30937 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30938 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30939 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30940 * sysdeps/sh/crti.S: Likewise.
30941 * sysdeps/sh/crtn.S: Likewise.
30942 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30943
7b6235f2
PE
30944 [BZ #13673]
30945 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30946 with URL.
30947 * locale/programs/locfile-kw.gperf: Likewise.
30948 * locale/programs/charmap-kw.h: Regenerated.
30949 * locale/programs/locfile-kw.h: Likewise.
30950
547b5e30
PE
30951 [BZ #13673]
30952 * intl/plural.y: Replace FSF snail mail address with URL.
30953 * intl/plural.c: Regenerated.
30954
5f0a5dae
RH
309552012-03-09 Richard Henderson <rth@twiddle.net>
30956
30957 * include/math_private.h: Remove file.
30958 * math/math_private.h: Move file ...
30959 * sysdeps/generic/math_private.h: ... here.
30960
b8c03620
RH
30961 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30962 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30963 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30964
4e234f5d 30965 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30966 and <math_private.h>.
30967 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30968 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30969 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30970 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30971 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30972 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30973 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30975 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30976 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30977 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30978 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30979 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30980 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30981 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30982 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30983 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30984 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30985 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30986 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30989 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30992 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30993 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30994 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30999 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31001 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31002 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31003 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31004 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31005 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31006 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31007 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
31008 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31009 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31010 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31011 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31012 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31013 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
31014 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31015 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31016 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31017 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31018 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
31019 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31020 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31021 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31022 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31023 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31024 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31025 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31026 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
31027 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31028 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31030 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31031 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
31032 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31033 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31034 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31035 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
31036 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
31037 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31038 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31039 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31040 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31041 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
31042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
31043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
31044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31045 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
31046 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
31047 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31048 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
31049 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31050 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31051 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
31054 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
31055 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31056 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31057 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31058 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31060 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31061 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31062 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31063 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31064 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31065 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31066 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31067 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31068 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31069 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31070 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31071 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31072 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31073 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31074 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31075 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31076 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31077 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31078 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31079 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31080 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31081 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
31082 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31083 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31084 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31085 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31086 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31087 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31088 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31089 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31090 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
31091 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31092 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31093 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31094 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
31095 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31096 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
31097 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
31098 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31099 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31100 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
31101 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
31102 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31103 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31104 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31105 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
31106 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31107 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31108 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31109 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31110 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
31111 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
31112 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31113 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31114 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31115 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
31116 * sysdeps/ieee754/k_standard.c: Likewise.
31117 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31121 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31124 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31126 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31127 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31128 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31129 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31130 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31131 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31134 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31136 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
31137 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
31138 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31139 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31141 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31142 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31143 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31144 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31145 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31146 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31147 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31148 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31149 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31150 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31151 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31152 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31153 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31154 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31155 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31156 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31157 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31158 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31160 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31161 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31162 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31163 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31165 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31166 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31167 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31168 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31169 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31170 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31173 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31174 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31175 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31176 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31177 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31179 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31181 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31183 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31184 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31185 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31186 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31187 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31190 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31191 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31193 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31194 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31195 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31196 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31197 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31198 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31199 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31200 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31202 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31203 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31204 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31205 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31207 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31209 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31210 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31211 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31212 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31213 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31232 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31236 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31239 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31244 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31249 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31265 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31266 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31267 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31271 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31272 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31274 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31275 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31277 * sysdeps/ieee754/s_lib_version.c: Likewise.
31278 * sysdeps/ieee754/s_matherr.c: Likewise.
31279 * sysdeps/ieee754/s_signgam.c: Likewise.
31280 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31281 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31282 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31283 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31284 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31285 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31286 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31287 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31288 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31289 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31290 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31291 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31292 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31293 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31294 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31295 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31296 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31297 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31298 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 31301
1991fa03
JM
313022012-03-09 Joseph Myers <joseph@codesourcery.com>
31303
31304 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31305 * sunrpc/rpc_main.c: Likewise.
31306 * sunrpc/rpc_svcout.c: Likewise.
31307
60d6f5a6
DM
313082012-03-09 David S. Miller <davem@davemloft.net>
31309
31310 * include/math_private.h: New file.
31311
4962050e
JM
313122012-03-09 Joseph Myers <joseph@codesourcery.com>
31313
02a6f887
JM
31314 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31315 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31316 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31317 from <bits/socket_type.h>.
31318 (enum __socket_type): Don't define here.
31319 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31321 bits/socket_type.h.
31322
c6e013c1
JM
31323 [BZ #13566]
31324 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31325 checking __USE_GNU.
31326
4962050e
JM
31327 * Makerules ($(inst_includedir)/%.h): New rule.
31328 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31329 (install-others): Remove variable setting.
31330 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31331
38842f45
RH
313322012-03-08 Richard Henderson <rth@twiddle.net>
31333
67bb6da6
RH
31334 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31335 from macro to inline function; merge with the
31336 !__LIBC_INTERNAL_MATH_INLINES version.
31337 (__ieee754_sqrtf): Likewise.
31338
15194b4b
RH
31339 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31340 to inline function.
31341 (__rintf, __floor, __floorf): Likewise.
31342
64e21ede
RH
31343 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31344 macro to inline function.
31345 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31346
38842f45
RH
31347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31348 not <math/math_private.h>.
31349
c64bf5fe
DM
313502012-03-08 David S. Miller <davem@davemloft.net>
31351
31352 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31353 copyright year.
31354 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31355
82d86f28
TS
313562012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31357
31358 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31359 normalization.
31360 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31361 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31362
aea5d727
UD
313632012-03-08 Ulrich Drepper <drepper@gmail.com>
31364
31365 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31366 be defined individually, they must be defined as a block. Define
31367 S for printing a string instead of hidint the different by using a
31368 macro for adding the 'l'.
31369 * stdio-common/tst-fphex-wide.c: Adjust.
31370
70bca0a3
MP
313712012-03-07 Marek Polacek <polacek@redhat.com>
31372
31373 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31374
65b81130
MP
313752012-03-08 Marek Polacek <polacek@redhat.com>
31376
31377 [BZ #13806]
31378 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31379 * stdio-common/tst-fphex.c: Define a few macros to make the
31380 test reusable. Use them.
31381 * stdio-common/tst-fphex-wide.c: New file.
31382
07037eeb
JM
313832012-03-08 Joseph Myers <joseph@codesourcery.com>
31384
a7a93d50
JM
31385 [BZ #6911]
31386 * manual/macros.texi (gnusystems): New macro.
31387 (nongnusystems): Likewise.
31388 (gnulinuxhurdsystems): Likewise.
31389 (gnuhurdsystems): Likewise..
31390 (gnulinuxsystems): Likewise.
31391 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31392 variants of the GNU system, not "GNU system".
31393 * manual/conf.texi: Likewise.
31394 * manual/errno.texi: Likewise. Update example of errno macro
31395 expansion.
31396 * manual/filesys.texi: Likewise.
31397 (getumask): Document as specific to GNU/Hurd.
31398 * manual/install.texi: Likewise. Reword some references to
31399 GNU/Linux.
31400 * manual/intro.texi: Likewise.
31401 * manual/io.texi: Likewise.
31402 (File Name Portability): Detail which constraints are inapplicable
31403 to all GNU systems and which are only inapplicable to GNU/Hurd.
31404 * manual/job.texi: Likewise.
31405 * manual/llio.texi: Likewise.
31406 (O_NOCTTY): Document as present on GNU/Linux.
31407 * manual/maint.texi: Likewise.
31408 * manual/memory.texi: Likewise.
31409 * manual/pattern.texi: Likewise.
31410 * manual/pipe.texi: Likewise.
31411 * manual/process.texi: Likewise.
31412 * manual/resource.texi: Likewise.
31413 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31414 child on GNU/Hurd.
31415 * manual/setjmp.texi: Likewise.
31416 * manual/signal.texi: Likewise.
31417 * manual/startup.texi: Likewise.
31418 * manual/stdio.texi: Likewise.
31419 * manual/terminal.texi: Likewise.
31420 (ONLCR): Document as POSIX.
31421 (OXTABS): Document availability on GNU/Linux as XTABS.
31422 (ONOEOT): Document availability separately from other bits.
31423 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31424 * manual/time.texi: Likewise.
31425 * manual/users.texi: Likewise.
31426 * INSTALL: Regenerated.
31427 * sysdeps/gnu/errlist.c: Regenerated.
31428
07037eeb
JM
31429 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31430 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31431 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31432 puts.
31433 * configure: Regenerated.
31434
d1d3431a
JM
314352012-03-07 Joseph Myers <joseph@codesourcery.com>
31436
af6a1e37
JM
31437 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31438 default includes instead of AC_HEADER_CHECK.
31439 * sysdeps/i386/configure: Regenerated.
31440
d1d3431a
JM
31441 [BZ #10716]
31442 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31443 * math/s_cacoshf.c (__cacoshf): Likewise.
31444 * math/s_cacoshl.c (__cacoshl): Likewise.
31445 * math/s_casinh.c (__casinh): Set signs of result from argument.
31446 * math/s_casinhf.c (__casinhf): Likewise.
31447 * math/s_casinhl.c (__casinhl): Likewise.
31448 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31449 (casinh_test): Add more tests.
31450 * sysdeps/i386/fpu/libm-test-ulps: Update.
31451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31452
482ff4da
UD
314532012-03-07 Ulrich Drepper <drepper@gmail.com>
31454
872fda05
UD
31455 * po/zh_TW.po: Update from translation team.
31456
a4300c7a
UD
31457 * login/Makefile (distribute): Remove variable.
31458 * catgets/Makefile: Likewise.
31459 * mach/Makefile: Likewise.
31460 * malloc/Makefile: Likewise.
31461 * misc/Makefile: Likewise.
31462 * iconv/Makefile: Likewise.
31463 * nscd/Makefile: Likewise.
31464 * hurd/Makefile: Likewise.
31465 * manual/Makefile: Likewise.
31466 * locale/Makefile: Likewise.
31467 * intl/Makefile: Likewise.
31468 * conform/Makefile: Likewise.
31469 * nss/Makefile: Likewise.
31470 * time/Makefile: Likewise.
31471 * soft-fp/Makefile: Likewise.
31472 * dirent/Makefile: Likewise.
31473 * gmon/Makefile: Likewise.
31474 * po/Makefile: Likewise.
31475 * rt/Makefile: Likewise.
31476 * socket/Makefile: Likewise.
31477 * math/Makefile: Likewise.
31478 * signal/Makefile: Likewise.
31479 * debug/Makefile: Likewise.
31480 * elf/Makefile: Likewise.
31481 * timezone/Makefile: Likewise.
31482 * stdlib/Makefile: Likewise.
31483 * iconvdata/Makefile: Likewise.
31484 * sunrpc/Makefile: Likewise.
31485 * io/Makefile: Likewise.
31486 * argp/Makefile: Likewise.
31487 * inet/Makefile: Likewise.
31488 * hesiod/Makefile: Likewise.
31489 * grp/Makefile: Likewise.
31490 * csu/Makefile: Likewise.
31491 * wctype/Makefile: Likewise.
31492 * crypt/Makefile: Likewise.
31493 * libio/Makefile: Likewise.
31494 * string/Makefile: Likewise.
31495 * nis/Makefile: Likewise.
31496 * resolv/Makefile: Likewise.
31497 * stdio-common/Makefile: Likewise.
31498 * wcsmbs/Makefile: Likewise.
31499 * dlfcn/Makefile: Likewise.
31500 * posix/Makefile: Likewise.
31501
3b7c4e74 31502 [BZ #6959]
482ff4da
UD
31503 * timezone/Makefile: Don't install timezone files, just the programs
31504 and scripts.
31505
f72ed77d
UD
315062012-03-06 Ulrich Drepper <drepper@gmail.com>
31507
a000466f
UD
31508 * nss/databases.def: Add missing gshadow entry.
31509
f72ed77d
UD
31510 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31511
a53b7a4e
MP
315122012-03-06 Marek Polacek <polacek@redhat.com>
31513
31514 [BZ #13726]
31515 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31516 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31517 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31518 * stdio-common/tst-long-dbl-fphex.c: New file.
31519
e9258400
DM
315202012-03-06 David S. Miller <davem@davemloft.net>
31521
31522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31523 (set_obp_int): New function.
31524 (get_obp_int): New function.
31525 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
31526 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31527 Avoid unused variable warnings on 'val' and use builtin_expect.
31528 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31529 __builtin_expect.
e9258400
DM
31530 (INLINE_CLONE_SYSCALL): Likewise.
31531
3bd2c723
DM
315322012-03-05 David S. Miller <davem@davemloft.net>
31533
31534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31535
bbb78d03
AS
315362012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31537
884c5db4
AS
31538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31539
bbb78d03
AS
31540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31541 only for |x| >= 40.
31542 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31543
1c9f702a 315442012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
31545
31546 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31547 Replace gettimeofday with __vdso_gettimeofday.
31548
7be16f82
RM
31549 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31550 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31551 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
31552
31553 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31554 time with __vdso_time.
31555
ed58a00f
JM
315562012-03-05 Joseph Myers <joseph@codesourcery.com>
31557
31558 * manual/lang.texi (size_t): Note types to which size_t may be
31559 equivalent with the GNU C Library, but do not describe when
31560 differences between them are significant.
31561
30ee4ced
AJ
315622012-03-05 Andreas Jaeger <aj@suse.de>
31563
31564 * sysdeps/i386/fpu/libm-test-ulps: Update.
31565
b7cd39e8
JM
315662012-03-05 Joseph Myers <joseph@codesourcery.com>
31567
31568 [BZ #3976]
31569 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31570 (__ieee754_pow): Save and restore rounding mode and use
31571 round-to-nearest for main computations.
31572 * math/libm-test.inc (pow_test_tonearest): New function.
31573 (pow_test_towardzero): Likewise.
31574 (pow_test_downward): Likewise.
31575 (pow_test_upward): Likewise.
31576 (main): Call the new functions.
31577 * sysdeps/i386/fpu/libm-test-ulps: Update.
31578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
31579
31580 [BZ #3976]
31581 * math/libm-test.inc (cosh_test_tonearest): New function.
31582 (cosh_test_towardzero): Likewise.
31583 (cosh_test_downward): Likewise.
31584 (cosh_test_upward): Likewise.
31585 (sinh_test_tonearest): Likewise.
31586 (sinh_test_towardzero): Likewise.
31587 (sinh_test_downward): Likewise.
31588 (sinh_test_upward): Likewise.
31589 (main): Call the new functions.
31590 * sysdeps/i386/fpu/libm-test-ulps: Update.
31591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31592
6c6a98c9
TV
315932012-03-05 Tom de Vries <tom@codesourcery.com>
31594
31595 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31596 default stack guard is set in last bytes.
31597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31598
21bb2d2e 315992012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 31600
21bb2d2e 31601 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 31602
21bb2d2e
AJ
31603 [BZ #13656]
31604 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31605 possibly allocate from heap instead of stack.
31606 * stdio-common/bug-vfprintf-nargs.c: New file.
31607 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 31608
c6922934
AS
316092012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31610
31611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31612
bc957d53
MP
316132012-03-03 Marek Polacek <polacek@redhat.com>
31614
31615 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31616 * math/math_private.h: Likewise.
31617 * stdlib/tst-strtod.c: Likewise.
31618 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31619 * sysdeps/x86_64/bits/atomic.h: Likewise.
31620
6358490d
DM
316212012-03-02 David S. Miller <davem@davemloft.net>
31622
31623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31627 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31628 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31629 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31630 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31631
01ae168d
RM
316322012-03-02 Roland McGrath <roland@hack.frob.com>
31633
d9a17c07
RM
31634 [BZ #13792]
31635 * manual/examples/README: New file, says the example source files
31636 can be used under GPL>=2.
31637 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31638 line containing just "*/".
31639 * manual/examples/add.c: Add copyright header (GPL>=2).
31640 * manual/examples/argp-ex1.c: Likewise.
31641 * manual/examples/argp-ex2.c: Likewise.
31642 * manual/examples/argp-ex3.c: Likewise.
31643 * manual/examples/argp-ex4.c: Likewise.
31644 * manual/examples/atexit.c: Likewise.
31645 * manual/examples/db.c: Likewise.
31646 * manual/examples/dir.c: Likewise.
31647 * manual/examples/dir2.c: Likewise.
31648 * manual/examples/execinfo.c: Likewise.
31649 * manual/examples/filecli.c: Likewise.
31650 * manual/examples/filesrv.c: Likewise.
31651 * manual/examples/fmtmsgexpl.c: Likewise.
31652 * manual/examples/genpass.c: Likewise.
31653 * manual/examples/inetcli.c: Likewise.
31654 * manual/examples/inetsrv.c: Likewise.
31655 * manual/examples/isockad.c: Likewise.
31656 * manual/examples/longopt.c: Likewise.
31657 * manual/examples/memopen.c: Likewise.
31658 * manual/examples/memstrm.c: Likewise.
31659 * manual/examples/mkfsock.c: Likewise.
31660 * manual/examples/mkisock.c: Likewise.
31661 * manual/examples/mygetpass.c: Likewise.
31662 * manual/examples/pipe.c: Likewise.
31663 * manual/examples/popen.c: Likewise.
31664 * manual/examples/rprintf.c: Likewise.
31665 * manual/examples/search.c: Likewise.
31666 * manual/examples/select.c: Likewise.
31667 * manual/examples/setjmp.c: Likewise.
31668 * manual/examples/sigh1.c: Likewise.
31669 * manual/examples/sigusr.c: Likewise.
31670 * manual/examples/stpcpy.c: Likewise.
31671 * manual/examples/strdupa.c: Likewise.
31672 * manual/examples/strftim.c: Likewise.
31673 * manual/examples/strncat.c: Likewise.
31674 * manual/examples/subopt.c: Likewise.
31675 * manual/examples/swapcontext.c: Likewise.
31676 * manual/examples/termios.c: Likewise.
31677 * manual/examples/testopt.c: Likewise.
31678 * manual/examples/testpass.c: Likewise.
31679 * manual/examples/timeval_subtract.c: Likewise.
31680
01ae168d
RM
31681 [BZ #13792]
31682 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31683 function to ...
31684 * manual/timeval_subtract.c.texi: ... here, new file.
31685
49efa33d
DM
316862012-03-02 David S. Miller <davem@davemloft.net>
31687
31688 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31689
28afd92d
JM
316902012-03-02 Joseph Myers <joseph@codesourcery.com>
31691
804360ed
JM
31692 [BZ #3976]
31693 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31694 (__sin): Save and restore rounding mode and use round-to-nearest
31695 for all computations.
31696 (__cos): Save and restore rounding mode and use round-to-nearest
31697 for all computations.
31698 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31699 <fenv.h>.
31700 (tan): Save and restore rounding mode and use round-to-nearest for
31701 all computations.
31702 * math/libm-test.inc (cos_test_tonearest): New function.
31703 (cos_test_towardzero): Likewise.
31704 (cos_test_downward): Likewise.
31705 (cos_test_upward): Likewise.
31706 (sin_test_tonearest): Likewise.
31707 (sin_test_towardzero): Likewise.
31708 (sin_test_downward): Likewise.
31709 (sin_test_upward): Likewise.
31710 (tan_test_tonearest): Likewise.
31711 (tan_test_towardzero): Likewise.
31712 (tan_test_downward): Likewise.
31713 (tan_test_upward): Likewise.
31714 (main): Call the new functions.
31715 * sysdeps/i386/fpu/libm-test-ulps: Update.
31716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31717
a6d06d7b
JM
31718 [BZ #10135]
31719 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31720 small n, then large n, before computing and testing k+n.
31721 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31723 Likewise.
31724 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31725 Likewise.
31726 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31727 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31729 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31732 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31733 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31734 * math/libm-test.inc (scalbn_test): Add more tests.
31735 (scalbln_test): Likewise.
31736
07e12bb3
JM
31737 * manual/filesys.texi (mode_t): Describe constraints on size and
31738 signedness, not exact equivalence to a particular type.
31739 (ino_t): Likewise.
31740 (ino64_t): Likewise.
31741 (dev_t): Likewise.
31742 (nlink_t): Likewise.
31743 (blkcnt_t): Likewise.
31744 (blkcnt64_t): Likewise.
31745 * manual/llio.texi (off_t): Likewise.
31746
28afd92d
JM
31747 [BZ #3976]
31748 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31749 (__ieee754_exp): Save and restore rounding mode and use
31750 round-to-nearest for all computations.
31751 * math/libm-test.inc (exp_test_tonearest): New function.
31752 (exp_test_towardzero): Likewise.
31753 (exp_test_downward): Likewise.
31754 (exp_test_upward): Likewise.
31755 (main): Call the new functions.
31756 * sysdeps/i386/fpu/libm-test-ulps: Update.
31757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31758
b1eeb65d
CD
317592012-03-01 Chris Demetriou <cgd@google.com>
31760
31761 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31762 have predictable order.
31763
53362a4b
DM
317642012-03-01 David S. Miller <davem@davemloft.net>
31765
3c969083
DM
31766 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31767
759707de
DM
31768 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31769 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31770 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31771 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31772
dfdb8ff2
DM
31773 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31774 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31775 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31777 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31778 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31779 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31780 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31781 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31782
ead89f96
DM
31783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31784
7f66bd07
DM
31785 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31786 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31787 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31788
53362a4b
DM
31789 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31790 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31791 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31792 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31793 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31795 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31796 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31797 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31798 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31799 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31800 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31802 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31803 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31805 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31806 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31807 * sysdeps/sparc/elf/configure: Regenerated.
31808
7b1902cb
JM
318092012-03-01 Joseph Myers <joseph@codesourcery.com>
31810
bec039bc
JM
31811 * configure.in (AS, LD): Require binutils 2.20 or later.
31812 * configure: Regenerated.
31813 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31814 as required minimum version.
31815 * INSTALL: Regenerated.
31816
7b1902cb
JM
31817 [BZ #2541]
31818 [BZ #4108]
31819 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31820 before squaring exponent.
31821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31822 bottom long double and 27 bits of top long double before squaring
31823 exponent.
31824 * math/libm-test.inc (erfc_test): Add more tests.
31825 * sysdeps/i386/fpu/libm-test-ulps: Update.
31826 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31828
f775c276
KT
318292012-03-01 Kai Tietz <ktietz@redhat.com>
31830
31831 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31832 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31833 containing bit-fields.
31834 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31835 * soft-fp/single.h (_FP_UNION_S): Likewise.
31836 * soft-fp/double.h (_FP_UNION_D): Likewise.
31837
5b8a4d4a
JM
318382012-02-29 Joseph Myers <joseph@codesourcery.com>
31839
0bab47b6
JM
31840 [BZ #13786]
31841 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31842 not include ../strcmp.S.
31843 [USE_AS_STRNCASECMP_L]: Likewise.
31844 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31845 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31846 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31847 (__strncasecmp_l_ia32): Define as alias to
31848 __strncasecmp_l_nonascii.
31849
0fcad3e2
JM
31850 [BZ #5794]
31851 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31852 * sysdeps/i386/fpu/libm-test-ulps: Update.
31853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31854
5b8a4d4a
JM
31855 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31857
8fdceb2e
JL
318582012-02-29 Jeff Law <law@redhat.com>
31859
31860 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31861 out of bounds read.
31862
1f393a11
MP
318632012-02-29 Marek Polacek <polacek@redhat.com>
31864
31865 [BZ #13706]
31866 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31867 * elf/Makefile: Add rules to run tst-unused-dep.out.
31868
8847f037
DM
318692012-02-28 David S. Miller <davem@davemloft.net>
31870
31871 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31872 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31875 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31876 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31877
169d7f11
JM
318782012-02-29 Joseph Myers <joseph@codesourcery.com>
31879
31880 * math/libm-test.inc (llround_test): Move one test from
31881 lround_test. Use TEST_f_L in moved test.
31882 (lround_test): Move misplaced test to llround_test. Add testcase
31883 from bug 2561.
31884
39adf059
UD
318852012-02-28 Ulrich Drepper <drepper@gmail.com>
31886
31887 * sysdeps/x86_64/fpu/e_expf.S: New file.
31888 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31889
71b5d1c5
SB
318902012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31891
31892 [BZ #13637]
31893 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31894 of remain_len that may cause incomplete multi-byte character and
31895 false match.
31896 * posix/bug-regex33.c: New file.
31897 * posix/Makefile (tests): Add bug-regex33.
31898
1f77f049
JM
318992012-02-28 Joseph Myers <joseph@codesourcery.com>
31900
31901 * manual/macros.texi: New file.
31902 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31903 * manual/libc.texinfo: Include macros.texi.
31904 * manual/creatute.texi: Likewise.
31905 * manual/install.texi: Likewise.
31906 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31907 @glibcadj{} in references to the GNU C Library.
31908 * manual/charset.texi: Likewise.
31909 * manual/conf.texi: Likewise.
31910 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31911 when not using those macros.
31912 * manual/creature.texi: Likewise.
31913 * manual/crypt.texi: Likewise.
31914 * manual/errno.texi: Likewise.
31915 * manual/filesys.texi: Likewise.
31916 * manual/header.texi: Likewise.
31917 * manual/install.texi: Likewise.
31918 * manual/intro.texi: Likewise.
31919 * manual/io.texi: Likewise.
31920 * manual/job.texi: Likewise.
31921 * manual/lang.texi: Likewise.
31922 * manual/libc.texiinfo: Likewise.
31923 * manual/llio.texi: Likewise.
31924 * manual/locale.texi: Likewise.
31925 * manual/maint.texi: Likewise.
31926 * manual/math.texi: Likewise.
31927 * manual/memory.texi: Likewise.
31928 * manual/message.texi: Likewise.
31929 * manual/nss.texi: Likewise.
31930 * manual/pattern.texi: Likewise.
31931 * manual/process.texi: Likewise.
31932 * manual/resource.texi: Likewise.
31933 * manual/search.texi: Likewise.
31934 * manual/setjmp.texi: Likewise.
31935 * manual/signal.texi: Likewise.
31936 * manual/socket.texi: Likewise.
31937 * manual/startup.texi: Likewise.
31938 * manual/stdio.texi: Likewise.
31939 * manual/string.texi: Likewise.
31940 * manual/sysinfo.texi: Likewise.
31941 * manual/syslog.texi: Likewise.
31942 * manual/terminal.texi: Likewise.
31943 * manual/time.texi: Likewise.
31944 * manual/users.texi: Likewise.
31945 * INSTALL: Regenerated.
31946 * NOTES: Regenerated.
d40c5d54 31947 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31948
450bf206
AS
319492012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31950
31951 * include/dirent.h: Include <dirstream.h> before
31952 <dirent/dirent.h>.
31953
741a235b
DM
319542012-02-28 David S. Miller <davem@davemloft.net>
31955
31956 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31957 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31958 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31959 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31960
d6b5aa58
DM
319612012-02-27 David S. Miller <davem@davemloft.net>
31962
1aff59a3
DM
31963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31965 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31966 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31967
d6b5aa58
DM
31968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31969 frame pointer instead of stack pointer relative arg slot.
31970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31971 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31972 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31973
433f48bf
CD
319742012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31975
31976 [BZ #3992]
31977 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31978
d674b76d
DM
319792012-02-27 David S. Miller <davem@davemloft.net>
31980
31981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31985 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31986 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31987 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31988 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31989
0e7727f7
JM
319902012-02-27 Joseph Myers <joseph@codesourcery.com>
31991
31992 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31993 later. Allow versions 5-9.
43be4ca2 31994 * configure: Regenerated.
0e7727f7
JM
31995 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31996 required minimum version and 4.6 as recommended version. Do not
31997 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31998 * INSTALL: Regenerated.
0e7727f7 31999
a78bc654
DM
320002012-02-27 David S. Miller <davem@davemloft.net>
32001
428d5830
DM
32002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
32003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
32004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
32005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
32006 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
32007 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
32008 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
32009 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
32010
a78bc654
DM
32011 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
32012 manipulate bits before adding and subtracting TWO112[sx].
32013 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32014
4579f81c
RM
320152012-02-27 Roland McGrath <roland@hack.frob.com>
32016
36c8acb4
RM
32017 [BZ #13775]
32018 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
32019 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
32020 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
32021 being in POSIX, because they are in 1003.1-2008.
32022
84ad622b
RM
32023 * rt/tst-aio.c: Include <fcntl.h>.
32024 * rt/tst-aio7.c: Likewise.
32025 * rt/tst-aio64.c: Likewise.
32026
4579f81c
RM
32027 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
32028
abd923db
JM
320292012-02-27 Joseph Myers <joseph@codesourcery.com>
32030
32031 * manual/install.texi (--with-headers): Describe headers as
32032 interface headers, not private headers.
32033 (Specific advice for GNU/Linux systems): Describe use of headers
32034 from "make headers_install", not private headers from older
32035 kernels.
43be4ca2 32036 * INSTALL: Regenerated.
abd923db
JM
32037 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
32038 Change to 2.6.19.
32039 * sysdeps/unix/sysv/linux/configure: Regenerated.
32040
6664049b
JM
32041 * manual/llio.texi (fclean): Remove documentation.
32042
bb8b6697
JM
32043 * manual/Makefile (libc-texi-generated): New variable. Include
32044 version.texi.
32045 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
32046 $(libc-texi-generated), not duplicated list of files.
32047 (version.texi, stamp-version): New rules.
32048 (realclean): Remove $(libc-texi-generated), not individual files
32049 from that list. Do not remove dir-add.texinfo.
32050 * manual/libc.texinfo: Comment out uses of edition numbers and
32051 references to printed manual. Remove last-updated dates.
32052 (EDITION): Comment out.
32053 (ISBN): Likewise.
32054 (VERSION, UPDATED): Remove.
32055 (version.texi): Include.
32056
12e5c3b9
AS
320572012-02-27 Andreas Schwab <schwab@linux-m68k.org>
32058
32059 * sysdeps/posix/spawni.c: Include <signal.h>.
32060 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
32061 * sysdeps/pthread/aio_fsync.c: Likewise.
32062
4efeffc1 320632012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 32064
ba63ba08
UD
32065 * conform/Makefile (tests): Run only when not cross-compiling and
32066 when fast-check is not defined.
32067
d94a4670
UD
32068 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
32069 * conform/data/limits.h-data: Fixes for POSIX2008.
32070 * conform/run-conformtest.sh: Run all tests.
32071 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
32072 headers.
32073 * include/bits/dlfcn.h: Likewise.
32074 * include/langinfo.h: Likewise.
32075 * include/monetary.h: Likewise.
32076 * include/sys/poll.h: Likewise.
32077
32078 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
32079 for __USE_GNU.
32080 * posix/spawn.h: Define __need_sigset_t.
32081 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
32082 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
32083 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
32084 to get sigevent_t only.
32085 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
32086 only for __USE_GNU.
32087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32088 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32089 process_vm_writev only for __USE_GNU.
32090 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
32091
32092 * conform/Makefile: For now ignore errors from run-conformtest.
32093 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
32094 POSIX to avoid namespace pollution. Don't prepend headers.
32095 * conform/data/aio.h-data: Fixes for POSIX testing.
32096 * conform/data/fcntl.h-data: Likewise.
32097 * conform/data/glob.h-data: Likewise.
32098 * conform/data/grp.h-data: Likewise.
32099 * conform/data/pthread.h-data: Likewise.
32100 * conform/data/pwd.h-data: Likewise.
32101 * conform/data/signal.h-data: Likewise.
32102 * conform/data/spawn.h-data: Likewise.
32103 * conform/data/stdio.h-data: Likewise.
32104 * conform/data/stdlib.h-data: Likewise.
32105 * conform/data/stropts.h-data: Likewise.
32106 * conform/data/sys/mman.h-data: Likewise.
32107 * conform/data/sys/stat.h-data: Likewise.
32108 * conform/data/sys/types.h-data: Likewise.
32109 * conform/data/sys/wait.h-data: Likewise.
32110 * conform/data/time.h-data: Likewise.
32111 * conform/data/unistd.h-data: Likewise.
32112 * conform/data/utime.h-data: Likewise.
32113
32114 * io/sys/stat.h: fchmod was always in POSIX.
32115 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
32116 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
32117 * rt/aio.h: Define __need_timespec before including <time.h>.
32118 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
32119 struct. Add forward declaration of pthread_attr_t and use it in
32120 sigevent.
32121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32122 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32123 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
32124 always remove CLK_TCK definition.
32125
c20105c3
AS
321262012-02-26 Andreas Schwab <schwab@linux-m68k.org>
32127
32128 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
32129
7a270350
UD
321302012-02-25 Ulrich Drepper <drepper@gmail.com>
32131
31341567
UD
32132 * conform/run-conformtest.sh: New file.
32133 * conform/Makefile: Run run-conformtest for tests.
32134 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
32135 support.
32136
32137 * conform/data/uchar.h-data: New file.
32138 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32139 * conform/data/arpa/inet.h-data: Likewise.
32140 * conform/data/assert.h-data: Likewise.
32141 * conform/data/complex.h-data: Likewise.
32142 * conform/data/cpio.h-data: Likewise.
32143 * conform/data/ctype.h-data: Likewise.
32144 * conform/data/dirent.h-data: Likewise.
32145 * conform/data/dlfcn.h-data: Likewise.
32146 * conform/data/errno.h-data: Likewise.
32147 * conform/data/fcntl.h-data: Likewise.
32148 * conform/data/float.h-data: Likewise.
32149 * conform/data/fmtmsg.h-data: Likewise.
32150 * conform/data/fnmatch.h-data: Likewise.
32151 * conform/data/ftw.h-data: Likewise.
32152 * conform/data/glob.h-data: Likewise.
32153 * conform/data/grp.h-data: Likewise.
32154 * conform/data/iconv.h-data: Likewise.
32155 * conform/data/inttypes.h-data: Likewise.
32156 * conform/data/langinfo.h-data: Likewise.
32157 * conform/data/libgen.h-data: Likewise.
32158 * conform/data/limits.h-data: Likewise.
32159 * conform/data/locale.h-data: Likewise.
32160 * conform/data/math.h-data: Likewise.
32161 * conform/data/monetary.h-data: Likewise.
32162 * conform/data/mqueue.h-data: Likewise.
32163 * conform/data/ndbm.h-data: Likewise.
32164 * conform/data/net/if.h-data: Likewise.
32165 * conform/data/netdb.h-data: Likewise.
32166 * conform/data/netinet/in.h-data: Likewise.
32167 * conform/data/nl_types.h-data: Likewise.
32168 * conform/data/poll.h-data: Likewise.
32169 * conform/data/pthread.h-data: Likewise.
32170 * conform/data/pwd.h-data: Likewise.
32171 * conform/data/regex.h-data: Likewise.
32172 * conform/data/sched.h-data: Likewise.
32173 * conform/data/search.h-data: Likewise.
32174 * conform/data/semaphore.h-data: Likewise.
32175 * conform/data/setjmp.h-data: Likewise.
32176 * conform/data/signal.h-data: Likewise.
32177 * conform/data/spawn.h-data: Likewise.
32178 * conform/data/stdarg.h-data: Likewise.
32179 * conform/data/stdio.h-data: Likewise.
32180 * conform/data/stdlib.h-data: Likewise.
32181 * conform/data/string.h-data: Likewise.
32182 * conform/data/strings.h-data: Likewise.
32183 * conform/data/stropts.h-data: Likewise.
32184 * conform/data/sys/ipc.h-data: Likewise.
32185 * conform/data/sys/mman.h-data: Likewise.
32186 * conform/data/sys/msg.h-data: Likewise.
32187 * conform/data/sys/resource.h-data: Likewise.
32188 * conform/data/sys/select.h-data: Likewise.
32189 * conform/data/sys/sem.h-data: Likewise.
32190 * conform/data/sys/shm.h-data: Likewise.
32191 * conform/data/sys/socket.h-data: Likewise.
32192 * conform/data/sys/stat.h-data: Likewise.
32193 * conform/data/sys/statvfs.h-data: Likewise.
32194 * conform/data/sys/time.h-data: Likewise.
32195 * conform/data/sys/timeb.h-data: Likewise.
32196 * conform/data/sys/times.h-data: Likewise.
32197 * conform/data/sys/types.h-data: Likewise.
32198 * conform/data/sys/uio.h-data: Likewise.
32199 * conform/data/sys/un.h-data: Likewise.
32200 * conform/data/sys/utsname.h-data: Likewise.
32201 * conform/data/sys/wait.h-data: Likewise.
32202 * conform/data/syslog.h-data: Likewise.
32203 * conform/data/tar.h-data: Likewise.
32204 * conform/data/termios.h-data: Likewise.
32205 * conform/data/utime.h-data: Likewise.
32206 * conform/data/utmpx.h-data: Likewise.
32207 * conform/data/varargs.h-data: Likewise.
32208 * conform/data/wchar.h-data: Likewise.
32209 * conform/data/wctype.h-data: Likewise.
32210 * conform/data/wordexp.h-data: Likewise.
32211
32212 * include/stropts.h: New file.
32213 * include/uchar.h: New file.
32214 * include/aio.h: Changes to allow conformtest.pl to use the headers.
32215 * include/assert.h: Likewise.
32216 * include/ctype.h: Likewise.
32217 * include/dirent.h: Likewise.
32218 * include/dlfcn.h: Likewise.
32219 * include/fcntl.h: Likewise.
32220 * include/fnmatch.h: Likewise.
32221 * include/glob.h: Likewise.
32222 * include/grp.h: Likewise.
32223 * include/libio.h: Likewise.
32224 * include/locale.h: Likewise.
32225 * include/math.h: Likewise.
32226 * include/net/if.h: Likewise.
32227 * include/netdb.h: Likewise.
32228 * include/netinet/in.h: Likewise.
32229 * include/pthread.h: Likewise.
32230 * include/pwd.h: Likewise.
32231 * include/regex.h: Likewise.
32232 * include/sched.h: Likewise.
32233 * include/search.h: Likewise.
32234 * include/setjmp.h: Likewise.
32235 * include/signal.h: Likewise.
32236 * include/stdio.h: Likewise.
32237 * include/stdlib.h: Likewise.
32238 * include/string.h: Likewise.
32239 * include/sys/cdefs.h: Likewise.
32240 * include/sys/mman.h: Likewise.
32241 * include/sys/msg.h: Likewise.
32242 * include/sys/resource.h: Likewise.
32243 * include/sys/select.h: Likewise.
32244 * include/sys/socket.h: Likewise.
32245 * include/sys/stat.h: Likewise.
32246 * include/sys/statvfs.h: Likewise.
32247 * include/sys/time.h: Likewise.
32248 * include/sys/times.h: Likewise.
32249 * include/sys/uio.h: Likewise.
32250 * include/sys/utsname.h: Likewise.
32251 * include/sys/wait.h: Likewise.
32252 * include/termios.h: Likewise.
32253 * include/time.h: Likewise.
32254 * include/ulimit.h: Likewise.
32255 * include/unistd.h: Likewise.
32256 * include/utime.h: Likewise.
32257 * include/wchar.h: Likewise.
32258 * include/wctype.h: Likewise.
32259 * include/wordexp.h: Likewise.
32260
32261 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32262
7a270350
UD
32263 * time/time.h: TIME_UTC must be a macro.
32264 Make timespec_get available for ISO C11 only as well.
32265
7724defc
UD
322662012-02-24 Ulrich Drepper <drepper@gmail.com>
32267
32268 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32269 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32270
6b1d1d46
JM
322712012-02-24 Joseph Myers <joseph@codesourcery.com>
32272
32273 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 32274
0f8bbd69
JM
322752012-02-24 Joseph Myers <joseph@codesourcery.com>
32276
32277 * manual/texinfo.tex: Update to version 2012-01-19.16.
32278
66ab80bc
JM
322792012-02-24 Joseph Myers <joseph@codesourcery.com>
32280
32281 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32282
74981cc5
RM
322832012-02-24 Roland McGrath <roland@hack.frob.com>
32284
ee968201
RM
32285 [BZ #13738]
32286 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32287 * manual/fdl-1.3.texi: New file.
32288 * manual/fdl-1.1.texi: File removed.
32289
74981cc5
RM
32290 [BZ #13738]
32291 * manual/libc.texinfo (FDL_VERSION): New @set.
32292 Use it for mention of FDL in cover text.
32293 (Documentation License): Use it in @include file name.
32294
7bb764bc
JM
322952012-02-22 Joseph Myers <joseph@codesourcery.com>
32296 Roland McGrath <roland@hack.frob.com>
32297
32298 [BZ #5461]
32299 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32300 not LONG_LONG_MAX and LONG_LONG_MIN.
32301 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32302 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32303 name.
32304 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32305
6cbeae47
JM
323062012-02-22 Joseph Myers <joseph@codesourcery.com>
32307
32308 [BZ #2547]
32309 [BZ #11365]
32310 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32311 manipulate bits before adding and subtracting TWO23[sx].
32312 * math/libm-test.inc (nearbyint_test): Add more tests.
32313
fe45ce09
JM
323142012-02-22 Joseph Myers <joseph@codesourcery.com>
32315
32316 [BZ #2548]
32317 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32318 bits before adding and subtracting TWO23[sx].
32319 * math/libm-test.inc (rint_test): Add more tests.
32320 (rint_test_tonearest): Likewise.
32321 (rint_test_towardzero): Likewise.
32322 (rint_test_downward): Likewise.
32323 (rint_test_upward: Likewise.
32324
ff3b3d82
JM
323252012-02-22 Joseph Myers <joseph@codesourcery.com>
32326
32327 [BZ #10110]
32328 * include/stdc-predef.h: New file. Extracted from features.h.
32329 * include/features.h: Include stdc-predef.h.
32330 * Makefile (headers): Add stdc-predef.h.
32331 * CONFORMANCE (Compiler limitations): Update.
32332
ef0aab35
JM
323332012-02-22 Joseph Myers <joseph@codesourcery.com>
32334
32335 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32336
58639409
DM
323372012-02-21 David S. Miller <davem@davemloft.net>
32338
32339 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32340 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32341
c0e70b25
DM
323422012-02-20 David S. Miller <davem@davemloft.net>
32343
32344 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32345 using a normal save/restore sequence, rather than allocating a
32346 dummy stack frame just to store a frame pointer and restore.
32347 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32348
fb06851d
JM
323492012-02-21 Joseph Myers <joseph@codesourcery.com>
32350
32351 * manual/install.texi: Fix stray word in line-wrapped comment.
32352
7a8b71c3
DM
323532012-02-20 David S. Miller <davem@davemloft.net>
32354
d510c123
DM
32355 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32356 both binutils and gcc support GOTDATA.
32357
0722d7c2
DM
32358 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32359 "rd %pc" in the PIC register setup sequences.
32360
3d2b3019
DM
32361 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32362 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32363 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32364 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32365 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32367 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32368 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32370 (SYSCALL_ERROR_HANDLER): Likewise.
32371 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32372 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32374 (SYSCALL_ERROR_HANDLER): Likewise.
32375
c80098a9
DM
32376 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32377 (HAVE_GCC_GOTDATA): New.
32378 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32379 relocation support in both binutils and gcc.
32380 * sysdeps/sparc/elf/configure: Regenerate.
32381
3a2545a0
DM
32382 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32383 * sysdeps/sparc/sparc32/elf/configure: Delete.
32384 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32385 * sysdeps/sparc/sparc64/elf/configure: Delete.
32386 * sysdeps/sparc/elf/configure.in: New file.
32387 * sysdeps/sparc/elf/configure: Generate.
32388
7a8b71c3
DM
32389 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32390 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32391 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32392 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32393 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32394
f1e86fca
JM
323952012-02-21 Joseph Myers <joseph@codesourcery.com>
32396
32397 * manual/install.texi: Do not mention specific glibc version
32398 numbers.
32399 * manual/libc.texinfo (VERSION, UPDATED): Update.
32400 (@copying): Use @copyright{} and range of years.
32401
0e7dfaef
JM
324022012-02-21 Joseph Myers <joseph@codesourcery.com>
32403
32404 [BZ #13695]
32405 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32406 [crti.S not in sysdirs] (generated): Do not append.
32407 [crti.S not in sysdirs] (omit-deps): Likewise.
32408 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32409 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32410 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32411 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32412 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32413 Likewise.
32414 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32415 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32416 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32417 * csu/defs.awk: Remove file.
32418 * sysdeps/generic/initfini.c: Likewise.
32419 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32420 variable.
32421 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32422 Likewise.
32423
599af3ca
JM
324242012-02-20 Joseph Myers <joseph@codesourcery.com>
32425
32426 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32427 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32428 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32429 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32430 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32431 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32432 <bits/epoll.h>.
32433 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32434 (__EPOLL_PACKED): Define to empty if not defined by
32435 <bits/epoll.h>.
32436 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32438 bits/epoll.h.
32439
0e499750
JM
324402012-02-20 Joseph Myers <joseph@codesourcery.com>
32441
32442 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32443 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32444 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32445 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32446 <bits/timerfd.h>.
32447 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32449 bits/timerfd.h.
32450
5ad91f6e
JM
324512012-02-20 Joseph Myers <joseph@codesourcery.com>
32452
32453 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32454 in C locale.
32455 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32456 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32457 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32459
06b99b02
AJ
324602012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32461
32462 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32463 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32464
7638c0fd
AS
324652012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32466
32467 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32468 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32469 defined.
32470 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32471 Likewise.
32472 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32473 entry for 2.16.
32474
92221550
AJ
324752012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32476
32477 * math/w_acos.c: Use non-signaling floating-point comparisons.
32478 * math/w_acosf.c: Likewise.
32479 * math/w_acosh.c: Likewise.
32480 * math/w_acoshf.c: Likewise.
32481 * math/w_acoshl.c: Likewise.
32482 * math/w_acosl.c: Likewise.
32483 * math/w_asin.c: Likewise.
32484 * math/w_asinf.c: Likewise.
32485 * math/w_asinl.c: Likewise.
32486 * math/w_atanh.c: Likewise.
32487 * math/w_atanhf.c: Likewise.
32488 * math/w_atanhl.c: Likewise.
32489 * math/w_exp2.c: Likewise.
32490 * math/w_exp2f.c: Likewise.
32491 * math/w_exp2l.c: Likewise.
32492 * math/w_j0.c: Likewise.
32493 * math/w_j0f.c: Likewise.
32494 * math/w_j0l.c: Likewise.
32495 * math/w_j1.c: Likewise.
32496 * math/w_j1f.c: Likewise.
32497 * math/w_j1l.c: Likewise.
32498 * math/w_jn.c: Likewise.
32499 * math/w_jnf.c: Likewise.
32500 * math/w_log.c: Likewise.
32501 * math/w_log10.c: Likewise.
32502 * math/w_log10f.c: Likewise.
32503 * math/w_log10l.c: Likewise.
32504 * math/w_log2.c: Likewise.
32505 * math/w_log2f.c: Likewise.
32506 * math/w_log2l.c: Likewise.
32507 * math/w_logf.c: Likewise.
32508 * math/w_logl.c: Likewise.
32509 * math/w_sqrt.c: Likewise.
32510 * math/w_sqrtf.c: Likewise.
32511 * math/w_sqrtl.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32515 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32516 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32517
ebaf36eb
JM
325182012-02-19 Joseph Myers <joseph@codesourcery.com>
32519
32520 [BZ #9739]
32521 * manual/string.texi (strnlen): Use correct parameter name in
32522 equivalent expression.
32523
71c254a6
JM
325242012-02-19 Joseph Myers <joseph@codesourcery.com>
32525
32526 [BZ #11174]
32527 * manual/users.texi (seteuid): Consistently use neweuid for
32528 argument name.
32529
16d2c631
JM
325302012-02-19 Joseph Myers <joseph@codesourcery.com>
32531
32532 [BZ #13704]
32533 * manual/nss.texi (Services in the NSS configuration): Correct
32534 list of services in example configuration file.
32535
cd837b09
NB
325362012-02-19 Nick Bowler <nbowler@draconx.ca>
32537
32538 [BZ #11322]
32539 * manual/arith.texi: Remove statements about negative zero
32540 behaving identically to zero.
32541
02c4bbad
JM
325422012-02-18 Joseph Myers <joseph@codesourcery.com>
32543
32544 [BZ #5993]
32545 * manual/install.texi: Do not document upgrading from libc5.
32546
366842e7
JM
325472012-02-18 Joseph Myers <joseph@codesourcery.com>
32548
32549 [BZ #4596]
32550 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32551
dd54084d
DM
325522012-02-18 David S. Miller <davem@davemloft.net>
32553
32554 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32555 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32556 %o7 across the call.
32557 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32558 instead.
32559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32560 SETUP_PIC_REG_LEAF.
32561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32562 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32563 * sysdeps/sparc/crtn.S: Likewise.
32564
2bcc53a3
UD
325652012-02-17 Ulrich Drepper <drepper@gmail.com>
32566
32567 * aout/Makefile: Remove.
32568
09c093b5
RK
325692012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32570
32571 [BZ #13058]
32572 * manual/examples/argp-ex1.c (main): Format definition in GNU
32573 style.
32574 * manual/examples/argp-ex2.c (main): Likewise.
32575 * manual/examples/argp-ex3.c (main): Likewise.
32576 * manual/examples/argp-ex4.c (main): Likewise.
32577 * manual/examples/longopt.c (main): Use new-style prototype
32578 definition.
32579 * manual/examples/strncat.c (main): Specify return type and use
32580 (void) for arguments.
32581 * manual/examples/subopt.c (main): Use char **argv argument.
32582
2ee633a2
JM
325832012-02-17 Joseph Myers <joseph@codesourcery.com>
32584
32585 [BZ #5077]
32586 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32587 rounding modes.
32588
0520adde
FB
325892012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32590
32591 [BZ #6907]
32592 * manual/string.texi (strchr): Change when strchrnul is
32593 recommended.
32594
3f4081cd
DGM
325952012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32596
32597 [BZ #174]
32598 * manual/locale.texi (setlocale): Document LOCPATH.
32599
d1b10e78
JM
326002012-02-17 Joseph Myers <joseph@codesourcery.com>
32601
32602 [BZ #10210]
32603 * manual/process.texi (execle): Move @dots{} before last argument.
32604
79c6869c
PB
326052012-02-17 Paul Bolle <pebolle@tiscali.nl>
32606
32607 [BZ #12047]
32608 * manual/charset.texi (Generic Charset Conversion): Fix typo
32609 (LC_TYPE -> LC_CTYPE).
32610
cc6e48bc
NB
326112012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32612
32613 [BZ #5805]
32614 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32615 (scalbnf): Likewise.
32616 (scalbnl): Likewise.
32617 (scalbln): Likewise.
32618 (scalblnf): Likewise.
32619 (scalblnl): Likewise.
32620 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32621 (vwarnx): Likewise.
32622 (verr): Likewise.
32623 (verrx): Likewise.
32624 * manual/filesys.texi (telldir): Use braces around return type.
32625 * manual/llio.texi (mmap): Add space after comma.
32626 (mmap64): Likewise.
32627 * manual/math.texi (jn): Use @var{} on parameter names.
32628 (jnf): Likewise.
32629 (jnl): Likewise.
32630 (yn): Likewise.
32631 (ynf): Likewise.
32632 (ynl): Likewise.
32633 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32634 line.
32635 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32636 "...".
32637 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32638 (sched_get_priority_max): Likewise.
32639 * manual/signal.texi (sigvec): Add space after comma.
32640 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32641 names.
32642 (if_indextoname): Likewise.
32643 (if_freenameindex): Likewise.
32644 (sendto): Use ',' instead of '.' in prototype.
32645 * manual/startup.texi (syscall): Use @dots{} instead of literal
32646 "...".
32647 * manual/stdio.texi (__fpending): Separate initial words of
32648 paragraph from @deftypefun line.
32649 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32650 "...".
32651 (vsyslog): Use @var{} on parameter names.
32652 * manual/terminal.texi (stty): Use @var{} on parameter names.
32653 * manual/users.texi (getutmp): Use @var{} on parameter names.
32654 (getutmpx): Likewise.
32655
5b23062f
JM
326562012-02-17 Joseph Myers <joseph@codesourcery.com>
32657
32658 [BZ #6884]
32659 * manual/stdio.texi (fopen): Fix typos in description of
32660 ",ccs=STRING".
32661
8dee4833
AJ
326622012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32663
32664 [BZ #4026]
32665 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32666 get clock_id definition.
32667
9078ce93
TS
326682012-02-17 Thomas Schwinge <thomas@schwinge.name>
32669
32670 [BZ #4822]
32671 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32672 (madvise): Cast every argument to void on its own.
32673
3835c55f
JM
326742012-02-17 Joseph Myers <joseph@codesourcery.com>
32675
32676 [BZ #9902]
32677 * manual/startup.texi (Exit Status): Fix typo.
32678
35c47e37
JM
326792012-02-17 Joseph Myers <joseph@codesourcery.com>
32680
32681 [BZ #10140]
32682 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32683 * manual/examples/argp-ex2.c: Likewise.
32684 * manual/examples/argp-ex3.c: Likewise.
32685
e3b69ca7
RH
326862012-02-16 Richard Henderson <rth@redhat.com>
32687
32688 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32689 * sysdeps/s390/s390-32/initfini.c: Remove.
32690 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32691 * sysdeps/s390/s390-64/initfini.c: Remove.
32692
df83af67
KK
326932012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32694
32695 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32696 compiler output for sysdeps/generic/initfini.c.
32697 * sysdeps/sh/elf/initfini.c: Remove file.
32698
f63f3380
DM
326992012-02-16 David S. Miller <davem@davemloft.net>
32700
fb59b3a4
DM
32701 [BZ #11494]
32702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32703
f63f3380
DM
32704 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32705 * sysdeps/sparc/crti.S: New file.
32706 * sysdeps/sparc/crtn.S: New file.
32707 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32708 * sysdeps/sparc/sparc64/Makefile: Likewise.
32709
df6a4a4a
MF
327102012-02-15 Mike Frysinger <vapier@gentoo.org>
32711
6dd8f3dc 32712 [BZ #3335]
df6a4a4a
MF
32713 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32714
1cac7236
RM
327152012-02-15 Roland McGrath <roland@hack.frob.com>
32716
d2c736f8
RM
32717 [BZ #4822]
32718 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32719
1cac7236
RM
32720 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32721 (write, read, close): Likewise.
32722 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32723
8e475601
JM
327242012-02-15 Joseph Myers <joseph@codesourcery.com>
32725
32726 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32727 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32728 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32729 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32730 <bits/signalfd.h>.
32731 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32733 bits/signalfd.h.
32734
ed656b40
MP
327352012-02-14 Marek Polacek <polacek@redhat.com>
32736
32737 * sysdeps/x86_64/crti.S: New file.
32738 * sysdeps/x86_64/crtn.S: New file.
32739 * sysdeps/x86_64/elf/initfini.c: Remove file.
32740
2a979d3a
JM
327412012-02-13 Joseph Myers <joseph@codesourcery.com>
32742
32743 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32744 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32745 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32746 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32747 <bits/inotify.h>.
32748 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32750 bits/inotify.h.
32751
2a418ac3
JM
327522012-02-13 Joseph Myers <joseph@codesourcery.com>
32753
32754 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32755 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32756 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32757 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32758 <bits/eventfd.h>.
32759 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32761 bits/eventfd.h.
32762
fb779be7
TS
327632012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32764
e19e83c5
RM
32765 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32766 __feraiseexcept instead of feraiseexcept.
7c35ffed 32767
fb779be7
TS
32768 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32769 nanosleep invocations.
32770 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32771 strings, and add error checking for a nanosleep invocations.
32772
59ba27a6
PE
327732012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32774
32775 Replace FSF snail mail address with URLs, as per GNU coding standards.
32776 Most of the snail mail addresses were wrong anyway, and omitting
32777 them makes the source code easier to maintain. Almost all of the
32778 changes are to license notices and to locale LC_IDENTIFICATION
32779 addresses, except for this one:
32780 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32781 not its snail mail address.
32782
57b957eb
RH
327832012-02-09 Richard Henderson <rth@twiddle.net>
32784
af850b1c
RH
32785 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32786 of kernel-features.h.
32787
57b957eb
RH
32788 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32789
6b73181a
MP
327902012-02-08 Marek Polacek <polacek@redhat.com>
32791
32792 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32793 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32794 * sysdeps/gnu/_G_config.h: Likewise.
32795 * sysdeps/generic/_G_config.h: Likewise.
32796
26ecc33a
AS
327972012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32798
6c6dbc63
AS
32799 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32800 tests.
32801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32802
e216c012
AS
32803 * sysdeps/powerpc/powerpc32/crti.S: New file.
32804 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32805 * sysdeps/powerpc/powerpc64/crti.S: New file.
32806 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32807
26ecc33a
AS
32808 * Makeconfig (have-initfini): Don't set.
32809 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32810 * configure.in (nopic_initfini): Don't substitute.
32811 * config.h.in (HAVE_INITFINI): Don't #undef.
32812 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32813 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32814
3add8e13
JM
328152012-02-08 Joseph Myers <joseph@codesourcery.com>
32816
32817 Support crti.S and crtn.S provided directly by architectures.
32818 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32819 [crti.S in sysdirs] (omit-deps): Likewise.
32820 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32821 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32822 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32823 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32824 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32825 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32826 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32827 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32828 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32829 compiler output for sysdeps/generic/initfini.c.
32830 * sysdeps/i386/elf/Makefile: Remove file.
32831 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32832
a22f12b4
MP
328332012-02-07 Marek Polacek <polacek@redhat.com>
32834
32835 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32836 * sysdeps/gnu/_G_config.h: Likewise.
32837 * sysdeps/mach/hurd/_G_config.h: Likewise.
32838
148cf100
MP
328392012-02-07 Marek Polacek <polacek@redhat.com>
32840
32841 * math/Makefile (tests): Add tst-CMPLX2.
32842 * math/tst-CMPLX2.c: New file.
32843
cfdc0dd7
AS
328442012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32845
84ba42c4
AS
32846 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32847
cfdc0dd7
AS
32848 * math/libm-test.inc (jn_test): Add missing L suffix.
32849
622c86f4
MP
328502012-02-06 Marek Polacek <polacek@redhat.com>
32851
32852 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32853 * sysdeps/i386/fpu/e_powf.S: Likewise.
32854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32855 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32856 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32857 * sysdeps/i386/fpu/e_pow.S: Likewise.
32858 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32859 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32860 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32861 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32862 * sysdeps/i386/fpu/e_log2.S: Likewise.
32863 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32865 * sysdeps/i386/fpu/e_powl.S: Likewise.
32866 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32867 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32868 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32869 * sysdeps/i386/fpu/e_logl.S: Likewise.
32870 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32871 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32872 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32873 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32874 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32875 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32876 * sysdeps/i386/fpu/e_log.S: Likewise.
32877 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32878 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32879 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32880 * sysdeps/i386/fpu/e_logf.S: Likewise.
32881 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32882 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32883 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32884 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32885 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32886 * sysdeps/i386/fpu/e_log10.S: Likewise.
32887 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32888 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32889 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32890 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32891 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32892 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32893 * sysdeps/i386/asm-syntax.h: Likewise.
32894 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32896 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32897 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32898 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32899 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32900 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32901 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32902 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32903 * sysdeps/powerpc/sysdep.h: Likewise.
32904 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32905 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32906
d4a54ac6
JM
329072012-02-06 Joseph Myers <joseph@codesourcery.com>
32908
32909 [BZ #411]
32910 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32911
314054ea
JM
329122012-02-06 Joseph Myers <joseph@codesourcery.com>
32913
32914 * sysdeps/i386/sysdep.h: Include <features.h>.
32915 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32916 version.
32917
d8e0ca50
JM
329182012-02-05 Joseph Myers <joseph@codesourcery.com>
32919
32920 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32921 Define.
32922 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32923 LOAD_PIC_REG_STR.
32924
b1da7dd9
JM
329252012-02-03 Joseph Myers <joseph@codesourcery.com>
32926
32927 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32928 (SETUP_PIC_REG): Use GET_PC_THUNK.
32929 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32930 macro.
32931
9a1d9254
JM
329322012-02-03 Joseph Myers <joseph@codesourcery.com>
32933
32934 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32935 for non-PIC compilation.
32936 (SETUP_PIC_REG): Add .p2align directive.
32937 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32938 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32939 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32940 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32941 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32942 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32943 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32945 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32946 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32947 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32948 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32949 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32950 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32951 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32952 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32953 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32954 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32955 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32956 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32957 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32958 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32959 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32960 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32961 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32963 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32964 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32965 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32966 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32967 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32968 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32969 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32970 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32971 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32972 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32973 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32974 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32975 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32976 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32977 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32978
65dc3b75
JM
329792012-02-03 Joseph Myers <joseph@codesourcery.com>
32980
32981 * math/tst-CMPLX.c: Include <stdio.h>.
32982
d55bf177
JM
329832012-01-31 Joseph Myers <joseph@codesourcery.com>
32984
32985 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32986 float.
32987 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32988 * sysdeps/sparc/bits/mathdef.h: Likewise.
32989
69db4f8f
MP
329902012-01-31 Marek Polacek <polacek@redhat.com>
32991
32992 * libio/libio.h: Don't define _PARAMS.
32993 * locale/programs/config.h: Don't define PARAMS.
32994 * stdlib/strtol_l.c: Likewise.
32995 (__strtol_l): Remove PARAMS from the prototype.
32996
41b81892
UD
329972012-01-31 Ulrich Drepper <drepper@gmail.com>
32998
3b49edc0
UD
32999 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
33000 names. Just use the correct names. Remove unnecessary wrapper
33001 functions.
33002 * malloc/arena.c: Likewise.
33003 * malloc/hooks.c: Likewise.
33004
41b81892
UD
33005 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
33006 ARENA_TEST says not to. Simplify test for creation of a new arena.
33007 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
33008
27a25b6e
UD
330092012-01-30 Ulrich Drepper <drepper@gmail.com>
33010
33011 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
33012 into tail calls.
33013 (update_get_addr): New function.
33014 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
33015 GET_ADDR_MODULE parameter.
33016
c8a89e7d
JM
330172012-01-30 Joseph Myers <joseph@codesourcery.com>
33018
33019 * crypt/cert.c: Remove __STDC__ conditionals.
33020 * crypt/crypt-entry.c: Likewise.
33021 * crypt/crypt_util.c: Likewise.
33022 * libio/filedoalloc.c: Likewise.
33023 * libio/fileops.c: Likewise.
33024 * libio/genops.c: Likewise.
33025 * libio/iofclose.c: Likewise.
33026 * libio/iofdopen.c: Likewise.
33027 * libio/iofopen.c: Likewise.
33028 * libio/iofopen64.c: Likewise.
33029 * libio/iogetdelim.c: Likewise.
33030 * libio/iopopen.c: Likewise.
33031 * libio/obprintf.c: Likewise.
33032 * libio/oldfileops.c: Likewise.
33033 * libio/oldiofclose.c: Likewise.
33034 * libio/oldiofdopen.c: Likewise.
33035 * libio/oldiofopen.c: Likewise.
33036 * libio/oldiopopen.c: Likewise.
33037 * libio/wfiledoalloc.c: Likewise.
33038 * libio/wgenops.c: Likewise.
33039 * locale/programs/xmalloc.c: Likewise.
33040 * misc/syslog.c: Likewise.
33041 * stdio-common/xbug.c: Likewise.
33042 * string/memchr.c: Likewise.
33043 * string/memcmp.c: Likewise.
33044 * string/memrchr.c: Likewise.
33045 * string/rawmemchr.c: Likewise.
33046 * sysdeps/posix/getcwd.c: Likewise.
33047 * time/strftime_l.c: Likewise.
33048
3b100462
JM
330492012-01-30 Joseph Myers <joseph@codesourcery.com>
33050
33051 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
33052 * config.make.in (config-cflags-sse2avx): Define.
33053 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
33054 Fix typo.
33055
607998af
CM
330562012-01-29 Chris Metcalf <cmetcalf@tilera.com>
33057
33058 * scripts/config.guess: Update from upstream config git repository.
33059 * scripts/config.sub: Likewise.
33060
3601428f
CM
330612012-01-28 Chris Metcalf <cmetcalf@tilera.com>
33062
3ac8b282
CM
33063 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
33064 (EM_NUM): Update.
33065 (R_TILEPRO_*, R_TILEGX_*): New macros.
33066
e034841e
CM
33067 * scripts/firstversions.awk: Fix bug in version range handling.
33068
540d7568
CM
33069 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
33070
3601428f
CM
33071 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
33072
463de862
CM
33073 * include/sys/epoll.h: New file.
33074 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
33075 libc_hidden_def.
33076
73139a76
UD
330772012-01-28 Ulrich Drepper <drepper@gmail.com>
33078
96bc5b45
UD
33079 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
33080 Avoid unnecessary __WORDSIZE == 64 test.
33081 (fmaxf): Use VEX format if possible.
33082 (fmax): Likewise.
33083 (fminf): Likewise.
33084 (fmin): Likewise.
33085
56f6f6a2
UD
33086 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
33087 * math/math_private.h: Remove libc_fegetround* and
33088 libc_fesetround*.
33089 * sysdeps/i386/configure.in: Check for -msse2avx.
33090 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
33091 also if SSE2AVX is defined.
33092 Remove libc_fegetround* and libc_fesetround*.
33093 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
33094 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
33095 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
33096 of HAS_YMM_USABLE.
33097 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33099 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33100 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33101 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33102
73139a76
UD
33103 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
33104
d73f93a4
AZ
331052012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33106
33107 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
33108 size is not set.
33109 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33110
6ee65ed6
UD
331112012-01-27 Ulrich Drepper <drepper@gmail.com>
33112
33113 [BZ #13618]
33114 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
33115 relocation.
33116 * Makeconfig (libm): Define.
33117 * elf/Makefile: Add rules to build and run tst-relsort1.
33118 * elf/tst-relsort1.c: New file.
33119 * elf/tst-relsort1mod1.c: New file.
33120 * elf/tst-relsort1mod2.c: New file.
33121
8db21882
JM
331222012-01-27 Joseph Myers <joseph@codesourcery.com>
33123
33124 * math/s_ldexp.c: Remove __STDC__ conditionals.
33125 * math/s_ldexpf.c: Likewise.
33126 * math/s_ldexpl.c: Likewise.
33127 * math/s_nextafter.c: Likewise.
33128 * math/s_nexttowardf.c: Likewise.
33129 * math/s_significand.c: Likewise.
33130 * math/s_significandf.c: Likewise.
33131 * math/s_significandl.c: Likewise.
33132 * math/w_jnl.c: Likewise.
33133 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33134 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33135 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33136 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33137 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33138 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33152 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33153 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33154 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33155 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33156 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33157 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33158 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33159 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33160 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33161 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33162 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33163 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33164 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33165 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33166 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33167 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33168 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33169 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33170 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33171 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33172 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33173 * sysdeps/ieee754/k_standard.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33248 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33249 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33253 * sysdeps/ieee754/s_matherr.c: Likewise.
33254 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33255 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33258
965a54a4
JM
332592012-01-26 Joseph Myers <joseph@codesourcery.com>
33260
33261 * crypt/md5.h: Remove __STDC__ conditionals.
33262 * libio/libioP.h: Likewise.
33263 * locale/programs/config.h: Likewise.
33264 * sysdeps/generic/sysdep.h: Likewise.
33265 * sysdeps/i386/asm-syntax.h: Likewise.
33266 * sysdeps/s390/asm-syntax.h: Likewise.
33267 * sysdeps/unix/sysdep.h: Likewise.
33268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33270
7071ad79
JM
332712012-01-26 Joseph Myers <joseph@codesourcery.com>
33272
33273 * libio/libio.h: Remove __STDC__ conditionals.
33274 * malloc/obstack.h: Likewise.
33275 * math/complex.h: Likewise.
33276 * math/math.h: Likewise.
33277 * sysdeps/generic/_G_config.h: Likewise.
33278 * sysdeps/gnu/_G_config.h: Likewise.
33279 * sysdeps/mach/hurd/_G_config.h: Likewise.
33280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33281 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33282 * sysdeps/sparc/bits/mathdef.h: Likewise.
33283
afc5ed09
UD
332842012-01-26 Ulrich Drepper <drepper@gmail.com>
33285
33286 [BZ #13583]
33287 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 33288 Clean up HAS_* macros.
afc5ed09 33289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
33290 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33291 possible.
33292 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33293 HAS_AVX.
33294 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33295 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33296 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33297 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33298 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 33299
bdb6de1d
JM
333002012-01-25 Joseph Myers <joseph@codesourcery.com>
33301
33302 * elf/tst-unique3.cc (gets): Remove declaration.
33303 * elf/tst-unique3lib.cc (gets): Likewise.
33304 * elf/tst-unique3lib2.cc (gets): Likewise.
33305 * elf/tst-unique4.cc (gets): Likewise.
33306
b15549e6
UD
333072012-01-24 Ulrich Drepper <drepper@gmail.com>
33308
33309 * include/stdio.h: Add C++ protection. Add gets declarations and
33310 definitions.
33311 * debug/tst-chk1.c: Don't declare gets here.
33312 * stdio-common/tst-gets.c: Likewise.
33313
a037381f
JM
333142012-01-24 Joseph Myers <joseph@codesourcery.com>
33315
33316 * posix/glob: Remove directory.
33317
f1d4aa75
JM
333182012-01-24 Joseph Myers <joseph@codesourcery.com>
33319
33320 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33321
81c0c964
PT
333222012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33323
33324 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33325 of the non-standard EPFNOSUPPORT.
33326
0ea698ae
ST
333272011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33328
33329 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33330 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33331 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33332
d220b117
UD
333332012-01-21 Ulrich Drepper <drepper@gmail.com>
33334
33335 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33336
3e1aa84e
UD
333372012-01-20 Ulrich Drepper <drepper@gmail.com>
33338
33339 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33340 transient errors.
33341 * nscd/grpcache.c (cache_addgr): Likewise.
33342 * nscd/hstcache.c (cache_addhst): Likewise.
33343 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33344 * nscd/pwdcache.c (cache_addpw): Likewise.
33345 * nscd/servicescache.c (cache_addserv): Likewise.
33346
400aa020
UD
333472012-01-16 Ulrich Drepper <drepper@gmail.com>
33348
d77e7869
UD
33349 * malloc/malloc.c: Various cleanups.
33350 * malloc/hooks.c: Likewise.
33351
400aa020
UD
33352 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33353 * stdlib/bug-fmtmsg1.c: New file.
33354
33355 * stdlib/fmtmsg.c (init): Add missing unlock.
33356 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33357
e0a309cf
MP
333582012-01-12 Marek Polacek <polacek@redhat.com>
33359
33360 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33361 and _GNU_SOURCE.
33362
929d11c7
WS
333632012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33364
33365 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33366 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33367 macro to ensure uniqueness of label name.
33368 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33369 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33370
41d0e869
UD
333712012-01-11 Ulrich Drepper <drepper@gmail.com>
33372
0cc5ed3b
UD
33373 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33374
41d0e869
UD
33375 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33376 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33377 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33379
a47a831a
UD
333802012-01-10 Ulrich Drepper <drepper@gmail.com>
33381
daa891c0
UD
33382 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33383
33384 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33385 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33386 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33387
e58ef0f2
UD
33388 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33389
a47a831a 33390 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
33391 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33392 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 33393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
33394
33395 * math/bits/math-finite.h: Add ldexp support.
33396
a0bfc9c7
MP
333972012-01-10 Marek Polacek <polacek@redhat.com>
33398
33399 * locale/programs/localedef.h (show_archive_content): Add noreturn
33400 attribute.
33401
d6e97a1d
UD
334022012-01-09 Ulrich Drepper <drepper@gmail.com>
33403
33404 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33405
d5835c26
UD
334062012-01-08 Ulrich Drepper <drepper@gmail.com>
33407
e5f484c6
UD
33408 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33409
d5835c26
UD
33410 * io/Makefile (headers): Add bits/poll2.h.
33411
d1f741e9
WS
334122011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33413
33414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33415 typo #include statement.
33416
ec09c1c4
UD
334172012-01-08 Ulrich Drepper <drepper@gmail.com>
33418
33419 * include/sys/cdefs.h: Define __attribute_alloc_size.
33420 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33421 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33422 * elf/pldd.c: Likewise.
33423 * iconv/iconv_charmap.c: Likewise.
33424 * iconv/iconvconfig.c: Likewise.
33425 * iconv/strtab.c: Likewise.
33426 * locale/programs/locale.c: Likewise.
33427 * locale/programs/localedef.h: Likewise.
33428 * locale/programs/simple-hash.c: Likewise.
33429 * nscd/nscd.h: Likewise.
33430 * nss/makedb.c: Likewise.
33431 * sysdeps/generic/ldconfig.h: Likewise.
33432 * locale/programs/localedef.c: Remove xmalloc prototype.
33433 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33434
20b38e03
PP
334352012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33436
33437 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33438 appropriate.
33439
a0da5fe1
UD
334402012-01-08 Ulrich Drepper <drepper@gmail.com>
33441
1d5a644a 33442 * math/Makefile (tests): Add tst-CMPLX.
669704fd 33443 * math/tst-CMPLX.c: New file.
1d5a644a 33444
8784a6db
UD
33445 * math/complex.h (CMPLXL): Fix typo.
33446
d9a216c0
UD
33447 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33448 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33449 GLIBC_2.16.
33450 * debug/tst-chk1.c: Add poll and ppoll tests.
33451 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33452 * include/sys/poll.h: Add hidden proto for ppoll.
33453 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33454 * sysdeps/mach/hurd/ppoll.c: Likewise.
33455 * io/ppoll.c: Likewise.
33456 * debug/poll_chk.c: New file.
33457 * debug/ppoll_chk.c: New file.
33458 * include/bits/poll2.h: New file.
33459 * io/bits/poll2.h: New file.
33460
ac097f5c
UD
33461 [BZ #1350]
33462 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33463
2119dcfa
UD
33464 * configure.in: static is always set to yes. Remove.
33465 * config.make.in: Don't set build-static.
33466 * Makeconfig: Remove use of build-static.
33467 * dlfcn/Makefile: Likewise.
33468 * elf/Makefile: Likewise.
33469 * math/Makefile: Likewise.
33470 * misc/Makefile: Likewise.
33471 * nptl/Makefile: Likewise.
33472 * sysdeps/mach/hurd/Makefile: Likewise.
33473
121766a9
UD
33474 * configure.in: PWD_P is not used anymore.
33475 * config.make.in: Remove PWD_P entry.
33476
51a1d39c 33477 * configure.in: Remove last remnants of RANLIB.
8720d066 33478 No need to check for signed size_t anymore.
215f4bdc
UD
33479 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33480 and IA-64.
3857022a 33481 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
33482 * aclocal.m4: Likewise.
33483
d3ed7225
UD
33484 * wcsmbs/mbrtoc16.c: Implement using towc function.
33485 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33486 * wcsmbs/wcsmbsload.c: Likewise.
33487 * iconv/gconv_simple.c: Likewise.
33488 * iconv/gconv_int.h: Likewise.
33489 * iconv/gconv_builtin.h: Likewise.
33490 * iconv/iconv_prog.c: Remove CHAR16 handling.
33491
33492 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33493
33494 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33495
a0da5fe1
UD
33496 * configure.in: Remove --with-elf and --enable-bounded options.
33497 Dont set base_machine for ia64. More non-ELF conditions removed.
33498 Remove testing and setting of leading underscore information.
33499 * config.make.in (build-bounded): Set to no.
33500 * config.h.in: Remove NO_UNDERSCORES entry.
33501 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33502 them.
33503 * csu/start.c: Remove !NO_UNDERSCORE code.
33504 * locale/localeinfo.h: Likewise.
33505 * sysdeps/generic/machine-gmon.h: Likewise.
33506 * sysdeps/generic/sysdep.h: Likewise.
33507 * sysdeps/i386/sysdep.h: Likewise.
33508 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33509 * sysdeps/mach/sysdep.h: Likewise.
33510 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33512 * sysdeps/sh/sysdep.h: Likewise.
33513 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33514 * sysdeps/unix/i386/sysdep.S: Likewise.
33515 * sysdeps/unix/sparc/start.c: Likewise.
33516 * sysdeps/unix/sparc/sysdep.S: Likewise.
33517 * sysdeps/unix/sparc/sysdep.h: Likewise.
33518 * sysdeps/unix/start.c: Likewise.
33519 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33520 * sysdeps/x86_64/sysdep.h: Likewise.
33521
df78418a
UD
335222012-01-07 Ulrich Drepper <drepper@gmail.com>
33523
a784e502
UD
33524 [BZ #13553]
33525 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33526 for non-gcc.
33527 * argp/argp-fmtstream.h: Use const instead __const.
33528 * argp/argp.h: Likewise.
33529 * assert/assert.h: Likewise.
33530 * bits/fenv.h: Likewise.
33531 * bits/sched.h: Likewise.
33532 * bits/sigset.h: Likewise.
33533 * bits/sigthread.h: Likewise.
33534 * catgets/nl_types.h: Likewise.
33535 * conform/data/pthread.h-data: Likewise.
33536 * crypt/crypt-private.h: Likewise.
33537 * crypt/crypt.h: Likewise.
33538 * crypt/crypt_util.c: Likewise.
33539 * ctype/ctype.h: Likewise.
33540 * debug/execinfo.h: Likewise.
33541 * debug/mbsnrtowcs_chk.c: Likewise.
33542 * debug/mbsrtowcs_chk.c: Likewise.
33543 * debug/wcsnrtombs_chk.c: Likewise.
33544 * debug/wcsrtombs_chk.c: Likewise.
33545 * debug/wcstombs_chk.c: Likewise.
33546 * dirent/dirent.h: Likewise.
33547 * dlfcn/dlfcn.h: Likewise.
33548 * elf/neededtest4.c: Likewise.
33549 * grp/grp.h: Likewise.
33550 * gshadow/gshadow.h: Likewise.
33551 * iconv/gconv.h: Likewise.
33552 * iconv/gconv_int.h: Likewise.
33553 * iconv/gconv_simple.c: Likewise.
33554 * iconv/iconv.h: Likewise.
33555 * iconv/loop.c: Likewise.
33556 * iconv/skeleton.c: Likewise.
33557 * include/aio.h: Likewise.
33558 * include/aliases.h: Likewise.
33559 * include/argz.h: Likewise.
33560 * include/arpa/inet.h: Likewise.
33561 * include/assert.h: Likewise.
33562 * include/dirent.h: Likewise.
33563 * include/dlfcn.h: Likewise.
33564 * include/execinfo.h: Likewise.
33565 * include/fcntl.h: Likewise.
33566 * include/fenv.h: Likewise.
33567 * include/glob.h: Likewise.
33568 * include/grp.h: Likewise.
33569 * include/libintl.h: Likewise.
33570 * include/mntent.h: Likewise.
33571 * include/netdb.h: Likewise.
33572 * include/pwd.h: Likewise.
33573 * include/rpc/netdb.h: Likewise.
33574 * include/sched.h: Likewise.
33575 * include/search.h: Likewise.
33576 * include/shadow.h: Likewise.
33577 * include/signal.h: Likewise.
33578 * include/stdio.h: Likewise.
33579 * include/stdlib.h: Likewise.
33580 * include/string.h: Likewise.
33581 * include/sys/socket.h: Likewise.
33582 * include/sys/stat.h: Likewise.
33583 * include/sys/statfs.h: Likewise.
33584 * include/sys/statvfs.h: Likewise.
33585 * include/sys/syslog.h: Likewise.
33586 * include/sys/time.h: Likewise.
33587 * include/sys/uio.h: Likewise.
33588 * include/time.h: Likewise.
33589 * include/unistd.h: Likewise.
33590 * include/utmp.h: Likewise.
33591 * include/wchar.h: Likewise.
33592 * include/wctype.h: Likewise.
33593 * inet/aliases.h: Likewise.
33594 * inet/arpa/inet.h: Likewise.
33595 * inet/netinet/ether.h: Likewise.
33596 * inet/netinet/in.h: Likewise.
33597 * intl/libintl.h: Likewise.
33598 * io/bits/fcntl2.h: Likewise.
33599 * io/fcntl.h: Likewise.
33600 * io/ftw.h: Likewise.
33601 * io/sys/poll.h: Likewise.
33602 * io/sys/stat.h: Likewise.
33603 * io/sys/statfs.h: Likewise.
33604 * io/sys/statvfs.h: Likewise.
33605 * io/utime.h: Likewise.
33606 * libio/bits/stdio.h: Likewise.
33607 * libio/bits/stdio2.h: Likewise.
33608 * libio/libio.h: Likewise.
33609 * libio/libioP.h: Likewise.
33610 * libio/stdio.h: Likewise.
33611 * locale/lc-ctype.c: Likewise.
33612 * locale/locale.h: Likewise.
33613 * login/utmp.h: Likewise.
33614 * malloc/arena.c: Likewise.
33615 * malloc/malloc.c: Likewise.
33616 * malloc/malloc.h: Likewise.
33617 * malloc/mcheck.c: Likewise.
33618 * malloc/mtrace.c: Likewise.
33619 * math/bits/mathcalls.h: Likewise.
33620 * math/fenv.h: Likewise.
33621 * math/math_private.h: Likewise.
33622 * misc/bits/error.h: Likewise.
33623 * misc/bits/syslog.h: Likewise.
33624 * misc/err.h: Likewise.
33625 * misc/error.h: Likewise.
33626 * misc/fstab.h: Likewise.
33627 * misc/mntent.h: Likewise.
33628 * misc/regexp.h: Likewise.
33629 * misc/search.h: Likewise.
33630 * misc/sgtty.h: Likewise.
33631 * misc/sys/mman.h: Likewise.
33632 * misc/sys/syslog.h: Likewise.
33633 * misc/sys/uio.h: Likewise.
33634 * misc/sys/xattr.h: Likewise.
33635 * misc/ttyent.h: Likewise.
33636 * nis/rpcsvc/ypclnt.h: Likewise.
33637 * nss/nss.h: Likewise.
33638 * posix/bits/unistd.h: Likewise.
33639 * posix/fnmatch.h: Likewise.
33640 * posix/glob.h: Likewise.
33641 * posix/sched.h: Likewise.
33642 * posix/spawn.h: Likewise.
33643 * posix/sys/wait.h: Likewise.
33644 * posix/unistd.h: Likewise.
33645 * posix/wordexp.h: Likewise.
33646 * pwd/pwd.h: Likewise.
33647 * resolv/netdb.h: Likewise.
33648 * resource/sys/resource.h: Likewise.
33649 * rt/aio.h: Likewise.
33650 * rt/bits/mqueue2.h: Likewise.
33651 * rt/mqueue.h: Likewise.
33652 * shadow/shadow.h: Likewise.
33653 * signal/signal.h: Likewise.
33654 * socket/send.c: Likewise.
33655 * socket/sendto.c: Likewise.
33656 * socket/sys/socket.h: Likewise.
33657 * stdio-common/printf.h: Likewise.
33658 * stdlib/bits/stdlib.h: Likewise.
33659 * stdlib/fmtmsg.h: Likewise.
33660 * stdlib/monetary.h: Likewise.
33661 * stdlib/stdlib.h: Likewise.
33662 * stdlib/ucontext.h: Likewise.
33663 * streams/stropts.h: Likewise.
33664 * string/argz.h: Likewise.
33665 * string/bits/string2.h: Likewise.
33666 * string/string.h: Likewise.
33667 * string/strings.h: Likewise.
33668 * sunrpc/rpc/auth.h: Likewise.
33669 * sunrpc/rpc/auth_des.h: Likewise.
33670 * sunrpc/rpc/clnt.h: Likewise.
33671 * sunrpc/rpc/netdb.h: Likewise.
33672 * sunrpc/rpc/pmap_clnt.h: Likewise.
33673 * sunrpc/rpc/xdr.h: Likewise.
33674 * sysdeps/generic/inttypes.h: Likewise.
33675 * sysdeps/generic/net/if.h: Likewise.
33676 * sysdeps/generic/sys/swap.h: Likewise.
33677 * sysdeps/gnu/net/if.h: Likewise.
33678 * sysdeps/gnu/utmpx.h: Likewise.
33679 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33680 * sysdeps/i386/i486/bits/string.h: Likewise.
33681 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33682 * sysdeps/s390/bits/string.h: Likewise.
33683 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33684 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33685 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33686 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33687 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33688 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33689 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33690 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33691 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33692 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33693 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33694 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33695 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33696 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33697 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33698 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33699 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33701 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33702 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33703 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33704 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33705 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33706 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33707 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33708 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33709 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33710 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33711 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33712 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33713 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33714 * sysvipc/sys/ipc.h: Likewise.
33715 * sysvipc/sys/msg.h: Likewise.
33716 * sysvipc/sys/sem.h: Likewise.
33717 * sysvipc/sys/shm.h: Likewise.
33718 * termios/termios.h: Likewise.
33719 * time/sys/time.h: Likewise.
33720 * time/time.h: Likewise.
33721 * wcsmbs/bits/wchar2.h: Likewise.
33722 * wcsmbs/uchar.h: Likewise.
33723 * wcsmbs/wchar.h: Likewise.
33724 * wctype/wctype.h: Likewise.
33725
0269750c
UD
33726 [BZ #13551]
33727 * Makeconfig: Remove all but ELF support including AIX support.
33728 * Makerules: Likewise.
33729 * config.h.in: Likewise.
33730 * config.make.in: Likewise.
33731 * configure: Likewise.
33732 * configure.in: Likewise.
33733 * csu/Makefile: Likewise.
33734 * csu/version.c: Likewise.
33735 * debug/Makefile: Likewise.
33736 * dlfcn/Makefile: Likewise.
33737 * elf/Makefile: Likewise.
33738 * extra-lib.mk: Likewise.
33739 * iconv/Makefile: Likewise.
33740 * include/libc-symbols.h: Likewise.
33741 * include/shlib-compat.h: Likewise.
33742 * resolv/Makefile: Likewise.
33743 * resolv/res_libc.c: Likewise.
33744 * rt/Makefile: Likewise.
33745 * sysdeps/i386/asm-syntax.h: Likewise.
33746 * sysdeps/i386/sysdep.h: Likewise.
33747 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33748 * sysdeps/mach/sysdep.h: Likewise.
33749 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33750 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33751 * sysdeps/s390/asm-syntax.h: Likewise.
33752 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33753 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33754 * sysdeps/sh/sysdep.h: Likewise.
33755 * sysdeps/unix/sparc/sysdep.h: Likewise.
33756 * sysdeps/wordsize-32/divdi3.c: Likewise.
33757 * sysdeps/x86_64/sysdep.h: Likewise.
33758
00bbd29b
UD
33759 * argp/Versions: Remove _argp_unlock_xxx.
33760
33761 [BZ #13559]
33762 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33763 * abilist/libBrokenLocale.abilist: Likewise.
33764 * abilist/libanl.abilist: Likewise.
33765 * abilist/libc.abilist: Likewise.
33766 * abilist/libcrypt.abilist: Likewise.
33767 * abilist/libdl.abilist: Likewise.
33768 * abilist/libm.abilist: Likewise.
33769 * abilist/libnsl.abilist: Likewise.
33770 * abilist/libpthread.abilist: Likewise.
33771 * abilist/libresolv.abilist: Likewise.
33772 * abilist/librt.abilist: Likewise.
33773 * abilist/libthread_db.abilist: Likewise.
33774 * abilist/libutil.abilist: Likewise.
33775 * abilist/libnss_db.abilist: New file.
33776
33777 * scripts/abilist.awk: Add support for indirect functions.
33778
a2693a0e
UD
33779 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33780
3f05895f
UD
33781 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33782
ecb6fb48
UD
33783 * shlib-versions: Remove entries for ports architectures.
33784
664f8cb9
UD
33785 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33786 files in ports.
33787 * elf/stackguard-macros.h: Remove support for IA-64.
33788 * elf/tst-auditmod1.c: Likewise.
33789 * sysdeps/generic/ldsodefs.h: Likewise.
33790
7ae81d88
UD
33791 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33792 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33793 configure files.
33794
bdeba135
UD
33795 [BZ #13552]
33796 * configure.in: Remove --enable-omitfp support.
33797 * FAQ.in: Adjust.
33798 * config.make.in: Likewise.
33799 * Makeconfig: Likewise.
33800 * manual/install.texi: Likewise.
33801
d75a0a62
UD
33802 In case anyone cares, the IA-64 architecture could move to ports.
33803 * sysdeps/ia64/*: Removed.
33804 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33805 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33806
dcc9756b
UD
33807 [BZ #13555]
33808 * configure.in: Remove entries for unsupported architectures.
33809
d3761ebc 33810 [BZ #13533]
9954432e
UD
33811 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33812 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33813 routines.
33814 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33815 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33816 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33817 fall back to using wcrtomb.
33818 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33819 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33820 renaming.
33821 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33822 * wcsmbs/tst-c16c32-1.c: New file.
33823
33824 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33825 local variable.
33826
c3a87236
UD
33827 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33828
28926a1b
UD
33829 * elf/tst-unique3.cc: Add explicit declaration of gets.
33830 * elf/tst-unique3lib.cc: Likewise.
33831 * elf/tst-unique3lib2.cc: Likewise.
33832 * elf/tst-unique4.cc: Likewise.
33833
df78418a
UD
33834 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33835
8ecd6b2a
JM
338362012-01-06 Joseph Myers <joseph@codesourcery.com>
33837
33838 [BZ #13566]
33839 * assert/assert.h (static_assert): Don't define for C++.
33840 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33841 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33842
9f115170
UD
338432012-01-03 Ulrich Drepper <drepper@gmail.com>
33844
5e0d0300
UD
33845 * iconv/loop.c (single loop): Fix assertion in storing of
33846 remaining bytes.
33847
9f115170
UD
33848 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33849
81fb02b0
UD
338502012-01-01 Ulrich Drepper <drepper@gmail.com>
33851
33852 * posix/getconf.c: Update copyright year.
33853 * nss/getent.c: Likewise.
a316c1f6 33854 * nss/makedb.c: Likewise.
81fb02b0
UD
33855 * iconv/iconvconfig.c: Likewise.
33856 * iconv/iconv_prog.c: Likewise.
33857 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33858 * elf/pldd.c: Likewise.
33859 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33860 * catgets/gencat.c: Likewise.
33861 * csu/version.c: Likewise.
33862 * elf/ldd.bash.in: Likewise.
33863 * elf/sprof.c (print_version): Likewise.
33864 * locale/programs/locale.c: Likewise.
33865 * locale/programs/localedef.c: Likewise.
a316c1f6 33866 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33867 * nscd/nscd.c (print_version): Likewise.
33868 * debug/xtrace.sh: Likewise.
33869 * malloc/memusage.sh: Likewise.
33870 * malloc/mtrace.pl: Likewise.
33871 * debug/catchsegv.sh: Likewise.
33872
2ba92745
JJ
338732011-12-30 Jakub Jelinek <jakub@redhat.com>
33874
33875 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33876 pure attribute.
33877
dadebdae
UD
338782011-12-24 Ulrich Drepper <drepper@gmail.com>
33879
d3761ebc 33880 [BZ #13533]
db6af3eb
UD
33881 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33882 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33883 transformations.
33884 * iconv/gconv_int.h: Likewise.
33885 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33886 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33887 from libc for GLIBC_2.16.
33888 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33889 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33890 * wcsmbs/uchar.h: Really define mbstate_t.
33891 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33892 * wcsmbs/c16rtomb.c: New file.
33893 * wcsmbs/mbrtoc16.c: New file.
33894 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33895 for C/POSIX locale.
33896 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33897 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33898
dadebdae
UD
33899 * wcsmbs/wchar.h: Add missing __restrict.
33900
67371b56
UD
339012011-12-23 Ulrich Drepper <drepper@gmail.com>
33902
74033a25
UD
33903 [BZ #13532]
33904 * time/Makefile (routines): Add timespec_get.
33905 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33906 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33907 timespec for ISO C11.
33908 * time/timespec_get.c: New file.
33909 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33910 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33911
380d7e87
UD
33912 [BZ #13531]
33913 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33914 * stdlib/stdlib.h: Declare aligned_alloc.
33915 * Versions.def: Add GLIBC_2.16 for libc.
33916 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33917
4e9e7a35
UD
33918 [BZ 13527]
33919 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33920 ISO C11.
33921
380d7e87 33922 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33923 code.
33924
03a71829
UD
33925 [BZ #13528]
33926 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33927
839e283e
UD
33928 [BZ #13529]
33929 * assert/assert.h (static_assert): Define.
33930
ce5294e2 33931 * version.h: Update for 2.16 development version.
90fa7312 33932
8d44e150 33933 [BZ #13526]
d7809905
UD
33934 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33935 _ISOC11_SOURCE.
33936
c0da14cd
UD
33937 * version.h (RELEASE): Bump for 2.15 release.
33938 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33939
530a3249
MP
33940 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33941 Patch by Marek Polacek <mpolacek@redhat.com>.
33942
67371b56
UD
33943 * bits/byteswap.h: Protect long long constants with __extension__.
33944 * sysdeps/i386/bits/byteswap.h: Likewise.
33945 * sysdeps/ia64/bits/byteswap.h: Likewise.
33946 * sysdeps/s390/bits/byteswap.h: Likewise.
33947 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33948
15db4de1
LD
339492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33950
33951 [BZ #13540]
bbe315ea
LD
33952 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33953 destination buffer.
15db4de1
LD
33954 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33955
2b2596b1
MP
339562011-12-23 Marek Polacek <polacek@redhat.com>
33957
33958 * elf/dl-addr.c (determine_info): Add inline keyword.
33959 * elf/tst-auditmod4b.c (check_avx): Likewise.
33960 * elf/tst-auditmod6b.c (check_avx): Likewise.
33961 * elf/tst-auditmod6c.c (check_avx): Likewise.
33962 * elf/tst-auditmod7b.c (check_avx): Likewise.
33963
70c6c246
UD
339642011-12-23 Ulrich Drepper <drepper@gmail.com>
33965
33966 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33967 !__SSE_MATH__.
33968
c044cf14
LD
339692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33970
15db4de1 33971 [BZ #13540]
c044cf14
LD
33972 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33973 processing for last bytes.
33974
6b13d9d9
BH
339752011-08-06 Bruno Haible <bruno@clisp.org>
33976
d455f537
BH
33977 [BZ #13061]
33978 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33979 U+0385, not to U+1FEE.
33980
6b13d9d9
BH
33981 [BZ #13062]
33982 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33983 entry for U+00A5 U+0301.
33984
db910efd
UD
339852011-12-22 Ulrich Drepper <drepper@gmail.com>
33986
27deeafc
UD
33987 [BZ #13166]
33988 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33989 buffer for the output is too small.
33990
aed9d171
UD
33991 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33992 optimization.
33993
db910efd
UD
33994 [BZ #13185]
33995 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33996 SSE flags if possible.
33997
2bd779ae
LD
339982011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33999
e7f9dac3 34000 [BZ #13540]
2bd779ae
LD
34001 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
34002 processing for last bytes.
34003
154bfc16
JM
340042011-12-22 Joseph Myers <joseph@codesourcery.com>
34005
34006 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
34007 (syscall-list-default-options, syscall-list-default-condition)
34008 (syscall-list-includes): Define.
34009 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
34010 list of ABIs and options and #if conditions for each ABI. Do not
34011 handle common syscalls between ABIs specially.
34012 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
34013 Remove.
34014 (syscall-list-variants, syscall-list-32bit-options)
34015 (syscall-list-32bit-condition, syscall-list-64bit-options)
34016 (syscall-list-64bit-condition): Define.
34017 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
34018 (syscall-list-variants, syscall-list-32bit-options)
34019 (syscall-list-32bit-condition, syscall-list-64bit-options)
34020 (syscall-list-64bit-condition): Define.
34021 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
34022 Remove.
34023 (syscall-list-variants, syscall-list-32bit-options)
34024 (syscall-list-32bit-condition, syscall-list-64bit-options)
34025 (syscall-list-64bit-condition): Define.
34026 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
34027 Remove.
34028 (syscall-list-variants, syscall-list-32bit-options)
34029 (syscall-list-32bit-condition, syscall-list-64bit-options)
34030 (syscall-list-64bit-condition): Define.
34031
21eaf3a5
UD
340322011-12-22 Ulrich Drepper <drepper@gmail.com>
34033
16c6f992
UD
34034 * locale/iso-639.def: Add brx entry.
34035
41043168
UD
34036 [BZ #13328]
34037 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
34038 Proposed by Mariusz_Cukr <marcukr@op.pl>.
34039
21eaf3a5
UD
34040 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
34041 __feraiseexcept_renamed.
34042
e3a851a2
UD
340432011-12-21 Ulrich Drepper <drepper@gmail.com>
34044
4920765e
UD
34045 [BZ #13538]
34046 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
34047 EPOLLET with unsigned values.
34048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34050
e3a851a2
UD
34051 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
34052 to large cancellation.
34053 * math/s_cacoshf.c: Likewise.
34054 * math/s_cacoshl.c: Likewise.
34055
b27e24b8
RK
340562011-11-18 Richard B. Kreckel <kreckel@ginac.de>
34057
34058 [BZ #13305]
aebefeee 34059 [BZ #12786]
b27e24b8
RK
34060 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
34061 * math/s_cacoshf.c: Likewise.
34062 * math/s_cacoshl.c: Likewise.
34063
ee190f67
UD
340642011-12-21 Ulrich Drepper <drepper@gmail.com>
34065
34066 [BZ #13439]
34067 * iconv/gconv.h: Define __GCONV_SWAP.
34068 * iconvdata/unicode.c: The swap bit must be stored in __flags.
34069 * iconvdata/utf-16.c: Likewise.
34070 * iconvdata/utf-32.c: Likewise.
34071
707f25df
AS
340722011-12-21 Andreas Schwab <schwab@linux-m68k.org>
34073
34074 [BZ #13524]
34075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
34076 numerator after shifting it by one limb.
34077
d2daaa1e
RÁE
340782011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
34079
34080 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
34081 under [__USE_EXTERN_INLINES].
34082
a4647e72
UD
340832011-12-17 Ulrich Drepper <drepper@gmail.com>
34084
34085 [BZ #13446]
34086 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
34087
f0b264f1
AZ
340882011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34089
34090 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
34091 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
34092 optimized code.
34093 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
34094 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
34095 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
34096 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
34097 for strncasecmp/strncasecmp_l compilation.
34098 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
34099 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
34100
8ef4f244
MP
341012011-12-08 Marek Polacek <mpolacek@redhat.com>
34102
34103 [BZ #13484]
34104 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
34105 of __asm__.
34106
97ac2654
UD
341072011-12-17 Ulrich Drepper <drepper@gmail.com>
34108
34109 [BZ #13506]
34110 * time/tzfile.c (__tzfile_read): Check values from file header.
34111
91d2a845
WS
341122011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34113
34114 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
34115 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
34116 * powerpc/powerpc32/dl-start.S: Likewise.
34117 * powerpc/powerpc32/elf/start.S: Likewise.
34118 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34119 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
34120 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
34121 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
34122 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34123 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
34124 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
34125 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34126 * powerpc/powerpc32/fpu/s_round.S: Likewise.
34127 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34128 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34129 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34130 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34131 * powerpc/powerpc32/memset.S: Likewise.
34132 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34133 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34134 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34135 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34136 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34137 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34138 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34139 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34140 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34141 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34142 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34143 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34144 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34145
a1267ba1
AZ
341462011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34147
34148 * math/libm-test.inc: Added more nearbyint tests.
34149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34150 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34152 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34153
ad8ac1bd
RL
341542011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
34155
34156 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34157 FD_CLOEXEC.
34158
1d3e4b61
UD
341592011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34160
34161 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34162 Add wcscpy-ssse3 wcscpy-c.
34163 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34164 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34165 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34166 * sysdeps/x86_64/wcschr.S: New file.
34167 * sysdeps/x86_64/wcsrchr.S: New file.
34168 * string/test-strcmp.c: Remove checking of wcscmp function for
34169 wrong alignments.
34170 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34171 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34172 wcsrchr-sse2 wcsrchr-c.
34173 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34174 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34175 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34176 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34177 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34178 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34179 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34180 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34181 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34182 * wcsmbc/wcschr.c (WCSCHR): New macro.
34183
5b330a2d
UD
341842011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34185
34186 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34187 * wcsmbs/test-wcsrchr.c: New file.
34188 * string/test-strrchr.c: Add wcsrchr support.
34189 (WIDE): New macro.
34190 * wcsmbs/test-wcscpy.c: New file.
34191 * string/test-strcpy.c: Add wcscpy support.
34192 (WIDE): New macro.
26428b7c 34193
f039c043
UD
341942011-12-10 Ulrich Drepper <drepper@gmail.com>
34195
34196 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34197 the inner loop.
34198
850fb039
AS
341992011-12-06 Andreas Schwab <schwab@linux-m68k.org>
34200
34201 [BZ #13472]
34202 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34203
4efbd5cb
UD
342042011-12-04 Ulrich Drepper <drepper@gmail.com>
34205
52ff5dd0 34206 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 34207 Minor optimizations.
52ff5dd0 34208
4efbd5cb
UD
34209 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34210 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34211 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34212
8a426e12
UD
342132011-12-03 Ulrich Drepper <drepper@gmail.com>
34214
aff2453d
UD
34215 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34216 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34217 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34218 for gcc to avoid warnings.
34219 * inet/Makefile (tests): Add tst-checks.
34220 * inet/tst-checks.c: New file.
34221
34222 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34223 warning.
34224
34225 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34226 __wmemcmp_sse2.
34227
34228 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34229 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34230
8a426e12
UD
34231 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34232
9bea3473
UD
342332011-12-02 Ulrich Drepper <drepper@gmail.com>
34234
3a965496
UD
34235 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34236 problem.
34237
9bea3473
UD
34238 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34239
f101631b
UD
342402011-11-29 Joseph Myers <joseph@codesourcery.com>
34241
34242 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34243 conditional on GCC version.
34244 (__arch_compare_and_exchange_val_8_acq)
34245 (__arch_compare_and_exchange_val_16_acq)
34246 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34247 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34248 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34249
a98275aa
UD
342502011-12-02 Joseph Myers <joseph@codesourcery.com>
34251
34252 * sysdeps/sh/backtrace.c: New file.
34253
d4cc29a2
AS
342542011-12-02 Andreas Schwab <schwab@redhat.com>
34255
34256 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
34257 parenthesis.
34258
6257af2d
AS
342592011-12-01 Andreas Schwab <schwab@redhat.com>
34260
34261 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34262 falling back to utime.
34263
b5f44c1a
AS
342642011-11-30 Andreas Schwab <schwab@redhat.com>
34265
34266 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34267 expectations for float.
34268
f3a6cc0a
AS
342692011-11-29 Andreas Schwab <schwab@redhat.com>
34270
34271 * locale/weight.h (findidx): Add parameter len.
34272 * locale/weightwc.h (findidx): Likewise.
34273 * posix/fnmatch_loop.c (FCT): Adjust caller.
34274 * posix/regcomp.c (build_equiv_class): Likewise.
34275 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34276 * posix/regexec.c (check_node_accept_bytes): Likewise.
34277 * string/strcoll_l.c (STRCOLL): Likewise.
34278 * string/strxfrm_l.c (STRXFRM): Likewise.
34279
9d65ea3a
UD
342802011-11-17 Ulrich Drepper <drepper@gmail.com>
34281
34282 * Makefile.in: Remove CVSOPT handling.
34283 * configure.in: Remove use of AC_REVISION.
34284 * iconvdata/Makefile (distribute): No need to filter out CVS.
34285 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34286 handling.
34287
5583a086
AS
342882011-11-16 Andreas Schwab <schwab@redhat.com>
34289
34290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34291 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34292 [USE_AS_STRNCASECMP_L]: Likewise.
34293 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34294 NO_TLS_DIRECT_SEG_REFS.
34295 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34296 Fix argument offsets for non-PIC.
34297 [USE_AS_STRNCASECMP_L]: Likewise.
34298 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34299 NO_TLS_DIRECT_SEG_REFS.
34300
d62a8200
UD
343012011-11-15 Ulrich Drepper <drepper@gmail.com>
34302
9d65ea3a 34303 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
34304 O_CLOEXEC.
34305 * locale/loadlocale.c (_nl_load_locale): Likewise.
34306
09f93bd3
AS
343072011-11-15 Andreas Schwab <schwab@redhat.com>
34308
446514f9
AS
34309 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34310 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34311 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34312 (SYSCALL_GETTIME): Set errno on error.
34313
09f93bd3
AS
34314 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34315 count references to noai6ai_cached.
34316
312be3f9
UD
343172011-11-15 Ulrich Drepper <drepper@gmail.com>
34318
34319 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34320
34321 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34322 FD_CLOEXEC for /proc/self/maps.
34323
34324 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34325 FD_CLOEXEC for /proc/meminfo.
34326
34327 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34328 gai.conf.
34329
34330 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34331 FD_CLOEXEC for given file.
34332
34333 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34334
34335 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34336 FD_CLOEXEC for /etc/hosts.
34337 (_gethtent): Likewise.
34338
34339 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34340
34341 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34342 cancellation and set FD_CLOEXEC for /etc/netgroup.
34343
34344 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34345 reading /etc/publickey.
34346
34347 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34348 allow cancellation when reading /etc/group.
34349
34350 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34351 cancellation.
34352 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34353
34354 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34355 when using data file.
34356
34357 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34358
34359 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34360 (write_nis_obj): Use "c" and "e" in fopen.
34361
34362 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34363
34364 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34365
34366 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34367
34368 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34369
34370 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34371 locale.alias.
34372
34373 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34374
34375 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34376
34377 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34378
34379 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34380 file parsing and set FD_CLOEXEC.
34381
82af0fa8
UD
343822011-11-14 Ulrich Drepper <drepper@gmail.com>
34383
34384 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34385
a5fb313c
AS
343862011-11-14 Andreas Schwab <schwab@redhat.com>
34387
34388 * malloc/arena.c (arena_get2): Don't call reused_arena when
34389 _int_new_arena failed.
34390
6abf3465
UD
343912011-11-14 Ulrich Drepper <drepper@gmail.com>
34392
34393 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34394 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34395 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34396 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34397 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34398 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34399 to compile strcasecmp and strncasecmp.
34400 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34401 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34402
34403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34404
76e3966e
UD
344052011-11-13 Ulrich Drepper <drepper@gmail.com>
34406
34407 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34408 locale-defines.sym to gen-as-const-headers.
34409 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34410 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34412 to compile strcasecmp and strncasecmp.
34413 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34414 strcasecmp_l and strncasecmp_l.
34415 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34416 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34417 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34418 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34419 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34420 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34421 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34422 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34423 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34424 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34425 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34426
ab26144e
UD
344272011-11-12 Ulrich Drepper <drepper@gmail.com>
34428
7edb22ef
UD
34429 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34430 result of SYSDEP_GETTIME_CPU to retval.
34431 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34432 parameter list to macro. Remove trailing semicolon. Adjust users.
34433
9694fc44
UD
34434 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34435 variable.
34436
8ad89ef8
UD
34437 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34438 mantissa words.
34439 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34440
0c822ef9
UD
34441 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34442 from unused variable.
34443
874e0564
UD
34444 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34445 DWARF definitions.
34446 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34447 for assembling.
34448
3a2edc79
UD
34449 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34450 over namespaces.
34451
f3c2577f
UD
34452 * sunrpc/rpc_prot.c (rejected): Fix case value.
34453
294ce126
UD
34454 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34455 unsigned long long int to avoid warnings in shift.
34456
5e2b63c6
UD
34457 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34458 of use of trans.
34459 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34460 variable tmp.
34461
e7f4b08e
UD
34462 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34463 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34464 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34465
ab26144e
UD
34466 * nis/nis_table.c (nis_list): Use variable of correct type for
34467 result of __follow_path call.
34468
8a6d5255
AZ
344692011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34470
34471 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34472 of math functions ceil, trunc, floor, round, and sqrt, when
34473 avaliable on the platform.
34474 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34475 name clash.
34476 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34477 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34478 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34479
aaddc98c
MP
344802011-10-30 Marek Polacek <mpolacek@redhat.com>
34481
34482 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34483 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34484
95b7042b
RM
344852011-11-11 Roland McGrath <roland@hack.frob.com>
34486
34487 * include/unistd.h: Fix __readlink return type.
34488 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34489
57769839
UD
344902011-11-11 Ulrich Drepper <drepper@gmail.com>
34491
34492 * stdlib/ucontext.h: Undo last change for makecontext.
34493
edc5984d
AS
344942011-11-11 Andreas Schwab <schwab@redhat.com>
34495
98591e58
AS
34496 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34497
edc5984d
AS
34498 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34499 * setjmp/setjmp.h: Mark functions as non-leaf.
34500 * setjmp/bits/setjmp2.h: Likewise.
34501 * stdlib/ucontext.h: Likewise.
34502
77cdc054
AS
345032011-11-10 Andreas Schwab <schwab@redhat.com>
34504
34505 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34506 (reused_arena): Don't check arena limit.
34507 (arena_get2): Atomically check arena limit.
34508
fe72eebd
UD
345092011-11-08 Ulrich Drepper <drepper@gmail.com>
34510
5f078c32
UD
34511 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34512 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34513
fe72eebd
UD
34514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34515 instructions.
34516
ae1bc2fa
AS
345172011-11-07 Andreas Schwab <schwab@redhat.com>
34518
7583a88d
AS
34519 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34520 handler when locking.
34521
ae1bc2fa
AS
34522 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34523 Fix size of allocated buffer.
34524
10fb0bfa
AS
345252011-11-04 Andreas Schwab <schwab@redhat.com>
34526
998832a4
AS
34527 [BZ #10103]
34528 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34529 declarations for long double functions.
34530 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34531
10fb0bfa
AS
34532 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34533
3d7ba52b
AS
345342011-11-03 Andreas Schwab <schwab@redhat.com>
34535
a9ae54a1
AS
34536 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34537 installed.
34538
3d7ba52b
AS
34539 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34540 is disabled.
34541
bc8db248
ST
345422011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34543
34544 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34545
45b96dd6
AS
345462011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34547
647776f6
AS
34548 * include/alloca.h (stackinfo_alloca_round): Define.
34549 (extend_alloca): Use it.
34550 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34551 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34552 here.
34553
d91a8b93
AS
34554 * scripts/check-local-headers.sh: Ignore libaudit.h.
34555
45b96dd6
AS
34556 * nscd/Makefile (extra-objs): Make recursively expanded.
34557
432d41ce
UD
345582011-11-01 Ulrich Drepper <drepper@gmail.com>
34559
34372fc6
UD
34560 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34561 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34562
fadb59f8
UD
34563 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34564 * posix/tst-rfc3484-2.c: Likewise.
34565 * posix/tst-rfc3484-3.c: Likewise.
34566
78239589
UD
34567 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34568 process_vm_writev.
34569 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34570 process_vm_writev.
34571 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34572 process_vm_writev from libc using GLIBC_2.15 version.
34573
432d41ce
UD
34574 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34575
02f9c6cf
PP
345762011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34577
34578 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34579 stack usage.
34580
3a2c0242
UD
345812011-10-31 Ulrich Drepper <drepper@gmail.com>
34582
f4ec4833
UD
34583 [BZ #13367]
34584 * nss/getent.c (initgroups_keys): Show error message in case no group
34585 names are given.
34586
3a2c0242
UD
34587 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34588 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34589 __bump_nl_timestamp.
34590 * nscd/connections (nscd_init): When host database is served open
34591 netlink socket and request notification about configuration changes.
34592 (main_loop_poll): Track netlink file descriptor and bump timestamp
34593 in case data becomes available.
34594 (main_loop_epoll): Likewise.
34595 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34596 (database_pers_head): Add extra_data fileds.
34597 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34598 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34599 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34600 Adjust caller.
34601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34602 in6ai data, call __free_in6ai.
34603 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34604 Add -DHAVE_NETLINK.
34605 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34606 interface information. Reuse previous data if netlink timestamp
34607 is not changed.
34608 (__bump_nl_timestamp): New function.
34609 (__free_in6ai): New function.
34610
636064eb
UD
346112011-10-30 Ulrich Drepper <drepper@gmail.com>
34612
34613 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34614 close_not_cancel_no_status here.
34615 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34616
9beb2334
UD
346172011-10-29 Ulrich Drepper <drepper@gmail.com>
34618
6ef76f3b
UD
34619 [BZ #13276]
34620 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34621 return value.
34622
0ffc4f3e 34623 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
34624 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34625 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34626
cb95113e
UD
346272011-07-03 Andreas Jaeger <aj@suse.de>
34628
34629 [BZ #10709]
34630 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34631 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34632 * math/libm-test.inc (sin_test): Add test case.
34633
a1b560ff
UD
346342011-10-29 Ulrich Drepper <drepper@gmail.com>
34635
c9aaface
UD
34636 [BZ #13337]
34637 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34638 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34639
d272e7f1
UD
34640 * elf/chroot_canon.c (chroot_canon): Cleanups.
34641
1bc33071
UD
34642 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34643
1760874d
TJ
34644 [BZ #13335]
34645 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34646 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34647
51d91b18
UD
34648 * string/test-strchr.c: Make usable for strchrnul testing.
34649 * string/test-strchrnul.c: New file.
34650 * string/Makefile (strop-tests): Add strchrnul.
34651
a1b560ff 34652 * po/it.po: Update from translation team.
b611fb81 34653 * po/es.po: Likewise.
a1b560ff 34654
a5b81e1f
UD
346552011-10-28 Ulrich Drepper <drepper@gmail.com>
34656
fd52bc6d
UD
34657 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34658 the three constants needed as parameters. Drop the others.
34659 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34660 __m128i_strloadu_tolower.
52e4b9eb
UD
34661 Create and initialize variable zero and use it in all the places
34662 where _mm_setzero_si128 was used.
fd52bc6d 34663
a5b81e1f
UD
34664 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34665 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34666 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34667 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34668 anymore.
34669 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34670 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34671 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34672 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34673 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34674 __mpranred, __mptan.
34675 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34676 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34677 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34678 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34679 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34680 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34681 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34682 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34683 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34684
b4343346
AS
346852011-10-28 Andreas Schwab <schwab@redhat.com>
34686
0c92d8a8
AS
34687 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34688 redefine if SHARED.
34689 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34690
b4343346
AS
34691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34692 wide char related routines to wcsmbs subdir.
34693
3871f58f
AS
346942011-10-27 Andreas Schwab <schwab@redhat.com>
34695
34696 [BZ #13344]
34697 * misc/sys/cdefs.h (__THROWNL): Define.
34698 * posix/unistd.h: Use __THREADNL instead of __THREAD
34699 for memory synchronization functions.
34700
94d44d9f
RM
347012011-10-26 Roland McGrath <roland@hack.frob.com>
34702
21b64b15 34703 [BZ #13349]
94d44d9f
RM
34704 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34705 doesn't exist.
34706 * manual/stdio.texi (Obstack Streams): Node removed.
34707
f6ce9294
AS
347082011-10-26 Andreas Schwab <schwab@redhat.com>
34709
80479147
AS
34710 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34711 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34712 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34713
f6ce9294
AS
34714 * math/math_private.h (math_force_eval): Allow non-addressable
34715 arguments.
34716 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34717
618280a1
UD
347182011-10-25 Ulrich Drepper <drepper@gmail.com>
34719
e0016b11
UD
34720 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34721 file is not needed.
34722
34723 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34724 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34725 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34726 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34727 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34729 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34730 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34731 Add AVX variants.
34732 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34733 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34734 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34735 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34736 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34737 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34738 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34739 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34740 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34741 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34742 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34743 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34744 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34745 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34746 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34747 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34748 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34749 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34750 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34751
34752 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34753 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34754
618280a1
UD
34755 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34756 place. Use VEX encoding when compiling for AVX.
34757
37822576
AS
347582011-10-25 Andreas Schwab <schwab@redhat.com>
34759
1f1e1947
AS
34760 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34761 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34762
37822576
AS
34763 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34764
31ea014d
UD
347652011-10-25 Ulrich Drepper <drepper@gmail.com>
34766
d7826aa1 34767 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34768 useless if() expression.
d7826aa1
UD
34769 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34773 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34774 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34775 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34777 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34778 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34779 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34781 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34782 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34783 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34784 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34785 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34786 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34787 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34788
31ea014d
UD
34789 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34790
16437fec
AS
347912011-10-25 Andreas Schwab <schwab@redhat.com>
34792
34793 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34794 condition.
34795 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34796
31d3cc00
UD
347972011-10-25 Ulrich Drepper <drepper@gmail.com>
34798
34799 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34800 .text section. Avoid duplicate constants.
34801 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34802 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34803 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34805 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34806 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34809 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34810 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34811 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34812 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34813 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34814 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34815 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34816 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34817 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34818 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34819 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34820 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34821 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34822 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34823 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34824 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34825 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34826 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34827 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34828 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34829 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34830 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34831 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34832 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34833 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34834 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34835 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34836 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34837 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34838 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34839 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34840 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34843 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34844 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34845 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34846
58985aa9
UD
348472011-10-24 Ulrich Drepper <drepper@gmail.com>
34848
202c9deb
UD
34849 * sysdeps/x86_64/dla.h: Move to ...
34850 * sysdeps/x86_64/fpu/dla.h: ...here.
34851 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34852 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34853
af968f62
UD
34854 * config.make.in: Add have-mfma4 entry.
34855 * configure.in: Substitute libc_cv_cc_fma4.
34856 * math/Makefile (dbl-only-routines): Add sincostab.
34857 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34858 Use __sincostab not sincos.
34859 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34860 name is a macro.
34861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34862 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34863 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34865 using __copysign.
34866 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34867 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34868 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34869 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34870 and __inv.
34871 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34872 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34873 __copysign.
34874 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34875 define aliases when function name is a macro.
34876 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34877 sysdeps/ieee754/dbl-64/sincos.tbl.
34878 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34879 fma4-enabled routines.
34880 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34881 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34882 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34883 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34884 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34885 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34886 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34887 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34888 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34889 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34890 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34891 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34892 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34893 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34894 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34895 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34896 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34897 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34898 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34899 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34900 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34901 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34902 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34903 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34904 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34906 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34907 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34908 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34909 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34910
58985aa9
UD
34911 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34912 rename.
34913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34921
a201fbcf
AS
349222011-10-24 Andreas Schwab <schwab@redhat.com>
34923
34924 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34925
fc2ee42a
LD
349262011-10-23 Ulrich Drepper <drepper@gmail.com>
34927
bb3129bd
UD
34928 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34929
0275fff8
UD
34930 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34931 prediction.
34932 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34933
2fa2ae85
UD
34934 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34935 Remove unused variable magic_bits.
34936 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34937
fc2ee42a
LD
34938 * string/strnlen.c: Define and use STRNLEN macro.
34939 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34940 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34942 * wcsmbs/wcslen.c: Define and use WCSLEN.
34943 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34944 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34945 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34946 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34947 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34948 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34949 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34950
ce7dd29f
LD
349512011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34952
34953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34954 strnlen-sse2-no-bsf.
34955 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34956 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34957 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34958 Add strnlen support.
34959 (USE_AS_STRNLEN): New macro.
34960 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34961 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34962 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34963 * sysdeps/x86_64/wcslen.S: New file.
34964
979c70a3
MZ
349652011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34966
34967 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34968 XMM-moves are used for copying on small sizes.
34969
2d09f82f
LD
349702011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34971
34972 * wcsmbs/Makefile (strop-tests): Add wcschr.
34973 * wcsmbs/test-wcschr.c: New file.
34974 * string/test-strchr.c: Update.
34975 Add wcschr support.
34976 (WIDE): New macro.
34977
619fccca
LD
349782011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34979
2d09f82f 34980 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34981 * wcsmbs/test-wcslen.c: New file.
34982 * string/test-strlen.c: Update.
34983 Add wcslen support.
34984 (WIDE): New macro.
34985
09f699ea
UD
349862011-10-23 Ulrich Drepper <drepper@gmail.com>
34987
34988 * po/it.po: Update from translation team.
34989
95584d3b
LD
349902011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34991
34992 * sysdeps/x86_64/wcscmp.S: Update.
34993 Fix wrong comparison semantics.
34994 wcscmp shall use signed comparison not unsigned.
34995 Don't use substraction to avoid overflow bug.
34996 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34997 * wcsmbc/wcscmp.c: Likewise.
34998 * string/test-strcmp.c: Likewise.
34999 Add new tests to check cases with negative values.
35000
c8b3296b
UD
350012011-10-23 Ulrich Drepper <drepper@gmail.com>
35002
35003 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
35004 * sysdeps/x86_64/dla.h: ...here. New file.
35005 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
35006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35014
246ad57a
AS
350152011-10-23 Andreas Schwab <schwab@linux-m68k.org>
35016
35017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
35018 __ynl_finite aliases.
35019
a1a87169
UD
350202011-10-22 Ulrich Drepper <drepper@gmail.com>
35021
0d355eb7
UD
35022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35023
a1a87169
UD
35024 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
35025 define DLA_FMA.
35026 [DLA_FMA] (EMULV): Use DLA_FMA.
35027 [DLA_FMA] (MUL12): Use EMULV.
35028 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
35029 that are not needed.
35030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35037
ee2aafe0
AS
350382011-10-22 Andreas Schwab <schwab@linux-m68k.org>
35039
35040 * math/s_nan.c: Undef __nan.
35041 * math/s_nanf.c: Undef __nanf.
35042 * math/s_nanl.c: Undef __nanl.
35043 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
35044 "math_private.h".
35045
bc62c2fb
UD
350462011-10-22 Ulrich Drepper <drepper@gmail.com>
35047
77425c63
UD
35048 * math/s_catan.c: Add branch predictions.
35049 * math/s_catanf.c: Likewise.
35050 * math/s_catanh.c: Likewise.
35051 * math/s_catanhf.c: Likewise.
35052 * math/s_catanhl.c: Likewise.
35053 * math/s_catanl.c: Likewise.
35054 * math/s_cexp.c: Likewise.
35055 * math/s_cexpf.c: Likewise.
35056 * math/s_cexpl.c: Likewise.
35057 * math/s_clog.c: Likewise.
35058 * math/s_clog10.c: Likewise.
35059 * math/s_clog10f.c: Likewise.
35060 * math/s_clog10l.c: Likewise.
35061 * math/s_clogf.c: Likewise.
35062 * math/s_clogl.c: Likewise.
35063 * math/s_csqrt.c: Likewise.
35064 * math/s_csqrtf.c: Likewise.
35065 * math/s_csqrtl.c: Likewise.
35066 * math/s_ctanf.c: Likewise.
35067 * math/s_ctanh.c: Likewise.
35068 * math/s_ctanhf.c: Likewise.
35069 * math/s_ctanhl.c: Likewise.
35070 * math/s_ctanl.c: Likewise.
35071
bc62c2fb
UD
35072 * math/math_private.h: Define __nan, __nanf, __nanl.
35073 * math/s_cacosh.c: Include <math_private.h>.
35074 * math/s_cacoshl.c: Likewise.
35075 * math/s_casinh.c: Likewise.
35076 * math/s_casinhf.c: Likewise.
35077 * math/s_casinhl.c: Likewise.
35078 * math/s_ccos.c: Rely entire on ccosh.
35079 * math/s_ccosf.c: Rely entire on ccoshf.
35080 * math/s_ccosl.c: Rely entirely on ccoshl.
35081 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
35082 Remove tests for FE_INVALID.
35083 * math/s_ccoshf.c: Likewise.
35084 * math/s_ccoshl.c: Likewise.
35085 * math/s_csin.c: Likewise.
35086 * math/s_csinf.c: Likewise.
35087 * math/s_csinh.c Likewise.
35088 * math/s_csinhf.c: Likewise.
35089 * math/s_csinhl.c: Likewise.
35090 * math/s_csinl.c: Likewise.
35091 * math/s_ctan.c: Likewise.
35092 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
35093 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
35094 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
35095
8ec250a4
UD
350962011-10-21 Ulrich Drepper <drepper@gmail.com>
35097
c196fed8
UD
35098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
35099 compilation problems.
35100
8ec250a4
UD
35101 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
35102 __builtin_expect.
35103
8d4f46c6
UD
351042011-10-20 Ulrich Drepper <drepper@gmail.com>
35105
ed72b654
UD
35106 * sysdeps/i386/configure.in: Test for -mfma4 option.
35107 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
35108 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
35109 COMMON_CPUID_INDEX_80000001.
35110 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
35111 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
35112 use it if FMA3 is not supported.
35113 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
35114
8d4f46c6
UD
35115 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
35116 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35117
d45c60c2
AS
351182011-10-20 Andreas Schwab <schwab@redhat.com>
35119
35120 [BZ #12892]
35121 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
35122 it would create a cycle with a link time dependency.
35123
d9a4d2ab
UD
351242011-10-19 Ulrich Drepper <drepper@gmail.com>
35125
855d1560
UD
35126 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
35127 instruction.
35128 * string/Makefile (strop-tests): Add rawmemchr.
35129 * string/test-rawmemchr.c: New file.
35130
d9a4d2ab
UD
35131 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
35132 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
35133 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
35134 when compiling str{,n}casecmp and when AVX is available. Hook up
35135 new optimized code in initializers.
35136
8f3b1ffe
AS
351372011-10-19 Andreas Schwab <schwab@redhat.com>
35138
35139 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35140 __feraiseexcept instead of feraiseexcept.
35141
d38f1dba
UD
351422011-10-18 Ulrich Drepper <drepper@gmail.com>
35143
d9a8d0ab
UD
35144 * math/math_private.h: Define defaults for libc_fetestexcept and
35145 libc_feupdateenv.
35146 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35147 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35148 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35149 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35150 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35151 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35152 libc_fetestexcept and libc_feupdateenv.
35153
4855e3dd
UD
35154 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35155 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35156 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35157 * sysdeps/x86_64/fpu/math_private.h: Define special version of
35158 libc_feholdexcept_setround.
35159
581d30e3
UD
35160 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35161 Add s_nearbyint-c and s_nearbyintf-c.
35162 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35163 nearbyintf inlines.
35164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35165 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35167 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35168
d38f1dba
UD
35169 * math/math_private.h: Define defaults for libc_fegetround,
35170 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35171 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35172 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35173 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35174 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35175 standard functions.
35176 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35177 Remove comments and hacks for old compiler versions.
35178 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35179 libc_fegetround, libc_fesetround, libc_feholdexcept, and
35180 libc_feholdexceptl.
35181
caa6c9d8
AS
351822011-10-18 Andreas Schwab <schwab@redhat.com>
35183
35184 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
35185 (__feraiseexcept_renamed): Add __NTH.
35186 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
35187 namespace violations.
35188
97c066e6
UD
351892011-10-17 Ulrich Drepper <drepper@gmail.com>
35190
99ce7b04
UD
35191 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35192
1004d182
UD
35193 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35194
228a984d
UD
35195 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35196 recently added interfaces.
35197 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35198
c8553a6a
UD
35199 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35200 about macro parameter expansion.
35201
ed22dcf6
UD
35202 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35203 __NO_MATH_INLINES is defined. Cleanups.
35204
35205 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35206 and __floorf is target has SSE4.1.
35207 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35208 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35209 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35210 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35211
b171c137
UD
35212 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35213 name.
35214 (floorf): Likewise.
35215
97c066e6
UD
35216 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35217
629f62ef
AS
352182011-10-17 Andreas Schwab <schwab@redhat.com>
35219
49a43d80
AS
35220 * misc/sys/cdefs.h: Fix last change.
35221
629f62ef
AS
35222 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35223 database lookup.
35224
e453f6cd
UD
352252011-10-16 Ulrich Drepper <drepper@gmail.com>
35226
aa78043a
UD
35227 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35228
ad0f5cad
UD
35229 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35232 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35234 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35235 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35236 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35237 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35238 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35239 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35240 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35241 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35242 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35243 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35244 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35245 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35246 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35247 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35248 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35249 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35250 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35251
35252 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35253 ceil, ceilf, floor, floorf.
35254
35255 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35256 Perform IRELATIVE relocations last.
35257
e453f6cd
UD
35258 * elf/do-rel.h: Add another parameter nrelative, replacing the
35259 local variable with the same name. Change name of the function
35260 to end in Rel or Rela (uppercase).
35261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35262 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
35263 elf_dynamic_do_##reloc function.
35264
fd5bdc09
UD
352652011-10-15 Ulrich Drepper <drepper@gmail.com>
35266
79b195b5
UD
35267 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35268 is sufficient, at least on modern CPUs.
35269
d4a28569
UD
35270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35271
b61099b5
UD
35272 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35273 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35274
bcf01e6d
UD
35275 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35276 __expl_finite.
35277 * math/bits/math-finite.h: Add entries for exp.
35278 * math/e_expl.c: Add __*_finite alias.
35279 * sysdeps/i386/fpu/e_exp.S: Likewise.
35280 * sysdeps/i386/fpu/e_expf.S: Likewise.
35281 * sysdeps/i386/fpu/e_expl.c: Likewise.
35282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35283 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35284 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35286 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35287 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35288 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35289
ba1a0d59
UD
35290 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35291 is sufficient, at least on modern CPUs.
35292
fd5bdc09
UD
35293 * ctype/ctype-info.c (__ctype_init): Define.
35294 * include/ctype.h (__ctype_init): Declare.
35295 (__ctype_b_loc): The variable is always initialized.
35296 (__ctype_toupper_loc): Likewise.
35297 (__ctype_tolower_loc): Likewise.
35298 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35299 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35300
7872cfb0
AS
353012011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35302
b468825a
AS
35303 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35304
7872cfb0
AS
35305 * configure.in: Also look in $cxxmachine/include for C++ system
35306 headers.
35307
be13f7bf
LD
353082011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35309
35310 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35311 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35312 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35313 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35314 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35315 (USE_AS_WMEMCMP): New macro.
35316 Fixing indents.
35317 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35318 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35319 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35320 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35322 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35323 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35325 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35326 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35327 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35328 (USE_AS_WMEMCMP): New macro.
35329 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35330 * sysdeps/string/test-memcmp.c: Update.
35331 Fix simple_wmemcmp.
35332 Add new tests.
35333 * wcsmbs/wmemcmp.c: Update.
35334 (WMEMCMP): New macro.
35335 Fix overflow bug.
35336
556a2007
AJ
353372011-10-12 Andreas Jaeger <aj@suse.de>
35338
35339 [BZ #13268]
35340 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35341
538faaa7
UD
353422011-10-15 Ulrich Drepper <drepper@gmail.com>
35343
ab6737ff
UD
35344 * libio/iofwide.c (do_length): Avoid warning.
35345
538faaa7
UD
35346 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35347
396a21b1
UD
353482011-10-14 Ulrich Drepper <drepper@gmail.com>
35349
cdf2901f
UD
35350 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35351
38ad40ce
UD
35352 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35353 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35354 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35355 * sysdeps/i386/i686/fpu/e_log.S: New file.
35356 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35357 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35358
396a21b1
UD
35359 * ctype/ctype.h: Add support for inlined isXXX functions when
35360 compiling C++ code.
35361
6b1f68c9
AS
353622011-10-14 Andreas Schwab <schwab@redhat.com>
35363
349290c0
AS
35364 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35365
6b1f68c9
AS
35366 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35367
f2282d42
RM
353682011-10-13 Roland McGrath <roland@hack.frob.com>
35369
35370 [BZ #13291]
35371 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35372
5298ffa8
AS
353732011-10-13 Andreas Schwab <schwab@redhat.com>
35374
714fad23
AS
35375 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35376 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35377 feraiseexcept.
35378
81dcc7fb
AS
35379 * sysdeps/x86_64/memrchr.S: Check for zero size.
35380
5298ffa8
AS
35381 * string/stratcliff.c: Add memrchr tests.
35382
951fbcec
LD
353832011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35384
35385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35386 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35387 rawmemchr-sse2 rawmemchr-sse2-bsf.
35388 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35389 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35390 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35391 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35392 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35393 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35394 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35395 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35397 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35398 * string/memrchr.c (MEMRCHR): New macro.
35399
0ac5ae23
UD
354002011-10-12 Ulrich Drepper <drepper@gmail.com>
35401
35402 Add integration with gcc's -ffinite-math-only and optimize wrapper
35403 functions in libm.
35404 * Versions.def: Define GLIBC_2.15 version for libm.
35405 * math/Makefile (headers): Add bits/math-finite.h.
35406 * math/bits/math-finite.h: New file.
35407 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35408 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35409 * math/e_acoshl.c: Add __*_finite alias.
35410 * math/e_acosl.c: Likewise.
35411 * math/e_asinl.c: Likewise.
35412 * math/e_atan2l.c: Likewise.
35413 * math/e_atanhl.c: Likewise.
35414 * math/e_coshl.c: Likewise.
35415 * math/e_exp10.c: Likewise.
35416 * math/e_exp10f.c: Likewise.
35417 * math/e_exp10l.c: Likewise.
35418 * math/e_exp2l.c: Likewise.
35419 * math/e_fmodl.c: Likewise.
35420 * math/e_gammal_r.c: Likewise.
35421 * math/e_hypotl.c: Likewise.
35422 * math/e_j0l.c: Likewise.
35423 * math/e_j1l.c: Likewise.
35424 * math/e_jnl.c: Likewise.
35425 * math/e_lgammal_r.c: Likewise.
35426 * math/e_log10l.c: Likewise.
35427 * math/e_log2l.c: Likewise.
35428 * math/e_logl.c: Likewise.
35429 * math/e_powl.c: Likewise.
35430 * math/e_sinhl.c: Likewise.
35431 * math/e_sqrtl.c: Likewise.
35432 * math/e_scalb.c: Completely rewritten and optimized.
35433 * math/e_scalbf.c: Likewise.
35434 * math/e_scalbl.c: Likewise.
35435 * math/w_acos.c: Likewise.
35436 * math/w_acosf.c: Likewise.
35437 * math/w_acosl.c: Likewise.
35438 * math/w_acosh.c: Likewise.
35439 * math/w_acoshf.c: Likewise.
35440 * math/w_acoshl.c: Likewise.
35441 * math/w_asin.c: Likewise.
35442 * math/w_asinf.c: Likewise.
35443 * math/w_asinl.c: Likewise.
35444 * math/w_atan2.c: Likewise.
35445 * math/w_atan2f.c: Likewise.
35446 * math/w_atan2l.c: Likewise.
35447 * math/w_atanh.c: Likewise.
35448 * math/w_atanhf.c: Likewise.
35449 * math/w_atanhl.c: Likewise.
35450 * math/w_exp10.c: Likewise.
35451 * math/w_exp10f.c: Likewise.
35452 * math/w_exp10l.c: Likewise.
35453 * math/w_fmod.c: Likewise.
35454 * math/w_fmodf.c: Likewise.
35455 * math/w_fmodl.c: Likewise.
35456 * math/w_j0.c: Likewise.
35457 * math/w_j0f.c: Likewise.
35458 * math/w_j0l.c: Likewise.
35459 * math/w_j1.c: Likewise.
35460 * math/w_j1f.c: Likewise.
35461 * math/w_j1l.c: Likewise.
35462 * math/w_jn.c: Likewise.
35463 * math/w_jnf.c: Likewise.
35464 * math/w_log.c: Likewise.
35465 * math/w_logf.c: Likewise.
35466 * math/w_logl.c: Likewise.
35467 * math/w_log10.c: Likewise.
35468 * math/w_log10f.c: Likewise.
35469 * math/w_log10l.c: Likewise.
35470 * math/w_log2.c: Likewise.
35471 * math/w_log2f.c: Likewise.
35472 * math/w_log2l.c: Likewise.
35473 * math/w_pow.c: Likewise.
35474 * math/w_powf.c: Likewise.
35475 * math/w_powl.c: Likewise.
35476 * math/w_remainder.c: Likewise.
35477 * math/w_remainderf.c: Likewise.
35478 * math/w_remainderl.c: Likewise.
35479 * math/w_scalb.c: Likewise.
35480 * math/w_scalbf.c: Likewise.
35481 * math/w_scalbl.c: Likewise.
35482 * math/w_sqrt.c: Likewise.
35483 * math/w_sqrtf.c: Likewise.
35484 * math/w_sqrtl.c: Likewise.
35485 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35486 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35487 used.
35488 * math/math_private.h: Declare __kernel_standard_f.
35489 * math/w_cosh.c: Remove cruft and optimize a bit.
35490 * math/w_coshf.c: Likewise.
35491 * math/w_coshl.c: Likewise.
35492 * math/w_exp2.c: Likewise.
35493 * math/w_exp2f.c: Likewise.
35494 * math/w_exp2l.c: Likewise.
35495 * math/w_hypot.c: Likewise.
35496 * math/w_hypotf.c: Likewise.
35497 * math/w_hypotl.c: Likewise.
35498 * math/w_lgamma.c: Likewise.
35499 * math/w_lgamma_r.c: Likewise.
35500 * math/w_lgammaf.c: Likewise.
35501 * math/w_lgammaf_r.c: Likewise.
35502 * math/w_lgammal.c: Likewise.
35503 * math/w_lgammal_r.c: Likewise.
35504 * math/w_sinh.c: Likewise.
35505 * math/w_sinhf.c: Likewise.
35506 * math/w_sinhl.c: Likewise.
35507 * math/w_tgamma.c: Likewise.
35508 * math/w_tgammaf.c: Likewise.
35509 * math/w_tgammal.c: Likewise.
35510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35511 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35512 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35513 Minor optimizations. Pretty printing. Remove cruft.
35514 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35515 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35516 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35517 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35518 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35519 * sysdeps/i386/fpu/e_asin.S: Likewise.
35520 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35521 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35522 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35523 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35524 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35525 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35526 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35527 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35528 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35529 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35530 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35531 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35532 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35533 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35534 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35535 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35536 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35537 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35538 * sysdeps/i386/fpu/e_log.S: Likewise.
35539 * sysdeps/i386/fpu/e_log10.S: Likewise.
35540 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35541 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35542 * sysdeps/i386/fpu/e_log2.S: Likewise.
35543 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35544 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35545 * sysdeps/i386/fpu/e_logf.S: Likewise.
35546 * sysdeps/i386/fpu/e_logl.S: Likewise.
35547 * sysdeps/i386/fpu/e_pow.S: Likewise.
35548 * sysdeps/i386/fpu/e_powf.S: Likewise.
35549 * sysdeps/i386/fpu/e_powl.S: Likewise.
35550 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35551 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35552 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35553 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35554 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35555 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35556 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35557 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35558 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35559 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35560 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35562 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35563 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35564 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35565 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35566 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35568 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35569 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35570 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35572 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35573 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35575 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35576 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35577 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35579 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35580 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35581 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35582 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35583 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35584 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35585 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35586 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35587 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35588 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35589 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35590 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35591 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35592 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35593 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35594 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35595 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35596 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35597 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35598 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35599 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35600 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35611 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35612 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35614 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35615 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35616 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35617 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35618 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35619 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35639 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35640 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35641 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35642 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35644 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35645 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35647 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35650 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35651 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35652 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35653 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35654 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35655 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35656 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35657 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35658 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35659 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35660 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35661 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35662 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35663 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35664 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35665 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35667 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35668 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35669 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35670 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35671 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35672 (__isnanf): Likewise.
35673 (__isinf_ns): Likewise.
35674 (__isinf_nsf): Likewise.
35675 (__finite): Likewise.
35676 (__finitef): Likewise.
35677 (__ieee754_sqrt): Define as macro.
35678 (__ieee754_sqrtf): Define as macro.
35679 (__ieee754_sqrtl): Define as macro.
35680 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35681 inlined copy.
35682 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35683 __FINITE_MATH_ONLY__ consistent.
35684 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35685
12cc2fcd
AS
356862011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35687
a843a204
AS
35688 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35689 of rawmemchr.
35690
12cc2fcd
AS
35691 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35692
c853acd5
UD
356932011-10-09 Ulrich Drepper <drepper@gmail.com>
35694
35695 * po/ja.po: Update from translation team.
35696
c658d255
RM
356972011-10-08 Roland McGrath <roland@hack.frob.com>
35698
110946e4
RM
35699 * locale/programs/locarchive.c (prepare_address_space): New function.
35700 (create_archive, enlarge_archive, open_archive): Use it.
35701
50604220
RM
35702 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35703 inside [SHARED], where it is used.
35704
c658d255
RM
35705 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35706
35707 * nss/getent.c (netgroup_keys): Remove unused variable.
35708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35709
6a621eb7
UD
357102011-10-08 Ulrich Drepper <drepper@gmail.com>
35711
7edb55ce
UD
35712 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35713 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35715 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35716 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35717 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35718 * math/Makefile (libm-calls): Add s_isinf_ns.
35719 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35720 * math/multc3.c: Likewise.
35721 * math/s_casin.c: Likewise.
35722 * math/s_casinf.c: Likewise.
35723 * math/s_casinl.c: Likewise.
35724 * math/s_ccos.c: Likewise.
35725 * math/s_ccosf.c: Likewise.
35726 * math/s_ccosl.c: Likewise.
35727 * math/s_ctan.c: Likewise.
35728 * math/s_ctanf.c: Likewise.
35729 * math/s_ctanh.c: Likewise.
35730 * math/s_ctanhf.c: Likewise.
35731 * math/s_ctanhl.c: Likewise.
35732 * math/s_ctanl.c: Likewise.
35733 * math/w_fmod.c: Likewise.
35734 * math/w_fmodf.c: Likewise.
35735 * math/w_fmodl.c: Likewise.
35736 * math/w_remainder.c: Likewise.
35737 * math/w_remainderf.c: Likewise.
35738 * math/w_remainderl.c: Likewise.
35739 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35740 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35741 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35743 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35744 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35745 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35746 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35747
187da0ae
UD
35748 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35749 of the number.
35750 * stdio-common/printf_fphex.c: Likewise.
35751 * stdio-common/printf_size.c: Likewise.
35752
9277c064
UD
35753 * math/e_exp10.c: Include math_private.h using <...> not "...".
35754 * math/e_exp10f.c: Likewise.
35755 * math/e_exp10l.c: Likewise.
35756 * math/e_exp2l.c: Likewise.
35757 * math/e_j0l.c: Likewise.
35758 * math/e_j1l.c: Likewise.
35759 * math/e_jnl.c: Likewise.
35760 * math/e_lgammal_r.c: Likewise.
35761 * math/e_rem_pio2l.c: Likewise.
35762 * math/e_scalb.c: Likewise.
35763 * math/e_scalbf.c: Likewise.
35764 * math/e_scalbl.c: Likewise.
35765 * math/k_cosl.c: Likewise.
35766 * math/k_sinl.c: Likewise.
35767 * math/k_tanl.c: Likewise.
35768 * math/s_cacoshf.c: Likewise.
35769 * math/s_catan.c: Likewise.
35770 * math/s_catanf.c: Likewise.
35771 * math/s_catanh.c: Likewise.
35772 * math/s_catanhf.c: Likewise.
35773 * math/s_catanhl.c: Likewise.
35774 * math/s_catanl.c: Likewise.
35775 * math/s_ccosh.c: Likewise.
35776 * math/s_ccoshf.c: Likewise.
35777 * math/s_ccoshl.c: Likewise.
35778 * math/s_cexp.c: Likewise.
35779 * math/s_cexpf.c: Likewise.
35780 * math/s_cexpl.c: Likewise.
35781 * math/s_clog.c: Likewise.
35782 * math/s_clog10.c: Likewise.
35783 * math/s_clog10f.c: Likewise.
35784 * math/s_clog10l.c: Likewise.
35785 * math/s_clogf.c: Likewise.
35786 * math/s_clogl.c: Likewise.
35787 * math/s_csin.c: Likewise.
35788 * math/s_csinf.c: Likewise.
35789 * math/s_csinh.c: Likewise.
35790 * math/s_csinhf.c: Likewise.
35791 * math/s_csinhl.c: Likewise.
35792 * math/s_csinl.c: Likewise.
35793 * math/s_csqrt.c: Likewise.
35794 * math/s_csqrtf.c: Likewise.
35795 * math/s_csqrtl.c: Likewise.
35796 * math/s_ctan.c: Likewise.
35797 * math/s_ctanf.c: Likewise.
35798 * math/s_ctanh.c: Likewise.
35799 * math/s_ctanhf.c: Likewise.
35800 * math/s_ctanhl.c: Likewise.
35801 * math/s_ctanl.c: Likewise.
35802 * math/s_ldexp.c: Likewise.
35803 * math/s_ldexpf.c: Likewise.
35804 * math/s_ldexpl.c: Likewise.
35805 * math/s_significand.c: Likewise.
35806 * math/s_significandf.c: Likewise.
35807 * math/s_significandl.c: Likewise.
35808 * math/w_acos.c: Likewise.
35809 * math/w_acosf.c: Likewise.
35810 * math/w_acosh.c: Likewise.
35811 * math/w_acoshf.c: Likewise.
35812 * math/w_acoshl.c: Likewise.
35813 * math/w_acosl.c: Likewise.
35814 * math/w_asin.c: Likewise.
35815 * math/w_asinf.c: Likewise.
35816 * math/w_asinl.c: Likewise.
35817 * math/w_atan2.c: Likewise.
35818 * math/w_atan2f.c: Likewise.
35819 * math/w_atan2l.c: Likewise.
35820 * math/w_atanh.c: Likewise.
35821 * math/w_atanhf.c: Likewise.
35822 * math/w_atanhl.c: Likewise.
35823 * math/w_cosh.c: Likewise.
35824 * math/w_coshf.c: Likewise.
35825 * math/w_coshl.c: Likewise.
35826 * math/w_dremf.c: Likewise.
35827 * math/w_exp10.c: Likewise.
35828 * math/w_exp10f.c: Likewise.
35829 * math/w_exp10l.c: Likewise.
35830 * math/w_exp2.c: Likewise.
35831 * math/w_exp2f.c: Likewise.
35832 * math/w_fmod.c: Likewise.
35833 * math/w_fmodf.c: Likewise.
35834 * math/w_fmodl.c: Likewise.
35835 * math/w_hypot.c: Likewise.
35836 * math/w_hypotf.c: Likewise.
35837 * math/w_hypotl.c: Likewise.
35838 * math/w_j0.c: Likewise.
35839 * math/w_j0f.c: Likewise.
35840 * math/w_j0l.c: Likewise.
35841 * math/w_j1.c: Likewise.
35842 * math/w_j1f.c: Likewise.
35843 * math/w_j1l.c: Likewise.
35844 * math/w_jn.c: Likewise.
35845 * math/w_jnf.c: Likewise.
35846 * math/w_jnl.c: Likewise.
35847 * math/w_lgamma.c: Likewise.
35848 * math/w_lgamma_r.c: Likewise.
35849 * math/w_lgammaf.c: Likewise.
35850 * math/w_lgammaf_r.c: Likewise.
35851 * math/w_lgammal.c: Likewise.
35852 * math/w_lgammal_r.c: Likewise.
35853 * math/w_log.c: Likewise.
35854 * math/w_log10.c: Likewise.
35855 * math/w_log10f.c: Likewise.
35856 * math/w_log10l.c: Likewise.
35857 * math/w_log2.c: Likewise.
35858 * math/w_log2f.c: Likewise.
35859 * math/w_log2l.c: Likewise.
35860 * math/w_logf.c: Likewise.
35861 * math/w_logl.c: Likewise.
35862 * math/w_pow.c: Likewise.
35863 * math/w_powf.c: Likewise.
35864 * math/w_powl.c: Likewise.
35865 * math/w_remainder.c: Likewise.
35866 * math/w_remainderf.c: Likewise.
35867 * math/w_remainderl.c: Likewise.
35868 * math/w_scalb.c: Likewise.
35869 * math/w_scalbf.c: Likewise.
35870 * math/w_scalbl.c: Likewise.
35871 * math/w_sinh.c: Likewise.
35872 * math/w_sinhf.c: Likewise.
35873 * math/w_sinhl.c: Likewise.
35874 * math/w_sqrt.c: Likewise.
35875 * math/w_sqrtf.c: Likewise.
35876 * math/w_sqrtl.c: Likewise.
35877 * math/w_tgamma.c: Likewise.
35878 * math/w_tgammaf.c: Likewise.
35879 * math/w_tgammal.c: Likewise.
35880
6a621eb7
UD
35881 * po/ja.po: Update from translation team.
35882
bf582445
AJ
358832011-09-29 Andreas Jaeger <aj@suse.de>
35884
f9efbf3a
AJ
35885 [BZ #13179]
35886 * sunrpc/netname.c (netname2host): Fix logic.
35887
bf582445
AJ
35888 [BZ #6779]
35889 [BZ #6783]
35890 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35891 correctly.
35892 * math/w_remainder.c (__remainder): Likewise.
35893 * math/w_remainderf.c (__remainderf): Likewise.
35894 * math/libm-test.inc (remainder_test): Add test cases.
35895
48693bea
AK
358962011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35897
35898 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35899 sdiv_qrnnd.
35900
42622229
LD
359012011-10-07 Ulrich Drepper <drepper@gmail.com>
35902
35903 * string/test-memcmp.c: Avoid unncessary #defines.
35904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35905
093ecf92
LD
359062011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35907
35908 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35909 Use new sse2 version for core i3 - i7 as it's faster
35910 than sse42 version.
35911 (bit_Prefer_PMINUB_for_stringop): New.
35912 * sysdeps/x86_64/rawmemchr.S: Update.
35913 Replace with faster SSE2 version.
35914 * sysdeps/x86_64/memrchr.S: New file.
35915 * sysdeps/x86_64/memchr.S: Update.
35916 Replace with faster SSE2 version.
35917
fde56e5c
MP
359182011-09-12 Marek Polacek <mpolacek@redhat.com>
35919
35920 * elf/dl-load.c (lose): Add cast to avoid warning.
35921
21fd49a9
UD
359222011-10-07 Ulrich Drepper <drepper@gmail.com>
35923
5a06e643
UD
35924 * po/ca.po: Update from translation team.
35925
684ae515
UD
35926 * inet/getnetgrent_r.c: Hook up nscd.
35927 * nscd/Makefile (routines): Add nscd_netgroup.
35928 (nscd-modules): Add netgroupcache.
35929 (CFLAGS-netgroupcache.c): Define.
35930 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35931 (cache_search): Add const to second parameter.
35932 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35933 INNETGR.
35934 (dbs): Add netgrdb entry.
35935 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35936 (verify_persistent_db): Handle netgrdb.
35937 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35938 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35939 GETFDNETGR.
35940 (netgroup_response_header): Define.
35941 (innetgroup_response_header): Define.
35942 (datahead): Add netgroup_response_header and innetgroup_response_header
35943 elements.
35944 * nscd/nscd.conf: Add entries for netgroup cache.
35945 * nscd/nscd.h (dbtype): Add netgrdb.
35946 (_PATH_NSCD_NETGROUP_DB): Define.
35947 (netgroup_iov_disabled): Declare.
35948 (xmalloc, xcalloc, xrealloc): Move declarations here.
35949 (cache_search): Adjust prototype.
35950 Add netgroup-related prototypes.
35951 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35952 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35953 (__nscd_innetgr): Declare.
35954 * nscd/selinux.c (perms): Use access_vector_t as element type and
35955 add netgroup-related initializers.
35956 * nscd/netgroupcache.c: New file.
35957 * nscd/nscd_netgroup.c: New file.
35958 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35959 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35960 For four parameters use innetgr.
35961 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35962 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35963 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35964 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35965
21fd49a9
UD
35966 * nscd/connections.c (register_traced_file): Don't register file
35967 for disabled databases.
35968
054c0457
UD
359692011-10-06 Ulrich Drepper <drepper@gmail.com>
35970
32b63198
UD
35971 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35972
054c0457
UD
35973 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35974 from tree and freeing node.
35975
64031225
JO
359762011-09-25 Jiri Olsa <jolsa@redhat.com>
35977
35978 * nss/nsswitch.c (__nss_database_lookup): Handle
35979 nss_parse_service_list out of memory case.
35980
0490345c
JO
359812011-09-15 Jiri Olsa <jolsa@redhat.com>
35982
35983 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35984 out of memory case.
35985
3a62d00d
AS
359862011-10-04 Andreas Schwab <schwab@redhat.com>
35987
35988 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35989 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35990 pass it down.
35991 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35992 elf_machine_rela, elf_machine_lazy_rel.
35993 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35994 (ELF_DYNAMIC_DO_REL): Likewise.
35995 (ELF_DYNAMIC_DO_RELA): Likewise.
35996 (ELF_DYNAMIC_RELOCATE): Likewise.
35997 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35998 to ELF_DYNAMIC_DO_REL.
35999 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
36000 (dl_main): In trace mode always set __RTLD_NOIFUNC.
36001 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
36002 elf_machine_rela.
36003 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
36004 skip_ifunc, don't call ifunc function if non-zero.
36005 (elf_machine_rela): Likewise.
36006 (elf_machine_lazy_rel): Likewise.
36007 (elf_machine_lazy_rela): Likewise.
36008 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
36009 (elf_machine_lazy_rel): Likewise.
36010 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
36011 Likewise.
36012 (elf_machine_lazy_rel): Likewise.
36013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36014 Likewise.
36015 (elf_machine_lazy_rel): Likewise.
36016 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
36017 (elf_machine_lazy_rel): Likewise.
36018 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
36019 (elf_machine_lazy_rel): Likewise.
36020 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36021 (elf_machine_lazy_rel): Likewise.
36022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
36023 (elf_machine_lazy_rel): Likewise.
36024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
36025 (elf_machine_lazy_rel): Likewise.
36026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36027 (elf_machine_lazy_rel): Likewise.
36028
68577918
UD
360292011-09-28 Ulrich Drepper <drepper@gmail.com>
36030
36031 * nss/nss_files/files-init.c (_nss_files_init): Use static
36032 initialization for all the *_traced_file variables.
36033
68822d74
AS
360342011-09-28 Andreas Schwab <schwab@redhat.com>
36035
36036 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36037
2056100b
RM
360382011-09-27 Roland McGrath <roland@hack.frob.com>
36039
36040 [BZ #13226]
36041 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
36042
32c76b63
AS
360432011-09-27 Andreas Schwab <schwab@redhat.com>
36044
36045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36046 Reread the line before reparsing it.
36047
bf972c9d
AS
360482011-09-26 Andreas Schwab <schwab@redhat.com>
36049
36050 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
36051
e057a1b5
JM
360522011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
36053 Maxim Kuvyrkov <maxim@codesourcery.com>
36054 Joseph Myers <joseph@codesourcery.com>
36055
36056 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
36057 if needed for __stack_chk_guard.
36058
bc7e1c36
RM
360592011-09-19 Roland McGrath <roland@hack.frob.com>
36060
ecb1482f
RM
36061 * sysdeps/posix/spawni.c (script_execute): Always define it.
36062 It will be optimized away if unused.
36063 (maybe_script_execute): New function.
36064 (__spawni): Call it.
36065
bc7e1c36
RM
36066 * Makerules: Don't include tls.make.
36067 (config-tls): Always set to thread.
36068 * tls.make.c: File removed.
36069
1c3b002b
MF
360702011-09-19 Mike Frysinger <vapier@gentoo.org>
36071
36072 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
36073 * config.make.in (CPPFLAGS-config): New substituted variable.
36074
2840865d
UD
360752011-09-15 Ulrich Drepper <drepper@gmail.com>
36076
88738eb6
UD
36077 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
36078
cbf645a6 36079 [BZ #13192]
2840865d
UD
36080 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
36081 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
36082
b402e91a
RM
360832011-09-15 Roland McGrath <roland@hack.frob.com>
36084
36085 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
36086 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
36087 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36088 (CALL_FAIL): Likewise.
36089 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
36090 (CALL_FAIL): Macro removed.
36091 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
36092
4c1a1f71
UD
360932011-09-15 Ulrich Drepper <drepper@gmail.com>
36094
36095 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
36096 for __FINITE_MATH_ONLY__ == 1.
36097
edc121be
AS
360982011-09-15 Andreas Schwab <schwab@redhat.com>
36099
36100 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
36101 __ieee754_sqrt instead of sqrt.
36102 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
36103 __ieee754_sqrtf instead of sqrtf.
36104 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
36105 __floorf instead of floorf.
36106 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
36107 __floorf, __truncf instead of floorf, truncf.
36108
cd205654
UD
361092011-09-14 Ulrich Drepper <drepper@gmail.com>
36110
ee4d0315
UD
36111 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
36112
cd205654
UD
36113 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
36114 __extern_always_inline.
36115 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
36116 32-bit.
36117
48b67d71
AS
361182011-09-14 Andreas Schwab <schwab@redhat.com>
36119
36120 * elf/rtld.c (dl_main): Also relocate in dependency order when
36121 doing symbol dependency testing.
36122
1ae12c75
AS
361232011-09-13 Andreas Schwab <schwab@linux-m68k.org>
36124
36125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36126 Always define `refsym'.
36127
995a80df
AS
361282011-09-13 Andreas Schwab <schwab@redhat.com>
36129
e529793b
AS
36130 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
36131 (__FD_ELT): Renamed from __FDELT.
36132 * misc/bits/select2.h (__FD_ELT): Likewise.
36133 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
36134 __FD_MASK instead of __FDELT, __FDMASK.
36135 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36136 Likewise.
36137 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36138 Likewise.
36139
52d4fef8
AS
36140 * elf/Makefile (gen-ldd): Fix pattern.
36141
995a80df
AS
36142 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36143 (init_tls): Likewise.
36144
8682f8b0
UD
361452011-09-12 Ulrich Drepper <drepper@gmail.com>
36146
36147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36148
de82006d
AS
361492011-09-12 Andreas Schwab <schwab@redhat.com>
36150
a7c8e6a1
AS
36151 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36152 `struct cmsghdr *' instead of `void *'.
36153 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36154 Likewise.
36155
0f31fe77
AS
361562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
36157
36158 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36159 if non-absolute.
36160 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36161 ldd_rewrite_script.
0f31fe77 36162
32b4c839
UD
361632011-09-11 Ulrich Drepper <drepper@gmail.com>
36164
83cd1420
UD
36165 * configure.in: Remove --with-tls option.
36166 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36167 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36168 out in case it is missing.
36169 * sysdeps/ia64/elf/configure.in: Likewise.
36170 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36171 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36172 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36173 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36174 * sysdeps/sh/elf/configure.in: Likewise.
36175 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36176 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36177 * sysdeps/x86_64/elf/configure.in: Likewise.
36178 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36179 * sysdeps/mach/hurd/tls.h: Likewise.
36180
633f745d
UD
36181 [BZ #13067]
36182 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36183
f318beb8
UD
36184 [BZ #13090]
36185 * configure.in: Fix use of AC_INIT.
36186
32b4c839
UD
36187 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36188
3ce1f295
UD
361892011-09-10 Ulrich Drepper <drepper@gmail.com>
36190
bb016596
UD
36191 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36192 __set_errno.
8e58439c
UD
36193 * malloc/hooks.c: Likewise.
36194
aebae053 36195 [BZ #11929]
02d46fc4
UD
36196 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
36197 variables statically.
36198 (narenas): Initialize.
36199 (list_lock): Initialize.
bb016596
UD
36200 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
36201 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
36202 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36203 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
36204 Add initializers to main_arena and mp_.
36205 (malloc_state): Remove pagesize member. Change all users to use
36206 GLRO(dl_pagesize).
36207
36208 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36209 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
36210 is always initialized.
36211
22a89187
UD
36212 * malloc/malloc.c: Removed unused configurations and dead code.
36213 * malloc/arena.c: Likewise.
36214 * malloc/hooks.c: Likewise.
02d46fc4 36215 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 36216
d063d164
UD
36217 * include/tls.h: Removed. USE___THREAD must always be defined.
36218 * bits/libc-tsd.h: Don't handle !USE___THREAD.
36219 * elf/dl-libc.c: Likewise.
36220 * elf/dl-tsd.c: Likewise.
36221 * include/errno.h: Likewise.
36222 * include/netdb.h: Likewise.
36223 * include/resolv.h: Likewise.
36224 * inet/herrno-loc.c: Likewise.
36225 * inet/herrno.c: Likewise.
36226 * malloc/arena.c: Likewise.
36227 * malloc/hooks.c: Likewise.
36228 * malloc/malloc.c: Likewise.
36229 * resolv/res-state.c: Likewise.
36230 * resolv/res_libc.c: Likewise.
36231 * sysdeps/i386/dl-machine.h: Likewise.
36232 * sysdeps/ia64/dl-machine.h: Likewise.
36233 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36234 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36235 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36236 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36237 * sysdeps/sh/dl-machine.h: Likewise.
36238 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36239 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36240 * sysdeps/unix/i386/sysdep.S: Likewise.
36241 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36242 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36244 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36246 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36247 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36251 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36252 * sysdeps/x86_64/dl-machine.h: Likewise.
36253 * tls.make.c: Likewise.
36254
3ce1f295
UD
36255 * configure.in: Remove --with-__thread option. Make tests for
36256 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36257 tls_model attribute fail if no support is available. Remove
36258 USE_IN_LIBIO.
36259 * Makeconfig: Adjust for dropped configure option. All features are
36260 now mandatory.
36261 * Makerules: Likewise.
36262 * Versions.def: Likewise.
36263 * argp/argp-fmtstream.c: Likewise.
36264 * argp/argp-fmtstream.h: Likewise.
36265 * argp/argp-help.c: Likewise.
36266 * assert/assert.c: Likewise.
36267 * config.h.in: Likewise.
36268 * config.make.in: Likewise.
36269 * configure: Likewise.
36270 * configure.in: Likewise.
36271 * csu/Versions: Likewise.
36272 * csu/init.c: Likewise.
36273 * elf/tst-audit2.c: Likewise.
36274 * elf/tst-tls10.c: Likewise.
36275 * elf/tst-tls10.h: Likewise.
36276 * elf/tst-tls11.c: Likewise.
36277 * elf/tst-tls12.c: Likewise.
36278 * elf/tst-tls14.c: Likewise.
36279 * elf/tst-tlsmod11.c: Likewise.
36280 * elf/tst-tlsmod12.c: Likewise.
36281 * elf/tst-tlsmod13.c: Likewise.
36282 * elf/tst-tlsmod13a.c: Likewise.
36283 * elf/tst-tlsmod14a.c: Likewise.
36284 * elf/tst-tlsmod15b.c: Likewise.
36285 * elf/tst-tlsmod16a.c: Likewise.
36286 * elf/tst-tlsmod16b.c: Likewise.
36287 * elf/tst-tlsmod7.c: Likewise.
36288 * elf/tst-tlsmod8.c: Likewise.
36289 * elf/tst-tlsmod9.c: Likewise.
36290 * gmon/gmon.c: Likewise.
36291 * grp/fgetgrent_r.c: Likewise.
36292 * grp/putgrent.c: Likewise.
36293 * hurd/fopenport.c: Likewise.
36294 * include/libc-symbols.h: Likewise.
36295 * include/tls.h: Likewise.
36296 * intl/gettextP.h: Likewise.
36297 * intl/loadinfo.h: Likewise.
36298 * locale/global-locale.c: Likewise.
36299 * locale/localeinfo.h: Likewise.
36300 * mach/devstream.c: Likewise.
36301 * malloc/arena.c: Likewise.
36302 * malloc/set-freeres.c: Likewise.
36303 * misc/err.c: Likewise.
36304 * misc/getttyent.c: Likewise.
36305 * misc/mntent_r.c: Likewise.
36306 * posix/getopt.c: Likewise.
36307 * posix/wordexp.c: Likewise.
36308 * pwd/fgetpwent_r.c: Likewise.
36309 * resolv/Versions: Likewise.
36310 * resolv/res_hconf.c: Likewise.
36311 * shadow/fgetspent_r.c: Likewise.
36312 * shadow/putspent.c: Likewise.
36313 * stdio-common/printf_fphex.c: Likewise.
36314 * stdio-common/tmpfile.c: Likewise.
36315 * stdlib/abort.c: Likewise.
36316 * stdlib/fmtmsg.c: Likewise.
36317 * sunrpc/auth_unix.c: Likewise.
36318 * sunrpc/clnt_perr.c: Likewise.
36319 * sunrpc/clnt_tcp.c: Likewise.
36320 * sunrpc/clnt_udp.c: Likewise.
36321 * sunrpc/clnt_unix.c: Likewise.
36322 * sunrpc/openchild.c: Likewise.
36323 * sunrpc/svc_simple.c: Likewise.
36324 * sunrpc/svc_tcp.c: Likewise.
36325 * sunrpc/svc_udp.c: Likewise.
36326 * sunrpc/svc_unix.c: Likewise.
36327 * sunrpc/xdr.c: Likewise.
36328 * sunrpc/xdr_array.c: Likewise.
36329 * sunrpc/xdr_rec.c: Likewise.
36330 * sunrpc/xdr_ref.c: Likewise.
36331 * sunrpc/xdr_stdio.c: Likewise.
36332
1248c1c4
PB
363332011-09-09 Ulrich Drepper <drepper@gmail.com>
36334
36335 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36336
363372011-07-03 Andreas Jaeger <aj@suse.de>
36338
36339 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36340 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36341 regenerate with gen-libm-tests.pl.
36342
363432010-05-12 Petr Baudis <pasky@suse.cz>
36344
36345 [BZ #11589]
36346 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36347 around j0() zero points by switching to j1().
36348 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36349 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36351 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36352
f22e1074
UD
363532011-09-09 Ulrich Drepper <drepper@gmail.com>
36354
f19009c1
UD
36355 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36356 instead of 0.
36357 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 36358 instead of 0.
f19009c1
UD
36359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36360 Patch in part by Pavel Roskin <proski@gnu.org>.
36361
3f8cc204
UD
36362 [BZ #13138]
36363 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36364 realloc.
36365 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36366 Free memory block if necessary.
36367
f22e1074
UD
36368 [BZ #12847]
36369 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36370 be NULL. Don't lock in this case.
36371
0a2349f9
RM
363722011-09-09 Roland McGrath <roland@hack.frob.com>
36373
36374 * elf/elf.h (ELFOSABI_GNU): New macro.
36375 (ELFOSABI_LINUX): Define to that.
36376
f3cdd467
DZ
363772011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36378
36379 * string/strncat.c (strncat): Undef the symbol in case it has been
36380 defined in bits/string.h.
36381
74718d13
UD
363822011-09-09 Ulrich Drepper <drepper@gmail.com>
36383
633e9e0f
UD
36384 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36385
0a2349f9 36386 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
36387 link map.
36388
f9924780
AJ
363892011-08-17 Andreas Jaeger <aj@suse.de>
36390
36391 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36392
7f5517aa
PP
363932011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36394 Ian Lance Taylor <iant@google.com>
36395
36396 * math/libm-test.inc (lround_test): New testcase.
36397 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36398
762011fe
UD
363992011-09-08 Ulrich Drepper <drepper@gmail.com>
36400
92963737
UD
36401 * Makefile: Remove support for automatic cvs check-ins.
36402 * Makerules: Likewise.
36403 * config.make.in: Likewise.
36404 * configure.in: Likewise.
36405 * intl/Makefile: Likewise.
36406 * locale/Makefile: Likewise.
36407 * po/Makefile: Likewise.
36408 * posix/Makefile: Likewise.
36409 * sysdeps/gnu/Makefile: Likewise.
36410 * sysdeps/mach/hurd/Makefile: Likewise.
36411 * sysdeps/sparc/sparc32/Makefile: Likewise.
36412
b0727fd8
JS
36413 [BZ #13118]
36414 * posix/Makefile (bug-regex32-ENV): Define.
36415 Patch by John Stanley <jpsinthemix@verizon.net>.
36416
a0f33f99
UD
36417 * misc/Makefile (headers): Add bits/select2.h.
36418 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36419 * misc/bits/select2.h: New file.
36420 * include/bits/select2.h: New file.
36421 * debug/Makefile (routines): Add fdelt_chk.
36422 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36423 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36424 FD_ISSET.
36425 * debug/fdelt_chk.c: New file.
36426
762011fe
UD
36427 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36428 * wcsmbs/test-wmemcmp.c: Likewise.
36429 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 36430 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
36431
364322011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36433
36434 * string/Makefile (strop-tests): Add memcmp.
36435 * string/test-wmemcmp.c: New file.
36436 * string/test-memcmp.c: Add wmemcmp support.
36437
7f513ec8
RM
364382011-09-08 Roland McGrath <roland@hack.frob.com>
36439
0442afb4
RM
36440 [BZ #13153]
36441 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36442 2011-07-19 change.
36443
7f513ec8
RM
36444 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36445 garbage value in a __mach_port_mod_refs call in the cases of the
36446 task-self and thread-self ports.
36447
a12b2239
ST
364482011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36449
36450 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36451
610f9ab4
AS
364522011-09-08 Andreas Schwab <schwab@redhat.com>
36453
7f513ec8 36454 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 36455
48882a1a
LD
364562011-09-07 Ulrich Drepper <drepper@gmail.com>
36457
b49865be
UD
36458 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36459
fdc86bc9
UD
36460 * elf/dl-libc.c (dlerror_run): Pass back error code from
36461 dl_catch_error.
36462
c966526a
UD
36463 [BZ #13123]
36464 * elf/dl-load.c (lose): Free l_origin if it is valid.
36465
48882a1a
LD
36466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36467 names.
36468 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36469 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36471 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36472 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36473 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36474
77a2a8b4
AZ
364752011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36476
36477 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36478 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36479 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36480 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36481 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36482 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36483 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36484 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36485 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36486 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36487
24f579d8
AM
364882011-08-15 Alan Modra <amodra@gmail.com>
36489
36490 [BZ #13092]
36491 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36492 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36493 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36494 ppc_mcount to static-only-routines.
36495 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36496 __mcount_internal.
36497 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36498 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36499
3d4837df
UD
365002011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36501
36502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36503 for finite and infinity parameters.
36504
22700377
WS
365052011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36506
36507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36508 and add nop instructions for throughput optimization.
36509 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36510
5025581e
WS
365112011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36512
36513 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36514 aligned copy for power7 with vector-scalar instructions.
36515 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36516
08a300c9
L
365172011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36518
36519 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36520 AVX check.
36521
59178ef9
AS
365222011-09-07 Andreas Schwab <schwab@redhat.com>
36523
36524 [BZ #13144]
36525 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36526 last change.
36527
e38ba7ab
UD
365282011-09-07 Ulrich Drepper <drepper@gmail.com>
36529
36530 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36531 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36532 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36533 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36534 clock_gettime.
36535
d53a73ac
UD
365362011-09-06 Ulrich Drepper <drepper@gmail.com>
36537
fc8bffcc
UD
36538 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36539 Forgot to demangle the pointer.
36540
ceaa0c5d
UD
36541 * sysdeps/i386/sysdep.h: Define atom_text_section.
36542 * sysdeps/x86_64/sysdep.h: Likewise.
36543 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36544 section with atom_text_section.
36545 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36546 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36547 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36549 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36550
a77d3c17
UD
36551 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36552 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36553 already be defined. Change to take two parameters and don't assign
36554 result to variable. Adjust all users.
36555 Define INTERNAL_GETTIME if not already defined.
36556 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36557 call.
36558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36559 HAVE_CLOCK_GETTIME_VSYSCALL.
36560 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36561
d53a73ac
UD
36562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36563 gettimeofday vsyscall, just use time.
36564
a8f84144
AS
365652011-09-06 Andreas Schwab <schwab@redhat.com>
36566
36567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36568 <errno.h>.
36569
ef606249
UD
365702011-09-06 Ulrich Drepper <drepper@gmail.com>
36571
36572 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36573 syscall on x86-64.
36574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36575 syscall.
36576 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36578 syscall if possible.
36579
6585cb60
UD
365802011-09-05 Ulrich Drepper <drepper@gmail.com>
36581
36582 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36583 e_ident. Don't pass to find_mapsXX.
36584 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36585
a5f524e4
LD
365862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36587
36588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36589 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36590 * sysdeps/x86_64/multiarch/strchr.S: Update.
36591 Check bit_slow_BSF bit.
36592 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36593 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36595
554881ef
UD
365962011-09-05 Ulrich Drepper <drepper@gmail.com>
36597
d96de963
UD
36598 [BZ #13134]
36599 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36600 before glibc 2.15.
36601 (tryshell): Define.
36602 (__spawni): Change last parameter to be flag. Test
36603 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36604 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36605 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36606 * posix/spawni.c: Likewise.
36607 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36608 * posix/spawnp.c: Likewise. Change normal version to use
36609 SPAWN_XFLAGS_USE_PATH.
36610 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36611 SPAWN_XFLAGS_TRY_SHELL.
36612
d48e5868
UD
36613 [BZ #13150]
36614 * posix/glob.h: Remove gcc 1.x support.
36615
554881ef
UD
36616 [BZ #13068]
36617 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36618
693fb948
LD
366192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36620
36621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36622 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36623 strrchr-sse2-bsf
36624 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36625 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36626 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36627 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36628 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36629 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36630
1b48c537
UD
366312011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36632
49d42c37
UD
36633 * sysdeps/x86_64/wcscmp.S: New file.
36634
1b48c537
UD
36635 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36636 wcscmp-c wcscmp-sse2
36637 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36638 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36639 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36640 * wcsmbs/wcscmp.c: Allow renaming.
36641
15c95c5d
DM
366422011-09-05 David S. Miller <davem@davemloft.net>
36643
36644 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36645 stack slot, rather than the struct return pointer slot.
36646 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36647 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36649 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36650
2f0ad8f3
UD
366512011-09-05 Ulrich Drepper <drepper@gmail.com>
36652
d88ae418
UD
36653 * po/ja.po: Update from translation team.
36654
2f0ad8f3
UD
36655 [BZ #13144]
36656 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36657 kernel in 64-bit binaries.
36658
5f4318d1
DM
366592011-09-01 David S. Miller <davem@davemloft.net>
36660
36661 * elf/elf.h (HWCAP_SPARC_*): Move to..
36662 * sysdeps/sparc/sysdep.h: this new file and add new values.
36663 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36664 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36665 _DL_HWCAP_COUNT to 24.
36666 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36667 entries.
36668 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36669 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36670 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36672 instead of magic constants.
36673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36674
3ba57516
DM
366752011-08-31 David S. Miller <davem@davemloft.net>
36676
36677 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36679 Reimplement to do errno handling inline.
36680 (SYSCALL_ERROR_HANDLER): New macro.
36681 (__SYSCALL_STRING): Do not do errno handling in asm.
36682 (__CLONE_SYSCALL_STRING): Delete.
36683 (__INTERNAL_SYSCALL_STRING): Delete.
36684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36685 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36686 (PSEUDO): Reimplement to do errno handling inline.
36687 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36688 (SYSCALL_ERROR_HANDLER): New macro.
36689 (__SYSCALL_STRING): Do not do errno handling in asm.
36690 (__CLONE_SYSCALL_STRING): Delete.
36691 (__INTERNAL_SYSCALL_STRING): Delete.
36692 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36693 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36694 i386.
36695 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36696 (inline_syscall*): Add 'err' argument.
36697 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36698 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36699 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36700 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36701
36702 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36703 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36704
2bc17433
AS
367052011-08-30 Andreas Schwab <schwab@redhat.com>
36706
36707 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36708
fbeb5f4d
JO
367092011-08-29 Jiri Olsa <jolsa@redhat.com>
36710
36711 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36712 directive.
36713
ad69cc26
DM
367142011-08-24 David S. Miller <davem@davemloft.net>
36715
36716 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36717
39dd69df
AS
367182011-08-24 Andreas Schwab <schwab@redhat.com>
36719
36720 * elf/Makefile: Add rules to build and run unload8 test.
36721 * elf/unload8.c: New file.
36722 * elf/unload8mod1.c: New file.
36723 * elf/unload8mod1x.c: New file.
36724 * elf/unload8mod2.c: New file.
36725 * elf/unload8mod3.c: New file.
36726
36727 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36728 it wasn't used.
36729
2c0b250a
DM
367302011-08-23 David S. Miller <davem@davemloft.net>
36731
36732 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36733 subtract stack bias.
36734 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36735 %sp not %fp in calculations.
36736 (_JMPBUF_UNWINDS_ADJ): Likewise.
36737
22044b48
DM
36738 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36739 (aio_suspend): Call it to force an exception region around the
36740 AIO_MISC_WAIT() invocation.
36741
2cae4995
AS
367422011-08-23 Andreas Schwab <schwab@redhat.com>
36743
36744 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36745 backslash.
36746
873a772e
AJ
367472011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36748
36749 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36750 protection macro.
36751 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36752 and <dl-machine.h>.
36753 (Elf64_FuncDesc): Remove.
36754
25ad0df1
DM
367552011-08-22 David S. Miller <davem@davemloft.net>
36756
36757 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36758 sigaltstack check, add missing cfi directives.
36759 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36760 missing cfi directives, and sigaltstack handling.
36761
e888bcbe
AS
367622011-08-16 Andreas Schwab <schwab@redhat.com>
36763
36764 [BZ #11724]
36765 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36766 object is seen twice.
36767 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36768
36769 * elf/Makefile (distribute): Add tst-initorder2.c.
36770 (tests): Add tst-initorder2.
36771 (modules-names): Add tst-initorder2a tst-initorder2b
36772 tst-initorder2c tst-initorder2d. Add rules to build them.
36773 ($(objpfx)tst-initorder2.out): New rule.
36774 * elf/tst-initorder2.c: New file.
36775 * elf/tst-initorder2.exp: New file.
36776
87162f46
AS
367772011-08-22 Andreas Schwab <schwab@redhat.com>
36778
70538b7f
AS
36779 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36780
f55ffe58
AS
36781 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36782 dependencies back to end of function.
36783
87162f46
AS
36784 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36785 $(elfobjdir)/ld.so.
36786
91b392a4
UD
367872011-08-21 Ulrich Drepper <drepper@gmail.com>
36788
36789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36790 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36792 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36793 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36794 of __vdso_gettimeofday.
36795 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36796 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36797 attribute_hidden.
36798 (_libc_vdso_platform_setup): Remove initialization of
36799 __vdso_gettimeofday and __vdso_time.
36800
5c43483f
UD
368012011-08-20 Ulrich Drepper <drepper@gmail.com>
36802
775a77e7
UD
36803 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36804 and fgetc_unlocked.
36805 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36806 getc_unlocked.
89f447ed 36807
49c74ba9
UD
36808 * elf/dl-open.c (add_to_global): Report additions to the global scope
36809 for LD_DEBUG=scopes.
36810 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36811 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36812
5c43483f
UD
36813 [BZ #13114]
36814 * stdio-common/Makefile (tests): Add bug24.
36815 * stdio-common/bug24.c: New file.
36816
a101b025
AJ
368172011-08-19 Andreas Jaeger <aj@suse.de>
36818
36819 [BZ #13114]
36820 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36821 non-existant file when using close-on-exec mode.
36822
c88f1766
UD
368232011-08-20 Ulrich Drepper <drepper@gmail.com>
36824
0276a718
UD
36825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36826 the very first instruction.
36827
c88f1766
UD
36828 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36829 the CFI state in the end.
36830 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36831 inclusion of dl-trampoline.h.
36832 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36833
51ccffa0
AS
368342011-08-19 Andreas Schwab <schwab@redhat.com>
36835
94d7165f
AS
36836 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36837 expectations for long double.
36838
51ccffa0
AS
36839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36840 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36841
fd708658 368422011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36843
36844 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36845 artificual limit depends upon the system page size.
36846
44f0a71e
UD
368472011-08-17 Ulrich Drepper <drepper@gmail.com>
36848
36849 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36850 * resolv/Makefile: Define CFLAGS-libresolv.
36851
8de79a24
AS
368522011-08-17 Andreas Schwab <schwab@redhat.com>
36853
36854 * nss/makedb.c (compute_tables): Make variables used in nested
36855 function static.
36856
27724598
UD
368572011-08-17 Ulrich Drepper <drepper@gmail.com>
36858
c5305d88
UD
36859 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36860 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36861 if buffer was too small.
36862
27724598
UD
36863 * elf/pldd.c (main): Attach to all threads in the process.
36864 Rewrite /proc handling to use *at functions.
36865
076fe015
UD
368662011-08-16 Ulrich Drepper <drepper@gmail.com>
36867
174baab3
UD
36868 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36869 specifies first scope to show.
36870 (dl_open_worker): Update callers. Move printing scope of new
36871 object to before the relocation.
44f0a71e 36872 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36873 * sysdeps/generic/ldsodefs.h: Update declaration.
36874
076fe015
UD
36875 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36876 string for the scope number.
36877
a60df2c3
UD
368782011-08-14 Ulrich Drepper <drepper@gmail.com>
36879
36880 * nscd/servicescache.c (cache_addserv): Make sure written is always
36881 initialized.
36882
5e4287d1
RM
368832011-08-14 Roland McGrath <roland@hack.frob.com>
36884
85ae0589
RM
36885 * sysdeps/i386/i486/bits/atomic.h
36886 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36887 statement expression, so as to suppress "set but not used" warning.
36888 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36889
69f63097
RM
36890 * string/strncat.c (STRNCAT): Use prototype definition.
36891
675456ef
RM
36892 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36893 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36894 -Iprograms here.
36895 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36896 (localedef-modules): Add localedef.
36897 (locale-modules): Add locale.
36898
5e4287d1
RM
36899 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36900 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36901 to avoid a warning.
36902
9c96ff23
DM
369032011-08-14 David S. Miller <davem@davemloft.net>
36904
36905 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36906 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36907
f9ddf089
UD
369082011-08-13 Ulrich Drepper <drepper@gmail.com>
36909
44f0a71e 36910 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36911 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36912 * elf/rtld.c (dl_main): Set l_name of vDSO.
36913 Call _dl_show_scope when DL_DEBUG_SCOPES.
36914 (process_dl_debug): Recognize scopes flag and also set it for all.
36915 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36916 Declare _dl_show_scope.
36917
1dc27704
UD
36918 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36919 (do_dlopen): Pass caller_dlopen to dl_open.
36920 (__libc_dlopen_mode): Initialize caller_dlopen.
36921
f9ddf089
UD
36922 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36923 of libc. Make tolower call locale-independent. Optimize a bit by
36924 using isdigit instead of isalnum.
36925 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36926
9ac533d3
UD
369272011-08-12 Ulrich Drepper <drepper@gmail.com>
36928
36929 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36930 was a dependency or dynamically loaded.
36931
89edf2e9
UD
369322011-08-11 Ulrich Drepper <drepper@gmail.com>
36933
8e999d29
UD
36934 * intl/l10nflist.c: Allow architecture-specific pop function.
36935 * sysdeps/x86_64/l10nflist.c: New file.
36936
89edf2e9
UD
36937 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36938 classification.
36939
14d96785
AS
369402011-08-10 Andreas Schwab <schwab@redhat.com>
36941
36942 * include/dirent.h: Add libc_hidden_proto for scandirat and
36943 scandirat64. Don't declare __scandirat64.
36944 * dirent/scandirat.c: Add libc_hidden_def.
36945 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36946 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36947
6761ac04
DM
369482011-08-10 David S. Miller <davem@davemloft.net>
36949
36950 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36951 enum.
36952 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36953 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36954 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36955
c55fbd1e
UD
369562011-08-09 Ulrich Drepper <drepper@gmail.com>
36957
36958 * Versions.def [libc]: Add GLIBC_2.15.
36959 * dirent/Makefile (routines): Add scandirat and scandirat64.
36960 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36961 GLIBC_2.15.
36962 * dirent/dirent.h: Declare scandirat and scandirat64.
36963 * dirent/scandirat.c: New file.
36964 * dirent/scandirat64.c: New file.
36965 * sysdeps/wordsize-64/scandirat.c: New file.
36966 * sysdeps/wordsize-64/scandirat64.c: New file.
36967 * dirent/opendir.c: Define opendirat.
36968 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36969 using scandirat.
36970 * dirent/scandir64.c: Adjust for scandir.c change.
36971 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36972 __scandirat64, and __scandir_cancel_handler.
36973 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36974 additional parameter and use openat instead of open (outside of ld.so).
36975 Add new __opendir as wrapper around __opendirat.
36976 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36977 here without requiring old scandirat implementation.
36978
879165f2
UD
369792011-08-08 Ulrich Drepper <drepper@gmail.com>
36980
36981 * dirent/scandir.c (cancel_handler): Renamed to
36982 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36983 defined. Adjust users.
36984 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36986
cb7e923b
UD
369872011-08-04 Ulrich Drepper <drepper@gmail.com>
36988
16292edd
UD
36989 * string/test-string.h (IMPL): Use __STRING to expand name and then
36990 stringify it.
36991
cb7e923b
UD
36992 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36993 of cleanups.
36994
cff82933
LD
369952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36996
36997 * string/Makefile: Update.
36998 (strop-tests): Append strncat.
36999 * string/test-wcscmp.c: New file.
37000 New comprehensive test for wcscmp.
37001 * string/test-strcmp.c: Update.
37002 (WIDE): New define.
37003
9be9bfcc
AS
370042011-07-22 Andreas Schwab <schwab@redhat.com>
37005
37006 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
37007 line.
37008
2e96f1c7
AS
370092011-07-26 Andreas Schwab <schwab@redhat.com>
37010
37011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37012 encoding to ACE if AI_IDN.
37013
85188888
JJ
370142011-08-01 Jakub Jelinek <jakub@redhat.com>
37015
37016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
37017 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
37018
5fa16e9b
LD
370192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37020
37021 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
37022 Fix overflow bug in strncat.
37023 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37024
37025 * string/test-strncat.c: Update.
37026 Add new tests for checking overflow bugs.
37027
370282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37029
37030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37031 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
37032 * sysdeps/i386/i686/multiarch/strcat.S: New file.
37033 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
37034 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
37035 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
37036 * sysdeps/i386/i686/multiarch/strncat.S: New file.
37037 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
37038 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
37039
37040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
37041 (USE_AS_STRCAT): Define.
37042 Add strcat and strncat support.
37043 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37044
8c1a459f
AS
370452011-07-25 Andreas Schwab <schwab@redhat.com>
37046
37047 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
37048 __n bigger than INT_MAX+1.
37049 (__strncmp_g): Likewise.
37050
bba33c28
UD
370512011-07-23 Ulrich Drepper <drepper@gmail.com>
37052
798be72d
UD
37053 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
37054 * libio/stido.h: Likewise.
37055
8accd4dc
UD
37056 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
37057 (AF_NFC): Define.
37058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
37059 (AF_NFC): Define.
37060
cbff0d96
UD
37061 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
37062 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37063 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37064 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37066
9191c04a
UD
37067 [BZ #13021]
37068 * scripts/test-installation.pl: Don't expect libnss_test1 to be
37069 installed.
37070
bba33c28
UD
37071 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
37072 typo.
37073 (_dl_x86_64_save_sse): Likewise.
37074
90f139dd
UD
370752011-07-22 Ulrich Drepper <drepper@gmail.com>
37076
1aae088a
UD
37077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
37078 OSXSAVE.
37079 (_dl_x86_64_save_sse): Likewise.
37080
8e2045f5
UD
37081 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
37082
90f139dd
UD
37083 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
37084
1d002f25
AS
370852011-07-21 Andreas Schwab <schwab@redhat.com>
37086
37087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
37088 change.
37089 (_dl_x86_64_save_sse): Use correct AVX check.
37090
21137f89
UD
370912011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37092
37093 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
37094 bug in strncpy/strncat.
37095 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37096
a65c0b7a
UD
370972011-07-21 Ulrich Drepper <drepper@gmail.com>
37098
37099 * string/tester.c (test_strcat): Add tests for different alignments
37100 of source and destination.
37101 (test_strncat): Likewise.
37102
6986b98a
UD
371032011-07-20 Ulrich Drepper <drepper@gmail.com>
37104
90bb2039
UD
37105 [BZ #12852]
37106 * posix/glob.c (glob): Check passed in values before using them in
37107 expressions to avoid some overflows.
37108 (glob_in_dir): Likewise.
37109
5644ef54
UD
37110 [BZ #13007]
37111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
37112 check for AVX enablement so that we don't crash with old kernels and
37113 new hardware.
37114 * elf/tst-audit4.c: Add same checks here.
37115 * elf/tst-audit6.c: Likewise.
37116
37117 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 37118
bfc9dc9b
AS
371192011-07-09 Andreas Schwab <schwab@linux-m68k.org>
37120
37121 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
37122
702e64bb
UD
371232011-07-20 Ulrich Drepper <drepper@gmail.com>
37124
37125 * po/cs.po: Update from translation team.
37126 * po/bg.po: Likewise.
37127
295e904f
MP
371282011-07-12 Marek Polacek <mpolacek@redhat.com>
37129
37130 * misc/sys/cdefs.h: Add support for const attribute.
37131 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
37132 to gnu_dev_{major,minor,makedev} functions.
37133
3ff94596
MP
371342011-07-20 Marek Polacek <mpolacek@redhat.com>
37135
37136 * intl/dcigettext.c (get_output_charset): Add missing bracket.
37137
28b59fca
AS
371382011-07-20 Andreas Schwab <schwab@redhat.com>
37139
37140 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37141 strlen results.
37142
19df733e
AK
371432011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37144
37145 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37146 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37147 register in order to avoid conflicts with the soft frame pointer
37148 being held in r11 when necessary.
37149 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37150 (INTERNAL_VSYSCALL_NCS): Likewise.
37151
c8835729
MP
371522011-07-14 Marek Polacek <mpolacek@redhat.com>
37153
37154 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37155 * elf/dl-fini.c (_dl_fini): Adjust caller.
37156 * elf/dl-close.c (_dl_close_worker): Likewise.
37157 * sysdeps/generic/ldsodefs.h: Adjust declaration.
37158
b902330c
MP
371592011-07-15 Marek Polacek <mpolacek@redhat.com>
37160
8991e135
MP
37161 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37162 "aux_cache->nlibs < 0".
37163
b902330c
MP
37164 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37165 in the reload-count case.
37166
99710781
LD
371672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37168
37169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37170 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37171 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37172 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37173 * sysdeps/x86_64/multiarch/strcat.S: New file.
37174 * sysdeps/x86_64/multiarch/strncat.S: New file.
37175 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37176 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37177 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37178 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37180 (USE_AS_STRCAT): Define.
37181 Add strcat and strncat support.
37182 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37183 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37184 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37185 * string/strncat.c: Update.
37186 (USE_AS_STRNCAT): Define.
37187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37188 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37189 and i7.
37190 * sysdeps/x86_64/multiarch/init-arch.h
37191 (bit_Prefer_PMINUB_for_stringop): New.
37192 (index_Prefer_PMINUB_for_stringop): Likewise.
37193 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37194 bit_Prefer_PMINUB_for_stringop.
37195
7dc6bd90
UD
371962011-07-19 Ulrich Drepper <drepper@gmail.com>
37197
37198 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37199 buffer64.
37200 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37201 of casting of buffer.
37202 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37203 buffer32 and buffer64.
37204 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37205 writes instead of casting of buffer.
37206 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37207 buffer32.
37208 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37209 casting of buffer.
37210
e0e72284
AS
372112011-07-19 Andreas Schwab <schwab@redhat.com>
37212
37213 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37214
feb1eb0b
UD
372152011-07-19 Ulrich Drepper <drepper@gmail.com>
37216
37217 * nscd/nscd.c (termination_handler): Don't do anything for a database
37218 if it has not yet been initialized.
37219
298711ff
UD
372202011-07-18 Ulrich Drepper <drepper@gmail.com>
37221
37222 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37223
372242011-07-15 Marek Polacek <mpolacek@redhat.com>
37225
37226 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37227
f9d68389
UD
372282011-07-18 Ulrich Drepper <drepper@gmail.com>
37229
37230 * po/nl.po: Update from translation team.
37231 * po/sv.po: Likewise.
37232
db290cf5
RM
372332011-07-16 Roland McGrath <roland@hack.frob.com>
37234
37235 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37236 now disallowed by GCC.
5c550700 37237
fd5e21c7
RM
37238 * configure.in (use-default-link): Default to yes if a test -shared
37239 link meets our qualifications.
37240 * configure: Regenerated.
37241
5c550700
RM
37242 * config.make.in (output-format): New variable.
37243 * configure.in: Check for ld --print-output-format support.
37244 * configure: Regenerated.
37245 * Makerules ($(common-objpfx)format.lds)
37246 [$(output-format) != unknown]: Just use $(output-format),
37247 instead of the linker-script munging.
37248
9fa2c032
RM
372492011-07-14 Roland McGrath <roland@hack.frob.com>
37250
a6928d51
RM
37251 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37252 of $(common-objpfx)shlib.lds.
37253 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37254
661607b3
RM
37255 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37256 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37257
9fa2c032
RM
37258 * configure.in (-z relro check): Adjust test code to add a large
37259 writable data section after it.
37260 * configure: Regenerated.
37261
defe9061
RM
372622011-07-11 Roland McGrath <roland@hack.frob.com>
37263
37264 * configure.in (-z relro check): Fix test code to make the variable
37265 truly const.
37266 * configure: Regenerated.
37267
319b9ad4
UD
372682011-07-11 Ulrich Drepper <drepper@gmail.com>
37269
37270 * nscd/nscd.h (struct traced_file): Define.
37271 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37272 elements. Add traced_files.
37273 (inotify_fd): Declare.
37274 (register_traced_file): Declare.
37275 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37276 (inotify_fd): Export.
37277 (resolv_conf_descr): Remove.
37278 (nscd_init): Move inotify descriptor creation to main.
37279 Don't register files for notification here.
37280 (register_traced_file): New function.
37281 (invalidate_cache): Don't use reset_res to determine whether to call
37282 res_init, go through the list of registered files.
37283 (main_loop_poll): The inotify descriptors are now stored in the
37284 structures for the traced files.
37285 (main_loop_epoll): Likewise
37286 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37287 to __nss_disable_nscd.
37288 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37289 for a database anymore. Check the records for all the registered
37290 files instead.
37291 * nss/Makefile (libnss_files-routines): Add files-init.
37292 (libnss_db-routines): Add db-init.
37293 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37294 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37295 * nss/nss_db/db-init.c: New file.
37296 * nss/nss_files/files-init.c: New file.
37297 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37298 __nss_lookup_function.
37299 (__nss_lookup_function): Call nss_load_library.
37300 (nss_load_all_libraries): New function.
37301 (__nss_disable_nscd): Take parameter with callback function for files
37302 to register. Set is_nscd. Load all the DSOs for the NSS modules
37303 used for the cached services.
37304 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37305 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37306 options for features to all the files in nscd.
37307
37308 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37309
23bee3e8
RM
373102011-07-10 Roland McGrath <roland@hack.frob.com>
37311
37312 * csu/elf-init.c (__libc_csu_init): Comment typo.
37313
46a5b7f0
UD
373142011-07-09 Ulrich Drepper <drepper@gmail.com>
37315
37316 * po/pl.po: Update from translation team.
37317 * po/ja.po: Likewise.
37318 * po/ru.po: Likewise.
37319 * po/ko.po: Likewise.
37320 * po/fr.po: Likewise.
37321
d30cf5bb
RM
373222011-07-09 Roland McGrath <roland@hack.frob.com>
37323
113ddea4
RM
37324 * configure.in (.ctors/.dtors header and trailer check):
37325 Use an empirical test on a built program.
37326 * configure: Regenerated.
37327
574920b4
RM
37328 * configure.in (-z relro check): Use an empirical test on a built DSO.
37329 Detect, but do not require, on ia64.
37330 * configure: Regenerated.
37331
d30cf5bb
RM
37332 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37333 Update tests that use readelf to use $READELF instead.
37334 * configure: Regenerated.
37335
8538fdb3
UD
373362011-07-08 Ulrich Drepper <drepper@gmail.com>
37337
37338 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37339 if the result is not used.
37340
04d08991
AJ
373412011-07-05 Andreas Jaeger <aj@suse.de>
37342
37343 [BZ#9696]
37344 * stdlib/tst-strtod.c: Add testcase.
37345
de283087
AD
373462011-07-07 Ulrich Drepper <drepper@gmail.com>
37347
4e5f31c8 37348 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 37349 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
37350 The latter has a higher limit. Take additional parameter to pass to
37351 the new function.
37352 (__pathconf): Pass file to __statfs_link_max.
37353 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37354 __statfs_link_max.
37355 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37356 __statfs_link_max.
37357
de283087
AD
37358 [BZ #12868]
37359 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37361 Handle Lustre.
37362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37363 (__statfs_filesize_max): Likewise.
37364 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37365
c75fa153
AJ
373662011-07-05 Andreas Jaeger <aj@suse.de>
37367
37368 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37369
1a544854
UD
373702011-07-06 Marek Polacek <mpolacek@redhat.com>
37371
37372 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37373 `status' variable.
37374 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37375 Likewise.
37376
6f0eec67
UD
373772011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37378
37379 * Makefile (strop-tests): Add strncat.
37380 * string/test-strncat.c: New file.
37381
aae30307
UD
373822011-06-30 Marek Polacek <mpolacek@redhat.com>
37383
37384 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37385
c0cfb5eb
UD
373862011-06-21 Andreas Jaeger <aj@suse.de>
37387
37388 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37389 Copy rule from iconvdata/Makefile.
37390
01636b21
UD
373912011-07-06 Ulrich Drepper <drepper@gmail.com>
37392
37393 [BZ #12922]
37394 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37395 but no long options are defined, just return 'W'.
37396
9895c8bc
UD
373972011-06-22 Marek Polacek <mpolacek@redhat.com>
37398
37399 [BZ #9696]
37400 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37401
5d4cf042
UD
374022011-07-06 Ulrich Drepper <drepper@gmail.com>
37403
37404 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37405 netgroups to read.
960e5535 37406 (innetgr): Likewise.
5d4cf042 37407
751eb97e
RM
374082011-07-05 Roland McGrath <roland@hack.frob.com>
37409
37410 * config.make.in (install_root): Default to $(DESTDIR).
37411
f15f1e45
UD
374122011-07-05 Ulrich Drepper <drepper@gmail.com>
37413
37414 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37415
4e34ac6a
RM
374162011-07-02 Roland McGrath <roland@hack.frob.com>
37417
5e9b6af4
RM
37418 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37419
84f9ea0f
RM
37420 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37421 containing directory rather than embedding absolute directory names.
37422
ea5ee9f7
RM
37423 * scripts/check-local-headers.sh: Rewritten using awk.
37424 Match by word, not by line. Print error messages for matches.
37425 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37426
1b74661a
RM
37427 * Makerules [shlib-lds-flags empty]:
37428 ($(common-objpfx)libc_pic.opts): New target.
37429 ($(common-objpfx)libc_pic.os.clean): New target.
37430 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37431
37432 * config.make.in (OBJCOPY): New variable.
37433 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37434 * configure: Regenerated.
37435
f781ef40
RM
37436 * config.make.in (use-default-link): New variable.
37437 * configure.in (use_default_link): Grok --with-default-link to set it.
37438 * configure: Regenerated.
37439 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37440 (shlib-lds, shlib-lds-flags): Define to empty.
37441
2d4fa81e
RM
37442 * Makerules (shlib-lds): New variable.
37443 (shlib-lds-flags): New variable.
37444 (build-shlib, build-moduile, build-module-asneeded): Use it.
37445 ($(common-objpfx)libc.so): Use $(shlib-lds).
37446 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37447 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37448
31fffa6b
RM
37449 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37450 DT_FLAGS/DT_FLAGS_1 with zero flags.
37451
4e34ac6a
RM
37452 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37453 linker script munging.
37454
fcfc776b
UD
374552011-07-02 Ulrich Drepper <drepper@gmail.com>
37456
37457 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37458 as 128-bit value.
37459 * crypt/sha512.c (sha512_process_block): Perform total addition using
37460 128-bit if possible.
37461 (__sha512_finish_ctx): Likewise.
37462 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37463 as 64-bit value.
37464 * crypt/sha256.c (SWAP64): Define.
37465 (sha256_process_block): Perform total addition using 64-bit if
37466 possible.
37467 (__sha256_finish_ctx): Likewise.
37468
99231d9a
UD
374692011-07-01 Ulrich Drepper <drepper@gmail.com>
37470
37471 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37473 * nscd/hstcache.c (cache_addhst): Likewise.
37474 * nscd/grpcache.c (cache_addgr): Likewise.
37475 * nscd/aicache.c (addhstaiX): Likewise
37476 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37477
445b4a53
TK
374782011-07-01 Thorsten Kukuk <kukuk@suse.de>
37479
37480 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37482 * nscd/hstcache.c (cache_addhst): Likewise.
37483 * nscd/grpcache.c (cache_addgr): Likewise.
37484 * nscd/aicache.c (addhstaiX): Likewise
37485
6d4d8e8e
AS
374862011-07-01 Andreas Schwab <schwab@redhat.com>
37487
37488 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37489 domain only when needed.
37490
89f654c5
AS
374912011-06-30 Andreas Schwab <schwab@redhat.com>
37492
37493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37494 is always restored.
37495
cf3b23ff
UD
374962011-06-29 Ulrich Drepper <drepper@gmail.com>
37497
37498 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37499 are re-adding the entry.
37500 * nscd/servicescache.c (cache_addserv): Likewise.
37501
751626f9
AJ
375022011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37503
37504 * sysdeps/generic/dl-irel.h: fix protection against multiple
37505 inclusions.
37506 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37507
9113ea1f
UD
375082011-06-28 Ulrich Drepper <drepper@gmail.com>
37509
5c0b8d90
UD
37510 [BZ #12935]
37511 * malloc/memusage.sh: Fix quoting in message.
37512 * debug/xtrace.sh: Likewise.
37513
9113ea1f
UD
37514 * configure.in: Remove support for --experimental-malloc option, make
37515 it the default.
37516 * config.make.in: Likewise.
37517 * malloc/Makefile: Likewise.
37518
a4172181
AS
375192011-06-27 Andreas Schwab <schwab@redhat.com>
37520
37521 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37522 two-byte characters.
37523
78a7eee7
RM
375242011-06-27 Roland McGrath <roland@hack.frob.com>
37525
62bede13
RM
37526 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37527 AC_CACHE_CHECK invocation.
37528 * configure: Regenerated.
37529
78a7eee7
RM
37530 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37531
5ce33a62
UD
375322011-06-27 Ulrich Drepper <drepper@gmail.com>
37533
034807a9
UD
37534 [BZ #12350]
37535 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37536 bit from old_res_options.
37537
4902da17
UD
37538 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37539
5ce33a62
UD
37540 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37541 value type for setfct.
37542
c2344f56
L
375432011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37544
37545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37546 __gettimeofday instead of gettimeofday.
37547
68468076
UD
375482011-06-26 Ulrich Drepper <drepper@gmail.com>
37549
37550 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37551
acb0d739
L
375522011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37553
37554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37555
37556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37557 info.
37558
8912479f
L
375592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37560
37561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37562 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37563 strcpy-sse2-unaligned strncpy-sse2-unaligned
37564 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37565 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37566 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37567 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37568 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37569 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37570 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37571 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37572 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37573 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37574 (STRCPY): Support SSE2 and SSSE3 versions.
37575
d5495a11
UD
375762011-06-24 Ulrich Drepper <drepper@gmail.com>
37577
37578 [BZ #12874]
37579 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37580 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37581 kernels which artificially limit size of requests.
37582
0b1cbaae
L
375832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37584
37585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37586 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37587 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37588 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37589 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37590 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37591 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37592 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37595 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37596 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37597 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37598 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37599 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37601 Enable unaligned load optimization for Intel Core i3, i5 and i7
37602 processors.
37603 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37604 Define.
37605 (index_Fast_Unaligned_Load): Define.
37606 (HAS_FAST_UNALIGNED_LOAD): Define.
37607
07f494a0
MP
376082011-06-23 Marek Polacek <mpolacek@redhat.com>
37609
37610 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37611
fa3fc0fe
UD
376122011-06-22 Ulrich Drepper <drepper@gmail.com>
37613
37614 [BZ #12907]
37615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37616 until it is clear that the information is realy needed.
37617 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37618
e12df166
AS
376192011-06-22 Andreas Schwab <schwab@redhat.com>
37620
37621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37622
852eb34d
UD
376232011-06-22 Ulrich Drepper <drepper@gmail.com>
37624
84e2a551
UD
37625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37626 /sys/devices/system/cpu/online if it is usable.
37627
852eb34d
UD
37628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37629 reading the information from the /proc filesystem to once a second.
37630
6e502e19
UD
376312011-06-21 Andreas Jaeger <aj@suse.de>
37632
37633 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37634 NULL after inclusion of kernel headers.
37635
75d39ff2
UD
376362011-06-21 Ulrich Drepper <drepper@gmail.com>
37637
51f9aa6a
UD
37638 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37639 calls to internal_setent.
37640
c0244a9d
UD
37641 [BZ #12885]
37642 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37643 addresses using gethostbyname4_r ignore IPv4 addresses.
37644
c5e3c2ae
UD
37645 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37646 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37647
75d39ff2
UD
37648 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37649
42675c6f
DM
376502011-06-20 David S. Miller <davem@davemloft.net>
37651
37652 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37653 inclusions.
37654 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37655
37656 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37657 (elf_irel): Use it.
37658 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37659 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37660 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37661 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37662 * sysdeps/x86_64/dl-irel.h: Likewise.
37663
37664 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37665 * elf/dl-sym.c: Likewise.
37666
57912a71
UD
376672011-06-15 Ulrich Drepper <drepper@gmail.com>
37668
37669 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37670 need to dereference resplen2.
37671
ee22793d
AS
376722011-06-14 Andreas Schwab <schwab@redhat.com>
37673
37674 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37675
a9e836b0
UD
376762011-06-15 Ulrich Drepper <drepper@gmail.com>
37677
77fb9117
UD
37678 * Makeconfig: Define vardbdir and inst_vardbdir.
37679 * nss/Makefile: Add rules to install db-Makefile.
37680
40c1b22c
UD
37681 * nss/nss_db/db-XXX.c: Cleanup.
37682
9f2da732
UD
37683 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37684 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37685 GLIBC_PRIVATE.
37686 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37687 * nss/makedb.c: Implement -g option to specify that value strings
37688 are generated and should not be added to table iterated over for
37689 get*ent calls.
37690 * nss/nss_db/db-initgroups.c: New file.
37691
82e9a1f7
UD
37692 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37693 interface.
37694
c41af17e
UD
37695 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37696 (internal_getgrouplist): Adjust to name change.
37697 Update use_initgroups_entry if this is not the first call.
37698 * nss/databases.def: Add initgroups entry.
37699
a9e836b0
UD
37700 * nss/makedb.c (compute_tables): Check result of multiple hash table
37701 sizes to minimize maximum chain length.
37702
2666d441
UD
377032011-06-14 Ulrich Drepper <drepper@gmail.com>
37704
37705 * Versions.def: Add entry for libnss_db.
37706 * shlib-versions: Likewise.
37707 * nss/Makefile: Add rules to build libnss_db.
37708 * nss/Versions: Add libnss_db information. Organize libnss_files
37709 entries better.
37710 * nss/db-Makefile: Add gshadow support. Change rules for the new
37711 makedb progra. Some minor improvements to generate smaller files.
37712 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37713 here from...
37714 * nss/makedb.c: ...here.
37715 Improve database format to be smaller and require less memory at
37716 runtime.
37717 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37718 db anymore.
37719 * nss/nss_db/db-netgrp.c: Likewise.
37720 * nss/nss_db/db-open.c: Likewise.
37721 * nss/nss_files/flies-XXX.x: Adjust comments.
37722 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37723 * nss/nss_files/files-grp.c: Likewise.
37724 * nss/nss_files/files-hosts.c: Likewise.
37725 * nss/nss_files/files-network.c: Likewise.
37726 * nss/nss_files/files-proto.c: Likewise.
37727 * nss/nss_files/files-pwd.c: Likewise.
37728 * nss/nss_files/files-rpc.c: Likewise.
37729 * nss/nss_files/files-service.c: Likewise.
37730 * nss/nss_files/files-sgrp.c: Likewise.
37731 * nss/nss_files/files-spwd.c: Likewise.
37732 * nss/nss_db/db-alias.c: Removed.
37733 * nss/nss_db/dummy-db.h: Removed.
37734
9ee76b5a
UD
377352011-06-02 Ulrich Drepper <drepper@gmail.com>
37736
37737 * nss/makedb.c: Rewritten to not use database library.
37738 * nss/Makefile: Update to build new makedb program.
37739
c71ca1f8
AJ
377402011-06-14 Andreas Jaeger <aj@suse.de>
37741
37742 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37743 memset declaration.
37744
3154bfb8
UD
377452011-06-10 Andreas Schwab <schwab@redhat.com>
37746
37747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37748 tmpbuf.
37749
b350afab
RM
377502011-06-10 Roland McGrath <roland@hack.frob.com>
37751
decd4e50
RM
37752 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37753 * elf/Makefile ($(objpfx)ld.so): Likewise.
37754
5615eaf2
RM
37755 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37756 Don't list ld.so twice in dependencies.
37757
37758 * posix/bug-regex31.c: Include <stdlib.h>.
37759
37760 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37761
37762 * nis/nss_compat/compat-spwd.c
37763 (getspent_next_nss_netgr): Remove unused variable.
37764 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37765
37766 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37767 nonmembers" output to use the right array.
37768
37769 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37770
37771 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37772
37773 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37774 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37775 * catgets/gencat.c (read_input_file): Likewise.
37776 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37777
37778 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37779 variable definition inside #if's controlling its use.
37780
37781 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37782
37783 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37784
37785 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37786
37787 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37788 unreachable code.
37789
37790 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37791
b68e08db
RM
37792 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37793 * configure: Regenerated.
37794
b350afab
RM
37795 * Makerules: Revert last change.
37796 * elf/Makefile: Likewise.
37797
28368601
RM
377982011-06-09 Roland McGrath <roland@hack.frob.com>
37799
37800 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37801 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37802 (reloc-link): Likewise.
37803
11988f8f
UD
378042011-06-09 Ulrich Drepper <drepper@gmail.com>
37805
37806 * elf/Makefile: Add rules to build pldd.
37807 * elf/pldd.c: New file.
37808 * elf/pldd-xx.c: New file.
37809
e80fab37
UD
378102011-06-07 Ulrich Drepper <drepper@gmail.com>
37811
37812 * version.h: Update for 2.15 development version.
37813
9b849836
DM
378142011-06-07 David S. Miller <davem@davemloft.net>
37815
37816 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37817 ifuncs.
37818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37819 elf_machine_lazy_rel): Likewise.
37820 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37822 elf_machine_lazy_rel): Likewise.
37823 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37824 dl_hwcap via passed in argument.
37825 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37826 Likewise.
37827
5a31b283
AK
378282011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37829
37830 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37831
069e52f8
RM
378322011-06-06 Roland McGrath <roland@hack.frob.com>
37833
37834 [BZ #12849]
37835 * manual/fdl-1.1.texi: New file, verbatim from:
37836 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37837 * manual/lgpl-2.1.texi: New file, verbatim from:
37838 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37839 * manual/Makefile (licenses): New variable, list those new file names.
37840 (texis): Use it.
37841 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37842
37843 * manual/fdl.texi: File removed.
37844 * manual/lesser.texi: File removed.
37845 * manual/libc.texinfo (Copying, Documentation License):
37846 Use new @include file names, put @appendix directive before @include.
37847
f16846a5
JJ
378482011-06-04 Jakub Jelinek <jakub@redhat.com>
37849
37850 [BZ #12841]
37851 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37852 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37853 (mq_open): Add __NTH.
37854
3d29045b
L
378552011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37856
37857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37858 Assume Intel Core i3/i5/i7 processor if AVX is available.
37859
8c297311
UD
378602011-05-31 Ulrich Drepper <drepper@gmail.com>
37861
37862 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37863 typo.
37864
c8fc0c91
UD
378652011-05-31 Andreas Schwab <schwab@redhat.com>
37866
37867 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37868 memory. Use alloca_account. Fix memory leak when retrying.
37869
5b27a807
UD
378702011-05-31 Ulrich Drepper <drepper@gmail.com>
37871
356f8bc6
UD
37872 * version.h (RELEASE): Bump for 2.14 release.
37873 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37874
5b27a807
UD
37875 * config.make.in (RANLIB): Remove entry.
37876
01f16ab0
UD
378772011-05-30 Ulrich Drepper <drepper@gmail.com>
37878
41fce8bd
UD
37879 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37880 (libc.pot): Work around missing support for .ksh extension in xgettext.
37881
4769ae77
UD
37882 [BZ #12684]
37883 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37884 if both request failed.
37885 (send_dg): In case of server errors clear resplen or *resplen2.
37886
6b1e7d19
UD
37887 [BZ #12454]
37888 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37889 when there are multiple maps.
37890 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37891 (_dl_fini): Remove test here.
37892
01f16ab0
UD
37893 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37894
b1ebd700
UD
378952011-05-29 Ulrich Drepper <drepper@gmail.com>
37896
7ae22829
UD
37897 [BZ #12350]
37898 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37899 bit from old_res_options.
37900 (gaih_inet): Likewise.
37901
553149f6 37902 [BZ #11099]
18a84741 37903 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37904 as signed.
37905
652ffab1
UD
37906 * resolv/res_init.c (res_setoptions): Make the code more compact.
37907
16985fd0
UD
37908 [BZ #11558]
37909 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37910 set RES_USEVC.
37911
0464f746
UD
37912 [BZ #11634]
37913 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37914
7d17596c
UD
37915 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37916
cf6bbbd7
UD
37917 [BZ #11781]
37918 * malloc/malloc.h: Declare malloc hook variables as volatile.
37919
13f1ab36
UD
37920 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37921 in last patch.
37922
b1ebd700
UD
37923 [BZ #11799]
37924 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37925 raise in the comment.
80e2212d
UD
37926 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37928 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37929
ce67228d
UD
379302011-05-28 Ulrich Drepper <drepper@gmail.com>
37931
8887a920
UD
37932 [BZ #12811]
37933 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37934 grow the buffers more if it already has to be sufficient.
37935 (build_wcs_upper_buffer): Likewise.
37936 * posix/regexec.c (check_matching): Likewise.
37937 (clean_state_log_if_needed): Likewise.
37938 (extend_buffers): Don't enlarge buffers beyond size of the input
37939 buffer.
37940 Patches mostly by Emil Wojak <emil@wojak.eu>.
37941 * posix/bug-regex32.c: New file.
37942 * posix/Makefile (tests): Add bug-regex32.
37943
4f031072
UD
37944 * locale/findlocale.c (_nl_find_locale): Return right away if
37945 _nl_explode_name failed.
37946 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37947
d0478f0c
UD
37948 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37949
de81b246
UD
37950 * debug/xtrace.sh: Unify messages.
37951 * malloc/memusage.sh: Likewise.
37952
c738465a
UD
37953 [BZ #12813]
37954 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37955 time symbol from vDSO. Substitute with vsyscall if not available.
37956 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37957 __vdso_time.
37958
f1f929d7
UD
37959 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37960 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37961 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37962 Add sendmmsg and internal_sendmmsg.
37963 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37964 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37965 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37966
ce67228d
UD
37967 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37968 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37969 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37970
e57420c6
UD
379712011-05-27 Ulrich Drepper <drepper@gmail.com>
37972
a8509ca5
UD
37973 [BZ #12813]
37974 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37975 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37976 available.
37977 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37978 __vdso_getcpu.
37979
e57420c6
UD
37980 [BZ #12814]
37981 * iconvdata/Makefile (tests): Add bug-iconv9.
37982 * iconvdata/bug-iconv9.c: New file.
37983
4d07db15
AS
379842011-05-27 Andreas Schwab <schwab@redhat.com>
37985
37986 [BZ #12814]
37987 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37988
ea486f69
JJ
379892011-05-25 Jakub Jelinek <jakub@redhat.com>
37990
37991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37992 (struct user_regs_struct): Change intcs field back to cs.
37993
6f038433
UD
379942011-05-25 Ulrich Drepper <drepper@gmail.com>
37995
37996 * po/ja.po: Update from translation team.
37997
67f86a25
UD
379982011-05-23 Ulrich Drepper <drepper@gmail.com>
37999
38000 [BZ #12795]
38001 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
38002 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
38003
def7fbd6
AS
380042011-05-20 Andreas Schwab <schwab@redhat.com>
38005
38006 * stdlib/longlong.h: Update from GCC.
38007
f50ef8f1
AS
380082011-05-23 Andreas Schwab <schwab@redhat.com>
38009
38010 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
38011 parameter name.
38012 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
38013 Add parameter name.
38014 (__sysconf): Pass it down.
38015
de7ce8f1
UD
380162011-05-22 Ulrich Drepper <drepper@gmail.com>
38017
f2962a71
UD
38018 [BZ #12671]
38019 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
38020 some situations.
38021 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38022 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
38023 add in in __libc_use_alloca calls. Adjust callers.
38024 (glob): Use malloc in some situations.
38025
de7ce8f1
UD
38026 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
38027 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
38028 pltexit.
38029
aec84f53
UD
380302011-05-21 Ulrich Drepper <drepper@gmail.com>
38031
05bb4a68
UD
38032 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
38033 and CLOCK_BOOTTIME_ALARM.
38034
7ea72f99
UD
38035 [BZ #12782]
38036 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
38037 is returned.
38038
7e4afad5
UD
38039 * string/_strerror.c (__strerror_r): Print negative errors as signed
38040 numbers.
38041
8e211fec
UD
38042 [BZ #12777]
38043 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
38044 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
38045 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
38046
f7d82dc9
UD
38047 * configure.in: Fix typo in redirection and correct removal of test
38048 files in two cases.
38049
cc9e536d
UD
38050 [BZ #12788]
38051 * locale/setlocale.c (new_composite_name): Fix test to check for
38052 identical name of all categories.
38053
aec84f53
UD
38054 [BZ #12792]
38055 * libio/filedoalloc.c (local_isatty): New function.
38056 (_IO_file_doallocate): Use local_isatty.
38057 * stdio-common/perror.c (perror): In case a new stream is used
38058 forward the stream error.
38059 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
38060 error flag.
38061
78e64fdc
RT
380622011-05-20 Ulrich Drepper <drepper@gmail.com>
38063
34a9094f
UD
38064 [BZ #11869]
38065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
38066 alloca.
38067 * include/alloca.h (extend_alloca_account): Define.
38068
78e64fdc
RT
38069 [BZ #11857]
38070 * posix/regex.h: Fix comments with documentation of user-accessible
38071 fields after compilation and describe correct free'ing of pattern
38072 after re_compile_pattern.
38073 Patch by Reuben Thomas <rrt@sc3d.org>.
38074
457bddfc
RA
380752011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
38076
38077 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
38078 and -mno-altivec to prevent the compiler from using Altivec and/or
38079 VSX instructions when the corresponding registers are not available.
38080
a4527b51
AS
380812011-05-19 Andreas Schwab <schwab@redhat.com>
38082
38083 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
38084
ed690b2f
UD
380852011-05-19 Ulrich Drepper <drepper@gmail.com>
38086
38087 * libio/freopen.c (freopen): Use __dup2, not dup2.
38088 * libio/freopen64.c (freopen64): Likewise.
38089
8db73634
L
380902011-05-17 H.J. Lu <hongjiu.lu@intel.com>
38091
38092 [BZ #12775]
38093 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
38094 * math/Makefile (tests): Add test-powl.
38095 (CFLAGS-test-powl.c): Define.
38096 * math/test-powl.c: New file.
38097
0a197a9d
L
380982011-05-16 H.J. Lu <hongjiu.lu@intel.com>
38099
38100 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
38101
ee30c380
UD
381022011-05-17 Ulrich Drepper <drepper@gmail.com>
38103
38104 [BZ #11837]
38105 * iconvdata/gb18030.c: Update to GB18020-2005.
38106
6ce75379
UD
381072011-05-16 Ulrich Drepper <drepper@gmail.com>
38108
a4b89fd8
AR
38109 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
38110 RE_SYNTAX_POSIX_AWK): Update to match recent development.
38111 Patch by Aharon Robbins <arnold@skeeve.com>.
38112
ea389b12
UD
38113 [BZ #11892]
38114 * stdlib/putenv.c (putenv): Don't always create copy of the variable
38115 on the stack.
38116
68a3f91f
UD
38117 [BZ #11895]
38118 * misc/pselect.c (__pselect): Handle timeout value errors hidden
38119 through underflows.
38120
15cc7dd1
UD
38121 [BZ #12766]
38122 * misc/error.c (error_at_line): Ensure file_name and old_file_name
38123 point to strings before performing equality test for error_one_per_line
38124 mode.
38125
f3799213
UD
38126 [BZ #11697]
38127 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
38128
d79a9c94
UD
38129 [BZ #11820]
38130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38131 (struct user_fpregs_struct): Avoid __uint*_t types.
38132
56e5eb46
UD
38133 [BZ #6420]
38134 * malloc/mtrace.c (tr_where): Add additional parameter to point to
38135 symbol info. Use it instead of calling _dl_addr locally.
38136 (lock_and_info): New function.
38137 (tr_freehook): Call lock_and_info and pass symbol info as additional
38138 parameter to tr_where.
38139 (tr_mallochook): Likewise.
38140 (tr_reallochook): Likewise.
38141 (tr_memalignhook): Likewise.
38142
6ce75379
UD
38143 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
38144 used and couldn't be at all thread-safe.
38145
f8a3b5bf
UD
381462011-05-15 Ulrich Drepper <drepper@gmail.com>
38147
94b7cc37
UD
38148 * libio/freopen.c (freopen): Don't close old file descriptor
38149 before the new one is opened. Instead dup the new file descriptor
38150 to the old one after the new stream is created.
38151 * libio/freopen64.c (freopen64): Likewise.
38152 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38153 * libio/fileops.c (_IO_new_file_close_it): Handle new
38154 _IO_FLAGS2_NOCLOSE flag.
38155 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38156 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38157 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38158 _IO_FLAGS2_NOCLOSE flag.
38159 * include/unistd.h: Add hidden_proto for dup3.
38160 Define __have_dup3.
38161 * io/dup3.c: Define hidden symbol.
38162 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38163
bd25564e
UD
38164 [BZ #7101]
38165 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38166 when an incomplete long option is used.
38167 * posix/tst-getopt_long1.c: New file.
38168 * posix/Makefile (tests): Add tst-getopt_long1.
38169
c84cfef4
UD
38170 [BZ #10138]
38171 * scripts/config.guess: Update from autoconf-2.68.
38172 * scripts/config.sub: Likewise.
38173
3b85df27
UD
38174 [BZ #10157]
38175 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38176 tests into ...
38177 (has_cpuclock): ...this. New function.
38178 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38179 macro here based on has_cpuclock code.
38180
15a856b1
UD
38181 [BZ #10149]
38182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38183 First byte (not low byte) is now always NUL.
38184 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38185
05f399e6
UD
38186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38187 Use non-cancelable interfaces.
38188
10a52685 38189 [BZ #9809]
94ecc67d
UD
38190 * locale/iso-639.def: Add entry for Sorani.
38191
f8a3b5bf
UD
38192 [BZ #11901]
38193 * include/stdlib.h: Move include protection to the right place.
38194 Define abort_msg_s. Declare __abort_msg with it.
38195 * stdlib/abort.c (__abort_msg): Adjust type.
38196 * assert/assert.c (__assert_fail_base): New function. Majority
38197 of code from __assert_fail. Allocate memory for __abort_msg with
38198 mmap.
38199 (__assert_fail): Now call __assert_fail_base.
38200 * assert/assert-perr.c: Remove bulk of implementation. Use
38201 __assert_fail_base.
38202 * include/assert.hL Declare __assert_fail_base.
38203 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38204 mmap.
38205 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38206
1af4e298
UD
382072011-05-14 Ulrich Drepper <drepper@gmail.com>
38208
f8a3b5bf 38209 [BZ #11952]
d26dfc60
MG
38210 [BZ #12453]
38211 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38212 until all modules are registered in the DTV.
38213 * elf/Makefile: Add rules to build and run tst-tls19.
38214 * elf/tst-tls19.c: New file.
38215 * elf/tst-tls19mod1.c: New file.
38216 * elf/tst-tls19mod2.c: New file.
38217 * elf/tst-tls19mod3.c: New file.
38218 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38219
2fc54d6f
UD
38220 [BZ #12083]
38221 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38222 correctly.
38223
98d76b46
UD
38224 [BZ #12601]
38225 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38226 two-byte sequence errors.
38227 * iconvdata/Makefile (tests): Add bug-iconv8.
38228 * iconvdata/bug-iconv8.c: New file.
38229
da3c19ef
UD
38230 [BZ #12626]
38231 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38232 buf2 definition.
38233
ca408c15
UD
38234 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38235
d6f67f7d
UD
38236 [BZ #12432]
38237 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38238 (dummy_getcfa): New function.
38239 (init): Get _Unwind_GetCFA address, use dummy if not found.
38240 (backtrace_helper): In recursion check, also check whether CFA changes.
38241 (__backtrace): Completely initialize arg.
38242
1af4e298 38243 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
38244 storing incomplete byte sequence in state object. Avoid testing for
38245 guaranteed too small input if we know there is enough data available.
1af4e298 38246
da62f81b
AS
382472011-05-11 Andreas Schwab <schwab@redhat.com>
38248
38249 * Makeconfig (+link-pie): Indent.
38250 * Rules (binaries-pie): Define if $(have-fpie) and
38251 $(build-shared).
38252 (binaries-shared): Also filter out $(binaries-pie).
38253 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38254 * nscd/Makefile (others-pie): Add nscd.
38255 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38256 ($(objpfx)nscd): Remove command override.
38257 * login/Makefile (others-pie): Add pt_chown.
38258 ($(objpfx)pt_chown): Remove command override.
38259 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38260 remove command overrides.
38261
fcabc0f8
UD
382622011-05-13 Ulrich Drepper <drepper@gmail.com>
38263
20030ae6
UD
38264 * libio/tst_putwc.c: Fix error messages.
38265
fcabc0f8
UD
38266 [BZ #12724]
38267 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38268 currently writing and seek to current position when not.
38269 * libio/Makefile (tests): Add bug-fclose1.
38270 * libio/bug-fclose1.c: New file.
38271
320a5dc0
PB
382722011-05-12 Ulrich Drepper <drepper@gmail.com>
38273
38274 [BZ #12511]
38275 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38276 don't set DF_1_NODELETE here.
38277 (do_lookup_x): When entering new entry test for copy relocation
38278 and if necessary set DF_1_NODELETE flag.
38279 * elf/tst-unique4.cc: New file.
38280 * elf/tst-unique4.h: New file.
38281 * elf/tst-unique4lib.cc: New file.
38282 * elf/Makefile: Add rules to build and run tst-unique4.
38283 Patch by Piotr Bury <pbury@goahead.com>.
38284
22836f52
UD
382852011-05-11 Ulrich Drepper <drepper@gmail.com>
38286
f574184a
UD
38287 [BZ #12052]
38288 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38289
e1fb097f
UD
38290 [BZ #12625]
38291 * misc/mntent_r.c (addmntent): Flush the stream after the output
38292
22836f52
UD
38293 [BZ #12393]
38294 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38295 (is_trusted_path_normalize): Skip initial colon. Append slash
38296 to empty buffer. Duplicate is_trusted_path code but allow
38297 constructed patch to be prefix.
38298 (is_dst): Allow $ORIGIN followed by /.
38299 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38300 Correct testing of result of is_trusted_path_normalize
38301 (decompose_rpath): Fix warning.
38302
7b3b0b2a
UD
383032011-05-10 Ulrich Drepper <drepper@gmail.com>
38304
38305 [BZ #11257]
38306 * grp/initgroups.c (internal_getgrouplist): When we found the service
38307 list through the initgroups entry in nsswitch.conf do not always
38308 continue on a successful lookup. Don't always use the
eac80ce2 38309 __nss_group_database value if it is set.
7b3b0b2a
UD
38310 * nss/nsswitch.conf (initgroups): Change action for successful db
38311 lookup to continue for compatibility.
38312
2a81eaa5
UD
383132011-05-09 Ulrich Drepper <drepper@gmail.com>
38314
be97a69e
UD
38315 [BZ #11532]
38316 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38317 and CP774 modules.
38318 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38319 and CP774 modules.
38320 * iconvdata/tst-tables.sh: Likewise.
38321 * iconvdata/cp770.c: New file.
38322 * iconvdata/cp771.c: New file.
38323 * iconvdata/cp772.c: New file.
38324 * iconvdata/cp773.c: New file.
38325 * iconvdata/cp774.c: New file.
38326 * iconvdata/testdata/CP770: New file.
38327 * iconvdata/testdata/CP770..UTF8: New file.
38328 * iconvdata/testdata/CP771: New file.
38329 * iconvdata/testdata/CP771..UTF8: New file.
38330 * iconvdata/testdata/CP772: New file.
38331 * iconvdata/testdata/CP772..UTF8: New file.
38332 * iconvdata/testdata/CP773: New file.
38333 * iconvdata/testdata/CP773..UTF8: New file.
38334 * iconvdata/testdata/CP774: New file.
38335 * iconvdata/testdata/CP774..UTF8: New file.
38336
38337 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38338 END CHARMAP line.
38339 * iconvdata/gen-8bit-gap.sh: Likewise.
38340 * iconvdata/gen-8bit.sh: Likewise.
38341
c1e9e399
UD
38342 * locale/iso-639.def: Add ary entry.
38343
24c55fb3 38344 [BZ #11258]
96b4b1b0
UD
38345 * locale/C-translit.h.in: Add U20A1 transliteration.
38346
bdc2f971
KB
38347 [BZ #12178]
38348 * locale/iso-639.def: Add wae entry.
38349 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38350
2952b117
UD
38351 [BZ #12545]
38352 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38353 for n.
38354
2a81eaa5
UD
38355 [BZ #12711]
38356 * locale/C-translit.h.in: Add entry for U20B9.
38357 Patch by pravin.d.s@gmail.com.
38358
28377d1b
UD
383592011-05-08 Ulrich Drepper <drepper@gmail.com>
38360
7fb90fb8
UD
38361 [BZ #12713]
38362 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38363 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
38364 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38365 in rtld. Use *stat64.
7fb90fb8 38366 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 38367 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 38368 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
38369 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38370 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38371 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38372 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38373 __fstatat64 macros.
7fb90fb8
UD
38374 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38375 * dirent/rewinddir.c: Add libc_hidden_def.
38376 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 38377 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 38378
28377d1b
UD
38379 * include/dirent.h (__alloc_dir): Add flags parameter.
38380 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38381 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38382 __alloc_dir.
38383 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38384 from fdopendir if O_CLOEXEC is already set.
38385
66bdbaa4
AM
383862011-03-15 Alan Modra <amodra@gmail.com>
38387
38388 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38389 l_tls_firstbyte_offset non-zero. Save padding offset in
38390 l_tls_firstbyte_offset for later use.
38391 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38392 freeing static tls block.
38393
95721191
JN
383942011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38395
38396 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38397 where #ifdef was intended. The intent is to prevent ARG_MAX from
38398 being defined by the kernel headers.
38399
f87dfb1f
UD
384002011-05-07 Ulrich Drepper <drepper@gmail.com>
38401
38402 [BZ #12734]
38403 * resolv/resolv.h: Define RES_NOTLDQUERY.
38404 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38405 no-tld-query and set RES_NOTLDQUERY.
38406 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38407 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38408 modern BIND to search name as TLD unless forbidden.
38409
47c3cd7a
UD
384102011-05-07 Petr Baudis <pasky@suse.cz>
38411 Ulrich Drepper <drepper@gmail.com>
38412
38413 [BZ #12393]
38414 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38415 (is_trusted_path): ...to here.
c1e9ea35 38416 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 38417 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 38418 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 38419
8a35c912
PP
384202011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38421
38422 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38423 __BEGIN/__END_DECLS.
38424
acd41f47
UD
384252011-05-06 Ulrich Drepper <drepper@gmail.com>
38426
38427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38428 NSS_STATUS_NOTFOUND if no record was found.
38429
597df647
AS
384302011-05-05 Andreas Schwab <schwab@redhat.com>
38431
38432 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38433 (headers-not-in-tirpc): Remove rpc/netdb.h
38434 * resolv/netdb.h: Revert last change.
38435
b9af1301
PP
384362011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38437
38438 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38439 circular dependency between libgcc.a and libc.a.
38440
4e34d5f5
AS
384412011-05-05 Andreas Schwab <schwab@redhat.com>
38442
38443 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38444 * nis/Makefile: Don't install rpcsvc/*.
38445 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38446 instead of <rpc/types.h>.
38447 (MAXHOSTNAMELEN): Define.
38448
00ee369c
AS
384492011-05-03 Andreas Schwab <schwab@redhat.com>
38450
38451 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38452
0b592a30
MB
384532011-04-28 Maciej Babinski <mbabinski@google.com>
38454
38455 [BZ #12714]
38456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38457 gethostbyname4_r when IPv6 results are possible.
38458
6e04cbbe
UD
384592011-05-02 Ulrich Drepper <drepper@gmail.com>
38460
38461 [BZ #12723]
38462 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38463 _PC_PIPE_BUF handling.
38464
e4ecafe0
BH
384652011-04-30 Bruno Haible <bruno@clisp.org>
38466
38467 [BZ #12717]
38468 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38469 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38470 to 'int'.
38471 * inet/getnameinfo.c (getnameinfo): Likewise.
38472
125ee683
UD
384732011-04-29 Ulrich Drepper <drepper@gmail.com>
38474
38475 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38476 to groups setting in database lookup.
38477 * nss/nsswitch.conf: Add initgroups entry.
38478
b722481a
EB
384792011-04-22 Ulrich Drepper <drepper@gmail.com>
38480
38481 [BZ #12685]
38482 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38483 mode string.
38484 Patch by Eric Blake <eblake@redhat.com>.
38485
4df46dbd
L
384862011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38487
38488 * sunrpc/Makefile (need-export-routines): Add svc_run.
38489 (routines): Remove svc_run.
38490 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38491 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38492 * sunrpc/svc_run.c (svc_run): Likewise.
38493 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38494
e84142d2
UD
384952011-04-21 Ulrich Drepper <drepper@gmail.com>
38496
38497 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38498 problem in reallocation in last patch.
38499
877175d8
UD
385002011-04-20 Ulrich Drepper <drepper@gmail.com>
38501
38502 * sunrpc/Makefile: Move inclusion of Rules.
38503
ab8eed78
UD
385042011-04-19 Ulrich Drepper <drepper@gmail.com>
38505
38506 * nss/nss_files/files-initgroups.c: New file.
38507 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38508 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38509 _nss_files_initgroups_dyn.
38510
e3d8f584
RS
385112011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38512
38513 * elf/elf.h (R_ARM_IRELATIVE): Define.
38514
af190f45
UD
385152011-04-19 Ulrich Drepper <drepper@gmail.com>
38516
38517 * po/ru.po: Update from translation team.
38518
53cf59ef
UD
385192011-04-17 Ulrich Drepper <drepper@gmail.com>
38520
38521 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38522 dependencies.
38523
4c559bcd
MF
385242011-02-06 Mike Frysinger <vapier@gentoo.org>
38525
38526 [BZ #12653]
38527 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38528 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38529 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38530 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38531 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38532
4420675c
AS
385332011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38534
38535 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38536 differing bytes.
38537 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38538 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38539 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38540
75ea32ab
UD
385412011-04-17 Ulrich Drepper <drepper@gmail.com>
38542
38543 [BZ #12420]
38544 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38545 storing it.
38546 * stdlib/bug-getcontext.c: New file.
38547 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38548
27390476
AK
385492011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38550
38551 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38552 instructions into .machine "z9-109".
38553 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38554 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38555
10442705
AK
385562011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38557
38558 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38559 between environment variables and auxiliary vector.
38560
7b57bfe5
UD
385612011-04-16 Ulrich Drepper <drepper@gmail.com>
38562
38563 * Makefile: Add rules to build linkobj/libc.so.
38564 * include/libc-symbols.h: Define libc_hidden_nolink.
38565 * include/rpc/auth.h: Mark functions which are to be hidden.
38566 * include/rpc/auth_des.h: Likewise.
38567 * include/rpc/auth_unix.h: Likewise.
38568 * include/rpc/clnt.h: Likewise.
38569 * include/rpc/des_crypt.h: Likewise.
38570 * include/rpc/key_prot.h: Likewise.
38571 * include/rpc/pmap_clnt.h: Likewise.
38572 * include/rpc/pmap_prot.h: Likewise.
38573 * include/rpc/pmap_rmt.h: Likewise.
38574 * include/rpc/rpc_msg.h: Likewise.
38575 * include/rpc/svc.h: Likewise.
38576 * include/rpc/svc_auth.h: Likewise.
38577 * include/rpc/xdr.h: Likewise.
38578 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38579 * nss/Makefile: Likewise.
38580 * sunrpc/Makefile: Don't install headers. Build library with normal
38581 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38582 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38583 for the compat linking library. Remove use of INTDEF/INTUSE.
38584 * sunrpc/auth_none.c: Likewise.
38585 * sunrpc/auth_unix.c: Likewise.
38586 * sunrpc/authdes_prot.c: Likewise.
38587 * sunrpc/authuxprot.c: Likewise.
38588 * sunrpc/clnt_gen.c: Likewise.
38589 * sunrpc/clnt_perr.c: Likewise.
38590 * sunrpc/clnt_raw.c: Likewise.
38591 * sunrpc/clnt_simp.c: Likewise.
38592 * sunrpc/clnt_tcp.c: Likewise.
38593 * sunrpc/clnt_udp.c: Likewise.
38594 * sunrpc/clnt_unix.c: Likewise.
38595 * sunrpc/des_crypt.c: Likewise.
38596 * sunrpc/des_soft.c: Likewise.
38597 * sunrpc/get_myaddr.c: Likewise.
38598 * sunrpc/key_call.c: Likewise.
38599 * sunrpc/key_prot.c: Likewise.
38600 * sunrpc/netname.c: Likewise.
38601 * sunrpc/pm_getmaps.c: Likewise.
38602 * sunrpc/pm_getport.c: Likewise.
38603 * sunrpc/pmap_clnt.c: Likewise.
38604 * sunrpc/pmap_prot.c: Likewise.
38605 * sunrpc/pmap_prot2.c: Likewise.
38606 * sunrpc/pmap_rmt.c: Likewise.
38607 * sunrpc/publickey.c: Likewise.
38608 * sunrpc/rpc_cmsg.c: Likewise.
38609 * sunrpc/rpc_common.c: Likewise.
38610 * sunrpc/rpc_dtable.c: Likewise.
38611 * sunrpc/rpc_prot.c: Likewise.
38612 * sunrpc/rpc_thread.c: Likewise.
38613 * sunrpc/rtime.c: Likewise.
38614 * sunrpc/svc.c: Likewise.
38615 * sunrpc/svc_auth.c: Likewise.
38616 * sunrpc/svc_authux.c: Likewise.
38617 * sunrpc/svc_raw.c: Likewise.
38618 * sunrpc/svc_run.c: Likewise.
38619 * sunrpc/svc_simple.c: Likewise.
38620 * sunrpc/svc_tcp.c: Likewise.
38621 * sunrpc/svc_udp.c: Likewise.
38622 * sunrpc/svc_unix.c: Likewise.
38623 * sunrpc/svcauth_des.c: Likewise.
38624 * sunrpc/xcrypt.c: Likewise.
38625 * sunrpc/xdr.c: Likewise.
38626 * sunrpc/xdr_array.c: Likewise.
38627 * sunrpc/xdr_float.c: Likewise.
38628 * sunrpc/xdr_intXX_t.c: Likewise.
38629 * sunrpc/xdr_mem.c: Likewise.
38630 * sunrpc/xdr_rec.c: Likewise.
38631 * sunrpc/xdr_ref.c: Likewise.
38632 * sunrpc/xdr_sizeof.c: Likewise.
38633 * sunrpc/xdr_stdio.c: Likewise.
38634
e6c61494
UD
386352011-04-10 Ulrich Drepper <drepper@gmail.com>
38636
38637 [BZ #12650]
38638 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38639 * sysdeps/ia64/dl-tls.h: Likewise.
38640 * sysdeps/powerpc/dl-tls.h: Likewise.
38641 * sysdeps/s390/dl-tls.h: Likewise.
38642 * sysdeps/sh/dl-tls.h: Likewise.
38643 * sysdeps/sparc/dl-tls.h: Likewise.
38644 * sysdeps/x86_64/dl-tls.h: Likewise.
38645 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38646
34fe483e
AS
386472011-03-14 Andreas Schwab <schwab@redhat.com>
38648
38649 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38650 rpath element also skip the following colon.
38651 (expand_dynamic_string_token): Add is_path parameter and pass
38652 down to DL_DST_REQUIRED and _dl_dst_substitute.
38653 (decompose_rpath): Call expand_dynamic_string_token with
38654 non-zero is_path. Ignore empty rpaths.
38655 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38656 with zero is_path.
38657
f12a32e6
AS
386582011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38659
38660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38661 Make cancelable.
38662
38a7d692
UD
386632011-04-09 Ulrich Drepper <drepper@gmail.com>
38664
38665 [BZ #12655]
38666 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38667 Patch by Filipe David Manana <fdmanana@apache.org>.
38668
e451d22b
AS
386692011-04-07 Andreas Schwab <schwab@redhat.com>
38670
38671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38672 Maintain aligned stack.
38673 (CHECK_RSP): Remove unused macro.
38674
dedc7c7b
UD
386752011-04-03 Ulrich Drepper <drepper@gmail.com>
38676
38677 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38678 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38679
94521213
UD
386802011-04-02 Ulrich Drepper <drepper@gmail.com>
38681
38682 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38683
8cb700c0 38684 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38685
0354e355
L
386862011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38687
38688 [BZ #12518]
38689 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38690 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38691 * sysdeps/x86_64/memmove.c: New file.
38692 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38693 (memcpy): Renamed to ...
38694 (__new_memcpy): This.
38695 (memcpy): Provide GLIBC_2_14 memcpy.
38696 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38697 (memcpy): Provide GLIBC_2_2_5 memcpy.
38698
8593482f
UD
386992011-04-01 Ulrich Drepper <drepper@gmail.com>
38700
38701 [BZ #12631]
38702 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38703
81a5726b
AS
387042011-03-30 Andreas Schwab <schwab@redhat.com>
38705
38706 * misc/syncfs.c: New file.
38707 * misc/Makefile (routines): Add syncfs.
38708 * posix/unistd.h: Declare syncfs.
38709 * sysdeps/unix/syscalls.list: Add syncfs.
38710
00e5419f
AS
387112011-04-01 Andreas Schwab <schwab@redhat.com>
38712
38713 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38714 open_by_handle_at.
38715 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38718 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38720 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38722
748876bf
UD
387232011-04-01 Ulrich Drepper <drepper@gmail.com>
38724
658e451d
UD
38725 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38727 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38732
748876bf
UD
38733 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38734 sync_file_range.c with -fexceptions.
38735 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38736 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38737 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38738 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38739 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38740 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38742 sync_file_range as cancellation point
38743 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38744 now a wrapper around __call_sync_file_range with cancellation handling.
38745 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38746 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38747 function name to __call_sync_file_range.
38748 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38749 Add call_sync_file_range.
748876bf 38750
6e63d5e1
AS
387512011-04-01 Andreas Schwab <schwab@redhat.com>
38752
38753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38754 bits/timex.h.
6e63d5e1 38755
46998f74
UD
387562011-04-01 Ulrich Drepper <drepper@gmail.com>
38757
4c1423ed
UD
38758 * iconv/iconv.h: Fix typo in comment.
38759 * io/fcntl.h: Likewise.
38760 * libio/stdio.h: Likewise.
38761 * posix/spawn.h: Likewise.
38762 * posix/unistd.h: Likewise.
38763 * stdlib/stdlib.h: Likewise.
38764 * time/time.h: Likewise.
38765 * wcsmbs/wchar.h: Likewise.
38766
158648c0
UD
38767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38768 open_by_handle): Add.
38769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38770 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38771 Augment a few comments.
38772 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38774 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38777 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38778 open_by_handle.
38779
46998f74
UD
38780 * io/fcntl.h (AT_EMPTY_PATH): Define.
38781
83fe108b
UD
387822011-03-30 Ulrich Drepper <drepper@gmail.com>
38783
38784 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38785 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38786 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38787 to...
38788 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38789 * Versions.def: Add GLIBC_2.14.
38790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38791 Export.
83fe108b 38792
bb242059
UD
387932011-03-22 Ulrich Drepper <drepper@gmail.com>
38794
38795 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38796 round counter.
38797 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38798
c97a1282
L
387992011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38800
38801 [BZ #12597]
38802 * string/test-strncmp.c (do_page_test): New function.
38803 (check2): Likewise.
38804 (test_main): Call check2.
38805 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38806
2a115601
UD
388072011-03-20 Ulrich Drepper <drepper@gmail.com>
38808
38809 [BZ #12587]
38810 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38811 Handle cache information in CPU leaf 4.
38812 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38813
8126d904
UD
388142011-03-18 Ulrich Drepper <drepper@gmail.com>
38815
042c49c6 38816 [BZ #12583]
8126d904
UD
38817 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38818 character representation.
38819 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38820
ccfe366e
RA
388212011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38822
38823 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38824 END(__isnan) to END(__isnanf) to match function entry point/label
38825 EALIGN(__isnanf,...).
38826
c6e13027
JJ
388272011-03-10 Jakub Jelinek <jakub@redhat.com>
38828
38829 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38830
33f85a3f
UD
388312011-03-10 Ulrich Drepper <drepper@gmail.com>
38832
028478fa
UD
38833 [BZ #12510]
38834 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38835 copy from the symbol referenced in the relocation to initialize the
38836 used variable.
38837 Patch by Piotr Bury <pbury@goahead.com>.
38838 * elf/Makefile: Add rules to build and tst-unique3.
38839 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38840 * elf/tst-unique3.cc: New file.
38841 * elf/tst-unique3.h: New file.
38842 * elf/tst-unique3lib.cc: New file.
38843 * elf/tst-unique3lib2.cc: New file.
38844
33f85a3f
UD
38845 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38846
03592fc7
MF
388472011-03-10 Mike Frysinger <vapier@gentoo.org>
38848
38849 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38850 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38851 to _start.
03592fc7 38852
6a5ee102
UD
388532011-03-06 Ulrich Drepper <drepper@gmail.com>
38854
38855 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38856 to-be-loaded object along a path to loader is ld.so.
38857
7e4ba49c
HJ
388582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38859 Ulrich Drepper <drepper@gmail.com>
38860
38861 * sysdeps/x86_64/memset.S: After aligning destination, code
38862 branches to different locations depending on the value of
38863 misalignment, when multiarch is enabled. Fix this.
38864
388652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38866
38867 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38868 Set _x86_64_preferred_memory_instruction for AMD processsors.
38869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38870 Set bit_Prefer_SSE_for_memop for AMD processors.
38871
13a804de
UD
388722011-03-04 Ulrich Drepper <drepper@gmail.com>
38873
38874 * libio/fmemopen.c (fmemopen): Optimize a bit.
38875
9d25c392
AS
388762011-03-03 Andreas Schwab <schwab@redhat.com>
38877
38878 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38879
a5543c6a
RM
388802011-03-03 Roland McGrath <roland@redhat.com>
38881
38882 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38883
012d35f7
DM
388842011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38885
7e4ba49c 38886 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38887 __bzero_ultra1 instead of __memset_ultra1.
38888
4bff6e01
AS
388892011-02-23 Andreas Schwab <schwab@redhat.com>
38890 Ulrich Drepper <drepper@gmail.com>
38891
38892 [BZ #12509]
38893 * include/link.h (struct link_map): Add l_orig_initfini.
38894 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38895 returning unsuccessfully.
38896 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38897 close of a file loaded at startup, restore the original l_initfini
38898 list.
38899 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38900 list, store the pointer.
38901 * elf/Makefile ($(objpfx)noload-mem): New rule.
38902 (noload-ENV): Define.
38903 (tests): Add $(objpfx)noload-mem.
38904 * elf/noload.c: Include <memcheck.h>.
38905 (main): Call mtrace. Close all opened handles.
38906
f2092faf
AS
389072011-02-17 Andreas Schwab <schwab@redhat.com>
38908
38909 [BZ #12454]
38910 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38911 dependencies are missing.
38912
6c8a2e88
ST
389132011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38914
f2092faf 38915 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38916 Hurd needs munmap.
38917 * sysdeps/mach/hurd/ifreq.h: New file.
38918
84a42118
PB
389192011-01-27 Petr Baudis <pasky@suse.cz>
38920 Ulrich Drepper <drepper@gmail.com>
38921
071f805e 38922 [BZ 12445]#
84a42118
PB
38923 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38924 to extend_alloca().
38925 * stdio-common/bug23.c: New file.
38926 * stdio-common/Makefile (tests): Add bug23.
38927
e23fe25b
AS
389282010-09-28 Andreas Schwab <schwab@redhat.com>
38929 Ulrich Drepper <drepper@gmail.com>
38930
38931 [BZ #12489]
38932 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38933 before performing relro protection. At old place add assertion
38934 to make sure nothing changed.
38935
d3f02e10
NS
389362011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38937 Glauber de Oliveira Costa <glommer@gmail.com>
38938
38939 * elf/elf.h: Add new ARM TLS relocs.
38940
d55fd7a5
RA
389412011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38942
38943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38944 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38945 cast from r3.
38946 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38947 'tests' variable.
38948 * sysdeps/wordsize-64/tst-writev.c: New file.
38949
2206397e
RA
389502011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38951
38952 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38953 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38954 insns in _dl_start to prevent a TOC reference before relocs are
38955 resolved.
38956
e9433893
UD
389572011-02-15 Ulrich Drepper <drepper@gmail.com>
38958
38959 [BZ #12469]
38960 * Makeconfig: Remove RANLIB definition.
38961 * Makerules: Don't use RANLIB.
38962 * aclocal.m4: Remove ranlib test.
38963 * configure.in: No need to check for ranlib.
38964 * elf/rtld-Rules: Don't use RANLIB.
38965
f75286c6
ST
389662011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38967
8e31c82d
ST
38968 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38969 protection macro.
38970 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38971 inclusion protection macro.
38972
f75286c6
ST
38973 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38974 SIGRTMIN and SIGRTMAX and print information in that case only when
38975 SIGRTMIN is defined.
38976
c1d0e639
JJ
389772011-02-11 Jakub Jelinek <jakub@redhat.com>
38978
38979 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38980 arginfo fn returning -1.
38981
38982 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38983 and thousands string is zero terminated.
38984
edf9294e
AS
389852011-02-03 Andreas Schwab <schwab@redhat.com>
38986
38987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38988 sysdeps/unix/sysv/linux/bits/socket.h.
38989
2b7e92df
ST
389902011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38991
edf9294e
AS
38992 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38993 (__CPU_COUNT): Remove old macros.
38994 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38995 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38996 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38997 (__sched_cpualloc, __sched_cpufree): Add declarations.
38998
a4c7ea7b
UD
389992011-02-05 Ulrich Drepper <drepper@gmail.com>
39000
39001 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
39002 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
39003 * nscd/aicache.c (addhstaiX): Return timeout of added value.
39004 (readdhstai): Return value of addhstaiX call.
39005 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
39006 (addgrbyX): Return value returned by cache_addgr.
39007 (readdgrbyname): Return value returned by addgrbyX.
39008 (readdgrbygid): Likewise.
39009 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
39010 (addpwbyX): Return value returned by cache_addpw.
39011 (readdpwbyname): Return value returned by addhstbyX.
39012 (readdpwbyuid): Likewise.
39013 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
39014 (addservbyX): Return value returned by cache_addserv.
39015 (readdservbyname): Return value returned by addservbyX:
39016 (readdservbyport): Likewise.
39017 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
39018 (addhstbyX): Return value returned by cache_addhst.
39019 (readdhstbyname): Return value returned by addhstbyX.
39020 (readdhstbyaddr): Likewise.
39021 (readdhstbynamev6): Likewise.
39022 (readdhstbyaddrv6): Likewise.
39023 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
39024 (readdinitgroups): Return value returned by addinitgroupsX.
39025 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
39026 (prune_cache): Keep track of timeout value of re-added entries.
39027 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
39028 * nscd/nscd.h: Adjust prototypes of readd* functions.
39029
a0bf67cc
RM
390302011-02-04 Roland McGrath <roland@redhat.com>
39031
39032 * nis/nis_server.c (nis_servstate): Use the right name for 0.
39033 (nis_stats): Likewise.
39034 * nis/nis_modify.c (nis_modify): Likewise.
39035 * nis/nis_remove.c (nis_remove): Likewise.
39036 * nis/nis_add.c (nis_add): Likewise.
39037
39038 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
39039
39040 * posix/fnmatch_loop.c: Add some consts.
39041
39042 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
39043
435b95eb
L
390442011-02-02 H.J. Lu <hongjiu.lu@intel.com>
39045
39046 [BZ #12460]
39047 * config.make.in (config-cflags-novzeroupper): Define.
39048 * configure.in: Substitute libc_cv_cc_novzeroupper.
39049 * elf/Makefile (AVX-CFLAGS): Define.
39050 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
39051 (CFLAGS-tst-auditmod4a.c): Likewise.
39052 (CFLAGS-tst-auditmod4b.c): Likewise.
39053 (CFLAGS-tst-auditmod6b.c): Likewise.
39054 (CFLAGS-tst-auditmod6c.c): Likewise.
39055 (CFLAGS-tst-auditmod7b.c): Likewise.
39056 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
39057
8517b15e
UD
390582011-02-02 Ulrich Drepper <drepper@gmail.com>
39059
39060 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
39061 function to the callback.
39062 Patch partly by Jiri Olsa <jolsa@redhat.com>.
39063
10a656fe
AS
390642011-02-02 Andreas Schwab <schwab@redhat.com>
39065
39066 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
39067 of errno.
39068
968dad0a
UD
390692011-01-19 Ulrich Drepper <drepper@gmail.com>
39070
9f94d2ea 39071 [BZ #11724]
968dad0a
UD
39072 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
39073 of constructors.
39074 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
39075 of destructors.
39076 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
39077
39078 [BZ #11724]
39079 * elf/Makefile: Add rules to build and run new test.
39080 * elf/tst-initorder.c: New file.
39081 * elf/tst-initorder.exp: New file.
39082 * elf/tst-initordera1.c: New file.
39083 * elf/tst-initordera2.c: New file.
39084 * elf/tst-initordera3.c: New file.
39085 * elf/tst-initordera4.c: New file.
39086 * elf/tst-initorderb1.c: New file.
39087 * elf/tst-initorderb2.c: New file.
39088 * elf/tst-order-a1.c: New file.
39089 * elf/tst-order-a2.c: New file.
39090 * elf/tst-order-a3.c: New file.
39091 * elf/tst-order-a4.c: New file.
39092 * elf/tst-order-b1.c: New file.
39093 * elf/tst-order-b2.c: New file.
39094 * elf/tst-order-main.c: New file.
39095 New test case by George Gensure <werkt0@gmail.com>.
39096
86e92359
UD
390972010-10-01 Andreas Schwab <schwab@redhat.com>
39098
39099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39100 decoding ACE if AI_CANONIDN.
39101
5d5732b0
UD
391022011-01-18 Ulrich Drepper <drepper@gmail.com>
39103
39104 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
39105
a77e8cbc
UD
391062011-01-17 Ulrich Drepper <drepper@gmail.com>
39107
6392473f
UD
39108 * version.h (RELEASE): Bump for 2.13 release.
39109 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
39110
620a0529
UD
39111 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
39112
18ba70a5
UD
39113 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
39114 MADV_NOHUGEPAGE.
32465c3e
UD
39115 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
39116 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39117 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39121
c0dafcf1
UD
39122 * posix/getconf.c: Update copyright year.
39123 * catgets/gencat.c: Likewise.
39124 * csu/version.c: Likewise.
39125 * debug/catchsegv.sh: Likewise.
39126 * debug/xtrace.sh: Likewise.
39127 * elf/ldconfig.c: Likewise.
39128 * elf/ldd.bash.in: Likewise.
39129 * elf/sprof.c (print_version): Likewise.
39130 * iconv/iconv_prog.c: Likewise.
39131 * iconv/iconvconfig.c: Likewise.
39132 * locale/programs/locale.c: Likewise.
39133 * locale/programs/localedef.c: Likewise.
39134 * malloc/memusage.sh: Likewise.
39135 * malloc/mtrace.pl: Likewise.
39136 * nscd/nscd.c (print_version): Likewise.
39137 * nss/getent.c: Likewise.
39138
a77e8cbc
UD
39139 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39140 PF_CAIF, and PF_ALG.
39141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39142
77e8bddf
AS
391432011-01-16 Andreas Schwab <schwab@linux-m68k.org>
39144
1f20b93a
AS
39145 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39146 (modules-names): Use them.
39147 (ifunc-test-modules, ifunc-pie-tests): Define.
39148 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39149 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39150 (test-extras): Likewise.
39151 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39152 $(compile-command.c).
39153 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39154 (all-built-dso): Define.
39155 (check-textrel.out, check-execstack.out): Depend on it.
39156
77e8bddf
AS
39157 * configure.in: Don't override --enable-multi-arch.
39158
bc425b33
UD
391592011-01-15 Ulrich Drepper <drepper@gmail.com>
39160
39161 [BZ #6812]
39162 * nscd/hstcache.c (tryagain): Define.
39163 (cache_addhst): Return tryagain not notfound for temporary errors.
39164 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39165 failed.
39166
794c3ad3
UD
391672011-01-14 Ulrich Drepper <drepper@gmail.com>
39168
70181fdd
UD
39169 [BZ #10563]
39170 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39171 to make the syscall.
39172 * sysdeps/unix/sysv/linux/setgroups.c: New file.
39173
794c3ad3
UD
39174 [BZ #12378]
39175 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39176 and fall back to matching as normal character if the string ends before
39177 the matching ']' is found. This is what POSIX requires.
39178 * posix/testfnm.c: Adjust test result.
39179 * posix/globtest.sh: Adjust test result. Add new test.
39180 * posix/tst-fnmatch.input: Likewise.
39181 * posix/tst-fnmatch2.c: Add new test.
39182
68dc9497
AS
391832010-12-28 Andreas Schwab <schwab@linux-m68k.org>
39184
39185 * elf/Makefile (check-execstack): Revert last change. Depend on
39186 check-execstack.h.
39187 (check-execstack.h): New target.
39188 (generated): Add check-execstack.h.
39189 * elf/check-execstack.c: Include "check-execstack.h".
39190 (main): Revert last change.
39191 (handle_file): Return zero if GNU_STACK is absent and
39192 DEFAULT_STACK_PERMS doesn't include PF_X.
39193
451f001b
UD
391942011-01-13 Ulrich Drepper <drepper@gmail.com>
39195
cfa28e56
UD
39196 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39197 in child fails because the descriptor is already closed.
8cf8ce17
UD
39198 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39199 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39200 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 39201
1086d70d
UD
39202 [BZ #12397]
39203 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39204 syscall.
39205
451f001b
UD
39206 [BZ #10484]
39207 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39208 temporary buffer used to handle multi lookups locally.
a85b5cb4 39209 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 39210
08769175
UD
392112011-01-12 Ulrich Drepper <drepper@gmail.com>
39212
39213 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39214 loader is ld.so.
39215
5e49c52e
UD
392162011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
39217
39218 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39219 alignment for SSE2.
39220
60522a5f
UD
392212011-01-12 Ulrich Drepper <drepper@gmail.com>
39222
39223 [BZ #12394]
39224 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39225 characters. When rounding increased number of integer digits recompute
39226 number of groups.
39227 * stdio-common/tst-grouping.c: New file.
39228 * stdio-common/Makefile: Add rules to build and run tst-grouping.
39229
f257bbd7
UD
392302011-01-09 Ulrich Drepper <drepper@gmail.com>
39231
39232 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39233 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
39234
39235 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39236 void.
39237 * bits/select.h: Likewise.
39238
fa9c15cb
UD
392392011-01-08 Ulrich Drepper <drepper@gmail.com>
39240
39241 * po/ja.po: Update from translation team.
39242
16c2895f
DM
392432011-01-04 David S. Miller <davem@sunset.davemloft.net>
39244
39245 [BZ #11155]
39246 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39247 implementation just like for lxstat, fxstatat, et al.
39248
2543fef2
JM
392492010-12-27 Jim Meyering <meyering@redhat.com>
39250
39251 [BZ #12348]
39252 * posix/regexec.c (build_trtable): Return failure indication upon
39253 calloc failure. Otherwise, re_search_internal could infloop on OOM.
39254
98727dbe
UD
392552010-12-25 Ulrich Drepper <drepper@gmail.com>
39256
5bd6dc5c
UD
39257 [BZ #12201]
39258 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39259 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39260 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39261 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39262
97983464
UD
39263 [BZ #12207]
39264 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39265
98727dbe
UD
39266 [BZ #12204]
39267 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39268 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39269
4a531bb0
L
392702010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39271
39272 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39273 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39274 script has SORT_BY_INIT_PRIORITY.
39275 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39276 NO_CTORS_DTORS_SECTIONS is defined.
39277 * elf/soinit.c: Likewise.
39278 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39279 NO_CTORS_DTORS_SECTIONS is defined.
39280 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39281 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39282 * sysdeps/sh/init-first.c: Likewise.
39283 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39284
07eb4b71
UD
392852010-12-24 Ulrich Drepper <drepper@gmail.com>
39286
39287 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39288 always use the slow path.
39289
30950a5f
RA
392902010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39291
39292 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39293 similar rule which adds the sysdep directories to the header search in
39294 order to pick up the correct platform stackinfo.h.
39295 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39296 perform test if it is, otherwise return successfully without testing.
39297 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39298 DEFAULT_STACK_PERMS define in stackinfo.h.
39299 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39300 defined in stackinfo.h.
39301 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39302 DEFAULT_STACK_PERMS defined in stackinfo.h.
39303 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39304 * sysdeps/ia64/stackinfo.h: Likewise.
39305 * sysdeps/s390/stackinfo.h: Likewise.
39306 * sysdeps/sh/stackinfo.h: Likewise.
39307 * sysdeps/sparc/stackinfo.h: Likewise.
39308 * sysdeps/x86_64/stackinfo.h: Likewise.
39309 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39310 PF_X for powerpc64. Retain PF_X for powerpc32.
39311
db753e2c
UD
393122010-12-19 Ulrich Drepper <drepper@gmail.com>
39313
14b697f7
UD
39314 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39315 accurately.
db753e2c
UD
39316 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39317 GETDENTS_64BIT_ALIGNED.
39318
28300719
UD
393192010-12-14 Ulrich Drepper <dreper@gmail.com>
39320
14b697f7 39321 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 39322
4f197237
AS
393232010-12-10 Andreas Schwab <schwab@redhat.com>
39324
dbb0472f
AS
39325 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39326 _GNU_SOURCE.
39327
4f197237
AS
39328 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39329 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39330 Remove __restrict.
39331 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39332 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39333
fb88ac72
UD
393342010-12-09 Ulrich Drepper <drepper@gmail.com>
39335
39336 [BZ #11655]
39337 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39338 are initialized.
39339
42acbb92
JJ
393402010-12-09 Jakub Jelinek <jakub@redhat.com>
39341
39342 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39343
c038d98d
UD
393442010-12-03 Ulrich Drepper <drepper@gmail.com>
39345
39346 * po/it.po: Update from translation team.
39347
3a4a2499
L
393482010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39349
39350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39351 unused codes.
39352
1e24cf6e
UD
393532010-11-30 Ulrich Drepper <drepper@gmail.com>
39354
39355 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39356
a7690819
AS
393572010-11-24 Andreas Schwab <schwab@redhat.com>
39358
39359 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39360 specially.
39361 (gaih_getanswer_slice): Likewise.
39362
3bf8d1b1
JJ
393632010-10-20 Jakub Jelinek <jakub@redhat.com>
39364
39365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39366
6db52fbb
PB
393672010-05-31 Petr Baudis <pasky@suse.cz>
39368
39369 [BZ #11149]
39370 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39371 silently even in the chroot mode.
39372
eaca7569
UD
393732010-11-22 Ulrich Drepper <drepper@gmail.com>
39374
39375 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39376 last patch a bit. Pretty printing
39377
3056dcdb
UD
393782010-05-31 Petr Baudis <pasky@suse.cz>
39379
39380 [BZ #10085]
39381 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39382 initialization of skip_initgroups_dyn.
39383
cf7c9078
UD
393842010-11-19 Ulrich Drepper <drepper@gmail.com>
39385
39386 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39387 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39388
a1fb5e3e
UD
393892010-11-16 Ulrich Drepper <drepper@gmail.com>
39390
39391 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39392
3540d66b
AS
393932010-11-11 Andreas Schwab <schwab@redhat.com>
39394
39395 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39396 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39397 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39398 ($(objpfx)tst-fnmatch-mem): New rule.
39399 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39400 * posix/tst-fnmatch.c (main): Call mtrace.
39401
13b69574
L
394022010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39403
39404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39405 Support Intel processor model 6 and model 0x2c.
39406
da93d214
LM
394072010-11-10 Luis Machado <luisgpm@br.ibm.com>
39408
39409 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39410 signed comparison.
39411
8ca52c6e
L
394122010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39413
39414 [BZ #12205]
39415 * string/test-strncasecmp.c (check_result): New function.
39416 (do_one_test): Use it.
39417 (check1): New function.
39418 (test_main): Use it.
39419 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39420 Support strcasecmp and strncasecmp.
39421
69da074d
UD
394222010-11-08 Ulrich Drepper <drepper@gmail.com>
39423
39424 [BZ #12194]
39425 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39426 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39427
ff02d528
L
394282010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39429
39430 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39431 IFUNC support.
39432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39433 memset-x86-64.
39434 * sysdeps/x86_64/multiarch/bzero.S: New file.
39435 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39436 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39437 * sysdeps/x86_64/multiarch/memset.S: New file.
39438 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39440 Set bit_Prefer_SSE_for_memop for Intel processors.
39441 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39442 Define.
39443 (index_Prefer_SSE_for_memop): Define.
39444 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39445
344d0b54
LM
394462010-11-04 Luis Machado <luisgpm@br.ibm.com>
39447
39448 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39449 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39450
c0dde15b
UD
394512010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39452
39453 [BZ #12191]
39454 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39455 (__x86_64_raw_data_cache_size_half): Likewise.
39456 (__x86_64_raw_shared_cache_size): Likewise.
39457 (__x86_64_raw_shared_cache_size_half): Likewise.
39458
39459 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39460 (__x86_64_raw_data_cache_size_half): Likewise.
39461 (__x86_64_raw_shared_cache_size): Likewise.
39462 (__x86_64_raw_shared_cache_size_half): Likewise.
39463 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39464 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39465 and __x86_64_raw_shared_cache_size_half. Round
39466 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39467 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39468 to multiple of 256 bytes.
39469
0e516e0e
MS
394702010-11-03 Ulrich Drepper <drepper@gmail.com>
39471
39472 [BZ #12167]
39473 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39474 of inacessible symlinks. Verify result of symlink before returning it.
39475 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39476 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39477
0e012e87
ER
394782010-10-28 Erich Ritz <erichritz@gmail.com>
39479
39480 * math/math.h (isinf): Fix typo in comment.
39481
de0ff7bc
UD
394822010-11-01 Ulrich Drepper <drepper@gmail.com>
39483
39484 * po/da.po: Update from translation team.
39485
fa41c84d
UD
394862010-10-26 Ulrich Drepper <drepper@gmail.com>
39487
39488 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39489 is added to the list.
39490
f0967738
AK
394912010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39492 Ulrich Drepper <drepper@gmail.com>
39493
39494 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39495 the global list here. Move code to...
39496 (_dl_add_to_namespace_list): ...here. New function.
39497 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39498 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39499 * elf/dl-load.c (lose): Don't remove the element from the list.
39500 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39501 (_dl_map_object): Likewise.
39502
395032010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
39504
39505 [BZ #12159]
39506 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39507 into all bytes of SSE register.
39508 Patch by Richard Li <richardpku@gmail.com>.
39509
f0967738 395102010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
39511
39512 [BZ #12140]
39513 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39514 perturbing.
39515
d0b9e94f
MB
395162010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39517
39518 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39519 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39520 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39521 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39523 submachine.
39524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39525
8e9f92e9
AS
395262010-10-22 Andreas Schwab <schwab@redhat.com>
39527
39528 * include/dlfcn.h (__RTLD_SECURE): Define.
39529 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39530 mode & __RTLD_SECURE instead.
39531 (open_path): Rename preloaded parameter to secure.
39532 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39533 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39534 * elf/dl-deps.c (openaux): Likewise.
39535 * elf/rtld.c (struct map_args): Remove is_preloaded.
39536 (map_doit): Don't use it.
39537 (dl_main): Likewise.
39538 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39539 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39540
bc96fbda
AS
395412010-09-09 Andreas Schwab <schwab@redhat.com>
39542
39543 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39544 (sysd-rules-targets): Remove duplicates.
39545 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39546 rtld-%.$o dependency.
39547
22cd1c9b
AS
395482010-10-18 Andreas Schwab <schwab@redhat.com>
39549
39550 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39551 _dl_map_object do it.
39552
18edac48
UD
395532010-10-19 Ulrich Drepper <drepper@gmail.com>
39554
39555 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39556 fast fma builtins, define the macros in the C99 standard.
39557 (FP_FAST_FMAF): Likewise.
39558 (FP_FAST_FMAL): Likewise.
39559 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39560
39561 * bits/mathdef.h: Update copyright year.
39562 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39563
d2050124
MM
395642010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39565
39566 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39567 builtins, define the macros in the C99 standard.
39568 (FP_FAST_FMAF): Likewise.
39569 (FP_FAST_FMAL): Likewise.
39570 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39571 multiply/add.
39572 (FP_FAST_FMAF): Likewise.
39573
475facd1
JJ
395742010-10-15 Jakub Jelinek <jakub@redhat.com>
39575
39576 [BZ #3268]
39577 * math/libm-test.inc (fma_test): Some new testcases.
39578 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39579 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39580 y and infinite z. Do multiplication by C already in long double.
39581 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39583 y and infinite z. Do bitwise or of inexact bit into u.d.
39584 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39585 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39586 * sysdeps/i386/fpu/s_fma.S: Removed.
39587 * sysdeps/i386/fpu/s_fmal.S: Removed.
39588
7c08a05c
JJ
395892010-10-16 Jakub Jelinek <jakub@redhat.com>
39590
39591 [BZ #3268]
39592 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39594 computation is not scheduled after fetestexcept. Fix value
39595 of minimum denormal long double.
39596
f3f7372d
JJ
395972010-10-14 Jakub Jelinek <jakub@redhat.com>
39598
39599 [BZ #3268]
39600 * math/libm-test.inc (fma_test): Add some more tests.
39601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39602 correctly.
39603
14d43591
AS
396042010-10-15 Andreas Schwab <schwab@redhat.com>
39605
39606 * scripts/data/localplt-s390-linux-gnu.data: New file.
39607 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39608
5e908464
JJ
396092010-10-13 Jakub Jelinek <jakub@redhat.com>
39610
39611 [BZ #3268]
39612 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39613 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39614 instead of dbl-64.
39615 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39616 inlines.
39617 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39619 if one of x and y is very large and the other is subnormal.
39620 * sysdeps/s390/fpu/s_fmaf.c: New file.
39621 * sysdeps/s390/fpu/s_fma.c: New file.
39622 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39623 * sysdeps/powerpc/fpu/s_fma.S: New file.
39624 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39625 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39626 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39627
396282010-10-12 Jakub Jelinek <jakub@redhat.com>
39629
39630 [BZ #3268]
39631 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39632 fma tests.
39633 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39634 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39635 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39636 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39637 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39638 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39640
b833d51f
UD
396412010-10-12 Ulrich Drepper <drepper@redhat.com>
39642
39643 [BZ #12078]
39644 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39645 * posix/bug-regex31.input: Add test case.
39646
1751705d
UD
396472010-10-11 Ulrich Drepper <drepper@gmail.com>
39648
e9b9cbf5
UD
39649 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39650 * posix/bug-regex31.input: New file.
39651
39652 [BZ #12078]
39653 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39654 (parse_sub_exp): Fix last change, use postorder.
39655
ef06edbe
UD
39656 * posix/bug-regex31.c: New file.
39657 * posix/Makefile: Add rules to build and run bug-regex31.
39658
a129c80d
UD
39659 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39660
39661 [BZ #12078]
39662 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39663
b76b818e
UD
39664 [BZ #12108]
39665 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39666 to have entries in sys_siglist.
39667
1751705d
UD
39668 [BZ #12093]
39669 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39670 be NULL.
39671
9ff8d36f
JJ
396722010-10-07 Jakub Jelinek <jakub@redhat.com>
39673
39674 [BZ #3268]
39675 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39676 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39677 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39678 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39679 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39680 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39681 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39682 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39683 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39684 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39685 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39686 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39687 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39688 * math/ftestexcept.c (fetestexcept): Likewise.
39689 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39690 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39691 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39692 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39693 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39694 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39695 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39696
af325969
UD
396972010-10-11 Ulrich Drepper <drepper@gmail.com>
39698
c579b202 39699 [BZ #12107]
af325969
UD
39700 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39701 newline.
39702
67a67b95
UD
397032010-10-06 Ulrich Drepper <drepper@gmail.com>
39704
39705 * string/bug-strstr1.c: New file.
39706 * string/Makefile: Add rules to build and run bug-strstr1.
39707
5fb308bc
EB
397082010-10-05 Eric Blake <eblake@redhat.com>
39709
39710 [BZ #12092]
39711 * string/str-two-way.h (two_way_long_needle): Always clear memory
39712 when skipping input due to the shift table.
39713
45db99c7
UD
397142010-10-03 Ulrich Drepper <drepper@gmail.com>
39715
3b111893
UD
39716 [BZ #12005]
39717 * malloc/mcheck.c: Handle large requests.
39718
45db99c7
UD
39719 [BZ #12077]
39720 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39721 for strncmp and strncasecmp.
39722 * string/stratcliff.c: Add tests for strcmp and strncmp.
39723 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39724
cf7a1eb8
NI
397252010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39726
39727 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39728 __set_fpscr.
39729
6484ba5e
AJ
397302010-09-30 Andreas Jaeger <aj@suse.de>
39731
39732 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39733 (CGROUP_SUPER_MAGIC): Define.
39734 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39735 Handle btrfs and cgroup file systems.
39736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39737 Likewise.
39738
91c42559
LM
397392010-09-27 Luis Machado <luisgpm@br.ibm.com>
39740
39741 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39742 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39743
87a97932
AK
397442010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39745
39746 [BZ #12067]
39747 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39748 trying to locate the ELF header.
39749
c21cc9bc
AS
397502010-09-27 Andreas Schwab <schwab@redhat.com>
39751
39752 [BZ #11611]
39753 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39754 Mask out sign-bit copies when constructing f_fsid.
39755
315970f6
PB
397562010-09-24 Petr Baudis <pasky@suse.cz>
39757
39758 * debug/stack_chk_fail_local.c: Add missing licence exception.
39759 * debug/warning-nop.c: Likewise.
39760
1ac7a2c7
JM
397612010-09-15 Joseph Myers <joseph@codesourcery.com>
39762
39763 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39764 implementing getdents64 using getdents syscall, set d_type if
39765 __ASSUME_GETDENTS32_D_TYPE.
39766
56801c50
AS
397672010-09-16 Andreas Schwab <schwab@redhat.com>
39768
39769 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39770 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39771
dda51327
UD
397722010-09-21 Ulrich Drepper <drepper@redhat.com>
39773
39774 [BZ #12037]
39775 * posix/unistd.h: Undo change of feature selection for ftruncate from
39776 2010-01-11.
39777
8ffcee4a
UD
397782010-09-20 Ulrich Drepper <drepper@redhat.com>
39779
a545ecd9 39780 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39781 detection.
39782
e24f0a8b
AS
397832010-09-20 Andreas Schwab <schwab@redhat.com>
39784
39785 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39786 fanotify_mark.
39787 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39788
7291c56f
AS
397892010-09-14 Andreas Schwab <schwab@redhat.com>
39790
39791 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39792 variables after CHECK_SP call.
39793 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39794
bc5fb037
AS
397952010-09-13 Andreas Schwab <schwab@redhat.com>
39796 Ulrich Drepper <drepper@redhat.com>
39797
39798 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39799 re-relocationg ld.so.
39800 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39801 _dl_init_paths call.
39802 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39803 here anymore.
39804
e66e7419
UD
398052010-09-14 Ulrich Drepper <drepper@redhat.com>
39806
39807 * resolv/res_init.c (__res_vinit): Count the default server we added.
39808
c044aa75
CLT
398092010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39810 Ulrich Drepper <drepper@redhat.com>
39811
39812 [BZ #11968]
39813 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39814 (____longjmp_chk): Use %ebx for saving value across system call.
39815 Add unwind info.
39816
32cf4069
AS
398172010-09-06 Andreas Schwab <schwab@redhat.com>
39818
39819 * manual/Makefile: Don't mix pattern rules with normal rules.
39820
817328ee
AS
398212010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39822
39823 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39824 operation.
39825 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39826 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39827 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39828 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39830 Likewise.
39831
29fddf61
UD
398322010-09-04 Ulrich Drepper <drepper@redhat.com>
39833
39834 [BZ #11979]
39835 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39836 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39837
0959ffc9
UD
398382010-09-02 Ulrich Drepper <drepper@redhat.com>
39839
39840 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39841 * sysdeps/x86_64/addmul_1.S: Likewise.
39842 * sysdeps/x86_64/lshift.S: Likewise.
39843 * sysdeps/x86_64/mul_1.S: Likewise.
39844 * sysdeps/x86_64/rshift.S: Likewise.
39845 * sysdeps/x86_64/sub_n.S: Likewise.
39846 * sysdeps/x86_64/submul_1.S: Likewise.
39847
ece29840
ST
398482010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39849
0959ffc9
UD
39850 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39851 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39852 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39853 * bits/sched.h [__need_schedparam]
ece29840 39854 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39855 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39856 (__defined_schedparam): Define to 1.
ece29840
ST
39857 (__sched_param): New structure, identical to sched_param.
39858 (__need_schedparam): Undefine.
39859
e53a31fe
MF
398602010-08-31 Mike Frysinger <vapier@gentoo.org>
39861
fdc0c10d
MF
39862 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39863 (epoll_create1): Declare.
39864
e53a31fe
MF
39865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39866
a726d796
AS
398672010-08-31 Andreas Schwab <schwab@redhat.com>
39868
39869 [BZ #7066]
39870 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39871 shifting retval into place.
39872
2f3e3dc7
UD
398732010-09-01 Ulrich Drepper <drepper@redhat.com>
39874
f2933da9
UD
39875 * nis/rpcsvc/nis.h: Update copyright notice.
39876 * nis/rpcsvc/nis.x: Likewise.
39877 * nis/rpcsvc/nis_callback.h: Likewise.
39878 * nis/rpcsvc/nis_callback.x: Likewise.
39879 * nis/rpcsvc/nis_object.x: Likewise.
39880 * nis/rpcsvc/nis_tags.h: Likewise.
39881 * nis/rpcsvc/yp.h: Likewise.
39882 * nis/rpcsvc/yp.x: Likewise.
39883 * nis/rpcsvc/ypupd.h: Likewise.
39884 * nis/yp_xdr.c: Likewise.
39885 * nis/ypupdate_xdr.c: Likewise.
39886
2f3e3dc7
UD
39887 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39888 mainly the body of pmap_getport. Add parameters to specify timeouts.
39889 (pmap_getport): Use __libc_rpc_getport.
39890 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39891 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39892 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39893
f3dcc2f9
AS
398942010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39895
39896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39897 fanotify_mark.
39898
6d34eb5b
RM
398992010-08-27 Roland McGrath <roland@redhat.com>
39900
39901 * sysdeps/i386/i686/multiarch/Makefile
39902 (CFLAGS-varshift.c): New variable.
39903
9ea3de11
UD
399042010-08-27 Ulrich Drepper <drepper@redhat.com>
39905
c96d23fc
UD
39906 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39907 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39908
9ea3de11
UD
39909 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39910
39911 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39912
623aac7f
L
399132010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39914
39915 * sysdeps/x86_64/strlen.S: Unroll the loop.
39916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39917 strlen-sse2 strlen-sse2-bsf.
39918 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39919 __strlen_no_bsf if bit_Slow_BSF is set.
39920 (__strlen_sse42): Removed.
39921 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39922 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39923
8b2b7715
RM
399242010-08-25 Roland McGrath <roland@redhat.com>
39925
39926 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39927 * sysdeps/x86_64/multiarch/varshift.c: New file.
39928 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39929 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39930 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39931 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39932
e73015f2
L
399332010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39934
39935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39936 strlen-sse2 strlen-sse2-bsf.
39937 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39938 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39939 (__strlen_sse2): Removed.
39940 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39943 bit_Slow_BSF for Atom.
39944 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39945 (index_Slow_BSF): Define.
39946 (HAS_SLOW_BSF): Define.
39947
df24a73e
UD
399482010-08-25 Ulrich Drepper <drepper@redhat.com>
39949
39950 [BZ #10851]
39951 * resolv/res_init.c (__res_vinit): When no server address at all
39952 is given default to loopback.
39953
f2ac4868
RM
399542010-08-24 Roland McGrath <roland@redhat.com>
39955
09055553
RM
39956 * configure.in: Remove config-name.h generation.
39957 * configure: Regenerated.
39958 * config-name.in: File removed.
39959 * scripts/config-uname.sh: New file.
39960 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39961 ($(objdir)config-name.h): New target.
39962
f2ac4868
RM
39963 * sunrpc/rpc_parse.h: Avoid nested comment.
39964
73f27d5e
RH
399652010-08-24 Richard Henderson <rth@redhat.com>
39966 Ulrich Drepper <drepper@redhat.com>
39967 H.J. Lu <hongjiu.lu@intel.com>
39968
39969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39971 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39972 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39973 _mm_alignr_epi8 with _mm_loadu_si128.
39974 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39975 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39976 (__m128i_shift_right): Removed.
39977 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39978 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39979 * sysdeps/x86_64/multiarch/varshift.h: New file.
39980 * sysdeps/x86_64/multiarch/varshift.S: New file.
39981
84b9230c
MF
399822010-08-21 Mike Frysinger <vapier@gentoo.org>
39983
39984 * configure.in: Move assembler checks to before sysdep dir checking.
39985
9bbd0ddc
PB
399862010-08-20 Petr Baudis <pasky@suse.cz>
39987
39988 * LICENSES: Sync the sunrpc license.
39989
9da4bb31
UD
399902010-08-19 Ulrich Drepper <drepper@redhat.com>
39991
a7ab6ec8
UD
39992 * sunrpc/auth_des.c: Update copyright notice once again.
39993 * sunrpc/auth_none.c: Likewise.
39994 * sunrpc/auth_unix.c: Likewise.
39995 * sunrpc/authdes_prot.c: Likewise.
39996 * sunrpc/authuxprot.c: Likewise.
39997 * sunrpc/bindrsvprt.c: Likewise.
39998 * sunrpc/clnt_gen.c: Likewise.
39999 * sunrpc/clnt_perr.c: Likewise.
40000 * sunrpc/clnt_raw.c: Likewise.
40001 * sunrpc/clnt_simp.c: Likewise.
40002 * sunrpc/clnt_tcp.c: Likewise.
40003 * sunrpc/clnt_udp.c: Likewise.
40004 * sunrpc/clnt_unix.c: Likewise.
40005 * sunrpc/des_crypt.c: Likewise.
40006 * sunrpc/des_soft.c: Likewise.
40007 * sunrpc/get_myaddr.c: Likewise.
40008 * sunrpc/getrpcport.c: Likewise.
40009 * sunrpc/key_call.c: Likewise.
40010 * sunrpc/key_prot.c: Likewise.
40011 * sunrpc/openchild.c: Likewise.
40012 * sunrpc/pm_getmaps.c: Likewise.
40013 * sunrpc/pm_getport.c: Likewise.
40014 * sunrpc/pmap_clnt.c: Likewise.
40015 * sunrpc/pmap_prot.c: Likewise.
40016 * sunrpc/pmap_prot2.c: Likewise.
40017 * sunrpc/pmap_rmt.c: Likewise.
40018 * sunrpc/rpc/auth.h: Likewise.
40019 * sunrpc/rpc/auth_unix.h: Likewise.
40020 * sunrpc/rpc/clnt.h: Likewise.
40021 * sunrpc/rpc/des_crypt.h: Likewise.
40022 * sunrpc/rpc/key_prot.h: Likewise.
40023 * sunrpc/rpc/netdb.h: Likewise.
40024 * sunrpc/rpc/pmap_clnt.h: Likewise.
40025 * sunrpc/rpc/pmap_prot.h: Likewise.
40026 * sunrpc/rpc/pmap_rmt.h: Likewise.
40027 * sunrpc/rpc/rpc.h: Likewise.
40028 * sunrpc/rpc/rpc_des.h: Likewise.
40029 * sunrpc/rpc/rpc_msg.h: Likewise.
40030 * sunrpc/rpc/svc.h: Likewise.
40031 * sunrpc/rpc/svc_auth.h: Likewise.
40032 * sunrpc/rpc/types.h: Likewise.
40033 * sunrpc/rpc/xdr.h: Likewise.
40034 * sunrpc/rpc_clntout.c: Likewise.
40035 * sunrpc/rpc_cmsg.c: Likewise.
40036 * sunrpc/rpc_common.c: Likewise.
40037 * sunrpc/rpc_cout.c: Likewise.
40038 * sunrpc/rpc_dtable.c: Likewise.
40039 * sunrpc/rpc_hout.c: Likewise.
40040 * sunrpc/rpc_main.c: Likewise.
40041 * sunrpc/rpc_parse.c: Likewise.
40042 * sunrpc/rpc_parse.h: Likewise.
40043 * sunrpc/rpc_prot.c: Likewise.
40044 * sunrpc/rpc_sample.c: Likewise.
40045 * sunrpc/rpc_scan.c: Likewise.
40046 * sunrpc/rpc_scan.h: Likewise.
40047 * sunrpc/rpc_svcout.c: Likewise.
40048 * sunrpc/rpc_tblout.c: Likewise.
40049 * sunrpc/rpc_util.c: Likewise.
40050 * sunrpc/rpc_util.h: Likewise.
40051 * sunrpc/rpcinfo.c: Likewise.
40052 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
40053 * sunrpc/rpcsvc/key_prot.x: Likewise.
40054 * sunrpc/rpcsvc/klm_prot.x: Likewise.
40055 * sunrpc/rpcsvc/mount.x: Likewise.
40056 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
40057 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
40058 * sunrpc/rpcsvc/rex.x: Likewise.
40059 * sunrpc/rpcsvc/rstat.x: Likewise.
40060 * sunrpc/rpcsvc/rusers.x: Likewise.
40061 * sunrpc/rpcsvc/sm_inter.x: Likewise.
40062 * sunrpc/rpcsvc/spray.x: Likewise.
40063 * sunrpc/rpcsvc/yppasswd.x: Likewise.
40064 * sunrpc/rtime.c: Likewise.
40065 * sunrpc/svc.c: Likewise.
40066 * sunrpc/svc_auth.c: Likewise.
40067 * sunrpc/svc_authux.c: Likewise.
40068 * sunrpc/svc_raw.c: Likewise.
40069 * sunrpc/svc_run.c: Likewise.
40070 * sunrpc/svc_simple.c: Likewise.
40071 * sunrpc/svc_tcp.c: Likewise.
40072 * sunrpc/svc_udp.c: Likewise.
40073 * sunrpc/svc_unix.c: Likewise.
40074 * sunrpc/svcauth_des.c: Likewise.
40075 * sunrpc/xcrypt.c: Likewise.
40076 * sunrpc/xdr.c: Likewise.
40077 * sunrpc/xdr_array.c: Likewise.
40078 * sunrpc/xdr_float.c: Likewise.
40079 * sunrpc/xdr_mem.c: Likewise.
40080 * sunrpc/xdr_rec.c: Likewise.
40081 * sunrpc/xdr_ref.c: Likewise.
40082 * sunrpc/xdr_sizeof.c: Likewise.
40083 * sunrpc/xdr_stdio.c: Likewise.
40084
9da4bb31
UD
40085 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
40086 handling.
40087
bdaa77bc
AS
400882010-08-19 Andreas Schwab <schwab@redhat.com>
40089
40090 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
40091
fe2f79db
LM
400922010-08-19 Luis Machado <luisgpm@br.ibm.com>
40093
40094 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
40095 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
40096 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
40097 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
40098 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
40099 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
40100 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
40101 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
40102 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
40103 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
40104 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
40105 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
40106 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
40107 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
40108
b9b42ee0
AB
401092010-07-26 Anton Blanchard <anton@samba.org>
40110
40111 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
40112 * malloc/arena.c (heap_trim): Likewise.
40113
1c06ba31
UD
401142010-08-16 Ulrich Drepper <drepper@redhat.com>
40115
40116 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
40117 here. Not...
40118 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
40119 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
40120
f8392f40
L
401212010-08-12 H.J. Lu <hongjiu.lu@intel.com>
40122
40123 * sysdeps/i386/elf/Makefile: New file.
40124
3162f12e
AS
401252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40126
40127 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
40128 from fanotify_init.
40129 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
40130 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40131
28c90b2c
UD
401322010-08-15 Ulrich Drepper <drepper@redhat.com>
40133
40134 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
40135 of strncasecmp_l.
1feccb6c 40136 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 40137
ca6bb004
UD
401382010-08-14 Ulrich Drepper <drepper@redhat.com>
40139
e9f82e0d
UD
40140 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40141 strncase_l-nonascii.
40142 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40143 Add strncase_l-ssse3.
40144 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40145 * sysdeps/x86_64/strcmp.S: Likewise.
40146 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40147 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40148 * sysdeps/x86_64/strncase.S: New file.
40149 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40150 * sysdeps/x86_64/strncase_l.S: New file.
40151 * string/Makefile (strop-tests): Add strncasecmp.
40152 * string/test-strncasecmp.c: New file.
40153
40154 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40155 warning.
40156
ca6bb004
UD
40157 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40158 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40159
052fa7b3
AS
401602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40161
40162 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40163
962dba78
UD
401642010-08-12 Ulrich Drepper <drepper@redhat.com>
40165
40166 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40167 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40168 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40169
bebff237
AM
401702010-05-01 Alan Modra <amodra@gmail.com>
40171
40172 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40173 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40174 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40175 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40176 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40177 tidying. Don't tail-call __sigjmp_save for static lib.
40178 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40179 save location.
40180 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40181 (CALL_MCOUNT): Add eh info, and nop after bl.
40182 (TAIL_CALL_SYSCALL_ERROR): New macro.
40183 (PSEUDO_RET): Use it.
40184 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40185 Correct save location of integer regs and cr.
40186 (_dl_profile_resolve): Correct cr save location. Delete nops
40187 after bl when SHARED. Reduce cfi size a little by better
40188 placement of cfi directives.
40189 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40190 make a stack frame. Instead use parm save area as a temp.
40191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40192 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
40193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40194 Don't make a stack frame for parent, use parm save area.
40195 Increase child stack frame to 112 bytes. Don't save unused reg,
40196 and adjust reg usage. Set up cfi on error recovery and
40197 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40199 (__makecontext): Add dummy nop after jump to exit.
40200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40201 Use correct parm save area and cr save, reduce stack frame.
40202 Correct cfi for possible PSEUDO_RET frame setup.
40203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40204 Branch to local label emitted by PSEUDO_RET rather than
40205 __syscall_error.
40206
02637374
AS
402072010-08-12 Andreas Schwab <schwab@redhat.com>
40208
40209 [BZ #11904]
40210 * locale/programs/locale.c (print_assignment): New function.
40211 (show_locale_vars): Use it.
40212
c3e2f19b
UD
402132010-08-11 Ulrich Drepper <drepper@redhat.com>
40214
3cdaa6ad
UD
40215 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40216 field.
40217 (struct statfs64): Likewise.
40218 (_STATFS_F_FLAGS): Define.
40219 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40221 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40222 (ST_VALID): Define locally.
40223 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40224 __statvfs_getflags, use the provided value.
40225 * sysdeps/unix/sysv/linux/kernel-features.h: Define
40226 __ASSUME_STATFS_F_FLAGS.
40227
754f7da3
UD
40228 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40229
10b3bedc
UD
40230 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40231 Add sys/fanotify.h.
40232 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40233 fanotify_mask for GLIBC_2.13.
40234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40235 fanotify_init and fanotify_mark.
40236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40237 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40238
c08fb0d7
UD
40239 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40240 Add prlimit.
40241 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40242 prlimit64 for GLIBC_2.13.
40243 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40244 prlimit64.
40245 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40246 syscall.
40247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40249 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40250 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
40252 add prlimit alias.
40253 * sysdeps/unix/sysv/linux/prlimit.c: New file.
40254
15bac72b
UD
40255 [BZ #11903]
40256 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40257 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40258
c3e2f19b
UD
40259 * nss/Makefile: Add rules to build and run tst-nss-test1.
40260 * shlib-versions: Add entry for libnss_test1.
40261 * nss/nss_test1.c: New file.
40262 * nss/tst-nss-test1.c: New file.
40263
40264 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40265 (__nss_configure_lookup): Set appropriate entry in
40266 __nss_configure_lookup to true.
40267 * nss/nsswitch.h: Define enum with indeces of databases in
40268 databases and __nss_database_custom arrays. Declare
40269 __nss_database_custom.
40270 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40271 to avoid using nscd when custom rules are installed.
40272 * nss/getXXbyYY_r.c: Likewise.
40273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40274
40275 * nss/nss_files/files-parse.c: Whitespace fixes.
40276
f15ce4d8
UD
402772010-08-09 Ulrich Drepper <drepper@redhat.com>
40278
40279 [BZ #11883]
40280 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40281 * posix/fnmatch_loop.c: Likewise.
40282
d22e4cc9
AK
402832010-07-17 Andi Kleen <ak@linux.intel.com>
40284
40285 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40286 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40287 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40288 * Versions.def [GLIBC_2.13]: Add.
40289
805bc17d
UD
402902010-08-06 Ulrich Drepper <drepper@redhat.com>
40291
40292 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40293 Also fail if tpwd after pwuid call is NULL.
40294
5a42321d
ST
402952010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40296
40297 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40298 when converting to ms.
40299
fd3ebeda
ST
403002010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40301
40302 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40303 EOPNOTSUPP errors with ENOTTY.
40304 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40305 EOPNOTSUPP errors with ENOTTY.
40306
73507d3a
UD
403072010-07-31 Ulrich Drepper <drepper@redhat.com>
40308
40309 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40310 Add strcasecmp_l-ssse3.
40311 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40312 strcasecmp.
40313 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40314 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40315 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40316
fe36dd02
UD
403172010-07-30 Ulrich Drepper <drepper@redhat.com>
40318
66f6765a
UD
40319 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40320
42e08a54
UD
40321 * string/Makefile (strop-tests): Add strcasecmp.
40322 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40323 strcasecmp_l-nonascii.
40324 (gen-as-const-headers): Add locale-defines.sym.
40325 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40326 * sysdeps/x86_64/strcasecmp.S: New file.
40327 * sysdeps/x86_64/strcasecmp_l.S: New file.
40328 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40329 * sysdeps/x86_64/locale-defines.sym: New file.
40330 * string/test-strcasecmp.c: New file.
40331
fe36dd02
UD
40332 * string/test-strcasestr.c: Test both ends of the range of characters.
40333 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40334
48cbc0d6
RM
403352010-07-29 Roland McGrath <roland@redhat.com>
40336
76e6d6bc 40337 [BZ #11856]
48cbc0d6
RM
40338 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40339
880113d9
UD
403402010-07-27 Ulrich Drepper <drepper@redhat.com>
40341
40342 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40343 for ld.so.
40344
deb9cabb
AS
403452010-07-27 Andreas Schwab <schwab@redhat.com>
40346
40347 * manual/memory.texi (Malloc Tunable Parameters): Document
40348 M_PERTURB.
40349
1c7570ff
RM
403502010-07-26 Roland McGrath <roland@redhat.com>
40351
40352 [BZ #11840]
40353 * configure.in (-fgnu89-inline check): Set and substitute
40354 gnu89_inline, not libc_cv_gnu89_inline.
40355 * configure: Regenerated.
40356 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40357
24fb0f88
UD
403582010-07-26 Ulrich Drepper <drepper@redhat.com>
40359
40360 * string/test-strnlen.c: New file.
40361 * string/Makefile (strop-tests): Add strnlen.
40362 * string/tester.c (test_strnlen): Add a few more test cases.
40363 * string/tst-strlen.c: Better error reporting.
40364
40365 * sysdeps/x86_64/strnlen.S: New file.
40366
8e96b93a
UD
403672010-07-24 Ulrich Drepper <drepper@redhat.com>
40368
40369 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40370 lower-latency instructions.
40371
dbc676d4
UD
403722010-07-23 Ulrich Drepper <drepper@redhat.com>
40373
40374 * string/test-strcasestr.c: New file.
40375 * string/test-strstr.c: New file.
40376 * string/Makefile (strop-tests): Add strstr and strcasestr.
40377 * string/str-two-way.h: Don't undefine MAX.
40378 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40379
f6a31e0e
AS
403802010-07-21 Andreas Schwab <schwab@redhat.com>
40381
40382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40383 strcasestr-nonascii.
40384 (CFLAGS-strcasestr-nonascii.c): Define.
40385 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40386 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40387 Remove unused attribute.
40388
5dbc3b6c
RM
403892010-07-20 Roland McGrath <roland@redhat.com>
40390
40391 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40392 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40393 ld.so.cache was broken. With it, there is no way to disable dsocaps
40394 like LD_HWCAP_MASK can disable hwcaps.
40395
23d101d8
EPM
403962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40397
40398 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40399
cc9f2e47
UD
404002010-07-16 Ulrich Drepper <drepper@redhat.com>
40401
40402 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40403 call in strcasestr.
40404 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40405 __strcasestr_sse42_nonascii.
40406 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40407 strcasestr-nonascii.c.
40408 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40409
77c1b069
LM
404102010-06-15 Luis Machado <luisgpm@br.ibm.com>
40411
40412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40413 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40415 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40416
440566c3
UD
404172010-07-09 Ulrich Drepper <drepper@redhat.com>
40418
40419 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40420 fcntl.
40421
5be9d05d
AS
404222010-07-06 Andreas Schwab <schwab@redhat.com>
40423
c30b7ee2 40424 [BZ #11577]
5be9d05d
AS
40425 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40426 dl_signal_cerror.
40427
8a492a67
UD
404282010-07-06 Ulrich Drepper <drepper@redhat.com>
40429
40430 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40431 _PC_PIPE_BUF using F_GETPIPE_SZ.
40432
713df3d5
RM
404332010-07-05 Roland McGrath <roland@redhat.com>
40434
40435 * manual/arith.texi (Rounding Functions): Fix rint description
40436 implicit in round description.
40437
702e8f14
UD
404382010-07-02 Ulrich Drepper <drepper@redhat.com>
40439
40440 * elf/Makefile: Fix linking for a few tests to make recent linker
40441 happy.
40442
52ed8be9
AS
404432010-06-30 Andreas Schwab <schwab@redhat.com>
40444
40445 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40446 $(common-objpfx)libc_nonshared.a.
40447
f47c9a11
LM
404482010-06-21 Luis Machado <luisgpm@br.ibm.com>
40449
40450 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40451 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40452 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40453 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40454 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40455 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40456 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40457 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40472 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40473 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40474 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40475 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40476 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40477 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40478 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40479 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40480 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40481 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40482 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40483 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40498
6fb8cbcb
L
404992010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40500
40501 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40502 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40503 * string/memmove.c (memmove): Renamed to ...
40504 (MEMMOVE): ...this. Default to memmove.
40505 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40506 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40507 (END_CHK): Define.
40508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40509 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40510 mempcpy-ssse3-back memmove-ssse3-back.
40511 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40512 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40513 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40514 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40515 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40516 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40517 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40518 * sysdeps/x86_64/multiarch/memmove.c: New file.
40519 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40520 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40521 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40522 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40523 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40525 Define.
40526 (index_Fast_Copy_Backward): Define.
40527 (HAS_ARCH_FEATURE): Define.
40528 (HAS_FAST_REP_STRING): Define.
40529 (HAS_FAST_COPY_BACKWARD): Define.
40530
4e733bac 405312010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
40532
40533 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40534 Restore proper fallback handling.
40535
63c4ed22
UD
405362010-06-19 Ulrich Drepper <drepper@redhat.com>
40537
ac2b484c
UD
40538 [BZ #11701]
40539 * posix/group_member.c (__group_member): Correct checking loop.
40540
63c4ed22
UD
40541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40542 OOM in getpwuid_r correctly. Return error number when the caller
40543 should return, otherwise -1.
40544 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40545 call returning > 0 value.
40546 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40547
765ade4b
AS
405482010-06-07 Andreas Schwab <schwab@redhat.com>
40549
40550 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40551 libc_nonshared.a from targets in modules-names.
40552
80da2e09
KS
405532010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40554
40555 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40556 requires it.
40557
158db122
LM
405582010-06-10 Luis Machado <luisgpm@br.ibm.com>
40559
40560 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40561 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40562 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40564
caa78cf8
AS
405652010-06-02 Andreas Schwab <schwab@redhat.com>
40566
40567 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40568
b2ef2c01
UD
405692010-06-14 Ulrich Drepper <drepper@redhat.com>
40570
40571 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40572 and F_GETPIPE_SZ.
40573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40574 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40578 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40579
fbd643b6
RM
405802010-06-14 Roland McGrath <roland@redhat.com>
40581
40582 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40583
f32f2869
JJ
405842010-06-07 Jakub Jelinek <jakub@redhat.com>
40585
40586 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40587 __REDIRECT followed by __THROW.
40588 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40589 * posix/getopt.h (getopt): Likewise.
40590
2a50c078
EPM
405912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40592
40593 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40594 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40595 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40596 in AT_FLAGS.
40597 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40598 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40599
eb5ad2eb
LM
406002010-05-28 Luis Machado <luisgpm@br.ibm.com>
40601
40602 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40603
3c88fe1e
L
406042010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40605
40606 [BZ #11640]
40607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40608 Properly check family and model.
40609
d2f73151
TY
406102010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40611
40612 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40613
ebd2e13d
LM
406142010-05-24 Luis Machado <luisgpm@br.ibm.com>
40615
40616 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40617
b32b8b45
UD
406182010-05-21 Ulrich Drepper <drepper@redhat.com>
40619
40620 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40621 symbol reference.
40622
9acbe24d
AS
406232010-05-19 Andreas Schwab <schwab@redhat.com>
40624
40625 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40626 symbol reference.
40627
f0ccf6ea
AS
406282010-05-21 Andreas Schwab <schwab@redhat.com>
40629
3d04ff3a
AS
40630 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40631 and internal_recvmmsg.
40632 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40633 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40634 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40635 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40636
f0ccf6ea
AS
40637 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40638 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40639 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40640
5b08ac57
AS
406412010-05-20 Andreas Schwab <schwab@redhat.com>
40642
40643 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40644
4828935d
LM
406452010-05-17 Luis Machado <luisgpm@br.ibm.com>
40646
40647 POWER7 optimizations.
40648 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40649 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40650
373d545e
UD
406512010-05-19 Ulrich Drepper <drepper@redhat.com>
40652
40653 * version.h: Update for 2.13 development version.
40654
21a2b1ae
AS
406552010-05-12 Andrew Stubbs <ams@codesourcery.com>
40656
40657 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40658 exceptions. Return 0.
40659
3f7dcb2b
RM
406602010-05-07 Roland McGrath <roland@redhat.com>
40661
40662 * elf/ldconfig.c (main): Add a const.
40663
5f24d53a 406642010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40665
a160f8d8
UD
40666 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40667 (args_options): Add no-idn option.
40668 (ahosts_keys_int): Add idn_flags to ai_flags.
40669 (parse_option): Handle 'i' option to clear idn_flags.
40670
5f24d53a
UD
40671 * malloc/malloc.c (_int_free): Possible race in the most recently
40672 added check. Only act on the data if no current modification
40673 happened.
265bb1ce
UD
40674
40675See ChangeLog.17 for earlier changes.