]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Don't require test wrappers to preserve environment variables, use more consistent...
[thirdparty/glibc.git] / ChangeLog
1 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2
3 * Makeconfig (run-program-env): New variable.
4 (run-program-prefix-before-env): Likewise.
5 (run-program-prefix-after-env): Likewise.
6 (run-program-prefix): Define in terms of new variables.
7 (built-program-cmd-before-env): New variable.
8 (built-program-cmd-after-env): Likewise.
9 (built-program-cmd): Define in terms of new variables.
10 (test-program-prefix-before-env): New variable.
11 (test-program-prefix-after-env): Likewise.
12 (test-program-prefix): Define in terms of new variables.
13 (test-program-cmd-before-env): New variable.
14 (test-program-cmd-after-env): Likewise.
15 (test-program-cmd): Define in terms of new variables.
16 * Rules (make-test-out): Use $(run-program-env).
17 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18 (help): Do not mention environment variables. Mention
19 --timeoutfactor option.
20 (timeoutfactor): New variable.
21 (blacklist_exports): Remove function.
22 (exports): Remove variable.
23 (command): Do not include ${exports}.
24 * manual/install.texi (Configuring and compiling): Do not mention
25 test wrappers preserving environment variables. Mention that last
26 assignment to a variable must take precedence.
27 * INSTALL: Regenerated.
28 * benchtests/Makefile (run-bench): Use $(run-program-env).
29 * catgets/Makefile ($(objpfx)test1.cat): Use
30 $(built-program-cmd-before-env), $(run-program-env) and
31 $(built-program-cmd-after-env).
32 ($(objpfx)test2.cat): Do not specify environment variables
33 explicitly.
34 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35 $(run-program-env) and $(built-program-cmd-after-env).
36 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37 $(run-program-env) and $(test-program-cmd-after-env).
38 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39 explicitly.
40 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
41 run_program_env and test_program_cmd_after_env arguments.
42 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43 * elf/tst-pathopt.sh: Use run_program_env argument.
44 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
45 $(test-wrapper-env) and $(run-program-env).
46 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
47 run_program_env arguments.
48 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49 * intl/Makefile ($(objpfx)tst-gettext.out): Use
50 $(test-program-prefix-before-env), $(run-program-env) and
51 $(test-program-prefix-after-env).
52 ($(objpfx)tst-gettext2.out): Likewise.
53 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
54 run_program_env and test_program_prefix_after_env arguments.
55 * intl/tst-gettext2.sh: Likewise.
56 * intl/tst-gettext4.sh: Do not set environment variables
57 explicitly.
58 * intl/tst-gettext6.sh: Likewise.
59 * intl/tst-translit.sh: Likewise.
60 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
61 $(test-program-prefix-before-env), $(run-program-env) and
62 $(test-program-prefix-after-env).
63 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
64 run_program_env and test_program_prefix_after_env arguments.
65 * math/Makefile (run-regen-ulps): Use $(run-program-env).
66 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
67 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
68 explicitly with each use of ${test_wrapper_env}.
69 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
70 $(test-program-prefix-before-env), $(run-program-env) and
71 $(test-program-prefix-after-env).
72 * posix/tst-getconf.sh: Do not set environment variables
73 explicitly.
74 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
75 run_program_env and test_program_prefix_after_env arguments.
76 * stdio-common/tst-printf.sh: Do not set environment variables
77 explicitly.
78 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
79 $(test-program-prefix-before-env), $(run-program-env) and
80 $(test-program-prefix-after-env).
81 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
82 run_program_env and test_program_prefix_after_env arguments.
83 Split $test calls into $test_pre and $test.
84 * timezone/Makefile (build-testdata): Use
85 $(built-program-cmd-before-env), $(run-program-env) and
86 $(built-program-cmd-after-env).
87
88 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89
90 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
91 strlen for non SHARED builds.
92
93 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
94
95 * nptl/allocatestack.c (check_list): Inlined function...
96 (__reclaim_stacks): ... here.
97
98 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
99
100 [BZ #15698]
101 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
102 memory overrun.
103
104 2014-06-05 Joseph Myers <joseph@codesourcery.com>
105
106 * Rules (make-test-out): Include
107 LOCPATH=$(common-objpfx)localedata in default environment.
108 * debug/Makefile (tst-chk1-ENV): Remove variable.
109 (tst-chk2-ENV): Likewise.
110 (tst-chk3-ENV): Likewise.
111 (tst-chk4-ENV): Likewise.
112 (tst-chk5-ENV): Likewise.
113 (tst-chk6-ENV): Likewise.
114 (tst-lfschk1-ENV): Likewise.
115 (tst-lfschk2-ENV): Likewise.
116 (tst-lfschk3-ENV): Likewise.
117 (tst-lfschk4-ENV): Likewise.
118 (tst-lfschk5-ENV): Likewise.
119 (tst-lfschk6-ENV): Likewise.
120 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
121 (tst-iconv7-ENV): Likewise.
122 * intl/Makefile (LOCPATH-ENV): Likewise.
123 (tst-codeset-ENV): Likewise.
124 (tst-gettext3-ENV): Likewise.
125 (tst-gettext5-ENV): Likewise.
126 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
127 (tst-fopenloc-ENV): Likewise.
128 (tst-fgetws-ENV): Remove variable.
129 (tst-ungetwc1-ENV): Likewise.
130 (tst-ungetwc2-ENV): Likewise.
131 (bug-ungetwc2-ENV): Likewise.
132 (tst-swscanf-ENV): Likewise.
133 (bug-ftell-ENV): Likewise.
134 (tst-fgetwc-ENV): Likewise.
135 (tst-fseek-ENV): Likewise.
136 (tst-ftell-partial-wide-ENV): Likewise.
137 (tst-ftell-active-handler-ENV): Likewise.
138 (tst-ftell-append-ENV): Likewise.
139 * posix/Makefile (tst-fnmatch-ENV): Likewise.
140 (tst-regexloc-ENV): Likewise.
141 (bug-regex1-ENV): Likewise.
142 (tst-regex-ENV): Likewise.
143 (tst-regex2-ENV): Likewise.
144 (bug-regex5-ENV): Likewise.
145 (bug-regex6-ENV): Likewise.
146 (bug-regex17-ENV): Likewise.
147 (bug-regex18-ENV): Likewise.
148 (bug-regex19-ENV): Likewise.
149 (bug-regex20-ENV): Likewise.
150 (bug-regex22-ENV): Likewise.
151 (bug-regex23-ENV): Likewise.
152 (bug-regex25-ENV): Likewise.
153 (bug-regex26-ENV): Likewise.
154 (bug-regex30-ENV): Likewise.
155 (bug-regex32-ENV): Likewise.
156 (bug-regex33-ENV): Likewise.
157 (bug-regex34-ENV): Likewise.
158 (bug-regex35-ENV): Likewise.
159 (tst-rxspencer-ENV): Likewise.
160 (tst-rxspencer-no-utf8-ENV): Likewise.
161 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
162 (tst-sscanf-ENV): Likewise.
163 (tst-swprintf-ENV): Likewise.
164 (tst-swscanf-ENV): Likewise.
165 (test-vfprintf-ENV): Likewise.
166 (scanf13-ENV): Likewise.
167 (bug14-ENV): Likewise.
168 (tst-grouping-ENV): Likewise.
169 * stdlib/Makefile (tst-strtod-ENV): Likewise.
170 (tst-strtod3-ENV): Likewise.
171 (tst-strtod4-ENV): Likewise.
172 (tst-strtod5-ENV): Likewise.
173 (testmb2-ENV): Likewise./
174 * string/Makefile (tst-strxfrm-ENV): Likewise.
175 (tst-strxfrm2-ENV): Likewise.
176 (bug-strcoll1-ENV): Likewise.
177 (test-strcasecmp-ENV): Likewise.
178 (test-strncasecmp-ENV): Likewise.
179 * time/Makefile (tst-strptime-ENV): Likewise.
180 (tst-ftime_l-ENV): Likewise.
181 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
182 (tst-mbrtowc-ENV): Likewise.
183 (tst-wcrtomb-ENV): Likewise.
184 (tst-mbrtowc2-ENV): Likewise.
185 (tst-c16c32-1-ENV): Likewise.
186 (tst-mbsnrtowcs-ENV): Likewise.
187
188 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
189
190 * manual/resource.texi (How to get information about the memory
191 subsystem?): Fix typo.
192 Reported by Peon de la Parra Ivan <peon@keba.com>
193
194 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
195
196 [BZ #16882]
197 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
198 (pthread_spin_lock): Branch out of spin loop to proper location.
199 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
200 (pthread_spin_lock): Likewise.
201
202 * nptl/tst-spin4.c: New test.
203 * nptl/Makefile (tests): Add tst-spin4.
204
205 2014-06-03 Andreas Schwab <schwab@suse.de>
206
207 [BZ #15946]
208 * resolv/res_send.c (send_dg): Reload file descriptor after
209 calling reopen.
210
211 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
212
213 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
214
215 2014-06-03 Richard Henderson <rth@redhat.com>
216
217 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
218 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
219 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
220 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
221 in the SAVE_PID block.
222 (__libc_vfork): New alias.
223 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
224
225 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
226 child in registers, not on the stack. Remove RESET_PID conditionals.
227 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
228
229 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
230
231 * sysdeps/aarch64/libm-test-ulps: Regenerate.
232
233 2014-06-03 Wilco <wdijkstr@arm.com>
234
235 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
236 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
237 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
238 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
239 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
240 Likewise.
241
242 2014-06-03 Wilco <wdijkstr@arm.com>
243
244 * sysdeps/aarch64/fpu/math_private.h
245 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
246 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
247 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
248 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
249 Fix declarations.
250
251 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
252
253 * crypt/crypt-private.h: Include ufc-crypt.h.
254 (__b64_from_24bit): Declare extern.
255 * crypt/crypt_util.c(__b64_from_24bit): New function.
256 (b64t): New static const variable.
257 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
258 (b64t): Remove variable.
259 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
260 * crypt/sha256-crypt.c: Include crypt-private.h.
261 (b64t): Remove variable.
262 (__sha256_crypt_r): Remove b64_from_24bit and replace
263 with __b64_from_24bit.
264 * crypt/sha512-crypt.c: Likewise.
265
266 2014-06-02 Roland McGrath <roland@hack.frob.com>
267
268 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
269 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
270 Label the code __libc_vfork rather than __vfork.
271 [!NOT_IN_libc] (vfork): Define as weak alias.
272 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
273 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
274 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
275
276 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
277
278 * malloc/malloc.c (malloc_info): Fix format specifier for
279 n_mmaps.
280
281 2014-06-02 Wilco <wdijkstr@arm.com>
282
283 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
284 FPCR write.
285
286 2014-06-02 Wilco <wdijkstr@arm.com>
287
288 [BZ #17009]
289 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
290 Rewrite to reduce FPCR/FPSR accesses.
291
292 2014-06-01 David S. Miller <davem@davemloft.net>
293
294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
295
296 2014-05-31 David S. Miller <davem@davemloft.net>
297
298 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
299 to occur in round to nearest mode when |x| >= 2.0
300
301 2014-05-30 Richard Henderson <rth@twiddle.net>
302
303 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
304 (PSEUDO_RET_NOERRNO): Remove.
305 (ret): Don't redefine.
306 (ret_NOERRNO): Define in terms of ret.
307 (ret_ERRVAL): Likewise.
308
309 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
310 use of PSEUDO_RET; perform the error check directly.
311
312 2014-05-30 Marko Myllynen <myllynen@redhat.com>
313
314 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
315 with __int128_t.
316
317 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
318
319 * malloc/malloc (malloc_info): Fix formatting.
320
321 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
322 Roland McGrath <roland@hack.frob.com>
323
324 * malloc/malloc (malloc_info): Also print mmapped statistics.
325
326 2014-05-30 Roland McGrath <roland@hack.frob.com>
327
328 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
329 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
330
331 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
332
333 * malloc/malloc.c (malloc_info): Inline mi_arena.
334
335 2014-05-29 Richard Henderson <rth@twiddle.net>
336
337 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
338 Remove comma before expanding ASM_ARGS_##nr.
339 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
340 Make _x0 a strict output; make _x8 a strict input; adjust expansion
341 of ASM_ARGS_##nr.
342 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
343 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
344 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
345 (ASM_ARGS_1): Add leading comma.
346
347 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
348 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
349 to __errno_location.
350 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
351 Remove the expected plt for __errno_location.
352
353 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
354 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
355 call to __read_tp.
356
357 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
358 Always allocate 64 bytes of stack frame. Use ldp/stp to create
359 it and break it down.
360 (DOCARGS_0, DOCARGS_1): Do nothing.
361 (DOCARGS_2): Update to store into the new stack frame.
362 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
363 (UNDOCARGS_1): Update to restore from the new stack frame.
364 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
365 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
366
367 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
368 (SINGLE_THREAD_P): New parameter for result regno.
369 (PSEUDO): Update to match; use cbz instead of beq.
370
371 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
372 Use ENTRY to define the _nocancel entry point. Share the syscall
373 and syscall error check paths with the cancel path.
374 (PSEUDO_END): New.
375
376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
377 whitespace; tabs before and after asm mnemonics.
378
379 2014-05-29 Eric Wong <normalperson@yhbt.net>
380
381 [BZ #15132]
382 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
383 Call fstat64 or stat64 internally, depending on arguments passed.
384 Replace stat buffer argument with file descriptor argument.
385 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
386 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
387 Pass fd to __internal_statvfs instead of calling fstat64.
388 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
389 Pass fd to __internal_statvfs64 instead of calling fstat64.
390 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
391 Pass -1 to __internal_statvfs instead of calling stat64.
392 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
393 Pass -1 to __internal_statvfs64 instead of calling stat64.
394
395 2014-05-28 Roland McGrath <roland@hack.frob.com>
396
397 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
398 that was previously under [RESET_PID].
399 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
400
401 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
402 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
403
404 2014-05-27 Roland McGrath <roland@hack.frob.com>
405
406 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
407
408 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
409 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
410
411 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
412
413 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
414
415 2014-05-27 Andreas Schwab <schwab@suse.de>
416
417 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
418 TLS_INIT_TP macro.
419 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
420 * elf/rtld.c (init_tls, dl_main): Likewise.
421 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
422 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
423 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
424 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
425 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
426 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
427 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
428 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
429 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
430 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
431 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
432 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
433 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
434 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
435 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
436 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
437 * sysdeps/generic/tls.h: Update description.
438
439 2014-05-27 Will Newton <will.newton@linaro.org>
440
441 [BZ #16990]
442 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
443 and restore r2 rather than just restoring.
444
445 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
446
447 [BZ #16724]
448 * libio/tst-ftell-append.c: New test case.
449 * libio/Makefile (tests): Add test case.
450 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
451 append mode.
452 * libio/wfileops.c (do_ftell_wide): Likewise.
453
454 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
455
456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
457
458 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
459 ...
460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
462 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
463 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
464 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
465 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
466 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
467 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
469 Moved ...
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
471 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
472 Moved ...
473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
474 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
475 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
476 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
477 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
478 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
479 ...
480 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
481 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
482 Moved ...
483 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
484 here.
485 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
486 ...
487 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
488 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
489 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
490
491 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
492 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
493 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
494 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
495
496 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
497 merge into ...
498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
499 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
500 ...
501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
502 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
503 ...
504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
506 Moved ...
507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
508 here.
509 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
510 Moved ...
511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
513 Moved ...
514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
515
516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
517 conditional [RESET_PID].
518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
519 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
520 removed.
521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
522 removed.
523
524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
525 <tcb-offsets.h>.
526 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
527 (__libc_vfork): New strong alias.
528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
529 removed.
530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
531 Removed.
532
533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
534 <tcb-offsets.h>.
535 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
536 (__libc_vfork): New strong alias.
537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
538 removed.
539 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
540 removed.
541
542 2014-05-26 Carlos O'Donell <carlos@redhat.com>
543
544 * malloc/malloc.c (mi_arena): New function.
545 (malloc_info): Remove nested function mi_arena. Call non-nosted
546 function mi_arena.
547
548 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
549
550 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
551 by insrwi.
552 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
553 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
554 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
555 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
556 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
557 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
558 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
559
560 2014-05-26 Andreas Schwab <schwab@suse.de>
561
562 [BZ #16984]
563 * locale/programs/repertoire.c (repertoire_read): Add slash
564 between I18NPATH element and file name.
565 * locale/programs/locfile.c (locfile_read): Likewise.
566
567 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
568
569 * nptl/pthread_mutexattr_settype.c
570 (__pthread_mutexattr_settype):
571 Disable lock elision for PTHREAD_MUTEX_NORMAL.
572
573 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
574
575 * nptl/tst-mutex5 (do_test):
576 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
577
578 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
579
580 * benchtests/README: Document 'init' directive.
581 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
582 BENCH_INIT.
583 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
584 (parse_file): Recognize 'init' directive.
585
586 2014-05-26 Kyle McMartin <kyle@redhat.com>
587
588 [BZ #16796]
589 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
590 alignment of struct pthread.
591
592 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
593
594 [BZ #16878]
595 * nscd/netgroupcache.c (addgetnetgrentX): Look for
596 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
597 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
598 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
599
600 2014-05-25 Richard Henderson <rth@twiddle.net>
601
602 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
603 (SINGLE_THREAD_P_PIC): Remove.
604 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
605 (SINGLE_THREAD_P_PIC): Remove.
606
607 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
608 branch to syscall error ...
609 (PSEUDO): ... here.
610 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
611 from __local_syscall_error to .Lsyscall_error.
612 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
613 (SYSCALL_ERROR): Update label name.
614
615 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
616 Do not use DOARGS/UNDOARGS.
617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
618 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
619 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
620 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
621 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
622
623 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
624 block comment.
625
626 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
627 define if !NOT_IN_libc.
628 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
629 define with non-default symbol versions.
630
631 2014-05-23 Richard Henderson <rth@twiddle.net>
632
633 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
634 (vfork, __vfork): Define via compat_symbol.
635
636 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
637 [!HAVE_IFUNC] (vfork_compat): Remove.
638 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
639
640 2014-05-23 Joseph Myers <joseph@codesourcery.com>
641
642 [BZ #16978]
643 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
644 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
645 variable.
646
647 2014-05-23 Richard Henderson <rth@twiddle.net>
648
649 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
650 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
651 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
652 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
653
654 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
655 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
656 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
657 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
658 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
659 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
660 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
661 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
662 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
663 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
664 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
665 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
666 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
667 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
668 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
669 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
670 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
671 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
672 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
673 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
674 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
675 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
676 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
677 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
678 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
679 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
680 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
682 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
684 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
686 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
688 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
689 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
690 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
691 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
692 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
693 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
694 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
695 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
696 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
697 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
698 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
699 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
700 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
701 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
702 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
703 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
704 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
705 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
706 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
707 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
708 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
709 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
710
711 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
712 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
713 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
714 before exiting on error.
715 (__libc_vfork): New strong alias.
716 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
717 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
718
719 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
720 that was previously under [RESET_PID].
721 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
722
723 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
724
725 2014-05-23 Joseph Myers <joseph@codesourcery.com>
726
727 [BZ #16977]
728 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
729 value when x - 1 is zero.
730 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
731 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
732 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
733 0.0L for an argument of 1.0L.
734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
735 Likewise.
736 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
737 value when x - 1 is zero.
738 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
739 * sysdeps/i386/fpu/libm-test-ulps: Update.
740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
741
742 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
743
744 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
745 alphasort and versionsort.
746
747 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
748
749 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
750 macro.
751 [copysignf]: Likewise.
752
753 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
754
755 * crypt/md5-crypt.c: Fix formatting.
756
757 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
758
759 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
760 (b64_from_24bit): New function.
761
762 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
763
764 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
765 libc_hidden_builtin_def to ifunc.
766 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
767 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
768
769 2014-05-21 Roland McGrath <roland@hack.frob.com>
770
771 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
772 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
773
774 2014-05-21 Joseph Myers <joseph@codesourcery.com>
775
776 * nscd/Depend (linuxthreads): Remove.
777 (nptl): Add.
778 * resolv/Depend (linuxthreads): Remove.
779 * rt/Depend (linuxthreads): Remove.
780
781 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
782 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
783 $(common-objpfx)elf/.
784 (link-libc-before-gnulib): Likewise.
785 (elfobjdir): Remove variable.
786 * Makefile (install): Use $(elf-objpfx) instead of
787 $(common-objpfx)elf/.
788 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
789 $(elfobjdir)/.
790 (link-libc-deps): Likewise.
791 ($(common-objpfx)libc.so): Likewise.
792 ($(common-objpfx)linkobj/libc.so): Likewise.
793 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
794 instead of $(common-objpfx)elf/.
795 (symbolic-link-list): Likewise.
796 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
797 [$(cross-compiling) = no]: Likewise.
798 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
799 $(elfobjdir)/.
800 (static-gnulib-arch): Likewise.
801 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
802 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
803 $(common-objpfx)elf/.
804
805 2014-05-21 Richard Henderson <rth@redhat.com>
806
807 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
808 (SINGLE_THREAD_P): Use the correct width load. Fold
809 into the ldr offset.
810
811 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
812 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
813
814 2014-05-20 Joseph Myers <joseph@codesourcery.com>
815
816 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
817 (libgcc_s_resume): Use __attribute_used__.
818 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
819 Likewise.
820
821 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
822
823 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
824 optimization when used with float constants.
825
826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
827
828 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
829
830 [BZ #16915]
831 * locale/nl_langinfo_l.c: Make direct reference to every
832 _nl_current_CATEGORY symbol.
833 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
834 (tests-static): Add tst-langinfo-static.
835 (tests-special): Add tst-langinfo-static.out.
836 ($(objpfx)tst-langinfo.out): Redirect output.
837 ($(objpfx)tst-langinfo-static.out): New.
838 * localedata/tst-langinfo.sh: Send output to stdout.
839 * localedata/tst-langinfo-static.c: New file.
840
841 [BZ #16965]
842 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
843 when the shift amount is modulo the limb size.
844
845 2014-05-20 Richard Henderson <rth@redhat.com>
846
847 [BZ #16967]
848 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
849 Change type of sa_flags from unsigned int to int.
850
851 [BZ #16966]
852 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
853
854 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
855
856 2014-05-20 Will Newton <will.newton@linaro.org>
857
858 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
859 Test the return value of the system call in the nocancel case.
860
861 2014-05-20 Will Newton <will.newton@linaro.org>
862 Yvan Roux <yvan.roux@linaro.org>
863
864 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
865 #include of asm/ptrace.h.
866 (PTRACE_GET_THREAD_AREA): Remove #undef.
867 (PTRACE_GETHBPREGS): Likewise.
868 (PTRACE_SETHBPREGS): Likewise.
869 (struct user_regs_struct): New structure.
870 (struct user_fpsimd_struct): New structure.
871 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
872 #include of asm/ptrace.h and second #include of sys/user.h.
873 (PTRACE_GET_THREAD_AREA): Remove #undef.
874 (PTRACE_GETHBPREGS): Likewise.
875 (PTRACE_SETHBPREGS): Likewise.
876 (ELF_NGREG): Use new struct user_regs_struct.
877 (elf_fpregset_t): Use new struct user_fpsimd_struct.
878
879 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880
881 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
883
884 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
885
886 [BZ #16958]
887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
888 membar to avoid block loads/stores to overlap previous stores.
889
890 2014-05-17 Richard Henderson <rth@redhat.com>
891
892 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
893 Create the __##syscall_name##_nocancel entry point.
894 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
895 Remove; let the sysdep-cancel.h code create it.
896
897 2014-05-17 David S. Miller <davem@davemloft.net>
898
899 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
900 Protect with __USE_GNU.
901 (TIOCSET_TEMPT): Likewise.
902 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
903 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
904 these are already provided in bits/ioctl-types.h
905
906 2014-05-16 Roland McGrath <roland@hack.frob.com>
907
908 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
909 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
910
911 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
912 Use wait4 regardless of [__NR_waitpid].
913
914 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
915
916 PR libgcc/60166
917 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
918 (_FP_NANSIGN_Q): Set the quiet bit.
919
920 2014-05-16 Joseph Myers <joseph@codesourcery.com>
921
922 * benchtests/Makefile
923 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
924 not $(common-objpfx)math/libm.so.
925 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
926 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
927 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
928 $(common-objpfx)dlfcn/libdl.so.
929 ($(objpfx)tst-audit8): Depend on $(libm), not
930 $(common-objpfx)math/libm.so.
931 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
932 not $(common-objpfx)dlfcn/libdl.so.
933 * math/Makefile
934 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
935 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
936 [$(build-shared) = yes].
937 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
938 $(common-objpfx)nptl/libpthread.so.
939 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
940 $(common-objpfx)math/libm.so$(libm.so-version) or
941 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
942 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
943 $(common-objpfx)dlfcn/libdl.so.
944 * setjmp/Makefile (link-libm): Remove variable.
945 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
946 * stdio-common/Makefile (link-libm): Remove variable.
947 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
948 * stdlib/Makefile (link-libm): Remove variable.
949 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
950 ($(objpfx)tst-strtod-round): Likewise.
951 ($(objpfx)tst-tininess): Likewise.
952 ($(objpfx)tst-strtod-underflow): Likewise.
953 ($(objpfx)tst-strtod6): Likewise.
954 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
955 $(libdl), not $(common-objpfx)nptl/libpthread.so and
956 $(common-objpfx)dlfcn/libdl.so.
957
958 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
959
960 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
961 BSD terminal modes definitions.
962
963 2014-05-16 Roland McGrath <roland@hack.frob.com>
964
965 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
966 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
967
968 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
969 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
970 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
971 Don't do #include_next.
972 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
973 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
974 Don't do #include_next.
975 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
976 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
977 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
978 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
979
980 2014-05-16 Allan McRae <allan@archlinux.org>
981
982 * po/sv.po: Update Swedish translation from translation project.
983
984 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
985 in sed expression.
986
987 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
988
989 [BZ #16917]
990 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
991 errno if the TIOCGPTN ioctl fails with an error different than
992 EINVAL.
993 * login/tst-ptsname.c: New file.
994 * login/Makefile (tests): Add tst-ptsname.
995
996 [BZ #16943]
997 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
998 and prlimit64.
999
1000 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1001
1002 [BZ #16849]
1003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1004 herrno to return EAI_AGAIN.
1005
1006 2014-05-14 Roland McGrath <roland@hack.frob.com>
1007
1008 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1009 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1010 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1011 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1013 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1014 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1015 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1016 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1017 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1019 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1020 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1021 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1023 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1025 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1026 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1027 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1029 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1031 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1032 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1033 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1034 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1035 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1037 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1039 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1041 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1043 Moved ...
1044 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1046 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1048 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1050 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1052 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1054 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1056 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1058 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1060 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1062 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1064 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1066 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1068 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1070 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1072 Moved ...
1073 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1075 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1077 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1079 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1081 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1083 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1085 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1087 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1091 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1093 Moved ...
1094 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1096 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1097
1098 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1099 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1100 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1101 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1102 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1104 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1106 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1108 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1110 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1112 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1114 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1115 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1116 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1117 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1118 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1119 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1120 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1122 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1124 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1126 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1128 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1129
1130 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1131 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1132
1133 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1134 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1135 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1136 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1137 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1138 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1139 Moved ...
1140 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1141 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1142 Moved ...
1143 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1144 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1145 Moved ...
1146 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1147 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1148 Moved ...
1149 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1150 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1151 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1152 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1153 Moved ...
1154 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1155 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1156 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1157 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1158 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1159 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1160 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1161 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1162 Moved ...
1163 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1164 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1165 Moved ...
1166 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1167 ... here.
1168 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1169 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1170 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1171 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1172 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1173 Moved ...
1174 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1175 ... here.
1176 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1177 Moved ...
1178 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1179 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1180 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1181 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1182 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1183 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1184 Moved ...
1185 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1186 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1187 Moved ...
1188 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1189 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1190 Moved ...
1191 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1192 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1193 Moved ...
1194 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1195 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1196 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1197 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1198 Moved ...
1199 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1200 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1201 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1202 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1203 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1204 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1205 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1206 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1207 Moved ...
1208 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1209 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1210 Moved ...
1211 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1212 ... here.
1213 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1214 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1215 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1216 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1217 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1218 Moved ...
1219 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1220 ... here.
1221 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1222 Moved ...
1223 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1224 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1225 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1226 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1227 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1228 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1229 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1230 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1231 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1232 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1233 Moved ...
1234 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1235 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1236 Moved ...
1237 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1238 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1239 Moved ...
1240 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1241 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1242 Moved ...
1243 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1244 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1245 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1246 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1247 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1248 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1249 Moved ...
1250 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1251 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1252 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1253 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1254 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1255 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1256 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1257 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1258 Moved ...
1259 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1260 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1261 Moved ...
1262 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1263 ... here.
1264 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1265 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1266 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1267 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1268 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1269 Moved ...
1270 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1271 ... here.
1272 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1273 Moved ...
1274 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1275 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1276 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1277 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1278 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1280 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1281 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1282 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1283 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1284 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1285
1286 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1287 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1288
1289 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1290 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1291
1292 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1293 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1294 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1295 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1296 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1297 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1298 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1299 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1300 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1301 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1302 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1303 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1304 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1305 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1306 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1307 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1308 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1309 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1310 Moved ...
1311 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1313 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1315 Moved ...
1316 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1317 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1318 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1319 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1320 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1321 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1322 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1323 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1324 Moved ...
1325 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1327 Moved ...
1328 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1329 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1330 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1331 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1332 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1334 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1335 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1336 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1337 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1338 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1339 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1340 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1341 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1342 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1343 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1344 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1345
1346 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1347 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1348 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1349 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1350 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1351
1352 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1353 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1354 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1355 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1356 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1357 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1358 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1359 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1360 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1361 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1362
1363 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1365
1366 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1367 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1368 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1369 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1370 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1371 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1372 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1373 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1374 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1375 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1376 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1377 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1378 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1379 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1381 Update #include.
1382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1383 Likewise.
1384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1385 Likewise.
1386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1387 Likewise.
1388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1389 Likewise.
1390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1391 Likewise.
1392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1393 Likewise.
1394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1395 Likewise.
1396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1397 Likewise.
1398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1399 Likewise.
1400 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1401 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1403 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1405 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1406 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1407 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1409 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1410 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1414 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1415
1416 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1417 that was previously under [RESET_PID].
1418 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1419 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1420 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1421
1422 * sysdeps/i386/nptl/Implies: New file.
1423 * sysdeps/x86_64/nptl/Implies: New file.
1424 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1425 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1426 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1427 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1428
1429 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1430 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1431 (__libc_vfork): New strong alias.
1432 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1433 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1434
1435 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1436 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1437 (__libc_vfork): New strong alias.
1438 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1439 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1440
1441 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1442 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1443 (__libc_vfork): New strong alias.
1444 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1445 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1446 * nptl/pt-vfork.c: New file.
1447 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1448 (libpthread: GLIBC_2.20): New version set (empty).
1449
1450 2014-05-14 Will Newton <will.newton@linaro.org>
1451
1452 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1453 rather than #if.
1454
1455 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1456
1457 [BZ #16564]
1458 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1459 arguments with exponent 65 or above.
1460 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1461 arguments 0x1p113L or above.
1462 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1463 to arguments 0x1p107L or above.
1464 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1465 positive arguments with exponent 65 or above.
1466 * math/auto-libm-test-in: Add more tests of log1p.
1467 * math/auto-libm-test-out: Regenerated.
1468
1469 [BZ #16928]
1470 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1471 non-finite arguments is +0.
1472 * math/s_cacosf.c (__cacosf): Likewise.
1473 * math/s_cacosl.c (__cacosl): Likewise.
1474 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1475 * sysdeps/i386/fpu/libm-test-ulps: Update.
1476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1477
1478 [BZ #16927]
1479 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1480 value.
1481 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1482 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1483 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1484 for explicit high bit of mantissa when testing for argument equal
1485 to 1.
1486 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1487 * sysdeps/i386/fpu/libm-test-ulps: Update.
1488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1489
1490 [BZ #16516]
1491 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1492 (__erf): Scale by 16 instead of 8 in potentially underflowing
1493 case. Ensure exception if result actually underflows.
1494 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1495 (__erff): Scale by 16 instead of 8 in potentially underflowing
1496 case. Ensure exception if result actually underflows.
1497 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1498 (efx8): Remove variable.
1499 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1500 case. Ensure exception if result actually underflows.
1501 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1502 (efx8): Remove variable.
1503 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1504 case. Ensure exception if result actually underflows.
1505 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1506 (efx8): Remove variable.
1507 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1508 case. Ensure exception if result actually underflows.
1509 * math/auto-libm-test-in: Add more tests of erf.
1510 * math/auto-libm-test-out: Regenerated.
1511
1512 2014-05-14 Andreas Schwab <schwab@suse.de>
1513
1514 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1515 Remove code conditionalized on USE___THREAD.
1516
1517 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1518 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1519 not definedness.
1520
1521 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1522
1523 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1524 Define unconditionally.
1525 (__ASSUME_O_CLOEXEC): Likewise.
1526 (__ASSUME_SOCK_CLOEXEC): Likewise.
1527 (__ASSUME_IN_NONBLOCK): Likewise.
1528 (__ASSUME_PIPE2): Likewise.
1529 (__ASSUME_EVENTFD2): Likewise.
1530 (__ASSUME_SIGNALFD4): Likewise.
1531 (__ASSUME_DUP3): Likewise.
1532 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1533 (__ASSUME_DUP3): Do not define.
1534 (__ASSUME_EVENTFD2): Likewise.
1535 (__ASSUME_IN_NONBLOCK): Likewise.
1536 (__ASSUME_O_CLOEXEC): Likewise.
1537 (__ASSUME_PIPE2): Likewise.
1538 (__ASSUME_SIGNALFD4): Likewise.
1539 (__ASSUME_SOCK_CLOEXEC): Likewise.
1540 (__ASSUME_UTIMES): Undefine.
1541 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1542 (__ASSUME_UTIMES): Do not define.
1543 (__ASSUME_O_CLOEXEC): Likewise.
1544 (__ASSUME_SOCK_CLOEXEC): Likewise.
1545 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1546 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1547 0x020621].
1548 (__ASSUME_PIPE2): Likewise.
1549 (__ASSUME_EVENTFD2): Likewise.
1550 (__ASSUME_SIGNALFD4): Likewise.
1551 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1552 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1553 Do not define.
1554 (__ASSUME_EVENTFD2): Likewise.
1555 (__ASSUME_SIGNALFD4): Likewise.
1556 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1557 (__ASSUME_32BITUIDS): Likewise.
1558 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1559 (__ASSUME_IPC64): Likewise.
1560 (__ASSUME_ST_INO_64_BIT): Likewise.
1561 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1562 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1563 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1564 (__ASSUME_UTIMES): Do not define.
1565 (__ASSUME_PSELECT): Likewise.
1566 (__ASSUME_PPOLL): Likewise.
1567 (__ASSUME_O_CLOEXEC): Likewise.
1568 (__ASSUME_SOCK_CLOEXEC): Likewise.
1569 (__ASSUME_IN_NONBLOCK): Likewise.
1570 (__ASSUME_PIPE2): Likewise.
1571 (__ASSUME_EVENTFD2): Likewise.
1572 (__ASSUME_SIGNALFD4): Likewise.
1573 (__ASSUME_DUP3): Likewise.
1574 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1575 (__ASSUME_UTIMES): Likewise.
1576 (__ASSUME_O_CLOEXEC): Likewise.
1577 (__ASSUME_SOCK_CLOEXEC): Likewise.
1578 (__ASSUME_IN_NONBLOCK): Likewise.
1579 (__ASSUME_PIPE2): Likewise.
1580 (__ASSUME_EVENTFD2): Likewise.
1581 (__ASSUME_SIGNALFD4): Likewise.
1582 (__ASSUME_DUP3): Likewise.
1583 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1584 (__ASSUME_UTIMES): Likewise.
1585 (__ASSUME_O_CLOEXEC): Likewise.
1586 (__ASSUME_SOCK_CLOEXEC): Likewise.
1587 (__ASSUME_IN_NONBLOCK): Likewise.
1588 (__ASSUME_PIPE2): Likewise.
1589 (__ASSUME_EVENTFD2): Likewise.
1590 (__ASSUME_SIGNALFD4): Likewise.
1591 (__ASSUME_DUP3): Likewise.
1592 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1593 Likewise.
1594 (__ASSUME_UTIMES): Likewise.
1595 (__ASSUME_EVENTFD2): Likewise.
1596 (__ASSUME_SIGNALFD4): Likewise.
1597 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1598 (__ASSUME_O_CLOEXEC): Likewise.
1599 (__ASSUME_SOCK_CLOEXEC): Likewise.
1600 (__ASSUME_IN_NONBLOCK): Likewise.
1601 (__ASSUME_PIPE2): Likewise.
1602 (__ASSUME_EVENTFD2): Likewise.
1603 (__ASSUME_SIGNALFD4): Likewise.
1604 (__ASSUME_DUP3): Likewise.
1605 (__ASSUME_UTIMES): Undefine.
1606
1607 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1608 feclearexcept. Remove symbol versioning code.
1609 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1610 symbol versioning code.
1611 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1612 symbol versioning code.
1613 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1614 feupdateenv. Remove symbol versioning code.
1615 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1616 fegetexceptflag. Remove symbol versioning code.
1617 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1618 fesetexceptflag. Remove symbol versioning code.
1619 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1620 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1621 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1622 (__posix_fadvise64_l32): Remove prototype.
1623 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1624 code.
1625
1626 2014-05-13 Roland McGrath <roland@hack.frob.com>
1627
1628 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1629 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1630 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1631 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1632
1633 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1634
1635 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1636 current working directory
1637
1638 2014-05-13 Roland McGrath <roland@hack.frob.com>
1639
1640 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1641 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1642 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1643 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1644 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1645 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1646 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1649 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1651 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1653 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1655 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1659 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1665 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1669 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1671 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1673 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1674 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1675 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1676 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1677 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1678 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1679 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1680 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1681 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1682
1683 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1684 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1685
1686 * sysdeps/unix/sysv/linux/arm/Makefile
1687 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1688 Add rt-aeabi_unwind_cpp_pr1.
1689 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1690 Add nptl-aeabi_unwind_cpp_pr1.
1691 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1692 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1693 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1694 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1695 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1696 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1697
1698 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1699 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1700 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1701 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1702
1703 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1704 Deconditionalize the code that was previously under [RESET_PID].
1705 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1706
1707 * sysdeps/generic/exit-thread.h: New file.
1708 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1709 * include/unistd.h (__exit_thread): Remove declaration.
1710 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1711 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1712 * csu/libc-start.c: Include <exit-thread.h>.
1713 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1714 * nptl/pthread_create.c: Include <exit-thread.h>.
1715 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1716 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1717 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1718 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1719 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1720 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1721 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1722 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1723 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1724 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1725 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1726 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1727 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1728 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1729 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1730 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1731 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1732
1733 2014-05-13 Andreas Schwab <schwab@suse.de>
1734
1735 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1736
1737 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1738
1739 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1740 (__ASSUME_UTIMES): Do not condition on kernel version.
1741 (__ASSUME_PSELECT): Define unconditionally.
1742 (__ASSUME_PPOLL): Likewise.
1743 (__ASSUME_ATFCTS): Likewise.
1744 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1745 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1746 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1747 (__ASSUME_UTIMENSAT): Define unconditionally.
1748 (__ASSUME_PRIVATE_FUTEX): Likewise.
1749 (__ASSUME_FALLOCATE): Likewise.
1750 (__ASSUME_O_CLOEXEC): Likewise.
1751 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1752 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1753 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1754 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1755 (__ASSUME_IN_NONBLOCK): Likewise.
1756 (__ASSUME_PIPE2): Likewise.
1757 (__ASSUME_EVENTFD2): Likewise.
1758 (__ASSUME_SIGNALFD4): Likewise.
1759 (__ASSUME_DUP3): Likewise.
1760 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1761 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1762 (__ASSUME_AT_RANDOM): Likewise.
1763 (__ASSUME_PREADV): Likewise.
1764 (__ASSUME_PWRITEV): Likewise.
1765 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1766 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1767 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1768 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1769 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1770 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1771 (__ASSUME_O_CLOEXEC): Define unconditionally.
1772 (__ASSUME_PSELECT): Do not undefine conditionally.
1773 (__ASSUME_PPOLL): Likewise.
1774 (__ASSUME_ATFCTS): Likewise.
1775 (__ASSUME_SET_ROBUST_LIST): Likewise.
1776 (__ASSUME_UTIMENSAT): Likewise.
1777 (__ASSUME_FDATASYNC): Define unconditionally.
1778 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1779 (__ASSUME_SIGFRAME_V2): Likewise.
1780 )__ASSUME_EVENTFD2): Likewise.
1781 (__ASSUME_SIGNALFD4): Likewise.
1782 (__ASSUME_PSELECT): Do not undefine conditionally.
1783 (__ASSUME_PPOLL): Likewise.
1784 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1785 (__ASSUME_PSELECT): Define unconditionally.
1786 (__ASSUME_PPOLL): Likewise.
1787 (__ASSUME_O_CLOEXEC): Likewise.
1788 (__ASSUME_SOCK_CLOEXEC): Likewise.
1789 (__ASSUME_IN_NONBLOCK): Likewise.
1790 (__ASSUME_PIPE2): Likewise.
1791 (__ASSUME_EVENTFD2): Likewise.
1792 (__ASSUME_SIGNALFD4): Likewise.
1793 (__ASSUME_DUP3): Likewise.
1794 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1795 (__ASSUME_O_CLOEXEC): Likewise.
1796 (__ASSUME_SOCK_CLOEXEC): Likewise.
1797 (__ASSUME_IN_NONBLOCK): Likewise.
1798 (__ASSUME_PIPE2): Likewise.
1799 (__ASSUME_EVENTFD2): Likewise.
1800 (__ASSUME_SIGNALFD4): Likewise.
1801 (__ASSUME_DUP3): Likewise.
1802 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1803 (__ASSUME_EVENTFD2): Likewise.
1804 (__ASSUME_SIGNALFD4): Likewise.
1805 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1806
1807 2014-05-12 Andreas Schwab <schwab@suse.de>
1808
1809 [BZ #16932]
1810 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1811 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1812 than maximum RPC packet size.
1813 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1814 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1815 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1816 (_nss_nis_getservbyport_r): Likewise.
1817
1818 2014-05-12 Will Newton <will.newton@linaro.org>
1819
1820 * malloc/Makefile (tests): Add tst-mallopt.
1821 * malloc/tst-mallopt.c: New file.
1822
1823 2014-05-09 Roland McGrath <roland@hack.frob.com>
1824
1825 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1826 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1827
1828 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1829
1830 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1831 (tst-tlsmod6.so): Likewise.
1832
1833 2014-05-09 Roland McGrath <roland@hack.frob.com>
1834
1835 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1836
1837 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1838
1839 [BZ #16064]
1840 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1841 and <dl-procinfo.h>.
1842 (__fegetenv): Save SSE state in envp->__eip if supported.
1843 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1844 envp->__eip if supported.
1845 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1846 and <dl-procinfo.h>.
1847 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1848 __data_offset and __data_selector in environment to 0. Set SSE
1849 state if supported.
1850 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1851 test-fenv-sse.
1852 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1853 -mfpmath=sse.
1854 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1855
1856 2014-05-09 Will Newton <will.newton@linaro.org>
1857
1858 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1859 and libc_relro_required for ARM.
1860 * sysdeps/arm/preconfigure: Regenerate.
1861
1862 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1863 Stefan Liebler <stli@linux.vnet.ibm.com>
1864
1865 * config.make.in (enable-lock-elision): New Makefile variable.
1866 * configure.ac: Likewise.
1867 * configure: Regenerate.
1868 * sysdeps/s390/configure.ac:
1869 Add check for gcc transactions support.
1870 * sysdeps/s390/configure: Regenerate.
1871 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1872 Build elision files if enabled.
1873 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1874 Add lock elision support for s390.
1875 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1876 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1877 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1878 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1879 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1880 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1882 Likewise.
1883 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1884 Likewise.
1885 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1886 Likewise.
1887 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1888 Likewise.
1889 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1890 (__lll_timedlock_elision, __lll_lock_elision)
1891 (__lll_unlock_elision, __lll_trylock_elision)
1892 (lll_timedlock_elision, lll_lock_elision)
1893 (lll_unlock_elision, lll_trylock_elision): Add.
1894 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1895 (pthread_mutex_t): Add lock elision support for s390.
1896
1897 2014-05-14 Wilco <wdijkstr@arm.com>
1898
1899 * sysdeps/arm/fclrexcpt.c: Cleanup.
1900 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1901 * sysdeps/arm/feenablxcpt.c: Cleanup.
1902 * sysdeps/arm/fegetenv.c: Cleanup.
1903 * sysdeps/arm/fegetexcept.c: Cleanup.
1904 * sysdeps/arm/fegetround.c: Cleanup.
1905 * sysdeps/arm/feholdexcpt.c: Cleanup.
1906 * sysdeps/arm/fesetenv.c: Cleanup.
1907 * sysdeps/arm/fesetround.c: Cleanup.
1908 * sysdeps/arm/feupdateenv.c: Cleanup.
1909 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1910 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1911 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1912 * sysdeps/arm/ftestexcept.c: Cleanup.
1913 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1914 * sysdeps/arm/setfpucw.c: Cleanup.
1915
1916 2014-05-09 Will Newton <will.newton@linaro.org>
1917
1918 * sysdeps/arm/armv7/strcmp.S: New file.
1919 * NEWS: Mention addition of ARMv7 optimized strcmp.
1920
1921 2014-05-08 Roland McGrath <roland@hack.frob.com>
1922
1923 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1924 look for %.ac rather than %.in.
1925
1926 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1927 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1928 * sysdeps/mach/hurd/configure: Regenerated.
1929 * sysdeps/unix/sysv/linux/configure: Regenerated.
1930
1931 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1932
1933 2014-05-07 Steve Ellcey <sellcey@mips.com>
1934
1935 [BZ# 16922]
1936 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1937 (LONG_SUB): Ditto.
1938 (PTR_SUB): Ditto.
1939
1940 2014-05-07 Andreas Schwab <schwab@suse.de>
1941
1942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1943 when skipping over non-matching result from nscd.
1944
1945 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1946
1947 [BZ #16876]
1948 * nptl/sockperf.c (client): Check socket return value.
1949
1950 [BZ #16877]
1951 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1952 nscd security class.
1953
1954 2014-05-06 Roland McGrath <roland@hack.frob.com>
1955
1956 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1957 * sysdeps/arm/unwind.h: ... here.
1958
1959 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1960
1961 [BZ# 16916]
1962 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1963 Define.
1964
1965 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1966
1967 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1968 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1969 multiarch strncpy for PPC64.
1970 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1971 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1973 multiarch optimizations.
1974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1975 (__libc_ifunc_impl_list): Likewise.
1976 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1977 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1978 multiarch stpncpy for PPC64.
1979 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1980 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1981
1982 2014-05-06 Andreas Schwab <schwab@suse.de>
1983
1984 [BZ #16912]
1985 * gmon/mcount.c (_MCOUNT_DECL): Use
1986 atomic_compare_and_exchange_bool_acq instead of
1987 catomic_compare_and_exchange_bool_acq.
1988
1989 2014-05-05 Roland McGrath <roland@hack.frob.com>
1990
1991 * elf/Makefile (others, install-bin): Remove pldd.
1992 (pldd-modules): Variable removed.
1993 ($(objpfx)pldd): Target removed.
1994 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1995 (others, install-bin): Append pldd here.
1996 ($(objpfx)pldd): New target.
1997
1998 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1999 to 0, so the first #if test emitted later doesn't see it undefined.
2000 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2001 * sysdeps/gnu/errlist.c: Regenerated.
2002
2003 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2006 [libc_hidden_builtin_def]: Define to empty value.
2007 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2008 [libc_hidden_builtin_def]: Likewise.
2009 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2010 [libc_hidden_builtin_def]: Likewise.
2011 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2012 [libc_hidden_builtin_def]: Likewise.
2013 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2014 __redirect_memcpy and define ifunc as default hidden symbol.
2015 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2016 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2017
2018 2014-05-04 Adam Conrad <adconrad@0c3.net>
2019
2020 * locale/iso-4217.def: Reintroduce XDR currency.
2021
2022 2014-05-04 Allan McRae <allan@archlinux.org>
2023
2024 * po/eo.po: Update Esperanto translation from translation project.
2025
2026 2014-05-02 Carlos O'Donell <carlos@redhat.com>
2027
2028 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2029 and FEATURE_INDEX_MAX to 1.
2030 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2031
2032 2014-05-01 Steve Ellcey <sellcey@mips.com>
2033
2034 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2035 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2036 * iconvdata/big5.c (ONE_DIRECTION): Define.
2037 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2038 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2039 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2040 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2041 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2042 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2043 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2044 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2045 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2046 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2047 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2048 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2049 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2050 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2051 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2052 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2053 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2054 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2055 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2056 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2057 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2058 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2059 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2060 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2061 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2062 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2063 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2064 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2065 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2066 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2067 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2068 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2069 * iconvdata/johab.c (ONE_DIRECTION): Define.
2070 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2071 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2072 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2073 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2074 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2075 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2076 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2077 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2078 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2079 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2080
2081 2014-05-01 Roland McGrath <roland@hack.frob.com>
2082
2083 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2084 (_IO_JUMPS_OFFSET): Define to 0.
2085
2086 * nptl/sysdeps/pthread/bits/libc-lock.h
2087 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2088 (__libc_lock_define_initialized_recursive): Always define using
2089 initializer. Modern compilers treat uninitialized (implicit zero) and
2090 explicit zero initializers the same (i.e. put the datum in bss).
2091
2092 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2093
2094 * nscd/nscd-client.h: Include <string.h>.
2095
2096 2014-05-01 David S. Miller <davem@davemloft.net>
2097
2098 [BZ #16885]
2099 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2100 multiple zero bytes exist at the end of a string.
2101 Reported by Aurelien Jarno <aurelien@aurel32.net>
2102
2103 * string/test-strcmp.c (check): Add explicit test for situations where
2104 there are multiple zero bytes after the first.
2105
2106 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2107
2108 [BZ #16890]
2109 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2110 when compiling wprintf.
2111 * stdio-common/tstdiomisc.c (t3): New function.
2112 (main): Call it.
2113
2114 2014-05-01 Steve Ellcey <sellcey@mips.com>
2115
2116 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2117 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2118 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2119 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2120
2121 2014-05-01 Steve Ellcey <sellcey@mips.com>
2122
2123 * stdlib/longlong.h: Updated from GCC.
2124
2125 2014-05-01 Will Newton <will.newton@linaro.org>
2126 Bernard Ogden <bernie.ogden@linaro.org>
2127
2128 * NEWS: Update fixed bug list.
2129
2130 [BZ #15119]
2131 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2132
2133 2014-04-30 David S. Miller <davem@davemloft.net>
2134
2135 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2136 (libc_feholdexcept_setround_sparc_ctx): New function.
2137 (libc_fesetenv_sparc_ctx): Likewise.
2138 (libc_feupdateenv_sparc_ctx): Likewise.
2139 (libc_feholdsetround_sparc_ctx): Likewise.
2140 (libc_feholdexcept_setround_ctx): Define.
2141 (libc_feholdexcept_setroundf_ctx): Likewise.
2142 (libc_feholdexcept_setroundl_ctx): Likewise.
2143 (libc_fesetenv_ctx): Likewise.
2144 (libc_fesetenvf_ctx): Likewise.
2145 (libc_fesetenvl_ctx): Likewise.
2146 (libc_feupdateenv_ctx): Likewise.
2147 (libc_feupdateenvf_ctx): Likewise.
2148 (libc_feupdateenvl_ctx): Likewise.
2149 (libc_feresetround_ctx): Likewise.
2150 (libc_feresetroundf_ctx): Likewise.
2151 (libc_feresetroundl_ctx): Likewise.
2152 (libc_feholdsetround_ctx): Likewise.
2153 (libc_feholdsetroundf_ctx): Likewise.
2154 (libc_feholdsetroundl_ctx): Likewise.
2155
2156 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2157 with __USE_GNU instead of XOPEN cpp guards.
2158
2159 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2160 0.
2161
2162 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2163 with XOPEN cpp guards.
2164
2165 2014-04-30 Julian Brown <julian@codesourcery.com>
2166
2167 [BZ #16888]
2168 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2169 handling.
2170
2171 2014-04-30 Joseph Myers <joseph@codesourcery.com>
2172
2173 [BZ #9894]
2174 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2175 Change to 2.6.32.
2176 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2177 * sysdeps/unix/sysv/linux/configure: Regenerated.
2178 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2179 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2180 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2181 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2182 * README: Update reference to required Linux kernel version.
2183 * manual/install.texi (Linux): Update reference to required Linux
2184 kernel headers version.
2185 * INSTALL: Regenerated.
2186
2187 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2188 header inclusion.
2189 [POSIX] (limits.h): Likewise.
2190 [POSIX] (math.h): Likewise.
2191 [POSIX] (sys/wait.h): Likewise.
2192 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2193 function.
2194 [POSIX] (stddef.h): Do not allow header inclusion.
2195
2196 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2197
2198 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2199
2200 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2201
2202 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2203 Return immediately after lll_futex_wake.
2204
2205 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2206
2207 [BZ #16791]
2208 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2209 structure.
2210 (datahead_init_pos): Call datahead_init_common early.
2211 (datahead_init_neg): Likewise.
2212
2213 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2214 datahead_init_neg): New functions.
2215 * nscd/aicache.c (addhstaiX): Use them.
2216 * nscd/grpcache.c (cache_addgr): Likewise.
2217 * nscd/hstcache.c (cache_addhst): Likewise.
2218 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2219 * nscd/netgroupcache.c (do_notfound): Likewise.
2220 (addgetnetgrentX): Likewise.
2221 (addinnetgrX): Likewise.
2222 * nscd/pwdcache.c (cache_addpw): Likewise.
2223 * nscd/servicescache.c (cache_addserv): Likewise.
2224
2225 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2226 Atsushi Onoe <atsushi@onoe.org>
2227
2228 [BZ #14308]
2229 [BZ #12994]
2230 [BZ #13651]
2231 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2232 one response is valid.
2233 * resolv/res_send.c (send_dg): Check for validity of other
2234 response if the current response is a referral.
2235
2236 2014-04-29 Steve Ellcey <sellcey@mips.com>
2237
2238 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2239
2240 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2241
2242 [BZ #16823]
2243 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2244 Always divide by positive zero when computing -Inf result.
2245 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2246 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2247
2248 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2249
2250 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2251 FPSCR if value do not change.
2252 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2253 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2254 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2255 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2256 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2257 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2258 function.
2259
2260 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2261
2262 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2263 * sysdeps/unix/sysv/linux/hppa: Move directory from
2264 ports/systeps/unix/sysv/linux/hppa.
2265 * README: Update listing for hppa-*-linux-gnu.
2266
2267 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
2268
2269 [BZ #16754]
2270 * manual/stdio.texi (Hook functions): Fix types of stream hook
2271 functions.
2272 [BZ #16854]
2273 * socket/sys/socket.h: Fix typo in comment.
2274
2275 2014-04-28 Wilco <wdijkstr@arm.com>
2276
2277 * sysdeps/arm/fenv_private.h: New file.
2278 * sysdeps/arm/math_private.h: New file.
2279 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2280
2281 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2282
2283 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2284 with __int128_t.
2285 (La_x86_64_retval): Likewise.
2286
2287 2014-04-24 Ian Bolton <ian.bolton@arm.com>
2288
2289 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2290 fpsr if value didn't change.
2291 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2292 to fpcr if value didn't change.
2293 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2294 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2295 fpsr or fpcr if value didn't change.
2296 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2297 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2298 fpcr if value didn't change.
2299 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2300 to fpsr if value didn't change.
2301
2302 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2303
2304 * nptl/tst-sem3.c: Use test-skeleton.c
2305 (main): Rename to do_test. Use return instead of
2306 exit.
2307 * nptl/tst-sem4.c: Use test-skeleton.c
2308 (main): Rename to do_test.
2309
2310 2014-04-22 David S. Miller <davem@davemloft.net>
2311
2312 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2313 (struct sigaction): New struct member __glibc_reserved0, change
2314 type of sa_flags to int.
2315
2316 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2317
2318 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2319 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2320
2321 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2322
2323 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2324 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2325
2326 2014-04-22 Will Newton <will.newton@linaro.org>
2327 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2328
2329 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2330 (__longjmp): Add longjmp and longjmp_target SystemTap
2331 probes.
2332 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2333 (__sigsetjmp): Add setjmp SystemTap probe.
2334
2335 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2336
2337 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2338 match manual order.
2339
2340 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2341
2342 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2343
2344 * sysdeps/powerpc/fpu/fenv_private.h
2345 (libc_feholdexcept_setroundl_ctx): Define to
2346 libc_feholdexcept_setround_ppc_ctx.
2347 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2348 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2349 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2350 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2351
2352 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2353
2354 * sysdeps/aarch64/math-tests.h: New file.
2355
2356 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2357
2358 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2359 New.
2360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2361 Check and set bit_AVX2_Usable.
2362 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2363 macro.
2364 (bit_AVX2): Likewise.
2365 (index_AVX2_Usable): Likewise.
2366 (CPUID_AVX2): Likewise.
2367 (HAS_AVX2): Likewise.
2368
2369 2014-04-17 Will Newton <will.newton@linaro.org>
2370
2371 * manual/setjmp.texi (System V contexts): Add note that
2372 calling setcontext on a context created by a call to a
2373 signal handler is undefined. Update text to note that
2374 setcontext from a signal handler is possible but not
2375 recommended.
2376
2377 [BZ #16629]
2378 * stdlib/tst-setcontext.c: Include signal.h.
2379 (main): Check that the signal stack before and
2380 after swapcontext is the same.
2381
2382 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2383 Re-implement to restore registers in user code and avoid
2384 rt_sigreturn system call.
2385
2386 2014-04-17 Wilco <wdijkstr@arm.com>
2387
2388 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2389 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2390 * math/test-fenv.c: Skip exception trap tests on targets which only
2391 support non-stop mode.
2392
2393 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2394 Wilco Dijkstra <wilco.dijkstra@arm.com>
2395
2396 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2397 (libc_feholdsetround_aarch64_ctx)
2398 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2399 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2400 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2401 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2402 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2403 (libc_feresetround_noexl_ctx): Define.
2404
2405 2014-04-16 Richard Henderson <rth@redhat.com>
2406
2407 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2408
2409 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2410 unwind tables.
2411
2412 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2413 const from the non-libc, non-ldso copy.
2414
2415 * sysdeps/alpha/libm-test-ulps: Regenerate.
2416
2417 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2418 Wilco Dijkstra <wilco.dijkstra@arm.com>
2419
2420 * sysdeps/aarch64/fpu/math_private.h: New file.
2421
2422 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2423
2424 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2425
2426 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2427
2428 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2429 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2430 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2431 Intel MPX bound registers before _dl_profile_fixup.
2432 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2433 registers after _dl_profile_fixup. Save and restore bound
2434 registers bnd0/bnd1 when calling _dl_call_pltexit.
2435 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2436 (LR_BND_OFFSET): Likewise.
2437 (LRV_BND0_OFFSET): Likewise.
2438 (LRV_BND1_OFFSET): Likewise.
2439
2440 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2441
2442 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2443 to...
2444 * sysdeps/mach/hurd/i386/tls.h: ... here.
2445 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2446 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2447 fields.
2448
2449 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2450
2451 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2452
2453 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2454
2455 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2456
2457 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2458
2459 [BZ #14770]
2460 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2461 * sysdeps/s390/configure: Regenerate.
2462
2463 [BZ #16824]
2464 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2465 Set round-to-nearest internally to reduce error accumulation.
2466
2467 2014-04-16 Alan Modra <amodra@gmail.com>
2468
2469 [BZ #16740]
2470 [BZ #16619]
2471 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2472 * math/libm-test.inc (frexp_test_data): Add tests.
2473 * NEWS: Update fixed bug list.
2474
2475 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2476
2477 * benchtests/Makefile: Depend on libraries in build directory.
2478 (bench-math): Separate out math tests.
2479 (bench-pthread): Separate out pthread tests.
2480 (bench): Include math and pthread tests.
2481
2482 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2483
2484 [BZ #16831]
2485 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2486 _dl_debug_initialize.
2487
2488 * configure.ac: Remove SELinux header check.
2489 * configure: Regenerate.
2490 * nscd/selinux.c (perms): Array of const char* to permission names.
2491 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2492 default policy. Call string_to_security_class and string_to_av_perm to
2493 translate strings. Enforce default policy and call avs_has_perm with
2494 results of translated strings.
2495
2496 2014-04-13 David S. Miller <davem@davemloft.net>
2497
2498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2499
2500 2014-04-12 Allan McRae <allan@archlinux.org>
2501
2502 [BZ #16838]
2503 * manual/string.texi (Collation Functions): Fix qsort argument
2504 order in example.
2505 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2506
2507 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2508
2509 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2510 Make the test a no-op if there are no exceptions defined.
2511
2512 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2513
2514 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2515 enable-hardcoded-path-in-tests
2516
2517 2014-04-11 Will Newton <will.newton@linaro.org>
2518
2519 * benchtests/Makefile (extra-objs): Add json-lib.o.
2520 (bench-func): Tidy up JSON output.
2521 * benchtests/bench-skeleton.c: Include json-lib.h.
2522 (main): Use JSON library functions to do output of
2523 benchmark results.
2524 * benchtests/bench-timing-type.c (main): Output the
2525 timing type simply, leaving formatting to the user.
2526 * benchtests/json-lib.c: New file.
2527 * benchtests/json-lib.h: Likewise.
2528
2529 2014-04-11 Torvald Riegel <triegel@redhat.com>
2530
2531 [BZ #15215]
2532 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2533 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2534 memory barriers. Add comments.
2535 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2536 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2537 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2538 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2539 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2540 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2541
2542 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2543
2544 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2545 * sysdeps/s390/s390-64/configure.ac: ... this ...
2546 * sysdeps/s390/configure.ac: ... to here.
2547 * sysdeps/s390/s390-32/configure: Delete file.
2548 * sysdeps/s390/s390-64/configure: Delete file.
2549 * sysdeps/s390/configure: Regenerate.
2550
2551 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2552
2553 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2554
2555 2014-04-11 Will Newton <will.newton@linaro.org>
2556
2557 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2558 to zero if it is not defined elsewhere. (mtrim): Test
2559 the value of MALLOC_DEBUG with #if rather than #ifdef.
2560
2561 2014-04-10 Torvald Riegel <triegel@redhat.com>
2562
2563 * benchtests/pthread_once-inputs: New file.
2564 * benchtests/pthread_once-source.c: New file.
2565 * benchtests/README: Update documentation.
2566
2567 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2568 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2571 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2572 * sysdeps/x86_64/configure: Regenerated.
2573 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2574 macro.
2575 (REGISTER_SAVE_RAX): Likewise.
2576 (REGISTER_SAVE_RCX): Likewise.
2577 (REGISTER_SAVE_RDX): Likewise.
2578 (REGISTER_SAVE_RSI): Likewise.
2579 (REGISTER_SAVE_RDI): Likewise.
2580 (REGISTER_SAVE_R8): Likewise.
2581 (REGISTER_SAVE_R9): Likewise.
2582 (REGISTER_SAVE_BND0): Likewise.
2583 (REGISTER_SAVE_BND1): Likewise.
2584 (REGISTER_SAVE_BND2): Likewise.
2585 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2586 bound registers when calling _dl_fixup.
2587
2588 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2589
2590 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2591 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2592 of its definition.
2593 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2594 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2595 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2596 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2597 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2598 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2599 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2600
2601 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2602
2603 [BZ #15514]
2604 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2605 pathconf(_PC_NAME_MAX).
2606
2607 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2608
2609 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2610 Remove macro usage.
2611 (__PTHREAD_SPINS): Move definition to ...
2612 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2613 (__PTHREAD_SPINS): ... here.
2614 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2615 (__PTHREAD_SPIN): Likewise.
2616 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2617 (__PTHREAD_SPIN): Likewise.
2618 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2619 (__PTHREAD_SPIN): Likewise.
2620 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2621 (__PTHREAD_SPIN): Likewise.
2622 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2623 (__PTHREAD_SPIN): Likewise.
2624 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2625 (__PTHREAD_SPIN): Likewise.
2626 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2627 (__PTHREAD_SPIN): Likewise.
2628 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2629 (__PTHREAD_SPIN): Likewise.
2630 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2631 (__PTHREAD_SPIN): Likewise.
2632 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2633 (__PTHREAD_SPIN): Likewise.
2634 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2635 (__PTHREAD_SPIN): Likewise.
2636 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2637 (__PTHREAD_SPIN): Likewise.
2638
2639 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2640 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2641 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2642 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2643 imply folder.
2644 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2645 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2646 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2647 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2648 correct imply path.
2649 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2650 strlen symbol for non multi-arch builds.
2651 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2652 missing hidden_def and weak_alias.
2653
2654 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2655
2656 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2657
2658 2014-04-07 Will Newton <will.newton@linaro.org>
2659
2660 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2661 and contents. [!_LIBC] Remove #ifndef and contents.
2662 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2663 * string/memccpy.c (__memccpy): Use ANSI prototype.
2664 * string/memfrob.c (memfrob): Likewise.
2665 * string/strcoll.c (STRCOLL): Likewise.
2666 * string/strlen.c (strlen): Likewise.
2667 * string/strtok.c (STRTOK): Likewise.
2668 * string/strcat.c: Remove unused #include of memcopy.h.
2669 (strcat): Use ANSI prototype.
2670 * string/strchr.c: Remove unused #include of memcopy.h.
2671 (strchr): Use ANSI prototype.
2672 * string/strcmp.c: Remove unused #include of memcopy.h.
2673 (strcmp): Use ANSI prototype.
2674 * string/strcpy.c: Remove unused #include of memcopy.h.
2675 (strcpy): Use ANSI prototype.
2676
2677 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2678
2679 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2680 * config.make.in (config-extra-cppflags): Set it from
2681 libc_extra_cppflags.
2682 * configure.ac (libc_extra_cflags): Make it accumulate over
2683 configure fragments.
2684 (libc_extra_cppflags): New flag.
2685 * configure. Regenerate.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2687 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2688 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2690
2691 [BZ #16815]
2692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2693 result for FE_DOWNWARD rounding mode.
2694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2695 Likewise.
2696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2697
2698 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2699
2700 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2701 in function argument name.
2702
2703 2014-04-03 David Svoboda <svoboda@cert.org>
2704
2705 [BZ #5666]
2706 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2707 explicitly.
2708
2709 2014-04-03 Roland McGrath <roland@hack.frob.com>
2710
2711 * elf/dl-unmap-segments.h: New file.
2712 * sysdeps/generic/ldsodefs.h
2713 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2714 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2715 * elf/dl-fptr.c: Likewise.
2716 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2717 * sysdeps/aarch64/tlsdesc.c: Likewise.
2718 * sysdeps/arm/tlsdesc.c: Likewise.
2719 * sysdeps/i386/tlsdesc.c: Likewise.
2720 * sysdeps/tile/dl-runtime.c: Likewise.
2721 * sysdeps/x86_64/tlsdesc.c: Likewise.
2722 * elf/dl-load.h: New file.
2723 * elf/dl-load.c: Include it.
2724 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2725 Macros moved to dl-load.h.
2726 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2727 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2728 Use _dl_unmap_segments in place of __munmap.
2729 Break out segment-mapping loop into ...
2730 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2731
2732 2014-04-03 Will Newton <will.newton@linaro.org>
2733
2734 * elf/dl-lookup.c (do_lookup_x): Remove comment
2735 referring to nested function and move variable
2736 declarations down to before first use.
2737
2738 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2739
2740 [BZ #16799]
2741 [BZ #16800]
2742 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2743 with 0 numerator.
2744 * math/s_catanf.c (__catanf): Likewise.
2745 * math/s_catanh.c (__catanh): Likewise.
2746 * math/s_catanhf.c (__catanhf): Likewise.
2747 * math/s_catanhl.c (__catanhl): Likewise.
2748 * math/s_catanl.c (__catanl): Likewise.
2749 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2750 by positive zero when computing -Inf result.
2751 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2752 (catanh_test): Likewise.
2753 * sysdeps/i386/fpu/libm-test-ulps: Update.
2754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2755
2756 [BZ #16789]
2757 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2758 instead of using underflowing value in computing result.
2759 * math/s_clog10.c (__clog10): Likewise.
2760 * math/s_clog10f.c (__clog10f): Likewise.
2761 * math/s_clog10l.c (__clog10l): Likewise.
2762 * math/s_clogf.c (__clogf): Likewise.
2763 * math/s_clogl.c (__clogl): Likewise.
2764 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2765 (clog10_test): Likewise.
2766 * sysdeps/i386/fpu/libm-test-ulps: Update.
2767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2768
2769 2014-04-02 Alan Modra <amodra@gmail.com>
2770
2771 [BZ #16739]
2772 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2773 output when value is near a power of two. Use int64_t for lx and
2774 remove casts. Use decimal rather than hex exponent constants.
2775 Don't use long double multiplication when double will suffice.
2776 * math/libm-test.inc (nextafter_test_data): Add tests.
2777 * NEWS: Add 16739 and 16786 to bug list.
2778
2779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2780
2781 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2782
2783 2014-04-01 Will Newton <will.newton@linaro.org>
2784
2785 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2786 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2787
2788 2014-04-01 Florian Weimer <fweimer@redhat.com>
2789
2790 [BZ #13347]
2791 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2792 * nptl/tst-setuid2.c: New file.
2793 * nptl/Makefile (xtests): Add tst-setuid2.
2794
2795 2014-04-01 Alan Modra <amodra@gmail.com>
2796
2797 [BZ #16786]
2798 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2799
2800 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2801
2802 [BZ #6803]
2803 [BZ #6804]
2804 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2805 set errno as appropriate.
2806 * math/w_scalbf.c (__scalbf): Likewise.
2807 * math/w_scalbl.c (__scalbl): Likewise.
2808 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2809 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2810 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2811 Add more NaN tests.
2812
2813 [BZ #16349]
2814 * math/w_atan2.c: Include <errno.h>.
2815 (__atan2): Set errno for result underflowing to zero.
2816 * math/w_atan2f.c: Include <errno.h>.
2817 (__atan2f): Set errno for result underflowing to zero.
2818 * math/w_atan2l.c: Include <errno.h>.
2819 (__atan2l): Set errno for result underflowing to zero.
2820 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2821 tests.
2822 * math/auto-libm-test-out: Regenerated.
2823
2824 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2825
2826 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2827 Encode instruction correctly in little endian.
2828 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2829 Likewise.
2830 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2831 Likewise.
2832 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2833 Likewise.
2834 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2835 Likewise.
2836
2837 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2838
2839 [BZ #9894]
2840 * sysdeps/unix/sysv/linux/kernel-features.h
2841 [__sparc__ && !__arch64__ && !__sparc_v9__]
2842 (__ASSUME_SET_ROBUST_LIST): Do not define.
2843 [__sparc__ && !__arch64__ && !__sparc_v9__]
2844 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2845 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2846 Likewise.
2847 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2848 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2849 (__ASSUME_REQUEUE_PI): Likewise.
2850 (__ASSUME_SET_ROBUST_LIST): Likewise.
2851 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2852 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2853 Undefine.
2854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2855 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2856 Likewise.
2857 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2858 Likewise.
2859 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2860 Likewise.
2861 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2862 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2863 Undefine.
2864 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2865 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2866 Likewise.
2867
2868 [BZ #16648]
2869 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2870 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2871 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2872
2873 2014-03-31 Will Newton <will.newton@linaro.org>
2874
2875 * benchtests/Makefile (bench): Add ffs and ffsll to list
2876 of tests.
2877 * benchtests/ffs-inputs: New file.
2878 * benchtests/ffsll-inputs: Likewise.
2879
2880 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2881
2882 [BZ #16770]
2883 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2884 too large before casting to int.
2885 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2886 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2887 * math/libm-test.inc (scalb_test_data): Add more tests.
2888
2889 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2890
2891 * benchtests/Makefile (DETAILED_OPT): New make option.
2892 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2893 set.
2894 * benchtests/bench-skeleton.c: Include stdbool.h.
2895 (main): Store and print timings per input.
2896 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2897 member to each argument value.
2898 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2899 (_print_arg_data): Initialize per-input timing to 0.
2900
2901 * benchtests/Makefile (timing-type): New binary.
2902 (bench-clean): Also remove bench-timing-type.
2903 (bench): New target for timing-type.
2904 (bench-func): Print output in JSON format.
2905 * benchtests/bench-skeleton.c (main): Print output in JSON
2906 format.
2907 * benchtests/bench-timing-type.c: New file.
2908 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2909 (TIMING_PRINT_STATS): Remove.
2910 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2911 name separately.
2912
2913 * benchtests/bench-modf.c: Remove.
2914 * benchtests/modf-inputs: New inputs file.
2915
2916 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2917
2918 [BZ #16362]
2919 * math/s_clog10.c (M_PI_LOG10E): New macro.
2920 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2921 imaginary parts are 0.
2922 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2923 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2924 imaginary parts are 0.
2925 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2926 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2927 imaginary parts are 0.
2928 * math/libm-test.inc (clog10_test_data): Update expected results
2929 for when real and imaginary parts are 0.
2930
2931 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2932
2933 * elf/dl-load.c: Finish conversion of __builtin_expect into
2934 __glibc_{un}likely.
2935
2936 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2937
2938 [BZ #16348]
2939 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2940 1+x for argument with exponent below -67.
2941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2942 Likewise.
2943 * math/auto-libm-test-in: Add more tests of exp.
2944 * math/auto-libm-test-out: Regenerated.
2945
2946 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2947
2948 [BZ #16759]
2949 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2950 (nscd_getnetgrent): Use it.
2951
2952 [BZ #16760]
2953 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2954 of stpcpy.
2955
2956 2014-03-27 Andi Kleen <ak@linux.intel.com>
2957
2958 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2959 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2960 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2961 (lll_robust_unlock): Remove out of line section. Use cfi
2962 intrinsics.
2963 (LLL_STUB_UNWIND_INFO*): Remove.
2964 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2965 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2966 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2967 (lll_robust_unlock): Remove out of line section. Use cfi
2968 intrinsics.
2969 (LLL_STUB_UNWIND_INFO*): Remove.
2970
2971 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2972
2973 [BZ #16758]
2974 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2975 blank values.
2976
2977 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2978
2979 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2980
2981 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2982
2983 [BZ #16198]
2984 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2985 fnstenv.
2986 * math/test-fenv-preserve.c: New file.
2987 * math/Makefile (tests): Add test-fenv-preserve.
2988
2989 2014-03-26 Will Newton <will.newton@linaro.org>
2990
2991 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2992
2993 2014-03-25 Roland McGrath <roland@hack.frob.com>
2994
2995 * scripts/versionlist.awk: Partition the version sets and emit all
2996 GLIBC_* (sorted) before all others (sorted).
2997
2998 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2999
3000 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3001 GLIBC_2.2.5 version.
3002
3003 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004
3005 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3006 calls.
3007
3008 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3009 previous change.
3010
3011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3012
3013 2014-03-25 Andreas Schwab <schwab@suse.de>
3014
3015 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3016 label to be used after in6ailist is initialized.
3017
3018 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3019
3020 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3021 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3022
3023 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3024
3025 [BZ #16357]
3026 [BZ #16599]
3027 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3028 min_plus_half.
3029 (fp_formats): Update initializers.
3030 (init_fp_formats): Initialize new field.
3031 (output_for_one_input_case): Allow underflow for results up to
3032 min_plus_half.
3033 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3034 * math/auto-libm-test-in: Don't mark some underflows from asin and
3035 atanh as spurious.
3036 * math/auto-libm-test-out: Regenerated.
3037 * sysdeps/i386/fpu/libm-test-ulps: Update.
3038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3039
3040 2014-03-25 Andreas Schwab <schwab@suse.de>
3041
3042 * libio/Makefile (tst-ftell-partial-wide-ENV)
3043 (tst-ftell-active-handler-ENV): Define.
3044
3045 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3046
3047 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3048
3049 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3050
3051 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3052
3053 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3054
3055 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3056 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3057 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3058
3059 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3060
3061 [BZ #16634]
3062 * elf/dl-load.c (open_verify): Add mode parameter.
3063 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3064 (open_path): Change from boolean 'secure' to complete flag 'mode'
3065 (_dl_map_object): Adjust.
3066 * elf/Makefile (tests): Add tst-dlopen-aout.
3067 * elf/tst-dlopen-aout.c: New test.
3068
3069 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3070
3071 [BZ #16714]
3072 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3073 (struct stat): Rename member pad0 to __glibc_reserved0.
3074
3075 [BZ #16712]
3076 * sysdeps/s390/s390-32/bits/wordsize.h
3077 (__WORDSIZE32_SIZE_ULONG): New define.
3078 * sysdeps/s390/s390-64/bits/wordsize.h
3079 (__WORDSIZE32_SIZE_ULONG): Likewise.
3080 * sysdeps/generic/stdint.h (SIZE_MAX):
3081 Define as UL if __WORDSIZE32_SIZE_ULONG.
3082
3083 [BZ #16713]
3084 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3085 (__glibc_reserved0): New variable.
3086 (sa_flags): Change type to int.
3087
3088 * posix/Makefile (before-compile): Use += before-compile instead
3089 of a :=.
3090
3091 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3092 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3093
3094 2014-03-20 Andreas Schwab <schwab@suse.de>
3095
3096 [BZ #16743]
3097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3098 non-matching result from nscd.
3099
3100 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3101
3102 * scripts/bench.py: Moved to ...
3103 * benchtests/scripts/bench.py: ... here.
3104 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3105
3106 2014-03-24 Andreas Schwab <schwab@suse.de>
3107
3108 [BZ #16002]
3109 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3110 alloca_account and account alloca use for struct in6ailist.
3111
3112 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3113
3114 [BZ #16284]
3115 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3116 rounding mode to recompute results that overflow to infinity or
3117 underflow to zero.
3118 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3119 bug 16284.
3120 * math/auto-libm-test-out: Regenerated.
3121 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3122 (ccosh_test): Likewise.
3123 (csin_test_data): Use plus_oflow.
3124 (csin_test): Use ALL_RM_TEST.
3125 (csinh_test_data): Use plus_oflow.
3126 (csinh_test): Use ALL_RM_TEST.
3127 * sysdeps/i386/fpu/libm-test-ulps: Update.
3128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3129
3130 2014-03-21 Joseph Myers <joseph@codesourcery.com>
3131
3132 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3133 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3134 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3135
3136 [BZ #16731]
3137 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3138 when x - 1 is zero.
3139 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3140 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3141 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3143 argument is 1.
3144 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3145 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3146 zero.
3147 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3148 * sysdeps/i386/fpu/libm-test-ulps: Update.
3149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3150
3151 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3152
3153 * scripts/bench.pl: Remove file.
3154 * scripts/bench.py: New benchmark script.
3155 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3156 * benchtests/README: Mention python dependency.
3157 * scripts/pylintrc: New file.
3158 * scripts/pylint: New file.
3159
3160 * bits/mathdef.h: Use #ifdef instead of #if.
3161 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3162 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3163 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3164 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3165 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3166 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3167
3168 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3169 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3170
3171 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3173 and strpbrk-ppc64 objects.
3174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3175 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3176 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3177 multiarch strpbrk for POWER7.
3178 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3179 multiarch strpbrk for PPC64.
3180 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3181 ifunc selector.
3182 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3183 strpbrk for POWER7.
3184
3185 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3186
3187 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3188 (atan_test): Likewise.
3189 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3190 (atanh_test): Use ALL_RM_TEST.
3191 (atan2_test_data): Likewise.
3192 (cabs_test): Likewise.
3193 (cacosh_test): Likewise.
3194 (carg_test): Likewise.
3195 (casin_test): Likewise.
3196 (casinh_test): Likewise.
3197 (cbrt_test): Likewise.
3198 (csqrt_test): Likewise.
3199 (erf_test): Likewise.
3200 (erfc_test): Likewise.
3201 (pow10_test): Likewise.
3202 (exp2_test): Likewise.
3203 (hypot_test): Likewise.
3204 (j0_test): Likewise.
3205 (j1_test): Likewise.
3206 (lgamma_test): Likewise.
3207 (gamma_test): Likewise.
3208 (sincos_test): Likewise.
3209 (tanh_test): Likewise.
3210 (y0_test): Likewise.
3211 (y1_test): Likewise.
3212 * sysdeps/i386/fpu/libm-test-ulps: Update.
3213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3214
3215 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3216
3217 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3219 and strcspn-ppc64 objects.
3220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3221 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3222 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3223 multiarch strcspn for POWER7.
3224 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3225 multiarch strcspn for PPC64.
3226 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3227 ifunc selector.
3228 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3229 strcspn for POWER7.
3230
3231 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3232
3233 * math/gen-libm-test.pl (generate_testfile): Expect only function
3234 name as argument to AUTO_TESTS_* and pass results for all rounding
3235 modes to parse_args.
3236 (parse_auto_input): Separate inputs of automatic tests from
3237 outputs before storing in %auto_tests.
3238 * math/libm-test.inc (acos_test_data): Update call to
3239 AUTO_TESTS_f_f.
3240 (acos_test): Use ALL_RM_TEST.
3241 (acos_tonearest_test_data): Remove.
3242 (acos_test_tonearest): Likewise.
3243 (acos_towardzero_test_data): Likewise.
3244 (acos_test_towardzero): Likewise.
3245 (acos_downward_test_data): Likewise.
3246 (acos_test_downward): Likewise.
3247 (acos_upward_test_data): Likewise.
3248 (acos_test_upward): Likewise.
3249 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3250 (asin_test_data): Likewise.
3251 (asin_test): Use ALL_RM_TEST.
3252 (asin_tonearest_test_data): Remove.
3253 (asin_test_tonearest): Likewise.
3254 (asin_towardzero_test_data): Likewise.
3255 (asin_test_towardzero): Likewise.
3256 (asin_downward_test_data): Likewise.
3257 (asin_test_downward): Likewise.
3258 (asin_upward_test_data): Likewise.
3259 (asin_test_upward): Likewise.
3260 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3261 (atan_test_data): Likewise.
3262 (atanh_test_data): Likewise.
3263 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3264 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3265 (carg_test_data): Likewise.
3266 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3267 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3268 (ccosh_test_data): Likewise.
3269 (cexp_test_data): Likewise.
3270 (clog_test_data): Likewise.
3271 (clog10_test_data): Likewise.
3272 (cos_test_data): Update call to AUTO_TESTS_f_f.
3273 (cos_test): Use ALL_RM_TEST.
3274 (cos_tonearest_test_data): Remove.
3275 (cos_test_tonearest): Likewise.
3276 (cos_towardzero_test_data): Likewise.
3277 (cos_test_towardzero): Likewise.
3278 (cos_downward_test_data): Likewise.
3279 (cos_test_downward): Likewise.
3280 (cos_upward_test_data): Likewise.
3281 (cos_test_upward): Likewise.
3282 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3283 (cosh_test): Use ALL_RM_TEST.
3284 (cosh_tonearest_test_data): Remove.
3285 (cosh_test_tonearest): Likewise.
3286 (cosh_towardzero_test_data): Likewise.
3287 (cosh_test_towardzero): Likewise.
3288 (cosh_downward_test_data): Likewise.
3289 (cosh_test_downward): Likewise.
3290 (cosh_upward_test_data): Likewise.
3291 (cosh_test_upward): Likewise.
3292 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3293 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3294 (ctan_test_data): Likewise.
3295 (ctan_test): Use ALL_RM_TEST.
3296 (ctan_tonearest_test_data): Remove.
3297 (ctan_test_tonearest): Likewise.
3298 (ctan_towardzero_test_data): Likewise.
3299 (ctan_test_towardzero): Likewise.
3300 (ctan_downward_test_data): Likewise.
3301 (ctan_test_downward): Likewise.
3302 (ctan_upward_test_data): Likewise.
3303 (ctan_test_upward): Likewise.
3304 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3305 (ctanh_test): Use ALL_RM_TEST.
3306 (ctanh_tonearest_test_data): Remove.
3307 (ctanh_test_tonearest): Likewise.
3308 (ctanh_towardzero_test_data): Likewise.
3309 (ctanh_test_towardzero): Likewise.
3310 (ctanh_downward_test_data): Likewise.
3311 (ctanh_test_downward): Likewise.
3312 (ctanh_upward_test_data): Likewise.
3313 (ctanh_test_upward): Likewise.
3314 (erf_test_data): Update call to AUTO_TESTS_f_f.
3315 (erfc_test_data): Likewise.
3316 (exp_test_data): Likewise.
3317 (exp_test): Use ALL_RM_TEST.
3318 (exp_tonearest_test_data): Remove.
3319 (exp_test_tonearest): Likewise.
3320 (exp_towardzero_test_data): Likewise.
3321 (exp_test_towardzero): Likewise.
3322 (exp_downward_test_data): Likewise.
3323 (exp_test_downward): Likewise.
3324 (exp_upward_test_data): Likewise.
3325 (exp_test_upward): Likewise.
3326 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3327 (exp10_test): Use ALL_RM_TEST.
3328 (exp10_tonearest_test_data): Remove.
3329 (exp10_test_tonearest): Likewise.
3330 (exp10_towardzero_test_data): Likewise.
3331 (exp10_test_towardzero): Likewise.
3332 (exp10_downward_test_data): Likewise.
3333 (exp10_test_downward): Likewise.
3334 (exp10_upward_test_data): Likewise.
3335 (exp10_test_upward): Likewise.
3336 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3337 (expm1_test_data): Likewise.
3338 (expm1_test): Use ALL_RM_TEST.
3339 (expm1_tonearest_test_data): Remove.
3340 (expm1_test_tonearest): Likewise.
3341 (expm1_towardzero_test_data): Likewise.
3342 (expm1_test_towardzero): Likewise.
3343 (expm1_downward_test_data): Likewise.
3344 (expm1_test_downward): Likewise.
3345 (expm1_upward_test_data): Likewise.
3346 (expm1_test_upward): Likewise.
3347 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3348 (fma_test): Use ALL_RM_TEST.
3349 (fma_towardzero_test_data): Remove.
3350 (fma_test_towardzero): Likewise.
3351 (fma_downward_test_data): Likewise.
3352 (fma_test_downward): Likewise.
3353 (fma_upward_test_data): Likewise.
3354 (fma_test_upward): Likewise.
3355 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3356 (j0_test_data): Update call to AUTO_TESTS_f_f.
3357 (j1_test_data): Likewise.
3358 (jn_test_data): Update call to AUTO_TESTS_if_f.
3359 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3360 (log_test_data): Update call to AUTO_TESTS_f_f.
3361 (log10_test_data): Likewise.
3362 (log1p_test_data): Likewise.
3363 (log2_test_data): Likewise.
3364 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3365 (pow_tonearest_test_data): Likewise.
3366 (sin_test_data): Update call to AUTO_TESTS_f_f.
3367 (sin_test): Use ALL_RM_TEST.
3368 (sin_tonearest_test_data): Remove.
3369 (sin_test_tonearest): Likewise.
3370 (sin_towardzero_test_data): Likewise.
3371 (sin_test_towardzero): Likewise.
3372 (sin_downward_test_data): Likewise.
3373 (sin_test_downward): Likewise.
3374 (sin_upward_test_data): Likewise.
3375 (sin_test_upward): Likewise.
3376 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3377 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3378 (sinh_test): Use ALL_RM_TEST.
3379 (sinh_tonearest_test_data): Remove.
3380 (sinh_test_tonearest): Likewise.
3381 (sinh_towardzero_test_data): Likewise.
3382 (sinh_test_towardzero): Likewise.
3383 (sinh_downward_test_data): Likewise.
3384 (sinh_test_downward): Likewise.
3385 (sinh_upward_test_data): Likewise.
3386 (sinh_test_upward): Likewise.
3387 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3388 (sqrt_test): Use ALL_RM_TEST.
3389 (sqrt_tonearest_test_data): Remove.
3390 (sqrt_test_tonearest): Likewise.
3391 (sqrt_towardzero_test_data): Likewise.
3392 (sqrt_test_towardzero): Likewise.
3393 (sqrt_downward_test_data): Likewise.
3394 (sqrt_test_downward): Likewise.
3395 (sqrt_upward_test_data): Likewise.
3396 (sqrt_test_upward): Likewise.
3397 (tan_test_data): Update call to AUTO_TESTS_f_f.
3398 (tan_test): Use ALL_RM_TEST.
3399 (tan_tonearest_test_data): Remove.
3400 (tan_test_tonearest): Likewise.
3401 (tan_towardzero_test_data): Likewise.
3402 (tan_test_towardzero): Likewise.
3403 (tan_downward_test_data): Likewise.
3404 (tan_test_downward): Likewise.
3405 (tan_upward_test_data): Likewise.
3406 (tan_test_upward): Likewise.
3407 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3408 (tgamma_test_data): Likewise.
3409 (y0_test_data): Likewise.
3410 (y1_test_data): Likewise.
3411 (yn_test_data): Update call to AUTO_TESTS_if_f.
3412 (main): Do not call removed functions.
3413
3414 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3415
3416 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3417 (ldexp_test_data): Remove.
3418 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3419 scalbn_test_data.
3420 (scalb_test): Use ALL_RM_TEST.
3421
3422 2014-03-19 Andreas Schwab <schwab@suse.de>
3423
3424 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3425
3426 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3427
3428 [BZ #16649]
3429 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3430 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3431 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3432 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3433 (__ASSUME_PREADV): Undefine.
3434 (__ASSUME_PWRITEV): Likewise.
3435
3436 2014-03-18 Roland McGrath <roland@hack.frob.com>
3437
3438 * bits/mman-linux.h: Add comment about non-Linux use.
3439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3440 bits/mman-linux.h resting place.
3441
3442 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3443 * bits/mman-linux.h: ... here.
3444
3445 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3446
3447 * conform/conformtest.pl: Add standard definition when calling C
3448 preprocessor on data files.
3449 (checknamespace): Remove unused variable.
3450
3451 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3452
3453 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3454 minus_oflow, plus_uflow and minus_uflow in expected results.
3455 * math/libm-test.inc (scalbn_test_data): Add more tests of
3456 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3457 minus_uflow.
3458 (scalbn_test): Use ALL_RM_TEST.
3459 (scalbln_test_data): Add more tests of negative arguments. Use
3460 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3461 (scalbln_test): Use ALL_RM_TEST.
3462
3463 2014-03-18 Roland McGrath <roland@hack.frob.com>
3464
3465 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3466
3467 2014-03-18 Will Newton <will.newton@linaro.org>
3468
3469 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3470 inaccurate comment.
3471
3472 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3473
3474 * Makerules [!subdir] (check-abi): Exit with error status if a
3475 test failed.
3476
3477 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3478
3479 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3480 for rint. Include results for all rounding modes.
3481 (nearbyint_test): Use ALL_RM_TEST.
3482 (rint_test_data): Include all tests used for nearbyint.
3483
3484 2014-03-17 Will Newton <will.newton@linaro.org>
3485
3486 * nptl/sysdeps/pthread/pthread.h: Revert previous
3487 change.
3488
3489 * sysdeps/generic/ldsodefs.h: Revert previous
3490 change.
3491
3492 * libio/genops.c: Revert previous change.
3493 * libio/libioP.h: Likewise.
3494 * stdio-common/vfprintf.c: Likewise.
3495
3496 * sysdeps/generic/math_private.h: Revert previous
3497 change.
3498
3499 * sysdeps/generic/math_private.h: Check whether
3500 HAVE_RM_CTX is defined with #ifdef rather
3501 than #if.
3502
3503 * argp/argp-fmtstream.h: Check whether
3504 __STRICT_ANSI__ is defined with #ifdef rather
3505 than #if.
3506 * argp/argp.h: Likewise.
3507
3508 * libio/genops.c: Check whether
3509 _IO_JUMPS_OFFSET is defined with #ifdef rather
3510 than #if.
3511 * libio/libioP.h: Likewise.
3512 * stdio-common/vfprintf.c: Likewise.
3513
3514 * sysdeps/generic/ldsodefs.h: Check whether
3515 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3516 than #if.
3517
3518 * nptl/sysdeps/pthread/pthread.h: Check
3519 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3520 its value.
3521
3522 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3523
3524 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3525 setting O_APPEND.
3526 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3527 test case.
3528
3529 [BZ #16680]
3530 * libio/fileops.c (_IO_file_open): Seek to end of file but
3531 don't cache the offset.
3532 (get_file_offset): Remove function.
3533 (do_ftell): Use cached offset when available.
3534 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3535 don't cache the offset.
3536 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3537 case.
3538 (do_one_test): Call it.
3539 (do_ftell_test): Fix up expected old offset for a+ mode.
3540 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3541 available.
3542
3543 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3544 up test status with function return status.
3545 (do_write_test): Likewise.
3546 (do_append_test): Likewise.
3547
3548 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3549 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3550 Remove.
3551
3552 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3553
3554 * math/gen-libm-test.pl (parse_args): Handle results specified for
3555 each rounding mode separately.
3556 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3557 tests and results from lrint_tonearest_test_data,
3558 lrint_towardzero_test_data, lrint_downward_test_data and
3559 lrint_upward_test_data.
3560 (lrint_test): Use ALL_RM_TEST.
3561 (lrint_tonearest_test_data): Remove.
3562 (lrint_test_tonearest): Likewise.
3563 (lrint_towardzero_test_data): Likewise.
3564 (lrint_test_towardzero): Likewise.
3565 (lrint_downward_test_data): Likewise.
3566 (lrint_test_downward): Likewise.
3567 (lrint_upward_test_data): Likewise.
3568 (lrint_test_upward): Likewise.
3569 (llrint_test_data): Merge in per-rounding-mode tests and results
3570 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3571 llrint_downward_test_data and llrint_upward_test_data.
3572 (llrint_test): Use ALL_RM_TEST.
3573 (llrint_tonearest_test_data): Remove.
3574 (llrint_test_tonearest): Likewise.
3575 (llrint_towardzero_test_data): Likewise.
3576 (llrint_test_towardzero): Likewise.
3577 (llrint_downward_test_data): Likewise.
3578 (llrint_test_downward): Likewise.
3579 (llrint_upward_test_data): Likewise.
3580 (llrint_test_upward): Likewise.
3581 (rint_test_data): Merge in per-rounding-mode tests and results
3582 from rint_tonearest_test_data, rint_towardzero_test_data,
3583 rint_downward_test_data and rint_upward_test_data. Add
3584 per-rounding-mode results for tests not in those arrays.
3585 (rint_test): Use ALL_RM_TEST.
3586 (rint_tonearest_test_data): Remove.
3587 (rint_test_tonearest): Likewise.
3588 (rint_towardzero_test_data): Likewise.
3589 (rint_test_towardzero): Likewise.
3590 (rint_downward_test_data): Likewise.
3591 (rint_test_downward): Likewise.
3592 (rint_upward_test_data): Likewise.
3593 (rint_test_upward): Likewise.
3594 (main): Don't call removed functions.
3595
3596 2014-03-14 Roland McGrath <roland@hack.frob.com>
3597
3598 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3599 "Compiled on ..." crapola. It is anti-useful.
3600
3601 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3602
3603 * scripts/evaluate-test.sh: Handle fourth argument to determine
3604 whether test run should stop on failure.
3605 * Makeconfig (stop-on-test-failure): New variable.
3606 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3607 $(stop-on-test-failure).
3608 * Makefile (tests): Give a summary of results from testing and
3609 exit with failure status if they include an ERROR or FAIL.
3610 (xtests): Likewise.
3611 * manual/install.texi (Configuring and compiling): Mention
3612 stop-on-test-failure=y.
3613 * INSTALL: Regenerated.
3614
3615 2014-03-14 Roland McGrath <roland@hack.frob.com>
3616
3617 * scripts/versionlist.awk: New file.
3618 * Makerules [$(build-shared) = yes]
3619 (postclean-generated): Add Versions.def, not Versions.def.v and
3620 Versions.def.v.i.
3621 ($(common-objpfx)Versions.def.v.i): Target removed.
3622 ($(common-objpfx)Versions.def): New target.
3623 ($(common-objpfx)Versions.all): Depend on that rather that
3624 $(common-objpfx)Versions.def.v.
3625 * Versions.def: File removed.
3626
3627 * Makeconfig (+gccwarn): Add -Wundef.
3628 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3629 a dl-sysdep.h breaking its contract.
3630 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3631 * include/stackinfo.h: New file.
3632 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3633 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3634 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3635 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3636 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3637 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3638 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3639 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3640 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3641 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3642 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3643 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3644 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3645 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3646 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3647
3648 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3649
3650 [BZ #16707]
3651 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3652 implementation.
3653 * math/libm-test.inc (round_test_data): Add more tests.
3654
3655 [BZ #16706]
3656 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3657 implementation.
3658 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3659
3660 [BZ #16701]
3661 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3662 implementation.
3663 * math/libm-test.inc (ceil_test_data): Add more tests.
3664
3665 * math/libm-test.inc (trunc_test_data): Add more tests related to
3666 BZ#16414.
3667
3668 2014-03-14 Roland McGrath <roland@hack.frob.com>
3669
3670 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3671 with #if rather than #ifdef.
3672 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3673
3674 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3675
3676 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3677 first. Disable AVX-512 GCC support if assembler doesn't support
3678 it.
3679 * sysdeps/x86_64/configure: Regenerated.
3680
3681 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3682
3683 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3684 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3685 (__old_pthread_attr_setstack): Likewise.
3686 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3687 [!_STACK_GROWS_DOWN]: Likewise.
3688
3689 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3690
3691 * config.make.in (have-bash2): Delete.
3692 * configure.ac (libc_cv_have_bash2): Delete.
3693 * configure: Regenerate.
3694 * elf/Makefile (common-ldd-rewrite): Rename to ...
3695 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3696 (sh-ldd-rewrite): Delete.
3697 (bash-ldd-rewrite): Delete.
3698 (have-bash2): Delete checks.
3699 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3700 ldd-rewrite.
3701
3702 * config.make.in (have-ksh): Delete.
3703 (KSH): Delete.
3704 * configure.ac (libc_cv_have_ksh): Delete.
3705 * configure: Regenerate.
3706
3707 * elf/Makefile: Delete $(have-ksh) check.
3708 ($(objpfx)sotruss): Change KSH to BASH.
3709 * elf/sotruss.ksh: Rename to ...
3710 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3711 function style to match POSIX. Drop ksh vim mode setting.
3712
3713 * manual/time.texi (Specifying the Time Zone with TZ): Change
3714 Tuesday to Thursday.
3715
3716 * debug/tst-longjmp_chk2.c: Update header comment.
3717 (stackoverflow_handler): Add comment. Call assert on pass value.
3718
3719 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3720
3721 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3722 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3723 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3724 (La_x86_64_vector): Add zmm.
3725 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3726 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3727 ($(objpfx)tst-audit10): New target.
3728 ($(objpfx)tst-audit10.out): Likewise.
3729 (tst-audit10-ENV): New.
3730 (AVX512-CFLAGS): Likewise.
3731 (CFLAGS-tst-audit10.c): Likewise.
3732 (CFLAGS-tst-auditmod10a.c): Likewise.
3733 (CFLAGS-tst-auditmod10b.c): Likewise.
3734 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3735 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3736 * sysdeps/x86_64/configure: Regenerated.
3737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3738 AVX-512 zmm register support.
3739 (_dl_x86_64_save_sse): Likewise.
3740 (_dl_x86_64_restore_sse): Likewise.
3741 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3742 size vector registers.
3743 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3744 (ZMM_SIZE): Likewise.
3745 * sysdeps/x86_64/tst-audit10.c: New file.
3746 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3747 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3748
3749 2014-03-13 Roland McGrath <roland@hack.frob.com>
3750
3751 * configure.ac (HAVE_EHDR_START): New check.
3752 * configure: Regenerated.
3753 * config.h.in (HAVE_EHDR_START): New #undef.
3754 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3755 assuming the lowest-addressed segment maps the start of the file.
3756
3757 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3758
3759 * INSTALL: Regenerated.
3760
3761 2014-03-13 Will Newton <will.newton@linaro.org>
3762
3763 * manual/setjmp.texi (System V contexts): Improve
3764 clarity and grammar of documentation.
3765
3766 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3767
3768 [BZ #16381]
3769 * elf/Makefile (tests): Add tst-pie2.
3770 (tests-pie): Add tst-pie2.
3771 * elf/tst-pie2.c: New file.
3772 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3773 for ET_EXEC.
3774 * elf/rtld.c (map_doit): Load executable as lt_executable.
3775 (dl_main): Likewise.
3776
3777 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3778
3779 [BZ #16642]
3780 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3781 (__ASSUME_PSELECT): Undefine.
3782
3783 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3784
3785 [BZ #16689]
3786 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3787 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3788 static build.
3789 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3790 selector for static builds.
3791
3792 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3793
3794 [BZ #16695]
3795 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3796 key in the buffer.
3797
3798 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3799
3800 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3801 IFUNC selector for static builds.
3802
3803 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3804
3805 * sysdeps/mips/math_private.h [__mips_hard_float]
3806 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3807 libc_feresetround_mips_ctx.
3808 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3809 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3810 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3811
3812 [BZ #16677]
3813 * math/s_nextafter.c (__nextafter): Do not return value from
3814 overflowing computation.
3815 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3816 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3817 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3818 Likewise.
3819 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3820 Likewise.
3821 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3822 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3823
3824 2014-03-11 Roland McGrath <roland@hack.frob.com>
3825
3826 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3827 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3828 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3829 the new mov targetting sp.
3830
3831 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3832
3833 [BZ #16683]
3834 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3835 Define it for static builds as well.
3836 (NO_BZERO_IMPL): Likewise.
3837
3838 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3839
3840 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3841 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3842 multiarch strspn for PPC64.
3843 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3844 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3846 (__libc_ifunc_impl_list): Likewise.
3847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3848 multiarch optimizations
3849 * string/strspn.c (strspn): Using macro to redefine symbol name.
3850
3851 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3852 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3853
3854 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3855 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3856 multiarch strncat for PPC64.
3857 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3858 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3860 (__libc_ifunc_impl_list): Likewise.
3861 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3862 multiarch optimizations
3863
3864 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3865
3866 [BZ #16639]
3867 * nscd/nscd.service: Make service type forking.
3868
3869 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3870
3871 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3872 sign in non default rounding modes.
3873 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3874
3875 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3876
3877 * math/libm-test.inc (ALL_RM_TEST): New macro.
3878 (ceil_test): Use ALL_RM_TEST.
3879 (cimag_test): Likewise.
3880 (conj_test): Likewise.
3881 (copysign_test): Likewise.
3882 (cproj_test): Likewise.
3883 (creal_test): Likewise.
3884 (fabs_test): Likewise.
3885 (floor_test): Likewise.
3886 (fmax_test): Likewise.
3887 (fmin_test): Likewise.
3888 (fmod_test): Likewise.
3889 (fpclassify_test): Likewise.
3890 (frexp_test): Likewise.
3891 (ilogb_test): Likewise.
3892 (isfinite_test): Likewise.
3893 (finite_test): Likewise.
3894 (isgreater_test): Likewise.
3895 (isgreaterequal_test): Likewise.
3896 (isinf_test): Likewise.
3897 (isless_test): Likewise.
3898 (islessequal_test): Likewise.
3899 (islessgreater_test): Likewise.
3900 (isnan_test): Likewise.
3901 (isnormal_test): Likewise.
3902 (issignaling_test): Likewise.
3903 (isunordered_test): Likewise.
3904 (logb_test): Likewise.
3905 (logb_downward_test_data): Remove.
3906 (logb_test_downward): Likewise.
3907 (lround_test): Use ALL_RM_TEST.
3908 (llround_test): Likewise.
3909 (modf_test): Likewise.
3910 (nexttoward_test): Likewise.
3911 (remainder_test): Likewise.
3912 (drem_test): Likewise.
3913 (remainder_tonearest_test_data): Likewise.
3914 (remainder_test_tonearest): Likewise.
3915 (drem_test_tonearest): Likewise.
3916 (remainder_towardzero_test_data): Likewise.
3917 (remainder_test_towardzero): Likewise.
3918 (drem_test_towardzero): Likewise.
3919 (remainder_downward_test_data): Likewise.
3920 (remainder_test_downward): Likewise.
3921 (drem_test_downward): Likewise.
3922 (remainder_upward_test_data): Likewise.
3923 (remainder_test_upward): Likewise.
3924 (drem_test_upward): Likewise.
3925 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3926 (round_test): Use ALL_RM_TEST.
3927 (signbit_test): Likewise.
3928 (trunc_test): Likewise.
3929 (significand_test): Likewise.
3930 (main): Don't call removed functions.
3931
3932 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3933
3934 [BZ #16674]
3935 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3936 || __USE_XOPEN2K8].
3937 (ILL_ILLOPN): Likewise.
3938 (ILL_ILLADR): Likewise.
3939 (ILL_ILLTRP): Likewise.
3940 (ILL_PRVOPC): Likewise.
3941 (ILL_PRVREG): Likewise.
3942 (ILL_COPROC): Likewise.
3943 (ILL_BADSTK): Likewise.
3944 (FPE_INTDIV): Likewise.
3945 (FPE_INTOVF): Likewise.
3946 (FPE_FLTDIV): Likewise.
3947 (FPE_FLTOVF): Likewise.
3948 (FPE_FLTUND): Likewise.
3949 (FPE_FLTRES): Likewise.
3950 (FPE_FLTINV): Likewise.
3951 (FPE_FLTSUB): Likewise.
3952 (SEGV_MAPERR): Likewise.
3953 (SEGV_ACCERR): Likewise.
3954 (BUS_ADRALN): Likewise.
3955 (BUS_ADRERR): Likewise.
3956 (BUS_OBJERR): Likewise.
3957 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3958 (TRAP_TRACE): Likewise.
3959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3960 __USE_XOPEN2K8].
3961 (CLD_KILLED): Likewise.
3962 (CLD_DUMPED): Likewise.
3963 (CLD_TRAPPED): Likewise.
3964 (CLD_STOPPED): Likewise.
3965 (CLD_CONTINUED): Likewise.
3966 (POLL_IN): Likewise.
3967 (POLL_OUT): Likewise.
3968 (POLL_MSG): Likewise.
3969 (POLL_ERR): Likewise.
3970 (POLL_PRI): Likewise.
3971 (POLL_HUP): Likewise.
3972 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3973 Likewise.
3974 (ILL_ILLOPN): Likewise.
3975 (ILL_ILLADR): Likewise.
3976 (ILL_ILLTRP): Likewise.
3977 (ILL_PRVOPC): Likewise.
3978 (ILL_PRVREG): Likewise.
3979 (ILL_COPROC): Likewise.
3980 (ILL_BADSTK): Likewise.
3981 (FPE_INTDIV): Likewise.
3982 (FPE_INTOVF): Likewise.
3983 (FPE_FLTDIV): Likewise.
3984 (FPE_FLTOVF): Likewise.
3985 (FPE_FLTUND): Likewise.
3986 (FPE_FLTRES): Likewise.
3987 (FPE_FLTINV): Likewise.
3988 (FPE_FLTSUB): Likewise.
3989 (SEGV_MAPERR): Likewise.
3990 (SEGV_ACCERR): Likewise.
3991 (BUS_ADRALN): Likewise.
3992 (BUS_ADRERR): Likewise.
3993 (BUS_OBJERR): Likewise.
3994 (BUS_MCEERR_AR): Likewise.
3995 (BUS_MCEERR_AO): Likewise.
3996 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3997 (TRAP_TRACE): Likewise.
3998 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3999 __USE_XOPEN2K8].
4000 (CLD_KILLED): Likewise.
4001 (CLD_DUMPED): Likewise.
4002 (CLD_TRAPPED): Likewise.
4003 (CLD_STOPPED): Likewise.
4004 (CLD_CONTINUED): Likewise.
4005 (POLL_IN): Likewise.
4006 (POLL_OUT): Likewise.
4007 (POLL_MSG): Likewise.
4008 (POLL_ERR): Likewise.
4009 (POLL_PRI): Likewise.
4010 (POLL_HUP): Likewise.
4011 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4012 (ILL_ILLOPN): Likewise.
4013 (ILL_ILLADR): Likewise.
4014 (ILL_ILLTRP): Likewise.
4015 (ILL_PRVOPC): Likewise.
4016 (ILL_PRVREG): Likewise.
4017 (ILL_COPROC): Likewise.
4018 (ILL_BADSTK): Likewise.
4019 (FPE_INTDIV): Likewise.
4020 (FPE_INTOVF): Likewise.
4021 (FPE_FLTDIV): Likewise.
4022 (FPE_FLTOVF): Likewise.
4023 (FPE_FLTUND): Likewise.
4024 (FPE_FLTRES): Likewise.
4025 (FPE_FLTINV): Likewise.
4026 (FPE_FLTSUB): Likewise.
4027 (SEGV_MAPERR): Likewise.
4028 (SEGV_ACCERR): Likewise.
4029 (BUS_ADRALN): Likewise.
4030 (BUS_ADRERR): Likewise.
4031 (BUS_OBJERR): Likewise.
4032 (BUS_MCEERR_AR): Likewise.
4033 (BUS_MCEERR_AO): Likewise.
4034 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4035 (TRAP_TRACE): Likewise.
4036 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4037 __USE_XOPEN2K8].
4038 (CLD_KILLED): Likewise.
4039 (CLD_DUMPED): Likewise.
4040 (CLD_TRAPPED): Likewise.
4041 (CLD_STOPPED): Likewise.
4042 (CLD_CONTINUED): Likewise.
4043 (POLL_IN): Likewise.
4044 (POLL_OUT): Likewise.
4045 (POLL_MSG): Likewise.
4046 (POLL_ERR): Likewise.
4047 (POLL_PRI): Likewise.
4048 (POLL_HUP): Likewise.
4049 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4050 Likewise.
4051 (ILL_ILLOPN): Likewise.
4052 (ILL_ILLADR): Likewise.
4053 (ILL_ILLTRP): Likewise.
4054 (ILL_PRVOPC): Likewise.
4055 (ILL_PRVREG): Likewise.
4056 (ILL_COPROC): Likewise.
4057 (ILL_BADSTK): Likewise.
4058 (ILL_BADIADDR): Likewise.
4059 (ILL_BREAK): Likewise.
4060 (FPE_INTDIV): Likewise.
4061 (FPE_INTOVF): Likewise.
4062 (FPE_FLTDIV): Likewise.
4063 (FPE_FLTOVF): Likewise.
4064 (FPE_FLTUND): Likewise.
4065 (FPE_FLTRES): Likewise.
4066 (FPE_FLTINV): Likewise.
4067 (FPE_FLTSUB): Likewise.
4068 (FPE_DECOVF): Likewise.
4069 (FPE_DECDIV): Likewise.
4070 (FPE_DECERR): Likewise.
4071 (FPE_INVASC): Likewise.
4072 (FPE_INVDEC): Likewise.
4073 (SEGV_MAPERR): Likewise.
4074 (SEGV_ACCERR): Likewise.
4075 (SEGV_PSTKOVF): Likewise.
4076 (BUS_ADRALN): Likewise.
4077 (BUS_ADRERR): Likewise.
4078 (BUS_OBJERR): Likewise.
4079 (BUS_MCEERR_AR): Likewise.
4080 (BUS_MCEERR_AO): Likewise.
4081 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4082 (TRAP_TRACE): Likewise.
4083 (TRAP_BRANCH): Likewise.
4084 (TRAP_HWBKPT): Likewise.
4085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4086 __USE_XOPEN2K8].
4087 (CLD_KILLED): Likewise.
4088 (CLD_DUMPED): Likewise.
4089 (CLD_TRAPPED): Likewise.
4090 (CLD_STOPPED): Likewise.
4091 (CLD_CONTINUED): Likewise.
4092 (POLL_IN): Likewise.
4093 (POLL_OUT): Likewise.
4094 (POLL_MSG): Likewise.
4095 (POLL_ERR): Likewise.
4096 (POLL_PRI): Likewise.
4097 (POLL_HUP): Likewise.
4098 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4099 (ILL_ILLOPN): Likewise.
4100 (ILL_ILLADR): Likewise.
4101 (ILL_ILLTRP): Likewise.
4102 (ILL_PRVOPC): Likewise.
4103 (ILL_PRVREG): Likewise.
4104 (ILL_COPROC): Likewise.
4105 (ILL_BADSTK): Likewise.
4106 (FPE_INTDIV): Likewise.
4107 (FPE_INTOVF): Likewise.
4108 (FPE_FLTDIV): Likewise.
4109 (FPE_FLTOVF): Likewise.
4110 (FPE_FLTUND): Likewise.
4111 (FPE_FLTRES): Likewise.
4112 (FPE_FLTINV): Likewise.
4113 (FPE_FLTSUB): Likewise.
4114 (SEGV_MAPERR): Likewise.
4115 (SEGV_ACCERR): Likewise.
4116 (BUS_ADRALN): Likewise.
4117 (BUS_ADRERR): Likewise.
4118 (BUS_OBJERR): Likewise.
4119 (BUS_MCEERR_AR): Likewise.
4120 (BUS_MCEERR_AO): Likewise.
4121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4122 (TRAP_TRACE): Likewise.
4123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4124 __USE_XOPEN2K8].
4125 (CLD_KILLED): Likewise.
4126 (CLD_DUMPED): Likewise.
4127 (CLD_TRAPPED): Likewise.
4128 (CLD_STOPPED): Likewise.
4129 (CLD_CONTINUED): Likewise.
4130 (POLL_IN): Likewise.
4131 (POLL_OUT): Likewise.
4132 (POLL_MSG): Likewise.
4133 (POLL_ERR): Likewise.
4134 (POLL_PRI): Likewise.
4135 (POLL_HUP): Likewise.
4136 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4137 (ILL_ILLOPN): Likewise.
4138 (ILL_ILLADR): Likewise.
4139 (ILL_ILLTRP): Likewise.
4140 (ILL_PRVOPC): Likewise.
4141 (ILL_PRVREG): Likewise.
4142 (ILL_COPROC): Likewise.
4143 (ILL_BADSTK): Likewise.
4144 (FPE_INTDIV): Likewise.
4145 (FPE_INTOVF): Likewise.
4146 (FPE_FLTDIV): Likewise.
4147 (FPE_FLTOVF): Likewise.
4148 (FPE_FLTUND): Likewise.
4149 (FPE_FLTRES): Likewise.
4150 (FPE_FLTINV): Likewise.
4151 (FPE_FLTSUB): Likewise.
4152 (SEGV_MAPERR): Likewise.
4153 (SEGV_ACCERR): Likewise.
4154 (BUS_ADRALN): Likewise.
4155 (BUS_ADRERR): Likewise.
4156 (BUS_OBJERR): Likewise.
4157 (BUS_MCEERR_AR): Likewise.
4158 (BUS_MCEERR_AO): Likewise.
4159 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4160 (TRAP_TRACE): Likewise.
4161 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4162 __USE_XOPEN2K8].
4163 (CLD_KILLED): Likewise.
4164 (CLD_DUMPED): Likewise.
4165 (CLD_TRAPPED): Likewise.
4166 (CLD_STOPPED): Likewise.
4167 (CLD_CONTINUED): Likewise.
4168 (POLL_IN): Likewise.
4169 (POLL_OUT): Likewise.
4170 (POLL_MSG): Likewise.
4171 (POLL_ERR): Likewise.
4172 (POLL_PRI): Likewise.
4173 (POLL_HUP): Likewise.
4174 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4175 (ILL_ILLOPN): Likewise.
4176 (ILL_ILLADR): Likewise.
4177 (ILL_ILLTRP): Likewise.
4178 (ILL_PRVOPC): Likewise.
4179 (ILL_PRVREG): Likewise.
4180 (ILL_COPROC): Likewise.
4181 (ILL_BADSTK): Likewise.
4182 (FPE_INTDIV): Likewise.
4183 (FPE_INTOVF): Likewise.
4184 (FPE_FLTDIV): Likewise.
4185 (FPE_FLTOVF): Likewise.
4186 (FPE_FLTUND): Likewise.
4187 (FPE_FLTRES): Likewise.
4188 (FPE_FLTINV): Likewise.
4189 (FPE_FLTSUB): Likewise.
4190 (SEGV_MAPERR): Likewise.
4191 (SEGV_ACCERR): Likewise.
4192 (BUS_ADRALN): Likewise.
4193 (BUS_ADRERR): Likewise.
4194 (BUS_OBJERR): Likewise.
4195 (BUS_MCEERR_AR): Likewise.
4196 (BUS_MCEERR_AO): Likewise.
4197 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4198 (TRAP_TRACE): Likewise.
4199 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4200 __USE_XOPEN2K8].
4201 (CLD_KILLED): Likewise.
4202 (CLD_DUMPED): Likewise.
4203 (CLD_TRAPPED): Likewise.
4204 (CLD_STOPPED): Likewise.
4205 (CLD_CONTINUED): Likewise.
4206 (POLL_IN): Likewise.
4207 (POLL_OUT): Likewise.
4208 (POLL_MSG): Likewise.
4209 (POLL_ERR): Likewise.
4210 (POLL_PRI): Likewise.
4211 (POLL_HUP): Likewise.
4212 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4213 (ILL_ILLOPN): Likewise.
4214 (ILL_ILLADR): Likewise.
4215 (ILL_ILLTRP): Likewise.
4216 (ILL_PRVOPC): Likewise.
4217 (ILL_PRVREG): Likewise.
4218 (ILL_COPROC): Likewise.
4219 (ILL_BADSTK): Likewise.
4220 (ILL_DBLFLT): Likewise.
4221 (ILL_HARDWALL): Likewise.
4222 (FPE_INTDIV): Likewise.
4223 (FPE_INTOVF): Likewise.
4224 (FPE_FLTDIV): Likewise.
4225 (FPE_FLTOVF): Likewise.
4226 (FPE_FLTUND): Likewise.
4227 (FPE_FLTRES): Likewise.
4228 (FPE_FLTINV): Likewise.
4229 (FPE_FLTSUB): Likewise.
4230 (SEGV_MAPERR): Likewise.
4231 (SEGV_ACCERR): Likewise.
4232 (BUS_ADRALN): Likewise.
4233 (BUS_ADRERR): Likewise.
4234 (BUS_OBJERR): Likewise.
4235 (BUS_MCEERR_AR): Likewise.
4236 (BUS_MCEERR_AO): Likewise.
4237 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4238 (TRAP_TRACE): Likewise.
4239 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4240 __USE_XOPEN2K8].
4241 (CLD_KILLED): Likewise.
4242 (CLD_DUMPED): Likewise.
4243 (CLD_TRAPPED): Likewise.
4244 (CLD_STOPPED): Likewise.
4245 (CLD_CONTINUED): Likewise.
4246 (POLL_IN): Likewise.
4247 (POLL_OUT): Likewise.
4248 (POLL_MSG): Likewise.
4249 (POLL_ERR): Likewise.
4250 (POLL_PRI): Likewise.
4251 (POLL_HUP): Likewise.
4252 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4253 (ILL_ILLOPN): Likewise.
4254 (ILL_ILLADR): Likewise.
4255 (ILL_ILLTRP): Likewise.
4256 (ILL_PRVOPC): Likewise.
4257 (ILL_PRVREG): Likewise.
4258 (ILL_COPROC): Likewise.
4259 (ILL_BADSTK): Likewise.
4260 (FPE_INTDIV): Likewise.
4261 (FPE_INTOVF): Likewise.
4262 (FPE_FLTDIV): Likewise.
4263 (FPE_FLTOVF): Likewise.
4264 (FPE_FLTUND): Likewise.
4265 (FPE_FLTRES): Likewise.
4266 (FPE_FLTINV): Likewise.
4267 (FPE_FLTSUB): Likewise.
4268 (SEGV_MAPERR): Likewise.
4269 (SEGV_ACCERR): Likewise.
4270 (BUS_ADRALN): Likewise.
4271 (BUS_ADRERR): Likewise.
4272 (BUS_OBJERR): Likewise.
4273 (BUS_MCEERR_AR): Likewise.
4274 (BUS_MCEERR_AO): Likewise.
4275 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4276 (TRAP_TRACE): Likewise.
4277 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4278 __USE_XOPEN2K8].
4279 (CLD_KILLED): Likewise.
4280 (CLD_DUMPED): Likewise.
4281 (CLD_TRAPPED): Likewise.
4282 (CLD_STOPPED): Likewise.
4283 (CLD_CONTINUED): Likewise.
4284 (POLL_IN): Likewise.
4285 (POLL_OUT): Likewise.
4286 (POLL_MSG): Likewise.
4287 (POLL_ERR): Likewise.
4288 (POLL_PRI): Likewise.
4289 (POLL_HUP): Likewise.
4290 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4291 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4292
4293 [BZ #16670]
4294 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4295 before #include of <time.h>.
4296 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4297 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4298 (test-xfail-UNIX98/sched.h/conform): Likewise.
4299
4300 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4301
4302 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4303 error absence of trapping exception support.
4304 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4305
4306 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4307
4308 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4309 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4310 * timezone/Makefile (testdata): Move definition above include of
4311 Rules.
4312 (test-zones): New variable.
4313 (tests-special): Add zone files.
4314 (build-testdata): Use $(evaluate-test).
4315
4316 * elf/Makefile (tests-special): Rename tests to end with .out.
4317 ($(objpfx)noload-mem): Likewise.
4318 ($(objpfx)tst-leaks1-mem): Likewise.
4319 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4320 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4321 $(objpfx)test-iconvconfig.out.
4322 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4323 set -e inside subshell and redirect output to file.
4324 * iconvdata/Makefile (generated): Rename tests to end with .out.
4325 Correct type.
4326 (tests-special): Rename tests to end with .out.
4327 ($(objpfx)mtrace-tst-loading): Likewise.
4328 * intl/Makefile (generated): Likewise.
4329 (tests-special): Likewise.
4330 ($(objpfx)mtrace-tst-gettext): Likewise.
4331 * misc/Makefile (generated): Likewise.
4332 (tests-special): Likewise.
4333 ($(objpfx)tst-error1-mem): Likewise.
4334 * nptl/Makefile (tests-special): Likewise.
4335 ($(objpfx)tst-stack3-mem): Likewise.
4336 (generated): Likewise.
4337 * posix/Makefile (generated): Likewise.
4338 (tests-special): Likewise.
4339 (xtests-special): Likewise.
4340 ($(objpfx)tst-fnmatch-mem): Likewise.
4341 ($(objpfx)bug-regex2-mem): Likewise.
4342 ($(objpfx)bug-regex14-mem): Likewise.
4343 ($(objpfx)bug-regex21-mem): Likewise.
4344 ($(objpfx)bug-regex31-mem): Likewise.
4345 ($(objpfx)tst-vfork3-mem): Likewise.
4346 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4347 ($(objpfx)tst-pcre-mem): Likewise.
4348 ($(objpfx)tst-boost-mem): Likewise.
4349 ($(objpfx)bug-ga2-mem): Likewise.
4350 ($(objpfx)bug-glob2-mem): Likewise.
4351 * resolv/Makefile (generate): Likewise.
4352 (tests-special): Likewise.
4353 (xtests-special): Likewise.
4354 (generated): Likewise.
4355 ($(objpfx)mtrace-tst-leaks): Likewise.
4356 ($(objpfx)mtrace-tst-leaks2): Likewise.
4357
4358 * scripts/merge-test-results.sh: New file.
4359 * Makefile (tests-special-notdir): New variable.
4360 (tests): Run merge-test-results.sh.
4361 (xtests): Likewise.
4362 * Rules (tests-special-notdir): New variable.
4363 (xtests-special-notdir): Likewise.
4364 (tests): Run merge-test-results.sh
4365 (xtests): Likewise.
4366
4367 * Makeconfig (test-xfail-name): New variable.
4368 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4369 compute variable name for expected failures.
4370 * conform/Makefile (conformtest-headers-data): New variable.
4371 (conformtest-standards): Likewise.
4372 (conformtest-headers-ISO): Likewise.
4373 (conformtest-headers-ISO99): Likewise.
4374 (conformtest-headers-ISO11): Likewise.
4375 (conformtest-headers-POSIX): Likewise.
4376 (conformtest-headers-XPG3): Likewise.
4377 (conformtest-headers-XPG4): Likewise.
4378 (conformtest-headers-UNIX98): Likewise.
4379 (conformtest-headers-XOPEN2K): Likewise.
4380 (conformtest-headers-POSIX2008): Likewise.
4381 (conformtest-headers-XOPEN2K8): Likewise.
4382 (conformtest-header-list-base): Likewise.
4383 (conformtest-header-list-tests): Likewise.
4384 (conformtest-header-base): Likewise.
4385 (conformtest-header-tests): Likewise.
4386 (tests-special): Add $(conformtest-header-list-tests). If
4387 [$(fast-check) && !$(cross-compiling)], add
4388 $(conformtest-header-tests) instead of
4389 $(objpfx)run-conformtest.out.
4390 (generated): Add $(conformtest-header-list-base). If
4391 [$(fast-check) && !$(cross-compiling)], add
4392 $(conformtest-header-base). Remove previous setting.
4393 ($(conformtest-header-list-tests)): New target.
4394 (test-xfail-run-conformtest): Remove variable.
4395 ($(objpfx)run-conformtest.out): Remove target.
4396 (test-xfail-ISO11/complex.h/conform): New variable.
4397 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4398 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4399 (test-xfail-XPG3/varargs.h/conform): Likewise.
4400 (test-xfail-XPG4/varargs.h/conform): Likewise.
4401 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4402 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4403 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4404 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4405 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4406 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4407 (test-xfail-XPG3/ftw.h/conform): Likewise.
4408 (test-xfail-XPG3/grp.h/conform): Likewise.
4409 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4410 (test-xfail-XPG3/limits.h/conform): Likewise.
4411 (test-xfail-XPG3/pwd.h/conform): Likewise.
4412 (test-xfail-XPG3/search.h/conform): Likewise.
4413 (test-xfail-XPG3/signal.h/conform): Likewise.
4414 (test-xfail-XPG3/stdio.h/conform): Likewise.
4415 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4416 (test-xfail-XPG3/string.h/conform): Likewise.
4417 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4418 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4419 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4420 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4421 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4422 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4423 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4424 (test-xfail-XPG3/termios.h/conform): Likewise.
4425 (test-xfail-XPG3/time.h/conform): Likewise.
4426 (test-xfail-XPG3/unistd.h/conform): Likewise.
4427 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4428 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4429 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4430 (test-xfail-XPG4/netdb.h/conform): Likewise.
4431 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4432 (test-xfail-XPG4/signal.h/conform): Likewise.
4433 (test-xfail-XPG4/stdio.h/conform): Likewise.
4434 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4435 (test-xfail-XPG4/stropts.h/conform): Likewise.
4436 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4437 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4438 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4439 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4440 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4441 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4442 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4443 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4444 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4445 (test-xfail-XPG4/termios.h/conform): Likewise.
4446 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4447 (test-xfail-XPG4/unistd.h/conform): Likewise.
4448 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4449 (test-xfail-POSIX/sched.h/conform): Likewise.
4450 (test-xfail-POSIX/signal.h/conform): Likewise.
4451 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4452 (test-xfail-POSIX/tar.h/conform): Likewise.
4453 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4454 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4455 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4456 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4457 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4458 (test-xfail-UNIX98/sched.h/conform): Likewise.
4459 (test-xfail-UNIX98/signal.h/conform): Likewise.
4460 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4461 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4462 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4463 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4464 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4465 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4466 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4467 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4468 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4469 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4470 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4471 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4472 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4473 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4474 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4475 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4476 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4477 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4478 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4479 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4480 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4481 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4482 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4483 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4484 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4485 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4486 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4487 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4488 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4489 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4490 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4491 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4492 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4493 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4494 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4495 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4496 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4497 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4498 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4499 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4500 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4501 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4502 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4503 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4504 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4505 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4506 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4507 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4508 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4509 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4510 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4511 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4512 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4513 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4514 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4515 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4516 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4517 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4518 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4519 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4520 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4521 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4522 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4523 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4524 (conformtest-cc-flags): Likewise.
4525 ($(conformtest-header-tests): New target.
4526 * conform/check-header-lists.sh: New file.
4527 * conform/run-conformtest.sh: Remove.
4528
4529 * conform/conformtest.pl: Allow ' and \ in values given for
4530 constants.
4531 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4532 inclusion.
4533 [POSIX] (sys/types.h): Likewise.
4534 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4535 inclusion.
4536 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4537 inclusion.
4538 * conform/data/signal.h-data (SIGIO): Remove expectation.
4539 [XPG3] (SIGBUS): Do not expect.
4540 [POSIX || XPG3] (SIGPOLL): Likewise.
4541 [POSIX || XPG3] (SIGPROF): Likewise.
4542 [POSIX || XPG3] (SIGSYS): Likewise.
4543 [XPG3] (SIGTRAP): Likewise.
4544 [POSIX || XPG3] (SIGURG): Likewise.
4545 [POSIX || XPG3] (SIGVTALRM): Likewise.
4546 [POSIX || XPG3] (SIGXCPU): Likewise.
4547 [POSIX || XPG3] (SIGXFSZ): Likewise.
4548 [POSIX] (SA_SIGINFO): Expect.
4549 [XPG3] (siginfo_t): Do not expect type or contents.
4550 [POSIX] (si_pid): Do not expect element.
4551 [POSIX] (si_uid): Likewise.
4552 [POSIX] (si_addr): Likewise.
4553 [POSIX] (si_status): Likewise.
4554 [POSIX] (si_band): Likewise.
4555 [XPG4] (si_value): Likewise.
4556 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4557 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4558 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4559 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4560 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4561 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4562 [POSIX || XPG3] (ILL_COPROC): Likewise.
4563 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4564 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4565 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4566 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4567 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4568 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4569 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4570 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4571 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4572 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4573 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4574 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4575 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4576 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4577 [POSIX || XPG3] (CLD_EXITED): Likewise.
4578 [POSIX || XPG3] (CLD_KILLED): Likewise.
4579 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4580 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4581 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4582 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4583 [POSIX || XPG3] (POLL_IN): Likewise.
4584 [POSIX || XPG3] (POLL_OUT): Likewise.
4585 [POSIX || XPG3] (POLL_MSG): Likewise.
4586 [POSIX || XPG3] (POLL_ERR): Likewise.
4587 [POSIX || XPG3] (POLL_PRI): Likewise.
4588 [POSIX || XPG3] (POLL_HUP): Likewise.
4589 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4590 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4591 (SIG*): Do not allow.
4592 [XPG3] (si_*): Likewise.
4593 [XPG3] (SI_*): Likewise.
4594 [XPG3 || XPG4] (sigev_*): Likewise.
4595 [XPG3 || XPG4] (SIGEV_*): Likewise.
4596 [XPG3 || XPG4] (sival_*): Likewise.
4597 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4598 [POSIX || XPG3] (BUS_*): Likewise.
4599 [POSIX || XPG3] (CLD_*): Likewise.
4600 [POSIX || XPG3] (FPE_*): Likewise.
4601 [POSIX || XPG3] (ILL_*): Likewise.
4602 [POSIX || XPG3] (POLL_*): Likewise.
4603 [POSIX || XPG3] (SEGV_*): Likewise.
4604 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4605 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4606 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4607 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4608 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4609 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4610 Specify type and value.
4611 (TVERSLEN): Likewise.
4612 (REGTYPE): Likewise.
4613 (AREGTYPE): Likewise.
4614 (LNKTYPE): Likewise.
4615 (SYMTYPE): Likewise.
4616 (CHRTYPE): Likewise.
4617 (BLKTYPE): Likewise.
4618 (DIRTYPE): Likewise.
4619 (FIFOTYPE): Likewise.
4620 (CONTTYPE): Likewise.
4621 (TSUID): Likewise.
4622 (TSGID): Likewise.
4623 (TSVTX): Likewise.
4624 (TUREAD): Likewise.
4625 (TUWRITE): Likewise.
4626 (TUEXEC): Likewise.
4627 (TGREAD): Likewise.
4628 (TGWRITE): Likewise.
4629 (TGEXEC): Likewise.
4630 (TOREAD): Likewise.
4631 (TOWRITE): Likewise.
4632 (TOEXEC): Likewise.
4633 [POSIX] (TSVTX): Expect constant.
4634
4635 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4636
4637 * Makefile (tests): Change dependencies to ....
4638 (tests-special): ... additions to this variable.
4639 (tests): Depend on $(tests-special).
4640 * Makerules (check-abi-list): New variable.
4641 (check-abi): Depend on $(check-abi-list).
4642 [$(subdir) = elf] (tests-special): Add
4643 $(objpfx)check-abi-libc.out.
4644 [$(build-shared) = yes && subdir] (tests-special): Add
4645 $(check-abi-list).
4646 [$(build-shared) = yes && subdir] (tests): Do not depend on
4647 check-abi.
4648 * Rules (tests): Depend on $(tests-special).
4649 (xtests): Depend on $(xtests-special).
4650 * catgets/Makefile (tests): Change dependencies to ....
4651 (tests-special): ... additions to this variable.
4652 * conform/Makefile (tests): Change dependencies to ....
4653 (tests-special): ... additions to this variable.
4654 * elf/Makefile (tests): Change dependencies to ....
4655 (tests-special): ... additions to this variable.
4656 * grp/Makefile (tests): Change dependencies to ....
4657 (tests-special): ... additions to this variable.
4658 * iconv/Makefile (xtests): Change dependencies to ....
4659 (xtests-special): ... additions to this variable.
4660 * iconvdata/Makefile (tests): Change dependencies to ....
4661 (tests-special): ... additions to this variable.
4662 * intl/Makefile (tests): Change dependencies to ....
4663 (tests-special): ... additions to this variable. Also add
4664 $(objpfx)tst-gettext.out.
4665 * io/Makefile (tests): Change dependencies to ....
4666 (tests-special): ... additions to this variable.
4667 * libio/Makefile (tests): Change dependencies to ....
4668 (tests-special): ... additions to this variable.
4669 * malloc/Makefile (tests): Change dependencies to ....
4670 (tests-special): ... additions to this variable.
4671 * misc/Makefile (tests): Change dependencies to ....
4672 (tests-special): ... additions to this variable.
4673 * nptl/Makefile (tests): Change dependencies to ....
4674 (tests-special): ... additions to this variable.
4675 * nptl_db/Makefile (tests): Change dependencies to ....
4676 (tests-special): ... additions to this variable.
4677 * posix/Makefile (tests): Change dependencies to ....
4678 (tests-special): ... additions to this variable.
4679 (xtests): Change dependencies to ....
4680 (xtests-special): ... additions to this variable.
4681 * resolv/Makefile (tests): Change dependencies to ....
4682 (tests-special): ... additions to this variable.
4683 (xtests): Change dependencies to ....
4684 (xtests-special): ... additions to this variable.
4685 * stdio-common/Makefile (tests): Change dependencies to ....
4686 (tests-special): ... additions to this variable.
4687 (do-tst-unbputc): Remove target.
4688 (do-tst-printf): Likewise.
4689 * stdlib/Makefile (tests): Change dependencies to ....
4690 (tests-special): ... additions to this variable.
4691 * string/Makefile (tests): Change dependencies to ....
4692 (tests-special): ... additions to this variable.
4693 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4694 (tests-special): ... additions to this variable.
4695
4696 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4697 whole file.
4698 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4699 whole file.
4700 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4701 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4702
4703 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4704 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4705 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4706 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4707 * conform/data/libgen.h-data [XPG3]: Likewise.
4708 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4709 * conform/data/ndbm.h-data [XPG3]: Likewise.
4710 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4711 * conform/data/netdb.h-data [XPG3]: Likewise.
4712 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4713 * conform/data/poll.h-data [XPG3]: Likewise.
4714 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4715 * conform/data/strings.h-data [XPG3]: Likewise.
4716 * conform/data/stropts.h-data [XPG3]: Likewise.
4717 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4718 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4719 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4720 Likewise.
4721 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4722 * conform/data/sys/time.h-data [XPG3]: Likewise.
4723 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4724 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4725 * conform/data/sys/un.h-data [XPG3]: Likewise.
4726 * conform/data/syslog.h-data [XPG3]: Likewise.
4727 * conform/data/ucontext.h-data [XPG3]: Likewise.
4728 * conform/data/utmpx.h-data [XPG3]: Likewise.
4729 * conform/data/varargs.h-data [UNIX98]: Enable file.
4730
4731 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4732
4733 * math/libm-test.inc (struct test_f_f_data): Move expected results
4734 into structure for each rounding mode.
4735 (struct test_ff_f_data): Likewise.
4736 (struct test_ff_f_data_nexttoward): Likewise.
4737 (struct test_fi_f_data): Likewise.
4738 (struct test_fl_f_data): Likewise.
4739 (struct test_if_f_data): Likewise.
4740 (struct test_fff_f_data): Likewise.
4741 (struct test_c_f_data): Likewise.
4742 (struct test_f_f1_data): Likewise.
4743 (struct test_fF_f1_data): Likewise.
4744 (struct test_ffI_f1_data): Likewise.
4745 (struct test_c_c_data): Likewise.
4746 (struct test_cc_c_data): Likewise.
4747 (struct test_f_i_data): Likewise.
4748 (struct test_ff_i_data): Likewise.
4749 (struct test_f_l_data): Likewise.
4750 (struct test_f_L_data): Likewise.
4751 (struct test_fFF_11_data): Likewise.
4752 (RM_): New macro.
4753 (RM_FE_DOWNWARD): Likewise.
4754 (RM_FE_TONEAREST): Likewise.
4755 (RM_FE_TOWARDZERO): Likewise.
4756 (RM_FE_UPWARD): Likewise.
4757 (RUN_TEST_LOOP_f_f): Update references to expected results.
4758 (RUN_TEST_LOOP_2_f): Likewise.
4759 (RUN_TEST_LOOP_fff_f): Likewise.
4760 (RUN_TEST_LOOP_c_f): Likewise.
4761 (RUN_TEST_LOOP_f_f1): Likewise.
4762 (RUN_TEST_LOOP_fF_f1): Likewise.
4763 (RUN_TEST_LOOP_fI_f1): Likewise.
4764 (RUN_TEST_LOOP_ffI_f1): Likewise.
4765 (RUN_TEST_LOOP_c_c): Likewise.
4766 (RUN_TEST_LOOP_cc_c): Likewise.
4767 (RUN_TEST_LOOP_f_i): Likewise.
4768 (RUN_TEST_LOOP_f_i_tg): Likewise.
4769 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4770 (RUN_TEST_LOOP_f_b): Likewise.
4771 (RUN_TEST_LOOP_f_b_tg): Likewise.
4772 (RUN_TEST_LOOP_f_l): Likewise.
4773 (RUN_TEST_LOOP_f_L): Likewise.
4774 (RUN_TEST_LOOP_fFF_11): Likewise.
4775 * math/gen-libm-test.pl (parse_args): Output four copies of
4776 expected results for each test.
4777
4778 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4779 (__ASSUME_UTIMES): Remove.
4780 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4781 (__ASSUME_UTIMES): Likewise.
4782
4783 * math/gen-auto-libm-tests.c: Update comment on output format.
4784 (output_for_one_input_case): Generate before-rounding and
4785 after-rounding information as conditions on output flags not
4786 floating-point format.
4787 * math/auto-libm-test-out: Regenerated.
4788 * math/gen-libm-test.pl (cond_value): New function.
4789 (or_cond_value): Use cond_value.
4790 (generate_testfile): Handle conditional exceptions.
4791
4792 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4793
4794 * math/libm-test.inc (max_valid_error): New variable.
4795 (init_max_error): Take new argument specifying whether function
4796 results are exactly determined. Set max_valid_error and bound
4797 other variables for errors based on this argument.
4798 (set_max_error): Do not record results above max_valid_error.
4799 (check_float_internal): Only accept errors of up to 0.5ulps if
4800 also at most max_valid_error.
4801 (START): Take new argument EXACT and pass it to init_max_error.
4802 (acos_test): Update call to START.
4803 (acos_test_tonearest): Likewise.
4804 (acos_test_towardzero): Likewise.
4805 (acos_test_downward): Likewise.
4806 (acos_test_upward): Likewise.
4807 (acosh_test): Likewise.
4808 (asin_test): Likewise.
4809 (asin_test_tonearest): Likewise.
4810 (asin_test_towardzero): Likewise.
4811 (asin_test_downward): Likewise.
4812 (asin_test_upward): Likewise.
4813 (asinh_test): Likewise.
4814 (atan_test): Likewise.
4815 (atanh_test): Likewise.
4816 (atan2_test): Likewise.
4817 (cabs_test): Likewise.
4818 (cacos_test): Likewise.
4819 (cacosh_test): Likewise.
4820 (carg_test): Likewise.
4821 (casin_test): Likewise.
4822 (casinh_test): Likewise.
4823 (catan_test): Likewise.
4824 (catanh_test): Likewise.
4825 (cbrt_test): Likewise.
4826 (ccos_test): Likewise.
4827 (ccosh_test): Likewise.
4828 (ceil_test): Likewise.
4829 (cexp_test): Likewise.
4830 (cimag_test): Likewise.
4831 (clog_test): Likewise.
4832 (clog10_test): Likewise.
4833 (conj_test): Likewise.
4834 (copysign_test): Likewise.
4835 (cos_test): Likewise.
4836 (cos_test_tonearest): Likewise.
4837 (cos_test_towardzero): Likewise.
4838 (cos_test_downward): Likewise.
4839 (cos_test_upward): Likewise.
4840 (cosh_test): Likewise.
4841 (cosh_test_tonearest): Likewise.
4842 (cosh_test_towardzero): Likewise.
4843 (cosh_test_downward): Likewise.
4844 (cosh_test_upward): Likewise.
4845 (cpow_test): Likewise.
4846 (cproj_test): Likewise.
4847 (creal_test): Likewise.
4848 (csin_test): Likewise.
4849 (csinh_test): Likewise.
4850 (csqrt_test): Likewise.
4851 (ctan_test): Likewise.
4852 (ctan_test_tonearest): Likewise.
4853 (ctan_test_towardzero): Likewise.
4854 (ctan_test_downward): Likewise.
4855 (ctan_test_upward): Likewise.
4856 (ctanh_test): Likewise.
4857 (ctanh_test_tonearest): Likewise.
4858 (ctanh_test_towardzero): Likewise.
4859 (ctanh_test_downward): Likewise.
4860 (ctanh_test_upward): Likewise.
4861 (erf_test): Likewise.
4862 (erfc_test): Likewise.
4863 (exp_test): Likewise.
4864 (exp_test_tonearest): Likewise.
4865 (exp_test_towardzero): Likewise.
4866 (exp_test_downward): Likewise.
4867 (exp_test_upward): Likewise.
4868 (exp10_test): Likewise.
4869 (exp10_test_tonearest): Likewise.
4870 (exp10_test_towardzero): Likewise.
4871 (exp10_test_downward): Likewise.
4872 (exp10_test_upward): Likewise.
4873 (pow10_test): Likewise.
4874 (exp2_test): Likewise.
4875 (expm1_test): Likewise.
4876 (expm1_test_tonearest): Likewise.
4877 (expm1_test_towardzero): Likewise.
4878 (expm1_test_downward): Likewise.
4879 (expm1_test_upward): Likewise.
4880 (fabs_test): Likewise.
4881 (fdim_test): Likewise.
4882 (floor_test): Likewise.
4883 (fma_test): Likewise.
4884 (fma_test_towardzero): Likewise.
4885 (fma_test_downward): Likewise.
4886 (fma_test_upward): Likewise.
4887 (fmax_test): Likewise.
4888 (fmin_test): Likewise.
4889 (fmod_test): Likewise.
4890 (fpclassify_test): Likewise.
4891 (frexp_test): Likewise.
4892 (hypot_test): Likewise.
4893 (ilogb_test): Likewise.
4894 (isfinite_test): Likewise.
4895 (finite_test): Likewise.
4896 (isgreater_test): Likewise.
4897 (isgreaterequal_test): Likewise.
4898 (isinf_test): Likewise.
4899 (isless_test): Likewise.
4900 (islessequal_test): Likewise.
4901 (islessgreater_test): Likewise.
4902 (isnan_test): Likewise.
4903 (isnormal_test): Likewise.
4904 (issignaling_test): Likewise.
4905 (isunordered_test): Likewise.
4906 (j0_test): Likewise.
4907 (j1_test): Likewise.
4908 (jn_test): Likewise.
4909 (ldexp_test): Likewise.
4910 (lgamma_test): Likewise.
4911 (gamma_test): Likewise.
4912 (lrint_test): Likewise.
4913 (lrint_test_tonearest): Likewise.
4914 (lrint_test_towardzero): Likewise.
4915 (lrint_test_downward): Likewise.
4916 (lrint_test_upward): Likewise.
4917 (llrint_test): Likewise.
4918 (llrint_test_tonearest): Likewise.
4919 (llrint_test_towardzero): Likewise.
4920 (llrint_test_downward): Likewise.
4921 (llrint_test_upward): Likewise.
4922 (log_test): Likewise.
4923 (log10_test): Likewise.
4924 (log1p_test): Likewise.
4925 (log2_test): Likewise.
4926 (logb_test): Likewise.
4927 (logb_test_downward): Likewise.
4928 (lround_test): Likewise.
4929 (llround_test): Likewise.
4930 (modf_test): Likewise.
4931 (nearbyint_test): Likewise.
4932 (nextafter_test): Likewise.
4933 (nexttoward_test): Likewise.
4934 (pow_test): Likewise.
4935 (pow_test_tonearest): Likewise.
4936 (pow_test_towardzero): Likewise.
4937 (pow_test_downward): Likewise.
4938 (pow_test_upward): Likewise.
4939 (remainder_test): Likewise.
4940 (drem_test): Likewise.
4941 (remainder_test_tonearest): Likewise.
4942 (drem_test_tonearest): Likewise.
4943 (remainder_test_towardzero): Likewise.
4944 (drem_test_towardzero): Likewise.
4945 (remainder_test_downward): Likewise.
4946 (drem_test_downward): Likewise.
4947 (remainder_test_upward): Likewise.
4948 (drem_test_upward): Likewise.
4949 (remquo_test): Likewise.
4950 (rint_test): Likewise.
4951 (rint_test_tonearest): Likewise.
4952 (rint_test_towardzero): Likewise.
4953 (rint_test_downward): Likewise.
4954 (rint_test_upward): Likewise.
4955 (round_test): Likewise.
4956 (scalb_test): Likewise.
4957 (scalbn_test): Likewise.
4958 (scalbln_test): Likewise.
4959 (signbit_test): Likewise.
4960 (sin_test): Likewise.
4961 (sin_test_tonearest): Likewise.
4962 (sin_test_towardzero): Likewise.
4963 (sin_test_downward): Likewise.
4964 (sin_test_upward): Likewise.
4965 (sincos_test): Likewise.
4966 (sinh_test): Likewise.
4967 (sinh_test_tonearest): Likewise.
4968 (sinh_test_towardzero): Likewise.
4969 (sinh_test_downward): Likewise.
4970 (sinh_test_upward): Likewise.
4971 (sqrt_test): Likewise.
4972 (sqrt_test_tonearest): Likewise.
4973 (sqrt_test_towardzero): Likewise.
4974 (sqrt_test_downward): Likewise.
4975 (sqrt_test_upward): Likewise.
4976 (tan_test): Likewise.
4977 (tan_test_tonearest): Likewise.
4978 (tan_test_towardzero): Likewise.
4979 (tan_test_downward): Likewise.
4980 (tan_test_upward): Likewise.
4981 (tanh_test): Likewise.
4982 (tgamma_test): Likewise.
4983 (trunc_test): Likewise.
4984 (y0_test): Likewise.
4985 (y1_test): Likewise.
4986 (yn_test): Likewise.
4987 (significand_test): Likewise.
4988
4989 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4990 individual tests in comment.
4991 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4992 (prev_max_error): New variable.
4993 (prev_real_max_error): Likewise.
4994 (prev_imag_max_error): Likewise.
4995 (compare_ulp_data): Don't refer to test names in comment.
4996 (find_test_ulps): Remove function.
4997 (find_function_ulps): Likewise.
4998 (find_complex_function_ulps): Likewise.
4999 (init_max_error): Take function name as argument. Look up ulps
5000 for that function.
5001 (print_ulps): Remove function.
5002 (print_max_error): Use prev_max_error instead of calling
5003 find_function_ulps.
5004 (print_complex_max_error): Use prev_real_max_error and
5005 prev_imag_max_error instead of calling find_complex_function_ulps.
5006 (check_float_internal): Take max_ulp parameter instead of calling
5007 find_test_ulps. Don't call print_ulps.
5008 (check_float): Update call to check_float_internal.
5009 (check_complex): Update calls to check_float_internal.
5010 (START): Pass argument to init_max_error.
5011 * math/gen-libm-test.pl (%results): Don't include "kind"
5012 information.
5013 (parse_ulps): Don't handle ulps of individual tests.
5014 (print_ulps_file): Likewise.
5015 (output_ulps): Likewise.
5016 * math/README.libm-test: Update.
5017 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5018 individual tests.
5019 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5020 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5021 * sysdeps/arm/libm-test-ulps: Likewise.
5022 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5023 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5024 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5025 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5026 * sysdeps/microblaze/libm-test-ulps: Likewise.
5027 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5028 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5030 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5031 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5032 * sysdeps/sh/libm-test-ulps: Likewise.
5033 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5034 * sysdeps/tile/libm-test-ulps: Likewise.
5035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5036
5037 2014-03-04 Joseph Myers <joseph@codesourcery.com>
5038
5039 * math/libm-test.inc (print_complex_max_error): Check separately
5040 whether real and imaginary errors are within allowed range and
5041 pass 0 to print_complex_function_ulps instead of value within
5042 allowed range.
5043
5044 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5045
5046 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5047 formatting.
5048 (get_handles_fopen): Likewise.
5049 (do_write_test): Likewise.
5050
5051 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5052
5053 * libio/fileops.c (do_ftell): Use cached offset when
5054 available.
5055 * libio/iofwide.c (do_ftell_wide): Likewise.
5056 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5057 _IO_file_attach.
5058 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5059
5060 [BZ #16532]
5061 * libio/libioP.h (get_file_offset): New function.
5062 * libio/fileops.c (get_file_offset): Likewise.
5063 (do_ftell): Likewise.
5064 (_IO_new_file_seekoff): Split out ftell logic.
5065 * libio/wfileops.c (do_ftell_wide): Likewise.
5066 (_IO_wfile_seekoff): Split out ftell logic.
5067 * libio/tst-ftell-active-handler.c: New test case.
5068 * libio/Makefile (tests): Add it.
5069
5070 2014-03-03 Roland McGrath <roland@hack.frob.com>
5071
5072 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5073 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5074
5075 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5076
5077 [BZ #16639]
5078 * nscd/connections.c (nscd_init): Call do_exit.
5079 (start_threads): Call do_exit and notify_parent.
5080 (begin_drop_privileges): Call do_exit.
5081 (finish_drop_privileges): Likewise.
5082 * nscd/selinux.c (preserve_capabilities): Likewise.
5083 (install_real_capabilities): Likewise.
5084 (nscd_selinux_enabled): Likewise.
5085 (avc_create_thread): Likewise.
5086 (avc_alloc_lock): Likewise.
5087 (nscd_avc_init): Likewise.
5088 * nscd/nscd.c (parent_fd): New static variable.
5089 (main): Create a pipe between parent and child processes.
5090 Skip closing parent_fd.
5091 (monitor_child): New function.
5092 (do_exit): Likewise.
5093 (notify_parent): Likewise.
5094 * nscd/nscd.h (notify_parent): Likewise.
5095 (do_exit): Likewise.
5096
5097 2014-03-03 Carlos O'Donell <carlos@redhat.com>
5098
5099 * malloc/malloc.c (__libc_calloc): Revert last change.
5100
5101 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5102
5103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5104
5105 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5106
5107 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5109 implementation.
5110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5111 (__libc_ifunc_impl_list): Likewise.
5112 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5113 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5114 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5115 * string/strrchr.c: Define STRRCHR.
5116
5117 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
5118
5119 * benchtest/bench-strtok.c (simple_strtok): Delete.
5120 (strtok_string): Use as benchmark.
5121 * string/strtok (STRTOK): New macro.
5122
5123 2014-02-28 Carlos O'Donell <carlos@redhat.com>
5124
5125 * manual/threads.texi: Add header and standard comments to all
5126 functions.
5127
5128 * elf/dl-lookup.c (check_match): New function.
5129 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5130 (do_lookup_x): Remove nested function check_match. Use non-nested
5131 function check_match.
5132
5133 2014-02-28 Roland McGrath <roland@hack.frob.com>
5134
5135 * csu/Makefile (generated, before-compile): Use += rather than =.
5136 * catgets/Makefile (generated, generated-dirs): Likewise.
5137 * debug/Makefile (generated): Likewise.
5138 * dlfcn/Makefile (generated): Likewise.
5139 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5140 * iconvdata/Makefile (before-compile, generated): Likewise.
5141 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5142 * libio/Makefile (generated): Likewise.
5143 * malloc/Makefile (generated): Likewise.
5144 * manual/Makefile (generated, generated-dirs): Likewise.
5145 * misc/Makefile (generated): Likewise.
5146 * posix/Makefile (generated): Likewise.
5147 * resolv/Makefile (generated): Likewise.
5148 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5149 * timezone/Makefile (generated, generated-dirs): Likewise.
5150
5151 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5152
5153 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5154
5155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5156 power8 implementation.
5157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5158 file: POWER8 llround ifunc implementation.
5159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5160 (__lllround): Add POWER8 implementation.
5161 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5162 POWER8 llround implementation.
5163
5164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5165 power8 implementation.
5166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5167 file: POWER8 llrint ifunc implementation.
5168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5169 Add POWER8 implementation.
5170 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5171 POWER8 llrint implementation.
5172
5173 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5174 power8 implementation.
5175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5176 file: POWER8 finite ifunc implementation.
5177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5178 Add POWER8 implementation.
5179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5180 Likewise.
5181 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5182 POWER8 finite implementation.
5183 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5184
5185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5186 power8 implementation.
5187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5188 file: POWER8 isinf ifunc implementation.
5189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5190 POWER8 implementation.
5191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5192 Likewise.
5193 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5194 isinf implementation.
5195 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5196
5197 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5198 (INIT_ARCH): Add hwcap2 initialization.
5199 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5200 power8 implementation.
5201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5202 file: POWER8 isnan ifunc implementation.
5203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5204 POWER8 implementation.
5205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5206 Likewise.
5207 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5208 isnan implementation.
5209 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5210
5211 2014-02-27 Joey Ye <joey.ye@arm.com>
5212
5213 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5214 (_FP_NANFRAC_Q): Set to zero.
5215
5216 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5217
5218 [BZ #16623]
5219 * math/auto-libm-test-in: New test inputs.
5220 * math/auto-libm-test-out: Regenerate.
5221 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5222 and DA.
5223 (__cos): Likewise.
5224 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5225
5226 2014-02-27 Joseph Myers <joseph@codesourcery.com>
5227
5228 * scripts/evaluate-test.sh: Take new argument indicating whether
5229 failure is expected.
5230 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5231 indicating whether failure is expected.
5232 * conform/Makefile (test-xfail-run-conformtest): New variable.
5233 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5234 level.
5235 * posix/Makefile (test-xfail-annexc): New variable.
5236 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5237
5238 2014-02-26 Joseph Myers <joseph@codesourcery.com>
5239
5240 * argp/Makefile: Include Makeconfig immediately after defining
5241 subdir.
5242 * assert/Makefile: Likewise.
5243 * benchtests/Makefile: Likewise.
5244 * catgets/Makefile: Likewise.
5245 * conform/Makefile: Likewise.
5246 * crypt/Makefile: Likewise.
5247 * csu/Makefile: Likewise.
5248 (all): Remove target.
5249 * ctype/Makefile: Include Makeconfig immediately after defining
5250 subdir.
5251 * debug/Makefile: Likewise.
5252 * dirent/Makefile: Likewise.
5253 * dlfcn/Makefile: Likewise.
5254 * gmon/Makefile: Likewise.
5255 * gnulib/Makefile: Likewise.
5256 * grp/Makefile: Likewise.
5257 * gshadow/Makefile: Likewise.
5258 * hesiod/Makefile: Likewise.
5259 * hurd/Makefile: Likewise.
5260 (all): Remove target.
5261 * iconvdata/Makefile: Include Makeconfig immediately after
5262 defining subdir.
5263 * inet/Makefile: Likewise.
5264 * intl/Makefile: Likewise.
5265 * io/Makefile: Likewise.
5266 * libio/Makefile: Likewise.
5267 (all): Remove target.
5268 * locale/Makefile: Include Makeconfig immediately after defining
5269 subdir.
5270 * login/Makefile: Likewise.
5271 * mach/Makefile: Likewise.
5272 (all): Remove target.
5273 * malloc/Makefile: Include Makeconfig immediately after defining
5274 subdir.
5275 (all): Remove target.
5276 * manual/Makefile: Include Makeconfig immediately after defining
5277 subdir.
5278 * math/Makefile: Likewise.
5279 * misc/Makefile: Likewise.
5280 * nis/Makefile: Likewise.
5281 * nss/Makefile: Likewise.
5282 * po/Makefile: Likewise.
5283 (all): Remove target.
5284 * posix/Makefile: Include Makeconfig immediately after defining
5285 subdir.
5286 * pwd/Makefile: Likewise.
5287 * resolv/Makefile: Likewise.
5288 * resource/Makefile: Likewise.
5289 * rt/Makefile: Likewise.
5290 * setjmp/Makefile: Likewise.
5291 * shadow/Makefile: Likewise.
5292 * signal/Makefile: Likewise.
5293 * socket/Makefile: Likewise.
5294 * soft-fp/Makefile: Likewise.
5295 * stdio-common/Makefile: Likewise.
5296 * stdlib/Makefile: Likewise.
5297 * streams/Makefile: Likewise.
5298 * string/Makefile: Likewise.
5299 * sunrpc/Makefile: Likewise.
5300 (all): Remove target.
5301 * sysvipc/Makefile: Include Makeconfig immediately after defining
5302 subdir.
5303 * termios/Makefile: Likewise.
5304 * time/Makefile: Likewise.
5305 * timezone/Makefile: Likewise.
5306 (all): Remove target.
5307 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5308 subdir.
5309 * wctype/Makefile: Likewise.
5310
5311 2014-02-26 Steve Ellcey <sellcey@mips.com>
5312
5313 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5314 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5315 (libc_feholdexcept_setround_mips): Ditto.
5316 (libc_feholdsetround): New.
5317 (libc_feholdsetroundf): New.
5318 (libc_feholdsetroundl): New.
5319 (libc_feupdateenv_test_mips): New.
5320 (libc_feupdateenv_test): New.
5321 (libc_feupdateenv_testf): New.
5322 (libc_feupdateenv_testl): New.
5323 (libc_feresetround): New.
5324 (libc_feresetroundf): New.
5325 (libc_feresetroundl): New.
5326 (libc_fetestexcept_mips): New.
5327 (libc_fetestexcept): New.
5328 (libc_fetestexceptf): New.
5329 (libc_fetestexceptl): New.
5330 (HAVE_RM_CTX): New.
5331 (libc_feholdexcept_setround_mips_ctx): New.
5332 (libc_feholdexcept_setround_ctx): New.
5333 (libc_feholdexcept_setroundf_ctx): New.
5334 (libc_feholdexcept_setroundl_ctx): New.
5335 (libc_fesetenv_mips_ctx): New.
5336 (libc_fesetenv_ctx): New.
5337 (libc_fesetenv_ctxf): New.
5338 (libc_fesetenv_ctxl): New.
5339 (libc_feupdateenv_mips_ctx): New.
5340 (libc_feupdateenv_ctx): New.
5341 (libc_feupdateenvf_ctx): New.
5342 (libc_feupdateenvl_ctx): New.
5343 (libc_feholdsetround_mips_ctx): New.
5344 (libc_feholdsetround_ctx): New.
5345 (libc_feholdsetroundf_ctx): New.
5346 (libc_feholdsetroundl_ctx): New.
5347 (libc_feresetround_mips_ctx): New.
5348 (libc_feresetround_ctx): New.
5349 (libc_feresetroundf_ctx): New.
5350 (libc_feresetroundl_ctx): New.
5351
5352 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5353
5354 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5355
5356 * manual/ipc.texi: New file.
5357 * manual/Makefile (chapters): Add ipc.
5358 * manual/job.texi: Add "Inter-Process Communication" to next.
5359 * manual/process.texi: Add "Inter-Process Communication" to prev.
5360
5361 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5362
5363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5364
5365 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5366
5367 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5368
5369 * manual/arith.texi: Fix spaces after sentences.
5370 * manual/charset.texi: Likewise.
5371 * manual/errno.texi: Likewise.
5372 * manual/install.texi: Likewise.
5373 * manual/llio.texi: Likewise.
5374 * manual/locale.texi: Likewise.
5375 * manual/maint.texi: Likewise.
5376 * manual/math.texi: Likewise.
5377 * manual/memory.texi: Likewise.
5378 * manual/message.texi: Likewise.
5379 * manual/probes.texi: Likewise.
5380 * manual/resource.texi: Likewise.
5381 * manual/signal.texi: Likewise.
5382 * manual/socket.texi: Likewise.
5383 * manual/stdio.texi: Likewise.
5384 * manual/string.texi: Likewise.
5385 * manual/time.texi: Likewise.
5386 * manual/users.texi: Likewise.
5387
5388 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5389
5390 [BZ #16632]
5391 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5392 _DEFAULT_SOURCE is defined.
5393
5394 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5395 Carlos O'Donell <carlos@redhat.com>
5396
5397 [BZ #16613]
5398 * elf/dl-tls.c (_dl_count_modids): New function.
5399 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5400 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5401 audit library and increment generation counter.
5402 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5403 * elf/tst-audit9.c: New file.
5404 * elf/tst-auditmod9a.c: New file.
5405 * elf/tst-auditmod9b.c: New file.
5406 * elf/Makefile: Add rules to build and run tst-audit9.
5407
5408 2014-02-25 Florian Weimer <fweimer@redhat.com>
5409
5410 [BZ #15347]
5411 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5412
5413 2014-02-25 Will Newton <will.newton@linaro.org>
5414
5415 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5416 (__longjmp): Restore sp and lr before restoring callee
5417 saved registers. Add longjmp and longjmp_target
5418 SystemTap probe point.
5419 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5420 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5421 Define to zero to match jmpbuf layout.
5422 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5423 (__sigsetjmp): Save sp and lr before saving callee
5424 saved registers. Add setjmp SystemTap probe point.
5425
5426 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5427
5428 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5429
5430 2014-02-24 Andreas Schwab <schwab@suse.de>
5431
5432 [BZ #15804]
5433 * elf/pldd.c (wait_for_ptrace_stop): New function.
5434 (main): Call it after attaching.
5435
5436 2014-02-22 Roland McGrath <roland@hack.frob.com>
5437
5438 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5439 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5440 Versions files is now verboten.
5441 * hurd/Versions (libc: GLIBC_2.0):
5442 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5443 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5444 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5445 * mach/Versions: Likewise.
5446
5447 * csu/Versions: Remove unused %include.
5448 * resolv/Versions: Likewise.
5449
5450 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5451
5452 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5453 ($(objpfx)check-local-headers.out): Likewise.
5454 ($(objpfx)begin-end-check.out): Likewise.
5455 * Makerules (check-abi-%.out): Likewise.
5456 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5457 ($(objpfx)test2.cat): Likewise.
5458 ($(objpfx)de/libc.cat): Likewise.
5459 ($(objpfx)test-gencat.out): Likewise.
5460 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5461 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5462 ($(objpfx)noload-mem): Likewise.
5463 ($(objpfx)tst-pathopt.out): Likewise.
5464 ($(objpfx)tst-rtld-load-self.out): Likewise.
5465 ($(objpfx)tst-array1-cmp.out): Likewise.
5466 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5467 ($(objpfx)tst-array2-cmp.out): Likewise.
5468 ($(objpfx)tst-array3-cmp.out): Likewise.
5469 ($(objpfx)tst-array4-cmp.out): Likewise.
5470 ($(objpfx)tst-array5-cmp.out): Likewise.
5471 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5472 ($(objpfx)check-textrel.out): Likewise.
5473 ($(objpfx)check-execstack.out): Likewise.
5474 ($(objpfx)check-localplt.out): Likewise.
5475 ($(objpfx)order2-cmp.out): Likewise.
5476 ($(objpfx)tst-leaks1-mem): Likewise.
5477 ($(objpfx)tst-leaks1-static-mem): Likewise.
5478 ($(objpfx)tst-initorder-cmp.out): Likewise.
5479 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5480 ($(objpfx)tst-unused-dep.out): Likewise.
5481 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5482 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5483 * iconv/Makefile (test-iconvconfig): Likewise.
5484 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5485 ($(objpfx)iconv-test.out): Likewise.
5486 ($(objpfx)tst-tables.out): Likewise.
5487 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5488 ($(objpfx)tst-gettext.out): Likewise.
5489 ($(objpfx)tst-translit.out): Likewise.
5490 ($(objpfx)tst-gettext2.out): Likewise.
5491 ($(objpfx)tst-gettext4.out): Likewise.
5492 ($(objpfx)tst-gettext6.out): Likewise.
5493 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5494 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5495 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5496 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5497 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5498 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5499 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5500 ($(objpfx)wordexp-tst.out): Likewise.
5501 ($(objpfx)annexc.out): Likewise.
5502 ($(objpfx)tst-fnmatch-mem): Likewise.
5503 ($(objpfx)bug-regex2-mem): Likewise.
5504 ($(objpfx)bug-regex14-mem): Likewise.
5505 ($(objpfx)bug-regex21-mem): Likewise.
5506 ($(objpfx)bug-regex31-mem): Likewise.
5507 ($(objpfx)tst-vfork3-mem): Likewise.
5508 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5509 ($(objpfx)tst-pcre-mem): Likewise.
5510 ($(objpfx)tst-boost-mem): Likewise.
5511 ($(objpfx)tst-getconf.out): Likewise.
5512 ($(objpfx)bug-ga2-mem): Likewise.
5513 ($(objpfx)bug-glob2-mem): Likewise.
5514 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5515 ($(objpfx)mtrace-tst-leaks2): Likewise.
5516 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5517 ($(objpfx)tst-printf.out): Likewise.
5518 ($(objpfx)tst-setvbuf1.out): Likewise.
5519 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5520 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5521 ($(objpfx)tst-fmtmsg.out): Likewise.
5522 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5523 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5524
5525 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5526 * bits/sigaction.h [__USE_MISC]: Likewise.
5527 * bits/waitstatus.h: Update #endif comments.
5528 * ctype/ctype.h: Likewise.
5529 * dirent/dirent.h: Likewise.
5530 [__USE_MISC]: Remove redundant conditionals.
5531 * grp/grp.h: Update #endif comments.
5532 [__USE_GNU]: Remove redundant conditionals.
5533 [__USE_MISC]: Likewise.
5534 * inet/netinet/in.h [__USE_GNU]: Likewise.
5535 * io/sys/stat.h [__USE_MISC]: Likewise.
5536 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5537 * libio/bits/stdio.h: Update #endif comments.
5538 [__USE_MISC]: Remove redundant conditionals.
5539 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5540 * libio/stdio.h: Update #endif comments.
5541 [__USE_MISC]: Remove redundant conditionals.
5542 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5543 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5544 * math/math.h: Update #else and #endif comments.
5545 [__USE_MISC]: Remove redundant conditionals.
5546 * misc/sys/uio.h: Update #endif comments.
5547 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5548 * posix/glob.h [__USE_MISC]: Likewise.
5549 * posix/sys/types.h: Update #endif comments.
5550 [__USE_MISC]: Remove redundant conditionals.
5551 * posix/sys/wait.h: Update #endif comments.
5552 [__USE_MISC]: Remove redundant conditionals.
5553 * posix/unistd.h: Update #endif comments.
5554 [__USE_MISC]: Remove redundant conditionals.
5555 * pwd/pwd.h [__USE_GNU]: Likewise.
5556 [__USE_MISC]: Likewise.
5557 * resolv/netdb.h [__USE_GNU]: Likewise.
5558 * signal/signal.h: Update #endif comments.
5559 [__USE_MISC]: Remove redundant conditionals.
5560 * stdlib/stdlib.h: Update #else and #endif comments.
5561 [__USE_MISC]: Remove redundant conditionals.
5562 [__USE_GNU]: Likewise.
5563 * string/bits/string2.h [__USE_MISC]: Likewise.
5564 * string/string.h: Update #endif comments.
5565 [__USE_MISC]: Remove redundant conditionals.
5566 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5567 Likewise.
5568 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5569 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5570 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5571 Likewise.
5572 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5573 Likewise.
5574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5575 comments.
5576 [__USE_MISC]: Remove redundant conditionals.
5577 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5578 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5579 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5580 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5581 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5582 Likewise.
5583 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5584 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5585 Likewise.
5586 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5587 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5588 Likewise.
5589 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5590 Likewise.
5591 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5592 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5593 Likewise.
5594 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5595 Likewise.
5596 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5597 * sysdeps/x86/bits/string.h: Update #endif comments.
5598 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5599 conditionals.
5600 * time/sys/time.h: Update #endif comments.
5601 * time/time.h: Likewise.
5602 [__USE_MISC]: Remove redundant conditionals.
5603
5604 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5605
5606 [BZ #16600]
5607 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5608
5609 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5610
5611 * Versions.def (librt): Add GLIBC_2.17.
5612
5613 2014-02-21 Adam Conrad <adconrad@0c3.net>
5614
5615 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5616 synonym for _SYS_AUXV_H to allow direct inclusion.
5617 * sysdeps/sparc/bits/hwcap.h: Likewise.
5618 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5619 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5620 * sysdeps/sparc/sysdep.h: Likewise.
5621
5622 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5623
5624 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5625
5626 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5627
5628 * benchtests/bench-strrchr.c: Print length instead of position.
5629
5630 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5631
5632 [BZ #16611]
5633 * sysdeps/unix/sysv/linux/kernel-features.h
5634 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5635 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5636 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5637 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5638 Likewise.
5639 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5640 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5641 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5642 (__ASSUME_SENDMMSG): Define instead of using previous
5643 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5644 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5645 (__ASSUME_SENDMMSG_SYSCALL): Define.
5646 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5647 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5648 Likewise.
5649 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5650 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5651 Likewise.
5652 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5653 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5654 Likewise.
5655 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5656 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5657 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5658 [__ASSUME_SENDMMSG]: Change conditionals to
5659 [__ASSUME_SENDMMSG_SOCKETCALL].
5660 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5661 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5662 Define.
5663 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5664 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5665 Likewise.
5666 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5667 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5668 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5669 [!__ASSUME_SENDMMSG]: Change conditional to
5670 [!__ASSUME_SENDMMSG_SOCKETCALL].
5671 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5672 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5673 Define.
5674
5675 [BZ #16610]
5676 * sysdeps/unix/sysv/linux/kernel-features.h
5677 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5678 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5679 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5680 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5681 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5682 [__i386__ || __sparc__]
5683 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5684 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5685 (__ASSUME_RECVMMSG): Define instead of using previous
5686 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5687 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5688 (__ASSUME_RECVMMSG_SYSCALL): Define.
5689 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5690 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5691 Likewise.
5692 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5693 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5694 Likewise.
5695 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5696 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5697 Likewise.
5698 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5699 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5700 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5701 [__ASSUME_RECVMMSG]: Change condition to
5702 [__ASSUME_RECVMMSG_SOCKETCALL].
5703 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5704 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5705 Define.
5706 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5707 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5708 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5709 Likewise.
5710 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5711 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5712 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5713 [!__ASSUME_RECVMMSG]: Change condition to
5714 [!__ASSUME_RECVMMSG_SOCKETCALL].
5715 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5716 (__ASSUME_RECVMMSG_SYSCALL): Define.
5717
5718 [BZ #16609]
5719 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5720 __powerpc__ || __s390__ || __sh__ || __sparc__]
5721 (__ASSUME_SOCKETCALL): Define.
5722 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5723 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5724 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5725 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5726 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5727 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5728 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5729 (__ASSUME_ACCEPT4): Define instead of using previous
5730 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5731 __powerpc__ || __sparc__ || __s390__)] condition.
5732 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5733 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5734 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5735 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5736 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5737 [!__ASSUME_ACCEPT4]: Change condition to
5738 [!__ASSUME_ACCEPT4_SOCKETCALL].
5739 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5740 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5741 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5742 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5743 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5744 __ASSUME_ACCEPT4_SYSCALL.
5745 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5746 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5747 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5748 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5749 __ASSUME_ACCEPT4_SYSCALL.
5750 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5751 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5752 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5753 [__ASSUME_ACCEPT4]: Change condition to
5754 [__ASSUME_ACCEPT4_SOCKETCALL].
5755 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5756 (__ASSUME_SOCKETCALL): Define.
5757 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5758 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5759 (__ASSUME_SOCKETCALL): Define.
5760 (__ASSUME_ACCEPT4): Remove.
5761 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5762 Define.
5763 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5764 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5765 Likewise.
5766 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5767 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5768
5769 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5770 macro.
5771 (HWCAP_ARM_LPAE): Likewise.
5772 (HWCAP_ARM_EVTSTRM): Likewise.
5773 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5774 Add vpfd32, lpae and evtstrm.
5775 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5776 Increase to 22.
5777
5778 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5779
5780 * math/auto-libm-test-in: Add tests of clog10.
5781 * math/auto-libm-test-out: Regenerated.
5782 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5783 * sysdeps/i386/fpu/libm-test-ulps: Update.
5784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5785
5786 2014-02-18 Andreas Schwab <schwab@suse.de>
5787
5788 [BZ #16574]
5789 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5790 Store non-zero if the second buffer was newly allocated.
5791 (send_dg): Likewise.
5792 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5793 to send_vc and send_dg.
5794 (res_nsend): Pass NULL for ansp2_malloced.
5795 * resolv/res_query.c (__libc_res_nquery): Add parameter
5796 answerp2_malloced and pass it down to __libc_res_nsend.
5797 (res_nquery): Pass additional NULL to __libc_res_nquery.
5798 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5799 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5800 second answer buffer if answerp2_malloced was set.
5801 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5802 (__libc_res_nquerydomain): Add parameter
5803 answerp2_malloced and pass it down to __libc_res_nquery.
5804 (res_nquerydomain): Pass additional NULL to
5805 __libc_res_nquerydomain.
5806 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5807 additional NULL to __libc_res_nsend and __libc_res_nquery.
5808 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5809 additional NULL to __libc_res_nsearch.
5810 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5811 parameter of __libc_res_nsearch to check for separately allocated
5812 second buffer.
5813 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5814 __libc_res_nquery.
5815 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5816 additional NULL to __libc_res_nquery.
5817 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5818 __libc_res_nsearch.
5819 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5820 * include/resolv.h: Update prototypes of __libc_res_nquery,
5821 __libc_res_nsearch, __libc_res_nsend.
5822
5823 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5824
5825 * math/auto-libm-test-in: Add tests of fma.
5826 * math/auto-libm-test-out: Regenerated.
5827 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5828 (fma_towardzero_test_data): Likewise.
5829 (fma_downward_test_data): Likewise.
5830 (fma_upward_test_data): Likewise.
5831 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5832 mpc_mode.
5833 (rounding_modes): Add values for new field.
5834 (func_calc_method): Add value mpfr_fff_f.
5835 (func_calc_desc): Add mpfr_fff_f union field.
5836 (test_function): Add field exact_args.
5837 (FUNC): Add macro argument EXACT_ARGS.
5838 (FUNC_mpfr_f_f): Update call to FUNC.
5839 (FUNC_mpfr_f_f): Likewise.
5840 (FUNC_mpfr_ff_f): Likewise.
5841 (FUNC_mpfr_if_f): Likewise.
5842 (FUNC_mpc_c_f): Likewise.
5843 (FUNC_mpc_c_c): Likewise.
5844 (test_functions): Add fma. Update calls to FUNC.
5845 (handle_input_arg): Add argument exact_args.
5846 (add_test): Update call to handle_input_arg.
5847 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5848 (output_for_one_input_case): Update call to calc_generic_results.
5849 Recalculate exact zero results in each rounding mode.
5850
5851 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5852 non-negative before setting low bit.
5853 * math/auto-libm-test-in: Mark one asin test possibly having
5854 spurious underflow.
5855 * math/auto-libm-test-out: Regenerated.
5856 * sysdeps/i386/fpu/libm-test-ulps: Update.
5857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5858
5859 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5860
5861 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5862 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5863 ports/sysdeps/unix/sysv/linux/microblaze.
5864 * README: Add missing listing for microblaze*-*-linux-gnu.
5865
5866 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5867
5868 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5869 * sysdeps/unix/sysv/linux/ia64: Move directory from
5870 ports/sysdeps/unix/sysv/linux/ia64.
5871 * README: Update listing for ia64-*-linux-gnu.
5872
5873 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5874 Joseph Myers <joseph@codesourcery.com>
5875
5876 * Makeconfig (test-name): New variable.
5877 (evaluate-test): Likewise.
5878 * Makerules (do-test-clean): Remove .test-result files.
5879 (common-mostlyclean): Likewise.
5880 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5881 * scripts/evaluate-test.sh: New file.
5882
5883 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5884
5885 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5886 separate $(objpfx)tst-fopenloc-cmp.out and
5887 $(objpfx)tst-fopenloc-mem.out targets.
5888 (tests): Update dependencies.
5889 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5890 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5891 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5892 (tst-rxspencer-no-utf8-ARGS): New variable.
5893 (tst-rxspencer-no-utf8-ENV): Likewise.
5894 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5895 instead of $(objpfx)tst-rxspencer-mem.
5896 ($(objpfx)tst-rxspencer-mem): Change target to
5897 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5898 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5899 * posix/tst-rxspencer-no-utf8.c: New file.
5900
5901 * elf/Makefile ($(objpfx)order.out): Remove rule.
5902 [$(run-built-tests) = yes] (tests): Depend on
5903 $(objpfx)order-cmp.out.
5904 ($(objpfx)order-cmp.out): New rule.
5905 [$(run-built-tests) = yes] (tests): Depend on
5906 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5907 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5908 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5909 $(objpfx)tst-array5-static-cmp.out.
5910 ($(objpfx)tst-array1.out): Remove rule.
5911 ($(objpfx)tst-array1-cmp.out): New rule.
5912 ($(objpfx)tst-array1-static.out): Remove rule.
5913 ($(objpfx)tst-array1-static-cmp.out): New rule.
5914 ($(objpfx)tst-array2.out): Remove rule.
5915 ($(objpfx)tst-array2-cmp.out): New rule.
5916 ($(objpfx)tst-array3.out): Remove rule.
5917 ($(objpfx)tst-array3-cmp.out): New rule.
5918 ($(objpfx)tst-array4.out): Remove rule.
5919 ($(objpfx)tst-array4-cmp.out): New rule.
5920 ($(objpfx)tst-array5.out): Remove rule.
5921 ($(objpfx)tst-array5-cmp.out): New rule.
5922 ($(objpfx)tst-array5-static.out): Remove rule.
5923 ($(objpfx)tst-array5-static-cmp.out): New rule.
5924 [$(run-built-tests) = yes] (tests): Depend on
5925 $(objpfx)order2-cmp.out.
5926 ($(objpfx)order2.out): Remove rule.
5927 ($(objpfx)order2-cmp.out): New rule.
5928 ($(objpfx)tst-initorder.out): Remove rule.
5929 [$(run-built-tests) = yes] (tests): Depend on
5930 $(objpfx)tst-initorder-cmp.out.
5931 ($(objpfx)tst-initorder-cmp.out): New rule.
5932 ($(objpfx)tst-initorder2.out): Remove rule.
5933 [$(run-built-tests) = yes] (tests): Depend on
5934 $(objpfx)tst-initorder2-cmp.out.
5935 ($(objpfx)tst-initorder2-cmp.out): New rule.
5936 [$(run-built-tests) = yes] (tests): Depend on
5937 $(objpfx)tst-unused-dep-cmp.out.
5938 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5939 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5940 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5941 on $(objpfx)tst-setvbuf1-cmp.out.
5942 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5943 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5944 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5945 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5946 ($(objpfx)tst-svc.out): Remove rule.
5947 ($(objpfx)tst-svc-cmp.out): New rule.
5948
5949 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5950
5951 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5952 * ctype/ctype.h [__USE_MISC]: Likewise.
5953 * dirent/dirent.h [__USE_MISC]: Likewise.
5954 * grp/grp.h [__USE_MISC]: Likewise.
5955 * io/fcntl.h [__USE_MISC]: Likewise.
5956 * io/sys/stat.h [__USE_MISC]: Likewise.
5957 * libio/stdio.h [__USE_MISC]: Likewise.
5958 * posix/unistd.h [__USE_MISC]: Likewise.
5959 * pwd/pwd.h [__USE_MISC]: Likewise.
5960 * stdlib.h [__USE_MISC]: Likewise.
5961 * string/bits/string2.h [__USE_MISC]: Likewise.
5962 * string/string.h [__USE_MISC]: Likewise.
5963 * time/time.h [__USE_MISC]: Likewise.
5964
5965 2014-02-13 Andreas Schwab <schwab@suse.de>
5966
5967 [BZ #16574]
5968 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5969 second answer buffer if it was separately allocated.
5970
5971 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5972
5973 * sysdeps/mips/math-tests.h: Include <features.h>.
5974 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5975 (ROUNDING_TESTS_long_double): Do not define.
5976 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5977 (EXCEPTION_TESTS_long_double): Likewise.
5978 * sysdeps/mips/mips64/libm-test-ulps: Update.
5979
5980 * include/features.h (__USE_BSD): Remove macro definitions.
5981 (__USE_SVID): Likewise.
5982 (_BSD_SOURCE): Likewise.
5983 (_SVID_SOURCE): Likewise.
5984 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5985 from definition of _DEFAULT_SOURCE.
5986 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5987 [_DEFAULT_SOURCE].
5988 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5989 * bits/mman.h [__USE_BSD]: Likewise.
5990 * bits/termios.h [__USE_BSD]: Likewise.
5991 * bits/waitstatus.h [__USE_BSD]: Likewise.
5992 * ctype/ctype.h [__USE_SVID]: Likewise.
5993 * dirent/dirent.h [__USE_BSD]: Likewise.
5994 * grp/grp.h [__USE_SVID]: Likewise.
5995 [__USE_BSD]: Likewise.
5996 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5997 * io/fcntl.h [__USE_BSD]: Likewise.
5998 * io/ftw.h [__USE_BSD]: Likewise.
5999 * io/sys/stat.h [__USE_BSD]: Likewise.
6000 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6001 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6002 * libio/stdio.h [__USE_SVID]: Likewise.
6003 [__USE_BSD]: Likewise.
6004 * math/math.h [__USE_SVID]: Likewise.
6005 [__USE_BSD]: Likewise.
6006 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6007 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6008 * misc/search.h [__USE_SVID]: Likewise.
6009 * misc/sys/mman.h [__USE_BSD]: Likewise.
6010 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6011 * misc/sys/uio.h [__USE_BSD]: Likewise.
6012 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6013 * posix/glob.h [__USE_BSD]: Likewise.
6014 * posix/regex.h [__USE_BSD]: Likewise.
6015 * posix/sys/types.h [__USE_BSD]: Likewise.
6016 [__USE_SVID]: Likewise.
6017 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6018 * posix/sys/wait.h [__USE_BSD]: Likewise.
6019 [__USE_SVID]: Likewise.
6020 * posix/unistd.h [__USE_BSD]: Likewise.
6021 [__USE_SVID]: Likewise.
6022 * pwd/pwd.h [__USE_SVID]: Likewise.
6023 * resolv/netdb.h [__USE_BSD]: Likewise.
6024 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6025 * signal/signal.h [__USE_BSD]: Likewise.
6026 [__USE_SVID]: Likewise.
6027 * socket/sys/socket.h [__USE_BSD]: Likewise.
6028 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6029 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6030 [__USE_SVID]: Likewise.
6031 * string/bits/string2.h [__USE_BSD]: Likewise.
6032 [__USE_SVID]: Likewise.
6033 * string/bits/string3.h [__USE_BSD]: Likewise.
6034 * string/endian.h [__USE_BSD]: Likewise.
6035 * string/string.h [__USE_SVID]: Likewise.
6036 [__USE_BSD]: Likewise.
6037 * string/strings.h [__USE_BSD]: Likewise.
6038 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6039 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6040 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6041 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6042 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6043 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6044 Likewise.
6045 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6046 Likewise.
6047 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6048 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6049 Likewise.
6050 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6051 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6052 Likewise.
6053 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6054 Likewise.
6055 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6056 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6057 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6058 Likewise.
6059 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6060 Likewise.
6061 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6062 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6063 * termios/termios.h [__USE_BSD]: Likewise.
6064 * time/sys/time.h [__USE_BSD]: Likewise.
6065 * time/time.h [__USE_BSD]: Likewise.
6066 [__USE_SVID]: Likewise.
6067
6068 * Makefile (subdir_targets): Remove subdir_lint.out.
6069
6070 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6071 (do-tst-printf): Likewise.
6072 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6073 $(objpfx)tst-printf.out.
6074
6075 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6076
6077 * Makerules (check-abi-%): Change target to
6078 $(objpfx)check-abi-%.out.
6079 (check-abi target): Update dependencies.
6080 (check-abi-pattern variable): Redirect output of diff to $@.
6081 (check-abi variable): Likewise.
6082 * elf/Makefile (check-abi): Update dependencies.
6083
6084 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6085 unused.
6086 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6087 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6088 subnormal range.
6089 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6090 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6091 value has largest subnormal exponent.
6092 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6093 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6094 * sysdeps/aarch64/soft-fp/sfp-machine.h
6095 (_FP_TININESS_AFTER_ROUNDING): New macro.
6096 * sysdeps/alpha/soft-fp/sfp-machine.h
6097 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6098 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6099 Likewise.
6100 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6101 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6102 * sysdeps/mips/soft-fp/sfp-machine.h
6103 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6104 * sysdeps/powerpc/soft-fp/sfp-machine.h
6105 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6106 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6107 Likewise.
6108 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6109 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6110 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6111 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6112 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6113 Likewise.
6114
6115 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
6116
6117 [BZ #16545]
6118 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6119 model 1.
6120
6121 2014-02-12 Richard Henderson <rth@redhat.com>
6122
6123 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6124 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6125 * sysdeps/unix/sysv/linux/alpha: Move directory from
6126 ports/sysdeps/unix/sysv/linux/alpha.
6127 * README: Update listing for alpha-*-linux-gnu.
6128
6129 2014-02-11 Joseph Myers <joseph@codesourcery.com>
6130
6131 * include/features.h: Update comment documenting feature test
6132 macros.
6133 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6134 _DEFAULT_SOURCE.
6135 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6136 (_SVID_SOURCE): Likewise.
6137 (_DEFAULT_SOURCE): Update description of default features.
6138 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6139 with _GNU_SOURCE.
6140 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6141 (S_ISVTX): Likewise.
6142 * manual/math.texi (Mathematical Constants): Likewise.
6143 * manual/signal.texi (Interrupted Primitives): Likewise.
6144 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6145 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6146 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6147 Don't refer to _SVID_SOURCE in warning text.
6148
6149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6150
6151 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6152 already defined.
6153 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6154 * sysdeps/mips/dl-lookup.c: Remove.
6155 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6156
6157 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6158
6159 [BZ #16447]
6160 * math/auto-libm-test-in: Add testcase for expl.
6161 * math/auto-libm-test-out: Regenerate.
6162 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6163 calculation of unsafe.
6164 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6165
6166 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6167
6168 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6169 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6170 ports/sysdeps/unix/sysv/linux/aarch64.
6171 * README: Update listing for aarch64*-*-linux-gnu.
6172
6173 2014-02-11 Will Newton <will.newton@linaro.org>
6174
6175 * manual/probes.texi (Mathematical Function Probes): Use
6176 "triggered" instead of "hit".
6177
6178 * manual/probes.texi (Internal Probes): Add documentation
6179 of setjmp, longjmp and longjmp_target probes.
6180
6181 * include/stap-probe.h: Add comment about probe argument
6182 format.
6183
6184 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6185 definition. (tr_where, tr_freehook, tr_mallochook,
6186 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6187
6188 2014-02-11 David S. Miller <davem@davemloft.net>
6189
6190 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6191 processing int_tests.
6192
6193 2014-02-10 Joseph Myers <joseph@codesourcery.com>
6194
6195 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6196 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6197 * sysdeps/unix/sysv/linux/mips: Move directory from
6198 ports/sysdeps/unix/sysv/linux/mips.
6199 * README: Update listing for mips-*-linux-gnu and
6200 mips64-*-linux-gnu.
6201
6202 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6203
6204 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6205 * sysdeps/unix/sysv/linux/m68k: Move directory from
6206 ports/sysdeps/unix/sysv/linux/m68k.
6207 * README: Update listing for m68k-*-linux-gnu.
6208
6209 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6210
6211 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6212 * sysdeps/unix/sysv/linux/generic: Move directory from
6213 ports/sysdeps/unix/sysv/linux/generic.
6214 * sysdeps/unix/sysv/linux/tile: Move directory from
6215 ports/sysdeps/unix/sysv/linux/tile.
6216 * README: Update listing for tile*-*-linux-gnu.
6217
6218 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
6219
6220 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6221 __builtin_expect.
6222 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6223 * catgets/open_catalog.c (__open_catalog): Likewise.
6224 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6225 * debug/confstr_chk.c: Likewise.
6226 * debug/fread_chk.c (__fread_chk): Likewise.
6227 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6228 * debug/getgroups_chk.c: Likewise.
6229 * debug/mbsnrtowcs_chk.c: Likewise.
6230 * debug/mbsrtowcs_chk.c: Likewise.
6231 * debug/mbstowcs_chk.c: Likewise.
6232 * debug/memcpy_chk.c: Likewise.
6233 * debug/memmove_chk.c: Likewise.
6234 * debug/mempcpy_chk.c: Likewise.
6235 * debug/memset_chk.c: Likewise.
6236 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6237 * debug/strcat_chk.c (__strcat_chk): Likewise.
6238 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6239 * debug/strncat_chk.c (__strncat_chk): Likewise.
6240 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6241 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6242 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6243 * debug/wcpncpy_chk.c: Likewise.
6244 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6245 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6246 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6247 * debug/wcsncpy_chk.c: Likewise.
6248 * debug/wcsnrtombs_chk.c: Likewise.
6249 * debug/wcsrtombs_chk.c: Likewise.
6250 * debug/wcstombs_chk.c: Likewise.
6251 * debug/wmemcpy_chk.c: Likewise.
6252 * debug/wmemmove_chk.c: Likewise.
6253 * debug/wmempcpy_chk.c: Likewise.
6254 * debug/wmemset_chk.c: Likewise.
6255 * dirent/scandirat.c (SCANDIRAT): Likewise.
6256 * dlfcn/dladdr1.c (dladdr1): Likewise.
6257 * dlfcn/dladdr.c (dladdr): Likewise.
6258 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6259 * dlfcn/dlerror.c (__dlerror): Likewise.
6260 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6261 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6262 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6263 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6264 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6265 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6266 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6267 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6268 Likewise.
6269 * elf/dl-conflict.c: Likewise.
6270 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6271 * elf/dl-dst.h: Likewise.
6272 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6273 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6274 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6275 * elf/dl-init.c (call_init, _dl_init): Likewise.
6276 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6277 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6278 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6279 Likewise.
6280 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6281 Likewise.
6282 * elf/dl-minimal.c (__libc_memalign): Likewise.
6283 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6284 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6285 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6286 * elf/dl-sym.c (do_sym): Likewise.
6287 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6288 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6289 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6290 * elf/dl-writev.h (_dl_writev): Likewise.
6291 * elf/ldconfig.c (search_dir): Likewise.
6292 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6293 (dl_main): Likewise.
6294 * elf/setup-vdso.h (setup_vdso): Likewise.
6295 * grp/compat-initgroups.c (compat_call): Likewise.
6296 * grp/fgetgrent.c (fgetgrent): Likewise.
6297 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6298 * grp/putgrent.c (putgrent): Likewise.
6299 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6300 Likewise.
6301 * hurd/hurdinit.c: Likewise.
6302 * iconvdata/8bit-gap.c (struct): Likewise.
6303 * iconvdata/ansi_x3.110.c : Likewise.
6304 * iconvdata/big5.c : Likewise.
6305 * iconvdata/big5hkscs.c : Likewise.
6306 * iconvdata/cp1255.c: Likewise.
6307 * iconvdata/cp1258.c : Likewise.
6308 * iconvdata/cp932.c : Likewise.
6309 * iconvdata/euc-cn.c: Likewise.
6310 * iconvdata/euc-jisx0213.c : Likewise.
6311 * iconvdata/euc-jp.c: Likewise.
6312 * iconvdata/euc-jp-ms.c : Likewise.
6313 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6314 * iconvdata/gb18030.c : Likewise.
6315 * iconvdata/gbbig5.c (const): Likewise.
6316 * iconvdata/gbgbk.c: Likewise.
6317 * iconvdata/gbk.c : Likewise.
6318 * iconvdata/ibm1364.c : Likewise.
6319 * iconvdata/ibm930.c : Likewise.
6320 * iconvdata/ibm932.c: Likewise.
6321 * iconvdata/ibm933.c : Likewise.
6322 * iconvdata/ibm935.c : Likewise.
6323 * iconvdata/ibm937.c : Likewise.
6324 * iconvdata/ibm939.c : Likewise.
6325 * iconvdata/ibm943.c: Likewise.
6326 * iconvdata/iso_11548-1.c: Likewise.
6327 * iconvdata/iso-2022-cn.c : Likewise.
6328 * iconvdata/iso-2022-cn-ext.c : Likewise.
6329 * iconvdata/iso-2022-jp-3.c: Likewise.
6330 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6331 * iconvdata/iso-2022-kr.c : Likewise.
6332 * iconvdata/iso646.c (gconv_end): Likewise.
6333 * iconvdata/iso_6937-2.c : Likewise.
6334 * iconvdata/iso_6937.c : Likewise.
6335 * iconvdata/iso8859-1.c: Likewise.
6336 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6337 * iconvdata/shift_jisx0213.c : Likewise.
6338 * iconvdata/sjis.c : Likewise.
6339 * iconvdata/t.61.c : Likewise.
6340 * iconvdata/tcvn5712-1.c : Likewise.
6341 * iconvdata/tscii.c: Likewise.
6342 * iconvdata/uhc.c : Likewise.
6343 * iconvdata/unicode.c (gconv_end): Likewise.
6344 * iconvdata/utf-16.c (gconv_end): Likewise.
6345 * iconvdata/utf-32.c (gconv_end): Likewise.
6346 * iconvdata/utf-7.c (base64): Likewise.
6347 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6348 * iconv/gconv_close.c (__gconv_close): Likewise.
6349 * iconv/gconv_open.c (__gconv_open): Likewise.
6350 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6351 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6352 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6353 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6354 (ucs4le_internal_loop_single): Likewise.
6355 * iconv/iconv.c (iconv): Likewise.
6356 * iconv/iconv_close.c: Likewise.
6357 * iconv/loop.c (SINGLE): Likewise.
6358 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6359 * include/atomic.h: Likewise.
6360 * inet/inet6_option.c (option_alloc): Likewise.
6361 * intl/bindtextdom.c (set_binding_values): Likewise.
6362 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6363 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6364 * intl/localealias.c (read_alias_file): Likewise.
6365 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6366 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6367 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6368 * libio/fmemopen.c (fmemopen): Likewise.
6369 * libio/iofgets.c (_IO_fgets): Likewise.
6370 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6371 * libio/iofgetws.c (fgetws): Likewise.
6372 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6373 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6374 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6375 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6376 * locale/findlocale.c (_nl_find_locale): Likewise.
6377 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6378 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6379 Likewise.
6380 * locale/setlocale.c (setlocale): Likewise.
6381 * login/programs/pt_chown.c (main): Likewise.
6382 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6383 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6384 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6385 (mmap, mmap64, mremap, munmap): Likewise.
6386 * math/e_exp2l.c: Likewise.
6387 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6388 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6389 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6390 * math/s_catan.c (__catan): Likewise.
6391 * math/s_catanf.c (__catanf): Likewise.
6392 * math/s_catanh.c (__catanh): Likewise.
6393 * math/s_catanhf.c (__catanhf): Likewise.
6394 * math/s_catanhl.c (__catanhl): Likewise.
6395 * math/s_catanl.c (__catanl): Likewise.
6396 * math/s_ccosh.c (__ccosh): Likewise.
6397 * math/s_ccoshf.c (__ccoshf): Likewise.
6398 * math/s_ccoshl.c (__ccoshl): Likewise.
6399 * math/s_cexp.c (__cexp): Likewise.
6400 * math/s_cexpf.c (__cexpf): Likewise.
6401 * math/s_cexpl.c (__cexpl): Likewise.
6402 * math/s_clog10.c (__clog10): Likewise.
6403 * math/s_clog10f.c (__clog10f): Likewise.
6404 * math/s_clog10l.c (__clog10l): Likewise.
6405 * math/s_clog.c (__clog): Likewise.
6406 * math/s_clogf.c (__clogf): Likewise.
6407 * math/s_clogl.c (__clogl): Likewise.
6408 * math/s_csin.c (__csin): Likewise.
6409 * math/s_csinf.c (__csinf): Likewise.
6410 * math/s_csinh.c (__csinh): Likewise.
6411 * math/s_csinhf.c (__csinhf): Likewise.
6412 * math/s_csinhl.c (__csinhl): Likewise.
6413 * math/s_csinl.c (__csinl): Likewise.
6414 * math/s_csqrt.c (__csqrt): Likewise.
6415 * math/s_csqrtf.c (__csqrtf): Likewise.
6416 * math/s_csqrtl.c (__csqrtl): Likewise.
6417 * math/s_ctan.c (__ctan): Likewise.
6418 * math/s_ctanf.c (__ctanf): Likewise.
6419 * math/s_ctanh.c (__ctanh): Likewise.
6420 * math/s_ctanhf.c (__ctanhf): Likewise.
6421 * math/s_ctanhl.c (__ctanhl): Likewise.
6422 * math/s_ctanl.c (__ctanl): Likewise.
6423 * math/w_pow.c: Likewise.
6424 * math/w_powf.c: Likewise.
6425 * math/w_powl.c: Likewise.
6426 * math/w_scalb.c (sysv_scalb): Likewise.
6427 * math/w_scalbf.c (sysv_scalbf): Likewise.
6428 * math/w_scalbl.c (sysv_scalbl): Likewise.
6429 * misc/error.c (error_tail): Likewise.
6430 * misc/pselect.c (__pselect): Likewise.
6431 * nis/nis_callback.c (__nis_create_callback): Likewise.
6432 * nis/nis_call.c (__nisfind_server): Likewise.
6433 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6434 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6435 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6436 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6437 * nis/nis_lookup.c (nis_lookup): Likewise.
6438 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6439 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6440 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6441 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6442 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6443 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6444 * nis/nss_compat/compat-initgroups.c (add_group)
6445 (internal_getgrent_r): Likewise.
6446 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6447 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6448 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6449 (internal_getspnam_r): Likewise.
6450 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6451 (_nss_nis_getaliasbyname_r): Likewise.
6452 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6453 (_nss_nis_getntohost_r): Likewise.
6454 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6455 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6456 (_nss_nis_getgrgid_r): Likewise.
6457 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6458 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6459 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6460 (_nss_nis_gethostbyname4_r): Likewise.
6461 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6462 (initgroups_netid): Likewise.
6463 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6464 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6465 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6466 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6467 (_nss_nis_getprotobynumber_r): Likewise.
6468 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6469 (_nss_nis_getsecretkey): Likewise.
6470 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6471 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6472 (_nss_nis_getpwuid_r): Likewise.
6473 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6474 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6475 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6476 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6477 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6478 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6479 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6480 Likewise.
6481 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6482 (_nss_nisplus_getntohost_r): Likewise.
6483 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6484 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6485 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6486 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6487 Likewise.
6488 * nis/nss_nisplus/nisplus-initgroups.c
6489 (_nss_nisplus_initgroups_dyn): Likewise.
6490 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6491 (_nss_nisplus_getnetbyaddr_r): Likewise.
6492 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6493 (_nss_nisplus_getprotobynumber_r): Likewise.
6494 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6495 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6496 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6497 Likewise.
6498 * nis/nss_nisplus/nisplus-service.c
6499 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6500 (_nss_nisplus_getservbyport_r): Likewise.
6501 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6502 (_nss_nisplus_getspnam_r): Likewise.
6503 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6504 Likewise.
6505 * nscd/aicache.c (addhstaiX): Likewise.
6506 * nscd/cache.c (cache_search, prune_cache): Likewise.
6507 * nscd/connections.c (register_traced_file, send_ro_fd)
6508 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6509 (main_loop_epoll): Likewise.
6510 * nscd/grpcache.c (addgrbyX): Likewise.
6511 * nscd/hstcache.c (addhstbyX): Likewise.
6512 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6513 * nscd/mem.c (gc, mempool_alloc): Likewise.
6514 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6515 (addinnetgrX): Likewise.
6516 * nscd/nscd-client.h (__nscd_acquire_maplock)
6517 (__nscd_drop_map_ref): Likewise.
6518 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6519 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6520 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6521 Likewise.
6522 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6523 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6524 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6525 (__nscd_get_map_ref): Likewise.
6526 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6527 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6528 Likewise.
6529 * nscd/pwdcache.c (addpwbyX): Likewise.
6530 * nscd/selinux.c (preserve_capabilities): Likewise.
6531 * nscd/servicescache.c (addservbyX): Likewise.
6532 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6533 * posix/fnmatch.c (fnmatch): Likewise.
6534 * posix/getopt.c (_getopt_internal_r): Likewise.
6535 * posix/glob.c (glob, glob_in_dir): Likewise.
6536 * posix/wordexp.c (exec_comm_child): Likewise.
6537 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6538 (getanswer_r, gaih_getanswer_slice): Likewise.
6539 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6540 * resolv/res_init.c: Likewise.
6541 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6542 * resolv/res_query.c (__libc_res_nquery): Likewise.
6543 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6544 Likewise.
6545 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6546 * stdio-common/perror.c (perror): Likewise.
6547 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6548 * stdio-common/tmpnam.c (tmpnam): Likewise.
6549 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6550 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6551 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6552 Likewise.
6553 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6554 * stdlib/putenv.c (putenv): Likewise.
6555 * stdlib/setenv.c (__add_to_environ): Likewise.
6556 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6557 * stdlib/strtol_l.c (INTERNAL): Likewise.
6558 * string/memmem.c (memmem): Likewise.
6559 * string/strerror.c (strerror): Likewise.
6560 * string/strnlen.c (__strnlen): Likewise.
6561 * string/test-memmem.c (simple_memmem): Likewise.
6562 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6563 * sunrpc/pm_getport.c (__get_socket): Likewise.
6564 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6565 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6566 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6567 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6568 Likewise.
6569 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6570 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6571 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6572 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6573 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6574 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6575 Likewise.
6576 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6577 Likewise.
6578 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6579 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6580 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6581 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6582 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6584 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6585 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6586 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6587 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6588 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6589 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6590 Likewise.
6591 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6592 Likewise.
6593 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6594 Likewise.
6595 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6597 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6598 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6599 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6600 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6601 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6602 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6604 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6605 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6607 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6608 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6610 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6611 Likewise.
6612 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6613 Likewise.
6614 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6615 Likewise.
6616 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6617 Likewise.
6618 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6620 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6621 Likewise.
6622 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6623 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6624 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6625 * sysdeps/posix/sleep.c: Likewise.
6626 * sysdeps/posix/tempname.c: Likewise.
6627 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6628 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6629 Likewise.
6630 * sysdeps/powerpc/powerpc32/dl-machine.h
6631 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6632 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6634 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6635 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6636 Likewise.
6637 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6638 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6639 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6640 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6641 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6642 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6643 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6644 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6645 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6646 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6647 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6648 (elf_machine_lazy_rel): Likewise.
6649 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6651 (elf_machine_lazy_rel): Likewise.
6652 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6653 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6654 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6655 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6656 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6657 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6658 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6659 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6660 Likewise.
6661 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6662 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6663 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6664 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6665 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6666 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6667 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6668 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6669 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6670 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6671 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6672 Likewise.
6673 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6674 (__posix_fallocate64_l64): Likewise.
6675 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6676 (posix_fallocate): Likewise.
6677 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6678 Likewise.
6679 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6680 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6681 (getifaddrs_internal): Likewise.
6682 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6683 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6684 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6685 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6686 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6687 (__posix_fallocate64_l64): Likewise.
6688 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6689 Likewise.
6690 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6691 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6692 (__get_clockfreq): Likewise.
6693 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6694 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6695 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6697 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6698 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6699 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6700 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6701 Likewise.
6702 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6703 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6704 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6705 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6706 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6707 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6708 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6709 Likewise.
6710 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6711 (posix_fallocate): Likewise.
6712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6713 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6714 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6715 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6716 (elf_machine_rela, elf_machine_rela_relative)
6717 (elf_machine_lazy_rel): Likewise.
6718 * time/asctime.c (asctime_internal): Likewise.
6719 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6720 * time/tzset.c (__tzset_parse_tz): Likewise.
6721 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6722 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6723 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6724 * wcsmbs/wcsmbsload.h: Likewise.
6725
6726 [BZ #15894]
6727 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6728
6729 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6730 (arena_get2): Remove THREAD_STATS conditionals.
6731 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6732 (__malloc_stats, int): Likewise.
6733
6734 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6735
6736 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6737 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6738
6739 * manual/setjmp.texi: Fix typos/grammar errors.
6740
6741 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6742 Only return early when n is <= 0. Delete unused return statement.
6743
6744 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6745 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6746 * debug/tst-longjmp_chk3.c: New file.
6747
6748 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6749 (test_main): Replace code with set_fortify_handler call.
6750 * debug/test-strcpy_chk.c: Likewise.
6751 * debug/tst-chk1.c: Likewise.
6752 * debug/tst-longjmp_chk.c: Likewise.
6753 * test-skeleton.c: Include fcntl.h & paths.h
6754 (set_fortify_handler): Define.
6755
6756 * debug/tst-longjmp_chk.c: Add header comment and include
6757 ../test-skeleton.c.
6758 (do_test): Mark static.
6759 (TEST_FUNCTION): Define.
6760
6761 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6762 (IP_PMTUDISC_INTERFACE): Likewise.
6763 (IP_MULTICAST_IF): Likewise.
6764 (IP_MULTICAST_TTL): Likewise.
6765 (IP_MULTICAST_LOOP): Likewise.
6766 (IP_ADD_MEMBERSHIP): Likewise.
6767 (IP_DROP_MEMBERSHIP): Likewise.
6768 (IP_UNBLOCK_SOURCE): Likewise.
6769 (IP_BLOCK_SOURCE): Likewise.
6770 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6771 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6772 (IP_MSFILTER): Likewise.
6773 (MCAST_JOIN_GROUP): Likewise.
6774 (MCAST_BLOCK_SOURCE): Likewise.
6775 (MCAST_UNBLOCK_SOURCE): Likewise.
6776 (MCAST_LEAVE_GROUP): Likewise.
6777 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6778 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6779 (MCAST_MSFILTER): Likewise.
6780 (IP_MULTICAST_ALL): Likewise.
6781 (IP_UNICAST_IF): Likewise.
6782
6783 * timezone/Makefile: Delete $(have-ksh) check.
6784 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6785 * timezone/tzselect.ksh: Add +x mode bits.
6786
6787 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6788 (ANON_INODE_FS_MAGIC): Likewise.
6789 (BDEVFS_MAGIC): Likewise.
6790 (BINFMTFS_MAGIC): Likewise.
6791 (BTRFS_TEST_MAGIC): Likewise.
6792 (CRAMFS_MAGIC_WEND): Likewise.
6793 (DEBUGFS_MAGIC): Likewise.
6794 (ECRYPTFS_SUPER_MAGIC): Likewise.
6795 (EXT3_SUPER_MAGIC): Likewise.
6796 (EXT4_SUPER_MAGIC): Likewise.
6797 (FUTEXFS_SUPER_MAGIC): Likewise.
6798 (HOSTFS_SUPER_MAGIC): Likewise.
6799 (HUGETLBFS_MAGIC): Likewise.
6800 (MINIX3_SUPER_MAGIC): Likewise.
6801 (MTD_INODE_FS_MAGIC): Likewise.
6802 (NILFS_SUPER_MAGIC): Likewise.
6803 (OPENPROM_SUPER_MAGIC): Likewise.
6804 (PIPEFS_MAGIC): Likewise.
6805 (PSTOREFS_MAGIC): Likewise.
6806 (QNX6_SUPER_MAGIC): Likewise.
6807 (RAMFS_MAGIC): Likewise.
6808 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6809 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6810 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6811 (SECURITYFS_MAGIC): Likewise.
6812 (SELINUX_MAGIC): Likewise.
6813 (SMACK_MAGIC): Likewise.
6814 (SOCKFS_MAGIC): Likewise.
6815 (SQUASHFS_MAGIC): Likewise.
6816 (STACK_END_MAGIC): Likewise.
6817 (TMPFS_MAGIC): Likewise.
6818 (USBDEVICE_SUPER_MAGIC): Likewise.
6819 (V9FS_MAGIC): Likewise.
6820 (XENFS_SUPER_MAGIC): Likewise.
6821 (CRAMFS_MAGIC): Fix typo in comment.
6822 (EXT2_SUPER_MAGIC): Update comment.
6823 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6824
6825 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6826
6827 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6828 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6829 * sysdeps/unix/sysv/linux/arm: Move directory from
6830 ports/sysdeps/unix/sysv/linux/arm.
6831 * README: Update listing for arm-*-linux-gnueabi.
6832
6833 * README: Remove mention of am33.
6834
6835 2014-02-07 Roland McGrath <roland@hack.frob.com>
6836
6837 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6838 than the comma operator, to avoid "rhs of comma has no effect"
6839 compiler warnings.
6840 (__sigfillset, __sigandset, __sigorset): Likewise.
6841 * include/signal.h (__sigemptyset): Likewise.
6842 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6843
6844 2014-02-07 Allan McRae <allan@archlinux.org>
6845
6846 * version.h (RELEASE): Set to "development".
6847 (VERSION): Set to "2.19.90"
6848 * NEWS: Add 2.20 section.
6849
6850 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6851
6852 [BZ #16529]
6853 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6854
6855 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6856
6857 * manual/contrib.texi: Update entry for Carlos O'Donell,
6858 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6859
6860 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6861
6862 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6863
6864 * sysdeps/unix/sysv/linux/kernel-features.h
6865 [__LINUX_KERNEL_VERSION >= 0x020621]
6866 (__ASSUME_PROC_PID_TASK_COMM): Define.
6867
6868 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6869
6870 [BZ #16398]
6871 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6872 conversion when destination buffer does not have enough space.
6873 * libio/tst-ftell-partial-wide.c: New test case.
6874 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6875
6876 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6877 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6878 Leonard and Allan McRae.
6879
6880 2014-02-04 David S. Miller <davem@davemloft.net>
6881
6882 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6883 32-bit.
6884
6885 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6886
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6888 New file
6889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6890 New file
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6892 New file.
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6894 New file.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6896 New file.
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6898 New file.
6899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6900 New file.
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6902 New file.
6903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6904 New file.
6905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6906 New file.
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6908 New file.
6909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6910 New file.
6911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6912 New file.
6913
6914 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6915
6916 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6917 * shlib-versions: Likewise.
6918
6919 2014-02-04 Roland McGrath <roland@hack.frob.com>
6920 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6921
6922 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6923 (abilist-pattern): New variable, set to %-le.abilist.
6924
6925 * Makerules (abilist-pattern): New variable.
6926 (vpath): Use $(abilist-pattern) in place of %.abilist.
6927 (check-abi-% pattern rule): Likewise.
6928 (check-abi, update-abi): Likewise.
6929
6930 2014-02-04 Eric Wong <normalperson@yhbt.net>
6931
6932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6933
6934 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6935
6936 * manual/startup.texi: Add next, previous, and top entries for
6937 the `Program Arguments' and `Environment Variables' nodes.
6938
6939 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6940
6941 * manual/macros.texi: Add comments before MTASC-safety macros.
6942
6943 * manual/users.texi: Document MTASC-safety properties.
6944
6945 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6946 (pthread_getspecific, pthread_setspecific): Format with
6947 @deftypefun, and add @safety note.
6948 * manual/signal.texi: Move comments that analyze the above
6949 functions to their home place.
6950
6951 2014-02-03 Allan McRae <allan@archlinux.org>
6952
6953 * po/sl.po: Update Slovenian translation from translation project.
6954
6955 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6956
6957 * manual/time.texi (timegm): Add missing blank after @c.
6958 Reported by Joseph Myers <joseph@codesourcery.com>.
6959
6960 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6961
6962 * manual/check-safety.sh: New.
6963 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6964
6965 * manual/terminal.texi: Document MTASC-safety properties.
6966
6967 * manual/filesys.texi: Document MTASC-safety properties.
6968
6969 * manual/errno.texi: Document MTASC-safety properties.
6970
6971 * manual/intro.texi: Document safety identifiers and
6972 conditionals.
6973
6974 * manual/string.texi (wcstok): Fix prototype.
6975 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6976
6977 * manual/time.texi: Document MTASC-safety properties.
6978
6979 * manual/string.texi: Document MTASC-safety properties.
6980
6981 * manual/threads.texi: Document MTASC-safety properties.
6982
6983 * manual/stdio.texi: Document MTASC-safety properties.
6984
6985 * manual/syslog.texi: Document MTASC-safety properties.
6986
6987 * manual/sysinfo.texi: Document MTASC-safety properties.
6988
6989 * manual/startup.texi: Document MTASC-safety properties.
6990
6991 * manual/socket.texi: Document MTASC-safety properties.
6992
6993 * manual/signal.texi: Document MTASC-safety properties.
6994
6995 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6996
6997 * manual/setjmp.texi: Document MTASC-safety properties.
6998
6999 * manual/search.texi: Document MTASC-safety properties.
7000
7001 * manual/resource.texi: Document MTASC-safety properties.
7002
7003 * manual/process.texi: Document MTASC-safety properties.
7004
7005 * manual/platform.texi: Document MTASC-safety properties.
7006
7007 * manual/pipe.texi: Document MTASC-safety properties.
7008
7009 * manual/pattern.texi: Document MTASC-safety properties.
7010
7011 * manual/message.texi: Document MTASC-safety properties.
7012
7013 [BZ #12751]
7014 * manual/memory.texi: Document MTASC-safety properties.
7015
7016 * manual/math.texi: Document MTASC-safety properties.
7017
7018 * manual/locale.texi: Document MTASC-safety properties.
7019
7020 * manual/llio.texi: Document MTASC-safety properties.
7021
7022 * manual/libdl.texi: New.
7023
7024 * manual/lang.texi: Document MTASC-safety properties.
7025
7026 * manual/job.texi: Document MTASC-safety properties.
7027
7028 * manual/getopt.texi: Document MTASC-safety properties.
7029
7030 * manual/ctype.texi: Document MTASC-safety properties.
7031
7032 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7033
7034 [BZ #16046]
7035 * csu/libc-tls.c (static_map): Remove variable.
7036 (__libc_setup_tls): Use main executable's link map for TLS data.
7037 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7038 casing for LM_ID_BASE and GL(dl_nns).
7039 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7040 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7041 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7042 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7043 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7044 member.
7045 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7046 l_phnum members.
7047
7048 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
7049
7050 * manual/debug.texi: Document MTASC-safety properties.
7051
7052 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7053
7054 [BZ #16510]
7055 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7056 of __x86_64__ when disabling x87 inline functions.
7057
7058 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
7059
7060 * manual/charset.texi: Document MTASC-safety properties.
7061
7062 * manual/crypt.texi: Document MTASC-safety properties.
7063
7064 * manual/conf.texi: Document MTASC-safety properties.
7065
7066 * manual/arith.texi: Document MTASC-safety properties.
7067
7068 * manual/argp.texi: Document MTASC-safety properties.
7069
7070 * manual/macros.texi: Introduce macros to document multi
7071 thread, asynchronous signal and asynchronous cancellation
7072 safety properties.
7073 * manual/intro.texi: Introduce the properties themselves.
7074
7075 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7076
7077 * sysdeps/sh/sh4/Makefile: New file.
7078
7079 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7080
7081 * math/gen-libm-test.pl ($srcdir): New variable.
7082 ($auto_input): Use it.
7083
7084 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7085
7086 [BZ #16506]
7087 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7088 access beyond array bounds when parsing netgroups file.
7089
7090 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7091 the old buffer before realloc.
7092
7093 2014-01-27 Allan McRae <allan@archlinux.org>
7094
7095 * po/fr.po: Update French translation from translation project.
7096
7097 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7098
7099 * sysdeps/sh/libm-test-ulps: Regenerate.
7100
7101 2014-01-24 David S. Miller <davem@davemloft.net>
7102
7103 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7104
7105 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7106
7107 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7108 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7109
7110 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7111
7112 [BZ #16474]
7113 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7114 string pointers after reallocation.
7115
7116 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7117
7118 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7119 __SH4A__ instead of __SH_FPU_ANY__.
7120
7121 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7122
7123 * sysdeps/sh/fpu_control.h: New file.
7124 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7125 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7126 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7127 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7128 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7129 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7130 * sysdeps/sh/sys/ucontext.h: Remove.
7131 * sysdeps/sh/sys: Remove directory.
7132
7133 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7134
7135 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7136 s390/sys/ucontext.h.
7137 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7138 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7139
7140 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7141
7142 [BZ #15605]
7143 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7144
7145 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7146
7147 [BZ#16431]
7148 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7149 Adjust the vDSO correctly for internal calls.
7150 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7151
7152 2014-01-20 Allan McRae <allan@archlinux.org>
7153
7154 * po/ca.po: Update Catalan translation from translation project.
7155
7156 2014-01-16 Mike Frysinger <vapier@gentoo.org>
7157
7158 * sysdeps/s390/sotruss-lib.c: New file.
7159
7160 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7161
7162 [BZ#16430]
7163 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7164 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7165 local calls issues by not having a PLT stub required for IFUNC calls.
7166 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7167
7168 2014-01-16 Joseph Myers <joseph@codesourcery.com>
7169
7170 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7171 * math/test-fpucw-static.c: Likewise.
7172
7173 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7174
7175 [BZ #16453]
7176 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7177
7178 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7179
7180 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7181 implementation for powerpc.
7182
7183 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
7184
7185 [BZ #14782]
7186 * sysdeps/posix/system.c (__libc_system): Do not enable
7187 asynchronous cancellation.
7188
7189 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7190
7191 [BZ #16427]
7192 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7193 handling only for numbers special also in the IEEE case.
7194
7195 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7196
7197 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7198
7199 2014-01-11 Allan McRae <allan@archlinux.org>
7200
7201 * po/bg.po: Update Bulgarian translation from translation project.
7202
7203 * po/de.po: Update German translation from translation project.
7204
7205 2014-01-10 Roland McGrath <roland@hack.frob.com>
7206
7207 * sysdeps/generic/gcc-compat.h: New file.
7208
7209 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7210
7211 * benchtests/asin-inputs: Correct slow inputs.
7212 * benchtests/acos-inputs: Likewise.
7213
7214 2014-01-10 Allan McRae <allan@archlinux.org>
7215
7216 * po:sv.po: Update Swedish translation from translation project.
7217
7218 * po/vi.po: Update Vietnamese translation from translation project.
7219
7220 * po/eo.po: Update Esperanto translation from translation project.
7221
7222 * po/cs.po: Update Czech translation from translation project.
7223
7224 * po/nl.po: Update Dutch translation from translation project.
7225
7226 * po/pl.po: Update Polish translation from translation project.
7227
7228 * po/ru.po: Update Russian translation from translation project.
7229
7230 * po/uk.po: Update Ukrainian translation from translation project.
7231
7232 2014-01-08 Brooks Moses <bmoses@google.com>
7233
7234 * elf/dl-load.c: Fix comment typo.
7235
7236 2014-01-08 Carlos O'Donell <carlos@redhat.com>
7237
7238 * po/header.pot: Rename to...
7239 * po/pot.header: ... this.
7240 * po/Makefile: Use pot.header.
7241
7242 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7243 Maxim Kuvyrkov <maxim@kugelworks.com>
7244
7245 [BZ #16394]
7246 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7247 SRC and DEST against LEN.
7248
7249 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7250
7251 [BZ #16414]
7252 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7253 implementation.
7254 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7255
7256 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7257
7258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7259
7260 2014-01-08 Joseph Myers <joseph@codesourcery.com>
7261
7262 [BZ #16408]
7263 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7264 for large positive arguments.
7265
7266 2014-01-07 Joseph Myers <joseph@codesourcery.com>
7267
7268 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7269
7270 * math/auto-libm-test-in: Mark various tests with
7271 xfail-rounding:ldbl-128ibm.
7272 * math/auto-libm-test-out: Regenerated.
7273
7274 [BZ #16407]
7275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7276 Increase overflow threshold.
7277
7278 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
7279
7280 [BZ #14286]
7281 * stdio-common/vfprintf.c: Check for integer overflow.
7282
7283 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7284
7285 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7286 the first argument and return value of __tls_get_addr_internal.
7287
7288 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7289
7290 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7291 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7292
7293 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7294
7295 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7296 * sysdeps/s390/rtld-global-offsets.sym: New file.
7297 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7298 GLIBC_2.19 symbol.
7299 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7300 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7301 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7302 ... this.
7303 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7304 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7305 ... this.
7306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7307 Regenerate.
7308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7309 Regenerate.
7310 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7311 halfs of GPRs for high_gprs contexts.
7312 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7313 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7314 field.
7315 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7316 uc_flags field.
7317 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7318 64 bit versions:
7319 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7320 for high GPRs (uc_high_gprs) and for future extensions
7321 (__reserved).
7322 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7323 for future extensions (__reserved).
7324 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7325 64 bit versions:
7326 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7327 SC_HIGHGPRS offset definition.
7328 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7329 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7330
7331 * Versions.def: Add GLIBC_2.19 for libpthread.
7332 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7333 siglongjmp for libpthread with GLIBC_2.19 symver.
7334 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7335 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7336 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7337 * sysdeps/s390/__longjmp.c: New file.
7338 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7339 * sysdeps/s390/longjmp.c: New file.
7340 * sysdeps/s390/setjmp.S: New file.
7341 * sysdeps/s390/sigjmp.S: New file.
7342 * sysdeps/s390/v1-longjmp.c: New file.
7343 * sysdeps/s390/v1-setjmp.h: New file.
7344 * sysdeps/s390/v1-sigjmp.c: New file.
7345 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7346 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7347 GLIBC_2.19 version.
7348 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7349 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7350 versioned symbols for ____longjmp_chk.
7351 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7352 Likewise.
7353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7354 Regenerate.
7355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7356 Regenerate.
7357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7358 Regenerate.
7359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7360 Regenerate.
7361 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7362 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7363 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7364 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7365 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7366 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7367 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7368 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7369 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7370 * sysdeps/s390/rtld-__longjmp.c: New file.
7371 * sysdeps/s390/rtld-setjmp.S: New file.
7372
7373 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7374
7375 [BZ #16400]
7376 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7377 Return -__logl (x) for small positive arguments without evaluating
7378 a polynomial.
7379
7380 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7381
7382 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7383 Rename to ...
7384 (__ptrace_peeksiginfo_args): ... this.
7385 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7386 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7388
7389 2014-01-06 Allan McRae <allan@archlinux.org>
7390
7391 * inet/netinet/in.h: Fix typo in comment.
7392
7393 2014-01-05 Andreas Jaeger <aj@suse.de>
7394
7395 * sysdeps/i386/fpu/libm-test-ulps: Update.
7396
7397 2014-01-05 Allan McRae <allan@archlinux.org>
7398
7399 * po/libc.pot: Regenerated.
7400
7401 * malloc/memusagestat.c: Fix gettext call formatting.
7402
7403 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7404
7405 * nscd/nscd.c: Improve usage() output.
7406
7407 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7408
7409 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7410 * sysdeps/unix/sysv/linux/configure: Regenerated.
7411 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7412 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7413
7414 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7415
7416 [BZ #16390]
7417 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7418 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7419
7420 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7421
7422 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7423 extra tokens at end of #undef directive.
7424 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7425 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7426 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7427
7428 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7429
7430 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7431
7432 * math/auto-libm-test-in: Mark various tests with
7433 xfail-rounding:ldbl-128ibm.
7434 * math/auto-libm-test-out: Regenerated.
7435
7436 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7437
7438 [BZ #16386]
7439 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7440 numbers with subnormal high part when calculating exponent.
7441
7442 [BZ #16385]
7443 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7444 fabs.
7445
7446 [BZ #16384]
7447 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7448 M_LN2l.
7449 (__ieee754_acoshl): Use __log1pl not __log1p.
7450
7451 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7452
7453 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7454 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7455 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7456 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7457 (reused_arena, arena_get2): Convert to GNU style.
7458 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7459 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7460 (memalign_check, __malloc_set_state): Likewise.
7461 * malloc/mallocbug.c (main): Likewise.
7462 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7463 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7464 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7465 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7466 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7467 (__posix_memalign, malloc_info): Likewise.
7468 * malloc/malloc.h: Likewise.
7469 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7470 (mallochook, memalignhook, reallochook, mabort): Likewise.
7471 * malloc/mcheck.h: Likewise.
7472 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7473 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7474 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7475 * malloc/morecore.c (__default_morecore): Likewise.
7476 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7477 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7478 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7479 (print_and_abort): Likewise.
7480 * malloc/obstack.h: Likewise.
7481 * malloc/set-freeres.c (__libc_freeres): Likewise.
7482 * malloc/tst-mallocstate.c (main): Likewise.
7483 * malloc/tst-mtrace.c (main): Likewise.
7484 * malloc/tst-realloc.c (do_test): Likewise.
7485
7486 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7487
7488 [BZ #16366]
7489 * nscd/netgroupcache.c (do_notfound): New function.
7490 (addgetnetgrentX): Use it.
7491
7492 [BZ # 16365]
7493 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7494 NSS_STATUS_NOTFOUND.
7495
7496 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7497
7498 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7500
7501 2014-01-01 Allan McRae <allan@archlinux.org>
7502
7503 * scripts/update-copyrights: Update configure input file suffix.
7504
7505 * NEWS: Update copyright year.
7506 * catgets/gencat.c: Likewise.
7507 * csu/version.c: Likewise.
7508 * debug/catchsegv.sh: Likewise.
7509 * debug/pcprofiledump.c: Likewise.
7510 * debug/xtrace.sh: Likewise.
7511 * elf/ldconfig.c: Likewise.
7512 * elf/ldd.bash.in: Likewise.
7513 * elf/pldd.c: Likewise.
7514 * elf/sotruss.ksh: Likewise.
7515 * elf/sprof.c: Likewise.
7516 * iconv/iconv_prog.c: Likewise.
7517 * iconv/iconvconfig.c: Likewise.
7518 * locale/programs/locale.c: Likewise.
7519 * locale/programs/localedef.c: Likewise.
7520 * login/programs/pt_chown.c: Likewise.
7521 * malloc/memusage.sh: Likewise.
7522 * malloc/memusagestat.c: Likewise.
7523 * malloc/mtrace.pl: Likewise.
7524 * manual/libc.texinfo: Likewise.
7525 * nscd/nscd.c: Likewise.
7526 * nss/getent.c: Likewise.
7527 * nss/makedb.c: Likewise.
7528 * posix/getconf.c: Likewise.
7529 * scripts/test-installation.pl: Likewise.
7530
7531 * All files with FSF copyright notices: Update copyright dates
7532 using scripts/update-copyrights.
7533 * intl/plural.c: Regenerated.
7534 * locale/programs/charmap-kw.h: Likewise.
7535 * locale/programs/locfile-kw.h: Likewise.
7536
7537 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7538
7539 * sysdeps/unix/sysv/linux/configure: Regenerated.
7540 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7541 the linux/fanotify.h header.
7542 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7543 HAVE_LINUX_FANOTIFY_H is defined.
7544
7545 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7546
7547 * benchtests/cos-inputs: New inputs.
7548 * benchtests/sin-inputs: Likewise.
7549
7550 * benchtests/atan-inputs: New inputs. Fix name of multiple
7551 precision fallback inputs.
7552
7553 * benchtests/atanh-inputs: New inputs.
7554 * benchtests/tanh-inputs: Likewise.
7555
7556 * benchtests/acosh-inputs: New inputs.
7557 * benchtests/asinh-inputs: Likewise.
7558
7559 * benchtests/cosh-inputs: New inputs.
7560 * benchtests/sinh-inputs: Likewise.
7561
7562 * benchtests/acos-inputs: Add more inputs.
7563 * benchtests/asin-inputs: Likewise.
7564
7565 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7566
7567 [BZ #16375]
7568 * manual/arith.texi: Fix spelling.
7569 * manual/charset.texi: Likewise.
7570 * manual/errno.texi: Likewise.
7571 * manual/filesys.texi: Likewise.
7572 * manual/lang.texi: Likewise.
7573 * manual/llio.texi: Likewise.
7574 * manual/locale.texi: Likewise.
7575 * manual/message.texi: Likewise.
7576 * manual/resource.texi: Likewise.
7577 * manual/search.texi: Likewise.
7578 * manual/setjmp.texi: Likewise.
7579 * manual/stdio.texi: Likewise.
7580 * manual/string.texi: Likewise.
7581 * manual/sysinfo.texi: Likewise.
7582 * manual/time.texi: Likewise.
7583
7584 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7585
7586 * po/sl.po: New file.
7587
7588 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7589
7590 * .gitignore: Add core/.gdbinit/.gdb_history.
7591
7592 2013-12-27 Allan McRae <allan@archlinux.org>
7593
7594 [BZ #16369]
7595 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7596 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7597
7598 2013-12-24 Brooks Moses <bmoses@google.com>
7599
7600 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7601 all compilers that claim C++98 compliance, not just GCC.
7602 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7603 Likewise.
7604
7605 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7606
7607 * NEWS: Restore accidentally deleted bug-fix entries.
7608
7609 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7610 Ondřej Bílka <neleai@seznam.cz>
7611
7612 [BZ #15073]
7613 * malloc/malloc.c (_int_free): Perform sanity check only if we
7614 have_lock.
7615
7616 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7617
7618 [BZ #12986]
7619 * manual/stdio.texi (String Input Conversions): Clarify that character
7620 classes are not supported.
7621
7622 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7623
7624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7625
7626 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7627
7628 [BZ #16337]
7629 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7630 Calculate results for small negative arguments directly rather
7631 than using reflection formula with special underflow handling.
7632
7633 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7634 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7635 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7636 (fchflags): Likewise.
7637 (revoke): Likewise.
7638 (setlogin): Likewise.
7639 (sigaltstack): Likewise.
7640 (wait4): Likewise.
7641 (sigblock): Remove.
7642 (sigsetmask): Likewise.
7643 (wait3): Likewise.
7644 (waitpid): Likewise.
7645 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7646 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7647 file.
7648 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7649 * sysdeps/unix/bsd/Makefile: ... here.
7650 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7651 * sysdeps/unix/bsd/Versions: ... here.
7652 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7653 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7654 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7655 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7656 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7657 * sysdeps/unix/bsd/sigblock.c: ... here.
7658 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7659 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7660 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7661 * sysdeps/unix/bsd/sigvec.c: ... here.
7662 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7663 * sysdeps/unix/bsd/tcdrain.c: ... here.
7664 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7665 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7666 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7667 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7668 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7669 * sysdeps/unix/bsd/wait.c: ... here.
7670 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7671 * sysdeps/unix/bsd/wait3.c: ... here.
7672 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7673 * sysdeps/unix/bsd/waitpid.c: ... here.
7674
7675 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7676
7677 [BZ #16356]
7678 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7679 round-to-nearest for [!USE_AS_EXPM1L].
7680 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7681 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7682 more tests of exp and exp10. Expect some exp10 tests to miss
7683 exceptions or fail in directed rounding modes.
7684 * math/auto-libm-test-out: Regenerated.
7685 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7686 (exp10_test_tonearest): New function.
7687 (exp10_towardzero_test_data): New array.
7688 (exp10_test_towardzero): New function.
7689 (exp10_downward_test_data): New array.
7690 (exp10_test_downward): New function.
7691 (exp10_upward_test_data): New array.
7692 (exp10_test_upward): New function.
7693 (main): Call the new functions.
7694 * sysdeps/i386/fpu/libm-test-ulps: Update.
7695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7696
7697 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7698
7699 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7700 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7701 * math/auto-libm-test-out: Regenerated.
7702 * math/libm-test.inc (acosh_test_data): Add more tests.
7703 (atanh_test_data): Likewise.
7704 (ceil_test_data): Likewise.
7705 (copysign_test_data): Likewise.
7706 * sysdeps/i386/fpu/libm-test-ulps: Update.
7707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7708
7709 * timezone/checktab.awk: Update from tzcode 2013i.
7710 * timezone/private.h: Likewise.
7711 * timezone/scheck.c: Likewise.
7712 * timezone/tzfile.h: Likewise.
7713 * timezone/tzselect.ksh: Likewise.
7714 * timezone/zdump.c: Likewise.
7715 * timezone/zic.c: Likewise.
7716
7717 * math/auto-libm-test-in: Add tests of cpow.
7718 * math/auto-libm-test-out: Regenerated.
7719 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7720 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7721 mpc_cc_c.
7722 (func_calc_desc): Add mpc_cc_c union field.
7723 (test_functions): Add cpow.
7724 (special_fill_2pi): New function.
7725 (special_real_inputs): Add 2pi.
7726 (calc_generic_results): Handle mpc_cc_c.
7727 * sysdeps/i386/fpu/libm-test-ulps: Update.
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7729
7730 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7731 csqrt, ctan and ctanh.
7732 * math/auto-libm-test-out: Regenerated.
7733 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7734 (TEST_COND_x86): Likewise.
7735 (ccos_test_data): Use AUTO_TESTS_c_c.
7736 (ccosh_test_data): Likewise.
7737 (cexp_test_data): Likewise.
7738 (clog_test_data): Likewise.
7739 (csqrt_test_data): Likewise.
7740 (ctan_test_data): Likewise.
7741 (ctan_tonearest_test_data): Likewise.
7742 (ctan_towardzero_test_data): Likewise.
7743 (ctan_downward_test_data): Likewise.
7744 (ctan_upward_test_data): Likewise.
7745 (ctanh_test_data): Likewise.
7746 (ctanh_tonearest_test_data): Likewise.
7747 (ctanh_towardzero_test_data): Likewise.
7748 (ctanh_downward_test_data): Likewise.
7749 (ctanh_upward_test_data): Likewise.
7750 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7751 mpc_c_c.
7752 (func_calc_desc): Add mpc_c_c union field.
7753 (FUNC_mpc_c_c): New macro.
7754 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7755 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7756 ctanh.
7757 (special_fill_min_subnorm_p120): New function.
7758 (special_real_inputs): Add min_subnorm_p120.
7759 (calc_generic_results): Handle mpc_c_c.
7760 * sysdeps/i386/fpu/libm-test-ulps: Update.
7761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7762
7763 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7764
7765 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7766 (do_sin_slow): New functions.
7767 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7768 (cslow2, csloww1, csloww2): Use the new functions.
7769
7770 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7771 Use M to change sign of result instead of X. Assume X is
7772 positive.
7773 (csloww1): Likewise.
7774 (__sin): Adjust.
7775 (__cos): Adjust.
7776
7777 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7778 arguments A and DA.
7779 (__sin): Adjust.
7780 (__cos): Likewise.
7781
7782 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7783 (__cos): Likewise.
7784 (sloww1): Don't adjust sign of DX.
7785 (csloww1): Likewise.
7786 (sloww2): Use X directly and don't adjust sign of DX.
7787 (csloww2): Likewise.
7788
7789 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7790
7791 * math/auto-libm-test-in: Add tests of cabs and carg.
7792 * math/auto-libm-test-out: Regenerated.
7793 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7794 (carg_test_data): Likewise.
7795 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7796 mpc_c_f.
7797 (func_calc_desc): Add mpc_c_f union field.
7798 (test_functions): Add cabs and carg.
7799 (calc_generic_results): Handle mpc_c_f.
7800
7801 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7802 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7803 as a macro and a compat symbol.
7804 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7805 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7806 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7807 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7808 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7809 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7810 not use .hidden.
7811 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7812 Likewise.
7813 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7814 Likewise.
7815 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7816 Likewise.
7817 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7818 Likewise.
7819 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7820 Likewise.
7821 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7822 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7823 from GLIBC_2.3.2.
7824
7825 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7826
7827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7828
7829 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7830
7831 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7832 trailing whitespace removed.
7833 * scripts/config.guess: Update to version 2013-11-29.
7834 * scripts/config.sub: Update to version 2013-10-01.
7835
7836 * math/auto-libm-test-in: Add tests of sincos.
7837 * math/auto-libm-test-out: Regenerated.
7838 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7839 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7840 mpfr_f_11.
7841 (func_calc_desc): Add mpfr_f_11 union field.
7842 (test_functions): Add sincos.
7843 (calc_generic_results): Handle mpfr_f_11.
7844 * sysdeps/i386/fpu/libm-test-ulps: Update.
7845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7846
7847 2013-12-19 Andreas Schwab <schwab@suse.de>
7848
7849 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7850 CALL_MCOUNT.
7851 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7852 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7853 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7854
7855 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7856
7857 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7858 * sysdeps/i386/fpu/libm-test-ulps: Update.
7859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7860
7861 [BZ #16293]
7862 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7863 round-to-nearest mode when using frndint.
7864 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7865 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7866 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7867 Likewise.
7868 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7869 sinh test to fail.
7870 * math/auto-libm-test-out: Regenerated.
7871 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7872 (TEST_COND_x86): Likewise.
7873 (expm1_tonearest_test_data): New array.
7874 (expm1_test_tonearest): New function.
7875 (expm1_towardzero_test_data): New array.
7876 (expm1_test_towardzero): New function.
7877 (expm1_downward_test_data): New array.
7878 (expm1_test_downward): New function.
7879 (expm1_upward_test_data): New array.
7880 (expm1_test_upward): New function.
7881 (main): Run the new test functions.
7882 * sysdeps/i386/fpu/libm-test-ulps: Update.
7883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7884
7885 * include/features.h: Update comment documenting feature test
7886 macros. Mention _DEFAULT_SOURCE in comment.
7887 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7888 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7889 _BSD_SOURCE and _SVID_SOURCE.
7890 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7891 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7892 !_SVID_SOURCE]: Likewise.
7893 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7894 (__USE_POSIX_IMPLICITLY): Define.
7895 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7896 (_POSIX_SOURCE): Undefine and redefine.
7897 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7898 (_POSIX_C_SOURCE): Likewise.
7899 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7900 (Feature Test Macros): Update documentation of default features.
7901
7902 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7903
7904 * benchtests/Makefile: Add bench-strtok.
7905 * benchtests/bench-strtok.c: New file: strtok benchtest.
7906
7907 2013-12-19 Allan McRae <allan@archlinux.org>
7908
7909 * manual/install.texi: Suppress menu for plain text output.
7910 * INSTALL: Regenerated.
7911
7912 2013-12-18 Brooks Moses <bmoses@google.com>
7913
7914 [BZ #15846]
7915 * misc/getauxval.c: Include errno.h.
7916 (__getauxval): Set errno to ENOENT if the requested type is not
7917 found.
7918 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7919 don't declare with __attribute_const__.
7920 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7921 * manual/startup.texi: Document that getauxval sets errno.
7922
7923 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7924
7925 * math/auto-libm-test-in: Add tests of jn and yn.
7926 * math/auto-libm-test-out: Regenerated.
7927 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7928 (yn_test_data): Likewise.
7929 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7930 mpfr_if_f.
7931 (func_calc_desc): Add mpfr_if_f union field.
7932 (FUNC_mpfr_if_f): New macro.
7933 (test_functions): Add jn and yn.
7934 (calc_generic_results): Assert type of second input for
7935 mpfr_ff_f. Handle mpfr_if_f.
7936 (output_for_one_input_case): Disable all checking for arguments
7937 fitting floating-point types in case of an integer argument.
7938 * sysdeps/i386/fpu/libm-test-ulps: Update.
7939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7940
7941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7942 Don't expect fegetround reference in libm.so.
7943
7944 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7945
7946 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7947 $(config-cflags-nofma).
7948
7949 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7950
7951 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7952 * math/auto-libm-test-out: Regenerated.
7953
7954 [BZ #16338]
7955 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7956 to determine exponent and adjust argument to have exponent of -1.
7957 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7958 log2.
7959 * math/auto-libm-test-out: Regenerated.
7960 * sysdeps/i386/fpu/libm-test-ulps: Update.
7961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7962
7963 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7964
7965 * manual/probes.texi: Remove cases when per-thread arenas are
7966 disabled.
7967
7968 2013-12-18 Andreas Schwab <schwab@suse.de>
7969
7970 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7971 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7972 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7973 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7974 * sysdeps/i386/i686/multiarch/Makefile: Update.
7975 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7976
7977 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7978
7979 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7980 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7981
7982 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7983
7984 [BZ #15968]
7985 Support TZ transition times < 00:00:00.
7986 This is needed for version-3 tz-format files; it supports time
7987 stamps past 2037 for America/Godthab (the only entry in the tz
7988 database for which this change is relevant).
7989 * manual/time.texi (TZ Variable): Document transition times
7990 from -167:59:59 through -00:00:01.
7991 * time/tzset.c (tz_rule): Time of day is now signed.
7992 (__tzset_parse_tz): Parse negative time of day.
7993
7994 Document TZ transition times >= 25:00:00.
7995 * manual/time.texi (TZ Variable): Document transition times from
7996 25:00:00 through 167:59:59. These are already supported, and this
7997 support will help with version-3 tz-format files.
7998
7999 * manual/time.texi (TZ Variable): Modernize North America example
8000 to reflect current (i.e., 2007-and-later) daylight saving rules.
8001
8002 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8003
8004 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8005
8006 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8007 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8008 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8010 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8011 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8012 * sysdeps/unix/bsd/clock.c: Likewise.
8013 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8014 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8015 * sysdeps/unix/bsd/init-posix.c: Likewise.
8016 * sysdeps/unix/bsd/poll.c: Likewise.
8017 * sysdeps/unix/bsd/ptsname.c: Likewise.
8018 * sysdeps/unix/bsd/seekdir.c: Likewise.
8019 * sysdeps/unix/bsd/setegid.c: Likewise.
8020 * sysdeps/unix/bsd/seteuid.c: Likewise.
8021 * sysdeps/unix/bsd/setgid.c: Likewise.
8022 * sysdeps/unix/bsd/setrgid.c: Likewise.
8023 * sysdeps/unix/bsd/setruid.c: Likewise.
8024 * sysdeps/unix/bsd/setsid.c: Likewise.
8025 * sysdeps/unix/bsd/setuid.c: Likewise.
8026 * sysdeps/unix/bsd/sigaction.c: Likewise.
8027 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8028 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8029 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8030 * sysdeps/unix/bsd/telldir.c: Likewise.
8031 * sysdeps/unix/bsd/times.c: Likewise.
8032 * sysdeps/unix/bsd/usleep.c: Likewise.
8033
8034 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8035 ($(objpfx)libbsd-compat.a): Remove rule.
8036
8037 * include/features.h (__FAVOR_BSD): Do not define.
8038 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8039 features conflicting with POSIX.
8040 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8041 (_BSD_SOURCE): Remove description of not being a subset of other
8042 feature test macros.
8043 * manual/job.texi (getpgrp): Do not document BSD version.
8044 (getpgid): Do not document by reference to BSD getpgrp.
8045 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8046 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8047 * signal/signal.h [__FAVOR_BSD]: Likewise.
8048 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8049 instead of making contents conditional on [__FAVOR_BSD].
8050 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8051
8052 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8053
8054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8055
8056 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8057
8058 [BZ #16314]
8059 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8060 values below 2**-450, not 2**-500.
8061 * math/auto-libm-test-in: Don't allow spurious underflow from
8062 hypot.
8063 * math/auto-libm-test-out: Regenerated.
8064
8065 [BZ #16316]
8066 [BZ #16330]
8067 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8068 values of ha and hb and sort them after adjusting subnormal
8069 arguments.
8070 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8071 Likewise.
8072 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8073 values of ea and eb and sort them after adjusting subnormal
8074 arguments.
8075 * math/auto-libm-test-in: Do not expect some hypot tests of
8076 subnormals to fail. Add more hypot tests.
8077 * math/auto-libm-test-out: Regenerated.
8078
8079 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8080
8081 [BZ #13304]
8082 * sysdeps/sh/s_fma.c: New file.
8083 * sysdeps/sh/s_fmaf.c: New file.
8084 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8085 version.
8086 * sysdeps/sh/Implies: Add sh/soft-fp.
8087
8088 2013-12-16 Roland McGrath <roland@hack.frob.com>
8089
8090 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8091 level of indirection to members `objname', `errstring', `malloced'.
8092 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8093 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8094 it as the __longjmp argument (just pass 1 instead).
8095 (_dl_catch_error): Initialize C with argument pointers and address of
8096 volatile local ERRCODE rather than copying values out of C at return.
8097
8098 2013-12-16 Joseph Myers <joseph@codesourcery.com>
8099
8100 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8101 * math/auto-libm-test-out: Regenerated.
8102 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8103 (hypot_test_data): Likewise.
8104 (pow_test_data): Likewise.
8105 (pow_tonearest_test_data): Likewise.
8106 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8107 mpfr_ff_f.
8108 (func_calc_desc): Add mpfr_ff_f union field.
8109 (FUNC_mpfr_ff_f): New macro.
8110 (test_functions): Add atan2, hypot and pow.
8111 (special_fill_min): New function.
8112 (special_fill_minus_min): Likewise.
8113 (special_fill_min_subnorm): Likewise.
8114 (special_fill_minus_min_subnorm): Likewise.
8115 (special_real_inputs): Add min, -min, min_subnorm and
8116 -min_subnorm.
8117 (calc_generic_results): Handle mpfr_ff_f.
8118 * sysdeps/i386/fpu/libm-test-ulps: Update.
8119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8120
8121 2013-12-16 Will Newton <will.newton@linaro.org>
8122
8123 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8124 (Aligned Memory Blocks): Add documentation for aligned_alloc
8125 and suggest it as an alternative to posix_memalign.
8126 (Hooks for Malloc): Document __memalign_hook is also called
8127 for aligned_alloc. (Summary of Malloc): Add summary for
8128 aligned alloc. Document __memalign_hook is also called
8129 for aligned_alloc.
8130
8131 2013-12-16 Will Newton <will.newton@linaro.org>
8132
8133 * manual/memory.texi (Malloc Examples): Clarify default
8134 alignment documentation. Suggest posix_memalign rather
8135 than memalign or valloc.
8136 (Aligned Memory Blocks): Remove suggestion to use memalign
8137 or valloc. Remove obsolete comment about BSD.
8138 Document memalign errno values and mark the function obsolete.
8139 Document posix_memalign returned error codes. Mark valloc
8140 as obsolete. (Hooks for Malloc): __memalign_hook is also
8141 called for posix_memalign and valloc.
8142 (Summary of Malloc): Add posix_memalign to function summary.
8143 __memalign_hook is also called for posix_memalign and valloc.
8144
8145 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8146
8147 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8148 TAYLOR_SIN.
8149 (__sin): Adjust.
8150 (__cos): Likewise.
8151 (sloww): Use mynumber union. Expand ternary operator into
8152 if-else statements.
8153 (cslow): use mynumber union.
8154
8155 2013-12-16 Allan McRae <allan@archlinux.org>
8156
8157 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8158 * configure: Regenerated.
8159
8160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8161
8162 [BZ #14120]
8163 * configure.ac: Added --enable-maintainer-mode. Check for
8164 autoconf when enabled.
8165 * configure: Regenerated.
8166
8167 * nscd/nscd.service: New file.
8168 * nscd/nscd.tmpfiles: New file.
8169
8170 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
8171
8172 [BZ #12100]
8173 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8174 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8175 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8176 (strstr): Add __strstr_sse2_unaligned ifunc.
8177 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8178 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8179 (strcasestr): Remove __strcasestr_sse42 ifunc.
8180 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8181 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8183
8184 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8185
8186 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8187 * sysdeps/sh/bits/fenv.h: ... here.
8188 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8189
8190 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8191
8192 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8193
8194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8195 hypotf multiarch implementations.
8196 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8197 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8198 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8199 multiarch hypot for PPC64.
8200 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8201 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8203 multiarch hypotf for PPC64.
8204
8205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8206 modff multiarch implementations.
8207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8210 multiarch modf for PPC64.
8211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8214 multiarch modff for PPC64.
8215
8216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8217 and logl multiarch implementations.
8218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8221 multiarch logb for PPC64.
8222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8225 multiarch logb for PPC64.
8226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8229 multiarch logb for PPC64.
8230
8231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8232 isinff multiarch implementation.
8233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8234 file.
8235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8237 multiarch isinf for PPC64.
8238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8239 file.
8240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8241 multiarch isinff for PPC64.
8242
8243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8244 finitef multiarch implementation.
8245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8246 file.
8247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8249 multiarch finite for PPC64.
8250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8251 file.
8252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8253 multiarch finitef for PPC64.
8254
8255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8256 lrint multiarch implementation.
8257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8258 file.
8259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8261 multiarch llrint for PPC64.
8262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8263 multiarch lrint for PPC64.
8264
8265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8266 copysignf multiarch implementation.
8267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8268 file.
8269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8270 file.
8271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8272 multiarch copysign for PPC64.
8273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8274 multiarch copysignf for PPC64.
8275
8276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8277 multiarch implementation.
8278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8279 file.
8280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8281 file.
8282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8283 file.
8284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8285 file.
8286 multiarch llround for PPC64.
8287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8288 multiarch trunc for PPC64.
8289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8290 multiarch truncf for PPC64.
8291
8292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8293 multiarch implementation.
8294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8295 file.
8296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8297 file.
8298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8299 file.
8300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8301 file.
8302 multiarch llround for PPC64.
8303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8304 multiarch round for PPC64.
8305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8306 multiarch roundf for PPC64.
8307
8308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8309 multiarch implementation.
8310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8311 file.
8312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8313 file.
8314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8315 file.
8316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8317 file.
8318 multiarch llround for PPC64.
8319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8320 multiarch floor for PPC64.
8321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8322 multiarch floorf for PPC64.
8323
8324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8325 multiarch implementation.
8326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8327 file.
8328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8329 file.
8330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8331 file.
8332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8333 file.
8334 multiarch llround for PPC64.
8335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8336 multiarch ceil for PPC64.
8337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8338 multiarch ceilf for PPC64.
8339
8340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8341 multiarch implementation.
8342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8343 file.
8344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8345 file.
8346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8347 file.
8348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8349 multiarch llround for PPC64.
8350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8351 multiarch lround for PPC64.
8352
8353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8354 multiarch implementation.
8355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8358 file.
8359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8362 multiarch isnan for PPC64.
8363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8364 multiarch isnanf for PPC64.
8365
8366 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8367 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8368 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8369 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8370 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8372
8373 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8374 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8375 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8376 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8377
8378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8379 multiarch implementations.
8380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8381 (__libc_ifunc_impl_list): Likewise.
8382 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8383 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8384 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8385 multiarch stpcpy for PPC64.
8386
8387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8388 multiarch implementations.
8389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8390 (__libc_ifunc_impl_list): Likewise.
8391 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8392 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8393 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8394 multiarch strcpy for PPC64.
8395
8396 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8397 redefine function name.
8398 (_wordcopy_fwd_dest_aligned): Likewise.
8399 (_wordcopy_bwd_aligned): Likewise.
8400 (_wordcopy_bwd_dest_aligned): Likewise.
8401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8402 multiarch implementations.
8403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8404 (__libc_ifunc_impl_list): Likewise.
8405 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8406 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8407 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8408 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8409 multiarch wcscpy for PPC64.
8410
8411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8412 multiarch implementations.
8413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8414 (__libc_ifunc_impl_list): Likewise.
8415 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8416 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8417 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8418 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8419 multiarch wcscpy for PPC64.
8420
8421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8422 multiarch implementations.
8423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8424 (__libc_ifunc_impl_list): Likewise.
8425 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8426 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8427 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8428 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8429 multiarch wcsrchr for PPC64.
8430
8431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8432 multiarch implementations.
8433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8434 (__libc_ifunc_impl_list): Likewise.
8435 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8436 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8437 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8438 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8439 multiarch wcschr for PPC64.
8440
8441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8442 multiarch implementations.
8443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8444 (__libc_ifunc_impl_list): Likewise.
8445 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8446 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8447 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8448 multiarch strchrnul for PPC64.
8449
8450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8451 implementations.
8452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8453 (__libc_ifunc_impl_list): Likewise.
8454 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8455 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8456 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8457 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8458 strchr for PPC64.
8459
8460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8461 implementations.
8462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8463 (__libc_ifunc_impl_list): Likewise.
8464 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8465 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8466 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8467 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8468 strncmp for PPC64.
8469
8470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8471 multiarch implementations.
8472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8473 (__libc_ifunc_impl_list): Likewise.
8474 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8475 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8476 strncasecmp for PPC64.
8477 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8478 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8479 multiarch strncasecmp_l for PPC64.
8480
8481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8482 multiarch implementations.
8483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8484 (__libc_ifunc_impl_list): Likewise.
8485 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8486 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8487 multiarch strcasecmp for PPC64.
8488 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8489 file.
8490 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8491 multiarch strcasecmp_l for PPC64.
8492
8493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8494 implementations.
8495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8496 (__libc_ifunc_impl_list): Likewise.
8497 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8498 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8499 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8500 strnlen for PPC64.
8501
8502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8503 implementations.
8504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8505 (__libc_ifunc_impl_list): Likewise.
8506 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8507 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8508 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8509 strlen for PPC64.
8510
8511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8512 implementations.
8513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8514 (__libc_ifunc_impl_list): Likewise.
8515 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8516 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8517 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8518 rawmemrchr for PPC64.
8519
8520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8521 implementation.
8522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8523 (__libc_ifunc_impl_list): Likewise.
8524 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8525 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8526 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8527 memrchr for PPC64.
8528
8529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8530 implementation.
8531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8532 (__libc_ifunc_impl_list): Likewise.
8533 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8534 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8535 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8536 memchr for PPC64.
8537
8538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8539 implementation.
8540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8541 (__libc_ifunc_impl_list): Likewise.
8542 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8543 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8544 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8545 mempcpy for PPC64.
8546
8547 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8548 avoid cretion of __bzero symbol.
8549 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8550 Likewise.
8551 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8552 Likewise.
8553 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8554 Likewise.
8555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8556 multiarch implementations.
8557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8558 (__libc_ifunc_impl_list): Likewise.
8559 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8560 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8561 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8562 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8563 bzero for PPC32.
8564 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8565 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8566 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8567 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8568 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8569 memset for PPC64.
8570 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8571
8572 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8574 implementations.
8575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8576 (__libc_ifunc_impl_list): Likewise.
8577 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8578 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8579 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8580 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8581 memcmp for PPC64.
8582
8583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8584 multiarch for POWER/PPC64.
8585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8586 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8587 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8588 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8589 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8590 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8591 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8592 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8593 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8594 memcpy for PPC64.
8595
8596 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8597 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8598 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8599 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8600 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8601 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8602 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8603 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8604 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8605 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8606 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8607 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8608 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8609 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8610 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8618
8619 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8620
8621 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8622
8623 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8624
8625 * benchtests/Makefile (bench): Add exp2 and log2.
8626 (LDLIBS-bench-exp2): Add -lm.
8627 (LDLIBS-bench-log2): Likewise.
8628 * benchtests/exp2-inputs: New inputs file.
8629 * benchtests/log2-inputs: New inputs file.
8630 * benchtests/log-inputs: Add new inputs.
8631 * benchtests/tan-inputs: Likewise.
8632
8633 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8634
8635 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8636 definition...
8637 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8638 (csloww2): ... from here.
8639
8640 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8641 instead of structures.
8642 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8643 (POLYNOMIAL): Likewise.
8644 (TAYLOR_SLOW): Likewise.
8645 (__sin): Likewise.
8646 (__cos): Likewise.
8647 (slow1): Likewise.
8648 (slow2): Likewise.
8649 (sloww): Likewise.
8650 (sloww1); Likewise.
8651 (sloww2): Likewise.
8652 (bsloww1): Likewise.
8653 (bsloww2): Likewise.
8654 (cslow2): Likewise.
8655 (csloww): Likewise.
8656 (csloww1): Likewise.
8657 (csloww2): Likewise.
8658
8659 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8660
8661 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8662 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8663 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8664 * malloc/hooks.c (realloc_check): Likewise.
8665
8666 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8667 * malloc/arena.c: Remove PER_THREAD conditional.
8668 [!PER_THREAD]: Remove code.
8669 (ptmalloc_unlock_all2): Likewise.
8670 (ptmalloc_init): Likewise.
8671 (_int_new_arena): Likewise.
8672 (arena_get2): Likewise.
8673 * malloc/hooks.c (__malloc_get_state): Likewise.
8674 (__malloc_set_state): Likewise.
8675 * malloc/malloc.c: Likewise.
8676 (struct malloc_state): Likewise.
8677 (struct malloc_par): Likewise.
8678 (__libc_realloc): Likewise.
8679 (__libc_mallopt): Likewise.
8680
8681 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8682
8683 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8684
8685 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8686
8687 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8688 macro to a function. Check for zero perturb_byte.
8689 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8690
8691 * malloc/malloc.c: (force_reg): Remove.
8692 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8693 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8694 force_reg by atomic_forced_read.
8695 * malloc/arena.c (ptmalloc_init): Likewise.
8696 * malloc/hooks.c (top_check): Likewise.
8697
8698 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8699
8700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8701
8702 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8703
8704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8705
8706 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8707
8708 * math/auto-libm-test-in: Add tests of lgamma.
8709 * math/auto-libm-test-out: Regenerated.
8710 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8711 (M_LOG_2_SQRT_PIl): Likewise.
8712 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8713 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8714 mpfr_f_f1.
8715 (func_calc_desc): Add mpfr_f_f1 union field.
8716 (ARGS1): New macro.
8717 (ARGS2): Likewise.
8718 (ARGS3): Likewise.
8719 (ARGS4): Likewise.
8720 (RET1): Likewise.
8721 (RET2): Likewise.
8722 (CALC): Likewise.
8723 (FUNC): Likewise.
8724 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8725 (test_functions): Add lgamma.
8726 (calc_generic_results): Handle mpfr_f_f1.
8727 * sysdeps/i386/fpu/libm-test-ulps: Update.
8728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8729
8730 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8731
8732 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8733 __mpn_add_n for PowerPC64/POWER7.
8734 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8735 __mpn_sub_n for PowerPC64/POWER7.
8736
8737 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8738 __mpn_addmul_1 for PowerPC64.
8739 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8740 __mpn_submul_1 for PowerPC64.
8741 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8742 for PowerPC64.
8743 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8744 for PowerPC64.
8745
8746 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8747
8748 [BZ #15089]
8749 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8750
8751 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8752
8753 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8754
8755 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8756 add multiarch folders.
8757 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8758 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8759 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8760 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8761 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8762 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8763 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8764 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8765 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8766 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8767 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8774
8775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8776 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8778 New file.
8779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8780 New file.
8781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8782 multiarch __ieee754_hypot for PowerPC32.
8783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8784 New file.
8785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8786 New file.
8787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8788 multiarch __ieee754_hypotf for PowerPC32.
8789
8790 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8791 long_double_symbol only if __logbl is defined.
8792 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8793 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8795 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8797 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8798 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8799 path for implementation.
8800 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8801 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8803 logb, and logbl multiarch implementations for PowerPC32.
8804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8805 file.
8806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8807 file.
8808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8809 multiarch logb for PowerPC32.
8810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8811 file.
8812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8813 file.
8814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8815 multiarch logbf for PowerPC32.
8816 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8818 file.
8819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8820 multiarch logbl implementation for PowerPC32.
8821
8822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8823 and modff multiarch implementations.
8824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8825 New file.
8826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8827 New file.
8828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8829 multiarch modf for PowerPC32.
8830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8831 New file.
8832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8833 New file.
8834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8835 multiarch modff for PowerPC32.
8836
8837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8838 and lrintf multiarch implementations.
8839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8840 New file.
8841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8842 New file.
8843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8844 multiarch lrint for PowerPC32.
8845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8846 file: multiarch lrintf for PowerPC32.
8847
8848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8849 and lroundf multiarch implementations.
8850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8851 New file.
8852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8853 New file.
8854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8855 New file.
8856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8857 multiarch lround for PowerPC32.
8858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8859 file: multiarch lroundf for PowerPC32.
8860
8861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8862 copysign and copysignf multiarch implementations.
8863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8864 New file.
8865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8866 New file.
8867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8868 file: multiarch copysign for PowerPC32.
8869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8870 file: multiarch copysignf for PowerPC32.
8871
8872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8873 and truncf multiarch implementations.
8874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8875 New file.
8876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8877 file.
8878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8879 multiarch trunc for PowerPC32.
8880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8881 New file.
8882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8883 New file.
8884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8885 multiarch truncf for PowerPC32.
8886
8887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8888 and roundf multiarch implementations.
8889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8890 New file.
8891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8892 file.
8893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8894 multiarch round for PowerPC32.
8895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8896 New file.
8897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8898 New file.
8899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8900 multiarch roundf for PowerPC32.
8901
8902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8903 and floorf multiarch implementations.
8904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8905 New file.
8906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8907 file.
8908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8909 multiarch floor for PowerPC32.
8910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8911 New file.
8912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8913 New file.
8914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8915 multiarch floorf for PowerPC32.
8916
8917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8918 and ceilf multiarch implementations.
8919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8920 New file.
8921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8922 file.
8923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8924 multiarch ceil for PowerPC32.
8925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8926 New file.
8927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8928 file.
8929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8930 multiarch ceilf for PowerPC32.
8931
8932 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8933 is defined.
8934 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8935 FINITEF is defined.
8936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8937 and finitef multiarch implementations.
8938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8939 New file.
8940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8941 file.
8942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8943 multiarch finite for PowerPC32.
8944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8945 New file.
8946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8947 file: multiarch finitef for PowerPC32.
8948
8949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8950 and isinff multiarch implementations.
8951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8952 file.
8953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8954 file.
8955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8956 multiarch isinf for PowerPC32.
8957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8958 New file.
8959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8960 multiarch isinff for PowerPC32.
8961
8962 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8963 alias when __isnan is defined.
8964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8965 and isnanf multiarch implementations.
8966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8967 file.
8968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8969 file.
8970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8971 file.
8972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8973 file.
8974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8975 multiarch isnan for PowerPC32.
8976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8977 New file.
8978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8979 New file.
8980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8981 multiarch isnanf for PowerPC32.
8982
8983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8984 and sqrtf multiarch implementations.
8985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8986 file.
8987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8988 file.
8989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8990 multiarch sqrt for PowerPC32.
8991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8992 file.
8993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8994 file.
8995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8996 multiarch sqrtf for PowerPC32.
8997
8998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8999 and llroundf multiarch implementations.
9000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9001 New file.
9002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9003 New file.
9004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9005 New file.
9006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9007 file: multiarch llround for PowerPC32.
9008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9009 file: multiarch llroundf for PowerPC32.
9010
9011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9012 multiarch PowerPC32 fpu implementations.
9013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9014 New file.
9015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9016 New file.
9017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9018 multiarch llrint for PowerPC32.
9019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9020 New file.
9021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9022 New file.
9023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9024 file.
9025
9026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9027
9028 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9029 file.
9030 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9031 file.
9032 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9033 file.
9034 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9035 multiarch wordcopy for PPC32.
9036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9037 wordcopy objects.
9038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9039 (__libc_ifunc_impl_list): Likewise.
9040 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9041 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9042 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9043 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9044 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9045 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9046
9047 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9049 file.
9050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9051 file.
9052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9053 file.
9054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9055 multiarch wcscpy for PPC32.
9056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9057 multiarch objects.
9058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9059 (__libc_ifunc_impl_list): Likewise.
9060 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9061 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9062 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9063 sysdeps/powerpc/power6/wcscpy.c.
9064
9065 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9067 file.
9068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9069 file.
9070 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9071 file.
9072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9073 multiarch wcsrchr for PPC32.
9074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9075 multiarch objects.
9076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9077 (__libc_ifunc_impl_list): Likewise.
9078 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9079 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9080 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9081 sysdeps/powerpc/power6/wcsrchr.c.
9082
9083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9084 file.
9085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9086 file.
9087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9089 multiarch wcschr for PPc32.
9090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9091 multiarch objects.
9092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9093 (__libc_ifunc_impl_list): Likewise.
9094 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9095 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9096 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9097 sysdeps/powerpc/power6/wcschr.c.
9098
9099 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9100 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9101 file.
9102 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9103 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9104 file: multiarch strchr for PPC32.
9105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9106 multiarch objects.
9107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9108 (__libc_ifunc_impl_list): Likewise.
9109
9110 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9111 name.
9112 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9113 file.
9114 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9115 file.
9116 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9117 multiarch strchrnul for PPC32.
9118 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9119 multiarch objects.
9120 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9121 (__libc_ifunc_impl_list): Likewise.
9122
9123 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9124 file.
9125 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9126 multiarch strncasecmp for PPC32.
9127 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9128 file.
9129 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9130 multiarch strncasecmp_l for PPC32.
9131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9132 strncasecmp multiarch objects.
9133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9134 (__libc_ifunc_impl_list): Likewise.
9135
9136 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9137 file.
9138 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9139 multiarch strncasecmp for PPC32.
9140 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9141 New file.
9142 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9143 multiarch strcasecmp_l for PPC32.
9144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9145 multiarch objects.
9146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9147 (__libc_ifunc_impl_list): Likewise.
9148
9149 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9150 file.
9151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9152 file.
9153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9154 multiarch strncmp for PPC32.
9155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9156 multiarch objects.
9157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9158 (__libc_ifunc_impl_list): Likewise.
9159
9160 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9161 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9162 file.
9163 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9164 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9166 multiarch objects.
9167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9168 (__libc_ifunc_impl_list): Likewise.
9169
9170 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9171 file.
9172 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9173 file.
9174 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9176 multiarch objects.
9177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9178 (__libc_ifunc_impl_list): Likewise.
9179
9180 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9181 file.
9182 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9183 file.
9184 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9185 multiarch rawmemchr for PPC32.
9186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9187 multiarch objects.
9188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9189 (__libc_ifunc_impl_list): Likewise.
9190
9191 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9192 file.
9193 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9194 file.
9195 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9196 file: memrchr multiarch for PPC32.
9197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9198 multiarch objects.
9199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9200 (__libc_ifunc_impl_list): Likewise.
9201
9202 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9203 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9204 file.
9205 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9206 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9207 multiarch memchr for PPC32.
9208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9209 multiarch objects.
9210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9211 (__libc_ifunc_impl_list): Likewise.
9212
9213 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9214 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9215 file.
9216 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9217 file.
9218 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9219 file: multiarch mempcpy for PPC32.
9220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9221 multiarch objects.
9222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9223 (__libc_ifunc_impl_list): Likewise.
9224
9225 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9226 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9227 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9228 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9229 multiarch bzero for PPC32.
9230 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9231 file.
9232 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9233 file.
9234 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9235 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9236 file: multiarch memset for PPC32.
9237 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9239 memset multiarch objects.
9240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9241 (__libc_ifunc_impl_list): Likewise.
9242
9243 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9244 file.
9245 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9246 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9247 memcmp for PPC32.
9248 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9250 multiarch objects.
9251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9252 (__libc_ifunc_impl_list): Likewise.
9253
9254 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9256 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9257 file.
9258 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9259 file.
9260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9261 file.
9262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9263 multiarch memcpy for PPC32.
9264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9265 multiarch objects.
9266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9267 (__libc_ifunc_impl_list): Likewise.
9268
9269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9270 support multiarch for POWER/PPC32.
9271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9272 Likewise.
9273 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9275 Implies file to make multiarch folder appers before the fpu and
9276 default folder for power4 configuration.
9277
9278 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9279
9280 * scripts/bench.pl: Append volatile keyword to type.
9281
9282 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9283
9284 * sysdeps/sh/sotruss-lib.c: New file.
9285 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9286
9287 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9288
9289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9290
9291 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9292
9293 [BZ #6810]
9294 * math/w_tgamma.c: Include <errno.h>.
9295 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9296 * math/w_tgammaf.c: Include <errno.h>.
9297 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9298 * math/w_tgammal.c: Include <errno.h>.
9299 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9300 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9301 underflow. Add more tgamma tests.
9302 * math/auto-libm-test-out: Regenerated.
9303 * sysdeps/i386/fpu/libm-test-ulps: Update.
9304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9305
9306 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9307 sin, sinh, tan, tanh, tgamma, y0 and y1.
9308 * math/auto-libm-test-out: Regenerated.
9309 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9310 (TEST_COND_x86): Likewise.
9311 (M_E2l): Remove macro.
9312 (M_E3l): Likewise.
9313 (M_2_SQRT_PIl): Likewise.
9314 (M_SQRT_PIl): Likewise.
9315 (M_1_DIV_El): Likewise.
9316 (log_test_data): Use AUTO_TESTS_f_f.
9317 (log10_test_data): Likewise.
9318 (log1p_test_data): Likewise.
9319 (log2_test_data): Likewise.
9320 (sin_test_data): Likewise.
9321 (sin_tonearest_test_data): Likewise.
9322 (sin_towardzero_test_data): Likewise.
9323 (sin_downward_test_data): Likewise.
9324 (sin_upward_test_data): Likewise.
9325 (sinh_test_data): Likewise.
9326 (sinh_tonearest_test_data): Likewise.
9327 (sinh_towardzero_test_data): Likewise.
9328 (sinh_downward_test_data): Likewise.
9329 (sinh_upward_test_data): Likewise.
9330 (tan_test_data): Likewise.
9331 (tan_tonearest_test_data): Likewise.
9332 (tan_towardzero_test_data): Likewise.
9333 (tan_downward_test_data): Likewise.
9334 (tan_upward_test_data): Likewise.
9335 (tanh_test_data): Likewise.
9336 (tgamma_test_data): Likewise.
9337 (y0_test_data): Likewise.
9338 (y1_test_data): Likewise.
9339 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9340 (special_real_inputs): Add pi/4.
9341 * sysdeps/i386/fpu/libm-test-ulps: Update.
9342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9343
9344 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9345
9346 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9347 "longjmp_target" static probes.
9348 (__longjmp): Rename to __longjmp_symbol.
9349 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9350 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9351 on which longjmp to generate.
9352 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9353 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9354 probe.
9355 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9356 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9357 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9358 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9359 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9360 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9362 __longjmp_symbol based on which __longjmp to generate.
9363 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9364 probe.
9365 (setjmp): Rename to setjmp_symbol.
9366 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9367 (_setjmp): Rename to _setjmp_symbol.
9368 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9369 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9370 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9371 which setjmp to generate.
9372 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9373 "longjmp_target" static probes.
9374
9375 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9376
9377 * benchtests/README: Add note about output arguments.
9378 * benchtests/bench-sincos.c: Remove file.
9379 * benchtests/sincos-inputs: New file.
9380 * scripts/bench.pl: Identify output arguments and define
9381 static variables for them.
9382
9383 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9384
9385 [BZ #15941]
9386 * Makefile (INSTALL): Add install-plain.texi as the primary
9387 dependency.
9388 * manual/install-plain.texi: New file.
9389 * manual/install.texi: Include node directive only for
9390 non-plaintext output.
9391
9392 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9393
9394 * stdlib/longlong.h: Update from GCC.
9395
9396 [BZ #6807]
9397 [BZ #15901]
9398 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9399 * math/w_j0f.c (y0f): Likewise.
9400 * math/w_j0l.c (__y0l): Likewise.
9401 * math/w_j1.c (y1): Likewise.
9402 * math/w_j1f.c (y1f): Likewise.
9403 * math/w_j1l.c (__y1l): Likewise
9404 * math/w_jn.c (yn): Likewise.
9405 * math/w_jnf.c (ynf): Likewise.
9406 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9407 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9408 value for Bessel function domain errors outside _SVID_ mode.
9409 Adjust sign of return value for yn (negative integer, 0).
9410 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9411 by zero in return for negative x and set sign appropriately for
9412 negative n.
9413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9414 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9415 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9416 expectations in error cases.
9417 (y1_test_data): Likewise.
9418 (yn_test_data): Likewise.
9419 * sysdeps/i386/fpu/libm-test-ulps: Update.
9420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9421
9422 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9423
9424 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9425 "64" to "64-v1". Add "64-v2".
9426 (abi-64-options): Rename to ...
9427 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9428 (abi-64-condition): Rename to ...
9429 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9430 (abi-64-ld-soname): Rename to ...
9431 (abi-64-v1-ld-soname): ... this.
9432 (abi-64-v2-options): Define.
9433 (abi-64-v2-condition): Likewise.
9434 (abi-64-v2-ld-soname): Likewise.
9435 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9436 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9440
9441 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9442 Alan Modra <amodra@gmail.com>
9443
9444 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9445 New versions for use with the ELFv2 ABI.
9446 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9447 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9448 declaration.
9449 (struct La_ppc64v2_retval): Likewise.
9450 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9451 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9452 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9453 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9454 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9455 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9456 Do not save or restore CR.
9457 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9458 (_dl_profile_resolve): Do no save or restore CR. Support extended
9459 return values for ELFv2 ABI. Fix location of FPR return registers.
9460 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9461 updated values for _CALL_ELF == 2.
9462 (La_regs, La_retval, int_retval): Likewise.
9463
9464 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9465
9466 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9467 (FRAME_MIN_SIZE_PARM): Likewise.
9468 (FRAME_BACKCHAIN): Likewise.
9469 (FRAME_CR_SAVE): Likewise.
9470 (FRAME_LR_SAVE): Likewise.
9471 (FRAME_TOC_SAVE): Likewise.
9472 (FRAME_PARM_SAVE): Likewise.
9473 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9474 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9475 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9476 (call_mcount_parm_offset): New macro.
9477 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9478 (PROF): Use symbolic stack frame offsets.
9479 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9480 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9481 Redefine in terms of FRAME_MIN_SIZE.
9482 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9483 (_dl_profile_resolve): Likewise. Update comment.
9484 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9485 symbols stack frame offsets.
9486 (__sigsetjmp): Likewise.
9487 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9488 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9489 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9490 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9491
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9493 (FRAME_BACKCHAIN): Remove.
9494 (FRAME_CR_SAVE): Likewise.
9495 (FRAME_LR_SAVE): Likewise.
9496 (FRAME_COMPILER_DW): Likewise.
9497 (FRAME_LINKER_DW): Likewise.
9498 (FRAME_TOC_SAVE): Likewise.
9499 (FRAME_PARM_SAVE): Likewise.
9500 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9501 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9502 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9504 (CHECK_SP): Use symbolic stack frame offsets.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9506 zone" instead of caller's parameter save area for temp storage.
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9508 Likewise. Also, use symbolic stack frame offsets.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9510 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9511 our own stack frame instead of the caller's.
9512 (__socket): Use symbolic stack frame offsets.
9513
9514 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9515 Alan Modra <amodra@gmail.com>
9516
9517 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9518 Define.
9519 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9520 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9521 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9522 New function.
9523 (elf_machine_fixup_plt): Call it.
9524 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9525 reloc arguments.
9526 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9527 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9528 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9529 r2 before calling target.
9530
9531 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9532 Alan Modra <amodra@gmail.com>
9533
9534 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9535 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9536 versions of macros to support ELFv2 ABI.
9537 (LOCALENTRY): New macro.
9538 (ENTRY, EALIGN): Use it.
9539 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9540 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9541 fall through into ENTRY entry point.
9542 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9543 Only define if _CALL_ELF != 2.
9544
9545 (elf_machine_matches_host): Verify ABI version matches.
9546 (RTLD_START): Use LOCALENTRY.
9547 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9548 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9549 (PLT_ENTRY_WORDS): New macro.
9550 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9551 (elf_machine_runtime_setup): Support ELFv2 ABI.
9552 (elf_machine_fixup_plt): Likewise.
9553 (elf_machine_plt_conflict): Likewise.
9554 (resolve_ifunc): Likewise.
9555 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9556 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9557 Likewise.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9559 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9561 (makecontext): Support ELFv2 ABI.
9562 * elf/elf.h (EF_PPC64_ABI): Define.
9563
9564 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9565
9566 * sysdeps/powerpc/powerpc64/sysdep.h
9567 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9568 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9569 (ENTRY) [ASSEMBLER]: ... but instead here ...
9570 (EALIGN) [ASSEMBLER]: ... and here.
9571 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9572 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9573 (ENTRY_2) [!ASSEMBLER]: Use it.
9574 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9575 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9576 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9577 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9578 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9580 Use PPC64_LOAD_FUNCPTR.
9581
9582 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9583
9584 2013-12-04 Alan Modra <amodra@gmail.com>
9585
9586 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9587 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9588 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9589 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9590
9591 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9592 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9593 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9594 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9595 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9596 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9597
9598 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9599
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9601 (__makecontext): Fix incorrect CFI when backtracing out of
9602 context created via makecontext.
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9604 (__setcontext): Fix incorrect CFI during switch to new context.
9605 (__novec_setcontext): Likewise.
9606
9607 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9608
9609 [BZ #4772]
9610 * time/strptime_l.c (__strptime_internal): Allow modifiers
9611 in strptime.
9612 * time/tst-strptime.c (day_tests): Add testcase.
9613
9614 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9615
9616 * scripts/bench.pl: Skip over blank lines.
9617
9618 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9619
9620 [BZ #926]
9621 * manual/time.texi (Calendar Time): Clarify what timezone functions
9622 use.
9623
9624 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9625
9626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9627
9628 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9629
9630 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9631 implementation.
9632 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9633 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9634 * debug/memset_chk.c (__memset_chk): Likewise.
9635 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9636 * debug/strncpy_chk.c: Likewise.
9637
9638 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9639
9640 [BZ #15268]
9641 [BZ #15425]
9642 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9643 (__ieee754_exp): For possibly underflowing results, check size of
9644 result and force underflow exception if required.
9645 * math/auto-libm-test-in: Add more tests of exp.
9646 * math/auto-libm-test-out: Regenerated.
9647 * sysdeps/i386/fpu/libm-test-ulps: Update.
9648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9649
9650 [BZ #16283]
9651 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9652 * math/w_exp2f.c (__exp2f): Likewise.
9653 * math/w_exp2l.c (__exp2l): Likewise.
9654 * math/auto-libm-test-in: Do not allow missing errno on exp2
9655 underflow.
9656 * math/auto-libm-test-out: Regenerated.
9657
9658 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9659
9660 [BZ #16274]
9661 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9662 handle filename validation.
9663 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9664 (do_open): Delete.
9665
9666 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9667
9668 [BZ #6786]
9669 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9670 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9671 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9672 <float.h>.
9673 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9674 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9675 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9677 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9678 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9679 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9680 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9681 Add more erfc tests.
9682 * math/auto-libm-test-out: Regenerated.
9683 * sysdeps/i386/fpu/libm-test-ulps: Update.
9684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9685
9686 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9687 exp2, expm1, j0 and j1.
9688 * math/auto-libm-test-out: Regenerated.
9689 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9690 (erfc_test_data): Likewise.
9691 (exp_test_data): Likewise.
9692 (exp_tonearest_test_data): Likewise.
9693 (exp_towardzero_test_data): Likewise.
9694 (exp_downward_test_data): Likewise.
9695 (exp_upward_test_data): Likewise.
9696 (exp10_test_data): Likewise.
9697 (exp2_test_data): Likewise.
9698 (expm1_test_data): Likewise.
9699 (j0_test_data): Likewise.
9700 (j1_test_data): Likewise.
9701 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9702 (input_flag_type): Add flag_xfail_rounding.
9703 (input_flags): Add xfail-rounding.
9704 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9705 (output_for_one_input_case): Handle flag_xfail_rounding.
9706 * sysdeps/i386/fpu/libm-test-ulps: Update.
9707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9708
9709 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9710
9711 [BZ #16289]
9712 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9713 division by 0.
9714
9715 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9716
9717 [BZ #16195]
9718 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9719 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9720 (STAP_PROBE0): New macro.
9721 (STAP_PROBE1): Likewise.
9722 (STAP_PROBE2): Likewise.
9723 (STAP_PROBE3): Likewise.
9724 (STAP_PROBE4): Likewise.
9725
9726 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9727
9728 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9729
9730 2013-12-02 Steve Ellcey <sellcey@mips.com>
9731
9732 * benchtests/Makefile (bench): Add sqrt.
9733 (LDLIBS-bench-sqrt): New.
9734 * benchtests/sqrt-input: New.
9735
9736 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9737
9738 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9739 (GAIH_EAI): Likewise.
9740 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9741 (gaih_inet): Likewise.
9742 (getaddrinfo): Don't use GAIH_EAI.
9743
9744 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9745 (struct gaih): Remove definition.
9746
9747 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9748
9749 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9750 Use HERRNOP directly.
9751
9752 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9753
9754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9755
9756 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9757
9758 * math/gen-auto-libm-tests.c (test_functions): Add more
9759 single-argument functions.
9760 (special_fill_pi_2): New function.
9761 (special_fill_minus_pi_2): Likewise.
9762 (special_fill_pi_6): Likewise.
9763 (special_fill_minus_pi_6): Likewise.
9764 (special_fill_pi_3): Likewise.
9765 (special_fill_2pi_3): Likewise.
9766 (special_fill_e): Likewise.
9767 (special_fill_1_e): Likewise.
9768 (special_fill_e_minus_1): Likewise.
9769 (special_real_inputs): Add more special inputs.
9770 (output_for_one_input_case): Do not require ERANGE on underflow to
9771 zero if round-to-nearest result does not underflow to zero, unless
9772 exact results required.
9773 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9774 atan, atanh, cbrt, cos and cosh.
9775 * math/auto-libm-test-out: Regenerated.
9776 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9777 (acos_tonearest_test_data): Likewise.
9778 (acos_towardzero_test_data): Likewise.
9779 (acos_downward_test_data): Likewise.
9780 (acos_upward_test_data): Likewise.
9781 (acosh_test_data): Likewise.
9782 (asin_test_data): Likewise.
9783 (asin_tonearest_test_data): Likewise.
9784 (asin_towardzero_test_data): Likewise.
9785 (asin_upward_test_data): Likewise.
9786 (asinh_test_data): Likewise.
9787 (atan_test_data): Likewise.
9788 (atanh_test_data): Likewise.
9789 (cbrt_test_data): Likewise.
9790 (cos_test_data): Likewise.
9791 (cos_tonearest_test_data): Likewise.
9792 (cos_towardzero_test_data): Likewise.
9793 (cos_downward_test_data): Likewise.
9794 (cos_upward_test_data): Likewise.
9795 (cosh_test_data): Likewise.
9796 (cosh_tonearest_test_data): Likewise.
9797 (cosh_towardzero_test_data): Likewise.
9798 (cosh_downward_test_data): Likewise.
9799 (cosh_upward_test_data): Likewise.
9800 * sysdeps/i386/fpu/libm-test-ulps: Update.
9801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9802
9803 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9804
9805 [BZ #6787]
9806 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9807 * math/w_exp10f.c (__exp10f): Likewise.
9808 * math/w_exp10l.c (__exp10l): Likewise.
9809 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9810 errno settings in existing tests.
9811
9812 [BZ #14032]
9813 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9814 precision control set to double precision.
9815 * sysdeps/i386/fpu/w_sqrt.c: New file.
9816 * math/auto-libm-test-in: Add more tests.
9817 * math/auto-libm-test-out: Update.
9818
9819 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9820 (sqrt_test_tonearest): New function.
9821 (sqrt_towardzero_test_data): New variable.
9822 (sqrt_test_towardzero): New function.
9823 (sqrt_downward_test_data): New variable.
9824 (sqrt_test_downward): New function.
9825 (sqrt_upward_test_data): New variable.
9826 (sqrt_test_upward): New function.
9827 (main): Call the new functions.
9828
9829 * math/gen-auto-libm-tests.c: New file.
9830 * math/auto-libm-test-in: Likewise.
9831 * math/auto-libm-test-out: New generated file.
9832 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9833 variables.
9834 (%beautify): Add generated representations of zero.
9835 (top level): Set $auto_input and call parse_auto_input.
9836 (beautify): Remove trailing "f" from hex float constants.
9837 (parse_args): Handle XFAIL_TEST.
9838 (convert_condition): New function.
9839 (or_value): Likewise.
9840 (or_cond_value): Likewise.
9841 (generate_testfile): Handle AUTO_TESTS_* lines.
9842 (parse_auto_input): New function.
9843 * math/libm-test.inc (XFAIL_TEST): New macro.
9844 (ERRNO_UNCHANGED): Update value.
9845 (ERRNO_EDOM): Likewise.
9846 (ERRNO_ERANGE): Likewise.
9847 (IGNORE_RESULT): Likewise.
9848 (TEST_COND_flt_32): New macro.
9849 (TEST_COND_dbl_64): Likewise.
9850 (TEST_COND_ldbl_96_intel): Likewise.
9851 (TEST_COND_ldbl_96_m68k): Likewise.
9852 (TEST_COND_ldbl_128): Likewise.
9853 (TEST_COND_ldbl_128ibm): Likewise.
9854 (TEST_COND_long32): Likewise.
9855 (TEST_COND_long64): Likewise.
9856 (TEST_COND_before_rounding): Likewise.
9857 (TEST_COND_after_rounding): Likewise.
9858 (enable_test): Handle XFAIL_TEST flag.
9859 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9860 with finite results.
9861 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9862 auto-libm-test-out.
9863
9864 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9865 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9866
9867 [BZ #16214]
9868 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9869 __tls_get_addr_internal instead of __tls_get_offset in order to
9870 avoid GOT pointer dependency. Make rtld export
9871 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9872 __tls_get_addr since we are a __tls_get_offset platform.
9873 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9874 GOT pointer being set up before.
9875 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9876
9877 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9878
9879 * manual/math.texi (Errors in Math Functions): Document accuracy
9880 goals.
9881
9882 [BZ #15004]
9883 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9884 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9887 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9889 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9899
9900 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9901 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9902 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9903 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9904 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9905 Likewise.
9906 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9907 Likewise.
9908 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9909 Likewise.
9910 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9911 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9912 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9913 atomic-feupdateenv and flt-rounds.
9914 * sysdeps/powerpc/nofpu/Versions (libc): Add
9915 __atomic_feholdexcept, __atomic_feclearexcept,
9916 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9917 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9918 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9919 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9920 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9921 here.
9922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9923 Update.
9924
9925 * manual/arith.texi (FP Exceptions): Document that exceptions may
9926 not be raised when matherr is used.
9927 (Math Error Reporting): Document overflow in directed rounding
9928 modes. Document that errno may not be set when finite values are
9929 returned on overflow. Document intent to set errno on underflow
9930 only for underflow to zero.
9931
9932 [BZ #16271]
9933 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9934 round-to-nearest then adjust result for other rounding modes.
9935 * include/fenv.h (fegetround): Use libm_hidden_proto.
9936 * math/fegetround.c (fegetround): Use libm_hidden_def.
9937 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9938 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9939 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9940 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9941 Likewise.
9942 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9943 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9944 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9945 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9946
9947 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9948
9949 [BZ #16077]
9950 * nss/Versions (libnss_files): Add
9951 _nss_files_gethostbyname3_r.
9952 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9953 New function.
9954 (HOST_DB_LOOKUP): Remove macro.
9955 (_nss_files_gethostbyname_r): Implement function without the
9956 HOST_DB_LOOKUP macro.
9957 (_nss_files_gethostbyname2_r): Likewise.
9958
9959 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9960
9961 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9962
9963 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9964
9965 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9966 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9967 warning.
9968
9969 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9970
9971 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9972 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9973 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9974 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9975 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9976 __fe_nomask_env_priv and attribute_hidden.
9977 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9978 (libc_feupdateenv_test_ppc): Likewise.
9979 (libc_feresetround_ppc): Likewise.
9980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9981 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9982 compat_symbol macro.
9983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9984 (__fe_nomask_env): Likewise.
9985 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9986
9987 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9988
9989 * string/Makefile: Remove ifunc tests.
9990 * string/test-string.h: Define TEST_IFUNC.
9991 * string/test-bcopy-ifunc.c: Remove.
9992 * string/test-bzero-ifunc.c: Likewise.
9993 * string/test-memccpy-ifunc.c: Likewise.
9994 * string/test-memchr-ifunc.c: Likewise.
9995 * string/test-memcmp-ifunc.c: Likewise.
9996 * string/test-memcpy-ifunc.c: Likewise.
9997 * string/test-memmem-ifunc.c: Likewise.
9998 * string/test-memmove-ifunc.c: Likewise.
9999 * string/test-mempcpy-ifunc.c: Likewise.
10000 * string/test-memrchr-ifunc.c: Likewise.
10001 * string/test-memset-ifunc.c: Likewise.
10002 * string/test-rawmemchr-ifunc.c: Likewise.
10003 * string/test-stpcpy-ifunc.c: Likewise.
10004 * string/test-stpncpy-ifunc.c: Likewise.
10005 * string/test-strcasecmp-ifunc.c: Likewise.
10006 * string/test-strcasestr-ifunc.c: Likewise.
10007 * string/test-strcat-ifunc.c: Likewise.
10008 * string/test-strchr-ifunc.c: Likewise.
10009 * string/test-strchrnul-ifunc.c: Likewise.
10010 * string/test-strcmp-ifunc.c: Likewise.
10011 * string/test-strcpy-ifunc.c: Likewise.
10012 * string/test-strcspn-ifunc.c: Likewise.
10013 * string/test-strlen-ifunc.c: Likewise.
10014 * string/test-strncasecmp-ifunc.c: Likewise.
10015 * string/test-strncat-ifunc.c: Likewise.
10016 * string/test-strncmp-ifunc.c: Likewise.
10017 * string/test-strncpy-ifunc.c: Likewise.
10018 * string/test-strnlen-ifunc.c: Likewise.
10019 * string/test-strpbrk-ifunc.c: Likewise.
10020 * string/test-strrchr-ifunc.c: Likewise.
10021 * string/test-strspn-ifunc.c: Likewise.
10022 * string/test-strstr-ifunc.c: Likewise.
10023
10024 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10025
10026 * benchtests/Makefile: Remove ifunc tests.
10027 * benchtests/bench-string.h: Define TEST_IFUNC.
10028 * benchtests/bench-bcopy-ifunc.c: Remove.
10029 * benchtests/bench-bzero-ifunc.c: Likewise.
10030 * benchtests/bench-memccpy-ifunc.c: Likewise.
10031 * benchtests/bench-memchr-ifunc.c: Likewise.
10032 * benchtests/bench-memcmp-ifunc.c: Likewise.
10033 * benchtests/bench-memcpy-ifunc.c: Likewise.
10034 * benchtests/bench-memmem-ifunc.c: Likewise.
10035 * benchtests/bench-memmove-ifunc.c: Likewise.
10036 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10037 * benchtests/bench-memrchr-ifunc.c: Likewise.
10038 * benchtests/bench-memset-ifunc.c: Likewise.
10039 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10040 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10041 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10042 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10043 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10044 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10045 * benchtests/bench-strcat-ifunc.c: Likewise.
10046 * benchtests/bench-strchr-ifunc.c: Likewise.
10047 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10048 * benchtests/bench-strcmp-ifunc.c: Likewise.
10049 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10050 * benchtests/bench-strcpy-ifunc.c: Likewise.
10051 * benchtests/bench-strcspn-ifunc.c: Likewise.
10052 * benchtests/bench-strlen-ifunc.c: Likewise.
10053 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10054 * benchtests/bench-strncat-ifunc.c: Likewise.
10055 * benchtests/bench-strncmp-ifunc.c: Likewise.
10056 * benchtests/bench-strncpy-ifunc.c: Likewise.
10057 * benchtests/bench-strnlen-ifunc.c: Likewise.
10058 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10059 * benchtests/bench-strrchr-ifunc.c: Likewise.
10060 * benchtests/bench-strsep-ifunc.c: Likewise.
10061 * benchtests/bench-strspn-ifunc.c: Likewise.
10062 * benchtests/bench-strstr-ifunc.c: Likewise.
10063
10064 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10065
10066 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10067
10068 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10069
10070 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10071 * rt/aio.h: Likewise.
10072 * sysdeps/gnu/bits/utmp.h: Likewise.
10073 * sysdeps/gnu/bits/utmpx.h: Likewise.
10074 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10075 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10076 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10077 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10078 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10079 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10080 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10081 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10082 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10083 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10084 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10085 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10086 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10088 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10089 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10090 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10091 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10092 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10093 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10094 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10095 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10096 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10097 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10098 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10100 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10101 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10102 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10103 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10104 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10105 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10106 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10107 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10108 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10109 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10110 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10111 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10112 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10113 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10114 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10115 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10116
10117 2013-11-25 Carlos O'Donell <carlos@redhat.com>
10118
10119 [BZ #16245]
10120 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10121 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10122
10123 2013-11-25 Joseph Myers <joseph@codesourcery.com>
10124
10125 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10126 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10127 Likewise.
10128
10129 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10130
10131 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10132 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10133 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10134 (__fesetround): Remove define.
10135 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10136 rounding and exceptions handling.
10137 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10138 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10139 (__fe_nomask_env): Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10141 __fegetround instead of fegetround.
10142 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10143 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10144
10145 2013-11-21 Roland McGrath <roland@hack.frob.com>
10146
10147 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10148 it's there.
10149
10150 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10151
10152 2013-11-21 Meador Inge <meadori@codesourcery.com>
10153
10154 [BZ #11157]
10155 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10156 (encrypt_r): Likewise.
10157 * malloc/obstack.h (obstack_free): Likewise.
10158 * posix/unistd.h (encrypt): Likewise.
10159
10160 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10161
10162 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10163 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10164 DL_CALL_DT_FINI() that call the functions directly.
10165 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10166 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10167 * elf/dl-fini.c: Likewise.
10168
10169 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
10170
10171 * malloc/hooks.c (memalign_check): Add alignment rounding.
10172 * malloc/malloc.c (_mid_memalign): New function.
10173 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10174 Implement by calling _mid_memalign.
10175 * manual/probes.texi (Memory Allocation Probes): Remove
10176 memory_valloc_retry and memory_pvalloc_retry.
10177
10178 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10179
10180 * locale/programs/locarchive.c (open_archive): Add const
10181 qualifier to ARCHIVEFNAME and copy default fname to
10182 DEFAULT_FNAME.
10183
10184 [BZ #15601]
10185 * libio/tst-widetext.input: Rename Oriya to Odia.
10186 * locale/iso-639.def: Likewise.
10187
10188 * manual/probes.texi (Mathematical Function Probes): Add
10189 documentation for sin, cos, asin and acos probes.
10190 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10191 (__sin32): Add slowasin probe.
10192 (__cos32): Add slowacos probe.
10193 (__mpsin): Add slowsin probe.
10194 (__mpcos): Add slowcos probe.
10195
10196 2013-11-19 Joseph Myers <joseph@codesourcery.com>
10197
10198 [BZ #15483]
10199 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10200 thread-local __sim_exceptions_thread and global
10201 __sim_exceptions_global.
10202 (__sim_disabled_exceptions): Change to thread-local
10203 __sim_disabled_exceptions_thread and global
10204 __sim_disabled_exceptions_global.
10205 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10206 and global __sim_round_mode_global.
10207 (__simulate_exceptions): Use thread-local floating-point state and
10208 set global state from it as needed.
10209 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10210 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10211 __sim_round_mode_thread.
10212 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10213 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10214 and global __sim_exceptions_global.
10215 (__sim_disabled_exceptions): Change to thread-local
10216 __sim_disabled_exceptions_thread and global
10217 __sim_disabled_exceptions_global.
10218 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10219 and global __sim_round_mode_global.
10220 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10221 (SIM_SET_GLOBAL): Likewise.
10222 * sysdeps/powerpc/soft-fp/sfp-machine.h
10223 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10224 __sim_round_mode_thread.
10225 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10226 __sim_disabled_exceptions_thread.
10227 (__sim_exceptions): Change to __sim_exceptions_thread.
10228 (__sim_disabled_exceptions): Change to
10229 __sim_disabled_exceptions_thread.
10230 (__sim_round_mode): Change to __sim_round_mode_thread.
10231 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10232 thread-local floating-point state and set global state from it as
10233 needed.
10234 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10235 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10236 (__sim_disabled_exceptions): Remove extern declaration.
10237 (feenableexcept): Use thread-local floating-point state and set
10238 global state from it as needed.
10239 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10240 extern declaration.
10241 (__sim_disabled_exceptions): Likewise.
10242 (__sim_round_mode): Likewise.
10243 (__fegetenv): Use thread-local floating-point state.
10244 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10245 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10246 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10247 floating-point state and set global state from it as needed.
10248 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10249 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10250 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10251 Likewise.
10252 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10253 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10254 Likewise.
10255 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10256 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10257 Use __sim_round_mode_thread.
10258 * math/test-fenv-tls.c: New file.
10259 * math/Makefile (tests): Add test-fenv-tls.
10260 ($(objpfx)test-fenv-tls): Depend on
10261 $(common-objpfx)nptl/libpthread.so.
10262
10263 2013-11-19 Andreas Schwab <schwab@suse.de>
10264
10265 * locale/programs/locale.c (show_info): Decode wordarray elements.
10266 * locale/categories.def (LC_MONETARY): Add element for
10267 _NL_MONETARY_CRNCYSTR.
10268 * locale/C-monetary.c (conversion_rate): New variable.
10269 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10270 element.
10271
10272 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10273
10274 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10275 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10276
10277 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10278
10279 * elf/Makefile (tst-auxv): New test.
10280 * elf/tst-auxv.c: New
10281 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10282
10283 2013-11-18 Joseph Myers <joseph@codesourcery.com>
10284
10285 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10286 (hidden_proto): Caller changed.
10287 (hidden_tls_proto): New macro.
10288 (libc_hidden_tls_proto): Likewise.
10289 (rtld_hidden_tls_proto): Likewise.
10290 (libm_hidden_tls_proto): Likewise.
10291 (libresolv_hidden_tls_proto): Likewise.
10292 (librt_hidden_tls_proto): Likewise.
10293 (libdl_hidden_tls_proto): Likewise.
10294 (libnss_files_hidden_tls_proto): Likewise.
10295 (libnsl_hidden_tls_proto): Likewise.
10296 (libnss_nisplus_hidden_tls_proto): Likewise.
10297 (libutil_hidden_tls_proto): Likewise.
10298
10299 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10300
10301 [BZ #10253]
10302 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10303 (decompose_rpath): Defer expansion to fillin_rpath.
10304 (_dl_init_paths): Pass linkmap to fillin_rpath.
10305
10306 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10307
10308 * benchtests/Makefile: Add strsep.
10309 * benchtests/bench-strsep.c: New file: strsep benchtest.
10310 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10311
10312 2013-11-18 Andreas Schwab <schwab@suse.de>
10313
10314 * locale/programs/locale.c (show_info) [case byte]: Check for
10315 '\377' instead of '\177'.
10316 * locale/C-monetary.c (not_available): Always use "\377".
10317 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10318 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10319 detect unavailable sign_posn locale elements.
10320 * locale/localeconv.c (__localeconv): For grouping and
10321 mon_grouping handle "\177" and "\377" like no grouping.
10322 (INT_ELEM): New macro. Use it to set all numeric members.
10323 * locale/programs/ld-monetary.c (monetary_read)
10324 <tok_mon_grouping>: Normalize single -1 to the empty string.
10325 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10326 Likewise.
10327
10328 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10329
10330 [BZ #16055]
10331 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10332 when we match (nil).
10333 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10334
10335 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10336
10337 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10338 (NO_TEST_INLINE): Update value.
10339 (ERRNO_UNCHANGED): Likewise.
10340 (ERRNO_EDOM): Likewise.
10341 (ERRNO_ERANGE): Likewise.
10342 (IGNORE_RESULT): Likewise.
10343 (check_float_internal): Check signs of NaN results if
10344 TEST_NAN_SIGN used.
10345 (check_complex): Pass TEST_NAN_SIGN flag through to second
10346 check_float_internal call.
10347 (copysign_test_data): Add tests with quiet NaNs as second
10348 argument. Use TEST_NAN_SIGN.
10349 (fabs_test_data): Add test of negative quiet NaN argument. Use
10350 TEST_NAN_SIGN.
10351 (signbit_test_data): Add tests of quiet NaN argument.
10352 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10353
10354 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10355 $ignore_result.
10356 (parse_args): Handle function results specified as IGNORE.
10357 * math/libm-test.inc (IGNORE_RESULT): New macro.
10358 (check_float_internal): Do not check numerical result if flag
10359 IGNORE_RESULT set.
10360 (check_complex): Pass through IGNORE_RESULT to second
10361 check_float_internal call.
10362 (check_int): Do not check numerical result if flag IGNORE_RESULT
10363 set.
10364 (check_long): Likewise.
10365 (check_bool): Likewise.
10366 (check_longlong): Likewise.
10367 (lrint_test_data): Add tests of infinite and NaN arguments.
10368 (lrint_tonearest_test_data): Likewise.
10369 (lrint_towardzero_test_data): Likewise.
10370 (lrint_downward_test_data): Likewise.
10371 (lrint_upward_test_data): Likewise.
10372 (llrint_test_data): Likewise.
10373 (llrint_tonearest_test_data): Likewise.
10374 (llrint_towardzero_test_data): Likewise.
10375 (llrint_downward_test_data): Likewise.
10376 (llrint_upward_test_data): Likewise.
10377 (lround_test_data): Likewise.
10378 (llround_test_data): Likewise.
10379
10380 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10381 (ERRNO_UNCHANGED): Update value.
10382 (ERRNO_EDOM): Likewise.
10383 (ERRNO_ERANGE): Likewise.
10384 (NO_TEST_INLINE_FLOAT): New macro.
10385 (NO_TEST_INLINE_DOUBLE): Likewise.
10386 (enable_test): New function.
10387 (RUN_TEST_f_f): Check enable_test before running test.
10388 (RUN_TEST_2_f): Likewise.
10389 (RUN_TEST_fff_f): Likewise.
10390 (RUN_TEST_c_f): Likewise.
10391 (RUN_TEST_f_f1): Likewise.
10392 (RUN_TEST_fF_f1): Likewise.
10393 (RUN_TEST_fI_f1): Likewise.
10394 (RUN_TEST_ffI_f1): Likewise.
10395 (RUN_TEST_c_c): Likewise.
10396 (RUN_TEST_cc_c): Likewise.
10397 (RUN_TEST_f_i): Likewise.
10398 (RUN_TEST_f_i_tg): Likewise.
10399 (RUN_TEST_ff_i_tg): Likewise.
10400 (RUN_TEST_f_b): Likewise.
10401 (RUN_TEST_f_b_tg): Likewise.
10402 (RUN_TEST_f_l): Likewise.
10403 (RUN_TEST_f_L): Likewise.
10404 (RUN_TEST_fFF_11): Likewise.
10405 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10406 conditionals.
10407 (cosh_test_data): Likewise.
10408 (exp_test_data): Likewise.
10409 (expm1_test_data): Likewise.
10410 (hypot_test_data): Likewise.
10411 (pow_test_data): Likewise.
10412 (sinh_test_data): Likewise.
10413 (tanh_test_data): Likewise.
10414 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10415 flags argument.
10416
10417 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10418 tests with quiet NaN input and output.
10419 (acosh_test_data): Likewise.
10420 (asin_test_data): Likewise.
10421 (asinh_test_data): Likewise.
10422 (atan_test_data): Likewise.
10423 (atanh_test_data): Likewise.
10424 (atan2_test_data): Likewise.
10425 (cbrt_test_data): Likewise.
10426 (cos_test_data): Likewise.
10427 (cosh_test_data): Likewise.
10428 (erf_test_data): Likewise.
10429 (erfc_test_data): Likewise.
10430 (exp_test_data): Likewise.
10431 (exp10_test_data): Likewise.
10432 (exp2_test_data): Likewise.
10433 (expm1_test_data): Likewise.
10434 (hypot_test_data): Likewise.
10435 (j0_test_data): Likewise.
10436 (j1_test_data): Likewise.
10437 (jn_test_data): Likewise.
10438 (lgamma_test_data): Likewise.
10439 (log_test_data): Likewise.
10440 (log10_test_data): Likewise.
10441 (log1p_test_data): Likewise.
10442 (log2_test_data): Likewise.
10443 (pow_test_data): Likewise.
10444 (scalb_test_data): Likewise.
10445 (sin_test_data): Likewise.
10446 (sincos_test_data): Likewise.
10447 (sinh_test_data): Likewise.
10448 (tan_test_data): Likewise.
10449 (tanh_test_data): Likewise.
10450 (tgamma_test_data): Likewise.
10451 (y0_test_data): Likewise.
10452 (y1_test_data): Likewise.
10453 (yn_test_data): Likewise.
10454
10455 [BZ #16167]
10456 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10457 argument being NaN and avoid computations with second argument in
10458 that case.
10459 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10460 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10461 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10462
10463 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10464
10465 * locale/iso-639.def: Add Chitwani Tharu (the).
10466
10467 2013-11-14 Andreas Schwab <schwab@suse.de>
10468
10469 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10470 word instead of empty string.
10471
10472 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10473
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10475 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10477 (__fe_nomask_env): Likewise.
10478
10479 2013-11-13 Steve Ellcey <sellcey@mips.com>
10480
10481 * benchtests/bench-timing.h: Include time.h.
10482
10483 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10484
10485 [BZ #15997]
10486 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10487 to 3.4.0 for x32.
10488 * sysdeps/unix/sysv/linux/configure: Regenerated.
10489
10490 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10491
10492 [BZ #16151]
10493 * stdlib/strtod_l.c (round_and_return): Do not consider
10494 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10495 exponent one less than half the least subnormal exponent.
10496 * stdlib/test-strtod-round-data: Add more tests.
10497 * stdlib/tst-strtod-round.c (tests): Regenerated.
10498
10499 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10500
10501 [BZ #14143]
10502 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10503 (__fe_mask_env): Likewise.
10504 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10505 libm_hidden_proto and add function prototype.
10506 (__fe_mask_env): Add function prototype.
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10508 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10510 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10512 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10513
10514 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10515
10516 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10517 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10518
10519 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10520
10521 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10522 of htab_find_slot().
10523
10524 2013-11-11 David S. Miller <davem@davemloft.net>
10525
10526 [BZ #16150]
10527 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10528 symbol in the non-vis3 case in static builds.
10529 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10530 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10531 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10532 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10533
10534 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10535
10536 [BZ #387]
10537 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10538 it is empty.
10539
10540 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541
10542 * benchtests/Makefile: Add bench-strtod.
10543 * benchtests/bench-strtod.c: New file: strtod benchtest
10544
10545 2013-11-11 Andreas Schwab <schwab@suse.de>
10546
10547 [BZ #16153]
10548 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10549 terminating NUL in key length.
10550
10551 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10552
10553 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10554 Add artificial ODP entry for vDSO symbol for PPC64.
10555 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10556 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10557
10558 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10559
10560 [BZ #15374]
10561 * nss/getent.c (services_keys): Recognize services starting with digit.
10562
10563 2013-11-06 David S. Miller <davem@davemloft.net>
10564
10565 [BZ #15985]
10566 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10567 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10568
10569 2013-11-06 Will Newton <will.newton@linaro.org>
10570
10571 * manual/memory.texi (Malloc Examples): Remove register
10572 keyword from examples.
10573
10574 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10575
10576 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10577
10578 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10579
10580 [BZ #6981]
10581 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10582 depending on [__GCC_IEC_559 > 0].
10583 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10584 depending on [__GCC_IEC_559_COMPLEX > 0].
10585
10586 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10587
10588 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10589 to iso-639.def.
10590
10591 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10592
10593 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10594
10595 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10596
10597 [BZ #16112]
10598 * malloc/malloc (malloc_info): Do not handle first bin as
10599 special case.
10600
10601 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10602
10603 * locale/iso-639.def: Add Central Nahuatl (nhn).
10604
10605 2013-11-01 Bruno Haible <bruno@clisp.org>
10606
10607 [BZ #7003]
10608 * manual/math.texi (BSD Random): Specify range upper bound as
10609 in POSIX.
10610
10611 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10612
10613 * locale/iso-639.def: Add Meadow Mari (mhr).
10614
10615 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10616
10617 [BZ #14752], [BZ #15763]
10618 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10619 Validate name.
10620 * rt/tst_shm.c: Add test for escaping directory.
10621
10622 2013-10-31 Andreas Schwab <schwab@suse.de>
10623
10624 [BZ #15917]
10625 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10626 followed by 'x' as part of digit sequence.
10627 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10628
10629 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10630
10631 [BZ #16037]
10632 * configure.ac: allow GNU Make 4.0 and greater.
10633 * configure: Regenerated.
10634
10635 2013-10-30 Will Newton <will.newton@linaro.org>
10636
10637 [BZ #16038]
10638 * malloc/hooks.c (memalign_check): Limit alignment to the
10639 maximum representable power of two.
10640 * malloc/malloc.c (__libc_memalign): Likewise.
10641 * malloc/tst-memalign.c (do_test): Add test for very
10642 large alignment values.
10643 * malloc/tst-posix_memalign.c (do_test): Likewise.
10644
10645 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10646
10647 [BZ #11087]
10648 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10649 (munmap_chunk): Likewise.
10650 (mremap_chunk): Likewise.
10651
10652 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10653
10654 [BZ #15799]
10655 * stdlib/div.c (div): Remove obsolete code.
10656 * stdlib/ldiv.c (ldiv): Likewise.
10657 * stdlib/lldiv.c (lldiv): Likewise.
10658
10659 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10660
10661 [BZ #16071]
10662 * nss/nss_files/files-XXX.c (get_contents_ret): New
10663 enumerator.
10664 (get_contents): New function.
10665 (internal_getent): Use it. Expand size of LINEBUFLEN.
10666
10667 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10668
10669 * configure.in: Moved to ...
10670 * configure.ac: ... here. Change reference to configure.in
10671 to configure.ac.
10672 * sysdeps/arm/preconfigure.ac: ... here.
10673 configure.in to configure.ac.
10674 * sysdeps/gnu/configure.in: Moved to ...
10675 * sysdeps/gnu/configure.ac: ... here.
10676 * sysdeps/i386/configure.in: Moved to ...
10677 * sysdeps/i386/configure.ac: ... here.
10678 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10679 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10680 * sysdeps/mach/configure.in: Moved to ...
10681 * sysdeps/mach/configure.ac: ... here.
10682 * sysdeps/mach/hurd/configure.in: Moved to ...
10683 * sysdeps/mach/hurd/configure.ac: ... here.
10684 * sysdeps/powerpc/configure.in: Moved to ...
10685 * sysdeps/powerpc/configure.ac: ... here.
10686 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10687 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10688 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10689 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10690 * sysdeps/s390/s390-32/configure.in: Moved to ...
10691 * sysdeps/s390/s390-32/configure.ac: ... here.
10692 * sysdeps/s390/s390-64/configure.in: Moved to ...
10693 * sysdeps/s390/s390-64/configure.ac: ... here.
10694 * sysdeps/sh/configure.in: Moved to ...
10695 * sysdeps/sh/configure.ac: ... here.
10696 * sysdeps/sparc/configure.in: Moved to ...
10697 * sysdeps/sparc/configure.ac: ... here.
10698 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10699 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10700 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10701 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10702 * sysdeps/x86_64/configure.in: Moved to ...
10703 * sysdeps/x86_64/configure.ac: ... here.
10704 * sysdeps/x86_64/preconfigure.in: Moved to ...
10705 * sysdeps/x86_64/preconfigure.ac: ... here.
10706 * aclocal.m4: Change reference to configure.in to configure.ac.
10707 * config.h.in: Likewise.
10708 * manual/install.texi: Likewise.
10709 * manual/maint.texi: Likewise.
10710 * Makefile: Likewise.
10711 * malloc/Makefile: Likewise.
10712 * nscd/Makefile: Likewise.
10713 * Makeconfig: Change reference to configure.in and
10714 preconfigure.in to configure.ac and preconfigure.ac
10715 respectively.
10716 * INSTALL: Regenerated.
10717 * configure: Likewise.
10718 * sysdeps/gnu/configure: Likewise.
10719 * sysdeps/i386/configure: Likewise.
10720 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10721 * sysdeps/mach/configure: Likewise.
10722 * sysdeps/mach/hurd/configure: Likewise.
10723 * sysdeps/powerpc/configure: Likewise.
10724 * sysdeps/powerpc/powerpc32/configure: Likewise.
10725 * sysdeps/powerpc/powerpc64/configure: Likewise.
10726 * sysdeps/s390/s390-32/configure: Likewise.
10727 * sysdeps/s390/s390-64/configure: Likewise.
10728 * sysdeps/sh/configure: Likewise.
10729 * sysdeps/sparc/configure: Likewise.
10730 * sysdeps/unix/sysv/linux/configure: Likewise.
10731 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10732 * sysdeps/x86_64/configure: Likewise.
10733 * sysdeps/x86_64/preconfigure: Likewise.
10734
10735 2013-10-29 Andreas Schwab <schwab@suse.de>
10736
10737 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10738
10739 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10740
10741 * benchtests/pow-inputs: Add new inputs.
10742
10743 * benchtests/exp-inputs: Add new inputs.
10744
10745 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10746 conditional check for return value.
10747 (__cos32): Likewise.
10748
10749 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10750
10751 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10752 to provide a boost for large inputs with word alignment.
10753 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10754 implementation based on optimized PPC64 strcpy.
10755 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10756 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10757 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10758 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10759
10760 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10761
10762 [BZ #2801]
10763 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10764
10765 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10766
10767 [BZ #14876]
10768 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10769 * time/tst-strptime.c (day_tests): Add testcase.
10770
10771 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10772
10773 [BZ #14029]
10774 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10775
10776 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10777
10778 [BZ #16074]
10779 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10780 MAP_FAILED on error.
10781
10782 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10783
10784 [BZ #16072]
10785 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10786 heap for large requests.
10787
10788 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10789
10790 [BZ #9954]
10791 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10792 result if the result has no associated interface.
10793 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10794 interface for all 127.X.Y.Z addresses.
10795
10796 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10797
10798 * locale/iso-639.def: Add Ligurian (lij)
10799
10800 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10801
10802 [BZ #15825]
10803 * sunrpc/rpc_main.c: Document rpcgen -5.
10804
10805 2013-10-19 Michael Stahl <mstahl@redhat.com>
10806
10807 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10808
10809 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10810
10811 [BZ #10278]
10812 * posix/glob.c: Match only directories when trailing slash is present.
10813 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10814 (main): Add testcase.
10815
10816 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10817
10818 [BZ #15670]
10819 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10820
10821 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10822
10823 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10824 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10825 AUTH_DES and cindex for FIPS 140-2.
10826 (DES Encryption): Add cindex FIPS 46-3.
10827
10828 * locale/locarchive.h (struct locarhandle): Add fname.
10829 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10830 if an optional argument was specified to --list-archive,
10831 otherwise NULL.
10832 * locale/programs/locarchive.c (show_archive_content): Take new
10833 argument fname and pass it via ah.fname to open_archive.
10834 * locale/programs/localedef.h: Update decl.
10835 (open_archive): If AH->fname is non-null, open that file
10836 rather than the default file name, and don't ignore ENOENT.
10837 (create_archive): Set AH.fname to NULL.
10838 (delete_locales_from_archive): Likewise.
10839 (add_locales_to_archive): Likewise.
10840 * locale/programs/locfile.c (write_all_categories): Likewise.
10841
10842 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10843 Aldy Hernandez <aldyh@redhat.com>
10844
10845 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10846 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10847 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10848 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10849 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10850 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10851 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10852 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10853 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10854 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10855 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10856 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10857 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10858 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10859 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10860 Likewise.
10861 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10862 Likewise.
10863 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10864 Likewise.
10865 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10866 Likewise.
10867 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10868 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10869 Likewise.
10870 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10871 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10872 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10873 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10874 Likewise.
10875 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10876 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10877 * sysdeps/powerpc/preconfigure: Likewise.
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10879 Likewise.
10880 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10881 Replace contents of file by #include of <fenv_libc.h>.
10882 * sysdeps/powerpc/soft-fp/sfp-machine.h
10883 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10884 and <sys/prctl.h>.
10885 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10886 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10887 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10888 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10889 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10891 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10892 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10893 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10894 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10895 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10898 Allow copysignl PLT reference to be missing.
10899
10900 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10901 Joseph Myers <joseph@codesourcery.com
10902
10903 [BZ #15948]
10904 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10905 single character.
10906 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10907
10908 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10909
10910 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10911 * elf/tst-tls1.c: Likewise.
10912 * elf/tst-tls10.h: Likewise.
10913 * elf/tst-tls14.c: Likewise.
10914 * elf/tst-tls2.c: Likewise.
10915 * elf/tst-tls3.c: Likewise.
10916 * elf/tst-tls4.c: Likewise.
10917 * elf/tst-tls5.c: Likewise.
10918 * elf/tst-tls6.c: Likewise.
10919 * elf/tst-tls7.c: Likewise.
10920 * elf/tst-tls8.c: Likewise.
10921 * elf/tst-tls9.c: Likewise.
10922 * elf/tst-tlsmod1.c: Likewise.
10923 * elf/tst-tlsmod13.c: Likewise.
10924 * elf/tst-tlsmod13a.c: Likewise.
10925 * elf/tst-tlsmod14a.c: Likewise.
10926 * elf/tst-tlsmod16a.c: Likewise.
10927 * elf/tst-tlsmod16b.c: Likewise.
10928 * elf/tst-tlsmod2.c: Likewise.
10929 * elf/tst-tlsmod3.c: Likewise.
10930 * elf/tst-tlsmod4.c: Likewise.
10931 * elf/tst-tlsmod5.c: Likewise.
10932 * elf/tst-tlsmod6.c: Likewise.
10933
10934 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10935
10936 [BZ #12486]
10937 * malloc/malloc.c: remove checks for statistics.
10938
10939 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10940
10941 [BZ #15277]
10942 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10943 * inet/tst-network.c: Add testcase.
10944
10945 2013-10-17 Andreas Schwab <schwab@suse.de>
10946
10947 [BZ #15218]
10948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10949 to determine canonical name.
10950
10951 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10952
10953 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10954 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10977 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10978 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10983 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10984 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10985 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10986 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10987 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10988 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10989 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10990 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10994 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11008 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11011
11012 2013-10-17 Joseph Myers <joseph@codesourcery.com>
11013
11014 [BZ #16041]
11015 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11016 make result into a quiet NaN.
11017
11018 2013-10-16 Joseph Myers <joseph@codesourcery.com>
11019
11020 * soft-fp/adddf3.c: Fix horizontal whitespace.
11021 * soft-fp/addsf3.c: Likewise.
11022 * soft-fp/addtf3.c: Likewise.
11023 * soft-fp/divdf3.c: Likewise.
11024 * soft-fp/divsf3.c: Likewise.
11025 * soft-fp/divtf3.c: Likewise.
11026 * soft-fp/double.h: Likewise.
11027 * soft-fp/eqdf2.c: Likewise.
11028 * soft-fp/eqsf2.c: Likewise.
11029 * soft-fp/eqtf2.c: Likewise.
11030 * soft-fp/extenddftf2.c: Likewise.
11031 * soft-fp/extended.h: Likewise.
11032 * soft-fp/extendsfdf2.c: Likewise.
11033 * soft-fp/extendsftf2.c: Likewise.
11034 * soft-fp/extendxftf2.c: Likewise.
11035 * soft-fp/fixdfdi.c: Likewise.
11036 * soft-fp/fixdfsi.c: Likewise.
11037 * soft-fp/fixdfti.c: Likewise.
11038 * soft-fp/fixsfdi.c: Likewise.
11039 * soft-fp/fixsfsi.c: Likewise.
11040 * soft-fp/fixsfti.c: Likewise.
11041 * soft-fp/fixtfdi.c: Likewise.
11042 * soft-fp/fixtfsi.c: Likewise.
11043 * soft-fp/fixtfti.c: Likewise.
11044 * soft-fp/fixunsdfdi.c: Likewise.
11045 * soft-fp/fixunsdfsi.c: Likewise.
11046 * soft-fp/fixunsdfti.c: Likewise.
11047 * soft-fp/fixunssfdi.c: Likewise.
11048 * soft-fp/fixunssfsi.c: Likewise.
11049 * soft-fp/fixunssfti.c: Likewise.
11050 * soft-fp/fixunstfdi.c: Likewise.
11051 * soft-fp/fixunstfsi.c: Likewise.
11052 * soft-fp/fixunstfti.c: Likewise.
11053 * soft-fp/floatdidf.c: Likewise.
11054 * soft-fp/floatdisf.c: Likewise.
11055 * soft-fp/floatditf.c: Likewise.
11056 * soft-fp/floatsidf.c: Likewise.
11057 * soft-fp/floatsisf.c: Likewise.
11058 * soft-fp/floatsitf.c: Likewise.
11059 * soft-fp/floattidf.c: Likewise.
11060 * soft-fp/floattisf.c: Likewise.
11061 * soft-fp/floattitf.c: Likewise.
11062 * soft-fp/floatundidf.c: Likewise.
11063 * soft-fp/floatundisf.c: Likewise.
11064 * soft-fp/floatunditf.c: Likewise.
11065 * soft-fp/floatunsidf.c: Likewise.
11066 * soft-fp/floatunsisf.c: Likewise.
11067 * soft-fp/floatunsitf.c: Likewise.
11068 * soft-fp/floatuntidf.c: Likewise.
11069 * soft-fp/floatuntisf.c: Likewise.
11070 * soft-fp/floatuntitf.c: Likewise.
11071 * soft-fp/fmadf4.c: Likewise.
11072 * soft-fp/fmasf4.c: Likewise.
11073 * soft-fp/fmatf4.c: Likewise.
11074 * soft-fp/gedf2.c: Likewise.
11075 * soft-fp/gesf2.c: Likewise.
11076 * soft-fp/getf2.c: Likewise.
11077 * soft-fp/ledf2.c: Likewise.
11078 * soft-fp/lesf2.c: Likewise.
11079 * soft-fp/letf2.c: Likewise.
11080 * soft-fp/muldf3.c: Likewise.
11081 * soft-fp/mulsf3.c: Likewise.
11082 * soft-fp/multf3.c: Likewise.
11083 * soft-fp/negdf2.c: Likewise.
11084 * soft-fp/negsf2.c: Likewise.
11085 * soft-fp/negtf2.c: Likewise.
11086 * soft-fp/op-1.h: Likewise.
11087 * soft-fp/op-2.h: Likewise.
11088 * soft-fp/op-4.h: Likewise.
11089 * soft-fp/op-8.h: Likewise.
11090 * soft-fp/op-common.h: Likewise.
11091 * soft-fp/quad.h: Likewise.
11092 * soft-fp/single.h: Likewise.
11093 * soft-fp/soft-fp.h: Likewise.
11094 * soft-fp/sqrtdf2.c: Likewise.
11095 * soft-fp/sqrtsf2.c: Likewise.
11096 * soft-fp/sqrttf2.c: Likewise.
11097 * soft-fp/subdf3.c: Likewise.
11098 * soft-fp/subsf3.c: Likewise.
11099 * soft-fp/subtf3.c: Likewise.
11100 * soft-fp/truncdfsf2.c: Likewise.
11101 * soft-fp/trunctfdf2.c: Likewise.
11102 * soft-fp/trunctfsf2.c: Likewise.
11103 * soft-fp/trunctfxf2.c: Likewise.
11104 * soft-fp/unorddf2.c: Likewise.
11105 * soft-fp/unordsf2.c: Likewise.
11106 * soft-fp/unordtf2.c: Likewise.
11107
11108 2013-10-15 Joseph Myers <joseph@codesourcery.com>
11109
11110 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11111 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11112
11113 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
11114
11115 * elf/dl-libc.c: Clear initfini list after freeing.
11116
11117 2013-10-14 Joseph Myers <joseph@codesourcery.com>
11118
11119 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11120 * soft-fp/addsf3.c: Likewise.
11121 * soft-fp/addtf3.c: Likewise.
11122 * soft-fp/divdf3.c: Likewise.
11123 * soft-fp/divsf3.c: Likewise.
11124 * soft-fp/divtf3.c: Likewise.
11125 * soft-fp/double.h: Likewise.
11126 * soft-fp/eqdf2.c: Likewise.
11127 * soft-fp/eqsf2.c: Likewise.
11128 * soft-fp/eqtf2.c: Likewise.
11129 * soft-fp/extenddftf2.c: Likewise.
11130 * soft-fp/extended.h: Likewise.
11131 * soft-fp/extendsfdf2.c: Likewise.
11132 * soft-fp/extendsftf2.c: Likewise.
11133 * soft-fp/extendxftf2.c: Likewise.
11134 * soft-fp/fixdfdi.c: Likewise.
11135 * soft-fp/fixdfsi.c: Likewise.
11136 * soft-fp/fixdfti.c: Likewise.
11137 * soft-fp/fixsfdi.c: Likewise.
11138 * soft-fp/fixsfsi.c: Likewise.
11139 * soft-fp/fixsfti.c: Likewise.
11140 * soft-fp/fixtfdi.c: Likewise.
11141 * soft-fp/fixtfsi.c: Likewise.
11142 * soft-fp/fixtfti.c: Likewise.
11143 * soft-fp/fixunsdfdi.c: Likewise.
11144 * soft-fp/fixunsdfsi.c: Likewise.
11145 * soft-fp/fixunsdfti.c: Likewise.
11146 * soft-fp/fixunssfdi.c: Likewise.
11147 * soft-fp/fixunssfsi.c: Likewise.
11148 * soft-fp/fixunssfti.c: Likewise.
11149 * soft-fp/fixunstfdi.c: Likewise.
11150 * soft-fp/fixunstfsi.c: Likewise.
11151 * soft-fp/fixunstfti.c: Likewise.
11152 * soft-fp/floatdidf.c: Likewise.
11153 * soft-fp/floatdisf.c: Likewise.
11154 * soft-fp/floatditf.c: Likewise.
11155 * soft-fp/floatsidf.c: Likewise.
11156 * soft-fp/floatsisf.c: Likewise.
11157 * soft-fp/floatsitf.c: Likewise.
11158 * soft-fp/floattidf.c: Likewise.
11159 * soft-fp/floattisf.c: Likewise.
11160 * soft-fp/floattitf.c: Likewise.
11161 * soft-fp/floatundidf.c: Likewise.
11162 * soft-fp/floatundisf.c: Likewise.
11163 * soft-fp/floatunsidf.c: Likewise.
11164 * soft-fp/floatunsisf.c: Likewise.
11165 * soft-fp/floatuntidf.c: Likewise.
11166 * soft-fp/floatuntisf.c: Likewise.
11167 * soft-fp/floatuntitf.c: Likewise.
11168 * soft-fp/fmadf4.c: Likewise.
11169 * soft-fp/fmasf4.c: Likewise.
11170 * soft-fp/fmatf4.c: Likewise.
11171 * soft-fp/gedf2.c: Likewise.
11172 * soft-fp/gesf2.c: Likewise.
11173 * soft-fp/getf2.c: Likewise.
11174 * soft-fp/ledf2.c: Likewise.
11175 * soft-fp/lesf2.c: Likewise.
11176 * soft-fp/letf2.c: Likewise.
11177 * soft-fp/muldf3.c: Likewise.
11178 * soft-fp/mulsf3.c: Likewise.
11179 * soft-fp/multf3.c: Likewise.
11180 * soft-fp/negdf2.c: Likewise.
11181 * soft-fp/negsf2.c: Likewise.
11182 * soft-fp/negtf2.c: Likewise.
11183 * soft-fp/op-1.h: Likewise.
11184 * soft-fp/op-2.h: Likewise.
11185 * soft-fp/op-4.h: Likewise.
11186 * soft-fp/op-8.h: Likewise.
11187 * soft-fp/op-common.h: Likewise.
11188 * soft-fp/quad.h: Likewise.
11189 * soft-fp/single.h: Likewise.
11190 * soft-fp/soft-fp.h: Likewise.
11191 * soft-fp/sqrtdf2.c: Likewise.
11192 * soft-fp/sqrtsf2.c: Likewise.
11193 * soft-fp/sqrttf2.c: Likewise.
11194 * soft-fp/subdf3.c: Likewise.
11195 * soft-fp/subsf3.c: Likewise.
11196 * soft-fp/subtf3.c: Likewise.
11197 * soft-fp/truncdfsf2.c: Likewise.
11198 * soft-fp/trunctfdf2.c: Likewise.
11199 * soft-fp/trunctfsf2.c: Likewise.
11200 * soft-fp/trunctfxf2.c: Likewise.
11201 * soft-fp/unorddf2.c: Likewise.
11202 * soft-fp/unordsf2.c: Likewise.
11203 * soft-fp/unordtf2.c: Likewise.
11204
11205 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
11206
11207 [BZ #15672]
11208 * misc/error.c (error_tail): Fix possible buffer overflow.
11209
11210 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11211
11212 [BZ #13028]
11213 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11214 address.
11215
11216 2013-10-14 P. J. McDermott <pj@pehjota.net>
11217
11218 [BZ #832]
11219 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11220 testing pipefail option.
11221
11222 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11223
11224 * soft-fp/double.h: Indent preprocessor directives inside #if.
11225 * soft-fp/extended.h: Likewise.
11226 * soft-fp/op-2.h: Likewise.
11227 * soft-fp/op-4.h: Likewise.
11228 * soft-fp/op-common.h: Likewise.
11229 * soft-fp/quad.h: Likewise.
11230 * soft-fp/single.h: Likewise.
11231 * soft-fp/soft-fp.h: Likewise.
11232
11233 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11234
11235 * iconv/iconv_prog.c: Fix typos.
11236 * stdio-common/psiginfo-data.h: Likewise.
11237
11238 2013-10-12 Reuben Thomas <rrt@sc3d.org>
11239
11240 [BZ #15764]
11241 * locale/setlocale.c: Fix typo.
11242
11243 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11244
11245 [BZ #16036]
11246 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11247 signaling NaN arguments.
11248 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11249 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11250
11251 [BZ #14910]
11252 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11253 unordered operands.
11254 * soft-fp/gesf2.c (__gesf2): Likewise.
11255 * soft-fp/getf2.c (__getf2): Likewise.
11256 * soft-fp/ledf2.c (__ledf2): Likewise.
11257 * soft-fp/lesf2.c (__lesf2): Likewise.
11258 * soft-fp/letf2.c (__letf2): Likewise.
11259
11260 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11261 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11262 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11263 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11264 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11265 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11266 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11267 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11268 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11269 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11270 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11271 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11272 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11273 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11274 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11275 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11276 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11277 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11278 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11279 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11280 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11281 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11282 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11283 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11284 * soft-fp/floattidf.c (__floattidf): Likewise.
11285 * soft-fp/floattisf.c (__floattisf): Likewise.
11286 * soft-fp/floattitf.c (__floattitf): Likewise.
11287 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11288 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11289 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11290 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11291 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11292 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11293 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11294 * soft-fp/gesf2.c (__gesf2): Likewise.
11295 * soft-fp/getf2.c (__getf2): Likewise.
11296 * soft-fp/ledf2.c (__ledf2): Likewise.
11297 * soft-fp/lesf2.c (__lesf2): Likewise.
11298 * soft-fp/letf2.c (__letf2): Likewise.
11299
11300 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11301 Undefine and redefine.
11302 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11303 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11304 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11305 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11306 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11307 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11308 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11309 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11310 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11311 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11312 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11313 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11314 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11315 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11316 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11317
11318 [BZ #16032]
11319 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11320 without decrementing exponent if mantissa >= that for the
11321 denominator, not >.
11322 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11323 denominator, not >. Decrement exponent in < case instead of
11324 incrementing in >= case.
11325 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11326 without decrementing exponent if mantissa >= that for the
11327 denominator, not >.
11328
11329 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11330 computing saturated result for unsigned overflow.
11331
11332 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11333 Jeff Law <law@redhat.com>
11334
11335 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11336 (atan2Mp): Add systemtap probe marker.
11337 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11338 (__ieee754_log): Add systemtap probe marker.
11339 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11340 (atanMp): Add systemtap probe marker.
11341 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11342 (tanMp): Add systemtap probe marker.
11343 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11344 (__slowexp): Add systemtap probe marker.
11345 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11346 (__slowpow): Add systemtap probe marker.
11347 * manual/probes.texi: Document probes.
11348
11349 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11350
11351 [BZ #15362]
11352 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11353 written.
11354 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11355 written.
11356 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11357 written to buffer but not flushed.
11358 * libio/iofwrite_u.c: Likewise.
11359 * libio/iopadn.c: Return bytes returned even if EOF was
11360 encountered.
11361 * libio/iowpadn.c: Likewise.
11362 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11363 if _IO_padn does not write the whole buffer.
11364 [!COMPILE_WPRINTF] (PAD): Likewise.
11365
11366 2013-10-10 David S. Miller <davem@davemloft.net>
11367
11368 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11369 directory block.
11370
11371 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11372
11373 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11374 instead of FSF address.
11375 * soft-fp/fixdfti.c: Likewise.
11376 * soft-fp/fixsfti.c: Likewise.
11377 * soft-fp/fixtfti.c: Likewise.
11378 * soft-fp/fixunsdfti.c: Likewise.
11379 * soft-fp/fixunssfti.c: Likewise.
11380 * soft-fp/fixunstfti.c: Likewise.
11381 * soft-fp/floattidf.c: Likewise.
11382 * soft-fp/floattisf.c: Likewise.
11383 * soft-fp/floattitf.c: Likewise.
11384 * soft-fp/floatuntidf.c: Likewise.
11385 * soft-fp/floatuntisf.c: Likewise.
11386 * soft-fp/floatuntitf.c: Likewise.
11387 * soft-fp/trunctfxf2.c: Likewise.
11388
11389 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11390 * soft-fp/fixdfti.c: Likewise.
11391 * soft-fp/fixsfti.c: Likewise.
11392 * soft-fp/fixtfti.c: Likewise.
11393 * soft-fp/fixunsdfti.c: Likewise.
11394 * soft-fp/fixunssfti.c: Likewise.
11395 * soft-fp/fixunstfti.c: Likewise.
11396 * soft-fp/floattidf.c: Likewise.
11397 * soft-fp/floattisf.c: Likewise.
11398 * soft-fp/floattitf.c: Likewise.
11399 * soft-fp/floatuntidf.c: Likewise.
11400 * soft-fp/floatuntisf.c: Likewise.
11401 * soft-fp/floatuntitf.c: Likewise.
11402 * soft-fp/trunctfxf2.c: Likewise.
11403
11404 2013-10-10 David S. Miller <davem@davemloft.net>
11405
11406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11407
11408 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11409
11410 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11411 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11412 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11413 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11414 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11415 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11416 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11417
11418 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11419 for NaNs before doing comparisons on argument.
11420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11421 Likewise.
11422
11423 2013-10-10 Will Newton <will.newton@linaro.org>
11424
11425 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11426 passed to _int_memalign does not overflow.
11427
11428 2013-10-10 Torvald Riegel <triegel@redhat.com>
11429
11430 * scripts/bench.pl: Add include-sources directive.
11431 * benchtests/README: Update documentation.
11432
11433 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11434
11435 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11436 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11437 instead of FP_INIT_ROUNDMODE.
11438 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11439 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11440
11441 [BZ #16034]
11442 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11443 copy class of input value.
11444 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11445 not handle exceptions.
11446 * soft-fp/negsf2.c (__negsf2): Likewise.
11447 * soft-fp/negtf2.c (__negtf2): Likewise.
11448 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11449
11450 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11451
11452 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11453 semicolon. From Linux kernel.
11454
11455 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11456
11457 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11458
11459 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11460
11461 [BZ #156]
11462 * manual/socket.texi: Added statement about buffer
11463 for gethostbyname2_r.
11464
11465 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11466
11467 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11468 Use .p2align directive instead, throughout.
11469 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11470 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11471 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11472 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11473 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11474 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11475 * sysdeps/x86_64/strchr.S: Likewise.
11476 * sysdeps/x86_64/strrchr.S: Likewise.
11477
11478 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11479
11480 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11481
11482 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11483
11484 * sysdeps/generic/math_private.h (__mpsin1): Remove
11485 declaration.
11486 (__mpcos1): Likewise.
11487 (__mpsin): New argument __range_reduce.
11488 (__mpcos): Likewise.
11489 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11490 (slow): Use __mpsin and __mpcos.
11491 (slow1): Likewise.
11492 (slow2): Likewise.
11493 (sloww): Likewise.
11494 (sloww1): Likewise.
11495 (sloww2): Likewise.
11496 (bsloww): Likewise.
11497 (bsloww1): Likewise.
11498 (bsloww2): Likewise.
11499 (cslow2): Likewise.
11500 (csloww): Likewise.
11501 (csloww1): Likewise.
11502 (csloww2): Likewise.
11503 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11504 range_reduce. Merge in __mpsin1.
11505 (__mpcos): Likewise.
11506 (__mpsin1): Remove.
11507 (__mpcos1): Likewise.
11508
11509 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11510
11511 * locale/loadlocale.c (_nl_intern_locale_data): Use
11512 LOCFILE_ALIGNED_P.
11513 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11514 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11515 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11516 obstack data is appropriately aligned.
11517 (obstack_int32_grow_fast): Likewise.
11518 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11519 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11520 (add_locale_uint32_array): Likewise.
11521
11522 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11523
11524 * benchtests/Makefile: Remove ARGLIST and RET variables.
11525 ($(objpfx)bench-%.c): Pass only function name to the script.
11526 * benchtests/README: Update documentation.
11527 * benchtests/acos-inputs: Add new directives.
11528 * benchtests/acosh-inputs: Likewise.
11529 * benchtests/asin-inputs: Likewise.
11530 * benchtests/asinh-inputs: Likewise.
11531 * benchtests/atan-inputs: Likewise.
11532 * benchtests/atanh-inputs: Likewise.
11533 * benchtests/cos-inputs: Likewise.
11534 * benchtests/cosh-inputs: Likewise.
11535 * benchtests/exp-inputs: Likewise.
11536 * benchtests/log-inputs: Likewise.
11537 * benchtests/pow-inputs: Likewise.
11538 * benchtests/rint-inputs: Likewise.
11539 * benchtests/sin-inputs: Likewise.
11540 * benchtests/sinh-inputs: Likewise.
11541 * benchtests/tan-inputs: Likewise.
11542 * benchtests/tanh-inputs: Likewise.
11543 * scripts/bench.pl: Add support for new directives.
11544
11545 2013-10-07 Alan Modra <amodra@gmail.com>
11546
11547 * README: Fix careless merge.
11548
11549 2013-10-05 Alan Modra <amodra@gmail.com>
11550
11551 * NEWS: Mention powerpc64le support and bugs fixed.
11552 * README: Both big-endian and little-endian powerpc64 supported.
11553
11554 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11555
11556 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11557 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11558 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11559 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11560
11561 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11562
11563 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11564 match prototype.
11565
11566 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11567
11568 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11569 Move -mhard-float appending from
11570 ports/sysdeps/powerpc/powerpc32/Makefile.
11571 [$(with-fp) = yes] (ASFLAGS): Likewise.
11572 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11573 * sysdeps/powerpc/nofpu: Move directory from
11574 ports/sysdeps/powerpc/nofpu.
11575 * sysdeps/powerpc/soft-fp: Move directory from
11576 ports/sysdeps/powerpc/soft-fp.
11577 * sysdeps/powerpc/powerpc32/405: Move directory from
11578 ports/sysdeps/powerpc/powerpc32/405.
11579 * sysdeps/powerpc/powerpc32/440: Move directory from
11580 ports/sysdeps/powerpc/powerpc32/440.
11581 * sysdeps/powerpc/powerpc32/464: Move directory from
11582 ports/sysdeps/powerpc/powerpc32/464.
11583 * sysdeps/powerpc/powerpc32/476: Move directory from
11584 ports/sysdeps/powerpc/powerpc32/476.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11586 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11588 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11590 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11592 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11594 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11595 * README: Update for powerpc-*-linux-gnu software floating point
11596 support in libc.
11597
11598 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11599 case to powerpc/powerpc32*.
11600 * sysdeps/unix/sysv/linux/configure: Regenerated.
11601
11602 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11603 (_FPU_MASK_OM): Define as 0x04.
11604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11606 0x00c10080.
11607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11608 0x0000003c.
11609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11610
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11612 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11613 getcontext_e500.
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11615 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11616 setcontext_e500.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11618 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11619 and setcontext_e500.
11620
11621 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11622
11623 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11624
11625 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11626
11627 * manual/threads.texi (Default Thread Attributes): Fix typo.
11628
11629 2013-10-04 Will Newton <will.newton@linaro.org>
11630
11631 * malloc/Makefile: Add tst-memalign.
11632 * malloc/tst-memalign.c: New file.
11633
11634 * malloc/tst-posix_memalign.c: Add comments.
11635 (do_test): Add comments and call free on all potentially
11636 allocated pointers. Add space after cast.
11637
11638 * malloc/tst-pvalloc.c: Add comments.
11639 (do_test): Add comments and call free on all potentially
11640 allocated pointers. Remove duplicate check for NULL pointer.
11641 Add space after cast.
11642
11643 * malloc/tst-valloc.c: Add comments.
11644 (do_test): Add comments and call free on all potentially
11645 allocated pointers. Remove duplicate check for NULL pointer.
11646 Add space after cast.
11647
11648 2013-10-04 Alan Modra <amodra@gmail.com>
11649
11650 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11651 Use stdint types in rather than __attribute__((mode())).
11652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11653
11654 2013-10-04 Alan Modra <amodra@gmail.com>
11655
11656 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11657 Correct handling of unaligned relocs for little-endian.
11658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11659
11660 2013-10-04 Alan Modra <amodra@gmail.com>
11661
11662 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11663 * configure: Regenerate.
11664 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11665 * shlib-versions: Likewise.
11666
11667 2013-10-04 Alan Modra <amodra@gmail.com>
11668
11669 * string/tester.c (test_memrchr): Increment reported test cycle.
11670
11671 2013-10-04 Alan Modra <amodra@gmail.com>
11672
11673 * string/test-memcpy.c (do_one_test): When reporting errors, print
11674 string address and don't overrun end of string.
11675
11676 2013-10-04 Alan Modra <amodra@gmail.com>
11677
11678 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11679 insrdi. Make better use of reg selection to speed exit slightly.
11680 Schedule entry path a little better. Remove useless "are we done"
11681 checks on entry to main loop. Handle wrapping around zero address.
11682 Correct main loop count. Handle single left-over word from main
11683 loop inline rather than by using loop_small. Remove extra word
11684 case in loop_small caused by wrong loop count. Add little-endian
11685 support.
11686 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11687 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11688 cache hint.
11689 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11690 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11691 support. Avoid rlwimi.
11692 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11693
11694 2013-10-04 Alan Modra <amodra@gmail.com>
11695
11696 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11697 insrdi. Formatting.
11698 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11699 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11700 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11701 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11702 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11703 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11704
11705 2013-10-04 Alan Modra <amodra@gmail.com>
11706
11707 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11709 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11710 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11711 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11712 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11713 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11714 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11715 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11716 use of regs. Use power7 mtocrf. Tidy function tails.
11717
11718 2013-10-04 Alan Modra <amodra@gmail.com>
11719
11720 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11721 Formatting. Consistently use rXXX register defines or rN defines.
11722 Use early exit labels that avoid restoring unused non-volatile regs.
11723 Make cr field use more consistent with rWORDn compares. Rename
11724 regs used as shift registers for unaligned loop, using rN defines
11725 for short lifetime/multiple use regs.
11726 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11727 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11728 addi 1,1,64 to pop stack frame. Simplify return value code.
11729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11730
11731 2013-10-04 Alan Modra <amodra@gmail.com>
11732
11733 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11734 support. Correct typos, formatting. Optimize tail. Use insrdi
11735 rather than rlwimi.
11736 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11737 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11738 little-endian support. Correct typos.
11739 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11740 rather than rlwimi.
11741 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11742 in loop and entry code to keep "and." results.
11743 (strchr): Add little-endian support. Comment. Move cntlzd
11744 earlier in tail.
11745 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11746
11747 2013-10-04 Alan Modra <amodra@gmail.com>
11748
11749 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11750 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11751 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11752 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11753
11754 2013-10-04 Alan Modra <amodra@gmail.com>
11755
11756 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11757 (rTMP): Define as r11.
11758 (strcmp): Add little-endian support. Optimise tail.
11759 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11760 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11761 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11762 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11763 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11764 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11765 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11766
11767 2013-10-04 Alan Modra <amodra@gmail.com>
11768
11769 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11770 little-endian support. Remove unnecessary "are we done" tests.
11771 Handle "s" wrapping around zero and extremely large "size".
11772 Correct main loop count. Handle single left-over word from main
11773 loop inline rather than by using small_loop. Correct comments.
11774 Delete "zero" tail, use "end_max" instead.
11775 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11776
11777 2013-10-04 Alan Modra <amodra@gmail.com>
11778
11779 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11780 support. Don't branch over align.
11781 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11782 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11783 support. Rearrange tmp reg use to suit. Comment.
11784 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11785
11786 2013-10-04 Alan Modra <amodra@gmail.com>
11787
11788 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11789
11790 2013-10-04 Alan Modra <amodra@gmail.com>
11791
11792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11793 conditional form of branch and link when obtaining pc.
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11795
11796 2013-10-04 Alan Modra <amodra@gmail.com>
11797
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11799 HIWORD/LOWORD.
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11802
11803 2013-10-04 Alan Modra <amodra@gmail.com>
11804
11805 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11806 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11807 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11808 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11809 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11810 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11811 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11812 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11813 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11814 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11815
11816 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11817 Alistair Popple <alistair@ozlabs.au.ibm.com>
11818 Alan Modra <amodra@gmail.com>
11819
11820 [BZ #15723]
11821 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11822 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11823 _dl_hwcap access for little-endian.
11824 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11825 destroy vmx regs when saving unaligned.
11826 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11827 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11828 destroy vmx regs when saving unaligned.
11829
11830 2013-10-04 Alan Modra <amodra@gmail.com>
11831
11832 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11833 Don't use a union to pack hi/low value.
11834
11835 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11836
11837 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11838 for little-endian.
11839 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11840 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11841 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11842 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11843 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11844
11845 2013-10-04 Alan Modra <amodra@gmail.com>
11846
11847 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11848 constants to usual value for .cst8 section, and remove redundant
11849 high address load.
11850 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11851 constant for 0x1p52. Load little-endian words of double from
11852 correct stack offsets.
11853
11854 2013-10-04 Alan Modra <amodra@gmail.com>
11855
11856 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11857 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11858 words of double from correct stack offsets.
11859 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11860 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11861 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11862 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11863 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11865 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11866 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11867 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11868 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11870 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11871 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11872 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11873 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11874 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11875 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11876
11877 2013-10-04 Alan Modra <amodra@gmail.com>
11878
11879 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11880 64-bit int/double union.
11881 (_FPU_SETCW): Likewise.
11882 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11883 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11884
11885 2013-10-04 Alan Modra <amodra@gmail.com>
11886
11887 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11888 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11889
11890 2013-10-04 Alan Modra <amodra@gmail.com>
11891
11892 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11893 use vector int constants.
11894 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11895
11896 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11897
11898 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11899 array with long long.
11900 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11901 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11902 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11903 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11904 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11905 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11906 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11907 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11908 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11909 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11910 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11911 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11912 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11913
11914 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11915
11916 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11917 (__signbit): Likewise. Correct for little-endian.
11918 (__signbitl): Call __signbit.
11919 (lrint): Correct for little-endian.
11920 (lrintf): Call lrint.
11921
11922 2013-10-04 Alan Modra <amodra@gmail.com>
11923
11924 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11925 union 32-bit int array member with 64-bit int array.
11926 (t515, tm256): Double rather than long double.
11927 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11928
11929 2013-10-04 Alan Modra <amodra@gmail.com>
11930
11931 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11932 Delete.
11933 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11934 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11935 version of math_ldbl.h.
11936
11937 2013-10-04 Alan Modra <amodra@gmail.com>
11938
11939 [BZ #15734], [BZ #15735]
11940 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11941 all uses of ieee875 long double macros and unions. Simplify test
11942 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11943 ldbl_extract_mantissa value for ix,iy exponents. Properly
11944 normalize after ldbl_extract_mantissa, and don't add hidden bit
11945 already handled. Don't treat low word of ieee854 mantissa like
11946 low word of IBM long double and mask off bit when testing for
11947 zero.
11948 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11949 all uses of ieee875 long double macros and unions. Simplify tests
11950 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11951 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11952 two1022, instead use their values. Recognise that tests for large
11953 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11954 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11955 Rewrite all uses of ieee875 long double macros and unions. Simplify
11956 test for 0.0L and nan. Correct negation.
11957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11958 ieee875 long double macros and unions. Correct output for large
11959 magnitude x. Correct absolute value calculation.
11960 (__erfcl): Likewise.
11961 * math/libm-test.inc: Add tests for errors discovered in IBM long
11962 double versions of fmodl, remainderl, erfl and erfcl.
11963
11964 2013-10-04 Alan Modra <amodra@gmail.com>
11965
11966 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11967 all uses of ieee854 long double macros and unions. Simplify tests
11968 for long doubles that are fully specified by the high double.
11969 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11970 Likewise.
11971 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11972 Remove dead code too.
11973 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11974 (__ieee754_ynl): Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11976 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11978 Remove dead code too.
11979 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11980 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11981 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11982 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11983 Simplify.
11984 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11985 Simplify.
11986 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11988 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11989 Comment on variable precision.
11990 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11991 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11992 Likewise.
11993 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11994 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11995 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11996 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11997 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11998
11999 2013-10-04 Alan Modra <amodra@gmail.com>
12000
12001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12002 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12003 all uses of ieee854 long double macros and unions.
12004 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12005 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12006 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12007 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12008 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12009 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12010 Likewise.
12011 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12012 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12013 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12014 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12015 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12016 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12017 Simplify sign and nan test too.
12018 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12019 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12020 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12021 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12022 Likewise.
12023 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12024 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12025 Likewise.
12026 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12027 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12028 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12029 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12030 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12032
12033 2013-10-04 Alan Modra <amodra@gmail.com>
12034
12035 * stdio-common/printf_size.c (__printf_size): Don't use
12036 union ieee854_long_double in fpnum union.
12037 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12038 signbit macro to retrieve sign from long double.
12039 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12040 retrieve sign from long double.
12041 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12042 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12043 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12044 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12045 * math/test-misc.c (main): Don't use union ieee854_long_double.
12046
12047 2013-10-04 Alan Modra <amodra@gmail.com>
12048
12049 [BZ #15680]
12050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12051 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12052 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12053 calculation. Remove unnecessary test for denormal exponent.
12054 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12055 Correct handling of denormals. Avoid undefined shift behaviour.
12056 Correct normalisation of low mantissa when low double is denormal.
12057 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12058 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12059 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12060 Correct normalisation of low mantissa. Test for overflow of high
12061 mantissa and normalise.
12062 (ldbl_nearbyint): Use more readable constant for two52.
12063 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12064 (__mpn_construct_long_double): Fix test for overflow of high
12065 mantissa and correct normalisation. Avoid undefined shift.
12066
12067 2013-10-04 Alan Modra <amodra@gmail.com>
12068
12069 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12070 (union ibm_extended_long_double): Define as an array of ieee754_double.
12071 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12072 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12073 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12074 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12075 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12076 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12078 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12079 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12081 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12082
12083 2013-10-03 Joseph Myers <joseph@codesourcery.com>
12084
12085 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12086 page size instead of calling getpagesize.
12087
12088 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12089 (LOCFILE_ALIGN_MASK): Likewise.
12090 (LOCFILE_ALIGN_UP): Likewise.
12091 (LOCFILE_ALIGNED_P): Likewise.
12092 * locale/programs/ld-collate.c (collate_output): Use the new
12093 macros instead of __alignof__ (int32_t).
12094 * locale/weight.h (findidx): Likewise.
12095
12096 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12097
12098 [BZ #431]
12099 * manual/string.texi: Fix strncat and wcsncat.
12100
12101 2013-10-03 Brooks Moses <bmoses@google.com>
12102
12103 [BZ #15915]
12104 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12105 * Makerules: ...here, and adjust associated comments.
12106
12107 2013-10-02 Will Newton <will.newton@linaro.org>
12108
12109 * malloc/Makefile: Add tst-pvalloc.
12110 * malloc/tst-pvalloc.c: New file.
12111
12112 2013-10-02 Will Newton <will.newton@linaro.org>
12113
12114 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12115 improve test coverage.
12116
12117 2013-10-02 Will Newton <will.newton@linaro.org>
12118
12119 * malloc/Makefile: Add tst-posix_memalign.
12120 * malloc/tst-posix_memalign.c: New file.
12121
12122 2013-10-01 Eric Blake <eblake@redhat.com>
12123
12124 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12125 Use __THROWNL rather than __THROW on static functions.
12126
12127 2013-09-30 Petr Machata <pmachata@redhat.com>
12128
12129 * elf/elf.h (R_AARCH64_ABS16): New macro.
12130 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12131 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12132 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12133 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12134 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12135 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12136 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12137 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12138 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12139 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12140 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12141 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12142 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12143 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12144 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12145 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12146 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12147 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12148 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12149 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12150 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12151 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12152 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12153 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12154 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12155 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12156 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12157 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12158 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12159 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12160 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12161 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12162 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12163 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12164 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12165 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12166 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12167 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12168 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12169 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12170 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12171 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12172 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12173 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12174 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12175 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12176 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12177 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12178 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12179 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12180 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12181 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12182 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12183 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12184 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12185 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12186 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12187 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12188 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12189 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12190 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12191 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12192 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12193 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12194 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12195 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12196 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12197 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12198 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12199 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12200 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12201 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12202 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12203 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12204 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12205 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12206 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12207 (R_AARCH64_TLSDESC_LDR): Likewise.
12208 (R_AARCH64_TLSDESC_ADD): Likewise.
12209 (R_AARCH64_TLSDESC_CALL): Likewise.
12210
12211 2013-09-30 Andreas Schwab <schwab@suse.de>
12212
12213 [BZ #15048]
12214 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12215 the nss database lookup.
12216 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12218
12219 2013-09-28 Mike Frysinger <vapier@gentoo.org>
12220
12221 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12222
12223 2013-09-28 P. J. McDermott <pj@pehjota.net>
12224
12225 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12226 ${Bash-specific parameter/pattern/string} parameter expansion.
12227 * sysdeps/unix/make-syscalls.sh: Likewise.
12228
12229 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12230
12231 * sysdeps/sh/stackguard-macros.h: New file.
12232
12233 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
12234
12235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12237 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12238 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12239 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12240 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12241
12242 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12243
12244 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12245 Fix thread ID register.
12246
12247 2013-09-25 Joseph Myers <joseph@codesourcery.com>
12248
12249 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12250 [POSIX || UNIX98]: Require rather than permitting all symbols from
12251 <time.h>.
12252 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12253 element of struct sched_param.
12254 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12255 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12256 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12257 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12258 constant.
12259
12260 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12261
12262 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12263 argument calculation.
12264
12265 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12266
12267 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12268 Expect macro.
12269 [POSIX] (pthread_attr_t): Do not require type.
12270 [POSIX] (pthread_cond_t): Likewise.
12271 [POSIX] (pthread_condattr_t): Likewise.
12272 [POSIX] (pthread_key_t): Likewise.
12273 [POSIX] (pthread_mutex_t): Likewise.
12274 [POSIX] (pthread_mutexattr_t): Likewise.
12275 [POSIX] (pthread_once_t): Likewise.
12276 [POSIX] (pthread_t): Likewise.
12277 [POSIX-based standards] (pthread_atfork): Expect function.
12278
12279 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12280 Richard Sandiford <richard@codesourcery.com>
12281
12282 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12283 (swap_endianness_p): New extern variable.
12284 (set_big_endian): New inline function.
12285 (maybe_swap_uint32): Likewise.
12286 (maybe_swap_uint32_array): Likewise.
12287 (maybe_swap_uint32_obstack): Likewise.
12288 * locale/programs/locfile.c: Include <stdbool.h>.
12289 (swap_endianness_p): New variable.
12290 (add_locale_uint32): Call maybe_swap_uint32.
12291 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12292 (write_locale_data): Call maybe_swap_uint32_array.
12293 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12294 maybe_swap_uint32.
12295 (obstack_int32_grow_fast): Likewise.
12296 (output_weightwc): Call maybe_swap_uint32_obstack.
12297 (collate_output): Likewise.
12298 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12299 (OPT_LITTLE_ENDIAN): Likewise.
12300 (options): Add --little-endian and --big-endian options.
12301 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12302 * locale/programs/locarchive.c: Include "locfile.h".
12303 (GET): New macro.
12304 (SET): Likewise.
12305 (INC): Likewise.
12306 (create_archive): Use the new macros to access fields of
12307 structures directly mapped from or written to locale archives.
12308 (oldlocrecentcmp): Likewise.
12309 (enlarge_archive): Likewise.
12310 (insert_name): Likewise.
12311 (add_alias): Likewise.
12312 (add_locale): Likewise.
12313 (delete_locales_from_archive): Likewise.
12314 (show_archive_content): Likewise.
12315 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12316 locale data.
12317
12318 2013-09-24 Roland McGrath <roland@hack.frob.com>
12319
12320 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12321 http://www.gnu.org/doc/freemanuals.texi.
12322 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12323
12324 2013-09-24 Will Newton <will.newton@linaro.org>
12325
12326 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12327 macro.
12328
12329 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12330
12331 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12332 unsigned char.
12333
12334 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12335
12336 * manual/threads.texi (POSIX Threads): Fix a typo.
12337
12338 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12339
12340 [BZ #14547]
12341 * string/tst-strcoll-overflow.c: New test case.
12342 * string/Makefile (xtests): Add tst-strcoll-overflow.
12343 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12344 cache if string sizes may cause integer overflow.
12345
12346 [BZ #14547]
12347 * string/strcoll_l.c (coll_seq): New members rule, idx,
12348 save_idx and back_us.
12349 (get_next_seq_nocache): New function.
12350 (do_compare_nocache): New function.
12351 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12352 when malloc fails.
12353
12354 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12355
12356 [BZ #15754]
12357 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12358 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12359 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12360
12361 [BZ #15754]
12362 * elf/Makefile (tests): Add tst-ptrguard1.
12363 (tests-static): Add tst-ptrguard1-static.
12364 (tst-ptrguard1-ARGS): Define.
12365 (tst-ptrguard1-static-ARGS): Define.
12366 * elf/tst-ptrguard1.c: New file.
12367 * elf/tst-ptrguard1-static.c: New file.
12368 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12369 * sysdeps/i386/stackguard-macros.h: Likewise.
12370 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12371 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12372 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12373 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12374 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12375 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12376
12377 2013-09-23 Hector Marco <hecmargi@upv.es>
12378 Ismael Ripoll <iripoll@disca.upv.es>
12379 Carlos O'Donell <carlos@redhat.com>
12380
12381 [BZ #15754]
12382 * sysdeps/generic/stackguard-macros.h: Define
12383 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12384 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12385 Define __pointer_chk_guard_local.
12386 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12387 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12388
12389 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12390
12391 [BZ #15859]
12392 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12393
12394 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12395
12396 * include/string.h (__ffs): Declare as hidden.
12397 * string/ffs.c (__ffs): Define as hidden.
12398 * sysdeps/i386/ffs.c (__ffs): Likewise.
12399 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12400 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12401 * sysdeps/s390/ffs.c (__ffs): Likewise.
12402 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12403
12404 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12405
12406 * NEWS: Mention malloc probes.
12407
12408 * malloc/arena.c (new_heap): New memory_heap_new probe.
12409 (grow_heap): New memory_heap_more probe.
12410 (shrink_heap): New memory_heap_less probe.
12411 (heap_trim): New memory_heap_free probe.
12412 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12413 (systrim): New memory_sbrk_less probe.
12414 * manual/probes.texi: Document them.
12415
12416 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12417 * manual/probes.texi: Document it.
12418
12419 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12420 (__libc_realloc): Add memory_realloc_retry probe.
12421 (__libc_memalign): Add memory_memalign_retry probe.
12422 (__libc_valloc): Add memory_valloc_retry probe.
12423 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12424 (__libc_calloc): Add memory_calloc_retry probe.
12425 * manual/probes.texi: Document them.
12426
12427 * malloc/arena.c (get_free_list): Add probe
12428 memory_arena_reuse_free_list.
12429 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12430 and memory_arena_reuse.
12431 (arena_get2) [!PER_THREAD]: Likewise.
12432 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12433 memory_arena_reuse_realloc.
12434 * manual/probes.texi: Document them.
12435
12436 * malloc/malloc.c (__libc_free): Add
12437 memory_mallopt_free_dyn_thresholds probe.
12438 (__libc_mallopt): Add multiple memory_mallopt probes.
12439 * manual/probes.texi: Document them.
12440
12441 * malloc/malloc.c: Include stap-probe.h.
12442 (__libc_mallopt): Add memory_mallopt probe.
12443 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12444 * manual/probes.texi: New.
12445 * manual/Makefile (chapters): Add probes.
12446 * manual/threads.texi: Set next node.
12447
12448 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12449
12450 [BZ #15963, #13985]
12451 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12452 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12453 Add `Chinese' to `nan' entry name.
12454
12455 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12456
12457 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12458 (POLYNOMIAL): Likewise.
12459 (TAYLOR_SINCOS): Likewise.
12460 (TAYLOR_SLOW): Likewise.
12461 (__sin): Use TAYLOR_SINCOS.
12462 (__cos): Likewise.
12463 (slow): Use TAYLOR_SLOW.
12464 (sloww): Likewise.
12465 (bsloww): Likewise.
12466 (csloww): Likewise.
12467
12468 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12469
12470 * stdlib/strtod_l.c: Fix buffer overrun.
12471
12472 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12473
12474 * benchtests/Makefile (bench): Add sincos.
12475 * benchtests/bench-sincos.c: New file.
12476
12477 * math/libm-test.inc (cos_test_data): New test inputs.
12478 (sin_test_data): Likewise.
12479
12480 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12481 macro.
12482 (__sin): Use it.
12483 (__cos): Likewise.
12484 (slow1): Likewise.
12485 (slow2): Likewise.
12486 (sloww1): Likewise.
12487 (sloww2): Likewise.
12488 (bsloww1): Likewise.
12489 (bsloww2): Likewise.
12490 (cslow2): Likewise.
12491 (csloww1): Likewise.
12492 (csloww2): Likewise.
12493
12494 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12495 function.
12496 (__sin): Use it.
12497 (__cos): Likewise.
12498
12499 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12500 gotos.
12501 (__cos): Likewise.
12502
12503 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12504
12505 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12506 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12507 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12508 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12509 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12510 * elf/cache.c (print_entry): Handle the new cache flags.
12511
12512 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12513 Aldy Hernandez <aldyh@redhat.com>
12514
12515 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12516 Change condition to [_SOFT_FLOAT].
12517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12529 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12532 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12533 declaration.
12534
12535 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12536
12537 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12538 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12539 (__longjmp): Use LOAD_GP to load saved GPRs.
12540 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12541 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12542 (__sigsetjmp): Use SAVE_GP to save GPRs.
12543
12544 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12545 Do not append -msoft-float.
12546 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12547
12548 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12549
12550 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12551
12552 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12553
12554 [BZ #15966]
12555 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12556 (_FPU_GETCW): Use initial "__" on variable and field names but not
12557 on macro parameter name.
12558 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12559 parentheses around reference to macro parameter.
12560
12561 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12562
12563 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12564 prototype.
12565 (ctype_startup): Use uint32_t in cast and sizeof for
12566 ctype->charnames.
12567
12568 2013-09-11 Jia Liu <proljc@gmail.com>
12569
12570 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12571 __daddr_t_defined.
12572 [__FreeBSD__]: Likewise.
12573
12574 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12575
12576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12577 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12578 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12579 (strchr): Remove __strchr_sse42 ifunc selection.
12580 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12581 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12582
12583 2013-09-11 Will Newton <will.newton@linaro.org>
12584
12585 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12586 parameter to RES. Remove hardcoded 1000 value.
12587 * benchtests/bench-skeleton.c (main): Pass RES parameter
12588 to TIMING_INIT and multiply result by 1000.
12589
12590 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12591
12592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12593
12594 2013-09-11 Andreas Schwab <schwab@suse.de>
12595
12596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12597 if not defined.
12598 (O_TMPFILE) [__USE_GNU]: Define.
12599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12600 Define.
12601
12602 2013-09-11 Will Newton <will.newton@linaro.org>
12603
12604 [BZ #15857]
12605 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12606 does not overflow.
12607
12608 2013-09-11 Will Newton <will.newton@linaro.org>
12609
12610 [BZ #15856]
12611 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12612 does not overflow.
12613
12614 2013-09-11 Will Newton <will.newton@linaro.org>
12615
12616 [BZ #15855]
12617 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12618 does not overflow.
12619
12620 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12621
12622 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12623 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12627
12628 2013-09-10 Allan McRae <allan@archlinux.org>
12629
12630 [BZ #15748]
12631 * manual/arith.texi (Parsing of Floats): Clarify
12632 cross-reference.
12633
12634 [BZ #15849]
12635 * manual/install.texi (Running make install): Mention
12636 --enable-pt-chown.
12637 * INSTALL: Regenerated.
12638
12639 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12640
12641 * csu/init-first.c (_init): Remove the !SHARED condition around
12642 FPU control word initialization.
12643 * elf/dl-support.c (_dl_fpu_control): New variable.
12644 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12645 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12646 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12647 * math/test-fpucw-static.c: New file.
12648 * math/test-fpucw-ieee.c: New file.
12649 * math/test-fpucw-ieee-static.c: New file.
12650 * math/Makefile (tests): Add `test-fpucw-ieee' and
12651 `$(tests-static)'.
12652 (tests-static): New variable.
12653 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12654 dependency to...
12655 [($(build-shared),yes)]
12656 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12657 ... this.
12658 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12659 New dependency.
12660
12661 2013-09-09 Allan McRae <allan@archlinux.org>
12662
12663 [BZ #15939]
12664 * manual/string.texi (Collation Functions): Fix typo in
12665 strcoll example.
12666 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12667
12668 [BZ #15893]
12669 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12670
12671 [BZ #15892]
12672 * libio/memstream.c (open_memstream): Fix memory leak.
12673 * libio/wmemstream.c (open_wmemstream): Likewise.
12674
12675 [BZ #15895]
12676 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12677
12678 2013-09-09 Will Newton <will.newton@linaro.org>
12679
12680 * malloc/Makefile: Add tst-realloc to tests.
12681 * malloc/tst-realloc.c: New file.
12682
12683 2013-09-09 Allan McRae <allan@archlinux.org>
12684
12685 [BZ #15844]
12686 * COPYING: Update from GNU website to fix FSF address.
12687 * COPYING.LIB: Likewise.
12688
12689 2013-09-06 David S. Miller <davem@davemloft.net>
12690
12691 * po/zh_TW.po: Update Chinese (traditional) translation from
12692 translation project.
12693
12694 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12695 Joseph Myers <joseph@codesourcery.com>
12696
12697 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12698 "localeinfo.h".
12699 (obstack_chunk_alloc): New macro.
12700 (obstack_chunk_free): Likewise.
12701 (record_offset): New function.
12702 (init_locale_data): Likewise.
12703 (align_locale_data): Likewise.
12704 (add_locale_empty): Likewise.
12705 (add_locale_raw_data): Likewise.
12706 (add_locale_raw_obstack): Likewise.
12707 (add_locale_string): Likewise.
12708 (add_locale_wstring): Likewise.
12709 (add_locale_uint32): Likewise.
12710 (add_locale_uint32_array): Likewise.
12711 (add_locale_char): Likewise.
12712 (start_locale_structure): Likewise.
12713 (end_locale_structure): Likewise.
12714 (start_locale_prelude): Likewise.
12715 (end_locale_prelude): Likewise.
12716 (write_locale_data): Take locale_file structure rather than an
12717 iovec.
12718 * locale/programs/locfile.h: Include "obstack.h".
12719 (struct locale_file): Change to store locale file contents instead
12720 of header.
12721 (init_locale_data): New prototype.
12722 (align_locale_data): Likewise.
12723 (add_locale_empty): Likewise.
12724 (add_locale_raw_data): Likewise.
12725 (add_locale_raw_obstack): Likewise.
12726 (add_locale_string): Likewise.
12727 (add_locale_wstring): Likewise.
12728 (add_locale_uint32): Likewise.
12729 (add_locale_uint32_array): Likewise.
12730 (add_locale_char): Likewise.
12731 (start_locale_structure): Likewise.
12732 (end_locale_structure): Likewise.
12733 (start_locale_prelude): Likewise.
12734 (end_locale_prelude): Likewise.
12735 (write_locale_data): Update prototype.
12736 * locale/programs/3level.h (struct TABLE): Remove result field.
12737 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12738 Use new locale_file interface.
12739 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12740 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12741 * locale/programs/ld-address.c (address_output): Use new
12742 locale_file interface.
12743 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12744 NO_ADD_LOCALE.
12745 (collate_finish): Don't call collseq_table_finalize.
12746 (collate_output): Use new locale_file interface.
12747 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12748 in file.
12749 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12750 (TABLE): Move defines earlier in file.
12751 (ELEMENT): Likewise.
12752 (DEFAULT): Likewise.
12753 (wctrans_table_add): Move macro and inline function earlier in
12754 file.
12755 (struct wctype_table): Move type earlier in file.
12756 (add_locale_wctype_table): New static prototype.
12757 (struct locale_ctype_t): Use logical types instead of struct iovec
12758 pointers for members.
12759 (ctype_output): Use new locale_file interface.
12760 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12761 new locale_file interface.
12762 (allocate_arrays): Update for use of new locale_file interface.
12763 * locale/programs/ld-identification.c (identification_output): Use
12764 new locale_file interface.
12765 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12766 * locale/programs/ld-messages.c (messages_output): Likewise.
12767 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12768 * locale/programs/ld-name.c (name_output): Likewise.
12769 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12770 * locale/programs/ld-paper.c (paper_output): Likewise.
12771 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12772 * locale/programs/ld-time.c (time_output): Likewise.
12773
12774 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12775
12776 * benchtests/Makefile: Add memrchr benchmark.
12777 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12778 benchmark as memrchr.
12779 * benchtests/bench-memrchr-ifunc.c: New file.
12780 * benchtests/bench-memrchr.c: New file.
12781
12782 2013-09-06 Will Newton <will.newton@linaro.org>
12783
12784 * benchtests/Makefile (string-bench): Add memcpy.
12785
12786 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12787 Cong Wang <amwang@redhat.com>
12788
12789 [BZ #15850]
12790 * sysdeps/unix/sysv/linux/bits/in.h
12791 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12792 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12793 before __USE_KERNEL_IPV6_DEFS uses.
12794 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12795 IPPROTO_BEETPH.
12796 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12797 sockaddr_in6, or ipv6_mreq.
12798
12799 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12800
12801 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12802 memory access for final bytes in some large inputs.
12803 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12804
12805 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12806
12807 * string/test-memrchr.c: New file.
12808 * string/test-memrchr-ifunc.c: New file.
12809 * string/Makefile: Add new memrchr testcase.
12810
12811 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12812
12813 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12814 fanotify_init returns EPERM.
12815
12816 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12817
12818 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12819 errors.
12820 (top level): Treat second token from macro or constant entries for
12821 allowed headers as allowed.
12822 * include/complex.h: Condition internal declarations on
12823 [!_ISOMAC].
12824 * include/fenv.h: Condition include of <stdbool.h> and internal
12825 declarations on [!_ISOMAC].
12826
12827 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12828
12829 [BZ #15923]
12830 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12831
12832 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12833
12834 * configure.in (--enable-versioning): Remove configure option.
12835 (libc_cv_asm_symver_directive): Remove configure test.
12836 (libc_cv_ld_version_script_option): Likewise.
12837 (VERSIONING): Remove variable and AC_SUBST.
12838 (DO_VERSIONING): Remove AC_DEFINE.
12839 * configure: Regenerated.
12840 * config.h.in (DO_VERSIONING): Remove macro.
12841 * Makerules [$(versioning) = yes]: Change conditionals to
12842 [$(build-shared) = yes].
12843 * config.make.in (versioning): Remove variable.
12844 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12845 [$(build-shared) = yes].
12846 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12847 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12848 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12849 [$(build-shared) = yes].
12850 * extra-lib.mk [$(versioning) = yes]: Likewise.
12851 * hurd/Makefile [$(versioning) = yes]: Likewise.
12852 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12853 [SHARED].
12854 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12855 [SHARED].
12856 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12857 [SHARED && !NO_HIDDEN].
12858 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12859 [SHARED].
12860 [SHARED && DO_VERSIONING]: Likewise..
12861 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12862 [$(build-shared) = yes].
12863 * manual/install.texi (--disable-versioning): Remove
12864 documentation.
12865 * INSTALL: Regenerated.
12866 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12867 to [SHARED].
12868 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12869 [$(build-shared) = yes].
12870 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12871 * sysdeps/i386/i686/multiarch/strstr-c.c
12872 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12873 [SHARED && !NO_HIDDEN].
12874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12875 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12876 * sysdeps/powerpc/powerpc32/dl-machine.c
12877 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12878 * sysdeps/powerpc/powerpc32/sysdep.h
12879 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12880 to [SHARED && PIC && !NO_HIDDEN].
12881 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12882 conditional to [SHARED].
12883
12884 2013-09-04 Will Newton <will.newton@linaro.org>
12885
12886 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12887 * benchtests/bench-string.h: Include bench-timing.h instead
12888 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12889 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12890 call to HP_TIMING_DIFF_INIT.
12891 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12892 instead of hp-timing.h macros.
12893 * benchtests/bench-memchr.c: Likewise.
12894 * benchtests/bench-memcmp.c: Likewise.
12895 * benchtests/bench-memcpy.c: Likewise.
12896 * benchtests/bench-memmem.c: Likewise.
12897 * benchtests/bench-memmove.c: Likewise.
12898 * benchtests/bench-memset.c: Likewise.
12899 * benchtests/bench-rawmemchr.c: Likewise.
12900 * benchtests/bench-strcasecmp.c: Likewise.
12901 * benchtests/bench-strcasestr.c: Likewise.
12902 * benchtests/bench-strcat.c: Likewise.
12903 * benchtests/bench-strchr.c: Likewise.
12904 * benchtests/bench-strcmp.c: Likewise.
12905 * benchtests/bench-strcpy.c: Likewise.
12906 * benchtests/bench-strcpy_chk.c: Likewise.
12907 * benchtests/bench-strlen.c: Likewise.
12908 * benchtests/bench-strncasecmp.c: Likewise.
12909 * benchtests/bench-strncat.c: Likewise.
12910 * benchtests/bench-strncmp.c: Likewise.
12911 * benchtests/bench-strncpy.c: Likewise.
12912 * benchtests/bench-strnlen.c: Likewise.
12913 * benchtests/bench-strpbrk.c: Likewise.
12914 * benchtests/bench-strrchr.c: Likewise.
12915 * benchtests/bench-strspn.c: Likewise.
12916 * benchtests/bench-strstr.c: Likewise.
12917
12918 2013-09-04 Will Newton <will.newton@linaro.org>
12919
12920 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12921
12922 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12923
12924 [BZ #15427]
12925 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12926 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12927 * math/libm-test.inc (lgamma_test_data): Add more tests.
12928 * sysdeps/i386/fpu/libm-test-ulps: Update.
12929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12930
12931 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12932
12933 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12935 Add ifunc.
12936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12937 Add strcmp-sse2-unaligned
12938 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12939
12940 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12941
12942 * Versions.def (libc): Add GLIBC_2.19.
12943
12944 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12945
12946 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12947 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12948
12949 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12950
12951 [BZ #14155]
12952 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12953 intermediate calculations in recurrence.
12954 (__ieee754_ynf): Likewise.
12955 * math/libm-test.inc (jn_test_data): Do not allow spurious
12956 underflow exception. Add more tests.
12957 (yn_test_data): Add more tests.
12958 * sysdeps/i386/fpu/libm-test-ulps: Update.
12959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12960
12961 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12962
12963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12964
12965 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12966
12967 * csu/init-first.c: Fix then/than typos.
12968 * locale/programs/ld-collate.c: Likewise.
12969 * locale/programs/linereader.h: Likewise.
12970 * manual/charset.texi: Likewise.
12971 * manual/filesys.texi: Likewise.
12972 * manual/stdio.texi: Likewise.
12973 * manual/string.texi: Likewise.
12974 * stdlib/fmtmsg.c: Likewise.
12975 * sysdeps/i386/stpncpy.S: Likewise.
12976 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12977 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12978 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12979 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12980
12981 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12982
12983 * elf/dl-open.c: Fix typos.
12984 * iconvdata/gbbig5.c: Likewise.
12985 * iconvdata/iso-2022-jp.c: Likewise.
12986 * iconv/gconv_int.h: Likewise.
12987 * iconv/loop.c: Likewise.
12988 * nis/rpcsvc/nis.h: Likewise.
12989 * resolv/ns_name.c: Likewise.
12990 * stdio-common/vfscanf.c: Likewise.
12991 * streams/stropts.h: Likewise.
12992 * sunrpc/rpc_thread.c: Likewise.
12993 * sysdeps/i386/strpbrk.S: Likewise.
12994 * sysdeps/ieee754/k_standard.c: Likewise.
12995 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12996 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12997 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12998 * sysdeps/mach/hurd/profil.c: Likewise.
12999 * sysdeps/s390/dl-procinfo.h: Likewise.
13000 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13001 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13002 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13003 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13005
13006 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13007
13008 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13009 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13010
13011 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13012
13013 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13014 aix specific files.
13015 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13016 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13017 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13018 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13019 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13020 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13021 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13022 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13023
13024 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13025 Roland McGrath <roland@hack.frob.com>
13026
13027 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13028 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13029
13030 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13031
13032 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13033 __executable_start symbol instead of _start.
13034
13035 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13036
13037 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13038 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13039 Move macros to...
13040 * sysdeps/gnu/ldsodefs.h: ... this new file.
13041
13042 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13043 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13044 instead of ELFOSABI_LINUX.
13045
13046 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13047 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13048 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13049 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13050 Likewise.
13051 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13052 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13053 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13054 Likewise.
13055 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13056 (ibm_extended_long_double): Add ieee_nan member.
13057 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13058 (do_test): New function.
13059
13060 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13061 TEST_TRUNC.
13062 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13063 functions, renamed from truncdfsf_test, trunctfsf_test,
13064 trunctfdf_test.
13065 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13066 functions.
13067 (do_test): Run all these.
13068
13069 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13070
13071 * argp/argp-help.c: Fix typos.
13072 * argp/argp-parse.c: Likewise.
13073 * debug/backtracesyms.c: Likewise.
13074 * elf/elf.h: Likewise.
13075 * malloc/malloc.c: Likewise.
13076 * nis/nis_print.c: Likewise.
13077 * resolv/res_comp.c: Likewise.
13078 * stdlib/stdlib.h: Likewise.
13079 * sunrpc/clnt_tcp.c: Likewise.
13080 * sunrpc/clnt_udp.c: Likewise.
13081 * sunrpc/clnt_unix.c: Likewise.
13082 * sysdeps/unix/bsd/ptsname.c: Likewise.
13083 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13084 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13086 Likewise.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13088 Likewise.
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13090 Likewise.
13091 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13092
13093 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13094
13095 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13097
13098 2013-08-27 Mike Frysinger <vapier@gentoo.org>
13099
13100 [BZ #15897]
13101 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13102 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13103 ($(objpfx)bug-dl-leaf): New rule.
13104 ($(objpfx)bug-dl-leaf.so): Likewise.
13105 ($(objpfx)bug-dl-leaf.out): Likewise.
13106 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13107 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13108 * dlfcn/bug-dl-leaf.c: New test.
13109 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13110 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13111 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13112 (dlclose): Likewise.
13113 (dlmopen): Likewise.
13114
13115 2013-08-27 Roland McGrath <roland@hack.frob.com>
13116
13117 * include/netdb.h [!_ISOMAC]:
13118 Don't include <tls.h>.
13119 (h_errno, __libc_h_errno): Move declaration and macros out of
13120 [_LIBC_REENTRANT].
13121
13122 * include/resolv.h [_RESOLV_H_]:
13123 Don't include <tls.h>.
13124 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13125 * resolv/res_libc.c: Don't include <tls.h>.
13126 (_res): Use __attribute__ ((nocommon)) in place of
13127 __attribute__ ((section (".bss"))).
13128
13129 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13130 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13131
13132 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13133
13134 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13135 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13136
13137 * resolv/res_mkquery.c: Include <sys/time.h>.
13138
13139 * inet/ifreq.c: Moved to ...
13140 * sysdeps/unix/ifreq.c: ... here.
13141 * inet/ifreq.c: New file, true stub version.
13142
13143 * socket/sa_len.c: New file.
13144 * socket/Makefile (aux): Add it.
13145 * sysdeps/unix/sysv/linux/Makefile
13146 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13147 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13148 and #include <socket/sa_len.c>.
13149 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13150 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13151
13152 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13153 * bits/socket.h: ... here.
13154
13155 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13156 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13157 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13158
13159 2013-08-27 Andreas Schwab <schwab@suse.de>
13160
13161 [BZ #15736]
13162 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13163 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13164 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13165 * string/test-strcasecmp.c (test_main): Run tests in several
13166 locales.
13167 * string/test-strncasecmp.c (test_main): Likewise.
13168
13169 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13170 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13171 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13173 (__strncasecmp_ssse3) [PIC]: Likewise.
13174
13175 2013-08-26 Roland McGrath <roland@hack.frob.com>
13176
13177 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13178
13179 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13180 instead of explicitly declaring xdecrypt.
13181 * nis/nss_nis/nis-publickey.c: Likewise.
13182
13183 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13184
13185 [BZ #15890]
13186 * nscd/aicache.c: Include res_hconf.h.
13187 (addhstaiX): Initialize res_hconf.
13188
13189 2013-08-26 Andreas Schwab <schwab@suse.de>
13190
13191 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13192 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13193
13194 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13195
13196 * nscd/aicache.c (addhstaiX): Fix indentation.
13197
13198 2013-08-25 Mike Frysinger <vapier@gentoo.org>
13199
13200 * configure.ac: Quote $build_pt_chown test.
13201 * configure: Regenerated.
13202
13203 2013-08-23 Joseph Myers <joseph@codesourcery.com>
13204
13205 [BZ #15532]
13206 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13207 * math/s_cexpf.c (__cexpf): Likewise.
13208 * math/s_cexpl.c (__cexpl): Likewise.
13209 * math/libm-test.inc (cexp_test_data): Correct expected return
13210 value for NaN + i0. Add another test.
13211
13212 2013-08-22 David S. Miller <davem@davemloft.net>
13213
13214 * po/ca.po: Update Catalan translation from translation project.
13215 * po/uk.po: Add Ukrainian translations from translation project.
13216
13217 2013-08-21 Joseph Myers <joseph@codesourcery.com>
13218
13219 [BZ #15797]
13220 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13221 is infinite, not alongside NaN test.
13222 * math/s_fdimf.c (__fdimf): Likewise.
13223 * math/s_fdiml.c (__fdiml): Likewise.
13224 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13225 errno is unchanged.
13226
13227 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
13228
13229 * argp/argp-help.c: Fix typos.
13230 * crypt/speeds.c: Likewise.
13231 * csu/check_fds.c: Likewise.
13232 * elf/dl-load.c: Likewise.
13233 * elf/dl-open.c: Likewise.
13234 * elf/reldep3.c: Likewise.
13235 * elf/reldep.c: Likewise.
13236 * elf/sprof.c: Likewise.
13237 * iconv/iconv_charmap.c: Likewise.
13238 * iconv/skeleton.c: Likewise.
13239 * iconv/strtab.c: Likewise.
13240 * io/lockf64.c: Likewise.
13241 * libio/libioP.h: Likewise.
13242 * resolv/gai_notify.c: Likewise.
13243 * resolv/ns_name.c: Likewise.
13244 * resolv/ns_samedomain.c: Likewise.
13245 * resolv/res_send.c: Likewise.
13246 * stdlib/random.c: Likewise.
13247 * sunrpc/rpc/xdr.h: Likewise.
13248 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13249 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13250 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13251 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13252 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13255 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13256 * sysdeps/mach/hurd/check_fds.c: Likewise.
13257 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13258 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13259 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13260 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13261 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13262 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13263 * sysdeps/pthread/aio_notify.c: Likewise.
13264 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13265 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13266 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13268 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13269
13270 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13271
13272 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13273 version if bit_Slow_SSE4_2 is set.
13274 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13275 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13276
13277 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13278
13279 [BZ #15867]
13280 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13281 trampoline stack frame information.
13282 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13283 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13284 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13285 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13286 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13287 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13288 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13289 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13290 sa_flags value.
13291 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13292 interrupting a syscall and set with option SA_SIGINFO.
13293
13294 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13295
13296 [BZ #15531]
13297 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13298 argument is infinite.
13299 * math/s_cprojf.c (__cprojf): Likewise.
13300 * math/s_cprojl.c (__cprojl): Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13302 * math/libm-test.inc (cproj_test_data): Add more tests.
13303
13304 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13305
13306 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13307 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13308 size. Use __ffs to determine corresponding shift.
13309
13310 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13311 Roland McGrath <roland@hack.frob.com>
13312
13313 * Makefile (INSTALL): Remove trailing blank lines from output of
13314 makeinfo.
13315
13316 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13317
13318 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13319 Align 32 bit compat elf_greg to 8 bytes.
13320
13321 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13322
13323 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13324
13325 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13326
13327 * string/strcoll_l.c (coll_seq): New structure.
13328 (get_next_seq_cached): New function.
13329 (get_next_seq): New function.
13330 (do_compare): New function.
13331 (STRCOLL): Use GNU style definition. Simplify implementation
13332 by using get_next_seq, get_next_seq_cached and do_compare.
13333
13334 2013-08-16 Florian Weimer <fweimer@redhat.com>
13335
13336 [BZ #14699]
13337 CVE-2013-4237
13338 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13339 member.
13340 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13341 member.
13342 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13343 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13344 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13345 conditional.
13346 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13347 GETDENTS_64BIT_ALIGNED.
13348 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13349 * manual/filesys.texi (Reading/Closing Directory): Document
13350 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13351 strongly.
13352 * manual/conf.texi (Limits for Files): Add portability note to
13353 NAME_MAX, PATH_MAX.
13354 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13355
13356 2013-08-13 Andreas Schwab <schwab@suse.de>
13357
13358 [BZ #15749]
13359 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13360 of fabs.
13361 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13362 LDBL_MAX_EXP >= 16384]: Add tests for it.
13363
13364 2013-08-12 David S. Miller <davem@davemloft.net>
13365
13366 * version.h (RELEASE): Set to "development".
13367 (VERSION): Set to "2.18.90".
13368 * NEWS: Add 2.19 section.
13369
13370 2013-08-03 David S. Miller <davem@davemloft.net>
13371
13372 * po/ko.po: Update Korean translation from translation project.
13373
13374 2013-08-01 David S. Miller <davem@davemloft.net>
13375
13376 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13377 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13378 Bilka.
13379
13380 2013-07-30 David S. Miller <davem@davemloft.net>
13381
13382 * po/fr.po: Update French translation from translation project.
13383
13384 2013-07-28 David S. Miller <davem@davemloft.net>
13385
13386 * po/cs.po: Update Czech translation from translation project.
13387
13388 * po/sv.po: Update Swedish translation from translation project.
13389
13390 2013-07-27 David S. Miller <davem@davemloft.net>
13391
13392 * po/eo.po: Update Esperanto translation from translation project.
13393
13394 * po/vi.po: Update Vietnamese translation from translation project.
13395
13396 * po/de.po: Update German translation from translation project.
13397
13398 2013-07-26 David S. Miller <davem@davemloft.net>
13399
13400 * po/bg.po: Update Bulgarian translation from translation project.
13401
13402 * po/nl.po: Update Dutch translation from translation project.
13403 * po/pl.po: Update Polish translation from translation project.
13404 * po/ru.po: Update Russian translation from translation project.
13405
13406 2013-07-24 David S. Miller <davem@davemloft.net>
13407
13408 * po/libc.pot: Update.
13409
13410 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13411
13412 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13413 variable page size.
13414 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13415 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13416 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13417
13418 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13419
13420 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13421
13422 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13423 Andreas Schwab <schwab@suse.de>
13424 Roland McGrath <roland@hack.frob.com>
13425 Joseph Myers <joseph@codesourcery.com>
13426 Carlos O'Donell <carlos@redhat.com>
13427
13428 [BZ #15755]
13429 * config.h.in: Define HAVE_PT_CHOWN.
13430 * config.make.in (build-pt-chown): New variable.
13431 * configure.in (--enable-pt_chown): New configure option.
13432 * configure: Regenerate.
13433 * login/Makefile: Include Makeconfig. Build pt_chown only if
13434 build-pt-chown is enabled.
13435 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13436 pt_chown to fix pty ownership.
13437 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13438 CLOSE_ALL_FDS.
13439 * manual/install.texi (Configuring and compiling): Mention
13440 --enable-pt_chown. Add @findex for grantpt.
13441 * INSTALL: Regenerate.
13442
13443 2013-07-20 David S. Miller <davem@davemloft.net>
13444
13445 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13446 difference between 32-bit and 64-bit.
13447
13448 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13449
13450 [BZ #15711]
13451 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13452 Avoid system header dependency with -ffreestanding.
13453 ($(objpfx)bits/syscall%d): Likewise.
13454
13455 2013-07-13 David S. Miller <davem@davemloft.net>
13456
13457 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13458 underflows from atanl/atan2l due to bug 15319.
13459 (casinh_test_data): Likewise.
13460
13461 2013-07-07 David S. Miller <davem@davemloft.net>
13462
13463 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13464
13465 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13466
13467 * sysdeps/i386/fpu/libm-test-ulps: Update.
13468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13469
13470 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13471
13472 * configure.in (--enable-lock-elision): Fix message text.
13473 * INSTALL: Regenerate.
13474 * configure: Regenerate.
13475
13476 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13477
13478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13479
13480 2013-07-03 Andreas Jaeger <aj@suse.de>
13481
13482 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13483 define.
13484 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13485 (ptrace_peeksiginfo_args): Add.
13486 (__ptrace_peeksiginfo_flags): Add.
13487 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13490
13491 2013-07-03 Allan McRae <allan@archlinux.org>
13492
13493 * sysdeps/i386/fpu/libm-test-ulps: Update.
13494
13495 2013-07-02 David S. Miller <davem@davemloft.net>
13496
13497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13498
13499 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13500
13501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13502
13503 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13504
13505 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13507
13508 2013-07-02 Andi Kleen <ak@linux.intel.com>
13509
13510 * config.h.in (ENABLE_LOCK_ELISION): Add.
13511 * configure.in (--enable-lock-elision): Add option.
13512 * manual/install.texi: Document --enable lock elision.
13513 * configure: Regenerate
13514 * INSTALL: Regenerate.
13515
13516 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13517
13518 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13519 SSE4.2 strcasecmp for libc.a.
13520 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13521
13522 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13523
13524 [BZ #13304]
13525 * soft-fp/op-common.h (_FP_FMA): New macro.
13526 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13527 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13528 (_FP_MUL_MEAT_1_imm): ... here.
13529 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13530 (_FP_MUL_MEAT_1_wide): ... here.
13531 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13532 (_FP_MUL_MEAT_1_hard): ... here.
13533 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13534 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13535 (_FP_MUL_MEAT_2_wide): ... here.
13536 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13537 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13538 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13539 (_FP_MUL_MEAT_2_gmp): ... here.
13540 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13541 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13542 (_FP_MUL_MEAT_4_wide): ... here.
13543 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13544 (_FP_MUL_MEAT_4_gmp): ... here.
13545 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13546 (_FP_WFRACBITS_DW_S): Likewise.
13547 (_FP_WFRACXBITS_DW_S): Likewise.
13548 (_FP_HIGHBIT_DW_S): Likewise.
13549 (FP_FMA_S): Likewise.
13550 (_FP_FRAC_HIGH_DW_S): Likewise.
13551 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13552 (_FP_WFRACBITS_DW_D): Likewise.
13553 (_FP_WFRACXBITS_DW_D): Likewise.
13554 (_FP_HIGHBIT_DW_D): Likewise.
13555 (FP_FMA_D): Likewise.
13556 (_FP_FRAC_HIGH_DW_D): Likewise.
13557 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13558 (_FP_WFRACBITS_DW_E): Likewise.
13559 (_FP_WFRACXBITS_DW_E): Likewise.
13560 (_FP_HIGHBIT_DW_E): Likewise.
13561 (FP_FMA_E): Likewise.
13562 (_FP_FRAC_HIGH_DW_E): Likewise.
13563 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13564 (_FP_WFRACBITS_DW_Q): Likewise.
13565 (_FP_WFRACXBITS_DW_Q): Likewise.
13566 (_FP_HIGHBIT_DW_Q): Likewise.
13567 (FP_FMA_Q): Likewise.
13568 (_FP_FRAC_HIGH_DW_Q): Likewise.
13569 * soft-fp/fmasf4.c: New file.
13570 * soft-fp/fmadf4.c: Likewise.
13571 * soft-fp/fmatf4.c: Likewise.
13572
13573 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13574
13575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13576 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13577 Silvermont.
13578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13579 macro.
13580 (index_Slow_SSE4_2): Likewise.
13581 (index_Prefer_PMINUB_for_stringop): Likewise.
13582 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13583 bit_Slow_SSE4_2 is set.
13584 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13585 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13586
13587 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13588
13589 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13590 rtld_global._dl_hwcap2.
13591 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13592 POWER8.
13593 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13594 POWER8 feature descriptions defined in _dl_hwcap2.
13595 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13596 string handling for POWER8 feature bits.
13597 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13598 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13599 _dl_powerpc_cap_flags.
13600 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13601 * sysdeps/powerpc/rtld-global-offsets.sym
13602 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13603 _dl_hwcap2 in the rtld_global_ro structure.
13604
13605 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13606
13607 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13608 hardware capabilities in support of AT_HWCAP2.
13609 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13610 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13611 GLRO(dl_hwcap2).
13612 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13613 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13614 explicitly the unknown a_type display mechanism is used.
13615 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13616 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13617 struct member.
13618 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13619 to macro prototype for AT_HWCAP2 support.
13620 * sysdeps/i386/dl-procinfo.h: Likewise.
13621 * sysdeps/s390/dl-procinfo.h: Likewise.
13622 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13623 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13624 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13625 return -1 for unknown a_type display fallback.
13626 * sysdeps/sparc/dl-procinfo.h: Likewise.
13627 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13628 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13629
13630 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13631
13632 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13633 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13634
13635 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13636
13637 [BZ #12492]
13638 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13639 mprotect making __stack_prot writable.
13640
13641 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13642 Joseph Myers <joseph@codesourcery.com>
13643
13644 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13645 as being properly aligned.
13646
13647 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13648
13649 * dlfcn/modstatic5.c: New file.
13650 * dlfcn/tststatic5.c: New file.
13651 * dlfcn/Makefile (tests): Add tststatic5.
13652 (tests-static): Likewise.
13653 (modules-names): Add modstatic5.
13654 (tststatic5-ENV): New variable.
13655 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13656
13657 [BZ #15022]
13658 * elf/dl-support.c (_dl_main_map): New variable.
13659 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13660 (_dl_nns, _dl_load_adds): Set to 1.
13661 (_dl_initial_searchlist): Refer to _dl_main_map.
13662 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13663 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13664 call to _dl_get_origin.
13665 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13666 around call_map.
13667 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13668 * dlfcn/modstatic3.c: New file.
13669 * dlfcn/tststatic3.c: New file.
13670 * dlfcn/tststatic4.c: New file.
13671 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13672 (tests-static): Likewise.
13673 (modules-names): Add modstatic3.
13674 (tststatic3-ENV, tststatic4-ENV): New variables.
13675 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13676 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13677
13678 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13679
13680 * configure.in (CC): Require GCC version 4.4 or later.
13681 * configure: Regenerated.
13682 * manual/install.texi (Tools for Compilation): Update GCC version
13683 requirement.
13684 * INSTALL: Regenerated.
13685
13686 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13687
13688 [BZ #15674]
13689 * string/test-memcmp.c (check2): New.
13690 (main): Call check2.
13691
13692 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13693
13694 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13695
13696 [BZ #15022]
13697 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13698 over to...
13699 (dl_open_worker) [!SHARED]: ... here.
13700
13701 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13702
13703 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13704
13705 2013-06-25 Richard Henderson <rth@redhat.com>
13706
13707 * locale/programs/locarchive.c: Include <libc-internal.h>
13708
13709 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13710
13711 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13712 trailing whitespace removed.
13713
13714 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13715
13716 [BZ #10283]
13717 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13718 * locale/programs/locarchive.c: Include libc-mmap.h.
13719 (prepare_address_space): Take two new outputs (the mmap base and len).
13720 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13721 values.
13722 (create_archive): Declare new mmap base and len values for
13723 prepare_address_space, and store the result in ah.
13724 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13725 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13726 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13727 Declare new mmap base and len values for
13728 prepare_address_space, and store the result in new_ah.
13729 (open_archive): Declare new mmap base and len values for
13730 prepare_address_space, and store the result in ah.
13731 (close_archive): If ah->mmap_base is not NULL, use that and
13732 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13733 * sysdeps/generic/libc-mmap.h: New file.
13734
13735 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13736
13737 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13738 (ALIGN_UP): Likewise.
13739 (PTR_ALIGN_DOWN): Likewise.
13740 (PTR_ALIGN_UP): Likewise.
13741
13742 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13743
13744 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13745 entry mapped to PPC_PLATFORM_POWER8.
13746 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13747 POWER8.
13748 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13749 (_dl_string_platform): Add case for exporting platform position for
13750 POWER8.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13752 search path to sysdeps/powerpc/powerpc32/power8 directory.
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13754 search path to sysdeps/powerpc/powerpc64/power8 directory.
13755 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13756 power7 directories.
13757 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13758 power7 directories.
13759
13760 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13761
13762 * INSTALL: Regenerate.
13763
13764 * nscd/connections.c (nscd_init): Fix comment.
13765
13766 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13767
13768 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13769
13770 [BZ #15667]
13771 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13772 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13773
13774 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13775
13776 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13777 DL_DST_REQ_STATIC.
13778 (DL_DST_REQ_STATIC): Remove macro.
13779
13780 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13781
13782 [BZ #7006]
13783 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13784 with a shift of 0 bits.
13785
13786 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13787
13788 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13789 $(tststatic-ENV).
13790
13791 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13792
13793 [BZ #15655]
13794 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13795
13796 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13797
13798 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13799 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13800 accepts -fno-tree-loop-distribute-patterns.
13801 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13802 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13803 recursive call.
13804 * string/memset.c (memset): Likewise.
13805 * string/test-memmove.c (simple_memmove): Disable loop transformation
13806 to library calls.
13807 * string/test-memset.c (simple_memset): Likewise.
13808 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13809 * benchtests/bench-memset.c (simple_memset): Likewise.
13810 * configure: Regenerated.
13811
13812 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13813
13814 * math/test-misc.c (main): Ignore fesetround failure when failures
13815 of subsequent rounding tests would be ignored.
13816
13817 [BZ #15654]
13818 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13819 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13820 * math/fegetenv.c (__fegetenv): Return 0.
13821 * math/fegetexcept.c (fegetexcept): Return 0.
13822 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13823 FE_TONEAREST.
13824 * math/feholdexcpt.c (feholdexcept): Return 0.
13825 * math/fesetenv.c (__fesetenv): Return 0.
13826 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13827 argument FE_TONEAREST.
13828 * math/feupdateenv.c (__feupdateenv): Return 0.
13829 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13830
13831 2013-06-18 Roland McGrath <roland@hack.frob.com>
13832
13833 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13834 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13835 ($(objpfx)rtld-%.os rules): Use them.
13836
13837 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13838
13839 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13840 fields.
13841
13842 2013-06-17 Roland McGrath <roland@hack.frob.com>
13843
13844 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13845 length of target pattern, then descending length of dependency pattern.
13846 * configure.in (AWK): Require gawk 3.1.2 or newer.
13847 * manual/install.texi (Tools for Compilation): Say that we do.
13848 * configure: Regenerated.
13849
13850 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13851 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13852 * scripts/sysd-rules.awk: ... this new script.
13853 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13854 than a glob-style pattern.
13855
13856 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13857
13858 * math/test-misc.c (main): Do not treat incorrectly rounded
13859 conversions as failure unless ROUNDING_TESTS passes.
13860
13861 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13862
13863 [BZ #15631]
13864 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13865 restore exception state around main square root computation, then
13866 check for inexactness explicitly.
13867
13868 * math/libm-test.inc (fma_test_data): Add another test.
13869
13870 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13871
13872 * manual/threads.texi (Non-POSIX Extensions): New document
13873 node. Document pthread_getattr_default_np and
13874 pthread_setattr_default_np.
13875
13876 * Versions.def (libpthread): Add GLIBC_2.18.
13877 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13879 Likewise.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13881 Likewise.
13882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13883 Likewise.
13884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13885 Likewise.
13886 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13887 Likewise.
13888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13889 Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13891 Likewise.
13892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13893 Likewise.
13894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13895 Likewise.
13896
13897 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13898
13899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13900 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13901
13902 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13903 H.J. Lu <hjl.tools@gmail.com>
13904
13905 [BZ #15627]
13906 * sysdeps/x86_64/rtld-memset.c: Remove file.
13907 * sysdeps/x86_64/rtld-memset.S: New file.
13908
13909 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13910
13911 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13912 (test_in_one_mode): Take arguments for whether the rounding mode
13913 is supported for each floating-point type.
13914 (do_test): Pass new arguments to test_in_one_mode using
13915 ROUNDING_TESTS.
13916
13917 2013-06-13 Roland McGrath <roland@hack.frob.com>
13918
13919 * posix/tst-waitid.c (do_test): Distinguish different instances of
13920 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13921 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13922 before entering the kernel for waitpid.
13923
13924 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13925
13926 * NEWS: Fix note on clock function precision. Text by Roland
13927 McGrath.
13928
13929 2013-06-13 Roland McGrath <roland@hack.frob.com>
13930
13931 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13932 it into place only when and if the sanity check passes.
13933
13934 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13935
13936 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13937 output for whether conversion result is exact. Take argument
13938 indicating whether type is IBM long double.
13939 (round_for_all): Change need_exact field to ibm_ld.
13940 * stdlib/tst-strtod-round.c (struct exactness): New type.
13941 (struct test): Change bool ld_ok field to struct exactness exact.
13942 (TEST): Update all definitions for change to field.
13943 (tests): Regenerate array contents.
13944 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13945 field value. Check for IBM long double here.
13946 (do_test): Update calls to test_in_one_mode.
13947
13948 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13949
13950 [BZ #12515]
13951 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13952 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13953
13954 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13955
13956 [BZ #15605]
13957 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13958 generated by the compiler on loop optimizations.
13959 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13960 general definitions.
13961
13962 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13963
13964 * math/bug-nextafter.c: Include <math-tests.h>.
13965 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13966 the relevant type.
13967 * math/bug-nexttoward.c: Include <math-tests.h>.
13968 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13969 the relevant type.
13970 * math/test-misc.c: Include <math-tests.h>.
13971 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13972 the relevant type.
13973
13974 2013-06-12 Andreas Jaeger <aj@suse.de>
13975
13976 * po/ia.po: Update Interlingua translation from translation
13977 project.
13978
13979 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13980
13981 * include/fenv.h: Include stdbool.h.
13982 (struct rm_ctx): New structure.
13983 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13984 Define macro.
13985 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13986 (SET_RESTORE_ROUNDF): Likewise.
13987 (SET_RESTORE_ROUNDL): Likewise.
13988 (SET_RESTORE_ROUND_NOEX): Likewise.
13989 (SET_RESTORE_ROUND_NOEXF): Likewise.
13990 (SET_RESTORE_ROUND_NOEXL): Likewise.
13991 (SET_RESTORE_ROUND_53BIT): Likewise.
13992 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13993 (libc_feresetround_noexf_ctx): Likewise.
13994 (libc_feresetround_noexl_ctx): Likewise.
13995 (libc_feholdsetround_53bit_ctx): Likewise.
13996 (libc_feresetround_53bit_ctx): Likewise.
13997 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13998 (libc_feholdexcept_setround_sse_ctx): New function.
13999 (libc_fesetenv_sse_ctx): Likewise.
14000 (libc_feupdateenv_sse_ctx): Likewise.
14001 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14002 (libc_feholdexcept_setround_387_ctx): Likewise.
14003 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14004 (libc_feholdsetround_387_prec_ctx): Likewise.
14005 (libc_feholdsetround_387_ctx): Likewise.
14006 (libc_feholdsetround_387_53bit_ctx): Likewise.
14007 (libc_feholdsetround_sse_ctx): Likewise.
14008 (libc_feresetround_sse_ctx): Likewise.
14009 (libc_feresetround_387_ctx): Likewise.
14010 (libc_feupdateenv_387_ctx): Likewise.
14011 (libc_feholdexcept_setroundf_ctx): Define macro.
14012 (libc_fesetenvf_ctx): Likewise.
14013 (libc_feupdateenvf_ctx): Likewise.
14014 (libc_feholdsetroundf_ctx): Likewise.
14015 (libc_feresetroundf_ctx): Likewise.
14016 (libc_feholdexcept_setround_ctx): Likewise.
14017 (libc_fesetenv_ctx): Likewise.
14018 (libc_feupdateenv_ctx): Likewise.
14019 (libc_feholdsetround_ctx): Likewise.
14020 (libc_feresetround_ctx): Likewise.
14021 (libc_feholdexcept_setroundl_ctx): Likewise.
14022 (libc_feupdateenvl_ctx): Likewise.
14023 (libc_feholdsetroundl_ctx): Likewise.
14024 (libc_feresetroundl_ctx): Likewise.
14025 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14026 (libc_feresetround_53bit_ctx): Likewise.
14027
14028 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14029
14030 * locale/iso-639.def: Convert to UTF-8.
14031
14032 2013-06-11 Joseph Myers <joseph@codesourcery.com>
14033
14034 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14035 (EXCEPTION_TESTS_double): Likewise.
14036 (EXCEPTION_TESTS_long_double): Likewise.
14037 (EXCEPTION_TESTS): Likewise.
14038 * math/libm-test.inc (test_exceptions): Only test exceptions if
14039 EXCEPTION_TESTS (FLOAT).
14040
14041 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14042
14043 * benchtests/Makefile (string-bench): Add strcpy_chk and
14044 stpcpy_chk.
14045 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14046 * benchtests/bench-stpcpy_chk.c: New file.
14047 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14048 * benchtests/bench-strcpy_chk.c: New file.
14049 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14050 code.
14051 (do_test): Likewise.
14052
14053 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14054
14055 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14056 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14057 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14058 with tabs where appropriate.
14059 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14060 dl-procinfo.h.
14061 [PPC_PLATFORM_PPC440]: Likewise.
14062 [PPC_PLATFORM_PPC464]: Likewise.
14063 [PPC_PLATFORM_PPC476]: Likewise.
14064 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14065 ppc464, and ppc476 platform strings merging from ports/
14066 dl-procinfo.h.
14067
14068 2013-06-11 Andreas Schwab <schwab@suse.de>
14069
14070 [BZ #14991]
14071 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14072 (from_ucs4_idx): Regenerate.
14073 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14074 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14075 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14076 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14077 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14078 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14079 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14080 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14081 from FROM_LOOP and TO_LOOP specific macros.
14082 (BODY): Handle combining characters.
14083 * iconvdata/BIG5HKSCS.irreversible: Update.
14084 * iconvdata/BIG5HKSCS.precomposed: New file.
14085 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14086 characters.
14087 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14088
14089 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14090
14091 * include/sys/time.h: Fix indentation and add copyright header.
14092
14093 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14094 (do_test): Likewise.
14095 * string/test-memchr.c (do_one_test): Likewise.
14096 (do_test): Likewise.
14097 * string/test-memcmp.c (do_one_test): Likewise.
14098 (do_test): Likewise.
14099 * string/test-memcpy.c (do_one_test): Likewise.
14100 (do_test): Likewise.
14101 * string/test-memmem.c (do_one_test): Likewise.
14102 (do_test): Likewise.
14103 (do_random_tests): Likewise.
14104 * string/test-memmove.c (do_one_test): Likewise.
14105 (do_test): Likewise.
14106 * string/test-memset.c (do_one_test): Likewise.
14107 (do_test): Likewise.
14108 * string/test-rawmemchr.c (do_one_test): Likewise.
14109 (do_test): Likewise.
14110 * string/test-strcasecmp.c (do_one_test): Likewise.
14111 (do_test): Likewise.
14112 * string/test-strcasestr.c (do_one_test): Likewise.
14113 (do_test): Likewise.
14114 * string/test-strcat.c (do_one_test): Likewise.
14115 (do_test): Likewise.
14116 * string/test-strchr.c (do_one_test): Likewise.
14117 (do_test): Likewise.
14118 * string/test-strcmp.c (do_one_test): Likewise.
14119 (do_test): Likewise.
14120 * string/test-strcpy.c (do_one_test): Likewise.
14121 (do_test): Likewise.
14122 * string/test-string.h: Likewise.
14123 (test_init): Likewise.
14124 * string/test-strlen.c (do_one_test): Likewise.
14125 (do_test): Likewise.
14126 * string/test-strncasecmp.c (do_one_test): Likewise.
14127 (do_test): Likewise.
14128 * string/test-strncat.c (do_one_test): Likewise.
14129 (do_test): Likewise.
14130 * string/test-strncmp.c (do_one_test): Likewise.
14131 (do_test_limit): Likewise.
14132 (do_test): Likewise.
14133 * string/test-strncpy.c (do_one_test): Likewise.
14134 (do_test): Likewise.
14135 * string/test-strnlen.c (do_one_test): Likewise.
14136 (do_test): Likewise.
14137 * string/test-strpbrk.c (do_one_test): Likewise.
14138 (do_test): Likewise.
14139 * string/test-strrchr.c (do_one_test): Likewise.
14140 (do_test): Likewise.
14141 * string/test-strspn.c (do_one_test): Likewise.
14142 (do_test): Likewise.
14143 * string/test-strstr.c (do_one_test): Likewise.
14144 (do_test): Likewise.
14145
14146 * benchtests/Makefile (string-bench): Add string benchmarks.
14147 * benchtests/bench-bcopy-ifunc.c: New file.
14148 * benchtests/bench-bcopy.c: New file.
14149 * benchtests/bench-bzero-ifunc.c: New file.
14150 * benchtests/bench-bzero.c: New file.
14151 * benchtests/bench-memccpy-ifunc.c: New file.
14152 * benchtests/bench-memccpy.c: New file.
14153 * benchtests/bench-memchr-ifunc.c: New file.
14154 * benchtests/bench-memchr.c: New file.
14155 * benchtests/bench-memcmp-ifunc.c: New file.
14156 * benchtests/bench-memcmp.c: New file.
14157 * benchtests/bench-memmem-ifunc.c: New file.
14158 * benchtests/bench-memmem.c: New file.
14159 * benchtests/bench-memmove-ifunc.c: New file.
14160 * benchtests/bench-memmove.c: New file.
14161 * benchtests/bench-mempcpy-ifunc.c: New file.
14162 * benchtests/bench-mempcpy.c: New file.
14163 * benchtests/bench-memset-ifunc.c: New file.
14164 * benchtests/bench-memset.c: New file.
14165 * benchtests/bench-rawmemchr-ifunc.c: New file.
14166 * benchtests/bench-rawmemchr.c: New file.
14167 * benchtests/bench-stpcpy-ifunc.c: New file.
14168 * benchtests/bench-stpcpy.c: New file.
14169 * benchtests/bench-stpncpy-ifunc.c: New file.
14170 * benchtests/bench-stpncpy.c: New file.
14171 * benchtests/bench-strcasecmp-ifunc.c: New file.
14172 * benchtests/bench-strcasecmp.c: New file.
14173 * benchtests/bench-strcasestr-ifunc.c: New file.
14174 * benchtests/bench-strcasestr.c: New file.
14175 * benchtests/bench-strcat-ifunc.c: New file.
14176 * benchtests/bench-strcat.c: New file.
14177 * benchtests/bench-strchr-ifunc.c: New file.
14178 * benchtests/bench-strchr.c: New file.
14179 * benchtests/bench-strchrnul-ifunc.c: New file.
14180 * benchtests/bench-strchrnul.c: New file.
14181 * benchtests/bench-strcmp-ifunc.c: New file.
14182 * benchtests/bench-strcmp.c: New file.
14183 * benchtests/bench-strcpy-ifunc.c: New file.
14184 * benchtests/bench-strcpy.c: New file.
14185 * benchtests/bench-strcspn-ifunc.c: New file.
14186 * benchtests/bench-strcspn.c: New file.
14187 * benchtests/bench-strlen-ifunc.c: New file.
14188 * benchtests/bench-strlen.c: New file.
14189 * benchtests/bench-strncasecmp-ifunc.c: New file.
14190 * benchtests/bench-strncasecmp.c: New file.
14191 * benchtests/bench-strncat-ifunc.c: New file.
14192 * benchtests/bench-strncat.c: New file.
14193 * benchtests/bench-strncmp-ifunc.c: New file.
14194 * benchtests/bench-strncmp.c: New file.
14195 * benchtests/bench-strncpy-ifunc.c: New file.
14196 * benchtests/bench-strncpy.c: New file.
14197 * benchtests/bench-strnlen-ifunc.c: New file.
14198 * benchtests/bench-strnlen.c: New file.
14199 * benchtests/bench-strpbrk-ifunc.c: New file.
14200 * benchtests/bench-strpbrk.c: New file.
14201 * benchtests/bench-strrchr-ifunc.c: New file.
14202 * benchtests/bench-strrchr.c: New file.
14203 * benchtests/bench-strspn-ifunc.c: New file.
14204 * benchtests/bench-strspn.c: New file.
14205 * benchtests/bench-strstr-ifunc.c: New file.
14206 * benchtests/bench-strstr.c: New file.
14207
14208 * benchtests/Makefile: Disable parallel execution of targets.
14209 (string-bench): Add memcpy.
14210 (benchset): New variable to store a list of benchmark sets.
14211 (bench-func): Renamed from bench.
14212 (bench-set): New target.
14213 (bench): Depend on bench-func and bench-set.
14214 * benchtests/README: Add section on benchmark sets.
14215 * benchtests/bench-memcpy-ifunc.c: New file.
14216 * benchtests/bench-memcpy.c: New file.
14217 * benchtests/bench-string.h: New file.
14218
14219 2013-06-11 Andreas Schwab <schwab@suse.de>
14220
14221 [BZ #15577]
14222 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14223 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14224 values in the triple.
14225 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14226 terminator in the group key.
14227
14228 2013-06-11 Andreas Jaeger <aj@suse.de>
14229
14230 * po/zh_TW.po: Update Chinese (traditional) translation from
14231 translation project.
14232
14233 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14234
14235 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14236 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14237 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14238 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14239 (clock_getcpuclockid): Likewise.
14240 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14241 Add weak_alias and libc_hidden_def.
14242 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14243 * rt/clock_gettime.c (clock_gettime): Rename to
14244 __clock_gettime. Add weak_alias and libc_hidden_def.
14245 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14246 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14247 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14248 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14249 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14250 Likewise.
14251 * rt/clock_settime.c (clock_settime): Rename to
14252 __clock_settime. Add weak_alias and libc_hidden_def.
14253 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14254
14255 2013-06-10 Joseph Myers <joseph@codesourcery.com>
14256
14257 * mach/err_boot.sub: Remove trailing whitespace.
14258 * mach/err_ipc.sub: Likewise.
14259 * mach/err_mach.sub: Likewise.
14260
14261 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14262 (ROUNDING_TESTS_double): Likewise.
14263 (ROUNDING_TESTS_long_double): Likewise.
14264 (ROUNDING_TESTS): Likewise.
14265 * math/libm-test.inc: Include <math-tests.h>.
14266 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14267 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14268 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14269 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14270
14271 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14272
14273 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14274 of assigning.
14275
14276 2013-06-08 Joseph Myers <joseph@codesourcery.com>
14277
14278 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14279 otherwise empty TRANS lines.
14280 * sysdeps/gnu/errlist.c: Regenerated.
14281
14282 * catgets/gencat.c (error_print): Use (void) in function
14283 definition.
14284 * crypt/crypt_util.c (__init_des): Likewise.
14285 * crypt/speeds.c (Stop): Likewise.
14286 (main): Likewise.
14287 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14288 * inet/ruserpass.c (token): Likewise.
14289 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14290 * intl/localealias.c (extend_alias_table): Likewise.
14291 * intl/plural-exp.c (init_germanic_plural): Likewise.
14292 * libio/fcloseall.c (__fcloseall): Likewise.
14293 * libio/genops.c (_IO_flush_all): Likewise.
14294 (_IO_flush_all_linebuffered): Likewise.
14295 (_IO_cleanup): Likewise.
14296 (_IO_iter_begin): Likewise.
14297 (_IO_iter_end): Likewise.
14298 (_IO_list_lock): Likewise.
14299 (_IO_list_unlock): Likewise.
14300 (_IO_list_resetlock): Likewise.
14301 * libio/getchar.c (getchar): Likewise.
14302 * libio/getchar_u.c (getchar_unlocked): Likewise.
14303 * libio/getwchar.c (getwchar): Likewise.
14304 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14305 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14306 * login/getpt.c (__getpt): Likewise.
14307 * login/tst-utmp.c (main): Likewise.
14308 * malloc/hooks.c (__malloc_check_init): Likewise.
14309 * malloc/malloc.c (__malloc_stats): Likewise.
14310 * malloc/mtrace.c (tr_break): Likewise.
14311 (mtrace): Likewise.
14312 (muntrace): Likewise.
14313 * misc/fstab.c (endfsent): Likewise.
14314 * misc/getclktck.c (__getclktck): Likewise.
14315 * misc/getdtsz.c (__getdtablesize): Likewise.
14316 * misc/gethostid.c (gethostid): Likewise.
14317 * misc/getpagesize.c (__getpagesize): Likewise.
14318 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14319 (__get_nprocs): Likewise.
14320 (__get_phys_pages): Likewise.
14321 (__get_avphys_pages): Likewise.
14322 * misc/getttyent.c (getttyent): Likewise.
14323 (setttyent): Likewise.
14324 (endttyent): Likewise.
14325 * misc/getusershell.c (getusershell): Likewise.
14326 (endusershell): Likewise.
14327 (setusershell): Likewise.
14328 (initshells): Likewise.
14329 * misc/hsearch.c (__hdestroy): Likewise.
14330 * misc/sync.c (sync): Likewise.
14331 * misc/syslog.c (closelog_internal): Likewise.
14332 (closelog): Likewise.
14333 * misc/ttyslot.c (ttyslot): Likewise.
14334 * misc/vhangup.c (vhangup): Likewise.
14335 * posix/fork.c (__fork): Likewise.
14336 * posix/getegid.c (__getegid): Likewise.
14337 * posix/geteuid.c (__geteuid): Likewise.
14338 * posix/getgid.c (__getgid): Likewise.
14339 * posix/getpid.c (__getpid): Likewise.
14340 * posix/getppid.c (__getppid): Likewise.
14341 * posix/getuid.c (__getuid): Likewise.
14342 * posix/pause.c (pause): Likewise.
14343 * posix/setpgrp.c (setpgrp): Likewise.
14344 * posix/setsid.c (__setsid): Likewise.
14345 * posix/test-vfork.c (noop): Likewise.
14346 * resolv/gethnamaddr.c (_endhtent): Likewise.
14347 (_gethtent): Likewise.
14348 (ht_endhostent): Likewise.
14349 (gethostent): Likewise.
14350 (dns_service): Likewise.
14351 * stdlib/drand48.c (drand48): Likewise.
14352 * stdlib/lrand48.c (lrand48): Likewise.
14353 * stdlib/mrand48.c (mrand48): Likewise.
14354 * stdlib/rand.c (rand): Likewise.
14355 * stdlib/random.c (__random): Likewise.
14356 * stdlib/setenv.c (clearenv): Likewise.
14357 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14358 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14359 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14360 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14361 (__get_nprocs): Likewise.
14362 (__get_phys_pages): Likewise.
14363 (__get_avphys_pages): Likewise.
14364 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14365 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14366 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14367 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14368 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14369 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14370 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14371 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14372 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14373 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14374 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14375 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14376 * sysdeps/posix/clock.c (clock): Likewise.
14377 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14378 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14379 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14380 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14381 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14382 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14383 (__get_nprocs_conf): Likewise.
14384 (__get_phys_pages): Likewise.
14385 (__get_avphys_pages): Likewise.
14386 * time/clock.c (clock): Likewise.
14387 * time/tzset.c (__tzname_max): Likewise.
14388
14389 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14390
14391 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14392 (__bswap_32): Do not use "register".
14393 * crypt/crypt.c (_ufc_doit_r): Likewise.
14394 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14395 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14396 * gmon/gmon.c (__monstartup): Likewise.
14397 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14398 * hurd/hurdmalloc.c (more_memory): Likewise.
14399 (malloc): Likewise.
14400 (free): Likewise.
14401 (realloc): Likewise.
14402 (malloc_fork_prepare): Likewise.
14403 (malloc_fork_parent): Likewise.
14404 (malloc_fork_child): Likewise.
14405 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14406 (_svcauth_des): Likewise.
14407 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14408 * inet/inet_net.c (inet_network): Likewise.
14409 * inet/inet_netof.c (inet_netof): Likewise.
14410 * inet/rcmd.c (__validuser2_sa): Likewise.
14411 * io/fts.c (fts_open): Likewise.
14412 (fts_load): Likewise.
14413 (fts_close): Likewise.
14414 (fts_read): Likewise.
14415 (fts_children): Likewise.
14416 (fts_build): Likewise.
14417 (fts_stat): Likewise.
14418 (fts_sort): Likewise.
14419 (fts_alloc): Likewise.
14420 (fts_lfree): Likewise.
14421 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14422 (_IO_file_xsgetn): Likewise.
14423 (_IO_file_xsgetn_mmap): Likewise.
14424 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14425 (_IO_cookie_write): Likewise.
14426 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14427 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14428 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14429 * malloc/obstack.c (_obstack_begin): Likewise.
14430 (_obstack_begin_1): Likewise.
14431 (_obstack_newchunk): Likewise.
14432 (_obstack_allocated_p): Likewise.
14433 (obstack_free): Likewise.
14434 (_obstack_memory_used): Likewise.
14435 * misc/getttyent.c (getttynam): Likewise.
14436 (getttyent): Likewise.
14437 (skip): Likewise.
14438 (value): Likewise.
14439 * misc/getusershell.c (initshells): Likewise.
14440 * misc/syslog.c (__vsyslog_chk): Likewise.
14441 * misc/ttyslot.c (ttyslot): Likewise.
14442 * nis/nis_hash.c (__nis_hash): Likewise.
14443 * posix/fnmatch_loop.c (FCT): Likewise.
14444 * posix/getconf.c (print_all): Likewise.
14445 (main): Likewise.
14446 * posix/getopt.c (exchange): Likewise.
14447 * posix/glob.c (globfree): Likewise.
14448 (prefix_array): Likewise.
14449 (__glob_pattern_type): Likewise.
14450 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14451 (NS_GET32): Likewise.
14452 (NS_PUT16): Likewise.
14453 (NS_PUT32): Likewise.
14454 * resolv/gethnamaddr.c (getanswer): Likewise.
14455 (gethostbyname2): Likewise.
14456 (gethostbyaddr): Likewise.
14457 (_gethtent): Likewise.
14458 (_gethtbyname2): Likewise.
14459 (_gethtbyaddr): Likewise.
14460 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14461 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14462 * resolv/res_init.c (__res_vinit): Likewise.
14463 (net_mask): Likewise.
14464 * resolv/res_mkquery.c (outchar): Likewise.
14465 (PRINT): Likewise.
14466 * stdio-common/printf_fp.c (outchar): Likewise.
14467 (PRINT): Likewise.
14468 * stdio-common/printf_fphex.c (outchar): Likewise.
14469 (PRINT): Likewise.
14470 * stdio-common/printf_size.c (outchar): Likewise.
14471 (PRINT): Likewise.
14472 * stdio-common/test_rdwr.c (main): Likewise.
14473 * stdio-common/tfformat.c (matches): Likewise.
14474 * stdio-common/vfprintf.c (outchar): Likewise.
14475 (printf_unknown): Likewise.
14476 (buffered_vfprintf): Likewise.
14477 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14478 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14479 (ReadFile): Likewise.
14480 * stdlib/qsort.c (SWAP): Likewise.
14481 (_quicksort): Likewise.
14482 * stdlib/setenv.c (__add_to_environ): Likewise.
14483 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14484 * stdlib/strtol_l.c (__strtol_l): Likewise.
14485 * stdlib/tst-strtod.c (main): Likewise.
14486 * stdlib/tst-strtol.c (main): Likewise.
14487 * stdlib/tst-strtoll.c (main): Likewise.
14488 * string/bits/string2.h (__strcmp_cc): Likewise.
14489 (__strcmp_cg): Likewise.
14490 (__strcspn_c1): Likewise.
14491 (__strcspn_c2): Likewise.
14492 (__strcspn_c3): Likewise.
14493 (__strspn_c1): Likewise.
14494 (__strspn_c2): Likewise.
14495 (__strspn_c3): Likewise.
14496 (__strsep_1c): Likewise.
14497 (__strsep_2c): Likewise.
14498 (__strsep_3c): Likewise.
14499 * string/memccpy.c (__memccpy): Likewise.
14500 * string/stpcpy.c (__stpcpy): Likewise.
14501 * string/strcmp.c (strcmp): Likewise.
14502 * string/strrchr.c (strrchr): Likewise.
14503 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14504 Likewise.
14505 * sysdeps/mach/hurd/getcwd.c
14506 (_hurd_canonicalize_directory_name_internal): Likewise.
14507 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14508 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14509 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14510 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14511 Likewise, in both definitions.
14512 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14513 definitions.
14514 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14515 64] (__bswap_64): Likewise.
14516 * time/test_time.c (main): Likewise.
14517 * time/tzfile.c (__tzfile_read): Likewise.
14518 (__tzfile_compute): Likewise.
14519 * time/tzset.c (__tzset_parse_tz): Likewise.
14520 (tzset_internal): Likewise.
14521 (compute_change): Likewise.
14522 * wcsmbs/wcscat.c (__wcscat): Likewise.
14523 * wcsmbs/wcschr.c (wcschr): Likewise.
14524 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14525 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14526 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14527 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14528 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14529 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14530 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14531 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14532 * wcsmbs/wmemset.c (wmemset): Likewise.
14533
14534 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14535
14536 * scripts/config.guess: Update to version 2013-05-16.
14537 * scripts/config.sub: Update to version 2013-04-24.
14538 * scripts/install-sh: Update to version 2011-11-20.07.
14539 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14540 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14541
14542 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14543
14544 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14545 * elf/sln.c: Likewise.
14546 * hurd/hurd/ioctl.h: Likewise.
14547 * hurd/hurdmalloc.c: Likewise.
14548 * hurd/xattr.c: Likewise.
14549 * include/shlib-compat.h: Likewise.
14550 * inet/ruserpass.c: Likewise.
14551 * libio/iofgets_u.c: Likewise.
14552 * libio/iofgetws_u.c: Likewise.
14553 * locale/programs/ld-identification.c: Likewise.
14554 * locale/programs/ld-time.c: Likewise.
14555 * mach/msg-destroy.c: Likewise.
14556 * nss/nss_files/files-netgrp.c: Likewise.
14557 * resolv/res_data.c: Likewise.
14558 * soft-fp/op-1.h: Likewise.
14559 * soft-fp/op-2.h: Likewise.
14560 * soft-fp/op-4.h: Likewise.
14561 * soft-fp/op-common.h: Likewise.
14562 * stdio-common/printf_fphex.c: Likewise.
14563 * stdlib/strtod_l.c: Likewise.
14564 * sunrpc/rpc/clnt.h: Likewise.
14565 * sysdeps/generic/framestate.c: Likewise.
14566 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14567 * sysdeps/i386/bsd-setjmp.S: Likewise.
14568 * sysdeps/i386/__longjmp.S: Likewise.
14569 * sysdeps/i386/setjmp.S: Likewise.
14570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14571 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14573 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14575 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14576 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14577 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14578 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14579 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14584 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14586 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14587 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14588 * sysdeps/ieee754/support.c: Likewise.
14589 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14590 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14591 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14592 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14593 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14594 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14595 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14596 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14597 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14598 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14599 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14600 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14601 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14602 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14603 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14604 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14605 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14607
14608 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14609
14610 * posix/transbug.c: Remove executable mode.
14611
14612 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14613
14614 * crypt/speeds.c: Remove trailing whitespace.
14615 * dlfcn/default.c: Likewise.
14616 * elf/ifuncdep2.c: Likewise.
14617 * elf/ifuncmain1.c: Likewise.
14618 * elf/ifuncmain1vis.c: Likewise.
14619 * elf/testobj.h: Likewise.
14620 * elf/tst-stackguard1.c: Likewise.
14621 * gmon/sys/gmon.h: Likewise.
14622 * hurd/hurdmsg.c: Likewise.
14623 * hurd/new-fd.c: Likewise.
14624 * hurd/ports-get.c: Likewise.
14625 * iconvdata/ibm1008_420.c: Likewise.
14626 * inet/tst-getni1.c: Likewise.
14627 * inet/tst-getni2.c: Likewise.
14628 * libio/ioungetc.c: Likewise.
14629 * libio/wfiledoalloc.c: Likewise.
14630 * manual/libm-err-tab.pl: Likewise.
14631 * math/w_dremf.c: Likewise.
14632 * misc/ftruncate.c: Likewise.
14633 * posix/bug-glob2.c: Likewise.
14634 * posix/tst-pcre.c: Likewise.
14635 * posix/wait4.c: Likewise.
14636 * resolv/README: Likewise.
14637 * resolv/res_debug.h: Likewise.
14638 * resolv/tst-inet_ntop.c: Likewise.
14639 * setjmp/bug269-setjmp.c: Likewise.
14640 * soft-fp/extended.h: Likewise.
14641 * soft-fp/op-1.h: Likewise.
14642 * soft-fp/op-2.h: Likewise.
14643 * soft-fp/op-4.h: Likewise.
14644 * soft-fp/op-8.h: Likewise.
14645 * soft-fp/testit.c: Likewise.
14646 * stdio-common/bug16.c: Likewise.
14647 * stdlib/random.c: Likewise.
14648 * sunrpc/rpcsvc/rquota.x: Likewise.
14649 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14650 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14651 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14652 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14653 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14654 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14655 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14656 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14657 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14658 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14659 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14676 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14678 * sysdeps/ieee754/s_lib_version.c: Likewise.
14679 * sysdeps/mach/hurd/check_fds.c: Likewise.
14680 * sysdeps/mach/hurd/getsockname.c: Likewise.
14681 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14682 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14683 * sysdeps/powerpc/bits/link.h: Likewise.
14684 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14685 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14686 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14687 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14688 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14689 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14690 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14691 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14692 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14693 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14694 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14695 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14696 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14697 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14698 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14699 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14700 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14701 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14702 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14703 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14704 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14705 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14706 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14707 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14708 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14711 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14713 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14714 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14715 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14716 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14717 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14718 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14719 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14720 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14721 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14722 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14723 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14724 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14725 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14726 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14727 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14728 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14729 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14730 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14731 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14732 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14733 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14734 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14736 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14737 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14738 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14739 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14740 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14741 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14742 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14743 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14744 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14745 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14746 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14747 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14748 * sysdeps/powerpc/sysdep.h: Likewise.
14749 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14750 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14751 * sysdeps/sh/dl-trampoline.S: Likewise.
14752 * sysdeps/sh/memset.S: Likewise.
14753 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14754 * sysdeps/sh/strlen.S: Likewise.
14755 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14756 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14757 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14758 * sysdeps/sparc/sparc32/rem.S: Likewise.
14759 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14760 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14761 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14762 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14763 * sysdeps/sparc/sparc32/urem.S: Likewise.
14764 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14765 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14766 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14767 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14768 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14769 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14770 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14771 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14772 * sysdeps/unix/bsd/times.c: Likewise.
14773 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14774 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14778 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14779 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14780 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14781 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14782 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14783 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14784 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14785 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14786 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14787 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14788 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14789 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14790 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14791 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14792 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14793 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14794 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14795 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14796 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14797 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14798 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14799 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14800 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14801 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14802 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14803 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14804 * sysdeps/x86_64/strcspn.S: Likewise.
14805
14806 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14807
14808 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14809 generated file. Regenerate properly from gen-translit.pl.
14810 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14811 locale/C-translit.h.
14812
14813 2013-06-05 Andreas Schwab <schwab@suse.de>
14814
14815 [BZ #15100]
14816 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14817 week as 6 instead of -1.
14818 * time/tst-strptime.c (day_tests): Add test case.
14819
14820 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14821
14822 * sysdeps/generic/math_private.h
14823 (libc_feholdexcept_setround_53bit): Replace with
14824 libc_feholdsetround_53bit.
14825 (libc_feupdateenv_53bit): Replace with
14826 libc_feresetround_53bit.
14827 (SET_RESTORE_ROUND_53BIT): Adjust.
14828
14829 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14830
14831 * string/test-strchrnul.c: Add copyright header.
14832
14833 * posix/tst-getaddrinfo4.c: Increase test timeout.
14834
14835 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14836
14837 [BZ #15536]
14838 * math/libm-test.inc (MAX_EXP): Remove
14839 (MIN_EXP): Define.
14840 (ulp): Use MIN_EXP - MANT_DIG.
14841 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14842
14843 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14844
14845 * po/be.po: Revert last change.
14846 * po/zh_CN.po: Likewise.
14847 * po/header.pot: Likewise.
14848
14849 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14850
14851 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14852 link-libc-deps to empty as target-specific variable.
14853 * Makerules (link-libc-args): New variable.
14854 (libc-for-link): Likewise.
14855 (link-libc-deps): Likewise.
14856 (lib%.so): Depend on $(link-libc-deps). Link with
14857 $(link-libc-args).
14858 (build-module): Link with $(link-libc-args).
14859 (build-module-asneeded): Likewise.
14860 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14861 list of objects.
14862 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14863 target-specific variable.
14864 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14865 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14866 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14867 libc.
14868 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14869 libc and ld.so.
14870 ($(objpfx)libpcprofile.so): Likewise.
14871 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14872 libc_nonshared.a.
14873 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14874 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14875 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14876 $(link-libc-deps).
14877 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14878 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14879 * login/Makefile ($(objpfx)libutil.so): Likewise.
14880 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14881 * math/Makefile ($(objpfx)libm.so): Likewise.
14882 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14883 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14884 variable instead of depending directly on libc.
14885 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14886 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14887 $(link-libc-deps).
14888 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14889 libc.
14890 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14891 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14892 ($(objpfx)libanl.so): Likewise.
14893 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14894 ld.so.
14895 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14896 $(link-libc-deps).
14897 * sysdeps/i386/fpu/Makefile: Remove file.
14898 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14899 ($(objpfx)libm.so): Remove dependency on ld.so.
14900
14901 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14902
14903 [BZ # 15553]
14904 * nis/yp_xdr.c (XDRMAXNAME): Define.
14905 (XDRMAXRECORD): Define.
14906 (xdr_domainname): Use XDRMAXNAME.
14907 (xdr_mapname): Likewise.
14908 (xdr_peername): Likewise.
14909 (xdr_keydat): Use XDRMAXRECORD.
14910 (xdr_valdat): Likewise.
14911
14912 2013-05-30 Jeff Law <law@redhat.com>
14913
14914 [BZ #14256]
14915 * manual/errno.texi (ESTALE): Update to account for more than
14916 just NFS file systems.
14917 * sysdeps/gnu/errlist.c: Regenerated.
14918
14919 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14920
14921 [BZ #15465]
14922 * elf/Makefile (tests): Add tst-null-argv.
14923 (modules-names): Add tst-null-argv-lib.
14924 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14925 (tst-null-argv-ENV): Set environment for tst-null-argv.
14926 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14927 (RTLD_PROGNAME): New macro.
14928 * elf/tst-null-argv.c: New test case.
14929 * elf/tst-null-argv-lib.c: Library for test case.
14930 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14931 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14932 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14933 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14934 * elf/dl-init.c (call_init): Likewise.
14935 (_dl_init): Likewise.
14936 * elf/dl-load.c (print_search_path): Likewise.
14937 (_dl_map_object): Likewise.
14938 * elf/dl-lookup.c (do_lookup_x): Likewise.
14939 (add_dependency): Likewise.
14940 (_dl_lookup_symbol_x): Likewise.
14941 (_dl_debug_bindings): Likewise.
14942 * elf/dl-open.c (_dl_show_scope): Likewise.
14943 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14944 * elf/dl-version.c (match_symbol): Likewise.
14945 (_dl_check_map_versions): Likewise.
14946 * elf/rtld.c (dl_main): Likewise.
14947 (print_unresolved): Use RTLD_PROGNAME.
14948 (print_missing_version): Likewise.
14949 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14950 (elf_machine_rela): Likewise.
14951 * sysdeps/powerpc/powerpc32/dl-machine.c
14952 (__process_machine_rela): Likewise.
14953 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14954 Likewise.
14955 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14956 Likewise.
14957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14958 Likewise.
14959 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14961 Likewise.
14962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14963 Likewise.
14964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14965
14966 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14967
14968 * po/be.po: Add descriptive title.
14969 * po/zh_CN.po: Likewise.
14970 * po/header.pot: Likewise.
14971
14972 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14973
14974 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14975 error message.
14976 (enlarge_archive): Likewise.
14977
14978 2013-05-28 Ben North <ben@redfrontdoor.org>
14979
14980 * manual/arith.texi (frexp): It is the magnitude of the return
14981 value which lies in [0.5, 1), not the return value itself.
14982
14983 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14984
14985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14986
14987 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14988
14989 * stdio-common/bug26.c (main): Correct fscanf template.
14990
14991 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14992 declare _dl_skip_args.
14993
14994 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14995 Don't declare.
14996
14997 * manual/platform.texi: Add missing @end deftypefun.
14998
14999 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15000
15001 [BZ #15529]
15002 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15003 bit of mantissa of 2^16382.
15004 * math/libm-test.inc (hypot_test_data): Add more tests.
15005
15006 * math/libm-test.inc: Add drem and pow10 to list of tested
15007 functions.
15008 (pow10_test): New function.
15009 (drem_test): Likewise.
15010 (drem_test_tonearest): Likewise.
15011 (drem_test_towardzero): Likewise.
15012 (drem_test_downward): Likewise.
15013 (drem_test_upward): Likewise.
15014 (main): Call the new functions.
15015
15016 * math/libm-test.inc (finite_test_data): Remove.
15017 (finite_test): Run tests from isfinite_test_data.
15018 (gamma_test_data): Remove.
15019 (gamma_test): Run tests from lgamma_test_data.
15020 * sysdeps/i386/fpu/libm-test-ulps: Update.
15021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15022
15023 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15024
15025 * manual/platform.texi: Add PowerPC PPR function set documentation.
15026 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15027 implementation.
15028
15029 2013-05-24 Carlos O'Donell <carlos@redhat.com>
15030
15031 * math/libm-test.inc (MAX_EXP): Define.
15032 (ULPDIFF): Define.
15033 (ulp): New function.
15034 (check_float_internal): Use ULPDIFF.
15035 (cpow_test): Disable failing test.
15036 (check_ulp): Test ulp() implemetnation.
15037 (main): Call check_ulp before starting tests.
15038
15039 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15040
15041 * math/gen-libm-test.pl (generate_testfile): Do not handle
15042 START_DATA and END_DATA.
15043 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15044 END_DATA.
15045 (acos_tonearest_test_data): Likewise.
15046 (acos_towardzero_test_data): Likewise.
15047 (acos_downward_test_data): Likewise.
15048 (acos_upward_test_data): Likewise.
15049 (acosh_test_data): Likewise.
15050 (asin_test_data): Likewise.
15051 (asin_tonearest_test_data): Likewise.
15052 (asin_towardzero_test_data): Likewise.
15053 (asin_downward_test_data): Likewise.
15054 (asin_upward_test_data): Likewise.
15055 (asinh_test_data): Likewise.
15056 (atan_test_data): Likewise.
15057 (atanh_test_data): Likewise.
15058 (atan2_test_data): Likewise.
15059 (cabs_test_data): Likewise.
15060 (cacos_test_data): Likewise.
15061 (cacosh_test_data): Likewise.
15062 (carg_test_data): Likewise.
15063 (casin_test_data): Likewise.
15064 (casinh_test_data): Likewise.
15065 (catan_test_data): Likewise.
15066 (catanh_test_data): Likewise.
15067 (cbrt_test_data): Likewise.
15068 (ccos_test_data): Likewise.
15069 (ccosh_test_data): Likewise.
15070 (ceil_test_data): Likewise.
15071 (cexp_test_data): Likewise.
15072 (cimag_test_data): Likewise.
15073 (clog_test_data): Likewise.
15074 (clog10_test_data): Likewise.
15075 (conj_test_data): Likewise.
15076 (copysign_test_data): Likewise.
15077 (cos_test_data): Likewise.
15078 (cos_tonearest_test_data): Likewise.
15079 (cos_towardzero_test_data): Likewise.
15080 (cos_downward_test_data): Likewise.
15081 (cos_upward_test_data): Likewise.
15082 (cosh_test_data): Likewise.
15083 (cosh_tonearest_test_data): Likewise.
15084 (cosh_towardzero_test_data): Likewise.
15085 (cosh_downward_test_data): Likewise.
15086 (cosh_upward_test_data): Likewise.
15087 (cpow_test_data): Likewise.
15088 (cproj_test_data): Likewise.
15089 (creal_test_data): Likewise.
15090 (csin_test_data): Likewise.
15091 (csinh_test_data): Likewise.
15092 (csqrt_test_data): Likewise.
15093 (ctan_test_data): Likewise.
15094 (ctan_tonearest_test_data): Likewise.
15095 (ctan_towardzero_test_data): Likewise.
15096 (ctan_downward_test_data): Likewise.
15097 (ctan_upward_test_data): Likewise.
15098 (ctanh_test_data): Likewise.
15099 (ctanh_tonearest_test_data): Likewise.
15100 (ctanh_towardzero_test_data): Likewise.
15101 (ctanh_downward_test_data): Likewise.
15102 (ctanh_upward_test_data): Likewise.
15103 (erf_test_data): Likewise.
15104 (erfc_test_data): Likewise.
15105 (exp_test_data): Likewise.
15106 (exp_tonearest_test_data): Likewise.
15107 (exp_towardzero_test_data): Likewise.
15108 (exp_downward_test_data): Likewise.
15109 (exp_upward_test_data): Likewise.
15110 (exp10_test_data): Likewise.
15111 (exp2_test_data): Likewise.
15112 (expm1_test_data): Likewise.
15113 (fabs_test_data): Likewise.
15114 (fdim_test_data): Likewise.
15115 (finite_test_data): Likewise.
15116 (floor_test_data): Likewise.
15117 (fma_test_data): Likewise.
15118 (fma_towardzero_test_data): Likewise.
15119 (fma_downward_test_data): Likewise.
15120 (fma_upward_test_data): Likewise.
15121 (fmax_test_data): Likewise.
15122 (fmin_test_data): Likewise.
15123 (fmod_test_data): Likewise.
15124 (fpclassify_test_data): Likewise.
15125 (frexp_test_data): Likewise.
15126 (gamma_test_data): Likewise.
15127 (hypot_test_data): Likewise.
15128 (ilogb_test_data): Likewise.
15129 (isfinite_test_data): Likewise.
15130 (isgreater_test_data): Likewise.
15131 (isgreaterequal_test_data): Likewise.
15132 (isinf_test_data): Likewise.
15133 (isless_test_data): Likewise.
15134 (islessequal_test_data): Likewise.
15135 (islessgreater_test_data): Likewise.
15136 (isnan_test_data): Likewise.
15137 (isnormal_test_data): Likewise.
15138 (issignaling_test_data): Likewise.
15139 (isunordered_test_data): Likewise.
15140 (j0_test_data): Likewise.
15141 (j1_test_data): Likewise.
15142 (jn_test_data): Likewise.
15143 (ldexp_test_data): Likewise.
15144 (lgamma_test_data): Likewise.
15145 (lrint_test_data): Likewise.
15146 (lrint_tonearest_test_data): Likewise.
15147 (lrint_towardzero_test_data): Likewise.
15148 (lrint_downward_test_data): Likewise.
15149 (lrint_upward_test_data): Likewise.
15150 (llrint_test_data): Likewise.
15151 (llrint_tonearest_test_data): Likewise.
15152 (llrint_towardzero_test_data): Likewise.
15153 (llrint_downward_test_data): Likewise.
15154 (llrint_upward_test_data): Likewise.
15155 (log_test_data): Likewise.
15156 (log10_test_data): Likewise.
15157 (log1p_test_data): Likewise.
15158 (log2_test_data): Likewise.
15159 (logb_test_data): Likewise.
15160 (logb_downward_test_data): Likewise.
15161 (lround_test_data): Likewise.
15162 (llround_test_data): Likewise.
15163 (modf_test_data): Likewise.
15164 (nearbyint_test_data): Likewise.
15165 (nextafter_test_data): Likewise.
15166 (nexttoward_test_data): Likewise.
15167 (pow_test_data): Likewise.
15168 (pow_tonearest_test_data): Likewise.
15169 (pow_towardzero_test_data): Likewise.
15170 (pow_downward_test_data): Likewise.
15171 (pow_upward_test_data): Likewise.
15172 (remainder_test_data): Likewise.
15173 (remainder_tonearest_test_data): Likewise.
15174 (remainder_towardzero_test_data): Likewise.
15175 (remainder_downward_test_data): Likewise.
15176 (remainder_upward_test_data): Likewise.
15177 (remquo_test_data): Likewise.
15178 (rint_test_data): Likewise.
15179 (rint_tonearest_test_data): Likewise.
15180 (rint_towardzero_test_data): Likewise.
15181 (rint_downward_test_data): Likewise.
15182 (rint_upward_test_data): Likewise.
15183 (round_test_data): Likewise.
15184 (scalb_test_data): Likewise.
15185 (scalbn_test_data): Likewise.
15186 (scalbln_test_data): Likewise.
15187 (signbit_test_data): Likewise.
15188 (sin_test_data): Likewise.
15189 (sin_tonearest_test_data): Likewise.
15190 (sin_towardzero_test_data): Likewise.
15191 (sin_downward_test_data): Likewise.
15192 (sin_upward_test_data): Likewise.
15193 (sincos_test_data): Likewise.
15194 (sinh_test_data): Likewise.
15195 (sinh_tonearest_test_data): Likewise.
15196 (sinh_towardzero_test_data): Likewise.
15197 (sinh_downward_test_data): Likewise.
15198 (sinh_upward_test_data): Likewise.
15199 (sqrt_test_data): Likewise.
15200 (tan_test_data): Likewise.
15201 (tan_tonearest_test_data): Likewise.
15202 (tan_towardzero_test_data): Likewise.
15203 (tan_downward_test_data): Likewise.
15204 (tan_upward_test_data): Likewise.
15205 (tanh_test_data): Likewise.
15206 (tgamma_test_data): Likewise.
15207 (trunc_test_data): Likewise.
15208 (y0_test_data): Likewise.
15209 (y1_test_data): Likewise.
15210 (yn_test_data): Likewise.
15211 (significand_test_data): Likewise.
15212
15213 * math/gen-libm-test.pl (@functions): Remove variable.
15214 (generate_testfile): Don't handle START and END lines.
15215 * math/libm-test.inc (START): New macro.
15216 (END): Likewise.
15217 (END_COMPLEX): Likewise.
15218 (acos_test): Use END macro without arguments.
15219 (acos_test_tonearest): Likewise.
15220 (acos_test_towardzero): Likewise.
15221 (acos_test_downward): Likewise.
15222 (acos_test_upward): Likewise.
15223 (acosh_test): Likewise.
15224 (asin_test): Likewise.
15225 (asin_test_tonearest): Likewise.
15226 (asin_test_towardzero): Likewise.
15227 (asin_test_downward): Likewise.
15228 (asin_test_upward): Likewise.
15229 (asinh_test): Likewise.
15230 (atan_test): Likewise.
15231 (atanh_test): Likewise.
15232 (atan2_test): Likewise.
15233 (cabs_test): Likewise.
15234 (cacos_test): Use END_COMPLEX macro without arguments.
15235 (cacosh_test): Likewise.
15236 (carg_test): Use END macro without arguments.
15237 (casin_test): Use END_COMPLEX macro without arguments.
15238 (casinh_test): Likewise.
15239 (catan_test): Likewise.
15240 (catanh_test): Likewise.
15241 (cbrt_test): Use END macro without arguments.
15242 (ccos_test): Use END_COMPLEX macro without arguments.
15243 (ccosh_test): Likewise.
15244 (ceil_test): Use END macro without arguments.
15245 (cexp_test): Use END_COMPLEX macro without arguments.
15246 (cimag_test): Use END macro without arguments.
15247 (clog_test): Use END_COMPLEX macro without arguments.
15248 (clog10_test): Likewise.
15249 (conj_test): Likewise.
15250 (copysign_test): Use END macro without arguments.
15251 (cos_test): Likewise.
15252 (cos_test_tonearest): Likewise.
15253 (cos_test_towardzero): Likewise.
15254 (cos_test_downward): Likewise.
15255 (cos_test_upward): Likewise.
15256 (cosh_test): Likewise.
15257 (cosh_test_tonearest): Likewise.
15258 (cosh_test_towardzero): Likewise.
15259 (cosh_test_downward): Likewise.
15260 (cosh_test_upward): Likewise.
15261 (cpow_test): Use END_COMPLEX macro without arguments.
15262 (cproj_test): Likewise.
15263 (creal_test): Use END macro without arguments.
15264 (csin_test): Use END_COMPLEX macro without arguments.
15265 (csinh_test): Likewise.
15266 (csqrt_test): Likewise.
15267 (ctan_test): Likewise.
15268 (ctan_test_tonearest): Likewise.
15269 (ctan_test_towardzero): Likewise.
15270 (ctan_test_downward): Likewise.
15271 (ctan_test_upward): Likewise.
15272 (ctanh_test): Likewise.
15273 (ctanh_test_tonearest): Likewise.
15274 (ctanh_test_towardzero): Likewise.
15275 (ctanh_test_downward): Likewise.
15276 (ctanh_test_upward): Likewise.
15277 (erf_test): Use END macro without arguments.
15278 (erfc_test): Likewise.
15279 (exp_test): Likewise.
15280 (exp_test_tonearest): Likewise.
15281 (exp_test_towardzero): Likewise.
15282 (exp_test_downward): Likewise.
15283 (exp_test_upward): Likewise.
15284 (exp10_test): Likewise.
15285 (exp2_test): Likewise.
15286 (expm1_test): Likewise.
15287 (fabs_test): Likewise.
15288 (fdim_test): Likewise.
15289 (finite_test): Likewise.
15290 (floor_test): Likewise.
15291 (fma_test): Likewise.
15292 (fma_test_towardzero): Likewise.
15293 (fma_test_downward): Likewise.
15294 (fma_test_upward): Likewise.
15295 (fmax_test): Likewise.
15296 (fmin_test): Likewise.
15297 (fmod_test): Likewise.
15298 (fpclassify_test): Likewise.
15299 (frexp_test): Likewise.
15300 (gamma_test): Likewise.
15301 (hypot_test): Likewise.
15302 (ilogb_test): Likewise.
15303 (isfinite_test): Likewise.
15304 (isgreater_test): Likewise.
15305 (isgreaterequal_test): Likewise.
15306 (isinf_test): Likewise.
15307 (isless_test): Likewise.
15308 (islessequal_test): Likewise.
15309 (islessgreater_test): Likewise.
15310 (isnan_test): Likewise.
15311 (isnormal_test): Likewise.
15312 (issignaling_test): Likewise.
15313 (isunordered_test): Likewise.
15314 (j0_test): Likewise.
15315 (j1_test): Likewise.
15316 (jn_test): Likewise.
15317 (ldexp_test): Likewise.
15318 (lgamma_test): Likewise.
15319 (lrint_test): Likewise.
15320 (lrint_test_tonearest): Likewise.
15321 (lrint_test_towardzero): Likewise.
15322 (lrint_test_downward): Likewise.
15323 (lrint_test_upward): Likewise.
15324 (llrint_test): Likewise.
15325 (llrint_test_tonearest): Likewise.
15326 (llrint_test_towardzero): Likewise.
15327 (llrint_test_downward): Likewise.
15328 (llrint_test_upward): Likewise.
15329 (log_test): Likewise.
15330 (log10_test): Likewise.
15331 (log1p_test): Likewise.
15332 (log2_test): Likewise.
15333 (logb_test): Likewise.
15334 (logb_test_downward): Likewise.
15335 (lround_test): Likewise.
15336 (llround_test): Likewise.
15337 (modf_test): Likewise.
15338 (nearbyint_test): Likewise.
15339 (nextafter_test): Likewise.
15340 (nexttoward_test): Likewise.
15341 (pow_test): Likewise.
15342 (pow_test_tonearest): Likewise.
15343 (pow_test_towardzero): Likewise.
15344 (pow_test_downward): Likewise.
15345 (pow_test_upward): Likewise.
15346 (remainder_test): Likewise.
15347 (remainder_test_tonearest): Likewise.
15348 (remainder_test_towardzero): Likewise.
15349 (remainder_test_downward): Likewise.
15350 (remainder_test_upward): Likewise.
15351 (remquo_test): Likewise.
15352 (rint_test): Likewise.
15353 (rint_test_tonearest): Likewise.
15354 (rint_test_towardzero): Likewise.
15355 (rint_test_downward): Likewise.
15356 (rint_test_upward): Likewise.
15357 (round_test): Likewise.
15358 (scalb_test): Likewise.
15359 (scalbn_test): Likewise.
15360 (scalbln_test): Likewise.
15361 (signbit_test): Likewise.
15362 (sin_test): Likewise.
15363 (sin_test_tonearest): Likewise.
15364 (sin_test_towardzero): Likewise.
15365 (sin_test_downward): Likewise.
15366 (sin_test_upward): Likewise.
15367 (sincos_test): Likewise.
15368 (sinh_test): Likewise.
15369 (sinh_test_tonearest): Likewise.
15370 (sinh_test_towardzero): Likewise.
15371 (sinh_test_downward): Likewise.
15372 (sinh_test_upward): Likewise.
15373 (sqrt_test): Likewise.
15374 (tan_test): Likewise.
15375 (tan_test_tonearest): Likewise.
15376 (tan_test_towardzero): Likewise.
15377 (tan_test_downward): Likewise.
15378 (tan_test_upward): Likewise.
15379 (tanh_test): Likewise.
15380 (tgamma_test): Likewise.
15381 (trunc_test): Likewise.
15382 (y0_test): Likewise.
15383 (y1_test): Likewise.
15384 (yn_test): Likewise.
15385 (significand_test): Likewise.
15386
15387 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15388
15389 [BZ #15381]
15390 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15391
15392 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15393
15394 [BZ #14894]
15395 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15396 __ppc_mdoio and __ppc_mdoom.
15397 * manual/platform.texi: Document new functions __ppc_yield,
15398 __ppc_mdoio and __ppc_mdoom.
15399
15400 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15401
15402 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15403 (main): Mention "tls" pseudo-hwcap is legacy.
15404 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15405
15406 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15407
15408 * math/gen-libm-test.pl (parse_args): Output only string of
15409 arguments as text for test name, not full call or descriptions of
15410 tests for extra outputs.
15411 (generate_testfile): Do not pass function name to parse_args.
15412 Generate this_func variable from START.
15413 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15414 field to arg_str.
15415 (struct test_ff_f_data): Likewise.
15416 (test_ff_f_data_nexttoward): Likewise.
15417 (struct test_fi_f_data): Likewise.
15418 (struct test_fl_f_data): Likewise.
15419 (struct test_if_f_data): Likewise.
15420 (struct test_fff_f_data): Likewise.
15421 (struct test_c_f_data): Likewise.
15422 (struct test_f_f1_data): Likewise. Remove field extra_name.
15423 (struct test_fF_f1_data): Likewise.
15424 (struct test_ffI_f1_data): Likewise.
15425 (struct test_c_c_data): Rename test_name field to arg_str.
15426 (struct test_cc_c_data): Likewise.
15427 (struct test_f_i_data): Likewise.
15428 (struct test_ff_i_data): Likewise.
15429 (struct test_f_l_data): Likewise.
15430 (struct test_f_L_data): Likewise.
15431 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15432 and extra2_name.
15433 (COMMON_TEST_SETUP): New macro.
15434 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15435 (COMMON_TEST_CLEANUP): Likewise.
15436 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15437 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15438 macros.
15439 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15440 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15441 macros.
15442 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15443 (RUN_TEST_fff_f): Take argument string. Call new setup and
15444 cleanup macros.
15445 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15446 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15447 macros.
15448 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15449 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15450 macros.
15451 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15452 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15453 cleanup macros.
15454 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15455 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15456 cleanup macros.
15457 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15458 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15459 cleanup macros.
15460 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15461 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15462 macros.
15463 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15464 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15465 macros.
15466 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15467 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15468 macros.
15469 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15470 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15471 cleanup macros.
15472 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15473 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15474 cleanup macros.
15475 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15476 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15477 macros.
15478 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15479 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15480 cleanup macros.
15481 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15482 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15483 macros.
15484 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15485 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15486 macros.
15487 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15488 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15489 cleanup macros.
15490 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15491
15492 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15493
15494 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15495 to _sifields.sigfault.
15496 (si_addr_lsb): Define new macro.
15497 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15499 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15500
15501 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15502
15503 [BZ #15441]
15504 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15505 returns -1.
15506 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15507 null return -1.
15508 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15509 loading the domain.
15510
15511 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15512
15513 * math/gen-libm-test.pl (parse_args): Do not include expected
15514 result in test name.
15515 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15517 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15518 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15521
15522 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15523
15524 * benchtests/Makefile: Sort function entries.
15525
15526 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15527 tanh, asinh, acosh, atanh.
15528 * benchtests/acos-inputs: New file.
15529 * benchtests/acosh-inputs: New file.
15530 * benchtests/asin-inputs: New file.
15531 * benchtests/asinh-inputs: New file.
15532 * benchtests/atanh-inputs: New file.
15533 * benchtests/cosh-inputs: New file.
15534 * benchtests/log-inputs: New file.
15535 * benchtests/sinh-inputs: New file.
15536 * benchtests/tanh-inputs: New file.
15537
15538 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15539
15540 [BZ #15339]
15541 * posix/tst-getaddrinfo4.c: New test.
15542 * posix/Makefile (tests): Add it.
15543
15544 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15545
15546 [BZ #15339]
15547 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15548 when no services were used.
15549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15550 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15551
15552 2013-05-21 Andreas Schwab <schwab@suse.de>
15553
15554 [BZ #15014]
15555 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15556 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15557 successful.
15558 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15559 redundant variable declarations and reallocation of buffer when
15560 parsing as IPv6 address. Always set NSS status when called from
15561 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15562 buffer too small. Correct computation of needed size.
15563 * nss/Makefile (tests): Add test-digits-dots.
15564 * nss/test-digits-dots.c: New test.
15565
15566 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15567
15568 * benchtests/Makefile: Remove instructions for adding
15569 benchmark tests.
15570 * benchtests/README: New file to explain how to execute and
15571 enhance the benchmark tests.
15572
15573 2013-05-21 Andreas Schwab <schwab@suse.de>
15574
15575 [BZ #15493]
15576 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15577 * setjmp/tst-sigsetjmp.c: New test.
15578
15579 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15580
15581 * sysdeps/x86_64/memset.S (memset): New implementation.
15582 (__bzero): Likewise.
15583 (__memset_tail): New function.
15584
15585 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15586
15587 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15588 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15589 __memcpy_sse2_unaligned ifunc selection.
15590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15591 Add memcpy-sse2-unaligned.S.
15592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15593 Add: __memcpy_sse2_unaligned.
15594
15595 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15596
15597 [BZ #15490]
15598 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15599 math_force_eval before restoring floating-point envrionment.
15600 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15602 Likewise.
15603 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15604 <math_private.h>.
15605 (__nearbyintl): Use math_force_eval before restoring
15606 floating-point environment.
15607 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15608
15609 * math/gen-libm-test.pl (special_functions): Remove.
15610 (parse_args): Don't handle TEST_extra. Handle functions with no
15611 return value.
15612 * math/libm-test.inc (struct test_sincos_data): Replace with
15613 struct test_fFF_11_data.
15614 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15615 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15616 (sincos_test_data): Change element type to struct
15617 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15618 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15619 RUN_TEST_LOOP_sincos.
15620 * math/README.libm-test: Don't mention special handling of
15621 individual functions.
15622 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15623 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15624 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15625 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15626 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15628
15629 * math/gen-libm-test.pl (get_variable): Remove function.
15630 (parse_args): Don't show pointer parameters to call in test
15631 names. Use "extra output N" in test names for extra outputs
15632 rather than naming variables.
15633
15634 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15635
15636 [BZ #15488]
15637 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15638 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15639 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15640 double tests.
15641 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15642 disable.
15643 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15644 check_long_double.
15645
15646 * math/gen-libm-test.pl (@tests): Remove variable.
15647 ($count): Likewise.
15648 (new_test): Remove function.
15649 (show_exceptions): New function.
15650 (special_functions): Use show_exceptions instead of new_test.
15651 (parse_args): Likewise.
15652 (generate_testfile): Pass only function name in generated call to
15653 print_max_error or print_complex_max_error.
15654 (get_ulps): Do not handle complex tests specially.
15655 (output_test): Rename to ...
15656 (get_all_ulps_for_test): ... this. Return a string rather than
15657 printing to a file. Require ulps to be present.
15658 (output_ulps): Generate arrays rather than #defines.
15659 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15660 (struct ulp_data): New type.
15661 (BUILD_COMPLEX_ULP): Remove macro.
15662 (compare_ulp_data): New function.
15663 (find_ulps): Likewise.
15664 (find_test_ulps): Likewise.
15665 (find_function_ulps): Likewise.
15666 (find_complex_function_ulps): Likewise.
15667 (print_max_error): Determine allowed ulps using
15668 find_function_ulps.
15669 (print_complex_max_error): Determine allowed ulps using
15670 find_complex_function_ulps.
15671 (check_float_internal): Determine max ulps using find_test_ulps.
15672 (check_float): Do not take max_ulp parameter. Update call to
15673 check_float_internal.
15674 (check_complex): Likewise.
15675 (check_int): Do not take max_ulp parameter.
15676 (check_long): Likewise.
15677 (check_bool): Likewise.
15678 (check_longlong): Likewise.
15679 (struct test_f_f_data): Remove max_ulp field.
15680 (struct test_ff_f_data): Likewise.
15681 (struct test_ff_f_data_nexttoward): Likewise.
15682 (struct test_fi_f_data): Likewise.
15683 (struct test_fl_f_data): Likewise.
15684 (struct test_if_f_data): Likewise.
15685 (struct test_fff_f_data): Likewise.
15686 (struct test_c_f_data): Likewise.
15687 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15688 (struct test_fF_f1_data): Likewise.
15689 (struct test_ffI_f1_data): Likewise.
15690 (struct test_c_c_data): Remove max_ulp field.
15691 (struct test_cc_c_data): Likewise.
15692 (struct test_f_i_data): Likewise.
15693 (struct test_ff_i_data): Likewise.
15694 (struct test_f_l_data): Likewise.
15695 (struct test_f_L_data): Likewise.
15696 (struct test_sincos_data): Likewise.
15697 (RUN_TEST_f_f): Do not handle ulps.
15698 (RUN_TEST_LOOP_f_f): Likewise.
15699 (RUN_TEST_2_f): Likewise.
15700 (RUN_TEST_LOOP_2_f): Likewise.
15701 (RUN_TEST_fff_f): Likewise.
15702 (RUN_TEST_LOOP_fff_f): Likewise.
15703 (RUN_TEST_c_f): Likewise.
15704 (RUN_TEST_LOOP_c_f): Likewise.
15705 (RUN_TEST_f_f1): Likewise.
15706 (RUN_TEST_LOOP_f_f1): Likewise.
15707 (RUN_TEST_fF_f1): Likewise.
15708 (RUN_TEST_LOOP_fF_f1): Likewise.
15709 (RUN_TEST_fI_f1): Likewise.
15710 (RUN_TEST_LOOP_fI_f1): Likewise.
15711 (RUN_TEST_ffI_f1): Likewise.
15712 (RUN_TEST_LOOP_ffI_f1): Likewise.
15713 (RUN_TEST_c_c): Likewise.
15714 (RUN_TEST_LOOP_c_c): Likewise.
15715 (RUN_TEST_cc_c): Likewise.
15716 (RUN_TEST_LOOP_cc_c): Likewise.
15717 (RUN_TEST_f_i): Likewise.
15718 (RUN_TEST_LOOP_f_i): Likewise.
15719 (RUN_TEST_f_i_tg): Likewise.
15720 (RUN_TEST_LOOP_f_i_tg): Likewise.
15721 (RUN_TEST_ff_i_tg): Likewise.
15722 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15723 (RUN_TEST_f_b): Likewise.
15724 (RUN_TEST_LOOP_f_b): Likewise.
15725 (RUN_TEST_f_b_tg): Likewise.
15726 (RUN_TEST_LOOP_f_b_tg): Likewise.
15727 (RUN_TEST_f_l): Likewise.
15728 (RUN_TEST_LOOP_f_l): Likewise.
15729 (RUN_TEST_f_L): Likewise.
15730 (RUN_TEST_LOOP_f_L): Likewise.
15731 (RUN_TEST_sincos): Likewise.
15732 (RUN_TEST_LOOP_sincos): Likewise.
15733
15734 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15735
15736 [BZ #15480]
15737 [BZ #15485]
15738 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15739 main case of finite arguments, set rounding mode to FE_TONEAREST
15740 and discard exceptions.
15741 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15742 exceptions.
15743 (remainder_tonearest_test_data): New variable.
15744 (remainder_test_tonearest): New function.
15745 (remainder_towardzero_test_data): New variable.
15746 (remainder_test_towardzero): New function.
15747 (remainder_downward_test_data): New variable.
15748 (remainder_test_downward): New function.
15749 (remainder_upward_test_data): New variable.
15750 (remainder_test_upward): New function.
15751 (main): Call the new test functions.
15752
15753 * math/libm-test.inc (struct test_f_f1_data): Remove field
15754 extra_init.
15755 (struct test_fF_f1_data): Likewise.
15756 (struct test_ffI_f1_data): Likewise.
15757 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15758 based on value of EXTRA_EXPECTED.
15759 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15760 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15761 EXTRA_VAR based on value of EXTRA_EXPECTED.
15762 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15763 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15764 EXTRA_VAR based on value of EXTRA_EXPECTED.
15765 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15766 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15767 EXTRA_VAR based on value of EXTRA_EXPECTED.
15768 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15769 * math/gen-libm-test.pl (parse_args): Don't output initializers
15770 for extra output values.
15771
15772 * math/libm-test.inc (check_int): Expect result to be exactly
15773 equal to expected value and do not handle ulps.
15774 (check_long): Likewise.
15775 (check_longlong): Likewise.
15776
15777 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15778 exceptions.
15779 (cimag_test_data): Likewise.
15780 (conj_test_data): Likewise.
15781 (copysign_test_data): Likewise.
15782 (cproj_test_data): Likewise.
15783 (creal_test_data): Likewise.
15784 (fabs_test_data): Likewise.
15785 (fdim_test_data): Likewise.
15786 (finite_test_data): Likewise.
15787 (floor_test_data): Likewise.
15788 (fmax_test_data): Likewise.
15789 (fmin_test_data): Likewise.
15790 (fmod_test_data): Likewise.
15791 (fpclassify_test_data): Likewise.
15792 (frexp_test_data): Likewise.
15793 (ilogb_test_data): Likewise.
15794 (isfinite_test_data): Likewise.
15795 (isgreater_test_data): Likewise.
15796 (isgreaterequal_test_data): Likewise.
15797 (isinf_test_data): Likewise.
15798 (isless_test_data): Likewise.
15799 (islessequal_test_data): Likewise.
15800 (islessgreater_test_data): Likewise.
15801 (isnan_test_data): Likewise.
15802 (isnormal_test_data): Likewise.
15803 (issignaling_test_data): Likewise.
15804 (isunordered_test_data): Likewise.
15805 (ldexp_test_data): Likewise.
15806 (lrint_test_data): Likewise.
15807 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15808 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15809 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15810 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15811 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15812 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15813 test input.
15814 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15815 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15816 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15817 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15818 that test input.
15819 (lrint_downward_test_data): Test for "inexact" exceptions.
15820 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15821 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15822 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15823 test input.
15824 (lrint_upward_test_data): Test for "inexact" exceptions.
15825 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15826 test input.
15827 (llrint_test_data): Test for "inexact" exceptions.
15828 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15829 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15830 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15831 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15832 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15833 (llrint_downward_test_data): Test for "inexact" exceptions.
15834 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15835 (llrint_upward_test_data): Test for "inexact" exceptions.
15836 (logb_test_data): Likewise.
15837 (logb_downward_test_data): Likewise.
15838 (nextafter_test_data): Likewise.
15839 (nexttoward_test_data): Likewise.
15840 (remainder_test_data): Likewise.
15841 (remquo_test_data): Likewise.
15842 (scalbn_test_data): Likewise.
15843 (scalbln_test_data): Likewise.
15844 (signbit_test_data): Likewise.
15845 (sqrt_test_data): Likewise.
15846 (significand_test_data): Likewise.
15847
15848 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15849
15850 [BZ #15424]
15851 * benchtests/bench-modf.c (struct args): Mark arg0 as
15852 volatile.
15853 * scripts/bench.pl: Mark members of struct args as volatile.
15854
15855 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15856
15857 [BZ # 15497]
15858 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15859 negative infinity on POWER6 or lower.
15860 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15861
15862 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15863
15864 [BZ #15442]
15865 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15866 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15867 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15868 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15869 (_FP_SETQNAN): New macro.
15870 (_FP_SETQNAN_SEMIRAW): Likewise.
15871 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15872 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15873 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15874 (FP_EXTEND): Use _FP_FRAC_SNANP.
15875 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15876 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15877 into account.
15878 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15879 New macro.
15880 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15881 Likewise.
15882
15883 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15884
15885 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15886 with DIVIDE_BY_ZERO_EXCEPTION.
15887 (gamma_test_data): Likewise.
15888 (lgamma_test_data): Likewise.
15889 (log_test_data): Likewise.
15890 (log10_test_data): Likewise.
15891 (log2_test_data): Likewise.
15892 (tgamma_test_data): Likewise.
15893
15894 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15895 (acos_test_tonearest): Likewise.
15896 (acos_test_towardzero): Likewise.
15897 (acos_test_downward): Likewise.
15898 (acos_test_upward): Likewise.
15899 (acosh_test): Likewise.
15900 (asin_test): Likewise.
15901 (asin_test_tonearest): Likewise.
15902 (asin_test_towardzero): Likewise.
15903 (asin_test_downward): Likewise.
15904 (asin_test_upward): Likewise.
15905 (asinh_test): Likewise.
15906 (atan_test): Likewise.
15907 (atanh_test): Likewise.
15908 (atan2_test): Likewise.
15909 (cabs_test): Likewise.
15910 (cacos_test): Likewise.
15911 (cacosh_test): Likewise.
15912 (casin_test): Likewise.
15913 (casinh_test): Likewise.
15914 (catan_test): Likewise.
15915 (catanh_test): Likewise.
15916 (cbrt_test): Likewise.
15917 (ccos_test): Likewise.
15918 (ccosh_test): Likewise.
15919 (cexp_test): Likewise.
15920 (clog_test): Likewise.
15921 (clog10_test): Likewise.
15922 (cos_test): Likewise.
15923 (cos_test_tonearest): Likewise.
15924 (cos_test_towardzero): Likewise.
15925 (cos_test_downward): Likewise.
15926 (cos_test_upward): Likewise.
15927 (cosh_test): Likewise.
15928 (cosh_test_tonearest): Likewise.
15929 (cosh_test_towardzero): Likewise.
15930 (cosh_test_downward): Likewise.
15931 (cosh_test_upward): Likewise.
15932 (cpow_test): Likewise.
15933 (csin_test): Likewise.
15934 (csinh_test): Likewise.
15935 (csqrt_test): Likewise.
15936 (ctan_test): Likewise.
15937 (ctan_test_tonearest): Likewise.
15938 (ctan_test_towardzero): Likewise.
15939 (ctan_test_downward): Likewise.
15940 (ctan_test_upward): Likewise.
15941 (ctanh_test): Likewise.
15942 (ctanh_test_tonearest): Likewise.
15943 (ctanh_test_towardzero): Likewise.
15944 (ctanh_test_downward): Likewise.
15945 (ctanh_test_upward): Likewise.
15946 (erf_test): Likewise.
15947 (erfc_test): Likewise.
15948 (exp_test): Likewise.
15949 (exp_test_tonearest): Likewise.
15950 (exp_test_towardzero): Likewise.
15951 (exp_test_downward): Likewise.
15952 (exp_test_upward): Likewise.
15953 (exp10_test): Likewise.
15954 (exp2_test): Likewise.
15955 (expm1_test): Likewise.
15956 (fmod_test): Likewise.
15957 (gamma_test): Likewise.
15958 (hypot_test): Likewise.
15959 (j0_test): Likewise.
15960 (j1_test): Likewise.
15961 (jn_test): Likewise.
15962 (lgamma_test): Likewise.
15963 (log_test): Likewise.
15964 (log10_test): Likewise.
15965 (log1p_test): Likewise.
15966 (log2_test): Likewise.
15967 (logb_test_downward): Likewise.
15968 (pow_test): Likewise.
15969 (pow_test_tonearest): Likewise.
15970 (pow_test_towardzero): Likewise.
15971 (pow_test_downward): Likewise.
15972 (pow_test_upward): Likewise.
15973 (remainder_test): Likewise.
15974 (remquo_test): Likewise.
15975 (sin_test): Likewise.
15976 (sin_test_tonearest): Likewise.
15977 (sin_test_towardzero): Likewise.
15978 (sin_test_downward): Likewise.
15979 (sin_test_upward): Likewise.
15980 (sincos_test): Likewise.
15981 (sinh_test): Likewise.
15982 (sinh_test_tonearest): Likewise.
15983 (sinh_test_towardzero): Likewise.
15984 (sinh_test_downward): Likewise.
15985 (sinh_test_upward): Likewise.
15986 (sqrt_test): Likewise.
15987 (tan_test): Likewise.
15988 (tan_test_tonearest): Likewise.
15989 (tan_test_towardzero): Likewise.
15990 (tan_test_downward): Likewise.
15991 (tan_test_upward): Likewise.
15992 (tanh_test): Likewise.
15993 (tgamma_test): Likewise.
15994 (y0_test): Likewise.
15995 (y1_test): Likewise.
15996 (yn_test): Likewise.
15997
15998 * math/gen-libm-test.pl (adjust_arg): Remove function.
15999 (special_function): Remove argument $in_func. Only handle
16000 generating output for tables of tests, not inside functions.
16001 (parse_args): Likewise.
16002 (generate_testfile): Remove variable $in_func. Update call to
16003 parse_args.
16004 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16005 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16006 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16007 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16008 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16009 (MAX_VALUE_INIT): Rename macro to max_value.
16010 (MIN_VALUE_INIT): Rename macro to min_value.
16011 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16012 (plus_zero): Remove variable.
16013 (minus_zero): Likewise.
16014 (plus_infty): Likewise.
16015 (minus_infty): Likewise.
16016 (qnan_value): Likewise.
16017 (max_value): Likewise.
16018 (min_value): Likewise.
16019 (min_subnorm_value): Likewise.
16020
16021 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16022
16023 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16024 uint64_t or uint32_t usage.
16025 * crypt/sha256-block.c: Likewise.
16026 * crypt/sha256-crypt.c: Likewise.
16027 * crypt/sha256.c: Likewise.
16028 * crypt/sha512-block.c: Likewise.
16029 * crypt/sha512-crypt.c: Likewise.
16030 * crypt/sha512.c: Likewise.
16031 * debug/backtrace-tst.c: Likewise.
16032 * debug/pcprofiledump.c: Likewise.
16033 * elf/cache.c: Likewise.
16034 * elf/dl-cache.c: Likewise.
16035 * elf/dl-misc.c: Likewise.
16036 * elf/dl-profile.c: Likewise.
16037 * elf/dl-support.c: Likewise.
16038 * elf/ldconfig.c: Likewise.
16039 * elf/sprof.c: Likewise.
16040 * iconv/dummy-repertoire.c: Likewise.
16041 * iconv/iconv_charmap.c: Likewise.
16042 * iconv/skeleton.c: Likewise.
16043 * iconvdata/8bit-generic.c: Likewise.
16044 * iconvdata/cp737.h: Likewise.
16045 * iconvdata/cp775.h: Likewise.
16046 * iconvdata/ibm1008.h: Likewise.
16047 * iconvdata/ibm1025.h: Likewise.
16048 * iconvdata/ibm1046.h: Likewise.
16049 * iconvdata/ibm1097.h: Likewise.
16050 * iconvdata/ibm1112.h: Likewise.
16051 * iconvdata/ibm1122.h: Likewise.
16052 * iconvdata/ibm1123.h: Likewise.
16053 * iconvdata/ibm1124.h: Likewise.
16054 * iconvdata/ibm1129.h: Likewise.
16055 * iconvdata/ibm1130.h: Likewise.
16056 * iconvdata/ibm1132.h: Likewise.
16057 * iconvdata/ibm1133.h: Likewise.
16058 * iconvdata/ibm1137.h: Likewise.
16059 * iconvdata/ibm1140.h: Likewise.
16060 * iconvdata/ibm1141.h: Likewise.
16061 * iconvdata/ibm1142.h: Likewise.
16062 * iconvdata/ibm1143.h: Likewise.
16063 * iconvdata/ibm1144.h: Likewise.
16064 * iconvdata/ibm1145.h: Likewise.
16065 * iconvdata/ibm1146.h: Likewise.
16066 * iconvdata/ibm1147.h: Likewise.
16067 * iconvdata/ibm1148.h: Likewise.
16068 * iconvdata/ibm1149.h: Likewise.
16069 * iconvdata/ibm1153.h: Likewise.
16070 * iconvdata/ibm1154.h: Likewise.
16071 * iconvdata/ibm1155.h: Likewise.
16072 * iconvdata/ibm1156.h: Likewise.
16073 * iconvdata/ibm1157.h: Likewise.
16074 * iconvdata/ibm1158.h: Likewise.
16075 * iconvdata/ibm1160.h: Likewise.
16076 * iconvdata/ibm1161.h: Likewise.
16077 * iconvdata/ibm1162.h: Likewise.
16078 * iconvdata/ibm1163.h: Likewise.
16079 * iconvdata/ibm1164.h: Likewise.
16080 * iconvdata/ibm1166.h: Likewise.
16081 * iconvdata/ibm1167.h: Likewise.
16082 * iconvdata/ibm12712.h: Likewise.
16083 * iconvdata/ibm1390.h: Likewise.
16084 * iconvdata/ibm1399.h: Likewise.
16085 * iconvdata/ibm16804.h: Likewise.
16086 * iconvdata/ibm4517.h: Likewise.
16087 * iconvdata/ibm4899.h: Likewise.
16088 * iconvdata/ibm4909.h: Likewise.
16089 * iconvdata/ibm4971.h: Likewise.
16090 * iconvdata/ibm5347.h: Likewise.
16091 * iconvdata/ibm803.h: Likewise.
16092 * iconvdata/ibm856.h: Likewise.
16093 * iconvdata/ibm901.h: Likewise.
16094 * iconvdata/ibm902.h: Likewise.
16095 * iconvdata/ibm9030.h: Likewise.
16096 * iconvdata/ibm9066.h: Likewise.
16097 * iconvdata/ibm921.h: Likewise.
16098 * iconvdata/ibm922.h: Likewise.
16099 * iconvdata/ibm9448.h: Likewise.
16100 * iconvdata/isiri-3342.h: Likewise.
16101 * iconvdata/jis0201.h: Likewise.
16102 * include/link.h: Likewise.
16103 * include/netdb.h: Likewise.
16104 * inet/check_native.c: Likewise.
16105 * inet/check_pf.c: Likewise.
16106 * inet/getipv4sourcefilter.c: Likewise.
16107 * inet/getnameinfo.c: Likewise.
16108 * inet/getsourcefilter.c: Likewise.
16109 * inet/htonl.c: Likewise.
16110 * inet/setipv4sourcefilter.c: Likewise.
16111 * inet/setsourcefilter.c: Likewise.
16112 * inet/test-inet6_opt.c: Likewise.
16113 * inet/tst-network.c: Likewise.
16114 * locale/C-collate.c: Likewise.
16115 * locale/C-ctype.c: Likewise.
16116 * locale/C-time.c: Likewise.
16117 * locale/C-translit.h: Likewise.
16118 * locale/loadarchive.c: Likewise.
16119 * locale/programs/3level.h: Likewise.
16120 * locale/programs/charmap.c: Likewise.
16121 * locale/programs/charmap.h: Likewise.
16122 * locale/programs/ld-address.c: Likewise.
16123 * locale/programs/ld-collate.c: Likewise.
16124 * locale/programs/ld-ctype.c: Likewise.
16125 * locale/programs/ld-identification.c: Likewise.
16126 * locale/programs/ld-measurement.c: Likewise.
16127 * locale/programs/ld-messages.c: Likewise.
16128 * locale/programs/ld-monetary.c: Likewise.
16129 * locale/programs/ld-name.c: Likewise.
16130 * locale/programs/ld-numeric.c: Likewise.
16131 * locale/programs/ld-paper.c: Likewise.
16132 * locale/programs/ld-telephone.c: Likewise.
16133 * locale/programs/ld-time.c: Likewise.
16134 * locale/programs/linereader.c: Likewise.
16135 * locale/programs/locale.c: Likewise.
16136 * locale/programs/locarchive.c: Likewise.
16137 * locale/programs/locfile.h: Likewise.
16138 * locale/programs/repertoire.c: Likewise.
16139 * locale/programs/simple-hash.c: Likewise.
16140 * locale/programs/simple-hash.h: Likewise.
16141 * malloc/memusage.c: Likewise.
16142 * malloc/memusagestat.c: Likewise.
16143 * nis/nis_defaults.c: Likewise.
16144 * nis/nis_hash.c: Likewise.
16145 * nis/nis_print.c: Likewise.
16146 * nis/nis_xdr.c: Likewise.
16147 * nscd/connections.c: Likewise.
16148 * nscd/hstcache.c: Likewise.
16149 * nscd/nscd_gethst_r.c: Likewise.
16150 * nscd/nscd_getserv_r.c: Likewise.
16151 * nscd/nscd_helper.c: Likewise.
16152 * nscd/servicescache.c: Likewise.
16153 * nss/makedb.c: Likewise.
16154 * nss/nss_db/db-XXX.c: Likewise.
16155 * nss/nss_db/db-initgroups.c: Likewise.
16156 * nss/nss_db/db-netgrp.c: Likewise.
16157 * nss/nss_files/files-network.c: Likewise.
16158 * nss/nss_files/files-parse.c: Likewise.
16159 * posix/bug-regex5.c: Likewise.
16160 * posix/fnmatch_loop.c: Likewise.
16161 * posix/regcomp.c: Likewise.
16162 * posix/regexec.c: Likewise.
16163 * posix/tst-rfc3484-2.c: Likewise.
16164 * posix/tst-rfc3484-3.c: Likewise.
16165 * posix/tst-rfc3484.c: Likewise.
16166 * resolv/nss_dns/dns-canon.c: Likewise.
16167 * resolv/nss_dns/dns-network.c: Likewise.
16168 * resolv/res_init.c: Likewise.
16169 * resolv/res_mkquery.c: Likewise.
16170 * resolv/tst-aton.c: Likewise.
16171 * stdlib/cxa_atexit.c: Likewise.
16172 * stdlib/cxa_finalize.c: Likewise.
16173 * stdlib/gen-fpioconst.c: Likewise.
16174 * stdlib/strtol_l.c: Likewise.
16175 * string/tst-endian.c: Likewise.
16176 * sunrpc/auth_des.c: Likewise.
16177 * sunrpc/clnt_udp.c: Likewise.
16178 * sunrpc/rtime.c: Likewise.
16179 * sunrpc/svcauth_des.c: Likewise.
16180 * sunrpc/xdr.c: Likewise.
16181 * sunrpc/xdr_intXX_t.c: Likewise.
16182 * sunrpc/xdr_rec.c: Likewise.
16183 * sysdeps/generic/ldconfig.h: Likewise.
16184 * sysdeps/generic/ldsodefs.h: Likewise.
16185 * sysdeps/generic/memusage.h: Likewise.
16186 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16187 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16188 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16189 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16190 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16192 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16193 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16194 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16196 * sysdeps/posix/getaddrinfo.c: Likewise.
16197 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16198 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16199 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16200 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16201 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16202 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16203 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16204 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16205 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16206 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16207 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16208 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16209 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16210 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16211 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16212 * sysdeps/x86_64/dl-tls.h: Likewise.
16213 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16214 * time/alt_digit.c: Likewise.
16215 * time/era.c: Likewise.
16216 * wcsmbs/tst-c16c32-1.c: Likewise.
16217
16218 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16219
16220 * math/libm-test.inc (struct test_sincos_data): New type.
16221 (RUN_TEST_LOOP_sincos): New macro.
16222 (sincos_test_data): New variable.
16223 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16224
16225 2013-05-16 Richard Henderson <rth@redhat.com>
16226
16227 * math/atest-exp2.c (LIMB64): New macro.
16228 (CONSTSZ): New macro.
16229 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16230 (hexdig): Move ...
16231 (print_mpn_fp): ... to function scope.
16232 (read_mpn_hex): Remove.
16233 (get_log2): Remove.
16234 (exp2_mpn): Use mp_log2.
16235 (main): Use mp_exp1.
16236
16237 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16238
16239 * math/libm-test.inc: Remove comment about not testing "inexact"
16240 exceptions.
16241 (INEXACT_EXCEPTION): New macro.
16242 (NO_INEXACT_EXCEPTION): Likewise.
16243 (INVALID_EXCEPTION_OK): Update value.
16244 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16245 (OVERFLOW_EXCEPTION_OK): Likewise.
16246 (UNDERFLOW_EXCEPTION_OK): Likewise.
16247 (IGNORE_ZERO_INF_SIGN): Likewise.
16248 (ERRNO_UNCHANGED): Likewise.
16249 (ERRNO_EDOM): Likewise.
16250 (ERRNO_ERANGE): Likewise.
16251 (test_exceptions): Handle testing "inexact" exceptions.
16252 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16253 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16254 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16255 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16256 INEXACT_EXCEPTION.
16257 (rint_towardzero_test_data): Likewise.
16258 (rint_downward_test_data): Likewise.
16259 (rint_upward_test_data): Likewise.
16260
16261 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16262 with OVERFLOW_EXCEPTION.
16263 (exp10_test_data): Likewise.
16264 (exp2_test_data): Likewise.
16265 (expm1_test_data): Likewise.
16266 (lgamma_test_data): Likewise.
16267 (pow_test_data): Likewise.
16268 (tgamma_test_data): Likewise.
16269 (yn_test_data): Remove duplicate test of overflow.
16270
16271 * math/libm-test.inc (struct test_cc_c_data): New type.
16272 (RUN_TEST_LOOP_cc_c): New macro.
16273 (cpow_test_data): New variable.
16274 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16275
16276 * math/libm-test.inc (struct test_f_L_data): New type.
16277 (RUN_TEST_LOOP_f_L): New macro.
16278 (llrint_test_data): New variable.
16279 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16280 (llrint_tonearest_test_data): New variable.
16281 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16282 (llrint_towardzero_test_data): New variable.
16283 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16284 (llrint_downward_test_data): New variable.
16285 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16286 (llrint_upward_test_data): New variable.
16287 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16288 (llround_test_data): New variable.
16289 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16290
16291 2013-05-13 Peter Collingbourne <pcc@google.com>
16292
16293 * math/atest-exp2.c (get_log2): Remove const attribute.
16294
16295 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16296
16297 * math/libm-test.inc (struct test_f_l_data): New type.
16298 (RUN_TEST_LOOP_f_l): New macro.
16299 (lrint_test_data): New variable.
16300 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16301 (lrint_tonearest_test_data): New variable.
16302 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16303 (lrint_towardzero_test_data): New variable.
16304 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16305 (lrint_downward_test_data): New variable.
16306 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16307 (lrint_upward_test_data): New variable.
16308 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16309 (lround_test_data): New variable.
16310 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16311
16312 2013-05-15 Peter Collingbourne <pcc@google.com>
16313
16314 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16315 (EXTRACT_WORDS64) Use where appropriate.
16316 (INSERT_WORDS64) Likewise.
16317
16318 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16319 constraints with x constraints.
16320 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16321
16322 * malloc/obstack.c (_obstack_compat): Add initializer.
16323
16324 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16325
16326 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16327 si_trapno and add si_addr_lsb to _sifields.sigfault.
16328 (si_trapno): Remove macro.
16329 (si_addr_lsb): Define new macro.
16330 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16331
16332 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16333
16334 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16335 instead of TEST_f_l.
16336 (llrint_test_tonearest): Likewise.
16337 (llrint_test_towardzero): Likewise.
16338 (llrint_test_downward): Likewise.
16339 (llrint_test_upward): Likewise.
16340 (llround_test): Likewise.
16341
16342 * math/libm-test.inc (struct test_f_i_data): Add comment.
16343 (RUN_TEST_LOOP_f_b): New macro.
16344 (RUN_TEST_LOOP_f_b_tg): Likewise.
16345 (finite_test_data): New variable.
16346 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16347 (isfinite_test_data): New variable.
16348 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16349 (isinf_test_data): New variable.
16350 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16351 (isnan_test_data): New variable.
16352 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16353 (isnormal_test_data): New variable.
16354 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16355 (issignaling_test_data): New variable.
16356 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16357 (signbit_test_data): New variable.
16358 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16359
16360 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16361 with INVALID_EXCEPTION.
16362 (acosh_test_data): Likewise.
16363 (asin_test_data): Likewise.
16364 (atanh_test_data): Likewise.
16365 (fmod_test_data): Likewise.
16366 (log_test_data): Likewise.
16367 (log10_test_data): Likewise.
16368 (log2_test_data): Likewise.
16369 (pow_test_data): Likewise.
16370 (sqrt_test_data): Likewise.
16371 (y0_test_data): Likewise.
16372 (y1_test_data): Likewise.
16373 (yn_test_data): Likewise.
16374
16375 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16376 function contents.
16377
16378 * math/libm-test.inc (struct test_ff_i_data): New type.
16379 (RUN_TEST_LOOP_ff_i_tg): New macro.
16380 (isgreater_test_data): New variable.
16381 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16382 (isgreaterequal_test_data): New variable.
16383 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16384 (isless_test_data): New variable.
16385 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16386 (islessequal_test_data): New variable.
16387 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16388 (islessgreater_test_data): New variable.
16389 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16390 (isunordered_test_data): New variable.
16391 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16392
16393 2013-05-14 David S. Miller <davem@davemloft.net>
16394
16395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16396
16397 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16398
16399 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16400
16401 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16402 extra_test to int.
16403 (struct test_f_i_data): Change type of max_ulp to int.
16404
16405 * math/libm-test.inc (test_ffI_f1_data): New type.
16406 (RUN_TEST_LOOP_ffI_f1): New macro.
16407 (remquo_test_data): New variable.
16408 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16409
16410 * setjmp/tst-setjmp-fp.c: New file.
16411 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16412 (link-libm): New variable.
16413 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16414
16415 * math/libm-test.inc (struct test_f_i_data): New type.
16416 (RUN_TEST_LOOP_f_i): New macro.
16417 (RUN_TEST_LOOP_f_i_tg): Likewise.
16418 (fpclassify_test_data): New variable.
16419 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16420 (ilogb_test_data): New variable.
16421 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16422
16423 * math/libm-test.inc (scalbln_test): Correct function name in END
16424 call.
16425
16426 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16427 (RUN_TEST_LOOP_fI_f1): New macro.
16428 (frexp_test_data): New variable.
16429 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16430
16431 * math/libm-test.inc (struct test_fF_f1_data): New type.
16432 (RUN_TEST_LOOP_fF_f1): New macro.
16433 (modf_test_data): New variable.
16434 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16435
16436 * math/libm-test.inc (struct test_f_f1_data): New type.
16437 (RUN_TEST_LOOP_f_f1): New macro.
16438 (gamma_test_data): New variable.
16439 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16440 (lgamma_test_data): New variable.
16441 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16442
16443 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16444
16445 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16446 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16447 (main): Comment "tls" pseudo-hwcap.
16448
16449 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16450
16451 * math/libm-test.inc (struct test_fl_f_data): New type.
16452 (RUN_TEST_LOOP_fl_f): New variable.
16453 (scalbln_test_data): New variable.
16454 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16455
16456 * math/libm-test.inc (struct test_fi_f_data): New type.
16457 (RUN_TEST_LOOP_fi_f): New macro.
16458 (ldexp_test_data): New variable.
16459 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16460 (scalbn_test_data): New variable.
16461 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16462
16463 * math/libm-test.inc (struct test_c_f_data): New type.
16464 (RUN_TEST_LOOP_c_f): New macro.
16465 (cabs_test_data): New variable.
16466 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16467 (carg_test_data): New variable.
16468 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16469 (cimag_test_data): New variable.
16470 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16471 (creal_test_data): New variable.
16472 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16473
16474 * math/libm-test.inc (struct test_if_f_data): New type.
16475 (RUN_TEST_LOOP_if_f): New macro.
16476 (jn_test_data): New variable.
16477 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16478 (yn_test_data): New variable.
16479 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16480
16481 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16482
16483 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16484
16485 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16486 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16487
16488 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16489
16490 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16491 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16492 (bench-deps): Add bench-timing.h.
16493 * benchtests-bench-skeleton.c: Include bench-timing.h.
16494 (main): Use TIMING_* macros instead of clock_gettime.
16495 * benchtests/bench-timing.h: New file.
16496
16497 [BZ #14582]
16498 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16499 Renamed from _LIB_VERSION.
16500 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16501
16502 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16503
16504 * math/libm-test.inc (struct test_fff_f_data): New type.
16505 (RUN_TEST_LOOP_fff_f): New macro.
16506 (fma_test_data): New variable.
16507 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16508 (fma_towardzero_test_data): New variable.
16509 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16510 (fma_downward_test_data): New variable.
16511 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16512 (fma_upward_test_data): New variable.
16513 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16514
16515 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16516 (struct test_c_c_data): New type.
16517 (RUN_TEST_LOOP_c_c): New macro.
16518 (cacos_test_data): New variable.
16519 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16520 (cacosh_test_data): New variable.
16521 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16522 (casin_test_data): New variable.
16523 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16524 (casinh_test_data): New variable.
16525 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16526 (catan_test_data): New variable.
16527 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16528 (catanh_test_data): New variable.
16529 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16530 (ccos_test_data): New variable.
16531 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16532 (ccosh_test_data): New variable.
16533 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16534 (cexp_test_data): New variable.
16535 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16536 (clog_test_data): New variable.
16537 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16538 (clog10_test_data): New variable.
16539 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16540 (conj_test_data): New variable.
16541 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16542 (cproj_test_data): New variable.
16543 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16544 (csin_test_data): New variable.
16545 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16546 (csinh_test_data): New variable.
16547 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16548 (csqrt_test_data): New variable.
16549 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16550 (ctan_test_data): New variable.
16551 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16552 (ctan_tonearest_test_data): New variable.
16553 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16554 (ctan_towardzero_test_data): New variable.
16555 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16556 (ctan_downward_test_data): New variable.
16557 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16558 (ctan_upward_test_data): New variable.
16559 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16560 (ctanh_test_data): New variable.
16561 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16562 (ctanh_tonearest_test_data): New variable.
16563 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16564 (ctanh_towardzero_test_data): New variable.
16565 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16566 (ctanh_downward_test_data): New variable.
16567 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16568 (ctanh_upward_test_data): New variable.
16569 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16570 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16571 of BUILD_COMPLEX.
16572
16573 * math/libm-test.inc (struct test_ff_f_data): New type.
16574 (struct test_ff_f_data_nexttoward): Likewise.
16575 (RUN_TEST_LOOP_2_f): New macro.
16576 (RUN_TEST_LOOP_ff_f): Likewise.
16577 (atan2_test_data): New variable.
16578 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16579 (copysign_test_data): New variable.
16580 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16581 (fdim_test_data): New variable.
16582 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16583 (fmax_test_data): New variable.
16584 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16585 (fmin_test_data): New variable.
16586 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16587 (fmod_test_data): New variable.
16588 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16589 (hypot_test_data): New variable.
16590 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16591 (nextafter_test_data): New variable.
16592 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16593 (nexttoward_test_data): New variable.
16594 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16595 (pow_test_data): New variable.
16596 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16597 (pow_tonearest_test_data): New variable.
16598 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16599 (pow_towardzero_test_data): New variable.
16600 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16601 (pow_downward_test_data): New variable.
16602 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16603 (pow_upward_test_data): New variable.
16604 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16605 (remainder_test_data): New variable.
16606 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16607 (scalb_test_data): New variable.
16608 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16609 * sysdeps/i386/fpu/libm-test-ulps: Update.
16610
16611 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16612
16613 * math/libm-test.inc (fma_test): Use max_value instead of local
16614 variable fltmax.
16615 (nextafter_test): Likewise.
16616
16617 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16618 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16619 (acos_downward_test_data): New variable.
16620 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16621 (acos_upward_test_data): New variable.
16622 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16623 (acosh_test_data): New variable.
16624 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16625 (asin_test_data): New variable.
16626 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16627 (asin_tonearest_test_data): New variable.
16628 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16629 (asin_towardzero_test_data): New variable.
16630 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16631 (asin_downward_test_data): New variable.
16632 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16633 (asin_upward_test_data): New variable.
16634 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16635 (asinh_test_data): New variable.
16636 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16637 (atan_test_data): New variable.
16638 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16639 (atanh_test_data): New variable.
16640 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16641 (cbrt_test_data): New variable.
16642 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16643 (ceil_test_data): New variable.
16644 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16645 (cos_test_data): New variable.
16646 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16647 (cos_tonearest_test_data): New variable.
16648 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16649 (cos_towardzero_test_data): New variable.
16650 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16651 (cos_downward_test_data): New variable.
16652 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16653 (cos_upward_test_data): New variable.
16654 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16655 (cosh_test_data): New variable.
16656 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16657 (cosh_tonearest_test_data): New variable.
16658 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16659 (cosh_towardzero_test_data): New variable.
16660 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16661 (cosh_downward_test_data): New variable.
16662 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16663 (cosh_upward_test_data): New variable.
16664 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16665 (erf_test_data): New variable.
16666 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16667 (erfc_test_data): New variable.
16668 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16669 (exp_test_data): New variable.
16670 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16671 (exp_tonearest_test_data): New variable.
16672 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16673 (exp_towardzero_test_data): New variable.
16674 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16675 (exp_downward_test_data): New variable.
16676 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16677 (exp_upward_test_data): New variable.
16678 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16679 (exp10_test_data): New variable.
16680 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16681 (exp2_test_data): New variable.
16682 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16683 (expm1_test_data): New variable.
16684 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16685 (fabs_test_data): New variable.
16686 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16687 (floor_test_data): New variable.
16688 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16689 (j0_test_data): New variable.
16690 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16691 (j1_test_data): New variable.
16692 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16693 (log_test_data): New variable.
16694 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16695 (log10_test_data): New variable.
16696 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16697 (log1p_test_data): New variable.
16698 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16699 (log2_test_data): New variable.
16700 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16701 (logb_test_data): New variable.
16702 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16703 (logb_downward_test_data): New variable.
16704 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16705 (nearbyint_test_data): New variable.
16706 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16707 (rint_test_data): New variable.
16708 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16709 (rint_tonearest_test_data): New variable.
16710 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16711 (rint_towardzero_test_data): New variable.
16712 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16713 (rint_downward_test_data): New variable.
16714 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16715 (rint_upward_test_data): New variable.
16716 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16717 (round_test_data): New variable.
16718 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16719 (sin_test_data): New variable.
16720 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16721 (sin_tonearest_test_data): New variable.
16722 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16723 (sin_towardzero_test_data): New variable.
16724 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16725 (sin_downward_test_data): New variable.
16726 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16727 (sin_upward_test_data): New variable.
16728 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16729 (sinh_test_data): New variable.
16730 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16731 (sinh_tonearest_test_data): New variable.
16732 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16733 (sinh_towardzero_test_data): New variable.
16734 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16735 (sinh_downward_test_data): New variable.
16736 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16737 (sinh_upward_test_data): New variable.
16738 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16739 (sqrt_test_data): New variable.
16740 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16741 (tan_test_data): New variable.
16742 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16743 (tan_tonearest_test_data): New variable.
16744 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16745 (tan_towardzero_test_data): New variable.
16746 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16747 (tan_downward_test_data): New variable.
16748 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16749 (tan_upward_test_data): New variable.
16750 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16751 (tanh_test_data): New variable.
16752 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16753 (tgamma_test_data): New variable.
16754 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16755 (trunc_test_data): New variable.
16756 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16757 (y0_test_data): New variable.
16758 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16759 (y1_test_data): New variable.
16760 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16761 (significand_test_data): New variable.
16762 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16763
16764 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16765
16766 [BZ #12387]
16767 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16768
16769 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16770
16771 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16772
16773 2013-05-10 Andreas Jaeger <aj@suse.de>
16774
16775 [BZ #15448]
16776 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16777 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16778
16779 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16780
16781 * math/gen-libm-test.pl (adjust_arg): New function.
16782 (special_functions): Handle generating output in both functions
16783 and arrays.
16784 (parse_args): Likewise.
16785 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16786 $in_func argument to parse_args.
16787 * math/libm-test.inc (struct test_f_f_data): New type.
16788 (IF_ROUND_INIT_): New macro.
16789 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16790 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16791 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16792 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16793 (ROUND_RESTORE_): Likewise.
16794 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16795 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16796 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16797 (ROUND_RESTORE_FE_UPWARD): Likewise.
16798 (RUN_TEST_LOOP_f_f): New macro.
16799 (acos_test_data): New variable.
16800 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16801 (acos_tonearest_test_data): New variable.
16802 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16803
16804 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16805
16806 * benchtests/bench-skeleton.c (startup): Fix coding style.
16807
16808 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16809
16810 [BZ #6809]
16811 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16812 negative infinity argument.
16813 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16814 negative infinity argument.
16815 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16816 negative infinity argument.
16817 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16818 domain errors.
16819
16820 2013-05-10 Florian Weimer <fweimer@redhat.com>
16821
16822 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16823 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16824 * iconv/iconv_prog.c (main): Likewise.
16825 * locale/programs/charmap-dir.c (charmap_readdir)
16826 (fopen_uncompressed): Likewise.
16827 * locale/programs/locfile.c (siblings_uncached)
16828 (write_locale_data): Use lstat64 instead of lstat.
16829 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16830 stat.
16831
16832 2013-05-10 Andreas Jaeger <aj@suse.de>
16833
16834 [BZ #15395]
16835 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16836 localization.
16837 Include <locale.h>.
16838
16839 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16840
16841 * elf/dl-close.c (_dl_close_worker): Add comments.
16842
16843 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16844
16845 [BZ #15359]
16846 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16847 high part of pi/2.
16848 (__ieee754_rem_pio2l): Update comments.
16849
16850 [BZ #15429]
16851 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16852 high part of pi/2.
16853 (__ieee754_rem_pio2l): Update comments.
16854
16855 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16856 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16857
16858 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16859 M_PI_4l.
16860
16861 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16862 (M_PI_34_LOG10El): Likewise.
16863 (M_PI2_LOG10El): Likewise.
16864 (M_PI4_LOG10El): Likewise.
16865 (M_PI_LOG10El): Likewise.
16866
16867 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16868
16869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16870
16871 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16872
16873 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16874 (MINUS_ZERO_INIT): Likewise.
16875 (PLUS_INFTY_INIT): Likewise.
16876 (MINUS_INFTY_INIT): Likewise.
16877 (QNAN_VALUE_INIT): Likewise.
16878 (MAX_VALUE_INIT): Likewise.
16879 (MIN_VALUE_INIT): Likewise.
16880 (MIN_SUBNORM_VALUE_INIT): Likewise.
16881 (plus_zero): Initialize with PLUS_ZERO_INIT.
16882 (minus_zero): Initialize with MINUS_ZERO_INIT.
16883 (plus_infty): Initialize with PLUS_INFTY_INIT.
16884 (minus_infty): Initialize with MINUS_INFTY_INIT.
16885 (qnan_value): Initialize with QNAN_VALUE_INIT.
16886 (max_value): Initialize with MAX_VALUE_INIT.
16887 (min_value): Initialize with MIN_VALUE_INIT.
16888 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16889
16890 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16891 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16892 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16893 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16894
16895 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16896 (RUN_TEST_2_f): Likewise.
16897 (RUN_TEST_ff_f): Likewise.
16898 (RUN_TEST_fi_f): Likewise.
16899 (RUN_TEST_fl_f): Likewise.
16900 (RUN_TEST_fff_f): Likewise.
16901 (RUN_TEST_c_f): Likewise.
16902 (RUN_TEST_f_f1): Likewise.
16903 (RUN_TEST_fF_f1): Likewise.
16904 (RUN_TEST_fI_f1): Likewise.
16905 (RUN_TEST_ffI_f1): Likewise.
16906 (RUN_TEST_c_c): Likewise.
16907 (RUN_TEST_cc_c): Likewise.
16908 (RUN_TEST_f_i): Likewise.
16909 (RUN_TEST_f_i_tg): Likewise.
16910 (RUN_TEST_ff_i_tg): Likewise.
16911 (RUN_TEST_f_b): Likewise.
16912 (RUN_TEST_f_b_tg): Likewise.
16913 (RUN_TEST_f_l): Likewise.
16914 (RUN_TEST_f_L): Likewise.
16915 (RUN_TEST_sincos): Likewise.
16916 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16917 whether to show exceptions. Do not include ");\n" in return
16918 value.
16919 (special_functions): Output call to RUN_TEST_sincos instead of
16920 check_float calls. Update calls to new_test.
16921 (parse_args): Output call to single RUN_TEST_* macro instead of
16922 check_* calls and other assignments. Update calls to new_test.
16923
16924 [BZ #2546]
16925 [BZ #2560]
16926 [BZ #5159]
16927 [BZ #15426]
16928 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16929 input to result for tgamma overflow.
16930 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16931 (gamma_coeff): New variable.
16932 (NCOEFF): New macro.
16933 (gamma_positive): New function.
16934 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16935 underflow here. Use gamma_positive instead of exp (lgamma) for
16936 other arguments.
16937 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16938 (gamma_coeff): New variable.
16939 (NCOEFF): New macro.
16940 (gammaf_positive): New function.
16941 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16942 underflow here. Use gamma_positive instead of exp (lgamma) for
16943 other arguments.
16944 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16945 (gamma_coeff): New variable.
16946 (NCOEFF): New macro.
16947 (gammal_positive): New function.
16948 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16949 underflow here. Use gamma_positive instead of exp (lgamma) for
16950 other arguments.
16951 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16952 (gamma_coeff): New variable.
16953 (NCOEFF): New macro.
16954 (gammal_positive): New function.
16955 (__ieee754_gammal_r): Handle positive infinity, overflow and
16956 underflow here. Handle NaN the same as positive infinity. Remove
16957 check x < 0xffffffff for negative integers. Use gamma_positive
16958 instead of exp (lgamma) for other arguments.
16959 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16960 (gamma_coeff): New variable.
16961 (NCOEFF): New macro.
16962 (gammal_positive): New function.
16963 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16964 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16968 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16969 * sysdeps/generic/math_private.h (__gamma_productf): New
16970 prototype.
16971 (__gamma_product): Likewise.
16972 (__gamma_productl): Likewise.
16973 * math/Makefile (libm-calls): Add gamma_product.
16974 * math/libm-test.inc (tgamma_test): Add more tests.
16975 * sysdeps/i386/fpu/libm-test-ulps: Update.
16976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16977
16978 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16979
16980 * benchtests/bench-skeleton.c (main): Preheat CPU.
16981
16982 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16983
16984 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16985
16986 2013-05-07 Roland McGrath <roland@hack.frob.com>
16987
16988 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16989 and _dl_skip_args_internal.
16990
16991 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16992
16993 * manual/message.texi (Message Translation): Talk about users.
16994 Message to key mapping impacts design.
16995
16996 2013-05-06 Roland McGrath <roland@hack.frob.com>
16997
16998 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16999
17000 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17001
17002 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17003 * sysdeps/wordsize-64/glob64.c: ... here.
17004
17005 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17006 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17007 New macros.
17008
17009 * debug/getlogin_r_chk.c: Moved to ...
17010 * login/getlogin_r_chk.c: ... here.
17011 * debug/Makefile (routines): Move getlogin_r_chk to ...
17012 * login/Makefile (routines): ... here.
17013 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17014 * login/Versions (libc: GLIBC_2.4): ... here.
17015
17016 * io/poll.c (__poll): Renamed from poll.
17017 Add libc_hidden_def.
17018 (poll): Define as weak alias.
17019
17020 * debug/ptsname_r_chk.c: Moved to ...
17021 * login/ptsname_r_chk.c: ... here.
17022 * debug/Makefile (routines): Move ptsname_r_chk to ...
17023 * login/Makefile (routines): ... here.
17024 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17025 * login/Versions (libc: GLIBC_2.4): ... here.
17026
17027 * posix/getlogin.c: Moved to ...
17028 * login/getlogin.c: ... here.
17029 * posix/getlogin_r.c: Moved to ...
17030 * login/getlogin_r.c: ... here.
17031 * posix/getlogin_r.c: Moved to ...
17032 * login/getlogin_r.c: ... here.
17033 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17034 * login/Makefile (routines): ... here.
17035 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17036 * login/Versions (libc: GLIBC_2.0): ... here.
17037
17038 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17039 (setrlimit): Define as weak alias.
17040
17041 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17042 Call __ names for open, ftruncate, and close.
17043 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17044 (truncate): Define as weak alias.
17045
17046 2013-05-06 Joseph Myers <joseph@codesourcery.com>
17047
17048 * math/gen-libm-test.pl (parse_args): Initialize x before each
17049 test of frexp, modf and remquo.
17050
17051 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17052 test signgam value.
17053
17054 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17055
17056 [BZ #15418]
17057 [BZ #15419]
17058 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17059 internal tests.
17060 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17061
17062 2013-05-06 Roland McGrath <roland@hack.frob.com>
17063
17064 * elf/dl-writev.h: New file.
17065 * elf/dl-misc.c: Include it.
17066 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17067 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17068
17069 2013-05-04 Joseph Myers <joseph@codesourcery.com>
17070
17071 * math/libm-test.inc (noXFails): Remove variable.
17072 (noXPasses): Likewise.
17073 (BUILD_COMPLEX_INT): Remove macro.
17074 (print_screen): Remove xfail argument.
17075 (print_screen_max_error): Likewise.
17076 (update_stats): Likewise.
17077 (print_max_error): Likewise. Update calls to other affected
17078 functions.
17079 (print_complex_max_error): Likewise.
17080 (test_single_exception): Update calls to print_screen.
17081 (test_single_errno): Likewise.
17082 (check_float_internal): Remove xfail argument. Update calls to
17083 other affected functions.
17084 (check_float): Likewise.
17085 (check_complex): Likewise.
17086 (check_int): Likewise.
17087 (check_long): Likewise.
17088 (check_bool): Likewise.
17089 (check_longlong): Likewise.
17090 (main): Don't print noXFails and noXPasses.
17091 * math/gen-libm-test.pl (top level): Don't mention expected
17092 failure handling in comment.
17093 (new_test): Don't handle expected failures.
17094 (parse_args): Don't mention expected failure handling in comment.
17095 (generate_testfile): Don't handle expected failures.
17096 (parse_ulps): Likewise.
17097 (print_ulps_file): Likewise.
17098 (get_failure): Remove function.
17099 (output_test): Don't handle expected failures.
17100 * make/README.libm-test: Don't mention expected failure handling.
17101
17102 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17103 (minus_zero): Likewise.
17104 (plus_infty): Likewise.
17105 (minus_infty): Likewise.
17106 (qnan_value): Likewise.
17107 (max_value): Likewise.
17108 (min_value): Likewise.
17109 (min_subnorm_value): Likewise.
17110 (initialize): Do not initialize those variables dynamically.
17111
17112 2013-05-03 Roland McGrath <roland@hack.frob.com>
17113
17114 * io/open.c (__open_2): Moved to ...
17115 * io/open_2.c: ... this new file.
17116 * io/open64.c (__open64_2): Moved to ...
17117 * io/open64_2.c: ... this new file.
17118 * io/openat.c (__openat_2): Moved to ...
17119 * io/openat_2.c: ... this new file.
17120 * io/openat64.c (__openat64_2): Moved to ...
17121 * io/openat64_2.c: ... this new file.
17122 * io/Makefile (routines): Add them.
17123 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17124 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17125 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17126 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17127 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17128 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17129 (__openat64): Add hidden_ver.
17130 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17131 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17132
17133 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17134 Separately conditionalize setting of GLRO(dl_sysinfo) so
17135 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17136 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17137
17138 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17139
17140 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17141 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17142 definition.
17143 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17144 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17145 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17146 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17147 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17148
17149 2013-05-03 Joseph Myers <joseph@codesourcery.com>
17150
17151 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17152 test signgam value.
17153
17154 * math/libm-test.inc (hypot_test): Do not use
17155 IGNORE_ZERO_INF_SIGN.
17156
17157 2013-05-03 Andreas Jaeger <aj@suse.de>
17158
17159 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17160 Linux 3.9.
17161 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17162 (PF_MAX): Adjust for VSOCK change.
17163
17164 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17165
17166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17167
17168 2013-05-02 Carlos O'Donell <carlos@redhat.com>
17169
17170 [BZ #15264]
17171 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17172 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17173 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17174
17175 2013-05-02 David S. Miller <davem@davemloft.net>
17176
17177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17178
17179 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
17180
17181 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17182
17183 2013-05-01 Roland McGrath <roland@hack.frob.com>
17184
17185 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17186
17187 2013-05-01 Richard Smith <richard@metafoo.co.uk>
17188
17189 [BZ #14952]
17190 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17191 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17192 Use __attribute__ ((__gnu_inline__)).
17193 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17194 Don't use __attribute__ ((__gnu_inline__)).
17195
17196 2013-05-01 Joseph Myers <joseph@codesourcery.com>
17197
17198 [BZ #15423]
17199 * math/s_catan.c (__catan): Handle small real or imaginary part of
17200 input specially to avoid spurious underflow.
17201 * math/s_catanf.c (__catanf): Likewise.
17202 * math/s_catanh.c (__catanh): Likewise.
17203 * math/s_catanhf.c (__catanhf): Likewise.
17204 * math/s_catanhl.c (__catanhl): Likewise.
17205 * math/s_catanl.c (__catanl): Likewise.
17206 * math/libm-test.inc (catan_test): Add more tests.
17207 (catanh_test): Likewise.
17208 * sysdeps/i386/fpu/libm-test-ulps: Update.
17209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17210
17211 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17212
17213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17214
17215 2013-04-30 Joseph Myers <joseph@codesourcery.com>
17216
17217 [BZ #15416]
17218 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17219 accurately for denominator in atan2.
17220 * math/s_catanf.c (__catanf): Likewise.
17221 * math/s_catanh.c (__catanh): Likewise.
17222 * math/s_catanhf.c (__catanhf): Likewise.
17223 * math/s_catanhl.c (__catanhl): Likewise.
17224 * math/s_catanl.c (__catanl): Likewise.
17225 * math/libm-test.inc (catan_test): Add more tests.
17226 (catanh_test): Likewise.
17227 * sysdeps/i386/fpu/libm-test-ulps: Update.
17228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17229
17230 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17231
17232 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17233
17234 * benchtests/Makefile (bench): Remove slow benchmarks.
17235 * benchtests/atan-inputs: Add slow benchmark inputs.
17236 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17237 (BENCH_FUNC): Accept variant offset.
17238 (VARIANT): Define.
17239 * benchtests/bench-skeleton.c (main): Run benchmark for each
17240 variant.
17241 * benchtests/cos-inputs: Add slow benchmark inputs.
17242 * benchtests/exp-inputs: Likewise.
17243 * benchtests/pow-inputs: Likewise.
17244 * benchtests/sin-inputs: Likewise.
17245 * benchtests/slowatan-inputs: Remove.
17246 * benchtests/slowatan.c: Remove.
17247 * benchtests/slowcos-inputs: Remove.
17248 * benchtests/slowcos.c: Remove.
17249 * benchtests/slowexp-inputs: Remove.
17250 * benchtests/slowexp.c: Remove.
17251 * benchtests/slowpow-inputs: Remove.
17252 * benchtests/slowpow.c: Remove.
17253 * benchtests/slowsin-inputs: Remove.
17254 * benchtests/slowsin.c: Remove.
17255 * benchtests/slowtan-inputs: Remove.
17256 * benchtests/slowtan.c: Remove.
17257 * benchtests/tan-inputs: Add slow benchmark inputs.
17258 * scripts/bench.pl: Parse comments and directives.
17259
17260 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17261 in CPPFLAGS.
17262 ($(objpfx)bench-%.c): Remove *-ITER.
17263 * benchtests/bench-modf.c: Remove definition of ITER.
17264 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17265 (main): Loop for DURATION seconds instead of fixed number of
17266 iterations.
17267 * scripts/bench.pl: Don't expect iterations in parameters.
17268
17269 2013-04-29 Roland McGrath <roland@hack.frob.com>
17270
17271 * io/fchdir.c (__fchdir): Renamed from fchdir.
17272 (fchdir): Define as weak alias.
17273
17274 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17275
17276 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17277 (ERRNO_EDOM): Likewise.
17278 (ERRNO_ERANGE): Likewise.
17279 (noErrnoTests): New variable.
17280 (init_max_error): Set errno to 0.
17281 (test_single_errno): New function.
17282 (test_errno): Likewise.
17283 (check_float_internal): Call test_errno. Set errno to 0.
17284 (check_complex): Refer to errno tests in comment.
17285 (check_int): Call test_errno. Set errno to 0.
17286 (check_long): Likewise.
17287 (check_bool): Likewise.
17288 (check_longlong): Likewise.
17289 (cos_test): Use ERRNO_* flags for errno tests instead of
17290 check_int.
17291 (expm1_test): Likewise.
17292 (fmod_test): Likewise.
17293 (ilogb_test): Likewise.
17294 (lgamma_test): Likewise.
17295 (pow_test): Likewise.
17296 (remainder_test): Likewise.
17297 (sin_test): Likewise.
17298 (tan_test): Likewise.
17299 (yn_test): Likewise.
17300 (initialize): Set errno to 0.
17301 (main): Print number of errno tests.
17302 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17303
17304 2013-04-29 Andreas Jaeger <aj@suse.de>
17305
17306 [BZ #15084]
17307 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17308 and RES_USEVC.
17309
17310 [BZ #15085]
17311 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17312 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17313 unimplemented.
17314
17315 [BZ #15380]
17316 * stdlib/random.c (__initstate): Return NULL if
17317 __initstate fails.
17318
17319 [BZ #15086]
17320 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17321 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17322 RES_SNGLKUPREOP.
17323
17324 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17325
17326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17327
17328 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17329
17330 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17331 of individual tests.
17332 (casin_test): Likewise.
17333 (casinh_test): Likewise.
17334
17335 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17336
17337 [BZ #15409]
17338 * math/s_catan.c (__catan): Handle arguments with large real or
17339 imaginary part separately without squaring.
17340 * math/s_catanf.c (__catanf): Likewise.
17341 * math/s_catanh.c (__catanh): Likewise.
17342 * math/s_catanhf.c (__catanhf): Likewise.
17343 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17344 and redefine.
17345 (__catanhl): Handle arguments with large real or imaginary part
17346 separately without squaring.
17347 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17348 and redefine.
17349 (__catanl): Handle arguments with large real or imaginary part
17350 separately without squaring.
17351 * math/libm-test.inc (catan_test): Add more tests.
17352 (catanh_test): Likewise.
17353 * sysdeps/i386/fpu/libm-test-ulps: Update.
17354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17355
17356 2013-04-27 Andreas Jaeger <aj@suse.de>
17357
17358 [BZ #15007]
17359 * stdlib/stdlib.h: Update guards for qecvt.
17360 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17361 <stdlib.h>.
17362
17363 2013-04-27 Allan McRae <allan@archlinux.org>
17364
17365 * sysdeps/i386/fpu/libm-test-ulps: Update.
17366
17367 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17368
17369 [BZ #15406]
17370 * math/s_catan.c: Include <float.h>.
17371 (__catan): Ensure underflow exception occurs for underflowed
17372 result.
17373 * math/s_catanf.c: Include <float.h>.
17374 (__catanf): Ensure underflow exception occurs for underflowed
17375 result.
17376 * math/s_catanh.c: Include <float.h>.
17377 (__catanh): Ensure underflow exception occurs for underflowed
17378 result.
17379 * math/s_catanhf.c: Include <float.h>.
17380 (__catanhf): Ensure underflow exception occurs for underflowed
17381 result.
17382 * math/s_catanhl.c: Include <float.h>.
17383 (__catanhl): Ensure underflow exception occurs for underflowed
17384 result.
17385 * math/s_catanl.c: Include <float.h>.
17386 (__catanl): Ensure underflow exception occurs for underflowed
17387 result.
17388 * math/libm-test.inc (catan_test): Add more tests.
17389 (catanh_test): Likewise.
17390
17391 [BZ #15405]
17392 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17393 underflowed result.
17394 * math/s_ccoshf.c (__ccoshf): Likewise.
17395 * math/s_ccoshl.c (__ccoshl): Likewise.
17396 * math/s_csin.c (__csin): Likewise.
17397 * math/s_csinf.c (__csinf): Likewise.
17398 * math/s_csinh.c (__csinh): Likewise.
17399 * math/s_csinhf.c (__csinhf): Likewise.
17400 * math/s_csinhl.c (__csinhl): Likewise.
17401 * math/s_csinl.c (__csinl): Likewise.
17402 * math/libm-test.inc (ccos_test): Add more tests.
17403 (ccosh_test): Likewise.
17404 (csin_test): Likewise.
17405 (csinh_test): Likewise.
17406
17407 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17408
17409 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17410 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17411 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17412 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17413 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17414 powerpc/power5+/fpu folders.
17415 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17416
17417
17418 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17419
17420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17421
17422 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17423
17424 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17425 additions to variable.
17426 [$(config-machine) = x86_64] (modules-names): Likewise.
17427 ($(objpfx)tst-audit3): Remove dependency.
17428 ($(objpfx)tst-audit3.out): Likewise.
17429 ($(objpfx)tst-audit4): Likewise.
17430 ($(objpfx)tst-audit4.out): Likewise.
17431 ($(objpfx)tst-audit5): Likewise.
17432 ($(objpfx)tst-audit5.out): Likewise.
17433 ($(objpfx)tst-audit6): Likewise.
17434 ($(objpfx)tst-audit6.out): Likewise.
17435 ($(objpfx)tst-audit7): Likewise.
17436 ($(objpfx)tst-audit7.out): Likewise.
17437 (tst-audit3-ENV): Remove variable.
17438 (tst-audit4-ENV): Likewise.
17439 (tst-audit5-ENV): Likewise.
17440 (tst-audit6-ENV): Likewise.
17441 (tst-audit7-ENV): Likewise.
17442 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17443 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17444 addition to variable.
17445 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17446 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17447 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17448 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17449 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17450 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17451 tst-audit3, tst-audit4 and tst-audit5.
17452 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17453 tst-audit6 and tst-audit7.
17454 [$(subdir) = elf] (modules-names): Add audit modules for those
17455 tests.
17456 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17457 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17458 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17459 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17460 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17461 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17462 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17463 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17464 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17465 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17466 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17467 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17468 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17469 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17470 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17471 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17472 Likewise.
17473 [$(subdir) = elf && $(config-cflags-avx) = yes]
17474 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17475 [$(subdir) = elf && $(config-cflags-avx) = yes]
17476 (CFLAGS-tst-auditmod4a.c): Likewise.
17477 [$(subdir) = elf && $(config-cflags-avx) = yes]
17478 (CFLAGS-tst-auditmod4b.c): Likewise.
17479 [$(subdir) = elf && $(config-cflags-avx) = yes]
17480 (CFLAGS-tst-auditmod6b.c): Likewise.
17481 [$(subdir) = elf && $(config-cflags-avx) = yes]
17482 (CFLAGS-tst-auditmod6c.c): Likewise.
17483 [$(subdir) = elf && $(config-cflags-avx) = yes]
17484 (CFLAGS-tst-auditmod7b.c): Likewise.
17485 * elf/tst-audit3.c: Move to ...
17486 * sysdeps/x86_64/tst-audit3.c: ... here.
17487 * elf/tst-audit4.c: Move to ...
17488 * sysdeps/x86_64/tst-audit4.c: ... here.
17489 * elf/tst-audit5.c: Move to ...
17490 * sysdeps/x86_64/tst-audit5.c: ... here.
17491 * elf/tst-audit6.c: Move to ...
17492 * sysdeps/x86_64/tst-audit6.c: ... here.
17493 * elf/tst-audit7.c: Move to ...
17494 * sysdeps/x86_64/tst-audit7.c: ... here.
17495 * elf/tst-auditmod3a.c: Move to ...
17496 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17497 * elf/tst-auditmod3b.c: Move to ...
17498 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17499 * elf/tst-auditmod4a.c: Move to ...
17500 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17501 * elf/tst-auditmod4b.c: Move to ...
17502 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17503 * elf/tst-auditmod5a.c: Move to ...
17504 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17505 * elf/tst-auditmod5b.c: Move to ...
17506 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17507 * elf/tst-auditmod6a.c: Move to ...
17508 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17509 * elf/tst-auditmod6b.c: Move to ...
17510 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17511 * elf/tst-auditmod6c.c: Move to ...
17512 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17513 * elf/tst-auditmod7a.c: Move to ...
17514 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17515 * elf/tst-auditmod7b.c: Move to ...
17516 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17517
17518 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17519
17520 [BZ #15366]
17521 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17522 define unconditionally.
17523 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17524 define unconditionally.
17525 (INT8_C, INT16_C, etc.): Likewise.
17526
17527 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17528
17529 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17530 __ehdr_start with hidden visibility.
17531
17532 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17533
17534 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17535
17536 * math/libm-test.inc (cos_test): Use accurate hex constants.
17537 (sincost_test): Likewise.
17538
17539 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17540
17541 * math/libm-test.inc (catan_test): Add more tests.
17542 (catanh_test): Likewise.
17543
17544 * math/s_catanf.c (__catanf): Use suffixed floating-point
17545 constants.
17546 * math/s_catanhf.c (__catanhf): Likewise.
17547 * math/s_catanhl.c (__catanhl): Likewise.
17548 * math/s_catanl.c (__catanl): Likewise.
17549
17550 [BZ #15394]
17551 * math/s_catan.c (__catan): Calculate imaginary part of result
17552 with log1p not log unless computing log of number close to 0.
17553 * math/s_catanf.c (__catanf): Likewise.
17554 * math/s_catanl.c (__catanl): Likewise.
17555 * math/s_catanh.c (__catanh): Calculate real part of result with
17556 log1p not log unless computing log of number close to 0.
17557 * math/s_catanhf.c (__catanhf): Likewise.
17558 * math/s_catanhl.c (__catanhl): Likewise.
17559 * math/libm-test.inc (catan_test): Add more tests.
17560 (catanh_test): Likewise.
17561 * sysdeps/i386/fpu/libm-test-ulps: Update.
17562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17563
17564 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17565
17566 * benchtests/Makefile: Mention files in which fast and slow
17567 paths of math functions are implemented.
17568
17569 2013-04-23 Roland McGrath <roland@hack.frob.com>
17570
17571 * sysdeps/posix/timespec_get.c: New file.
17572
17573 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17574
17575 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17576 POWER.
17577 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17578 for POWER.
17579 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17580 powerpc/power5/fpu folders.
17581 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17582 * benchtests/Makefile: Add modf testcase.
17583 * benchtests/bench-modf.c: New file: Benchmark test for mo
17584
17585 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17586
17587 [BZ #14888]
17588 * time/Makefile (tests): Add tst-strptime-whitespace.
17589 * time/strptime_l.c (get_number): Use ISSPACE.
17590 (__strptime_internal): Likewise.
17591 * time/tst-strptime-whitespace.c: New test case.
17592
17593 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17594
17595 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17596 member.
17597 (_nss_files_init): Set it here.
17598
17599 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17600
17601 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17602 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17603 unsigned.
17604
17605 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17606
17607 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17608
17609 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17610
17611 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17612 size just once.
17613
17614 2013-04-21 David S. Miller <davem@davemloft.net>
17615
17616 * po/ru.po: Update Russion translation from translation project.
17617
17618 2013-04-17 Adam Conrad <adconrad@0c3.net>
17619
17620 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17621 and setfsgid.
17622
17623 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17624
17625 * configure.in: Remove i386 configure warning. Remove i386 case.
17626 * configure: Regenerate.
17627 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17628 Add example to error message.
17629 * sysdeps/i386/configure: Regenerate.
17630
17631 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17632
17633 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17634 slowtan.
17635 * benchtests/cos-inputs: New file.
17636 * benchtests/slowcos-inputs: New file.
17637 * benchtests/slowcos.c: New file.
17638 * benchtests/slowtan-inputs: New file.
17639 * benchtests/slowtan.c: New file.
17640 * benchtests/tan-inputs: New file.
17641
17642 2013-04-16 Roland McGrath <roland@hack.frob.com>
17643
17644 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17645 considered kosher.
17646
17647 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17648
17649 * benchtests/Makefile: Include cppflags-iterator.mk to add
17650 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17651
17652 * Makefile.in (bench-clean): New target.
17653 * benchtests/Makefile (bench-clean): Likewise.
17654
17655 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17656
17657 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17658
17659 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17660
17661 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17662
17663 2013-04-15 Andreas Schwab <schwab@suse.de>
17664
17665 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17667 * nscd/pwdcache.c (cache_addpw): Likewise.
17668 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17669 more than recsize.
17670
17671 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17672
17673 * benchtests/Makefile (bench): Write all output to
17674 bench-out.tmp together.
17675
17676 2013-04-15 Andreas Schwab <schwab@suse.de>
17677
17678 * nscd/nscd.c (main): Don't fork again after closing files.
17679
17680 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17681
17682 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17683
17684 * benchtests/Rules (bench-deps): Collect dependencies into a
17685 single variable. Add Makefile to dependencies.
17686 ($(objpfx)bench-%.c): Depend on bench-deps.
17687
17688 2013-04-12 Roland McGrath <roland@hack.frob.com>
17689 Xavier Roche <roche+kml2@exalead.com>
17690
17691 [BZ #15361]
17692 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17693 just that it's a file descriptor.
17694 * manual/llio.texi (Synchronizing AIO Operations): Update description
17695 for EBADF error from aio_fsync.
17696
17697 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17698
17699 * Rules (bench): Move target definition...
17700 * benchtests/Makefile: ... here.
17701
17702 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17703
17704 * math/libm-test.inc (cos_test): Fix PI/2 test.
17705 (sincos_test): Likewise.
17706 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17707 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17708
17709 2013-04-11 Andreas Schwab <schwab@suse.de>
17710
17711 [BZ #13988]
17712 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17713 accept exponent character only when digits were seen.
17714 * stdio-common/Makefile (tests): Add bug26.
17715 * stdio-common/bug26.c: New file.
17716
17717 [BZ #14293]
17718 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17719 non-freeable.
17720
17721 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17722
17723 * Makeconfig (rtld-prefix): Define built linker prefix.
17724 * Rules (run-bench): Use it.
17725 * math/Makefile (run-regen-ulps): Likewise.
17726
17727 * Rules (bench): Remove eval.
17728
17729 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17730 Roland McGrath <roland@hack.frob.com>
17731 Ondrej Bilka <neleai@seznam.cz>
17732
17733 [BZ #15346]
17734 * time/getdate.c: Include ctype.h and alloca.h.
17735 (__getdate_r): Trim leading and trailing spaces of input.
17736 * time/tst-getdate.c (tests): Add tests with leading and
17737 trailing spaces.
17738
17739 2013-04-08 Roland McGrath <roland@hack.frob.com>
17740
17741 [BZ #14280]
17742 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17743 when computing value.
17744
17745 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17746
17747 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17748 Use testrun.sh to run libm tests.
17749
17750 [BZ #15309]
17751 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17752
17753 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17754
17755 [BZ #15264]
17756 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17757
17758 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17759
17760 * Makefile.in (regen-ulps): New target.
17761 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17762 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17763 [ifneq (no,$(PERL)] (regen-ulps): New target.
17764 [ifeq (no,$(PERL)] (regen-ulps): New target.
17765 * math/libm-test.inc (ulps_file_name): Define.
17766 (output_dir): New variable.
17767 (options): Add "output-dir" option.
17768 (parse_opt): Handle 'o' case.
17769 (main): If output_dir is non-NULL use it as a prefix
17770 otherwise use "".
17771 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17772
17773 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17774
17775 [BZ #10060, #10062]
17776 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17777 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17778 fail configure if __sync_val_compare_and_swap is not inlined.
17779 * sysdeps/i386/configure: Regenerate.
17780 * configure.in: Build for i686 when configured for i386.
17781 * configure: Regenerate.
17782 * README: Remove i386 reference.
17783
17784 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17785
17786 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17788
17789 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17790
17791 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17792 (lmsnanval): New variables.
17793 (F): Add conversion tests.
17794 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17795 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17796
17797 * stdio-common/tstdiomisc.c (F): Properly collect individual
17798 tests' results.
17799
17800 [BZ #14686, #15336]
17801 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17802 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17803 Instead, use input NaN values or generate a qNaN by arithmetic
17804 operation. Also fix bugs to comply with the standard.
17805 * math/libm-test.inc (remainder_test): Add more tests.
17806
17807 [BZ #15335, #15342]
17808 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17810 input NaN values or generate a qNaN by arithmetic operation.
17811
17812 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17813 unreachable code.
17814
17815 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17816 definitions.
17817
17818 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17819
17820 [BZ #14478]
17821 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17822 underflowed result.
17823 * math/s_cexpf.c (__cexpf): Likewise.
17824 * math/s_cexpl.c (__cexpl): Likewise.
17825 * math/libm-test.inc (cexp_test): Add more tests.
17826
17827 2013-04-03 Andreas Schwab <schwab@suse.de>
17828
17829 [BZ #15330]
17830 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17831 order arrays from heap if bigger than alloca cutoff.
17832
17833 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17834
17835 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17836 (SNAN_TESTS_double): Refer to GCC PR56831.
17837 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17838 GCC PR56828.
17839
17840 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17841
17842 * Rules (bench): Move bench.out after the run is complete.
17843
17844 * Rules (bench): Echo currently running benchmark.
17845
17846 * benchtests/Makefile (bench): Add atan and slowatan.
17847 * benchtests/atan-inputs: New file.
17848 * benchtests/slowatan-inputs: New file.
17849 * benchtests/slowatan.c: New file.
17850
17851 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17852 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17853 its value.
17854
17855 [BZ #15305]
17856 * sysdeps/unix/sysv/linux/kernel-features.h
17857 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17858 __ASSUME_XFS_RESTRICTED_CHOWN.
17859 * sysdeps/unix/sysv/linux/pathconf.c
17860 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17861 Save and restore errno.
17862
17863 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17864
17865 [BZ #15327]
17866 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17867 arguments using __kernel_casinh.
17868 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17869 arguments using __kernel_casinhf.
17870 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17871 arguments using __kernel_casinhl.
17872 * math/libm-test.inc (cacosh_test): Add more tests.
17873 * sysdeps/i386/fpu/libm-test-ulps: Update.
17874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17875
17876 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17877
17878 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17879 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17880
17881 * bench/Makefile (bench): Add sin and slowsin.
17882 * benchtests/sin-inputs: New file.
17883 * benchtests/slowsin-inputs: New file.
17884 * benchtests/slowsin.c: New file.
17885
17886 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17887 (bench): Add slowexp and slowpow.
17888 (exp-ITER): Increase iterations.
17889 (pow-ITER): Likewise.
17890 * benchtests/exp-inputs: Change input.
17891 * benchtests/pow-inputs: Likewise.
17892 * benchtests/slowexp-inputs: New file.
17893 * benchtests/slowexp.c: New file.
17894 * benchtests/slowpow-inputs: New file.
17895 * benchtests/slowpow.c: New file.
17896
17897 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17898
17899 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17900 instructions.
17901 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17902 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17903 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17904 * benchtests/Makefile: Add rint benchtest.
17905 * benchtests/rint-inputs: Input for rint benchtest.
17906
17907 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17908
17909 * Versions.def (libm): Add GLIBC_2.18.
17910 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17911 hidden libm prototypes.
17912 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17913 * math/Makefile (libm-calls): Add s_issignaling.
17914 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17915 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17916 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17917 declaration.
17918 * math/math.h [__USE_GNU] (issignaling): New macro.
17919 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17920 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17921 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17922 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17923 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17924 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17925 * manual/arith.texi (issignaling): New section.
17926 * manual/libm-err-tab.pl (@all_functions): Update comment.
17927 * math/gen-libm-test.pl (parse_args): Apply special handling for
17928 issignaling.
17929 * math/libm-test.inc (print_float, issignaling_test): New
17930 functions.
17931 (check_float_internal): Add issignaling checks.
17932 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17933 default definition.
17934 * sysdeps/powerpc/math-tests.h: New file.
17935 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17936 tests.
17937 * math/test-snan.c (TEST_FUNC): Likewise.
17938
17939 2013-03-30 David S. Miller <davem@davemloft.net>
17940
17941 * po/de.po: Update from translation team.
17942
17943 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17944
17945 [BZ #10357]
17946 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17947 imaginary part less than 1.0 and real part less than 0.5
17948 specially.
17949 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17950 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17951 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17952 (cacos_test): Add more tests.
17953 (casin_test): Likewise.
17954 (casinh_test): Likewise.
17955 * sysdeps/i386/fpu/libm-test-ulps: Update.
17956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17957
17958 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17959
17960 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17961 ONE with its value.
17962
17963 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17964 (__pow_mp): Replace ONE and MONE with their values.
17965 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17966 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17967 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17968 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17969 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17970 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17971
17972 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17973
17974 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17975 (__pow_mp): Replace ZERO and MZERO with their values.
17976 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17977 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17978 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17980 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17981 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17982 (__sqr): Likewise.
17983
17984 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17985
17986 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17987
17988 2013-03-28 Roland McGrath <roland@hack.frob.com>
17989
17990 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17991 Declare with __attribute__ ((weak)).
17992 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17993 Call __call_tls_dtors only if it's not NULL.
17994
17995 2013-03-28 Roland McGrath <roland@hack.frob.com>
17996
17997 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17998 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17999 magic __ehdr_start linker symbol if it's defined.
18000 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18001 them up here if it was already done.
18002
18003 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18004 (_dl_aux_init): Use const in cast when setting it.
18005 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18006 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18007 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18008
18009 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18010 Declare them here.
18011 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18012 * csu/libc-tls.c: Nor here.
18013 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18014
18015 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18016 (__libc_message): Never call vsyslog.
18017
18018 2013-03-28 Alan Modra <amodra@gmail.com>
18019
18020 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18021 Define as empty.
18022 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18023 Likewise.
18024
18025 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18026
18027 [BZ #15214]
18028 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18029 underflow.
18030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18031
18032 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18033
18034 [BZ #15304]
18035 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18036 Don't add gid passed as argument.
18037
18038 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18039
18040 2013-03-27 Joseph Myers <joseph@codesourcery.com>
18041
18042 [BZ #15307]
18043 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18044 imaginary part between 1.0 and 1.5 and real part less than 0.5
18045 specially.
18046 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18047 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18048 * math/libm-test.inc (cacos_test): Add more tests.
18049 (casin_test): Likewise.
18050 (casinh_test): Likewise.
18051 * sysdeps/i386/fpu/libm-test-ulps: Update.
18052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18053
18054 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18055
18056 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18057 constants.
18058 (norm): Likewise.
18059 (denorm): Likewise.
18060 (__dbl_mp): Likewise.
18061 (add_magnitudes): Likewise.
18062 (sub_magnitudes): Likewise.
18063 (__add): Likewise.
18064 (__sub): Likewise.
18065 (__mul): Likewise.
18066 (__sqr): Likewise.
18067 (__inv): Likewise.
18068 (__dvd): Likewise.
18069
18070 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18071 commented code.
18072 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18073 (__dubcos): Likewise.
18074 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18075 (__ieee754_acos): Likewise.
18076 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18077 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18078 (__exp1): Likewise.
18079 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18081 (log1): Likewise.
18082 (my_log2): Likewise.
18083 (checkint): Likewise.
18084 * sysdeps/ieee754/dbl-64/e_remainder.c
18085 (__ieee754_remainder): Likewise.
18086 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18087 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18088 (bsloww): Likewise.
18089 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18090
18091 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18092 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18093 MANTISSA_STORE_T to store computations on mantissa. Use
18094 macros for rounding and division.
18095 (denorm): Likewise.
18096 (__dbl_mp): Likewise.
18097 (add_magnitudes): Likewise.
18098 (sub_magnitudes): Likewise.
18099 (__mul): Likewise.
18100 (__sqr): Likewise.
18101 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18102 powers of two in terms of TWOPOW macro.
18103 (mp_no): Make type of mantissa as MANTISSA_T.
18104 [!RADIXI]: Define RADIXI.
18105 [!TWO52]: Define TWO52.
18106 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18107
18108 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18109
18110 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18111 llroundl symbol when building for PPC32.
18112
18113 2013-03-24 Mark H Weaver <mhw@netris.org>
18114
18115 * manual/arith.texi (Normalization Functions): Fix prototypes for
18116 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18117
18118 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18119
18120 [BZ #13889]
18121 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18122 high value to check if expl overflow.
18123 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18124 to check for underflow and overflow.
18125 * math/libm-test.inc: Add exp test.
18126
18127 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18128
18129 [BZ #11120]
18130 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18131 with NOT_IN_libc.
18132
18133 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18134
18135 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18136 symbol.
18137
18138 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18139
18140 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18141 wrap blocks consisting of several statements.
18142
18143 * sysdeps/generic/math-tests.h: New file.
18144 * sysdeps/i386/fpu/math-tests.h: Likewise.
18145 * math/test-snan.c: Include it.
18146 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18147
18148 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18149
18150 [BZ #15285]
18151 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18152 (__ieee754_j0l): Do not improve calculations using cos of twice
18153 input for inputs above LDBL_MAX / 2.0L.
18154 (__ieee754_y0l): Likewise.
18155 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18156 (__ieee754_j1l): Do not improve calculations using cos of twice
18157 input for inputs above LDBL_MAX / 2.0L.
18158 (__ieee754_y1l): Likewise.
18159 * math/libm-test.inc (j0_test): Add another test.
18160 (j1_test): Likewise.
18161 (y0_test): Likewise.
18162 (y1_test): Likewise.
18163 * sysdeps/i386/fpu/libm-test-ulps: Update.
18164
18165 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18166
18167 * Rules ($(objpfx)bench-%.c): Include code from a C source
18168 file.
18169
18170 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18171
18172 [BZ #15287]
18173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18174 imaginary part 1.0 and real part less than 0.5 specially.
18175 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18176 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18177 * math/libm-test.inc (cacos_test): Add more tests.
18178 (casin_test): Likewise.
18179 (casinh_test): Likewise.
18180 * sysdeps/i386/fpu/libm-test-ulps: Update.
18181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18182
18183 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18184
18185 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18186 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18187
18188 2013-03-20 Joseph Myers <joseph@codesourcery.com>
18189
18190 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18191 * config.make.in (config-cflags-sse4): Remove variable.
18192 (config-cflags-avx): Likewise.
18193 (config-cflags-sse2avx): Likewise.
18194 (config-cflags-novzeroupper): Likewise.
18195 (config-asflags-i686): Likewise.
18196 (have-mfma4): Likewise.
18197 (have-as-vis3): Likewise.
18198 (MIG): Likewise.
18199 * configure.in (MIG): Do not AC_SUBST.
18200 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18201 (libc_cv_cc_sse4): Do not AC_SUBST.
18202 (libc_cv_cc_avx): Likewise.
18203 (libc_cv_cc_sse2avx): Likewise.
18204 (libc_cv_cc_novzeroupper): Likewise.
18205 (libc_cv_cc_fma4): Likewise.
18206 (libc_cv_as_i686): Likewise.
18207 (libc_cv_sparc_as_vis3): Likewise.
18208 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18209 LIBC_CONFIG_VAR.
18210 (config-asflags-i686): Likewise.
18211 (config-cflags-avx): Likewise.
18212 (config-cflags-sse2avx): Likewise.
18213 (have-mfma4): Likewise.
18214 (config-cflags-novzeroupper): Likewise.
18215 * sysdeps/mach/configure.in (MIG): Likewise.
18216 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18217 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18218 LIBC_CONFIG_VAR.
18219 (config-cflags-avx): Likewise.
18220 (config-cflags-sse2avx): Likewise.
18221 (have-mfma4): Likewise.
18222 (config-cflags-novzeroupper): Likewise.
18223 * configure: Regenerated.
18224 * sysdeps/i386/configure: Likewise.
18225 * sysdeps/mach/configure: Likewise.
18226 * sysdeps/sparc/configure: Likewise.
18227 * sysdeps/x86_64/configure: Likewise.
18228
18229 2013-03-20 Roland McGrath <roland@hack.frob.com>
18230
18231 [BZ #14812]
18232 * locale/programs/localedef.c (options): Put N_ translation marker
18233 on argument names, not just descriptions.
18234
18235 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18236
18237 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18238
18239 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
18240
18241 [BZ #14176]
18242 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18243
18244 2013-03-19 Roland McGrath <roland@hack.frob.com>
18245
18246 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18247 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18248 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18249 [!BEFORE_ABORT] (before_abort): New function.
18250 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18251 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18252 (writev_for_fatal): New function.
18253 (WRITEV_FOR_FATAL): New macro; call that.
18254 (backtrace_and_maps): New function.
18255 (BEFORE_ABORT): New macro; call that.
18256 (struct str_list): Type removed.
18257 (__libc_message, __libc_fatal): Functions removed.
18258 Include <sysdeps/posix/libc_fatal.c> instead.
18259
18260 2013-03-19 Joseph Myers <joseph@codesourcery.com>
18261
18262 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18263 constants.
18264 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18265 double constants.
18266
18267 2013-03-19 Andreas Schwab <schwab@suse.de>
18268
18269 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18270 * sysdeps/gnu/configure: Regenerate.
18271
18272 * configure.in: Substitute libc_cv_rtlddir.
18273 * configure: Regenerate.
18274 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18275 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18276 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18277 * elf/Makefile (install-others, CFLAGS-interp.c)
18278 (ldso_install, common-ldd-rewrite): Likewise.
18279 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18280 $(inst_slibdir)/$(rtld-installed-name).
18281 * scripts/rellns-sh: Add -p option.
18282 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18283 for source.
18284
18285 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18286
18287 * manual/nptl.texi: Renamed to ...
18288 * manual/threads.texi: ... this.
18289 * manual/Makefile (chapters): Update.
18290
18291 2013-03-18 Roland McGrath <roland@hack.frob.com>
18292
18293 [BZ #14812]
18294 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18295 on argument names, not just descriptions.
18296 * malloc/memusagestat.c (options): Likewise.
18297 * nss/getent.c (options): Likewise.
18298
18299 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18300
18301 [BZ #14812]
18302 * iconv/iconv_prog.c (options): Put N_ translation marker
18303 on argument names, not just descriptions.
18304 * iconv/iconvconfig.c (options): Likewise.
18305
18306 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18307
18308 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18309 implementation which is faster on all x86_64 architectures.
18310 Tested on AMD, Intel Nehalem, SNB, IVB.
18311 * sysdeps/x86_64/strnlen.S: Likewise.
18312
18313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18314 Remove all multiarch strlen and strnlen versions.
18315 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18316 Remove strlen and strnlen related parts.
18317
18318 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18319 Inline strlen part.
18320 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18321
18322 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18323 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18324 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18325 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18326 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18327 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18328
18329 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18330
18331 * manual/memory.texi (Malloc Tunable Parameters):
18332 Sort parameters alphabetically. Add comments for missing entries.
18333
18334 2013-03-17 David S. Miller <davem@davemloft.net>
18335
18336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18337
18338 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18339
18340 [BZ #15283]
18341 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18342 for arguments at most half maximum finite value.
18343 * math/libm-test.inc (j0_test): Add more tests.
18344 (j1_test): Likewise.
18345 (y0_test): Likewise.
18346 (y1_test): Likewise.
18347 * sysdeps/i386/fpu/libm-test-ulps: Update.
18348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18349
18350 [BZ #14155]
18351 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18352 1 / x and functions P and Q for arguments above 0x1p256L.
18353 (__ieee754_y0l): Likewise.
18354 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18355 (__ieee754_y1l): Likewise.
18356 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18357 (j1_test): Likewise.
18358 (y0_test): Likewise.
18359 (y1_test): Likewise.
18360
18361 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18362
18363 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18364 variable.
18365
18366 2013-03-15 Roland McGrath <roland@hack.frob.com>
18367
18368 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18369 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18370 zero since it's initialized to EXEC_PAGESIZE.
18371
18372 * sysdeps/unix/sysv/linux/ldsodefs.h
18373 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18374 * sysdeps/generic/ldsodefs.h: ... here.
18375
18376 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18377
18378 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18379
18380 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18381 math/test-snan.c.
18382 * math/test-snan.c: Renamed from
18383 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18384 * math/Makefile (tests): Add test-snan.
18385 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18386 test-powerpc-snan.
18387
18388 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18389 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18390 functions.
18391 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18392 __builtin_nan family of functions.
18393 * math/libm-test.inc (initialize): Initialize qnan_value with
18394 __builtin_nan family of functions.
18395 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18396 Remove variables.
18397 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18398 Remove functions.
18399 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18400 storage class. Initialize qNaN_var and sNaN_var with
18401 __builtin_nan and __builtin_nans families of functions,
18402 respectively.
18403
18404 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18405 (sqrt_test): Remove duplicate test with qNaN input.
18406 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18407 (round_test, signbit_test, significand_test): Note missing +/-Inf
18408 as well as qNaN tests.
18409
18410 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18411 qNaN_var. Fix a few strings, too.
18412 * math/libm-test.inc (nan_value): Rename to qnan_value.
18413 * math/gen-libm-test.pl (%beautify): Adjust to that.
18414 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18415 * math/test-misc.c (main): Likewise.
18416 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18417 to __qnan_bytes, and __qnan_union, respectively.
18418 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18419 Likewise.
18420 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18421 and lqnanval, respectively.
18422 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18423 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18424 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18425 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18426
18427 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18428 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18429 doubles.
18430
18431 * math/test-misc.c (main): Fix copy'n'pastos.
18432 * misc/tst-efgcvt.c (special): Likewise.
18433
18434 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18435 Remove declarations.
18436
18437 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18438
18439 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18440 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18441 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18442 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18443
18444 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18445
18446 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18447 macro to return vdso values correctly in IFUNC implementations.
18448 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18449 Optimization by using IFUNC.
18450
18451 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18452 Richard Henderson <rth@redhat.com>
18453 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18454
18455 * Makefile.in (bench): New target.
18456 * NEWS: Mention the benchmark framework.
18457 * Rules (bench): Likewise.
18458 (binaries-bench): Generate binaries for functions to
18459 benchmark.
18460 * benchtests/Makefile: New makefile for benchmark tests.
18461 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18462 programs.
18463 * benchtests/exp-inputs: New input file for EXP function.
18464 * benchtests/pow-inputs: New input file for POW function.
18465 * scripts/bench.pl: New script to generate source files for
18466 benchmark programs.
18467
18468 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18469
18470 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18471 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18472 computations on mantissa. Use macros for rounding and
18473 division.
18474 (denorm): Likewise.
18475 (__dbl_mp): Likewise.
18476 (add_magnitudes): Likewise.
18477 (sub_magnitudes): Likewise.
18478 (__mul): Likewise.
18479 (__sqr): Likewise.
18480 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18481 powers of two in terms of TWOPOW macro.
18482 (mp_no): Make type of mantissa as MANTISSA_T.
18483 [!RADIXI]: Define RADIXI.
18484 [!TWO52]: Define TWO52.
18485 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18486
18487 * manual/nptl.texi (cindex): Modify threads to pthreads.
18488
18489 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18490
18491 * sysdeps/x86_64/preconfigure: Regenerated.
18492
18493 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18494
18495 [BZ #14155]
18496 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18497 0x1p28 and above.
18498 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18499 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18500 0x1p28 and above.
18501 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18502 * math/libm-test.inc (j0_test): Do not allow one spurious
18503 underflow exception.
18504 (y1_test): Likewise.
18505
18506 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18507
18508 * manual/Makefile (chapters): Add nptl.
18509 * manual/debug.texi (Debugging Support): Add link to Threads
18510 chapter.
18511 * manual/nptl.texi: New file.
18512
18513 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18514
18515 2013-03-14 Petr Baudis <pasky@ucw.cz>
18516
18517 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18518 for non-NULL pointer before the memory validity test. Pointed
18519 out by Holger Brunck <holger.brunck@keymile.com>.
18520
18521 2013-03-13 Andreas Schwab <schwab@suse.de>
18522
18523 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18524 instead of .os.
18525
18526 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18527
18528 * timezone/zic.c: Update from tzcode 2013b.
18529
18530 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18531
18532 * manual/install.texi (Configuring and compiling):
18533 Mention i686 and i586.
18534 * INSTALL: Regenerate.
18535
18536 2013-03-12 Roland McGrath <roland@hack.frob.com>
18537
18538 * sysdeps/init_array/elf-init.c: New file.
18539 * csu/elf-init.c
18540 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18541 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18542
18543 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18544 __gmon_start__ as global, but as static with a .preinit_array pointer.
18545 * sysdeps/init_array/gmon-start.c: New file. Use that.
18546 * sysdeps/init_array/crti.S: New file, empty except for comments.
18547 * sysdeps/init_array/crtn.S: Likewise.
18548
18549 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18550
18551 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18552 definining bcopy.
18553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18554 Remove Prefer_SSE_for_memop.
18555 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18556 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18557 HAS_PREFER_SSE_FOR_MEMOP.
18558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18559 memset-x86-64.
18560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18561 Remove bzero, memset ifunc support.
18562 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18563 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18564 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18565 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18566
18567 2013-03-11 Andreas Schwab <schwab@suse.de>
18568
18569 [BZ #15234]
18570 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18571 by SHLIB_COMPAT.
18572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18573 (GLIBC_2.16): Remove pthread_atfork.
18574
18575 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18576
18577 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18578 (ptestcases.h): Likewise.
18579
18580 2013-03-08 Roland McGrath <roland@hack.frob.com>
18581
18582 * Makeconfig ($(common-objpfx)config.status): Depend on
18583 sysdeps/*/preconfigure{,.in} too.
18584
18585 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18586
18587 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18588 (__free_hook): Use void * instead of __malloc_ptr_t.
18589 (__malloc_hook): Likewise.
18590 (__realloc_hook): Likewise.
18591 (__memalign_hook): Likewise.
18592 (__after_morecore_hook): Likewise.
18593 * malloc/arena.c (save_malloc_hook): Likewise.
18594 (save_free_hook): Likewise.
18595 * malloc/hooks.c (malloc_hook_ini): Likewise.
18596 (realloc_hook_ini): Likewise.
18597 (memalign_hook_ini): Likewise.
18598 * malloc/malloc.c (malloc_hook_ini): Likewise.
18599 (realloc_hook_ini): Likewise.
18600 (memalign_hook_ini): Likewise.
18601 (__free_hook): Likewise.
18602 (__malloc_hook): Likewise.
18603 (__realloc_hook): Likewise.
18604 (__memalign_hook): Likewise.
18605 (__libc_malloc): Likewise.
18606 (__libc_free): Likewise.
18607 (__libc_realloc): Likewise.
18608 (__libc_memalign): Likewise.
18609 (__libc_valloc): Likewise.
18610 (__libc_pvalloc): Likewise.
18611 (__libc_calloc): Likewise.
18612 (__posix_memalign): Likewise.
18613 * malloc/morecore.c (__sbrk): Likewise.
18614 (__default_morecore): Likewise.
18615
18616 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18617
18618 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18619 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18620 __malloc_ptrdiff_t.
18621
18622 * malloc/malloc.h (__malloc_size_t): Remove macro.
18623 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18624 __malloc_size_t.
18625 (old_memalign_hook): Likewise.
18626 (old_realloc_hook): Likewise.
18627 (struct hdr): Likewise.
18628 (flood): Likewise.
18629 (mallochook): Likewise.
18630 (memalignhook): Likewise.
18631 (reallochook): Likewise.
18632 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18633 (tr_old_realloc_hook): Likewise.
18634 (tr_old_memalign_hook): Likewise.
18635 (tr_mallochook): Likewise.
18636 (tr_reallochook): Likewise.
18637 (tr_memalignhook): Likewise.
18638
18639 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18640
18641 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18642 default_ldbl_pack and using as default implementation.
18643 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18644 implementation.
18645 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18646 redundant definition.
18647 (ldbl_insert_mantissa): Likewise.
18648 (ldbl_canonicalize): Likewise.
18649 (ldbl_nearbyint): Likewise.
18650 (ldbl_pack): Rename to ldbl_pack_ppc.
18651 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18652 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18653 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18654
18655 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18656
18657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18658 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18659 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18660 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18662 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18663 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18664 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18665
18666 2013-03-07 Andreas Jaeger <aj@suse.de>
18667
18668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18669 bits/mman-linux.h.
18670
18671 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18672
18673 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18674 Include mpa.h and declare __MPEXP.
18675 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18676 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18677 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18678 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18679 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18680 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18681 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18682
18683 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18684 (__slowpow): Use long double EXPL and LOGL functions to
18685 compute POW.
18686 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18687 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18688 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18689 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18690 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18691 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18692
18693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18694 intermediate variable to calculate exponent.
18695 (__sqr): Likewise.
18696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18697 Likewise.
18698 (__sqr): Likewise.
18699
18700 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18701 [!NO__SQR]: Define __sqr.
18702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18703 and NO__SQR. Remove all code except __mul and __sqr. Include
18704 sysdeps/ieee754/dbl-64/mpa.c.
18705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18706
18707 [BZ #12723]
18708 * posix/Makefile (tests): Add tst-pathconf.
18709 * posix/tst-pathconf.c: New test case.
18710 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18711 _PC_PIPE_BUF.
18712 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18713
18714 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18715
18716 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18717
18718 2013-03-06 Andreas Jaeger <aj@suse.de>
18719
18720 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18721 definition via __MAP_ANONYMOUS.
18722
18723 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18724 it's not part of Linux headers.
18725
18726 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18727 (MAP_HUGE_MASK): Define.
18728
18729 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18730 Define.
18731 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18733 Define.
18734 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18735 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18736 Define.
18737 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18738 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18739 Define.
18740 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18741
18742 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18743 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18744 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18745 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18746 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18747 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18748
18749 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18750 Handle f2fs.
18751
18752 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18753 Handle f2fs and efivarfs.
18754
18755 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18756 f2fs.
18757
18758 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18759 (EFIVARFS_MAGIC): Add.
18760 (F2FS_LINK_MAX): Add.
18761
18762 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18763
18764 * stdio-common/vfprintf.c: Replace __builtin_expect with
18765 __glibc_unlikely.
18766
18767 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18768
18769 [BZ #13550]
18770 * sysdeps/generic/bp-sym.h: Remove file.
18771 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18772 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18773 <bp-sym.h> and <bp-asm.h>.
18774 (__longjmp): Don't use BP_SYM.
18775 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18776 and <bp-asm.h>.
18777 (memcpy): Don't use BP_SYM.
18778 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18779 <bp-sym.h> and <bp-asm.h>.
18780 (memcpy): Don't use BP_SYM.
18781 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18782 <bp-asm.h>.
18783 (memcpy): Don't use BP_SYM.
18784 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18785 <bp-asm.h>.
18786 (memset): Don't use BP_SYM.
18787 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18788 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18789 (__bzero): Don't use BP_SYM.
18790 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18791 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18792 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18793 <bp-sym.h> and <bp-asm.h>.
18794 (memcmp): Don't use BP_SYM. Remove comment about bounded
18795 pointers.
18796 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18797 <bp-sym.h> and <bp-asm.h>.
18798 (memcpy): Don't use BP_SYM.
18799 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18800 <bp-sym.h> and <bp-asm.h>.
18801 (memset): Don't use BP_SYM.
18802 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18803 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18804 (__bzero): Don't use BP_SYM.
18805 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18806 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18807 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18808 <bp-sym.h> and <bp-asm.h>.
18809 (strncmp): Don't use BP_SYM. Remove comment about bounded
18810 pointers.
18811 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18812 <bp-sym.h> and <bp-asm.h>.
18813 (memcpy): Don't use BP_SYM.
18814 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18815 <bp-sym.h> and <bp-asm.h>.
18816 (memset): Don't use BP_SYM.
18817 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18818 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18819 (__bzero): Don't use BP_SYM.
18820 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18821 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18822 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18823 <bp-sym.h> and <bp-asm.h>.
18824 (__memchr): Don't use BP_SYM.
18825 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18826 <bp-sym.h> and <bp-asm.h>.
18827 (memcmp): Don't use BP_SYM. Remove comment about bounded
18828 pointers.
18829 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18830 <bp-sym.h> and <bp-asm.h>.
18831 (memcpy): Don't use BP_SYM.
18832 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18833 <bp-sym.h> and <bp-asm.h>.
18834 (__mempcpy): Don't use BP_SYM.
18835 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18836 <bp-sym.h> and <bp-asm.h>.
18837 (__memrchr): Don't use BP_SYM.
18838 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18839 <bp-sym.h> and <bp-asm.h>.
18840 (memset): Don't use BP_SYM.
18841 (__bzero): Likewise.
18842 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18843 <bp-sym.h> and <bp-asm.h>.
18844 (__rawmemchr): Don't use BP_SYM.
18845 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18846 <bp-sym.h> and <bp-asm.h>.
18847 (__STRCMP): Don't use BP_SYM.
18848 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18849 <bp-sym.h> and <bp-asm.h>.
18850 (strchr): Don't use BP_SYM.
18851 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18852 <bp-sym.h> and <bp-asm.h>.
18853 (__strchrnul): Don't use BP_SYM.
18854 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18855 <bp-sym.h> and <bp-asm.h>.
18856 (strlen): Don't use BP_SYM.
18857 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18858 <bp-sym.h> and <bp-asm.h>.
18859 (strncmp): Don't use BP_SYM. Remove comment about bounded
18860 pointers.
18861 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18862 <bp-sym.h> and <bp-asm.h>.
18863 (__strnlen): Don't use BP_SYM.
18864 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18865 <bp-sym.h> and <bp-asm.h>.
18866 (__GI__setjmp): Don't use BP_SYM.
18867 (_setjmp): Likewise.
18868 (__sigsetjmp): Likewise.
18869 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18870 (L(start_addresses)): Don't use BP_SYM.
18871 (_start): Likewise.
18872 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18873 <bp-asm.h>.
18874 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18875 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18876 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18877 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18878 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18879 <bp-asm.h>.
18880 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18881 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18882 about bounded pointers.
18883 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18884 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18885 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18886 <bp-asm.h>.
18887 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18888 about bounded pointers. Remove GKM FIXME comments.
18889 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18890 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18891 <bp-asm.h>.
18892 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18893 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18894 Remove GKM FIXME comments.
18895 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18896 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18897 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18898 <bp-asm.h>.
18899 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18900 about bounded pointers. Remove GKM FIXME comment.
18901 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18902 and <bp-asm.h>.
18903 (strncmp): Don't use BP_SYM. Remove comment about bounded
18904 pointers.
18905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18906 <bp-sym.h> and <bp-asm.h>.
18907 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18909 <bp-sym.h> and <bp-asm.h>.
18910 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18911 comment.
18912
18913 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18914
18915 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18916 call free(NULL).
18917
18918 2013-03-05 David S. Miller <davem@davemloft.net>
18919
18920 * po/es.po: Update from translation team.
18921
18922 2013-03-05 Andreas Jaeger <aj@suse.de>
18923
18924 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18925 <bits/mman-linux.h>.
18926 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18927 is fine.
18928 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18929 <bits/mman-linux.h> to end of file.
18930 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18931 is fine.
18932 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18933 <bits/mman-linux.h> to end of file.
18934 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18935 is fine.
18936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18937 <bits/mman-linux.h> to end of file.
18938
18939 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18940 (MCL_CURRENT, MCL_FUTURE): Define here.
18941
18942 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18943
18944 [BZ #15232]
18945 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18946 attribute_hidden.
18947 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18948
18949 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18950
18951 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18952 fourth parameter needed for rt_sigprocmask syscall.
18953 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18954 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18955 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18956 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18957 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18958 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18959
18960 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18961
18962 [BZ #13550]
18963 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18964 comment about bounded pointers.
18965 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18966 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18967
18968 2013-03-04 Andreas Jaeger <aj@suse.de>
18969
18970 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18971 common definitions.
18972
18973 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18974 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18975 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18976 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18977 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18978 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18979
18980 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18981
18982 [BZ #15055]
18983 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18984 __ieee754_sqrl instead of __sqrl.
18985
18986 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18987
18988 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18989 * sysdeps/powerpc/fpu_control.h: ... here.
18990 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18991 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18992 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18993 * sysdeps/powerpc/bits/mathinline.h: ... here.
18994
18995 2013-03-01 Roland McGrath <roland@hack.frob.com>
18996
18997 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18998 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18999 to just [NEED_DL_SYSINFO_DSO].
19000 * elf/dl-support.c: Likewise.
19001 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19002 * elf/rtld.c (dl_main): Likewise.
19003 * elf/setup-vdso.h (setup_vdso): Likewise.
19004 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19005 * sysdeps/unix/sysv/linux/dl-sysdep.c
19006 (_dl_discover_osversion): Likewise.
19007
19008 2013-03-01 Carlos O'Donell <carlos@redhat.com>
19009
19010 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19011 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19012
19013 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19014
19015 * NEWS: Mention libm performance improvements and non-x86 PI
19016 futex support.
19017
19018 * csu/libc-start.c (__pthread_initialize_minimal): Change
19019 function arguments.
19020 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19021
19022 2013-02-28 Joseph Myers <joseph@codesourcery.com>
19023
19024 [BZ #13550]
19025 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19026 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19027 <bp-sym.h> and <bp-asm.h>.
19028 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19029 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19030 and <bp-asm.h>.
19031 (memcpy): Don't use BP_SYM.
19032 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19033 <bp-asm.h>.
19034 (__mpn_add_n): Don't use BP_SYM.
19035 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19036 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19037 and <bp-asm.h>.
19038 (__mpn_addmul_1): Don't use BP_SYM.
19039 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19040 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19041 <bp-sym.h>.
19042 (_setjmp): Don't use BP_SYM.
19043 (__novmx_setjmp): Likewise.
19044 (__GI__setjmp): Likewise.
19045 (__vmx_setjmp): Likewise.
19046 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19047 <bp-sym.h>.
19048 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19049 (__bzero): Don't use BP_SYM.
19050 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19051 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19052 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19053 <bp-sym.h> and <bp-asm.h>.
19054 (memcpy): Don't use BP_SYM.
19055 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19056 <bp-sym.h> and <bp-asm.h>.
19057 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19058 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19059 <bp-sym.h> and <bp-asm.h>.
19060 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19061 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19062 <bp-asm.h>.
19063 (__mpn_lshift): Don't use BP_SYM.
19064 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19065 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19066 <bp-asm.h>.
19067 (memset): Don't use BP_SYM.
19068 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19069 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19070 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19071 <bp-asm.h>.
19072 (__mpn_mul_1): Don't use BP_SYM.
19073 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19074 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19075 <bp-sym.h> and <bp-asm.h>.
19076 (memcmp): Don't use BP_SYM.
19077 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19078 <bp-sym.h> and <bp-asm.h>.
19079 (memcpy): Don't use BP_SYM.
19080 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19081 <bp-sym.h> and <bp-asm.h>.
19082 (memset): Don't use BP_SYM.
19083 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19084 <bp-sym.h> and <bp-asm.h>.
19085 (strncmp): Don't use BP_SYM.
19086 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19087 <bp-sym.h> and <bp-asm.h>.
19088 (memcpy): Don't use BP_SYM.
19089 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19090 <bp-sym.h> and <bp-asm.h>.
19091 (memset): Don't use BP_SYM.
19092 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19093 <bp-sym.h> and <bp-asm.h>.
19094 (__memchr): Don't use BP_SYM.
19095 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19096 <bp-sym.h> and <bp-asm.h>.
19097 (memcmp): Don't use BP_SYM.
19098 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19099 <bp-sym.h> and <bp-asm.h>.
19100 (memcpy): Don't use BP_SYM.
19101 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19102 <bp-sym.h> and <bp-asm.h>.
19103 (__mempcpy): Don't use BP_SYM.
19104 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19105 <bp-sym.h> and <bp-asm.h>.
19106 (__memrchr): Don't use BP_SYM.
19107 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19108 <bp-sym.h> and <bp-asm.h>.
19109 (memset): Don't use BP_SYM.
19110 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19111 <bp-sym.h> and <bp-asm.h>.
19112 (__rawmemchr): Don't use BP_SYM.
19113 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19114 <bp-sym.h> and <bp-asm.h>.
19115 (__STRCMP): Don't use BP_SYM.
19116 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19117 <bp-sym.h> and <bp-asm.h>.
19118 (strchr): Don't use BP_SYM.
19119 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19120 <bp-sym.h> and <bp-asm.h>.
19121 (__strchrnul): Don't use BP_SYM.
19122 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19123 <bp-sym.h> and <bp-asm.h>.
19124 (strlen): Don't use BP_SYM.
19125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19126 <bp-sym.h> and <bp-asm.h>.
19127 (strncmp): Don't use BP_SYM.
19128 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19129 <bp-sym.h> and <bp-asm.h>.
19130 (__strnlen): Don't use BP_SYM.
19131 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19132 <bp-asm.h>.
19133 (__mpn_rshift): Don't use BP_SYM.
19134 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19135 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19136 <bp-sym.h> and <bp-asm.h>.
19137 (__sigsetjmp): Don't use BP_SYM.
19138 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19139 (L(start_addresses)): Don't use BP_SYM.
19140 (_start): Likewise.
19141 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19142 <bp-asm.h>.
19143 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19144 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19145 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19146 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19147 <bp-asm.h>.
19148 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19149 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19150 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19151 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19152 <bp-asm.h>.
19153 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19154 comments.
19155 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19156 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19157 <bp-asm.h>.
19158 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19159 FIXME comments.
19160 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19161 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19162 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19163 <bp-asm.h>.
19164 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19165 comment.
19166 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19167 and <bp-asm.h>.
19168 (strncmp): Don't use BP_SYM,
19169 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19170 <bp-asm.h>.
19171 (__mpn_sub_n): Don't use BP_SYM.
19172 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19173 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19174 and <bp-asm.h>.
19175 (__mpn_submul_1): Don't use BP_SYM.
19176 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19178 <bp-sym.h> and <bp-asm.h>.
19179 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19181 <bp-sym.h> and <bp-asm.h>.
19182 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19183 comment.
19184
19185 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19186
19187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19188 Use ZK to minimize writes to Z.
19189 (sub_magnitudes): Simplify code a bit.
19190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19191 Use ZK to minimize writes to Z.
19192 (sub_magnitudes): Simplify code a bit.
19193
19194 2013-02-27 Roland McGrath <roland@hack.frob.com>
19195
19196 * csu/gmon-start.c: Add special exception to license text.
19197
19198 2013-02-27 Richard Henderson <rth@redhat.com>
19199
19200 * scripts/config.guess: Update from config.git.
19201 * scripts/config.sub: Likewise.
19202
19203 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19204
19205 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19206
19207 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19208
19209 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19210
19211 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19212
19213 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19214
19215 2013-02-26 Roland McGrath <roland@hack.frob.com>
19216
19217 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19218 [$(build-shared = yes].
19219
19220 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19221
19222 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19223 (__mul): Reduce iterations for calculating mantissa.
19224
19225 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19226 MPTWO.
19227 (__mpranred): Likewise.
19228
19229 [BZ #15160]
19230 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19231 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19232
19233 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19234
19235 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19236 Define __attribute__.
19237
19238 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19239
19240 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19241 unused.
19242 * posix/regex_internal.h (__attribute): Remove.
19243 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19244 (re_string_context_at): Likewise.
19245 (bitset_not): Use __attribute__ and mark function as possibly
19246 unused.
19247 (bitset_merge): Likewise.
19248 (bitset_mask): Likewise.
19249 (re_string_char_size_at): Likewise.
19250 (re_string_wchar_at): Likewise.
19251 (re_string_elem_size_at): Likewise.
19252
19253 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19254
19255 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19256 code.
19257 (cc32): Likewise.
19258
19259 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19260 (__acr): Likewise.
19261 (__cpy): Likewise.
19262 (norm): Likewise.
19263 (denorm): Likewise.
19264 (__dbl_mp): Likewise.
19265 (add_magnitudes): Likewise.
19266 (sub_magnitudes): Likewise.
19267 (__mul): Likewise.
19268 (__inv): Likewise.
19269
19270 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19271 style.
19272
19273 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19274 style.
19275
19276 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19277 code.
19278
19279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19280 up changes with default code.
19281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19282 Likewise.
19283
19284 2013-02-24 Allan McRae <allan@archlinux.org>
19285
19286 * manual/socket.texi (The Internet Namespace): Order menu items
19287 to match that in the file.
19288
19289 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19290 node listing of the info page menu.
19291
19292 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19293
19294 [BZ #13550]
19295 * sysdeps/i386/bp-asm.h: Remove file.
19296 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19297 (PARMS): Do not use macros from bp-asm.h.
19298 (S1): Likewise.
19299 (S2): Likewise.
19300 (SIZE): Likewise.
19301 (__mpn_add_n): Do not use BP_SYM
19302 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19303 "bp-asm.h".
19304 (PARMS): Do not use macros from bp-asm.h.
19305 (S1): Likewise.
19306 (SIZE): Likewise.
19307 (__mpn_addmul_1): Do not use BP_SYM
19308 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19309 "bp-asm.h".
19310 (PARMS): Do not use macros from bp-asm.h.
19311 (SIGMSK): Likewise.
19312 (_setjmp): Likewise. Do not use BP_SYM.
19313 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19314 "bp-asm.h".
19315 (PARMS): Do not use macros from bp-asm.h.
19316 (SIGMSK): Likewise.
19317 (setjmp): Likewise. Do not use BP_SYM.
19318 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19319 "bp-asm.h".
19320 (PARMS): Do not use macros from bp-asm.h.
19321 (__frexp): Do not use BP_SYM.
19322 (frexp): Likewise.
19323 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19324 "bp-asm.h".
19325 (PARMS): Do not use macros from bp-asm.h.
19326 (__frexpf): Do not use BP_SYM.
19327 (frexpf): Likewise.
19328 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19329 "bp-asm.h".
19330 (PARMS): Do not use macros from bp-asm.h.
19331 (__frexpl): Do not use BP_SYM.
19332 (frexpl): Likewise.
19333 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19334 "bp-asm.h".
19335 (PARMS): Do not use macros from bp-asm.h.
19336 (__remquo): Do not use BP_SYM.
19337 (remquo): Likewise.
19338 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19339 "bp-asm.h".
19340 (PARMS): Do not use macros from bp-asm.h.
19341 (__remquof): Do not use BP_SYM.
19342 (remquof): Likewise.
19343 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19344 "bp-asm.h".
19345 (PARMS): Do not use macros from bp-asm.h.
19346 (__remquol): Do not use BP_SYM.
19347 (remquol): Likewise.
19348 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19349 "bp-asm.h".
19350 (PARMS): Do not use macros from bp-asm.h.
19351 (DEST): Likewise.
19352 (SRC): Likewise.
19353 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19354 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19355 "bp-asm.h".
19356 (PARMS): Do not use macros from bp-asm.h.
19357 (strlen): Do not use BP_SYM.
19358 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19359 "bp-asm.h".
19360 (PARMS): Do not use macros from bp-asm.h.
19361 (S1): Likewise.
19362 (S2): Likewise.
19363 (SIZE): Likewise.
19364 (__mpn_add_n): Do not use BP_SYM.
19365 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19366 "bp-asm.h".
19367 (PARMS): Do not use macros from bp-asm.h.
19368 (S1): Likewise.
19369 (SIZE): Likewise.
19370 (__mpn_addmul_1): Do not use BP_SYM.
19371 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19372 weak_alias.
19373 (bzero): Likewise.
19374 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19375 "bp-asm.h".
19376 (PARMS): Do not use macros from bp-asm.h.
19377 (S): Likewise.
19378 (SIZE): Likewise.
19379 (__mpn_lshift): Do not use BP_SYM.
19380 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19381 "bp-asm.h".
19382 (PARMS): Do not use macros from bp-asm.h.
19383 (DEST): Likewise.
19384 (SRC): Likewise.
19385 (LEN): Likewise.
19386 (memcpy): Likewise. Do not use BP_SYM.
19387 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19388 libc_hidden_def and weak_alias.
19389 (mempcpy): Do not use BP_SYM in weak_alias.
19390 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19391 "bp-asm.h".
19392 (PARMS): Do not use macros from bp-asm.h.
19393 (DEST): Likewise.
19394 (LEN): Likewise.
19395 [!BZERO_P] (CHR): Likewise.
19396 (memset): Likewise. Do not use BP_SYM.
19397 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19398 "bp-asm.h".
19399 (PARMS): Do not use macros from bp-asm.h.
19400 (S1): Likewise.
19401 (SIZE): Likewise.
19402 (__mpn_mul_1): Do not use BP_SYM.
19403 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19404 "bp-asm.h".
19405 (PARMS): Do not use macros from bp-asm.h.
19406 (S): Likewise.
19407 (SIZE): Likewise.
19408 (__mpn_rshift): Do not use BP_SYM.
19409 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19410 "bp-asm.h".
19411 (PARMS): Do not use macros from bp-asm.h.
19412 (STR): Likewise.
19413 (CHR): Likewise.
19414 (strchr): Likewise. Do not use BP_SYM.
19415 (index): Do not use BP_SYM in weak_alias.
19416 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19417 "bp-asm.h".
19418 (PARMS): Do not use macros from bp-asm.h.
19419 (DEST): Likewise.
19420 (SRC): Likewise.
19421 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19422 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19423 "bp-asm.h".
19424 (PARMS): Do not use macros from bp-asm.h.
19425 (strlen): Do not use BP_SYM.
19426 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19427 "bp-asm.h".
19428 (PARMS): Do not use macros from bp-asm.h.
19429 (S1): Likewise.
19430 (S2): Likewise.
19431 (SIZE): Likewise.
19432 (__mpn_sub_n): Do not use BP_SYM.
19433 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19434 "bp-asm.h".
19435 (PARMS): Do not use macros from bp-asm.h.
19436 (S1): Likewise.
19437 (SIZE): Likewise.
19438 (__mpn_submul_1): Do not use BP_SYM.
19439 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19440 "bp-asm.h".
19441 (PARMS): Do not use macros from bp-asm.h.
19442 (S1): Likewise.
19443 (S2): Likewise.
19444 (SIZE): Likewise.
19445 (__mpn_add_n): Do not use BP_SYM.
19446 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19447 weak_alias.
19448 (bzero): Likewise.
19449 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19450 "bp-asm.h".
19451 (PARMS): Do not use macros from bp-asm.h.
19452 (BLK2): Likewise.
19453 (LEN): Likewise.
19454 (memcmp): Do not use BP_SYM.
19455 (bcmp): Do not use BP_SYM in weak_alias.
19456 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19457 "bp-asm.h".
19458 (PARMS): Do not use macros from bp-asm.h.
19459 (DEST): Likewise.
19460 (SRC): Likewise.
19461 (LEN): Likewise.
19462 (memcpy): Likewise. Do not use BP_SYM.
19463 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19464 "bp-asm.h".
19465 (PARMS): Do not use macros from bp-asm.h.
19466 (DEST): Likewise.
19467 (SRC): Likewise.
19468 (LEN): Likewise.
19469 (memmove): Likewise. Do not use BP_SYM.
19470 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19471 "bp-asm.h".
19472 (PARMS): Do not use macros from bp-asm.h.
19473 (DEST): Likewise.
19474 (SRC): Likewise.
19475 (LEN): Likewise.
19476 (__mempcpy): Likewise. Do not use BP_SYM.
19477 (mempcpy): Do not use BP_SYM in weak_alias.
19478 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19479 "bp-asm.h".
19480 (PARMS): Do not use macros from bp-asm.h.
19481 (DEST): Likewise.
19482 (LEN): Likewise.
19483 [!BZERO_P] (CHR): Likewise.
19484 (memset): Likewise. Do not use BP_SYM.
19485 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19486 "bp-asm.h".
19487 (PARMS): Do not use macros from bp-asm.h.
19488 (STR2): Likewise.
19489 (strcmp): Do not use BP_SYM.
19490 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19491 "bp-asm.h".
19492 (PARMS): Do not use macros from bp-asm.h.
19493 (STR): Likewise.
19494 (DELIM): Likewise.
19495 [USE_AS_STRTOK_R] (SAVE): Likewise.
19496 (FUNCTION): Likewise. Do not use BP_SYM.
19497 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19498 aliases.
19499 (strtok_r): Likewise.
19500 (__GI___strtok_r): Likewise.
19501 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19502 (PARMS): Do not use macros from bp-asm.h.
19503 (S): Likewise.
19504 (SIZE): Likewise.
19505 (__mpn_lshift): Do not use BP_SYM.
19506 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19507 (PARMS): Do not use macros from bp-asm.h.
19508 (STR): Likewise.
19509 (CHR): Likewise.
19510 (__memchr): Do not use BP_SYM.
19511 (memchr): Do not use BP_SYM in weak_alias.
19512 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19513 (PARMS): Do not use macros from bp-asm.h.
19514 (BLK2): Likewise.
19515 (LEN): Likewise.
19516 (memcmp): Do not use BP_SYM.
19517 (bcmp): Do not use BP_SYM in weak_alias.
19518 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19519 (PARMS): Do not use macros from bp-asm.h.
19520 (S1): Likewise.
19521 (SIZE): Likewise.
19522 (__mpn_mul_1): Do not use BP_SYM.
19523 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19524 "bp-asm.h".
19525 (PARMS): Do not use macros from bp-asm.h.
19526 (STR): Likewise.
19527 (CHR): Likewise.
19528 (__rawmemchr): Do not use BP_SYM.
19529 (rawmemchr): Do not use BP_SYM in weak_alias.
19530 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19531 (PARMS): Do not use macros from bp-asm.h.
19532 (S): Likewise.
19533 (SIZE): Likewise.
19534 (__mpn_rshift): Do not use BP_SYM.
19535 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19536 (PARMS): Do not use macros from bp-asm.h.
19537 (SIGMSK): Likewise.
19538 (__sigsetjmp): Likewise. Do not use BP_SYM.
19539 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19540 (_start): Do not use BP_SYM.
19541 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19542 (PARMS): Do not use macros from bp-asm.h.
19543 (DEST): Likewise.
19544 (SRC): Likewise.
19545 (__stpcpy): Likewise. Do not use BP_SYM.
19546 (stpcpy): Do not use BP_SYM in weak_alias.
19547 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19548 "bp-asm.h".
19549 (PARMS): Do not use macros from bp-asm.h.
19550 (DEST): Likewise.
19551 (SRC): Likewise.
19552 (LEN): Likewise.
19553 (__stpncpy): Likewise. Do not use BP_SYM.
19554 (stpncpy): Do not use BP_SYM in weak_alias.
19555 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19556 (PARMS): Do not use macros from bp-asm.h.
19557 (STR): Likewise.
19558 (CHR): Likewise.
19559 (strchr): Likewise. Do not use BP_SYM.
19560 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19561 "bp-asm.h".
19562 (PARMS): Do not use macros from bp-asm.h.
19563 (STR): Likewise.
19564 (CHR): Likewise.
19565 (__strchrnul): Likewise. Do not use BP_SYM.
19566 (strchrnul): Do not use BP_SYM in weak_alias.
19567 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19568 "bp-asm.h".
19569 (PARMS): Do not use macros from bp-asm.h.
19570 (STOP): Likewise.
19571 (strcspn): Do not use BP_SYM.
19572 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19573 "bp-asm.h".
19574 (PARMS): Do not use macros from bp-asm.h.
19575 (STR): Likewise.
19576 (STOP): Likewise.
19577 (strpbrk): Likewise. Do not use BP_SYM.
19578 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19579 "bp-asm.h".
19580 (PARMS): Do not use macros from bp-asm.h.
19581 (STR): Likewise.
19582 (CHR): Likewise.
19583 (strrchr): Likewise. Do not use BP_SYM.
19584 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19585 (PARMS): Do not use macros from bp-asm.h.
19586 (SKIP): Likewise.
19587 (strspn): Do not use BP_SYM.
19588 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19589 (PARMS): Do not use macros from bp-asm.h.
19590 (STR): Likewise.
19591 (DELIM): Likewise.
19592 (SAVE): Likewise.
19593 (FUNCTION): Likewise. Do not use BP_SYM.
19594 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19595 aliases.
19596 (strtok_r): Likewise.
19597 (__GI___strtok_r): Likewise.
19598 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19599 (PARMS): Do not use macros from bp-asm.h.
19600 (S1): Likewise.
19601 (S2): Likewise.
19602 (SIZE): Likewise.
19603 (__mpn_sub_n): Do not use BP_SYM.
19604 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19605 "bp-asm.h".
19606 (PARMS): Do not use macros from bp-asm.h.
19607 (S1): Likewise.
19608 (SIZE): Likewise.
19609 (__mpn_submul_1): Do not use BP_SYM.
19610 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19611 <bp-sym.h>.
19612 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19613 and <bp-asm.h>.
19614 (PARMS): Do not use macros from bp-asm.h.
19615 (FLAGS): Likewise.
19616 (PTID): Likewise.
19617 (TLS): Likewise.
19618 (CTID): Likewise.
19619 (__clone): Do not use BP_SYM.
19620 (clone): Do not use BP_SYM in weak_alias.
19621 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19622 and <bp-asm.h>.
19623 (PARMS): Do not use macros from bp-asm.h.
19624 (LEN): Likewise.
19625 (__mmap64): Do not use BP_SYM.
19626 (mmap64): Do not use BP_SYM in weak_alias.
19627 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19628 <bp-sym.h> and <bp-asm.h>.
19629 (PARMS): Do not use macros from bp-asm.h.
19630 (__posix_fadvise64_l64): Do not use BP_SYM.
19631 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19632 (PARMS): Do not use macros from bp-asm.h.
19633 (NSOPS): Likewise.
19634 (semtimedop): Do not use BP_SYM.
19635 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19636 and <bp-asm.h>.
19637
19638 2013-02-21 Allan McRae <allan@archlinux.org>
19639
19640 * manual/message.texi (Charset conversion in gettext):
19641 Move @end statement to beginning of line.
19642
19643 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19644
19645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19646 static.
19647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19648 Likewise.
19649
19650 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19651 (denorm): Likewise.
19652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19654
19655 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19656
19657 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19658 tail-call to the resolved function if pltexit isn't needed.
19659
19660 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19661
19662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19663 or Y being zero as being unlikely.
19664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19665 Likewise.
19666
19667 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19668
19669 * manual/nss.texi (System Databases and Name Service Switch):
19670 Remove frobnicate @pxref.
19671
19672 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19673
19674 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19675 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19676
19677 2013-02-20 Petr Machata <pmachata@redhat.com>
19678
19679 * elf/elf.h (R_ARM_TARGET1): New macro.
19680 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19681 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19682 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19683 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19684 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19685 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19686 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19687 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19688 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19689 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19690 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19691 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19692 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19693 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19694 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19695 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19696 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19697 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19698 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19699 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19700 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19701 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19702 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19703 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19704 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19705 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19706 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19707 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19708 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19709 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19710 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19711 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19712 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19713 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19714 (R_ARM_THM_GOT_BREL12): Likewise.
19715 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19716 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19717 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19718 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19719 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19720 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19721 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19722 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19723 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19724
19725 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19726
19727 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19728 __attribute_used__ to __attribute__ ((unused)).
19729
19730 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19731
19732 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19733 powerpc mpa.c.
19734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19735 comment formatting.
19736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19737
19738 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19739
19740 [BZ #13550]
19741 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19742 Remove macro.
19743 (ENTER): Remove both macro definitions.
19744 (LEAVE): Likewise.
19745 (CHECK_BOUNDS_LOW): Likewise.
19746 (CHECK_BOUNDS_HIGH): Likewise.
19747 (CHECK_BOUNDS_BOTH): Likewise.
19748 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19749 (RETURN_BOUNDED_POINTER): Likewise.
19750 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19751 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19752 (POP_ERRNO_LOCATION_RETURN): Likewise.
19753 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19754 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19755 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19756 macros.
19757 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19758 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19759 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19760 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19761 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19762 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19763 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19764 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19765 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19766 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19767 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19768 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19769 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19770 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19771 removed macros.
19772 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19773 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19774 macros.
19775 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19776 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19777 * sysdeps/i386/i586/memset.S (memset): Likewise.
19778 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19779 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19780 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19781 macros.
19782 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19783 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19784 Change uses of L(2) to L(out).
19785 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19786 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19787 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19788 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19789 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19790 removed macros.
19791 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19792 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19793 macros.
19794 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19795 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19796 (RETURN): Do not use macro LEAVE.
19797 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19798 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19799 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19800 * sysdeps/i386/i686/memset.S (memset): Likewise.
19801 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19802 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19803 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19804 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19805 Likewise.
19806 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19807 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19808 L(1_2) and L(1_3) into L(1).
19809 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19810 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19811 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19812 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19813 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19814 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19815 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19816 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19817 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19818 macros.
19819 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19820 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19821 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19822 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19823 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19824 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19825 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19826 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19827 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19828 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19829 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19830 * sysdeps/i386/strspn.S (strspn): Likewise.
19831 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19832 conditional code.
19833 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19834 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19835 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19836 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19837 L(1_3) into L(1_1).
19838 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19839 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19840 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19841 macros.
19842 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19843
19844 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19845
19846 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19847 macro.
19848
19849 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19850
19851 * math/atest-exp.c (exp_mpn): Remove ROUND.
19852 * math/atest-exp2.c (exp_mpn): Likewise.
19853 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19854
19855 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19856 * stdlib/tst-tls-atexit-lib.c: Likewise.
19857 * stdlib/tst-tls-atexit.c: Likewise.
19858
19859 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19860
19861 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19862 and __attribute_alloc_size__.
19863
19864 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19865
19866 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19867 __attribute_alloc_size__.
19868 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19869 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19870
19871 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19872
19873 * include/programs/xmalloc.h: New file.
19874 * catgets/gencat.c: Include it.
19875 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19876 * elf/pldd.c: Likewise.
19877 * iconv/iconv_charmap.c: Likewise.
19878 * iconv/iconvconfig.c: Likewise.
19879 * iconv/strtab.c: Likewise.
19880 * locale/programs/locale.c: Likewise.
19881 * locale/programs/localedef.h: Likewise.
19882 * locale/programs/simple-hash.c: Likewise.
19883 * nscd/nscd.h: Likewise.
19884 * nss/makedb.c: Likewise.
19885 * sysdeps/generic/ldconfig.h: Likewise.
19886
19887 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19888
19889 * Versions.def: Add GLIBC_2.18.
19890 * include/link.h (struct link_map): New member l_tls_dtor_count.
19891 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19892 (__call_tls_dtors): Likewise.
19893 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19894 __cxa_thread_atexit_impl.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19896 Likewise.
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19898 Likewise.
19899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19900 Likewise.
19901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19902 Likewise.
19903 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19905 Likewise.
19906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19907 Likewise.
19908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19910 Likewise.
19911 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19912 (tests): Add test case tst-tls-atexit.
19913 (modules-names): Add shared library for tst-tls-atexit.
19914 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19915 (GLIBC_PRIVATE): Add __call_tls_dtors.
19916 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19917 for libstdc++.
19918 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19919 * stdlib/tst-tls-atexit.c: New test case.
19920 * stdlib/tst-tls-atexit-lib.c: New test case.
19921
19922 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19923
19924 * elf/Versions (ld): Add _dl_find_dso_for_object.
19925 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19926 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19927 (dl_open_worker): Use _dl_find_dso_for_object.
19928 * elf/dl-sym.c (do_sym): Likewise.
19929 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19930
19931 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19932
19933 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19934 Syntactic changes only.
19935 (_dl_runtime_profile): Do a tail-call to the resolved function.
19936
19937 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19938
19939 [BZ #13550]
19940 * sysdeps/x86_64/bp-asm.h: Remove file.
19941 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19942 <bp-sym.h> and <bp-asm.h>.
19943 (__clone): Do not use BP_SYM.
19944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19945 <bp-sym.h> and <bp-asm.h>.
19946 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19947 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19948 "bp-asm.h".
19949 (_setjmp): Do not use BP_SYM.
19950 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19951 "bp-asm.h".
19952 (setjmp): Do not use BP_SYM.
19953 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19954 libc_hidden_def.
19955 (mempcpy): Do not use BP_SYM in weak_alias.
19956 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19957 "bp-asm.h".
19958 (strchr): Do not use BP_SYM.
19959 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19960 "bp-asm.h".
19961 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19962 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19963 (_start): Do not use BP_SYM.
19964 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19965 "bp-asm.h".
19966 (strcat): Do not use BP_SYM.
19967 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19968 "bp-asm.h".
19969 (STRCMP): Do not use BP_SYM.
19970 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19971 "bp-asm.h".
19972 (STRCPY): Do not use BP_SYM.
19973 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19974 "bp-asm.h".
19975 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19976 "bp-asm.h".
19977 (FUNCTION): Do not use BP_SYM.
19978 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19979 weak_alias.
19980 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19981
19982 2013-02-17 Andreas Jaeger <aj@suse.de>
19983
19984 * time/Versions: Sort entries.
19985 * string/Versions: Likewise.
19986 * resolv/Versions: Likewise.
19987 * posix/Versions: Likewise.
19988 * iconv/Versions: Likewise.
19989 * elf/Versions: Likewise.
19990 * wcsmbs/Versions: Likewise.
19991
19992 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19993
19994 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19995 loop termination condition.
19996
19997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19998 variable to calculate EZ.
19999 (__sqr): Likewise.
20000
20001 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20002 the lower precision input.
20003
20004 2013-02-15 Joseph Myers <joseph@codesourcery.com>
20005
20006 [BZ #13550]
20007 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20008 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20009 (run-via-rtld-prefix): Do not handle %-bp tests.
20010 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20011 (all-object-suffixes): Remove .ob.
20012 (bppfx): Remove variable.
20013 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20014 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20015 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20016 [$(build-bounded) = yes] (libtype.ob): Likewise.
20017 * Makerules (elide-routines.ob): Remove variable.
20018 (do-tests-clean): Do not handle *-bp.out.
20019 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20020 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20021 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20022 (tests): Do not include $(tests-bp.out).
20023 (xtests): Do not include $(xtests-bp.out).
20024 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20025 [$(build-bounded) = yes] ($(addprefix
20026 $(objpfx),$(binaries-bounded))): Remove rule.
20027 ($(objpfx)%-bp.out): Remove rule.
20028 * config.make.in (build-bounded): Remove variable.
20029 * crypt/Makefile [$(build-bounded) = yes]
20030 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20031 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20032 append to variable.
20033 [$(build-bounded) = yes] (install-lib): Likewise.
20034 [$(build-bounded) = yes] (generated): Likewise.
20035 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20036 Remove rule.
20037 * intl/Makefile [$(build-bounded) = yes]
20038 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20039 * math/Makefile [$(build-bounded) = yes]
20040 ($(tests:%=$(objpfx)%-bp): Likewise.
20041 * misc/Makefile [$(build-bounded) = yes]
20042 ($(objpfx)tst-tsearch-bp): Likewise.
20043 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20044 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20045 Remove dependency.
20046 * string/Makefile (o-objects.ob): Remove variable.
20047 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20048 (CFLAGS-.ob): Remove variable.
20049 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20050 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20051 both definitions of variable.
20052 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20053 (ASFLAGS-.ob): Remove variable.
20054
20055 2013-02-14 Joseph Myers <joseph@codesourcery.com>
20056
20057 [BZ #13550]
20058 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20059 Remove __BOUNDED_POINTERS__ from condition.
20060 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20061 * string/bits/string2.h [!__NO_STRING_INLINES &&
20062 !__BOUNDED_POINTERS__]: Likewise.
20063 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20064 Likewise.
20065 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20066 Remove conditional code.
20067 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20068 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20069 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20070 condition.
20071
20072 [BZ #13550]
20073 * csu/libc-start.c: Do not include <bp-sym.h>.
20074 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20075 * elf/dl-open.c: Do not include <bp-sym.h>.
20076 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20077 * math/fegetenv.c: Do not include <bp-sym.h>.
20078 (fegetenv): Do not use BP_SYM in versioned symbols.
20079 * nptl/sysdeps/pthread/bits/libc-lockP.h
20080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20081 <bp-sym.h>.
20082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20083 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20085 (__pthread_mutex_destroy): Likewise.
20086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20087 (__pthread_mutex_lock): Likewise.
20088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20089 (__pthread_mutex_trylock): Likewise.
20090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20091 (__pthread_mutex_unlock): Likewise.
20092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20093 (__pthread_mutexattr_init): Likewise.
20094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20095 (__pthread_mutexattr_destroy): Likewise.
20096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20097 (__pthread_mutexattr_settype): Likewise.
20098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20099 (__pthread_rwlock_init): Likewise.
20100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20101 (__pthread_rwlock_destroy): Likewise.
20102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20103 (__pthread_rwlock_rdlock): Likewise.
20104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20105 (__pthread_rwlock_tryrdlock): Likewise.
20106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20107 (__pthread_rwlock_wrlock): Likewise.
20108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20109 (__pthread_rwlock_trywrlock): Likewise.
20110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20111 (__pthread_rwlock_unlock): Likewise.
20112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20113 (__pthread_key_create): Likewise.
20114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20115 (__pthread_setspecific): Likewise.
20116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20117 (__pthread_getspecific): Likewise.
20118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20119 Likewise.
20120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20121 (_pthread_cleanup_push_defer): Likewise.
20122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20123 (_pthread_cleanup_pop_restore): Likewise.
20124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20125 (pthread_setcancelstate): Likewise.
20126 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20127 <bp-sym.h>.
20128 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20129 (memchr): Do not use BP_SYM in weak_alias.
20130 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20131 (fegetenv): Do not use BP_SYM in versioned symbols.
20132 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20133 (fesetenv): Do not use BP_SYM in versioned symbols.
20134 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20135 (feupdateenv): Do not use BP_SYM in versioned symbols.
20136 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20137 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20138 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20139 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20140 (open64): Do not use BP_SYM in weak_alias.
20141 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20142 (fegetenv): Do not use BP_SYM in versioned symbols.
20143 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20144 (fesetenv): Do not use BP_SYM in versioned symbols.
20145 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20146 (feupdateenv): Do not use BP_SYM in versioned symbols.
20147 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20148 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20149 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20150 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20151 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20152 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20153 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20154 <bp-sym.h>.
20155 (__libc_start_main): Do not use BP_SYM.
20156
20157 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20158
20159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20160 redundant return line.
20161 (norm): Likewise.
20162 (denorm): Likewise.
20163 (dbl_mp): Likewise.
20164 (sub_magnitudes): Likewise.
20165 (__add): Likewise.
20166 (__sub): Likewise.
20167 (__mul): Likewise.
20168 (__inv): Likewise.
20169 (__dvd): Likewise.
20170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20171 (norm): Likewise.
20172 (denorm): Likewise.
20173 (dbl_mp): Likewise.
20174 (sub_magnitudes): Likewise.
20175 (__add): Likewise.
20176 (__sub): Likewise.
20177 (__mul): Likewise.
20178 (__inv): Likewise.
20179 (__dvd): Likewise.
20180
20181 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20182 instead of __mul.
20183 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20184 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20185 (cc32): Likewise.
20186
20187 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20188 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20190 of __mul for squares.
20191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20192 function
20193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20194 Likewise.
20195 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20196 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20197
20198 2013-02-13 Joseph Myers <joseph@codesourcery.com>
20199
20200 [BZ #13550]
20201 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20202 code.
20203 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20204 prototype or function definition. Rename ubp_* variables and
20205 parameters. Remove argv definitions conditional on
20206 [__BOUNDED_POINTERS__].
20207 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20208 * elf/dl-runtime.c (_dl_fixup): Likewise.
20209 * include/set-hooks.h (RUN_HOOK): Likewise.
20210 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20211 definition.
20212 * string/strcpy.c (strcpy): Do not use __unbounded.
20213 * sysdeps/generic/frame.h (struct layout): Likewise.
20214 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20215 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20216 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20217 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20218 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20219 (__backtrace): Likewise.
20220 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20221 use __ptrvalue.
20222 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20223 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20224 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20225 Likewise.
20226 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20227 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20228 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20229 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20230 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20231 Do not use __unbounded.
20232 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20233 Rename __unboundedrlimits parameter to rlimits in prototype.
20234 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20235 Do not use __unbounded.
20236 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20237 not use __ptrvalue.
20238 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20239 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20240 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20241 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20242 __ptrvalue or __unbounded.
20243 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20244 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20245 use __unbounded.
20246 (__new_msgctl): Do not use __ptrvalue.
20247 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20248 __unbounded.
20249 (__libc_msgrcv): Do not use __ptrvalue.
20250 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20251 startup_info): Do not use __unbounded.
20252 (__libc_start_main): Likewise. Rename ubp_* variables and
20253 parameters. Remove argv definitions conditional on
20254 [__BOUNDED_POINTERS__].
20255 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20256 __ptrvalue.
20257 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20258 use __unbounded.
20259 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20260 or __ptrvalue.
20261 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20262 use __unbounded.
20263 (__new_shmctl): Do not use __ptrvalue.
20264 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20265 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20266 Likewise.
20267 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20269 (__libc_sigaction): Likewise.
20270 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20271 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20272 Likewise.
20273 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20274
20275 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
20276
20277 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20278
20279 * string/mempcpy.c: Implement by calling memcpy.
20280
20281 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20282
20283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20284
20285 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20286 evaluation.
20287
20288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20289 values in the mantissa.
20290
20291 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20292 minimize writes to Z.
20293 (sub_magnitudes): Simplify code a bit.
20294
20295 2013-02-12 Roland McGrath <roland@hack.frob.com>
20296
20297 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20298 from the message. The linker prefixes all warnings with that already.
20299
20300 2013-02-12 Andreas Schwab <schwab@suse.de>
20301
20302 [BZ #15078]
20303 * posix/regexec.c (extend_buffers): Add parameter min_len.
20304 (check_matching): Pass minimum needed length.
20305 (clean_state_log_if_needed): Likewise.
20306 (get_subexp): Likewise.
20307 * posix/Makefile (tests): Add bug-regex34.
20308 (bug-regex34-ENV): Define.
20309 * posix/bug-regex34.c: New file.
20310
20311 [BZ #11561]
20312 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20313 elements compare against the byte sequence of it, not its name.
20314 * posix/Makefile (tests): Add bug-regex35.
20315 (bug-regex35-ENV): Define.
20316 * posix/bug-regex35.c: New file.
20317
20318 2013-02-11 Tom de Vries <tom@codesourcery.com>
20319
20320 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20321 comment.
20322 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20323 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20324 (CHECK_EOL): Add undef.
20325
20326 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20327
20328 * bits/stdlib-bsearch.h: New file.
20329 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20330 * stdlib/stdlib.h: Likewise.
20331
20332 2013-02-11 Roland McGrath <roland@hack.frob.com>
20333
20334 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20335 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20336 declaration.
20337 * manual/search.texi (Array Search Function): Add missing const in
20338 lfind prototype.
20339 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20340 declaration to use rlim_t.
20341 (Basic Scheduling Functions): Remove erroneous const from
20342 sched_getparam prototype. Remove erroneous * from
20343 sched_get_priority_max and sched_get_priority_min prototypes.
20344 (Resource Usage): Fix summary @comment on vtimes to refer to
20345 sys/vtimes.h rather than vtimes.h.
20346 Add missing *s in vtimes prototype.
20347 (Limits on Resources): Fix ulimit prototype to return long int.
20348 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20349 prototypes to use long int rather than double.
20350 (BSD Random): Fix initstate and setstate to use char *, not void *.
20351 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20352 prototype to make second argument 'struct aiocb64 *const[]'.
20353 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20354 (Status of AIO Operations): Remove erroneous const in aio_return and
20355 aio_return64 prototypes.
20356 (Synchronizing I/O): Fix sync prototype to return void.
20357 * manual/startup.texi (Suboptions): Remove an erroneous const in
20358 getsubopt prototype.
20359 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20360 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20361 use size_t rather than int.
20362 (Scanning All Users): Likewise for getpwent_r.
20363 (Setting Groups): Add missing const to setgroups prototype.
20364 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20365 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20366 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20367 'const void *' rather than 'const char *'.
20368 (Host Address Functions): Likewise for inet_ntop.
20369 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20370 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20371 ssize_t for return value.
20372 (Sending Data): Likewise for send, sendto, sendmsg.
20373 (Socket Option Functions): Add a missing const in setsockopt prototype.
20374 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20375 use wchar_t for the argument.
20376 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20377 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20378 take no arguments.
20379 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20380 double/float/long double for second argument.
20381 Fix return types of significand, significandf, significandl.
20382 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20383 argument in fchmod prototype.
20384 (File Owner): Use uid_t and gid_t in fchown prototype.
20385 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20386 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20387 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20388 use 'const struct dirent **' as argument types to CMP function pointer
20389 argument.
20390 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20391 (File Times): Fix summary magic @comment for struct utimbuf and utime
20392 to refer to utime.h, not time.h.
20393 * manual/string.texi (Argz Functions): Add missing const in
20394 argz_extract and argz_next prototypes.
20395 (Finding Tokens in a String): Likewise for basename.
20396 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20397 (Copying and Concatenation): Fix typo in wmemmove prototype.
20398 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20399 (Signal Stack): Remove erroneous const in sigstack prototype.
20400 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20401 prototype.
20402 (Simple Calendar Time): Likewise for stime.
20403 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20404 prototype.
20405 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20406 say sys/sysctl.h instead.
20407 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20408 and vsyslog prototypes.
20409
20410 2013-02-11 Tom de Vries <tom@codesourcery.com>
20411
20412 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20413 Remove.
20414
20415 2013-02-11 Roland McGrath <roland@hack.frob.com>
20416
20417 * misc/sys/mman.h: Fix typo in mremap comment.
20418
20419 2013-02-08 Roland McGrath <roland@hack.frob.com>
20420
20421 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20422 the '\0' terminator.
20423
20424 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20425
20426 [BZ #13550]
20427 * debug/segfault.c: Don't include <bp-checks.h>.
20428 * sysdeps/generic/bp-checks.h: Remove file.
20429 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20430 (__GETDENTS): Don't use CHECK_N.
20431 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20432 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20433 (__getgroups): Don't use CHECK_N.
20434 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20435 (setgroups): Don't use CHECK_N.
20436 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20437 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20438 (__libc_msgrcv): Don't use CHECK_N.
20439 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20440 (__libc_msgsnd): Don't use CHECK_N.
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20442 <bp-checks.h>.
20443 (__libc_pread): Don't use CHECK_N.
20444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20445 include <bp-checks.h>.
20446 (__libc_pread64): Don't use CHECK_N.
20447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20448 include <bp-checks.h>.
20449 (__libc_pwrite): Don't use CHECK_N.
20450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20451 include <bp-checks.h>.
20452 (__libc_pwrite64): Don't use CHECK_N.
20453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20454 <bp-checks.h>.
20455 (__libc_pread): Don't use CHECK_N.
20456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20457 include <bp-checks.h>.
20458 (__libc_pread64): Don't use CHECK_N.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20460 include <bp-checks.h>.
20461 (__libc_pwrite): Don't use CHECK_N.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20463 include <bp-checks.h>.
20464 (__libc_pwrite64): Don't use CHECK_N.
20465 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20466 (do_pread): Don't use CHECK_N.
20467 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20468 (do_pread64): Don't use CHECK_N.
20469 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20470 (do_pwrite): Don't use CHECK_N.
20471 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20472 (do_pwrite64): Don't use CHECK_N.
20473 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20474 (__libc_readv): Don't use CHECK_N.
20475 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20476 (semop): Don't use CHECK_N.
20477 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20478 <bp-checks.h>.
20479 (semtimedop): Don't use CHECK_N.
20480 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20481 (__libc_pread): Don't use CHECK_N.
20482 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20483 <bp-checks.h>.
20484 (__libc_pread64): Don't use CHECK_N.
20485 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20486 <bp-checks.h>.
20487 (__libc_pwrite): Don't use CHECK_N.
20488 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20489 <bp-checks.h>.
20490 (__libc_pwrite64): Don't use CHECK_N.
20491 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20492 <bp-checks.h>.
20493 (__libc_msgrcv): Don't use CHECK_N.
20494 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20495 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20496 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20497 (__libc_writev): Don't use CHECK_N.
20498
20499 2013-02-08 Roland McGrath <roland@hack.frob.com>
20500
20501 * string/strcpy.c: Removed unused variable.
20502
20503 * Makeconfig (+sysdep-includes): Define with := rather than =.
20504 Use an existing include/ subdir of each sysdeps dir before it.
20505
20506 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20507
20508 * nscd/connection.c (register_traced_file): Comment function.
20509 [HAVE_INOTIFY] (union __inev): Define.
20510 [HAVE_INOTIFY] (inotify_check_files): New function.
20511 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20512 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20513 clear_db_cache.
20514 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20515
20516 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20517
20518 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20519 loaded if not already and that a failure is permanent.
20520
20521 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20522
20523 [BZ #15006]
20524 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20525 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20526
20527 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20528
20529 [BZ #13550]
20530 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20531 (CHECK_1_NULL_OK): Likewise.
20532 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20533 (__fxstat): Do not use CHECK_1.
20534 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20535 <bp-checks.h>.
20536 (___fxstat64): Do not use CHECK_1.
20537 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20538 <bp-checks.h>.
20539 (__fxstatat): Do not use CHECK_1.
20540 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20541 <bp-checks.h>.
20542 (__fxstatat64): Do not use CHECK_1.
20543 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20544 <bp-checks.h>.
20545 (__fxstat): Do not use CHECK_1.
20546 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20547 <bp-checks.h>.
20548 (__fxstatat): Do not use CHECK_1.
20549 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20550 <bp-checks.h>.
20551 (__getresgid): Do not use CHECK_1.
20552 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20553 <bp-checks.h>.
20554 (__getresuid): Do not use CHECK_1.
20555 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20556 <bp-checks.h>.
20557 (__lxstat): Do not use CHECK_1.
20558 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20559 <bp-checks.h>.
20560 (__old_msgctl): Do not use CHECK_1.
20561 (__new_msgctl): Likewise.
20562 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20563 <bp-checks.h>.
20564 (__new_setrlimit): Do not use CHECK_1.
20565 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20566 <bp-checks.h>.
20567 (__old_shmctl): Do not use CHECK_1.
20568 (__new_shmctl): Likewise.
20569 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20570 <bp-checks.h>.
20571 (__xstat): Do not use CHECK_1.
20572 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20573 (__lxstat): Do not use CHECK_1.
20574 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20575 <bp-checks.h>.
20576 (___lxstat64): Do not use CHECK_1.
20577 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20578 (__old_msgctl): Do not use CHECK_1.
20579 (__new_msgctl): Likewise.
20580 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20581 <bp-checks.h>.
20582 (__gettimeofday): Do not use CHECK_1.
20583 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20584 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20585 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20586 <bp-checks.h>.
20587 (__gettimeofday): Do not use CHECK_1.
20588 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20589 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20590 (__new_shmctl): Do not use CHECK_1.
20591 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20592 <bp-checks.h>.
20593 (do_sigtimedwait): Do not use CHECK_1.
20594 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20595 <bp-checks.h>.
20596 (do_sigwaitinfo): Do not use CHECK_1.
20597 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20598 <bp-checks.h>.
20599 (msgctl): Do not use CHECK_1.
20600 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20601 <bp-checks.h>.
20602 (shmctl): Do not use CHECK_1.
20603 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20604 (ustat): Do not use CHECK_1.
20605 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20606 <bp-checks.h>.
20607 (__fxstat): Do not use CHECK_1.
20608 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20609 <bp-checks.h>.
20610 (__fxstatat): Do not use CHECK_1.
20611 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20612 <bp-checks.h>.
20613 (__lxstat): Do not use CHECK_1.
20614 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20615 <bp-checks.h>.
20616 (__xstat): Do not use CHECK_1.
20617 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20618 (__xstat): Do not use CHECK_1.
20619 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20620 (___xstat64): Do not use CHECK_1.
20621
20622 [BZ #13550]
20623 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20624 definitions.
20625 (CHECK_BOUNDS_HIGH): Likewise.
20626 * string/strcpy.c: Do not include <bp-checks.h>.
20627 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20628
20629 2013-02-07 Roland McGrath <roland@hack.frob.com>
20630
20631 * nscd/nscd-client.h (__nscd_drop_map_ref):
20632 Add __attribute__ ((unused)).
20633 * nis/nss-nisplus.h (niserr2nss): Likewise.
20634
20635 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20636 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20637
20638 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20639 Remove inline keyword.
20640 * include/rounding-mode.h (round_away): Likewise.
20641 * libio/wfileops.c (adjust_wide_data): Likewise.
20642 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20643 (__m128i_strloadu_tolower): Likewise.
20644 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20645 (__m128i_strloadu_tolower): Likewise.
20646 * time/mktime.c (ydhms_diff): Likewise.
20647 * locale/elem-hash.h (elem_hash): Likewise.
20648 * locale/setlocale.c (setdata): Likewise.
20649 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20650 (re_string_wchar_at): Likewise.
20651 (bitset_not, bitset_merge, bitset_mask): Likewise.
20652 [!(__GNUC__ > 3)] (inline): Remove macro.
20653 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20654 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20655 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20656 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20657 * string/memcmp.c (memcmp_bytes): Likewise.
20658 * locale/programs/locarchive.c (compute_hashval): Likewise.
20659 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20660 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20661 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20662 * nss/getent.c (print_rpc, print_protocols): Likewise.
20663 (print_passwd, print_group, print_aliases): Likewise.
20664 * nis/nss-nisplus.h (niserr2nss): Likewise.
20665 * nscd/connections.c (restart_p): Likewise.
20666 Change return type to bool.
20667
20668 2013-02-05 Roland McGrath <roland@hack.frob.com>
20669
20670 * Makeconfig (all-Depend-files): Add existing
20671 $(sorted-subdirs:=/Depend) files.
20672 (all-subdirs): Remove nss.
20673 * sysdeps/unix/inet/Subdirs: Add it here instead.
20674 * hesiod/Depend: New file.
20675
20676 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20677 instead of calling alloca.
20678
20679 * io/lseek.c (__lseek): Rename to __libc_lseek.
20680 Define __lseek as an alias.
20681
20682 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20683
20684 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20685
20686 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20687 else clause and remove check for non-standard endianness.
20688
20689 2013-02-04 David S. Miller <davem@davemloft.net>
20690
20691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20692
20693 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20694
20695 [BZ #13550]
20696 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20697 (__ubp_memchr): Remove prototype.
20698 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20699 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20700 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20701 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20702 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20703 Remove alias.
20704 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20705 (__ubp_memchr): Likewise.
20706 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20707 (__ubp_memchr): Likewise.
20708 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20709 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20710 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20711 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20712 CHECK_STRING.
20713 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20714 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20715 (__getcwd): Do not use CHECK_STRING.
20716 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20717 <bp-checks.h>.
20718 (__real_chown): Do not use CHECK_STRING.
20719 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20720 <bp-checks.h>.
20721 (fchownat): Do not use CHECK_STRING.
20722 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20723 CHECK_STRING.
20724 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20725 <bp-checks.h>.
20726 (__lchown): Do not use CHECK_STRING.
20727 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20728 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20729 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20730 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20732 include <bp-checks.h>.
20733 (truncate64): Do not use CHECK_STRING.
20734 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20735 <bp-checks.h>.
20736 (__real_chown): Do not use CHECK_STRING.
20737 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20738 <bp-checks.h>.
20739 (__lchown): Do not use CHECK_STRING.
20740 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20741 <bp-checks.h>.
20742 (__chown): Do not use CHECK_STRING.
20743 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20744 <bp-checks.h>.
20745 (truncate64): Do not use CHECK_STRING.
20746 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20747 Likewise.
20748 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20749 (__xmknod): Do not use CHECK_STRING.
20750 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20751 <bp-checks.h>.
20752 (__xmknodat): Do not use CHECK_STRING.
20753 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20754 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20755
20756 2013-02-04 Andreas Schwab <schwab@suse.de>
20757
20758 [BZ #14142]
20759 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20760 * include/netdb.h: Likewise for h_errno.
20761 * elf/tst-stackguard1.c: Include <tls.h>.
20762
20763 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20764
20765 * elf/link.h (struct link_map): Extend the l_addr comment.
20766 * include/link.h (struct link_map): Likewise.
20767
20768 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20769
20770 [BZ #13550]
20771 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20772 (BOUNDED_1): Remove macro.
20773 * debug/backtrace.c: Don't include <bp-checks.h>.
20774 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20775 (__backtrace): Likewise.
20776 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20777 <bp-checks.h>.
20778 (__backtrace): Don't use BOUNDED_1.
20779 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20780 <bp-checks.h>.
20781 (__backtrace): Don't use BOUNDED_1.
20782 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20783 (__backtrace): Don't use BOUNDED_1.
20784 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20785 (shmat): Don't use BOUNDED_N.
20786
20787 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20788
20789 [BZ #13550]
20790 * sysdeps/generic/bp-start.h: Remove file.
20791 * csu/libc-start.c: Don't include <bp-start.h>.
20792 (LIBC_START_MAIN): Set up __environ directly instead of using
20793 INIT_ARGV_and_ENVIRON.
20794 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20795 <bp-start.h>.
20796
20797 [BZ #13550]
20798 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20799 definitions.
20800 (CHECK_FCNTL): Likewise.
20801 (CHECK_N_PAGES): Likewise.
20802
20803 [BZ #13550]
20804 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20805 definitions.
20806 (CHECK_SIGSET_NULL_OK): Likewise.
20807 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20808 <bp-checks.h>.
20809 (sigpending): Don't use CHECK_SIGSET.
20810 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20811 <bp-checks.h>.
20812 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20813 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20814 <bp-checks.h>.
20815 (do_sigsuspend): Don't use CHECK_SIGSET.
20816 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20817 use CHECK_SIGSET.
20818 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20819 (do_sigwait): Don't use CHECK_SIGSET.
20820 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20821 use CHECK_SIGSET.
20822 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20823 include <bp-checks.h>.
20824 (sigpending): Don't use CHECK_SIGSET.
20825 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20826 include <bp-checks.h>.
20827 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20828 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20829 <bp-checks.h>.
20830 (sigpending): Don't use CHECK_SIGSET.
20831 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20832 <bp-checks.h>.
20833 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20834
20835 [BZ #13550]
20836 * sysdeps/generic/bp-semctl.h: Remove file.
20837 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20838 <bp-checks.h> and <bp-semctl.h>.
20839 (__old_semctl): Don't use CHECK_SEMCTL.
20840 (__new_semctl): Likewise.
20841 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20842 and <bp-semctl.h>.
20843 (__old_semctl): Don't use CHECK_SEMCTL.
20844 (__new_semctl): Likewise.
20845 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20846 <bp-checks.h> and <bp-semctl.h>.
20847 (__old_semctl): Don't use CHECK_SEMCTL.
20848 (__new_semctl): Likewise.
20849 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20850 <bp-checks.h> and <bp-semctl.h>.
20851 (semctl): Don't use CHECK_SEMCTL.
20852
20853 [BZ #13550]
20854 * Makerules (elide-bp-thunks): Remove variable.
20855 (elide-routines.oS): Don't use $(elide-bp-thunks).
20856 (elide-routines.os): Likewise.
20857 (elide-routines.o): Likewise.
20858 (elide-routines.op): Likewise.
20859 (elide-routines.og): Likewise.
20860 (objects): Don't use $(bp-thunks).
20861 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20862 include.
20863 (common-generated): Do not add s-proto-bp.d.
20864 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20865 (int): Likewise.
20866 (typ): Likewise.
20867 Do not generate makefile rules for bounded-pointer thunks.
20868 * sysdeps/generic/bp-thunks.h: Remove file.
20869 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20870 * sysdeps/unix/s-proto-bp.S: Likewise.
20871
20872 [BZ #15062]
20873 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20874 parts of result separately when argument is not close to line from
20875 -i to i and one part of argument is small.
20876 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20877 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20878 * math/libm-test.inc (cacos_test): Add more tests.
20879 (casin_test): Likewise.
20880 (casinh_test): Likewise.
20881 * sysdeps/i386/fpu/libm-test-ulps: Update.
20882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20883
20884 2013-01-31 David S. Miller <davem@davemloft.net>
20885
20886 * po/de.po: Update from translation team.
20887
20888 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20889
20890 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20891
20892 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20893
20894 * configure.in (_AC_PROG_CC_C89): New definition.
20895 * configure: Regenerate.
20896
20897 * configure.in (AC_PROG_CPP): New definition.
20898 * configure: Regenerate.
20899
20900 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20901
20902 * debug/tst-backtrace.h: New file.
20903 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20904 (ret): Remove variable.
20905 (x): Likewise.
20906 (FAIL): Remove macro.
20907 (NO_INLINE): Likewise.
20908 (fn1): Use match function instead of strstr.
20909 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20910 (ret): Remove variable.
20911 (x): Likewise.
20912 (FAIL): Remove macro.
20913 (NO_INLINE): Likewise.
20914 (fn): Use match function instead of strstr.
20915 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20916 (ret): Remove variable.
20917 (x): Likewise.
20918 (FAIL): Remove macro.
20919 (NO_INLINE): Likewise.
20920 (handle_signal): Use match function instead of strstr.
20921 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20922 (ret): Remove variable.
20923 (x): Likewise.
20924 (FAIL): Remove macro.
20925 (NO_INLINE): Likewise.
20926 (handle_signal): Use match function instead of strstr.
20927
20928 2013-01-23 Roland McGrath <roland@hack.frob.com>
20929
20930 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20931
20932 2013-01-23 David S. Miller <davem@davemloft.net>
20933
20934 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20935 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20936 argument of CAS if possible.
20937 * sysdeps/sparc/sparc64/bits/atomic.h
20938 (__arch_compare_and_exchange_val_32_acq): Likewise.
20939 (__arch_compare_and_exchange_val_64_acq): Likewise.
20940
20941 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20942
20943 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20944 * sysdeps/posix/ulimit.c: ... this.
20945 Include <limits.h>.
20946 * sysdeps/unix/bsd/ulimit.c: Remove file.
20947
20948 2013-01-23 Adam Conrad <adconrad@0c3.net>
20949
20950 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20951 (LDFLAGS-tst-array5): Likewise.
20952
20953 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20954
20955 [BZ #15036]
20956 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20957 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20958 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20959 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20960
20961 2013-01-21 David S. Miller <davem@davemloft.net>
20962
20963 * sysdeps/sparc/backtrace.c: New file.
20964 * sysdeps/sparc/sparc32/backtrace.h: New file.
20965 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20966 * sysdeps/sparc/sparc64/backtrace.h: New file.
20967 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20968 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20969 -funwind-tables.
20970
20971 2013-01-21 Andreas Schwab <schwab@suse.de>
20972
20973 [BZ #15020]
20974 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20975 closed its stdout.
20976
20977 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20978
20979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20980 "mpa2.h".
20981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20982
20983 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20984 Mark Mitchell <mark@codesourcery.com>
20985 Tom de Vries <tom@codesourcery.com>
20986 Paul Pluzhnikov <ppluzhnikov@google.com>
20987
20988 * debug/tst-backtrace2.c: New file.
20989 * debug/tst-backtrace3.c: Likewise.
20990 * debug/tst-backtrace4.c: Likewise.
20991 * debug/tst-backtrace5.c: Likewise.
20992 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20993 (CFLAGS-tst-backtrace3.c): Likewise.
20994 (CFLAGS-tst-backtrace4.c): Likewise.
20995 (CFLAGS-tst-backtrace5.c): Likewise.
20996 (LDFLAGS-tst-backtrace2): Likewise.
20997 (LDFLAGS-tst-backtrace3): Likewise.
20998 (LDFLAGS-tst-backtrace4): Likewise.
20999 (LDFLAGS-tst-backtrace5): Likewise.
21000 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21001 tst-backtrace4 and tst-backtrace5.
21002
21003 2013-01-18 Anton Blanchard <anton@samba.org>
21004 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21005
21006 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21007 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21008 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21009 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21011 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21012 "+r" and remove output regs list as redundant. Add explicit inline
21013 asm to specify register of return val to work around compiler codegen
21014 bug. Remove (int) cast on return value. Add return type parameter to
21015 use in macro so that this macro does not truncate return value for
21016 64-bit values.
21017 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21018 pass to INTERNAL_VSYSCALL_NCS.
21019 (INLINE_VSYSCALL): Add 'long int' as return type to
21020 INTERNAL_VSYSCALL_NCS macro invocation.
21021 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21022 INTERNAL_VSYSCALL_NCS macro invocation.
21023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21024
21025 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21026
21027 [BZ #14496]
21028 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21029 Fix application of SIMD FP exception mask.
21030
21031 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21032 mp_no from a power of two.
21033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21034 __mpexp_twomm1. Use __pow_mp.
21035
21036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21037 multiplication.
21038
21039 2013-01-17 David S. Miller <davem@davemloft.net>
21040
21041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21042
21043 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21044
21045 [BZ #15023]
21046 * include/complex.h: Condition contents on [!_COMPLEX_H].
21047 (__kernel_casinhf): New prototype.
21048 (__kernel_casinh): Likewise.
21049 (__kernel_casinhl): Likewise.
21050 * math/Makefile (libm_calls): Add k_casinh.
21051 * math/k_casinh.c: New file.
21052 * math/k_casinhf.c: Likewise.
21053 * math/k_casinhl.c: Likewise.
21054 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21055 finite nonzero arguments.
21056 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21057 finite nonzero arguments.
21058 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21059 finite nonzero arguments.
21060 * math/s_casinh.c: Do not include <float.h>.
21061 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21062 * math/s_casinhf.c: Do not include <float.h>.
21063 (__casinhf): Move code for finite nonzero arguments to
21064 k_casinhf.c.
21065 * math/s_casinhl.c: Do not include <float.h>.
21066 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21067 redefine.
21068 (__casinhl): Move code for finite nonzero arguments to
21069 k_casinhl.c.
21070 * math/libm-test.inc (cacos_test): Add more tests.
21071 * sysdeps/i386/fpu/libm-test-ulps: Update.
21072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21073
21074 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21075
21076 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21077 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21078 [!HAVE_MREMAP]: Remove [defined linux] case.
21079 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21080
21081 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21082
21083 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21084
21085 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21086
21087 * elf/elf.h (R_386_SIZE32): New relocation.
21088 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21089 R_386_SIZE32.
21090 (elf_machine_rela): Likewise.
21091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21092 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21093
21094 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21095
21096 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21097 (FP_FAST_FMA): Do not define.
21098 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21099 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21100 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21101 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21102 !_SOFT_FLOAT]: Likewise.
21103 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21104 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21105 value.
21106 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21107 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21108 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21109 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21110 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21111 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21112 file.
21113
21114 2013-01-16 Andreas Schwab <schwab@suse.de>
21115
21116 [BZ #14327]
21117 * include/stdlib.h (__mktemp): Add declaration.
21118 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21119 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21120
21121 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21122
21123 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21124 definitions.
21125 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21126 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21127 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21128 definitions here.
21129 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21130 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21131 definitions.
21132 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21133 and ONE.
21134 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21135 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21136 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21137 definitions.
21138 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21139 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21140 definitions.
21141 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21142
21143 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21144
21145 2013-01-15 David S. Miller <davem@davemloft.net>
21146
21147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21148 trunc{,f} to libm-sysdep_routes.
21149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21151 file.
21152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21154 file.
21155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21156 file.
21157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21159 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21160 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21161 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21162 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21163 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21164 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21165
21166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21167 nearbyint{,f} to libm-sysdep_routes.
21168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21170 New file.
21171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21172 file.
21173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21174 New file.
21175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21176 file.
21177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21179 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21180 file.
21181 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21182 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21183 file.
21184 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21185 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21186 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21187
21188 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21189 libc_feholdexcept and libc_fesetenv.
21190
21191 2013-01-15 Mike Frysinger <vapier@gentoo.org>
21192
21193 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21194
21195 2013-01-14 David S. Miller <davem@davemloft.net>
21196
21197 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21198 (SPARC_ASM_VIS2_IFUNC): Likewise.
21199 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21201 use of 'siam' instruction.
21202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21203 Likewise.
21204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21205 Likewise.
21206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21207 Likewise.
21208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21213 file.
21214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21215 file.
21216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21217 file.
21218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21219 file.
21220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21225 new VIS2 routines.
21226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21229 Likewise.
21230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21235 routines to libm-sysdep_routines.
21236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21237
21238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21239 fdim/fdimf to libm-sysdep_routines.
21240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21241 file.
21242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21244 file.
21245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21248 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21249 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21250 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21251 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21252
21253 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21254
21255 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21256 to optimize copies.
21257
21258 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21261
21262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21263 local variable MPTWO.
21264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21265 Likewise.
21266
21267 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21268
21269 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21270 GLOB_NOESCAPE.
21271
21272 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21273
21274 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21275
21276 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21277
21278 * manual/pattern.texi (glob_t): Document gl_flags.
21279 (glob64_t): Likewise.
21280
21281 2013-01-11 David S. Miller <davem@davemloft.net>
21282
21283 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21284 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21285 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21286 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21287 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21288 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21289 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21290 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21291 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21292 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21293 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21294 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21295 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21296
21297 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21298 sparc V9 rather than using V8 code.
21299 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21300 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21301
21302 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21303 Move to...
21304 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21305 Here.
21306
21307 2013-01-11 Roland McGrath <roland@hack.frob.com>
21308
21309 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21310 not in the main loop.
21311 * configure: Regenerated.
21312
21313 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21314
21315 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21316 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21317 to just #else.
21318 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21319 [!__GLIBC_HAVE_LONG_LONG] case.
21320 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21321 condition to just #else.
21322 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21323 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21324 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21325 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21326 unconditional.
21327 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21328 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21329 #elif condition to just #else.
21330 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21331 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21332 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21333 #elif condition to just #else.
21334
21335 2013-01-11 Steve Ellcey <sellcey@mips.com>
21336
21337 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21338 (EF_MIPS_ARCH_64): Fix value.
21339 (EF_MIPS_ARCH_32R2): New.
21340 (EF_MIPS_ARCH_64R2): New.
21341
21342 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21343
21344 * Makeconfig (+link-pie-before-libc): New.
21345 (+link-pie-after-libc): Likewise.
21346 (+link-pie-tests): Likewise.
21347 (+link-pie): Rewritten.
21348 (link-before-libc): Remove $(config-LDFLAGS).
21349 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21350 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21351 (config-LDFLAGS): Renamed to ...
21352 (rtld-LDFLAGS): This.
21353 (rtld-tests-LDFLAGS): New macro.
21354 (link-libc-rpath-link): Likewise.
21355 (link-libc-tests-rpath-link): Likewise.
21356 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21357 (link-libc): Prepand $(link-libc-rpath-link).
21358 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21359 (test-program-prefix): New macro.
21360 (test-via-rtld-prefix): Likewise.
21361 (test-program-cmd): Likewise.
21362 (host-test-program-cmd): Likewise.
21363 * Makefile ($(common-objpfx)testrun.sh): Replace
21364 $(run-program-prefix) with $(test-program-prefix).
21365 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21366 $(rtld-LDFLAGS).
21367 ($(common-objpfx)shlib.lds): Likewise.
21368 (build-module-helper): Likewise.
21369 ($(common-objpfx)format.lds): Likewise.
21370 * Rules (binaries-pie-tests): New.
21371 (binaries-pie-notests): Likewise.
21372 (binaries-pie): Rewritten.
21373 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21374 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21375 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21376 (make-test-out): Replace $(host-built-program-cmd) with
21377 $(host-test-program-cmd).
21378 * config.make.in (build-hardcoded-path-in-tests): New variable.
21379 * configure.in (--enable-hardcoded-path-in-tests): New configure
21380 option.
21381 (hardcoded_path_in_tests): New AC_SUBST.
21382 * configure: Regenerated.
21383 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21384 $(built-program-cmd) with $(test-program-cmd).
21385 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21386 (test_program_cmd): This.
21387 * elf/Makefile ($(objpfx)order.out): Run test with
21388 $(test-program-prefix).
21389 ($(objpfx)order2.out): Likewise.
21390 ($(objpfx)tst-initorder.out): Likewise.
21391 ($(objpfx)tst-initorder2.out): Likewise.
21392 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21393 $(test-program-cmd).
21394 ($(objpfx)tst-array1-static.out): Likewise.
21395 ($(objpfx)tst-array2.out): Likewise.
21396 ($(objpfx)tst-array3.out): Likewise.
21397 ($(objpfx)tst-array4.out): Likewise.
21398 ($(objpfx)tst-array5.out): Likewise.
21399 ($(objpfx)tst-array5-static.out): Likewise.
21400 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21401 $(test-program-cmd).
21402 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21403 $(run-program-prefix) with $(test-program-prefix).
21404 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21405 (test_program_prefix): This.
21406 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21407 $(run-program-prefix) with $(test-program-prefix).
21408 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21409 (test_program_prefix): This.
21410 * iconvdata/tst-tables.sh: Likewise.
21411 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21412 $(run-program-prefix) with $(test-program-prefix).
21413 ($(objpfx)tst-translit.out): Likewise.
21414 ($(objpfx)tst-gettext2.out): Likewise.
21415 ($(objpfx)tst-gettext4.out): Likewise.
21416 ($(objpfx)tst-gettext6.out): Likewise.
21417 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21418 (test_program_prefix): This.
21419 * intl/tst-gettext2.sh: Likewise.
21420 * intl/tst-gettext4.sh Likewise.
21421 * intl/tst-gettext6.sh: Likewise.
21422 * intl/tst-translit.sh: Likewise.
21423 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21424 with $(test-program-cmd).
21425 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21426 $(run-program-prefix) with $(test-program-prefix).
21427 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21428 (test_program_prefix): This.
21429 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21430 $(run-program-prefix) with $(test-program-prefix).
21431 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21432 (test_program_prefix): This.
21433 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21434 * posix/Makefile ($(objpfx)globtest.out): Replace
21435 $(run-via-rtld-prefix) and $(test-wrapper) with
21436 $(test-program-prefix) and $(test-via-rtld-prefix).
21437 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21438 $(test-program-prefix).
21439 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21440 $(host-test-program-cmd).
21441 (tst-spawn-ARGS): Likewise.
21442 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21443 $(test-program-prefix).
21444 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21445 (test_via_rtld_prefix): This.
21446 (test_wrapper): Renamed to ...
21447 (test_program_prefix): This.
21448 (run_program_prefix): Replaced by test_program_prefix.
21449 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21450 (test_program_prefix): This.
21451 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21452 with $(host-test-program-cmd).
21453 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21454 $(run-program-prefix) with $(test-program-prefix).
21455 ($(objpfx)tst-printf.out): Likewise.
21456 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21457 $(test-program-cmd).
21458 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21459 (test_program_prefix): This.
21460 * stdio-common/tst-unbputc.sh: Likewise.
21461 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21462 $(run-program-prefix) with $(test-program-prefix).
21463 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21464 (test_program_prefix): This.
21465 * string/Makefile ($(objpfx)tst-svc.out): Replace
21466 $(built-program-cmd) with $(test-program-cmd).
21467
21468 2013-01-11 Andreas Jaeger <aj@suse.de>
21469
21470 [BZ #15003]
21471 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21472 value. Sync with Linux 3.7.
21473
21474 2013-01-10 David S. Miller <davem@davemloft.net>
21475
21476 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21477 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21478 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21479
21480 2013-01-10 Roland McGrath <roland@hack.frob.com>
21481
21482 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21483 never set.
21484 * configure: Regenerated.
21485
21486 2013-01-10 David S. Miller <davem@davemloft.net>
21487
21488 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21489 sparc V9 rather than using V8 code.
21490 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21491 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21492
21493 2013-01-10 Roland McGrath <roland@hack.frob.com>
21494
21495 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21496 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21497 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21498 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21499 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21500 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21501 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21502 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21503 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21504 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21505 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21506 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21507 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21508 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21509 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21510 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21511 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21512 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21513 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21514 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21515 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21516 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21517 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21518 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21519 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21520 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21521 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21522
21523 2013-01-10 David S. Miller <davem@davemloft.net>
21524
21525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21526
21527 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21528
21529 * posix/Makefile (tests-static): New variable.
21530 (tests): Add $(tests-static).
21531 (tst-exec-static-ARGS): New variable.
21532 (tst-spawn-static-ARGS): Likewise.
21533 * posix/tst-exec-static.c: New file.
21534 * posix/tst-spawn-static.c: Likewise.
21535 * posix/tst-exec.c: Support run directly.
21536 * posix/tst-spawn.c: Likewise.
21537
21538 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21539
21540 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21541 long.
21542 * math/bits/mathcalls.h (llrint): Likewise.
21543 (llround): Likewise.
21544 * stdlib/stdlib.h (struct drand48_data): Likewise.
21545 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21546 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21547 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21548 Likewise.
21549 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21550 Likewise.
21551 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21552 (elf_greg_t): Likewise.
21553 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21554 (__jmp_buf): Likewise.
21555 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21556 definitions.
21557 (llrint): Likewise, for all definitions.
21558 (llrintl): Likewise.
21559
21560 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21561 Remove [__GNUC__] condition.
21562 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21563 condition to just [__USE_ISOC99].
21564 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21565
21566 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21567
21568 [BZ #14200]
21569 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21570 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21571 defined.
21572 (_POSIX_V6_ILP32_OFF32): Likewise.
21573 (_XBS5_ILP32_OFF32): Likewise.
21574 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21575 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21576
21577 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21578
21579 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21580
21581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21582 doubles __mpexp_twomm1. Adjust usage.
21583 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21584 Remove.
21585
21586 2013-01-10 Andreas Schwab <schwab@suse.de>
21587
21588 [BZ #14964]
21589 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21590 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21591
21592 2013-01-09 David S. Miller <davem@davemloft.net>
21593
21594 [BZ #15003]
21595 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21596 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21597 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21598 (TCP_FASTOPEN): Define.
21599 (tcp_repair_opt): New structure.
21600 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21601 enum values.
21602 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21603 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21604 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21605 (tcp_cookie_transactions): New structure.
21606
21607 2013-01-09 Anton Blanchard <anton@samba.org>
21608
21609 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21610 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21612 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21613
21614 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21615
21616 * include/features.h (__USE_ANSI): Remove.
21617
21618 2013-01-09 Roland McGrath <roland@hack.frob.com>
21619
21620 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21621
21622 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21623
21624 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21625
21626 * sysdeps/s390/fpu/libm-test-ulps: Update.
21627
21628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21629
21630 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21631 (__acr): Likewise.
21632 (__cpy): Likewise.
21633 (norm): Likewise.
21634 (denorm): Likewise.
21635 (__mp_dbl): Likewise.
21636 (__dbl_mp): Likewise.
21637 (add_magnitudes): Likewise.
21638 (sub_magnitudes): Likewise.
21639 (__add): Likewise.
21640 (__sub): Likewise.
21641 (__mul): Likewise.
21642 (__inv): Likewise.
21643 (__dvd): Likewise.
21644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21645 (__acr): Likewise.
21646 (__cpy): Likewise.
21647 (norm): Likewise.
21648 (denorm): Likewise.
21649 (__mp_dbl): Likewise.
21650 (__dbl_mp): Likewise.
21651 (add_magnitudes): Likewise.
21652 (sub_magnitudes): Likewise.
21653 (__add): Likewise.
21654 (__sub): Likewise.
21655 (__mul): Likewise.
21656 (__inv): Likewise.
21657 (__dvd): Likewise.
21658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21659 (__acr): Likewise.
21660 (__cpy): Likewise.
21661 (norm): Likewise.
21662 (denorm): Likewise.
21663 (__mp_dbl): Likewise.
21664 (__dbl_mp): Likewise.
21665 (add_magnitudes): Likewise.
21666 (sub_magnitudes): Likewise.
21667 (__add): Likewise.
21668 (__sub): Likewise.
21669 (__mul): Likewise.
21670 (__inv): Likewise.
21671 (__dvd): Likewise.
21672
21673 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21674
21675 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21676 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21677 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21678 2 && __USE_EXTERN_INLINES]: Likewise.
21679
21680 2013-01-08 Andreas Jaeger <aj@suse.de>
21681
21682 [BZ# 14985]
21683 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21684 Remove.
21685 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21686 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21687
21688 2013-01-07 Anton Blanchard <anton@samba.org>
21689
21690 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21691 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21692 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21693 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21694 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21695 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21696 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21697 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21699 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21700 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21701 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21702 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21703 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21704 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21705 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21706 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21707 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21708 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21709 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21710 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21711 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21712 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21713 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21714 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21715 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21716 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21717 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21719 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21720 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21722 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21723 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21724 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21725 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21726 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21727 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21728 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21729 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21730 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21731 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21732 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21733
21734 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21735
21736 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21737 (__MALLOC_PMT): Likewise.
21738 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21739 [__GNUC__], only on [_LIBC].
21740 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21741 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21742 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21743 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21744 forward declaration.
21745 (realloc_hook_ini): Likewise.
21746 (memalign_hook_ini): Likewise.
21747 (__libc_memalign): Do not use __MALLOC_PMT in variable
21748 declaration.
21749 (__libc_valloc): Likewise.
21750 (__libc_pvalloc): Likewise.
21751 (__libc_calloc): Likewise.
21752 (__posix_memalign): Likewise.
21753
21754 [BZ #14996]
21755 * math/s_casinh.c: Include <float.h>.
21756 (__casinh): Do not do computation with squaring and square root
21757 for large arguments.
21758 * math/s_casinhf.c: Include <float.h>.
21759 (__casinhf): Do not do computation with squaring and square root
21760 for large arguments.
21761 * math/s_casinhl.c: Include <float.h>.
21762 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21763 (__casinhl): Do not do computation with squaring and square root
21764 for large arguments.
21765 * math/libm-test.inc (casin_test): Add more tests.
21766 (casinh_test): Likewise.
21767 * sysdeps/i386/fpu/libm-test-ulps: Update.
21768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21769
21770 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21771
21772 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21773 (__x86_64_raw_data_cache_size): Likewise.
21774 (__x86_64_data_cache_size_half): Likewise.
21775 (__x86_64_raw_data_cache_size_half): Likewise.
21776 (__x86_64_shared_cache_size): Likewise.
21777 (__x86_64_raw_shared_cache_size): Likewise.
21778 (__x86_64_shared_cache_size_half): Likewise.
21779 (__x86_64_raw_shared_cache_size_half): Likewise.
21780 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21781 to ...
21782 (__x86_data_cache_size): This.
21783 (__x86_64_raw_data_cache_size): Renamed to ...
21784 (__x86_raw_data_cache_size): This.
21785 (__x86_64_data_cache_size_half): Renamed to ...
21786 (__x86_data_cache_size_half): This.
21787 (__x86_64_raw_data_cache_size_half): Renamed to ...
21788 (__x86_raw_data_cache_size_half): This.
21789 (__x86_64_shared_cache_size): Renamed to ...
21790 (__x86_shared_cache_size): This.
21791 (__x86_64_raw_shared_cache_size): Renamed to ...
21792 (__x86_raw_shared_cache_size): This.
21793 (__x86_64_shared_cache_size_half): Renamed to ...
21794 (__x86_shared_cache_size_half): This.
21795 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21796 (__x86_raw_shared_cache_size_half): This.
21797 * sysdeps/x86_64/memcpy.S: Updated.
21798 * sysdeps/x86_64/memset.S: Likewise.
21799 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21800 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21801 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21802
21803 2013-01-04 David S. Miller <davem@davemloft.net>
21804
21805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21806
21807 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21808
21809 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21810 1 to avoid redefinition warning.
21811 (__USE_GNU): Don't define.
21812 (init_signaling_nan): Protoize.
21813
21814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21815
21816 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21817
21818 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21820 (__cpymn): Likewise.
21821 (norm): Remove commented code.
21822 (denorm): Likewise.
21823 (__mp_dbl): Likewise.
21824 (__inv): Likewise.
21825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21826 (__cpymn): Likewise.
21827 (norm): Remove commented code.
21828 (denorm): Likewise.
21829 (__mp_dbl): Likewise.
21830 (__inv): Likewise.
21831
21832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21833 mp_no value for 1.0 and 2.0.
21834 (norm): Use RADIXI instead of radixi.d.
21835 (denorm): Likewise.
21836 (__mul): Use 0.0 instead of zero.d.
21837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21838 mp_no value for 1.0 and 2.0.
21839 (norm): Use RADIXI instead of radixi.d.
21840 (denorm): Likewise.
21841 (__mul): Use 0.0 instead of zero.d.
21842
21843 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21844
21845 [BZ #14994]
21846 * math/s_casinh.c (__casinh): Reduce finite argument to first
21847 quadrant then set signs of results at the end.
21848 * math/s_casinhf.c (__casinhf): Likewise.
21849 * math/s_casinhl.c (__casinhl): Likewise.
21850 * math/libm-test.inc (casin_test): Add more tests.
21851 (casinh_test): Likewise.
21852 * sysdeps/i386/fpu/libm-test-ulps: Update.
21853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21854
21855 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21856
21857 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21858
21859 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21860
21861 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21862 declarations.
21863 (denorm): Likewise.
21864 (__mp_dbl): Likewise.
21865 (__inv): Likewise.
21866
21867 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21868 and adjust the header comment.
21869
21870 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21871 variable name from declaration.
21872
21873 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21874
21875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21876 Initialize COMMON_CPUID_INDEX_7 element.
21877 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21878 (CPUID_RTM): Likewise.
21879 (HAS_RTM): Likewise.
21880 (COMMON_CPUID_INDEX_7): New enum.
21881
21882 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21883
21884 [BZ #14981]
21885 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21886 size is zero, record memory as freed.
21887
21888 2013-01-03 Andreas Jaeger <aj@suse.de>
21889
21890 * po/ia.po: Add new Interlingua translation.
21891
21892 2012-01-03 Allan McRae <allan@archlinux.org>
21893
21894 * locale/programs/localedef.c: Fix description of '--posix' flag.
21895
21896 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21897
21898 * NEWS: Update dates in second copyright notice.
21899 * README: Update copyright dates in example.
21900 * manual/libc.texinfo: Update copyright dates.
21901 * scripts/test-installation.pl: Update copyright date in --version
21902 output.
21903
21904 * hurd/ctty-input.c: Fix copyright notice formatting.
21905 * hurd/ctty-output.c: Likewise.
21906 * hurd/dtable.c: Likewise.
21907 * hurd/hurd-raise.c: Likewise.
21908 * hurd/hurdprio.c: Likewise.
21909 * hurd/msgportdemux.c: Likewise.
21910 * misc/sys/file.h: Likewise.
21911 * misc/sys/ioctl.h: Likewise.
21912 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21913 * sysdeps/mach/hurd/chdir.c: Likewise.
21914 * sysdeps/mach/hurd/fchdir.c: Likewise.
21915 * sysdeps/mach/hurd/rename.c: Likewise.
21916 * sysdeps/mach/hurd/rmdir.c: Likewise.
21917 * sysdeps/mach/hurd/seekdir.c: Likewise.
21918 * sysdeps/mach/hurd/setsid.c: Likewise.
21919 * sysdeps/posix/wait3.c: Likewise.
21920
21921 * All files with FSF copyright notices: Update copyright dates
21922 using scripts/update-copyrights.
21923 * intl/plural.c: Regenerated.
21924 * locale/programs/charmap-kw.h: Likewise.
21925 * locale/programs/locfile-kw.h: Likewise.
21926
21927 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21928
21929 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21930 four values.
21931
21932 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21933 calculation loop and add branch prediction.
21934
21935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21936 check access beyond bounds of m1np.
21937
21938 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21939 MPTWO.
21940 (__inv): Remove local variable MPTWO to use the global
21941 constant.
21942 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21943 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21944 variable MPTWO.
21945 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21946 MP3HALFS static const.
21947
21948 2013-01-01 David S. Miller <davem@davemloft.net>
21949
21950 * po/ca.po: Update from translation team.
21951
21952 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21953
21954 * scripts/update-copyrights: New file.
21955 * Makeconfig: Reformat copyright notice.
21956 * ctype/ctype.h: Likewise.
21957 * debug/swprintf_chk.c: Likewise.
21958 * elf/dl-cache.c: Likewise.
21959 * elf/dl-debug.c: Likewise.
21960 * elf/dl-object.c: Likewise.
21961 * grp/initgroups.c: Likewise.
21962 * hurd/Makefile: Likewise.
21963 * hurd/hurd/signal.h: Likewise.
21964 * hurd/hurdfault.c: Likewise.
21965 * hurd/hurdioctl.c: Likewise.
21966 * hurd/hurdlookup.c: Likewise.
21967 * hurd/intr-msg.c: Likewise.
21968 * iconv/gconv_open.c: Likewise.
21969 * libio/swprintf.c: Likewise.
21970 * locale/lc-ctype.c: Likewise.
21971 * locale/nl_langinfo.c: Likewise.
21972 * mach/Machrules: Likewise.
21973 * mach/Makefile: Likewise.
21974 * malloc/obstack.h: Likewise.
21975 * manual/Makefile: Likewise.
21976 * manual/tsort.awk: Likewise.
21977 * misc/bits/stab.def: Likewise.
21978 * nis/nis_print_group_entry.c: Likewise.
21979 * nis/nis_table.c: Likewise.
21980 * nis/nss_compat/compat-pwd.c: Likewise.
21981 * nis/nss_compat/compat-spwd.c: Likewise.
21982 * po/Makefile: Likewise.
21983 * posix/fnmatch.c: Likewise.
21984 * posix/regex.h: Likewise.
21985 * resolv/Makefile: Likewise.
21986 * resolv/nss_dns/dns-network.c: Likewise.
21987 * resolv/res_hconf.c: Likewise.
21988 * scripts/gen-sorted.awk: Likewise.
21989 * soft-fp/soft-fp.h: Likewise.
21990 * stdio-common/printf.h: Likewise.
21991 * stdlib/monetary.h: Likewise.
21992 * stdlib/random.c: Likewise.
21993 * stdlib/random_r.c: Likewise.
21994 * sysdeps/generic/Makefile: Likewise.
21995 * sysdeps/gnu/Makefile: Likewise.
21996 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22003 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22006 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22007 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22019 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22020 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22021 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22022 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22023 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22024 * sysdeps/mach/hurd/errnos.awk: Likewise.
22025 * sysdeps/mach/hurd/fork.c: Likewise.
22026 * sysdeps/mach/hurd/getcwd.c: Likewise.
22027 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22028 * sysdeps/mach/hurd/mmap.c: Likewise.
22029 * sysdeps/mach/hurd/utimes.c: Likewise.
22030 * sysdeps/mach/hurd/xmknod.c: Likewise.
22031 * sysdeps/posix/profil.c: Likewise.
22032 * sysdeps/posix/readdir_r.c: Likewise.
22033 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22034 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22035 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22036 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22038 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22040 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22042 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22043 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22044 * sysdeps/pthread/lio_listio.c: Likewise.
22045 * sysdeps/sparc/dl-procinfo.h: Likewise.
22046 * sysdeps/unix/i386/sysdep.S: Likewise.
22047 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22048 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22049 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22050 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22052 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22053 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22054 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22055 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22056 * sysdeps/wordsize-32/divdi3.c: Likewise.
22057 * time/sys/time.h: Likewise.
22058 * wcsmbs/Makefile: Likewise.
22059
22060 2013-01-01 David S. Miller <davem@davemloft.net>
22061
22062 * po/fr.po: Update from translation team.
22063
22064 * catgets/gencat.c: Update copyright year.
22065 * csu/version.c: Likewise.
22066 * debug/catchsegv.sh: Likewise.
22067 * debug/pcprofiledump.c: Likewise.
22068 * debug/xtrace.sh: Likewise.
22069 * elf/ldconfig.c: Likewise.
22070 * elf/ldd.bash.in: Likewise.
22071 * elf/pldd.c: Likewise.
22072 * elf/sotruss.ksh: Likewise.
22073 * elf/sprof.c: Likewise.
22074 * iconv/iconv_prog.c: Likewise.
22075 * iconv/iconvconfig.c: Likewise.
22076 * locale/programs/locale.c: Likewise.
22077 * locale/programs/localedef.c: Likewise.
22078 * login/programs/pt_chown.c: Likewise.
22079 * malloc/memusage.sh: Likewise.
22080 * malloc/memusagestat.c: Likewise.
22081 * malloc/mtrace.pl: Likewise.
22082 * nscd/nscd.c: Likewise.
22083 * nss/getent.c: Likewise.
22084 * nss/makedb.c: Likewise.
22085 * posix/getconf.c: Likewise.
22086
22087 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22088
22089 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22090 numbers.
22091
22092 2012-12-30 Mike Frysinger <vapier@gentoo.org>
22093
22094 * math/bits/mathcalls.h (modf): Use __nonnull.
22095
22096 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22097
22098 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22099 (split): Use macro CN instead of the bare value.
22100 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22101 could be used.
22102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22103 instead of the bare value.
22104 (power1): Likewise.
22105
22106 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22107
22108 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22109 __ATAN_TWOM.
22110 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22111
22112 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22113 their values.
22114 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22115 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22116 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22117 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22118
22119 2012-12-28 Andreas Jaeger <aj@suse.de>
22120
22121 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22122 values are from Linux 3.7.
22123
22124 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22125 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22126
22127 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22128
22129 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22130 TRUE case.
22131
22132 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22133 (norm): Likewise.
22134 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22135 variables with preprocessor constants.
22136 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22137 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22138 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22139
22140 2012-12-27 Bruno Haible <bruno@clisp.org>
22141
22142 [BZ #14317]
22143 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22144 only if needed.
22145
22146 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22147
22148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22149 and use variable directly.
22150 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22151
22152 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22153 MPONE.
22154 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22155 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22156 variable MPONE.
22157 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22159 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22160 include directive. Remove local variable MPONE.
22161 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22162 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22163 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22164
22165 2012-12-25 David S. Miller <davem@davemloft.net>
22166
22167 * version.h (RELEASE): Set to "development".
22168 (VERSION): Set to "2.17.90".
22169 * NEWS: Add 2.18 section.
22170
22171 2012-12-21 David S. Miller <davem@davemloft.net>
22172
22173 * po/hr.po: Update from translation team.
22174
22175 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22176
22177 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22178
22179 2012-12-19 Steve Ellcey <sellcey@mips.com>
22180
22181 * NEWS: Mention new memcpy for MIPS.
22182
22183 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22184
22185 * manual/contrib.texi (Contributors): Spelling correction.
22186
22187 2012-12-15 David S. Miller <davem@davemloft.net>
22188
22189 * po/ru.po: Update from translation team.
22190
22191 2012-12-13 David S. Miller <davem@davemloft.net>
22192
22193 * NEWS: Mention IFUNC testsuite enhancements.
22194
22195 * po/pl.po: Update from translation team.
22196 * po/bg.po: Likewise.
22197
22198 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22199 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22200
22201 2012-12-11 David S. Miller <davem@davemloft.net>
22202
22203 * po/sv.po: Update from translation team.
22204
22205 * po/vi.po: Update from translation team.
22206
22207 * po/cs.po: Update from translation team.
22208
22209 * po/de.po: Update from translation team.
22210 * po/eo.po: Likewise.
22211 * po/nl.po: Likewise.
22212
22213 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22214
22215 [BZ #14246]
22216 * manual/argp.texi (Argp Helper Functions): Move node to follow
22217 Argp Parsing State.
22218
22219 [BZ #14872]
22220 * manual/conf.texi (Limits on File System Capacity): Mention if
22221 terminating null is included in the max size.
22222
22223 2012-12-10 Andreas Jaeger <aj@suse.de>
22224
22225 * po/cs.po: Update from translation team.
22226
22227 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22228
22229 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22230 void pointer and cast to uintptr_t.
22231 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22232 path.
22233 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22234 * sysdeps/s390/s390-64/memset.S: Likewise.
22235
22236 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
22237
22238 [BZ #14833]
22239 * menual/message.texi (Message Translation): Fix typos.
22240 (Helper programs for gettext): Likewise.
22241
22242 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22243
22244 [BZ #14898]
22245 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22246 Change to -1.
22247
22248 2012-12-07 David S. Miller <davem@davemloft.net>
22249
22250 * po/libc.pot: Update.
22251
22252 2012-12-07 Richard Henderson <rth@redhat.com>
22253
22254 [BZ #10114]
22255 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22256 normal/normal case to before the switch.
22257 (_FP_DIV): Likewise.
22258
22259 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22260 Mike Frysinger <vapier@gentoo.org>
22261
22262 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22263 check for __NR_fadvise64_64.
22264
22265 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22266
22267 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22268 0, not just to plain "0" as a statement.
22269 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22270 with cw.
22271
22272 2012-12-06 Joseph Myers <joseph@codesourcery.com>
22273
22274 * NEWS: Use sourceware.org in Bugzilla URL.
22275
22276 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22277
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22279 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22280
22281 * stdio-common/tst-put-error.c (do_test): Add newline to the
22282 padded test to ensure flush.
22283
22284 2012-12-05 Jeff Law <law@redhat.com>
22285
22286 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22287
22288 2012-12-05 Joseph Myers <joseph@codesourcery.com>
22289
22290 * README: Don't refer to ports add-on as distributed separately.
22291 Mention AArch64 in list of systems supported in the ports add-on.
22292
22293 * LICENSES: Add more non-FSF copyright and license notices.
22294
22295 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22296 ((unused)).
22297
22298 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22299
22300 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22301 10000 as width of padded output.
22302
22303 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22304
22305 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22306
22307 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22308 variable LX with __attribute__ ((unused)).
22309 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22310 Likewise.
22311 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22313 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22314 with __attribute__ ((unused)).
22315
22316 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22317
22318 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22319
22320 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22321
22322 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22323 (CFLAGS-nldbl-acos.c): New variable.
22324 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22325 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22326 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22327 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22328 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22329 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22330 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22331 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22332 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22333 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22334 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22335 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22336 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22337 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22338 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22339 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22340 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22341 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22342 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22343 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22344 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22345 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22346 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22347 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22348 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22349 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22350 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22351 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22352 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22353 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22354 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22355 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22356 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22357 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22358 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22359 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22360 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22361 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22362 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22363 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22364 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22365 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22366 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22367 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22368 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22369 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22370 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22371 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22372 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22373 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22374 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22375 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22376 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22377 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22378 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22379 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22380 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22381 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22382 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22383 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22384 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22385 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22386 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22387 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22388 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22389 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22390 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22391 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22392 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22393 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22394 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22395 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22396 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22397 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22398 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22399 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22400 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22401 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22402 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22403 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22404 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22405 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22406 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22407 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22408 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22409 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22410 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22411 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22412 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22413 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22414 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22415 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22416 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22417 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22418 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22419 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22420 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22421
22422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22423 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22424
22425 [BZ #14914]
22426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22427 whole low double instead of just low 47 bits when splitting values
22428 into two parts.
22429
22430 2012-12-03 Allan McRae <allan@archlinux.org>
22431
22432 * manual/stdio.texi (Predefined Printf Handlers): Remove
22433 @hsep and @vsep usage.
22434
22435 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22436
22437 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22438 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22439
22440 2012-12-03 Jeff Law <law@redhat.com>
22441
22442 * time/sys/time.h (settimeofday): Do not mark TV argument
22443 as __nonnull.
22444
22445 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22446
22447 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22448 when currently writing and seek to current position when not.
22449 * libio/Makefile (tests): Remove bug-fclose1.
22450 * libio/bug-fclose1.c: Delete.
22451
22452 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22453
22454 * manual/arith.texi (feenableexcept): Fix typo.
22455 (fedisableexcept): Likewise.
22456
22457 2012-11-30 Roland McGrath <roland@hack.frob.com>
22458
22459 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22460 second, differently-typed declaration, rather than a cast.
22461
22462 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22463
22464 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22465 * include/rpc/svc.h: ... here.
22466
22467 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22468
22469 [BZ #13013]
22470 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22471 depending n and resplen2 to catch cases where answer
22472 equals answerp2.
22473
22474 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22475
22476 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22477 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22478
22479 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22480
22481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22482
22483 2012-11-29 Roland McGrath <roland@hack.frob.com>
22484
22485 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22486
22487 2012-11-28 Jeff Law <law@redhat.com>
22488
22489 [BZ #13761]
22490 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22491 dataset_temporary. Track alloca usage into alloca_used.
22492 If dataset is large allocate and release it via malloc/free.
22493
22494 2012-06-04 Florian Weimer <fweimer@redhat.com>
22495
22496 [BZ #14197]
22497 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22498
22499 2012-11-28 David S. Miller <davem@davemloft.net>
22500
22501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22502
22503 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22504
22505 [BZ #14803]
22506 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22507 of pi/2 rounded to nearest to 64 bits.
22508 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22509 nearest to 64 bits.
22510 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22511 bits.
22512
22513 2012-11-28 Jeff Law <law@redhat.com>
22514 Martin Osvald <mosvald@redhat.com>
22515
22516 [BZ #14889]
22517 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22518 * sunrpc/svc.c: Include time.h.
22519 (__svc_accept_failed): New function.
22520 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22521 any reason other than EINTR, call __svc_accept_failed.
22522 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22523 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22524
22525 2012-11-28 Andreas Schwab <schwab@suse.de>
22526
22527 * scripts/abilist.awk: Also handle indirect functions in .opd
22528 section.
22529
22530 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22531
22532 [BZ #13881]
22533 * sysdeps/x86/fpu/powl_helper.c: New file.
22534 * sysdeps/x86/fpu/Makefile: Likewise.
22535 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22536 (p3): New object.
22537 (__ieee754_powl): Use __powl_helper for finite arguments except
22538 integer exponents below 8.
22539 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22540 (p3): New object.
22541 (__ieee754_powl): Use __powl_helper for finite arguments except
22542 integer exponents below 8.
22543 * math/libm-test.inc (pow_test): Add more tests and enable some
22544 previously disabled tests.
22545 * sysdeps/i386/fpu/libm-test-ulps: Update.
22546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22547
22548 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22549 Carlos O'Donell <carlos_odonell@mentor.com>
22550
22551 * nss/makedb.c (is_prime): Assert that input is odd and greater
22552 than 4. Note that fact in a comment too.
22553 (next_prime): Add 4 to input.
22554
22555 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22556
22557 [BZ #11741]
22558 * libio/Makefile (tests): Add test case tst-fwrite-error.
22559 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22560 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22561 * libio/tst-fwrite-error.c: New test case.
22562
22563 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22564
22565 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22566 before casting to void *.
22567 * include/libc-internal.h (__pointer_type): New macro.
22568 (__integer_if_pointer_type_sub): Likewise.
22569 (__integer_if_pointer_type): Likewise.
22570 (cast_to_integer): Likewise.
22571 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22572 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22573 before casting to atomic64_t.
22574 (atomic_exchange_acq): Likewise.
22575 (__arch_exchange_and_add_body): Likewise.
22576 (__arch_add_body): Likewise.
22577 (atomic_add_negative): Likewise.
22578 (atomic_add_zero): Likewise.
22579
22580 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22581
22582 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22583 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22584 (add_fdes): Likewise.
22585 (linear_search_fdes): Likewise.
22586 (binary_search_unencoded_fdes): Likewise.
22587
22588 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22589
22590 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22591
22592 2012-11-24 Adam Conrad <adconrad@0c3.net>
22593
22594 * configure.in: Autodetect C++ header directories.
22595 * configure: Regenerated.
22596
22597 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22598
22599 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22600
22601 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22602
22603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22604
22605 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22606
22607 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22608 LDBL_MANT_DIG == 106]: Disable some tests.
22609 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22610 Likewise.
22611 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22612 Likewise.
22613
22614 [BZ #14871]
22615 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22616 input for small inputs. Return +/- pi/2 for large inputs.
22617 * math/libm-test.inc (atan_test): Add more tests.
22618
22619 * sysdeps/generic/unwind-dw2-fde-glibc.c
22620 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22621 __attribute__ ((unused)).
22622
22623 [BZ #14645]
22624 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22625 x * y if x and y are nonzero and z is zero.
22626
22627 [BZ #14811]
22628 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22629 nonzero exponents with absolute value below 0x1p-117 to +/-
22630 0x1p-117.
22631
22632 [BZ #14869]
22633 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22634 up arguments below 2**-450, not just those below 2**-500.
22635 * math/libm-test.inc (hypot_test): Add another test.
22636
22637 [BZ #14868]
22638 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22639 Return a+b for ratio over 2**120, not 2**60.
22640 * math/libm-test.inc (hypot_test): Add another test.
22641
22642 * math/libm-test.inc (clog_test): Use
22643 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22644 (clog10_test): Likewise.
22645
22646 [BZ #6778]
22647 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22648
22649 2012-11-22 Andreas Schwab <schwab@suse.de>
22650
22651 * sysdeps/i386/fpu/libm-test-ulps: Update.
22652
22653 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22654
22655 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22656 printf output with newline.
22657
22658 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22659
22660 [BZ #14865]
22661 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22662 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22663 -z nodlopen, -z initfirst and -z execstack support.
22664 * configure: Regenerated.
22665
22666 * elf/elf.h (DF_1_NODIRECT): New macro.
22667 (DF_1_IGNMULDEF): Likewise.
22668 (DF_1_NOKSYMS): Likewise.
22669 (DF_1_NOHDR): Likewise.
22670 (DF_1_EDITED): Likewise.
22671 (DF_1_NORELOC): Likewise.
22672 (DF_1_SYMINTPOSE): Likewise.
22673 (DF_1_GLOBAUDIT): Likewise.
22674 (DF_1_SINGLETON): Likewise.
22675 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22676 DT_1_SUPPORTED_MASK bits.
22677 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22678
22679 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22680
22681 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22682
22683 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22684
22685 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22686 macro.
22687
22688 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22689 (sendmmsg): Move declarations...
22690 * socket/sys/socket.h: ... here.
22691 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22692 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22693 include it from...
22694 * socket/recvmmsg.c: ... this new file.
22695 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22696 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22697 definition of __sendmmsg hidden.
22698 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22699 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22700 Move ENOSYS stub into and include it from...
22701 * socket/sendmmsg.c: ... this new file.
22702 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22703 (sysdep_routines): Move recvmmsg and sendmmsg...
22704 * socket/Makefile (routines): ... here.
22705 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22706 (GLIBC_PRIVATE): Add __sendmmsg.
22707 * include/sys/socket.h (__sendmmsg): Add declarations.
22708 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22709 sendmmsg.
22710
22711 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22712
22713 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22714 variable I1 with __attribute__ ((unused)).
22715 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22716
22717 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22718
22719 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22720 DUMMY variables with __attribute__ ((unused)).
22721
22722 * bits/byteswap.h: Include <bits/types.h>.
22723 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22724
22725 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22726
22727 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22728 string_t. Do not manually set errno.
22729 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22730 length with __strnlen. Make sure to both set errno and return it on
22731 failure.
22732
22733 2012-11-19 David S. Miller <davem@davemloft.net>
22734
22735 With help from Joseph Myers.
22736 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22737 very large arguments properly.
22738 * math/libm-test.inc (atan_test): New tests.
22739 (atan2_test): New tests.
22740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22742
22743 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22744
22745 [BZ #14856]
22746 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22747 Define to 3.
22748
22749 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22750 [POSIX] (EADDRNOTAVAIL): Likewise.
22751 [POSIX] (EAFNOSUPPORT): Likewise.
22752 [POSIX] (EALREADY): Likewise.
22753 [POSIX] (ECONNABORTED): Likewise.
22754 [POSIX] (ECONNREFUSED): Likewise.
22755 [POSIX] (ECONNRESET): Likewise.
22756 [POSIX] (EDESTADDRREQ): Likewise.
22757 [POSIX] (EDQUOT): Likewise.
22758 [POSIX] (EHOSTUNREACH): Likewise.
22759 [POSIX] (EIDRM): Likewise.
22760 [POSIX] (EISCONN): Likewise.
22761 [POSIX] (ELOOP): Likewise.
22762 [POSIX] (EMULTIHOP): Likewise.
22763 [POSIX] (ENETDOWN): Likewise.
22764 [POSIX] (ENETUNREACH): Likewise.
22765 [POSIX] (ENOBUFS): Likewise.
22766 [POSIX] (ENODATA): Likewise.
22767 [POSIX] (ENOLINK): Likewise.
22768 [POSIX] (ENOMSG): Likewise.
22769 [POSIX] (ENOPROTOOPT): Likewise.
22770 [POSIX] (ENOSR): Likewise.
22771 [POSIX] (ENOSTR): Likewise.
22772 [POSIX] (ENOTCONN): Likewise.
22773 [POSIX] (ENOTSOCK): Likewise.
22774 [POSIX] (EOPNOTSUPP): Likewise.
22775 [POSIX] (EOVERFLOW): Likewise.
22776 [POSIX] (EPROTO): Likewise.
22777 [POSIX] (EPROTONOSUPPORT): Likewise.
22778 [POSIX] (EPROTOTYPE): Likewise.
22779 [POSIX] (ESTALE): Likewise.
22780 [POSIX] (ETIME): Likewise.
22781 [POSIX] (ETXTBSY): Likewise.
22782 [POSIX] (EWOULDBLOCK): Likewise.
22783 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22784 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22785 [POSIX] (SEEK_CUR): Likewise.
22786 [POSIX] (SEEK_END): Likewise.
22787 [POSIX || UNIX98] (mode_t): Do not require.
22788 [POSIX] (off_t): Likewise.
22789 [POSIX] (pid_t): Likewise.
22790 [POSIX] (sys/stat.h): Do not allow header.
22791 [POSIX] (unistd.h): Likewise.
22792 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22793 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22794 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22795 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22796 require.
22797 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22798 sigevent): Specify elements.
22799 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22800 entry.
22801 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22802 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22803
22804 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22805 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22806 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22807 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22808 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22809 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22810 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22811 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22812 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22813 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22814 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22815 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22816 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22817 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22818 Likewise.
22819 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22820 Likewise.
22821 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22822 Likewise.
22823 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22824 Likewise.
22825 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22826 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22827 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22828 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22829 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22830 Specify lower bound on value.
22831 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22832 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22833 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22834 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22835 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22836 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22837 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22838 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22839 value.
22840 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22841 as optional.
22842 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22843 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22844 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22845 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22846 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22847 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22848 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22849 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22850 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22851 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22852 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22853 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22854 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22855 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22856 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22857 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22858 entry.
22859 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22860 optional.
22861 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22862 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22863 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22864 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22865 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22866 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22867 Likewise.
22868 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22869 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22870 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22871 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22872 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22873 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22874 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22875 as optional.
22876 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22877 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22879 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22880 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22881 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22882 specify as optional.
22883 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22884 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22885 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22886 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22887 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22888 [XPG3] (NL_LANGMAX): Likewise.
22889 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22890 [POSIX || XPG3] (NL_NMAX): Likewise.
22891 [POSIX || XPG3] (NL_SETMAX): Likewise.
22892 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22893 [XPG3] (NZERO): Likewise.
22894 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22895 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22896 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22897 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22898 (REG_ERANGE): Expect.
22899 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22900 optional-constant.
22901 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22902 Use (void) in prototype.
22903 [POSIX] (*_t): Allow.
22904 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22905 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22906 (WRDE_BADVAL): Expect.
22907
22908 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22909 expect.
22910 [XPG3 || XPG4] (O_RSYNC): Likewise.
22911 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22912 Likewise.
22913 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22914 [XPG3 || XPG4] (sigqueue): Likewise.
22915 [XPG3 || XPG4] (sigtimedwait): Likewise.
22916 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22917 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22918 [XPG3 || XPG4] (vsnprintf): Likewise.
22919 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22920 Likewise.
22921 [XPG3 || XPG4] (blksize_t): Likewise.
22922 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22923 Likewise.
22924 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22925 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22926 [XPG3 || XPG4] (struct itimerspec): Likewise.
22927 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22928 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22929 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22930 [XPG3 || XPG4] (clockid_t): Likewise.
22931 [XPG3 || XPG4] (timer_t): Likewise.
22932 [XPG3 || XPG4] (clock_getres): Likewise.
22933 [XPG3 || XPG4] (clock_gettime): Likewise.
22934 [XPG3 || XPG4] (clock_settime): Likewise.
22935 [XPG3 || XPG4] (nanosleep): Likewise.
22936 [XPG3 || XPG4] (timer_create): Likewise.
22937 [XPG3 || XPG4] (timer_delete): Likewise.
22938 [XPG3 || XPG4] (timer_gettime): Likewise.
22939 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22940 [XPG3 || XPG4] (timer_settime): Likewise.
22941 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22942 [XPG3 || XPG4] (getlogin_r): Likewise.
22943 [XPG3 || XPG4] (pread): Likewise.
22944 [XPG3 || XPG4] (pthread_atfork): Likewise.
22945 [XPG3 || XPG4] (pwrite): Likewise.
22946
22947 [BZ #14835]
22948 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22949 <bits/siginfo.h>.
22950
22951 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22952
22953 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22954 finalizing MALLSTREAM.
22955
22956 * sysdeps/mach/hurd/syncfs.c: New file.
22957
22958 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22959
22960 [BZ #14719]
22961 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22962 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22963 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22964 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22965 (_nss_dns_gethostbyname4_r): Likewise.
22966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22967 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22968
22969 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22970
22971 [BZ #13763]
22972 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22973
22974 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22975
22976 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22977 * elf/cache.c (print_entry): Print ",AArch64" for
22978 FLAG_AARCH64_LIB64
22979
22980 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22981 * elf/cache.c (print_entry): Print ",hard-float" for
22982 FLAG_ARM_LIBHF.
22983
22984 2012-11-18 David S. Miller <davem@davemloft.net>
22985
22986 With help from Joseph Myers.
22987 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22988 cutoff to 2**-13.
22989 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22990 cutoff to 2**-25.
22991 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22992 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22993 small.
22994 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22995 * math/libm-test.inc (y0_test): New tests.
22996 (y1_test): New tests.
22997 * sysdeps/i386/fpu/libm-test-ulps: Update.
22998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23000
23001 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23002
23003 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23004 64-bit targets.
23005 * configure: Regenerated.
23006
23007 2012-11-17 David S. Miller <davem@davemloft.net>
23008
23009 [BZ #14811]
23010 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23011 nonzero exponents with absolute value below 0x1p-128 to +/-
23012 0x1p-128.
23013
23014 2012-11-17 Joseph Myers <joseph@codesourcery.com>
23015
23016 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23017
23018 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23019
23020 * posix/getconf-speclist.c: New file.
23021 * posix/posix-envs.def: Likewise.
23022 * posix/confstr.c (START_ENV_GROUP): New macro.
23023 (END_ENV_GROUP): Likewise.
23024 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23025 (KNOWN_PRESENT_ENV_STRING): Likewise.
23026 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23027 (UNKNOWN_ENVIRONMENT): Likewise.
23028 (confstr): Include posix-envs.def instead of handling
23029 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23030 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23031 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23032 (END_ENV_GROUP): Likewise.
23033 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23034 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23035 (UNKNOWN_ENVIRONMENT): Likewise.
23036 (__sysconf): Include posix-envs.def instead of handling associated
23037 cases directly here.
23038 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23039 preprocessing getconf-speclist.c rather than running getconf or
23040 generating empty file.
23041
23042 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23043
23044 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23045
23046 2012-11-16 Andrej Lajovic <natrij@gmail.com>
23047
23048 [BZ #14672]
23049 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23050
23051 2012-11-16 David S. Miller <davem@davemloft.net>
23052
23053 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23054 smaller than LDBL_EPSILON/2.0L, just return xm1.
23055
23056 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23057
23058 * elf/tst-array1.c (init): Set constructor priority to 1000.
23059 (fini): Set destructor priority to 1000.
23060 * elf/tst-array2dep.c: Likewise.
23061
23062 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23063
23064 [BZ #11741]
23065 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23066 (_IO_new_file_xsputn): Also return EOF if none of the input
23067 data was written when overflow failed.
23068 * libio/iopadn.c (_IO_padn): Likewise.
23069 * libio/iowpadn.c (_IO_wpadn): Likewise.
23070 * stdio-common/tst-put-error.c: Add copyright notice.
23071 (do_test): Add case for printing padded string.
23072 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23073 _IO_padn returned error.
23074 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23075 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23076 return EOF.
23077
23078 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23079
23080 * libio/libioP.h: Add comment note that the references to C++
23081 bits are now obsolete.
23082
23083 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23084
23085 * math/libm-test.inc (check_complex): Use asprintf.
23086
23087 2012-11-14 Joseph Myers <joseph@codesourcery.com>
23088
23089 * debug/pcprofiledump.c (print_version): Update copyright year.
23090 * malloc/memusagestat.c (print_version): Likewise.
23091
23092 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23093
23094 [BZ #14831]
23095 * elf/Makefile (tests): Add tst-audit8.
23096 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23097 ($(objpfx)tst-audit8.out): New target.
23098 (tst-audit8-ENV): New variable.
23099 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23100 audit if l_reloc_result is NULL.
23101 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23102 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23103 * elf/tst-audit8.c: New file.
23104
23105 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23106
23107 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23108 * misc/Makefile (CFLAGS-select.c): Define.
23109 * posix/Makefile (CFLAGS-pause.c): Define.
23110
23111 2012-11-13 David S. Miller <davem@davemloft.net>
23112
23113 * crypt/Makefile: Move test targets after toplevel Rules
23114 inclusion. Grab any necessary sysdep routines when linking.
23115 * crypt/md5.c (md5_process_block): Remove define, we will always
23116 name it __md5_process_block.
23117 (md5_finish_ctx): Update md5_process_block call.
23118 (md5_stream): Likewise.
23119 (md5_process_bytes): Likewise.
23120 (md5_process_block): Rename to __md5_process_block and move to ...
23121 * crypt/md5-block.c: ... here.
23122 * crypt/sha256.c (sha256_process_block): Move to ...
23123 * crypt/sha256-block.c: ... here.
23124 * crypt/sha512.c (sha512_process_block): Move to ...
23125 * crypt/sha512-block.c: ... here.
23126 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23127 path.
23128 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23129 * sysdeps/sparc/sparc64/multiarch/Makefile
23130 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23131 crypt subdir.
23132 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23133 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23134 multiarch changes.
23135 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23136 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23137 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23138 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23139 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23140 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23141 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23142 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23143 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23144 file.
23145 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23146 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23147 file.
23148 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23149
23150 2012-11-13 Joseph Myers <joseph@codesourcery.com>
23151
23152 * timezone/tzselect.ksh: Update from tzcode git revision
23153 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23154 * timezone/zdump.c: Likewise.
23155 * timezone/zic.c: Likewise.
23156 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23157 in TZVERSION setting, not $(PKGVERSION).
23158 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23159 REPORT_BUGS_TO settings.
23160
23161 [BZ #14838]
23162 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23163 macro.
23164
23165 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23166
23167 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23168 detection to immediately after _FP_ROUND().
23169 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23170 bits are 0.
23171
23172 2012-11-11 David S. Miller <davem@davemloft.net>
23173
23174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23175 inttypes.h
23176 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23177 __close rather than their public counterparts.
23178
23179 2012-11-10 Joseph Myers <joseph@codesourcery.com>
23180
23181 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23182 file.
23183 [UNIX98] (sem_timedwait): Do not expect.
23184 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23185 [XPG4 || UNIX98] (sockatmark): Do not expect.
23186 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23187 (clock_getcpuclockid): Do not expect.
23188 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23189 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23190 Do not expect.
23191 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23192 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23193 [UNIX98] (vwscanf): Likewise.
23194 [UNIX98] (vswscanf): Likewise.
23195
23196 2012-11-09 Joseph Myers <joseph@codesourcery.com>
23197
23198 * timezone/version.h: Remove file.
23199 * timezone/README: Do not refer to version.h.
23200 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23201 $(objpfx)version.h.
23202 ($(objpfx)zdump.o): Likewise.
23203 ($(objpfx)version.h): New target.
23204
23205 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23206 2012i.
23207 * timezone/README: Don't mention modification to tzselect.ksh.
23208 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23209 work on unmodified tzselect.ksh. Substitute version numbers in
23210 tzselect.ksh.
23211
23212 * Makefile (format-me): Remove.
23213 (INSTALL): Adjust indentation. Use commands directly instead of
23214 using $(format-me).
23215
23216 * aclocal.m4 (ACX_PKGVERSION): New macro.
23217 (ACX_BUGURL): Likewise.
23218 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23219 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23220 (REPORT_BUGS_TO): Likewise.
23221 * configure: Regenerated.
23222 * config.h.in (PKGVERSION): New macro.
23223 (REPORT_BUGS_TO): Likewise.
23224 * config.make.in (PKGVERSION): New variable.
23225 (PKGVERSION_TEXI): Likewise.
23226 (REPORT_BUGS_TO): Likewise.
23227 (REPORT_BUGS_TEXI): Likewise.
23228 * Makefile (format-me): Use -I$(common-objpfx)manual.
23229 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23230 ($(common-objpfx)manual/%): New target.
23231 (manual/%): Remove target.
23232 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23233 (print_version): Use PKGVERSION.
23234 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23235 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23236 and REPORT_BUGS_TO.
23237 ($(objpfx)xtrace): Likewise.
23238 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23239 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23240 (print_version): Use PKGVERSION.
23241 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23242 (do_version): Use PKGVERSION.
23243 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23244 REPORT_BUGS_TO.
23245 (common-ldd-rewrite): Likewise.
23246 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23247 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23248 (print_version): Use PKGVERSION.
23249 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23250 * elf/pldd.c (argp_program_bug_address): Remove variable.
23251 (more_help): New function.
23252 (argp): Use more_help.
23253 (print_version): Use PKGVERSION.
23254 * elf/sln.c (main): Use PKGVERSION.
23255 (usage): Use REPORT_BUGS_TO.
23256 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23257 (top level): Use PKGVERSION.
23258 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23259 (print_version): Use PKGVERSION.
23260 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23261 (print_version): Use PKGVERSION.
23262 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23263 (print_version): Use PKGVERSION.
23264 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23265 (print_version): Use PKGVERSION.
23266 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23267 (print_version): Use PKGVERSION.
23268 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23269 (print_version): Use PKGVERSION.
23270 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23271 and BUGURL.
23272 ($(objpfx)memusage): Likewise.
23273 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23274 (do_version): Use PKGVERSION.
23275 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23276 (print_version): Use PKGVERSION.
23277 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23278 ($PKGVERSION): New variable.
23279 ($REPORT_BUGS_TO): Likewise.
23280 (usage): Use $REPORT_BUGS_TO.
23281 (top level): Use $PKGVERSION.
23282 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23283 ($(objpfx)pkgvers.texi): New rule.
23284 ($(objpfx)stamp-pkgvers): Likewise.
23285 * manual/install.texi: Include pkgvers.texi.
23286 (--with-pkgversion): Document new configure option.
23287 (--with-bugurl): Likewise.
23288 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23289 than necessarily for this particular distribution. Use
23290 REPORT_BUGS_TO for where to report bugs.
23291 * INSTALL: Regenerated.
23292 * manual/libc.texinfo: Include pkgvers.texi.
23293 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23294 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23295 (print_version): Use PKGVERSION.
23296 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23297 (print_version): Use PKGVERSION.
23298 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23299 (print_version): Use PKGVERSION.
23300 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23301 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23302 macro.
23303 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23304 (print_version): Use PKGVERSION.
23305 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23306 (print_version): Use PKGVERSION.
23307 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23308 and PKGVERSION.
23309
23310 * timezone/checktab.awk: Update from tzcode 2012i.
23311 * timezone/ialloc.c: Likewise.
23312 * timezone/private.h: Likewise.
23313 * timezone/scheck.c: Likewise.
23314 * timezone/tzfile.h: Likewise.
23315 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23316 (TZVERSION): Hardcode tzcode version number.
23317 * timezone/zdump.c: Update from tzcode 2012i.
23318 * timezone/zic.c: Likewise.
23319 * timezone/version.h: New file.
23320 * timezone/README: Describe version.h. Update upstream location.
23321
23322 [BZ #14824]
23323 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23324 (mktemp): Enable declaration.
23325 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23329 Likewise.
23330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23331 Likewise.
23332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23333 Likewise.
23334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23335 Likewise.
23336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23337 Likewise.
23338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23339 Likewise.
23340
23341 [BZ #14821]
23342 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23343 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23344 for copies of such integer values.
23345 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23346 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23347
23348 2012-11-09 Andreas Jaeger <aj@suse.de>
23349
23350 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23351 definitions and declarations that are provided by
23352 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23353
23354 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23355
23356 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23357 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23358 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23359 definition.
23360
23361 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23362
23363 * elf/elf.h: Update comment before AArch64 relocations.
23364
23365 2012-11-07 David S. Miller <davem@davemloft.net>
23366
23367 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23368 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23369 (__start_context): Declare.
23370 (__makecontext_ret): Delete.
23371 (__makecontext): Hook up __start_context instead of
23372 __makecontext_ret.
23373 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23374 (sysdep_routines): Add __start_context when in stdlib.
23375
23376 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23377
23378 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23379 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23380 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23381 hardcoded "nm".
23382 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23383 (READELF): New variable. Use it instead of hardcoded "readelf".
23384
23385 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23386
23387 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23388 * sysdeps/x86/Makefile: Here.
23389 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23390 * sysdeps/x86/tst-xmmymm.sh: This.
23391
23392 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23393
23394 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23395 expectations.
23396 [UNIX98] (pthread_barrier_t): Do not expect.
23397 [UNIX98] (pthread_barrierattr_t): Likewise.
23398 [UNIX98] (pthread_spinlock_t): Likewise.
23399 [UNIX98] (pthread_barrier_destroy): Likewise.
23400 [UNIX98] (pthread_barrier_init): Likewise.
23401 [UNIX98] (pthread_barrier_wait): Likewise.
23402 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23403 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23404 [UNIX98] (pthread_barrierattr_init): Likewise.
23405 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23406 [UNIX98] (pthread_getcpuclockid): Likewise.
23407 [UNIX98] (pthread_mutex_timedlock): Likewise.
23408 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23409 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23410 [UNIX98] (pthread_sigmask): Likewise.
23411 [UNIX98] (pthread_spin_destroy): Likewise.
23412 [UNIX98] (pthread_spin_init): Likewise.
23413 [UNIX98] (pthread_spin_lock): Likewise.
23414 [UNIX98] (pthread_spin_trylock): Likewise.
23415 [UNIX98] (pthread_spin_unlock): Likewise.
23416 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23417 Do not expect.
23418 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23419 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23420 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23421 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23422 [XPG3 || XPG4] (pthread_key_t): Likewise.
23423 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23424 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23425 [XPG3 || XPG4] (pthread_once_t): Likewise.
23426 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23427 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23428 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23429 [XPG3 || XPG4] (pthread_t): Likewise.
23430
23431 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23432 not expect.
23433 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23434
23435 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23436 Change function return type to int.
23437
23438 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23439 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23440 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23441 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23442 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23443 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23444 [!POSIX] (posix_madvise): Likewise.
23445 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23446 && !UNIX98].
23447 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23448 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23449 (mode_t): Likewise.
23450 (posix_mem_offset): Likewise.
23451 (posix_typed_mem_get_info): Likewise.
23452 (posix_typed_mem_open): Likewise.
23453
23454 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23455 Change condition to [XOPEN2K8].
23456
23457 * conform/conformtest.pl: Preprocess allow-header data with -x c
23458 instead of from stdin.
23459 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23460 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23461 [C99-based standards] (cerfc): Likewise.
23462 [C99-based standards] (cexp2): Likewise.
23463 [C99-based standards] (cexpm1): Likewise.
23464 [C99-based standards] (clog10): Likewise.
23465 [C99-based standards] (clog1p): Likewise.
23466 [C99-based standards] (clog2): Likewise.
23467 [C99-based standards] (clgamma): Likewise.
23468 [C99-based standards] (ctgamma): Likewise.
23469 [C99-based standards] (cerff): Likewise.
23470 [C99-based standards] (cerfcf): Likewise.
23471 [C99-based standards] (cexp2f): Likewise.
23472 [C99-based standards] (cexpm1f): Likewise.
23473 [C99-based standards] (clog10f): Likewise.
23474 [C99-based standards] (clog1pf): Likewise.
23475 [C99-based standards] (clog2f): Likewise.
23476 [C99-based standards] (clgammaf): Likewise.
23477 [C99-based standards] (ctgammaf): Likewise.
23478 [C99-based standards] (cerfl): Likewise.
23479 [C99-based standards] (cerfcl): Likewise.
23480 [C99-based standards] (cexp2l): Likewise.
23481 [C99-based standards] (cexpm1l): Likewise.
23482 [C99-based standards] (clog10l): Likewise.
23483 [C99-based standards] (clog1pl): Likewise.
23484 [C99-based standards] (clog2l): Likewise.
23485 [C99-based standards] (clgammal): Likewise.
23486 [C99-based standards] (ctgammal): Likewise.
23487 * conform/data/inttypes.h-data [C99-based standards]: Include
23488 stdint.h-data. Remove all expectations for stdint.h contents.
23489 [C99-based standards] (PRI*): Do not allow.
23490 [C99-based standards] (SCN*): Likewise.
23491 [C99-based standards] (*_t): Likewise.
23492 [C99-based-standards] (PRId8): Expect macro.
23493 [C99-based-standards] (PRIi8): Likewise.
23494 [C99-based-standards] (PRIo8): Likewise.
23495 [C99-based-standards] (PRIu8): Likewise.
23496 [C99-based-standards] (PRIx8): Likewise.
23497 [C99-based-standards] (PRIX8): Likewise.
23498 [C99-based-standards] (SCNd8): Likewise.
23499 [C99-based-standards] (SCNi8): Likewise.
23500 [C99-based-standards] (SCNo8): Likewise.
23501 [C99-based-standards] (SCNu8): Likewise.
23502 [C99-based-standards] (SCNx8): Likewise.
23503 [C99-based-standards] (PRIdLEAST8): Likewise.
23504 [C99-based-standards] (PRIiLEAST8): Likewise.
23505 [C99-based-standards] (PRIoLEAST8): Likewise.
23506 [C99-based-standards] (PRIuLEAST8): Likewise.
23507 [C99-based-standards] (PRIxLEAST8): Likewise.
23508 [C99-based-standards] (PRIXLEAST8): Likewise.
23509 [C99-based-standards] (SCNdLEAST8): Likewise.
23510 [C99-based-standards] (SCNiLEAST8): Likewise.
23511 [C99-based-standards] (SCNoLEAST8): Likewise.
23512 [C99-based-standards] (SCNuLEAST8): Likewise.
23513 [C99-based-standards] (SCNxLEAST8): Likewise.
23514 [C99-based-standards] (PRIdFAST8): Likewise.
23515 [C99-based-standards] (PRIiFAST8): Likewise.
23516 [C99-based-standards] (PRIoFAST8): Likewise.
23517 [C99-based-standards] (PRIuFAST8): Likewise.
23518 [C99-based-standards] (PRIxFAST8): Likewise.
23519 [C99-based-standards] (PRIXFAST8): Likewise.
23520 [C99-based-standards] (SCNdFAST8): Likewise.
23521 [C99-based-standards] (SCNiFAST8): Likewise.
23522 [C99-based-standards] (SCNoFAST8): Likewise.
23523 [C99-based-standards] (SCNuFAST8): Likewise.
23524 [C99-based-standards] (SCNxFAST8): Likewise.
23525 [C99-based-standards] (PRId16): Likewise.
23526 [C99-based-standards] (PRIi16): Likewise.
23527 [C99-based-standards] (PRIo16): Likewise.
23528 [C99-based-standards] (PRIu16): Likewise.
23529 [C99-based-standards] (PRIx16): Likewise.
23530 [C99-based-standards] (PRIX16): Likewise.
23531 [C99-based-standards] (SCNd16): Likewise.
23532 [C99-based-standards] (SCNi16): Likewise.
23533 [C99-based-standards] (SCNo16): Likewise.
23534 [C99-based-standards] (SCNu16): Likewise.
23535 [C99-based-standards] (SCNx16): Likewise.
23536 [C99-based-standards] (PRIdLEAST16): Likewise.
23537 [C99-based-standards] (PRIiLEAST16): Likewise.
23538 [C99-based-standards] (PRIoLEAST16): Likewise.
23539 [C99-based-standards] (PRIuLEAST16): Likewise.
23540 [C99-based-standards] (PRIxLEAST16): Likewise.
23541 [C99-based-standards] (PRIXLEAST16): Likewise.
23542 [C99-based-standards] (SCNdLEAST16): Likewise.
23543 [C99-based-standards] (SCNiLEAST16): Likewise.
23544 [C99-based-standards] (SCNoLEAST16): Likewise.
23545 [C99-based-standards] (SCNuLEAST16): Likewise.
23546 [C99-based-standards] (SCNxLEAST16): Likewise.
23547 [C99-based-standards] (PRIdFAST16): Likewise.
23548 [C99-based-standards] (PRIiFAST16): Likewise.
23549 [C99-based-standards] (PRIoFAST16): Likewise.
23550 [C99-based-standards] (PRIuFAST16): Likewise.
23551 [C99-based-standards] (PRIxFAST16): Likewise.
23552 [C99-based-standards] (PRIXFAST16): Likewise.
23553 [C99-based-standards] (SCNdFAST16): Likewise.
23554 [C99-based-standards] (SCNiFAST16): Likewise.
23555 [C99-based-standards] (SCNoFAST16): Likewise.
23556 [C99-based-standards] (SCNuFAST16): Likewise.
23557 [C99-based-standards] (SCNxFAST16): Likewise.
23558 [C99-based-standards] (PRId32): Likewise.
23559 [C99-based-standards] (PRIi32): Likewise.
23560 [C99-based-standards] (PRIo32): Likewise.
23561 [C99-based-standards] (PRIu32): Likewise.
23562 [C99-based-standards] (PRIx32): Likewise.
23563 [C99-based-standards] (PRIX32): Likewise.
23564 [C99-based-standards] (SCNd32): Likewise.
23565 [C99-based-standards] (SCNi32): Likewise.
23566 [C99-based-standards] (SCNo32): Likewise.
23567 [C99-based-standards] (SCNu32): Likewise.
23568 [C99-based-standards] (SCNx32): Likewise.
23569 [C99-based-standards] (PRIdLEAST32): Likewise.
23570 [C99-based-standards] (PRIiLEAST32): Likewise.
23571 [C99-based-standards] (PRIoLEAST32): Likewise.
23572 [C99-based-standards] (PRIuLEAST32): Likewise.
23573 [C99-based-standards] (PRIxLEAST32): Likewise.
23574 [C99-based-standards] (PRIXLEAST32): Likewise.
23575 [C99-based-standards] (SCNdLEAST32): Likewise.
23576 [C99-based-standards] (SCNiLEAST32): Likewise.
23577 [C99-based-standards] (SCNoLEAST32): Likewise.
23578 [C99-based-standards] (SCNuLEAST32): Likewise.
23579 [C99-based-standards] (SCNxLEAST32): Likewise.
23580 [C99-based-standards] (PRIdFAST32): Likewise.
23581 [C99-based-standards] (PRIiFAST32): Likewise.
23582 [C99-based-standards] (PRIoFAST32): Likewise.
23583 [C99-based-standards] (PRIuFAST32): Likewise.
23584 [C99-based-standards] (PRIxFAST32): Likewise.
23585 [C99-based-standards] (PRIXFAST32): Likewise.
23586 [C99-based-standards] (SCNdFAST32): Likewise.
23587 [C99-based-standards] (SCNiFAST32): Likewise.
23588 [C99-based-standards] (SCNoFAST32): Likewise.
23589 [C99-based-standards] (SCNuFAST32): Likewise.
23590 [C99-based-standards] (SCNxFAST32): Likewise.
23591 [C99-based-standards] (PRId64): Likewise.
23592 [C99-based-standards] (PRIi64): Likewise.
23593 [C99-based-standards] (PRIo64): Likewise.
23594 [C99-based-standards] (PRIu64): Likewise.
23595 [C99-based-standards] (PRIx64): Likewise.
23596 [C99-based-standards] (PRIX64): Likewise.
23597 [C99-based-standards] (SCNd64): Likewise.
23598 [C99-based-standards] (SCNi64): Likewise.
23599 [C99-based-standards] (SCNo64): Likewise.
23600 [C99-based-standards] (SCNu64): Likewise.
23601 [C99-based-standards] (SCNx64): Likewise.
23602 [C99-based-standards] (PRIdLEAST64): Likewise.
23603 [C99-based-standards] (PRIiLEAST64): Likewise.
23604 [C99-based-standards] (PRIoLEAST64): Likewise.
23605 [C99-based-standards] (PRIuLEAST64): Likewise.
23606 [C99-based-standards] (PRIxLEAST64): Likewise.
23607 [C99-based-standards] (PRIXLEAST64): Likewise.
23608 [C99-based-standards] (SCNdLEAST64): Likewise.
23609 [C99-based-standards] (SCNiLEAST64): Likewise.
23610 [C99-based-standards] (SCNoLEAST64): Likewise.
23611 [C99-based-standards] (SCNuLEAST64): Likewise.
23612 [C99-based-standards] (SCNxLEAST64): Likewise.
23613 [C99-based-standards] (PRIdFAST64): Likewise.
23614 [C99-based-standards] (PRIiFAST64): Likewise.
23615 [C99-based-standards] (PRIoFAST64): Likewise.
23616 [C99-based-standards] (PRIuFAST64): Likewise.
23617 [C99-based-standards] (PRIxFAST64): Likewise.
23618 [C99-based-standards] (PRIXFAST64): Likewise.
23619 [C99-based-standards] (SCNdFAST64): Likewise.
23620 [C99-based-standards] (SCNiFAST64): Likewise.
23621 [C99-based-standards] (SCNoFAST64): Likewise.
23622 [C99-based-standards] (SCNuFAST64): Likewise.
23623 [C99-based-standards] (SCNxFAST64): Likewise.
23624 [C99-based-standards] (PRIdMAX): Likewise.
23625 [C99-based-standards] (PRIiMAX): Likewise.
23626 [C99-based-standards] (PRIoMAX): Likewise.
23627 [C99-based-standards] (PRIuMAX): Likewise.
23628 [C99-based-standards] (PRIxMAX): Likewise.
23629 [C99-based-standards] (PRIXMAX): Likewise.
23630 [C99-based-standards] (SCNdMAX): Likewise.
23631 [C99-based-standards] (SCNiMAX): Likewise.
23632 [C99-based-standards] (SCNoMAX): Likewise.
23633 [C99-based-standards] (SCNuMAX): Likewise.
23634 [C99-based-standards] (SCNxMAX): Likewise.
23635 [C99-based-standards] (PRIdPTR): Likewise.
23636 [C99-based-standards] (PRIiPTR): Likewise.
23637 [C99-based-standards] (PRIoPTR): Likewise.
23638 [C99-based-standards] (PRIuPTR): Likewise.
23639 [C99-based-standards] (PRIxPTR): Likewise.
23640 [C99-based-standards] (PRIXPTR): Likewise.
23641 [C99-based-standards] (SCNdPTR): Likewise.
23642 [C99-based-standards] (SCNiPTR): Likewise.
23643 [C99-based-standards] (SCNoPTR): Likewise.
23644 [C99-based-standards] (SCNuPTR): Likewise.
23645 [C99-based-standards] (SCNxPTR): Likewise.
23646 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23647 allow.
23648 * conform/data/stdint.h-data: Update comments to clarify
23649 requirements.
23650 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23651 type.
23652 [C99-based standards] (INT8_MAX): Likewise.
23653 [C99-based standards] (INT16_MIN): Likewise.
23654 [C99-based standards] (INT16_MAX): Likewise.
23655 [C99-based standards] (INT32_MIN): Likewise.
23656 [C99-based standards] (INT32_MAX): Likewise.
23657 [C99-based standards] (INT64_MIN): Likewise.
23658 [C99-based standards] (INT64_MAX): Likewise.
23659 [C99-based standards] (UINT8_MAX): Likewise.
23660 [C99-based standards] (UINT16_MAX): Likewise.
23661 [C99-based standards] (UINT32_MAX): Likewise.
23662 [C99-based standards] (UINT64_MAX): Likewise.
23663 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23664 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23665 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23666 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23667 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23668 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23669 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23670 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23671 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23672 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23673 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23674 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23675 [C99-based standards] (INT_FAST8_MIN): Likewise.
23676 [C99-based standards] (INT_FAST8_MAX): Likewise.
23677 [C99-based standards] (INT_FAST16_MIN): Likewise.
23678 [C99-based standards] (INT_FAST16_MAX): Likewise.
23679 [C99-based standards] (INT_FAST32_MIN): Likewise.
23680 [C99-based standards] (INT_FAST32_MAX): Likewise.
23681 [C99-based standards] (INT_FAST64_MIN): Likewise.
23682 [C99-based standards] (INT_FAST64_MAX): Likewise.
23683 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23684 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23685 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23686 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23687 [C99-based standards] (INTPTR_MIN): Likewise.
23688 [C99-based standards] (INTPTR_MAX): Likewise.
23689 [C99-based standards] (UINTPTR_MAX): Likewise.
23690 [C99-based standards] (INTMAX_MIN): Likewise.
23691 [C99-based standards] (INTMAX_MAX): Likewise.
23692 [C99-based standards] (UINTMAX_MAX): Likewise.
23693 [C99-based standards] (PTRDIFF_MIN): Likewise.
23694 [C99-based standards] (PTRDIFF_MAX): Likewise.
23695 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23696 [C99-based standards] (SIZE_MAX): Likewise.
23697 [C99-based standards] (WCHAR_MAX): Likewise.
23698 [C99-based standards] (WINT_MAX): Likewise.
23699 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23700 constraint on value.
23701 [C99-based standards] (WCHAR_MIN): Likewise.
23702 [C99-based standards] (WINT_MIN): Likewise.
23703 [C99-based standards] (*_t): Allow.
23704 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23705 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23706 Include math.h-data and complex.h-data. Remove all expectations
23707 of math.h and complex.h contents.
23708 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23709 at end of line.
23710 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23711 (struct tm): Expect tag.
23712 [C99-based-standards] (wcstof): Expect function.
23713 [C99-based-standards] (wcstold): Likewise.
23714 [C99-based-standards] (wcstoll): Likewise.
23715 [C99-based-standards] (wcstoull): Likewise.
23716 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23717 macro-int-constant. Specify type.
23718 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23719 constraint on value.
23720 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23721 Specify type.
23722 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23723 Specify value.
23724 [ISO C standards]: Do not allow headers.
23725 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23726 wcs[abcdefghijklmnopqrstuvwxyz]*.
23727 [ISO C standards] (*_t): Do not allow.
23728 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23729 Expect function.
23730 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23731 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23732 Specify type.
23733 [ISO C standards]: Do not allow headers.
23734 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23735 is[abcdefghijklmnopqrstuvwxyz]*.
23736 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23737 to[abcdefghijklmnopqrstuvwxyz]*.
23738 [ISO C standards] (*_t): Do not allow.
23739 * conform/data/stdalign.h-data: New file.
23740 * conform/data/stdbool.h-data: Likewise.
23741 * conform/data/stdnoreturn.h-data: Likewise.
23742
23743 2012-11-07 Roland McGrath <roland@hack.frob.com>
23744
23745 [BZ #14815]
23746 * manual/filesys.texi (Directory Entries): Typo fix.
23747 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23748
23749 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23750
23751 * elf/elf.h (EM_AARCH64): New macro.
23752 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23753 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23754 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23755 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23756 (R_AARCH64_TLSDESC): Likewise.
23757 (NT_ARM_TLS): Likewise.
23758 (NT_ARM_HW_BREAK): Likewise.
23759 (NT_ARM_HW_WATCH): Likewise.
23760
23761 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23762
23763 [BZ #14811]
23764 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23765 (__ieee754_powl): Saturate nonzero exponents with absolute value
23766 below 0x1p-79 to +/- 0x1p-79.
23767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23768 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23769 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23770 nonzero exponents with absolute value below 0x1p-32 to +/-
23771 0x1p-32.
23772 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23773 (__ieee754_powl): Saturate nonzero exponents with absolute value
23774 below 0x1p-79 to +/- 0x1p-79.
23775 * math/libm-test.inc (pow_test): Add more tests.
23776
23777 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23778
23779 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23780 _dl_s390_cap_flags with kernel. Increase string length.
23781 (_dl_s390_platforms): Add z196 and zEC12.
23782
23783 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23784
23785 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23786 Change XOPEN21K to XOPEN2K.
23787
23788 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23789
23790 * string/memmove.c: Use memcpy when possible.
23791
23792 2012-11-06 Andreas Jaeger <aj@suse.de>
23793
23794 * po/eo.po: Update from translation team.
23795
23796 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23797
23798 [BZ #14793]
23799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23800 exponent and small x and y exponents, scale x or y up. Increase
23801 by 2 the exponent used in scaling up.
23802 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23803 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23804 * math/libm-test.inc (fma_test): Add more tests.
23805 (fma_test_towardzero): Likewise.
23806 (fma_test_downward): Likewise.
23807 (fma_test_upward): Likewise.
23808
23809 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23810
23811 [BZ #14805]
23812 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23813 fenv_t *.
23814
23815 [BZ #14801]
23816 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23817 namespace for names of struct fields.
23818 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23819 fenv_t fields.
23820 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23821 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23822
23823 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23824
23825 [BZ #3665]
23826 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23827
23828 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23829
23830 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23831 PTR_DEMANGLE.
23832
23833 [BZ #5246]
23834 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23835 PTR_DEMANGLE.
23836
23837 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23838
23839 [BZ #14797]
23840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23841 definitely overflow as x * y not x * y + z.
23842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23843 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23844 * math/libm-test.inc (fma_test): Add more tests.
23845 (fma_test_towardzero): Likewise.
23846 (fma_test_downward): Likewise.
23847 (fma_test_upward): Likewise.
23848
23849 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23850
23851 [BZ #157]
23852
23853 * include/stub-tag.h: Remove file.
23854 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23855 '#include' of it.
23856 * manual/maint.texi (Porting): Don't reference it.
23857 * Makerules ($(objpfx)stubs): Likewise.
23858 * dirent/closedir.c: Don't include <stub-tag.h>.
23859 * dirent/dirfd.c: Likewise.
23860 * dirent/fdopendir.c: Likewise.
23861 * dirent/getdents.c: Likewise.
23862 * dirent/getdents64.c: Likewise.
23863 * dirent/opendir.c: Likewise.
23864 * dirent/readdir.c: Likewise.
23865 * dirent/readdir64.c: Likewise.
23866 * dirent/readdir64_r.c: Likewise.
23867 * dirent/readdir_r.c: Likewise.
23868 * dirent/rewinddir.c: Likewise.
23869 * dirent/seekdir.c: Likewise.
23870 * dirent/telldir.c: Likewise.
23871 * gmon/profil.c: Likewise.
23872 * grp/setgroups.c: Likewise.
23873 * inet/if_index.c: Likewise.
23874 * io/access.c: Likewise.
23875 * io/chdir.c: Likewise.
23876 * io/chmod.c: Likewise.
23877 * io/chown.c: Likewise.
23878 * io/close.c: Likewise.
23879 * io/dup.c: Likewise.
23880 * io/dup2.c: Likewise.
23881 * io/dup3.c: Likewise.
23882 * io/euidaccess.c: Likewise.
23883 * io/faccessat.c: Likewise.
23884 * io/fchdir.c: Likewise.
23885 * io/fchmod.c: Likewise.
23886 * io/fchmodat.c: Likewise.
23887 * io/fchown.c: Likewise.
23888 * io/fchownat.c: Likewise.
23889 * io/fcntl.c: Likewise.
23890 * io/flock.c: Likewise.
23891 * io/fstatfs.c: Likewise.
23892 * io/fstatfs64.c: Likewise.
23893 * io/fstatvfs.c: Likewise.
23894 * io/fstatvfs64.c: Likewise.
23895 * io/futimens.c: Likewise.
23896 * io/fxstat.c: Likewise.
23897 * io/fxstat64.c: Likewise.
23898 * io/fxstatat.c: Likewise.
23899 * io/fxstatat64.c: Likewise.
23900 * io/getcwd.c: Likewise.
23901 * io/isatty.c: Likewise.
23902 * io/lchmod.c: Likewise.
23903 * io/lchown.c: Likewise.
23904 * io/link.c: Likewise.
23905 * io/linkat.c: Likewise.
23906 * io/lseek.c: Likewise.
23907 * io/lseek64.c: Likewise.
23908 * io/lxstat64.c: Likewise.
23909 * io/mkdir.c: Likewise.
23910 * io/mkdirat.c: Likewise.
23911 * io/mkfifo.c: Likewise.
23912 * io/mkfifoat.c: Likewise.
23913 * io/open.c: Likewise.
23914 * io/open64.c: Likewise.
23915 * io/openat.c: Likewise.
23916 * io/openat64.c: Likewise.
23917 * io/pipe.c: Likewise.
23918 * io/pipe2.c: Likewise.
23919 * io/poll.c: Likewise.
23920 * io/posix_fadvise.c: Likewise.
23921 * io/posix_fadvise64.c: Likewise.
23922 * io/posix_fallocate.c: Likewise.
23923 * io/posix_fallocate64.c: Likewise.
23924 * io/read.c: Likewise.
23925 * io/readlink.c: Likewise.
23926 * io/readlinkat.c: Likewise.
23927 * io/rmdir.c: Likewise.
23928 * io/sendfile.c: Likewise.
23929 * io/sendfile64.c: Likewise.
23930 * io/statfs.c: Likewise.
23931 * io/statfs64.c: Likewise.
23932 * io/statvfs.c: Likewise.
23933 * io/statvfs64.c: Likewise.
23934 * io/symlink.c: Likewise.
23935 * io/symlinkat.c: Likewise.
23936 * io/ttyname.c: Likewise.
23937 * io/ttyname_r.c: Likewise.
23938 * io/umask.c: Likewise.
23939 * io/unlink.c: Likewise.
23940 * io/unlinkat.c: Likewise.
23941 * io/utime.c: Likewise.
23942 * io/utimensat.c: Likewise.
23943 * io/write.c: Likewise.
23944 * io/xmknod.c: Likewise.
23945 * io/xmknodat.c: Likewise.
23946 * io/xstat.c: Likewise.
23947 * io/xstat64.c: Likewise.
23948 * login/getpt.c: Likewise.
23949 * login/grantpt.c: Likewise.
23950 * login/unlockpt.c: Likewise.
23951 * math/e_acoshl.c: Likewise.
23952 * math/e_acosl.c: Likewise.
23953 * math/e_asinl.c: Likewise.
23954 * math/e_atan2l.c: Likewise.
23955 * math/e_atanhl.c: Likewise.
23956 * math/e_coshl.c: Likewise.
23957 * math/e_expl.c: Likewise.
23958 * math/e_fmodl.c: Likewise.
23959 * math/e_gammal_r.c: Likewise.
23960 * math/e_hypotl.c: Likewise.
23961 * math/e_j0l.c: Likewise.
23962 * math/e_j1l.c: Likewise.
23963 * math/e_jnl.c: Likewise.
23964 * math/e_lgammal_r.c: Likewise.
23965 * math/e_log10l.c: Likewise.
23966 * math/e_log2l.c: Likewise.
23967 * math/e_logl.c: Likewise.
23968 * math/e_powl.c: Likewise.
23969 * math/e_rem_pio2l.c: Likewise.
23970 * math/e_sinhl.c: Likewise.
23971 * math/e_sqrtl.c: Likewise.
23972 * math/fclrexcpt.c: Likewise.
23973 * math/fedisblxcpt.c: Likewise.
23974 * math/feenablxcpt.c: Likewise.
23975 * math/fegetenv.c: Likewise.
23976 * math/fegetexcept.c: Likewise.
23977 * math/fegetround.c: Likewise.
23978 * math/feholdexcpt.c: Likewise.
23979 * math/fesetenv.c: Likewise.
23980 * math/fesetround.c: Likewise.
23981 * math/feupdateenv.c: Likewise.
23982 * math/fgetexcptflg.c: Likewise.
23983 * math/fraiseexcpt.c: Likewise.
23984 * math/fsetexcptflg.c: Likewise.
23985 * math/ftestexcept.c: Likewise.
23986 * math/k_cosl.c: Likewise.
23987 * math/k_rem_pio2l.c: Likewise.
23988 * math/k_sinl.c: Likewise.
23989 * math/k_tanl.c: Likewise.
23990 * math/s_asinhl.c: Likewise.
23991 * math/s_atanl.c: Likewise.
23992 * math/s_cbrtl.c: Likewise.
23993 * math/s_erfl.c: Likewise.
23994 * math/s_expm1l.c: Likewise.
23995 * math/s_log1pl.c: Likewise.
23996 * math/s_tanhl.c: Likewise.
23997 * misc/acct.c: Likewise.
23998 * misc/brk.c: Likewise.
23999 * misc/chflags.c: Likewise.
24000 * misc/chroot.c: Likewise.
24001 * misc/fchflags.c: Likewise.
24002 * misc/fgetxattr.c: Likewise.
24003 * misc/flistxattr.c: Likewise.
24004 * misc/fremovexattr.c: Likewise.
24005 * misc/fsetxattr.c: Likewise.
24006 * misc/fsync.c: Likewise.
24007 * misc/ftruncate.c: Likewise.
24008 * misc/futimes.c: Likewise.
24009 * misc/futimesat.c: Likewise.
24010 * misc/getdomain.c: Likewise.
24011 * misc/getdtsz.c: Likewise.
24012 * misc/gethostid.c: Likewise.
24013 * misc/gethostname.c: Likewise.
24014 * misc/getloadavg.c: Likewise.
24015 * misc/getpagesize.c: Likewise.
24016 * misc/getsysstats.c: Likewise.
24017 * misc/getxattr.c: Likewise.
24018 * misc/gtty.c: Likewise.
24019 * misc/ioctl.c: Likewise.
24020 * misc/lgetxattr.c: Likewise.
24021 * misc/listxattr.c: Likewise.
24022 * misc/llistxattr.c: Likewise.
24023 * misc/lremovexattr.c: Likewise.
24024 * misc/lsetxattr.c: Likewise.
24025 * misc/lutimes.c: Likewise.
24026 * misc/madvise.c: Likewise.
24027 * misc/mincore.c: Likewise.
24028 * misc/mlock.c: Likewise.
24029 * misc/mlockall.c: Likewise.
24030 * misc/mmap.c: Likewise.
24031 * misc/mprotect.c: Likewise.
24032 * misc/msync.c: Likewise.
24033 * misc/munlock.c: Likewise.
24034 * misc/munlockall.c: Likewise.
24035 * misc/munmap.c: Likewise.
24036 * misc/preadv.c: Likewise.
24037 * misc/preadv64.c: Likewise.
24038 * misc/ptrace.c: Likewise.
24039 * misc/pwritev.c: Likewise.
24040 * misc/pwritev64.c: Likewise.
24041 * misc/readv.c: Likewise.
24042 * misc/reboot.c: Likewise.
24043 * misc/remap_file_pages.c: Likewise.
24044 * misc/removexattr.c: Likewise.
24045 * misc/revoke.c: Likewise.
24046 * misc/select.c: Likewise.
24047 * misc/setdomain.c: Likewise.
24048 * misc/setegid.c: Likewise.
24049 * misc/seteuid.c: Likewise.
24050 * misc/sethostid.c: Likewise.
24051 * misc/sethostname.c: Likewise.
24052 * misc/setregid.c: Likewise.
24053 * misc/setreuid.c: Likewise.
24054 * misc/setxattr.c: Likewise.
24055 * misc/sstk.c: Likewise.
24056 * misc/stty.c: Likewise.
24057 * misc/swapoff.c: Likewise.
24058 * misc/swapon.c: Likewise.
24059 * misc/sync.c: Likewise.
24060 * misc/syncfs.c: Likewise.
24061 * misc/syscall.c: Likewise.
24062 * misc/truncate.c: Likewise.
24063 * misc/ualarm.c: Likewise.
24064 * misc/usleep.c: Likewise.
24065 * misc/ustat.c: Likewise.
24066 * misc/utimes.c: Likewise.
24067 * misc/vhangup.c: Likewise.
24068 * misc/writev.c: Likewise.
24069 * posix/_exit.c: Likewise.
24070 * posix/alarm.c: Likewise.
24071 * posix/execve.c: Likewise.
24072 * posix/fexecve.c: Likewise.
24073 * posix/fork.c: Likewise.
24074 * posix/fpathconf.c: Likewise.
24075 * posix/getaddrinfo.c: Likewise.
24076 * posix/getegid.c: Likewise.
24077 * posix/geteuid.c: Likewise.
24078 * posix/getgid.c: Likewise.
24079 * posix/getgroups.c: Likewise.
24080 * posix/getlogin.c: Likewise.
24081 * posix/getlogin_r.c: Likewise.
24082 * posix/getpgid.c: Likewise.
24083 * posix/getpid.c: Likewise.
24084 * posix/getppid.c: Likewise.
24085 * posix/getresgid.c: Likewise.
24086 * posix/getresuid.c: Likewise.
24087 * posix/getsid.c: Likewise.
24088 * posix/getuid.c: Likewise.
24089 * posix/glob64.c: Likewise.
24090 * posix/nanosleep.c: Likewise.
24091 * posix/pathconf.c: Likewise.
24092 * posix/pause.c: Likewise.
24093 * posix/posix_madvise.c: Likewise.
24094 * posix/pread.c: Likewise.
24095 * posix/pread64.c: Likewise.
24096 * posix/pwrite.c: Likewise.
24097 * posix/pwrite64.c: Likewise.
24098 * posix/sched_getaffinity.c: Likewise.
24099 * posix/sched_getp.c: Likewise.
24100 * posix/sched_gets.c: Likewise.
24101 * posix/sched_primax.c: Likewise.
24102 * posix/sched_primin.c: Likewise.
24103 * posix/sched_rr_gi.c: Likewise.
24104 * posix/sched_setaffinity.c: Likewise.
24105 * posix/sched_setp.c: Likewise.
24106 * posix/sched_sets.c: Likewise.
24107 * posix/sched_yield.c: Likewise.
24108 * posix/setgid.c: Likewise.
24109 * posix/setlogin.c: Likewise.
24110 * posix/setpgid.c: Likewise.
24111 * posix/setresgid.c: Likewise.
24112 * posix/setresuid.c: Likewise.
24113 * posix/setsid.c: Likewise.
24114 * posix/setuid.c: Likewise.
24115 * posix/sleep.c: Likewise.
24116 * posix/spawni.c: Likewise.
24117 * posix/sysconf.c: Likewise.
24118 * posix/times.c: Likewise.
24119 * posix/wait.c: Likewise.
24120 * posix/wait3.c: Likewise.
24121 * posix/wait4.c: Likewise.
24122 * posix/waitpid.c: Likewise.
24123 * resolv/gai_sigqueue.c: Likewise.
24124 * resource/getpriority.c: Likewise.
24125 * resource/getrlimit.c: Likewise.
24126 * resource/getrusage.c: Likewise.
24127 * resource/nice.c: Likewise.
24128 * resource/setpriority.c: Likewise.
24129 * resource/setrlimit.c: Likewise.
24130 * resource/ulimit.c: Likewise.
24131 * rt/aio_cancel.c: Likewise.
24132 * rt/aio_fsync.c: Likewise.
24133 * rt/aio_read.c: Likewise.
24134 * rt/aio_sigqueue.c: Likewise.
24135 * rt/aio_suspend.c: Likewise.
24136 * rt/aio_write.c: Likewise.
24137 * rt/clock_getres.c: Likewise.
24138 * rt/clock_gettime.c: Likewise.
24139 * rt/clock_nanosleep.c: Likewise.
24140 * rt/clock_settime.c: Likewise.
24141 * rt/lio_listio.c: Likewise.
24142 * rt/mq_close.c: Likewise.
24143 * rt/mq_getattr.c: Likewise.
24144 * rt/mq_notify.c: Likewise.
24145 * rt/mq_open.c: Likewise.
24146 * rt/mq_receive.c: Likewise.
24147 * rt/mq_send.c: Likewise.
24148 * rt/mq_setattr.c: Likewise.
24149 * rt/mq_timedreceive.c: Likewise.
24150 * rt/mq_timedsend.c: Likewise.
24151 * rt/mq_unlink.c: Likewise.
24152 * rt/shm_open.c: Likewise.
24153 * rt/shm_unlink.c: Likewise.
24154 * rt/timer_create.c: Likewise.
24155 * rt/timer_delete.c: Likewise.
24156 * rt/timer_getoverr.c: Likewise.
24157 * rt/timer_gettime.c: Likewise.
24158 * rt/timer_settime.c: Likewise.
24159 * setjmp/__longjmp.c: Likewise.
24160 * setjmp/setjmp.c: Likewise.
24161 * signal/kill.c: Likewise.
24162 * signal/killpg.c: Likewise.
24163 * signal/raise.c: Likewise.
24164 * signal/sigaction.c: Likewise.
24165 * signal/sigaltstack.c: Likewise.
24166 * signal/sigblock.c: Likewise.
24167 * signal/sigignore.c: Likewise.
24168 * signal/sigintr.c: Likewise.
24169 * signal/signal.c: Likewise.
24170 * signal/sigpause.c: Likewise.
24171 * signal/sigpending.c: Likewise.
24172 * signal/sigqueue.c: Likewise.
24173 * signal/sigreturn.c: Likewise.
24174 * signal/sigset.c: Likewise.
24175 * signal/sigsetmask.c: Likewise.
24176 * signal/sigstack.c: Likewise.
24177 * signal/sigsuspend.c: Likewise.
24178 * signal/sigtimedwait.c: Likewise.
24179 * signal/sigvec.c: Likewise.
24180 * signal/sigwait.c: Likewise.
24181 * signal/sigwaitinfo.c: Likewise.
24182 * signal/sysv_signal.c: Likewise.
24183 * socket/accept.c: Likewise.
24184 * socket/accept4.c: Likewise.
24185 * socket/bind.c: Likewise.
24186 * socket/connect.c: Likewise.
24187 * socket/getpeername.c: Likewise.
24188 * socket/getsockname.c: Likewise.
24189 * socket/getsockopt.c: Likewise.
24190 * socket/isfdtype.c: Likewise.
24191 * socket/listen.c: Likewise.
24192 * socket/recv.c: Likewise.
24193 * socket/recvfrom.c: Likewise.
24194 * socket/recvmsg.c: Likewise.
24195 * socket/send.c: Likewise.
24196 * socket/sendmsg.c: Likewise.
24197 * socket/sendto.c: Likewise.
24198 * socket/setsockopt.c: Likewise.
24199 * socket/shutdown.c: Likewise.
24200 * socket/sockatmark.c: Likewise.
24201 * socket/socket.c: Likewise.
24202 * socket/socketpair.c: Likewise.
24203 * stdio-common/ctermid.c: Likewise.
24204 * stdio-common/cuserid.c: Likewise.
24205 * stdio-common/remove.c: Likewise.
24206 * stdio-common/rename.c: Likewise.
24207 * stdio-common/renameat.c: Likewise.
24208 * stdio-common/tempname.c: Likewise.
24209 * stdlib/getcontext.c: Likewise.
24210 * stdlib/makecontext.c: Likewise.
24211 * stdlib/setcontext.c: Likewise.
24212 * stdlib/swapcontext.c: Likewise.
24213 * stdlib/system.c: Likewise.
24214 * streams/fattach.c: Likewise.
24215 * streams/fdetach.c: Likewise.
24216 * streams/getmsg.c: Likewise.
24217 * streams/getpmsg.c: Likewise.
24218 * streams/putmsg.c: Likewise.
24219 * streams/putpmsg.c: Likewise.
24220 * sysdeps/unix/bsd/getpt.c: Likewise.
24221 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24222 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24223 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24225 Likewise.
24226 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24227 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24228 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24229 * sysvipc/msgctl.c: Likewise.
24230 * sysvipc/msgget.c: Likewise.
24231 * sysvipc/msgrcv.c: Likewise.
24232 * sysvipc/msgsnd.c: Likewise.
24233 * sysvipc/semctl.c: Likewise.
24234 * sysvipc/semget.c: Likewise.
24235 * sysvipc/semop.c: Likewise.
24236 * sysvipc/semtimedop.c: Likewise.
24237 * sysvipc/shmat.c: Likewise.
24238 * sysvipc/shmctl.c: Likewise.
24239 * sysvipc/shmdt.c: Likewise.
24240 * sysvipc/shmget.c: Likewise.
24241 * termios/tcdrain.c: Likewise.
24242 * termios/tcflow.c: Likewise.
24243 * termios/tcflush.c: Likewise.
24244 * termios/tcgetattr.c: Likewise.
24245 * termios/tcgetpgrp.c: Likewise.
24246 * termios/tcsendbrk.c: Likewise.
24247 * termios/tcsetattr.c: Likewise.
24248 * termios/tcsetpgrp.c: Likewise.
24249 * time/adjtime.c: Likewise.
24250 * time/clock.c: Likewise.
24251 * time/getitimer.c: Likewise.
24252 * time/gettimeofday.c: Likewise.
24253 * time/setitimer.c: Likewise.
24254 * time/settimeofday.c: Likewise.
24255 * time/stime.c: Likewise.
24256 * time/time.c: Likewise.
24257
24258 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
24259
24260 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24261 /usr/old/bin.
24262
24263 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24264 instead of spaces.
24265 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24266
24267 2012-11-03 Joseph Myers <joseph@codesourcery.com>
24268
24269 [BZ #14796]
24270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24271 FE_TONEAREST before applying Dekker multiplication and Knuth
24272 addition. Clear inexact exceptions and check for exact zero
24273 results afterwards.
24274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24275 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24276 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24277 * math/libm-test.inc (fma_test): Add more tests.
24278 (fma_test_towardzero): Likewise.
24279 (fma_test_downward): Likewise.
24280 (fma_test_upward): Likewise.
24281 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24282 function.
24283 (libc_fesetround): New macro.
24284 (libc_fesetroundf): Likewise.
24285 (libc_fesetroundl): Likewise.
24286 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24287 function.
24288 (libc_fesetround_387): Likewise.
24289 (libc_fesetroundf): New macro.
24290 (libc_fesetround): Likewise.
24291 (libc_fesetroundl): Likewise.
24292 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24293 function.
24294 (libc_fesetroundf): New macro.
24295 (libc_fesetround): Likewise.
24296 (libc_fesetroundl): Likewise.
24297 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24298 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24299 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24300 libm_hidden_ver.
24301 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24302 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24303 libm_hidden_def.
24304 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24305 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24306 libm_hidden_ver.
24307 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24308 libm_hidden_def.
24309
24310 [BZ #3439]
24311 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24312 integer constant usable in #if and use that to give value to enum
24313 constant.
24314 (FE_DIVBYZERO): Likewise.
24315 (FE_UNDERFLOW): Likewise.
24316 (FE_OVERFLOW): Likewise.
24317 (FE_INVALID): Likewise.
24318 (FE_INVALID_SNAN): Likewise.
24319 (FE_INVALID_ISI): Likewise.
24320 (FE_INVALID_IDI): Likewise.
24321 (FE_INVALID_ZDZ): Likewise.
24322 (FE_INVALID_IMZ): Likewise.
24323 (FE_INVALID_COMPARE): Likewise.
24324 (FE_INVALID_SOFTWARE): Likewise.
24325 (FE_INVALID_SQRT): Likewise.
24326 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24327 (FE_TONEAREST): Likewise.
24328 (FE_TOWARDZERO): Likewise.
24329 (FE_UPWARD): Likewise.
24330 (FE_DOWNWARD): Likewise.
24331 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24332 (FE_DIVBYZERO): Likewise.
24333 (FE_OVERFLOW): Likewise.
24334 (FE_UNDERFLOW): Likewise.
24335 (FE_INEXACT): Likewise.
24336 (FE_TONEAREST): Likewise.
24337 (FE_DOWNWARD): Likewise.
24338 (FE_UPWARD): Likewise.
24339 (FE_TOWARDZERO): Likewise.
24340 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24341 (FE_UNDERFLOW): Likewise.
24342 (FE_OVERFLOW): Likewise.
24343 (FE_DIVBYZERO): Likewise.
24344 (FE_INVALID): Likewise.
24345 (FE_TONEAREST): Likewise.
24346 (FE_TOWARDZERO): Likewise.
24347 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24348 (FE_OVERFLOW): Likewise.
24349 (FE_UNDERFLOW): Likewise.
24350 (FE_DIVBYZERO): Likewise.
24351 (FE_INEXACT): Likewise.
24352 (FE_TONEAREST): Likewise.
24353 (FE_TOWARDZERO): Likewise.
24354 (FE_UPWARD): Likewise.
24355 (FE_DOWNWARD): Likewise.
24356 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24357 (FE_DIVBYZERO): Likewise.
24358 (FE_OVERFLOW): Likewise.
24359 (FE_UNDERFLOW): Likewise.
24360 (FE_INEXACT): Likewise.
24361 (FE_TONEAREST): Likewise.
24362 (FE_DOWNWARD): Likewise.
24363 (FE_UPWARD): Likewise.
24364 (FE_TOWARDZERO): Likewise.
24365
24366 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24367
24368 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24369
24370 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24371
24372 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24373 commands. Quote $PWD.
24374 (blacklist_exports): Don't use remove_newlines. Replace "declare
24375 -x" by "export".
24376 (remove_newlines): Remove.
24377
24378 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24379
24380 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24381 * stdlib/stdlib.h (atof): Moved to ...
24382 * include/bits/stdlib-float.h: Here. New file.
24383 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24384 * stdlib/bits/stdlib-float.h: New file.
24385 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24386 -mno-sse -mno-mmx.
24387 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24388 <xmmintrin.h>.
24389
24390 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24391
24392 * conform/conformtest.pl (@headers): Add fenv.h.
24393 * conform/data/fenv.h-data: New file.
24394 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24395 include of <math/fenv.h>.
24396
24397 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24398 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24399 && !UNIX98]. Enables tests for XOPEN2K8.
24400 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24401 POSIX2008]: Likewise.
24402
24403 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24404 (struct rusage): Do not expect type or its members.
24405
24406 [BZ #3439]
24407 * math/math.h (FP_NAN): Define macro to integer constant usable in
24408 #if and use that to give value to enum constant.
24409 (FP_INFINITE): Likewise.
24410 (FP_ZERO): Likewise.
24411 (FP_SUBNORMAL): Likewise.
24412 (FP_NORMAL): Likewise.
24413
24414 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24415
24416 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24417 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24418 arguments.
24419
24420 2012-11-02 Roland McGrath <roland@hack.frob.com>
24421
24422 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24423 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24424 autoconf-time if not.
24425 * configure.in: Remove AC_PREREQ.
24426
24427 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24428
24429 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24430 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24431 of the internal implementation.
24432
24433 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24434
24435 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24436 except include of <misc/sys/syslog.h>.
24437
24438 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24439
24440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24441 function returns with a NULL context exit with zero.
24442
24443 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24444
24445 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24446
24447 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24448
24449 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24450 (run_program_cmd): This.
24451 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24452 (tst_langinfo): New variable. Use it.
24453
24454 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24455
24456 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24457 floating point opcodes.
24458
24459 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24460
24461 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24462 variable.
24463
24464 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24465
24466 * sysdeps/mach/hurd/powerpc: Remove directory.
24467 * sysdeps/mach/powerpc: Likewise.
24468
24469 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24470
24471 * scripts/check-local-headers.sh: Ignore c++ headers.
24472
24473 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24474
24475 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24476 __libc_cleanup_region_start argument.
24477
24478 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24479
24480 [BZ #14784]
24481 [BZ #14785]
24482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24483 x * y using scaling, not as x * y + z.
24484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24486 * math/libm-test.inc (fma_test): Add more tests.
24487 (fma_test_towardzero): Likewise.
24488 (fma_test_downward): Likewise.
24489 (fma_test_upward): Likewise.
24490
24491 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24492
24493 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24494
24495 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24496
24497 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24498 New variable.
24499
24500 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24501
24502 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24503
24504 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24505
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24507 Fix sort order.
24508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24509 Likewise.
24510
24511 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24512
24513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24514 Fix the order of the list for glibc 2.17.
24515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24516 Likewise.
24517
24518 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24519
24520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24521
24522 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24523
24524 [BZ #14610]
24525 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24526 for low part of x being zero before using __atanl (y).
24527 * math/libm-test.inc (atan2_test): Add another test.
24528
24529 * manual/install.texi (Configuring and compiling): Document
24530 general use of test-wrapper and test-wrapper-env.
24531 * INSTALL: Regenerated.
24532
24533 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24534 (__fma): Do not extract and scale down low bits on after-rounding
24535 systems when result rounded to normal precision would have normal
24536 exponent.
24537 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24538 (__fmal): Do not extract and scale down low bits on after-rounding
24539 systems when result rounded to normal precision would have normal
24540 exponent.
24541 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24542 (__fmal): Do not extract and scale down low bits on after-rounding
24543 systems when result rounded to normal precision would have normal
24544 exponent.
24545 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24546 macro.
24547 (fma_test): Add more tests.
24548 (fma_test_towardzero): Likewise.
24549 (fma_test_downward): Likewise.
24550 (fma_test_upward): Likewise.
24551
24552 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24553
24554 * sysdeps/i386/tininess.h: Renamed to ...
24555 * sysdeps/x86/tininess.h: This.
24556 * sysdeps/x86_64/tininess.h: Removed.
24557
24558 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24559
24560 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24561 input. Use $(build-program-cmd).
24562 ($(objpfx)tst-array1-static.out): Likewise.
24563 ($(objpfx)tst-array2.out): Likewise.
24564 ($(objpfx)tst-array3.out): Likewise.
24565 ($(objpfx)tst-array4.out): Likewise.
24566 ($(objpfx)tst-array5.out): Likewise.
24567 ($(objpfx)tst-array5-static.out): Likewise.
24568
24569 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24570
24571 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24572 if defined.
24573
24574 * nss/nsswitch.h (nss_interface_function): Provide new
24575 macro for use with NSS functions.
24576 * grp/initgroups.c: Use new macro.
24577 * nss/getXXbyYY.c: Likewise.
24578 * nss/getXXbyYY_r.c: Likewise.
24579 * nss/getXXent.c: Likewise.
24580 * nss/getXXent_r.c: Likewise.
24581 * sysdeps/posix/getaddrinfo.c: Likewise.
24582
24583 2012-10-30 Andreas Jaeger <aj@suse.de>
24584
24585 * po/ru.po: Update Russion translation from translation project.
24586
24587 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24588
24589 [BZ #14152]
24590 [BZ #14783]
24591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24592 result and shift together with sticky bit instead of replicating
24593 round-to-nearest rounding.
24594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24595 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24596 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24597 missing underflow exceptions.
24598 (fma_test_towardzero): Add more tests.
24599 (fma_test_downward): Likewise.
24600 (fma_test_upward): Likewise.
24601
24602 [BZ #14047]
24603 * sysdeps/generic/tininess.h: New file.
24604 * sysdeps/i386/tininess.h: Likewise.
24605 * sysdeps/sh/tininess.h: Likewise.
24606 * sysdeps/x86_64/tininess.h: Likewise.
24607 * stdlib/tst-strtod-underflow.c: Likewise.
24608 * stdlib/tst-tininess.c: Likewise.
24609 * stdlib/strtod_l.c: Include <tininess.h>.
24610 (round_and_return): Do not set errno for exact underflow cases.
24611 Force an underflow exception when setting errno for underflow.
24612 Determine underflow based on rounding to normal precision if
24613 TININESS_AFTER_ROUNDING.
24614 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24615 ERANGE for exact underflow cases.
24616 * stdlib/Makefile (tests): Add tst-tininess and
24617 tst-strtod-underflow.
24618 ($(objpfx)tst-tininess): Use $(link-libm).
24619 ($(objpfx)tst-strtod-underflow): Likewise.
24620
24621 2012-10-30 Andreas Jaeger <aj@suse.de>
24622
24623 [BZ#14767]
24624 * elf/Makefile (tests): Remove conditional for have-initfini-array
24625 since this is now always required and the variable does not exist
24626 anymore.
24627 (tests-static): Likewise.
24628 (modules-names): Likewise.
24629
24630 * po/eo.po: Add Esperanto translation from translation project.
24631
24632 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24633 merged with constructor/destructor.
24634 (init_array): Likewise.
24635 * elf/tst-array2dep.c (fini_array): Likewise.
24636 (init_array): Likewise.
24637
24638 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24639
24640 * manual/message.texi: Delete @cartouche tags.
24641
24642 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24643
24644 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24645 EOPNOTSUPP.
24646 * sysdeps/mach/hurd/fsync.c: Likewise.
24647
24648 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24649 [_POSIX_REALTIME_SIGNALS]: Change condition to
24650 [_POSIX_REALTIME_SIGNALS > 0].
24651
24652 2012-10-27 Andreas Jaeger <aj@suse.de>
24653
24654 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24655 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24657 [__WORDSIZE != 64]: Likewise.
24658
24659 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24660
24661 * iconvdata/tst-table.sh: Remove ${SHELL}.
24662 * iconvdata/tst-tables.sh: Likewise.
24663
24664 2012-10-25 David S. Miller <davem@davemloft.net>
24665
24666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24667 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24668 of strtoull.
24669
24670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24671 ifunc-impl-list.c
24672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24673 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24674 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24675 file.
24676
24677 2012-10-25 Roland McGrath <roland@hack.frob.com>
24678
24679 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24680 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24681 __getdirentries.
24682
24683 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24684 Jim Blandy <jimb@codesourcery.com>
24685
24686 * scripts/cross-test-ssh.sh: New file.
24687 * manual/install.texi (Configuring and compiling): Document use of
24688 cross-test-ssh.sh.
24689 * INSTALL: Regenerated.
24690
24691 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24692
24693 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24694 EOPNOTSUPP.
24695
24696 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24697
24698 * Makeconfig (run-program-prefix): Fix comment.
24699
24700 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24701 Jim Blandy <jimb@codesourcery.com>
24702
24703 * Makeconfig (test-wrapper): New variable,
24704 (test-wrapper-env): Likewise.
24705 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24706 (run-built-tests): Define to yes.
24707 (run-program-prefix): Use $(test-wrapper).
24708 (built-program-cmd): Likewise.
24709 * Rules (make-test-out): Use $(test-wrapper-env) and
24710 $(host-built-program-cmd).
24711 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24712 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24713 tst-pathopt.sh.
24714 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24715 $(test-wrapper-env) to tst-rtld-load-self.sh.
24716 ($(objpfx)order2.out): Use $(test-wrapper).
24717 ($(objpfx)tst-initorder.out): Likewise.
24718 ($(objpfx)tst-initorder2.out): Likewise.
24719 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24720 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24721 (test_wrapper_env): New variable. Use it to run ld.so.
24722 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24723 Use it to run ld.so.
24724 (test_wrapper_env): Likewise.
24725 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24726 $(test-wrapper) to run-iconv-test.sh.
24727 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24728 (ICONV): Use $test_wrapper.
24729 * posix/Makefile ($(objpfx)globtest.out): Pass
24730 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24731 globtest.sh, not $(run-program-prefix).
24732 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24733 (test_wrapper): Likewise.
24734 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24735 set together with run_via_rtld_prefix.
24736 (run_program_prefix): Define in terms of test_wrapper and
24737 run_via_rtld_prefix.
24738
24739 2012-10-24 Roland McGrath <roland@hack.frob.com>
24740
24741 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24742 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24743 Targets removed.
24744
24745 [BZ #14743]
24746 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24747 Declare __clock_getres, __clock_gettime, __clock_settime,
24748 __clock_nanosleep, and __clock_getcpuclockid.
24749 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24750 Remove librt_hidden_def (clock_gettime).
24751 * sysdeps/unix/clock_gettime.c: Likewise.
24752 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24753 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24754 * rt/clock_getres.c: Define __clock_getres as an alias.
24755 * sysdeps/posix/clock_getres.c: Likewise.
24756 * rt/clock_settime.c: Define __clock_settime as an alias.
24757 * sysdeps/unix/clock_settime.c: Likewise.
24758 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24759 * sysdeps/unix/clock_nanosleep.c: Likewise.
24760 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24761 * rt/clock-compat.c: New file.
24762 * rt/Makefile (librt-routines): Add clock-compat and move
24763 $(clock-routines) to ...
24764 (routines): ... here, new variable.
24765 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24766 Don't add get_clockfreq here.
24767 * rt/Versions (libc: GLIBC_2.17): New version set.
24768 Add clock_* symbols here.
24769 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24770 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24771 (GLIBC_2.17): Add clock_* symbols.
24772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24776 Likewise.
24777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24778 Likewise.
24779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24783 * NEWS: Mention the move.
24784
24785 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24786 Use __open, __read, __close rather than their public counterparts.
24787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24788 (__get_clockfreq_via_cpuinfo): Likewise.
24789 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24790 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24791
24792 * config.h.in (HAVE_IFUNC): New #undef.
24793 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24794 was successful.
24795 * configure: Regenerated.
24796
24797 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24798
24799 * configure.in: Move READELF check to start of file.
24800 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24801 libc_cv_asm_gnu_indirect_function in the process.
24802 * configure: Regenerated.
24803
24804 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24805
24806 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24807 send the output to /dev/null.
24808 (libc_cv_cc_with_libunwind): Likewise.
24809 (libc_cv_as_noexecstack): Likewise.
24810 * configure: Regenerate.
24811
24812 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24813
24814 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24815
24816 * posix/globtest.sh (TMPDIR): Do not set.
24817 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24818 (testout): Likewise.
24819
24820 2012-10-24 Andreas Jaeger <aj@suse.de>
24821
24822 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24823 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24824 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24825 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24826 posix_fadvise64, posix_fallocate64.
24827
24828 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24829 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24830 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24831 Likewise.
24832 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24833 Likewise.
24834 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24835
24836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24837 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24838 <bits/fcntl-linux.h>.
24839 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24840
24841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24842 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24843 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24844 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24845 [__WORDSIZE != 64]: Likewise.
24846
24847 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24848
24849 * Makeconfig (run-built-tests): New variable.
24850 * Rules [$(cross-compiling) = yes]: Change condition to
24851 [$(run-built-tests) = no].
24852 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24853 to [$(run-built-tests) = yes].
24854 * elf/Makefile [$(cross-compiling) = no]: Likewise
24855 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24856 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24857 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24858 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24859 * io/Makefile [$(cross-compiling) = no]: Likewise.
24860 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24861 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24862 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24863 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24864 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24865 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24866 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24867 * string/Makefile [$(cross-compiling) = no]: Likewise.
24868
24869 * posix/Makefile ($(objpfx)globtest.out): Pass
24870 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24871 $(rtld-installed-name).
24872 * posix/globtest.sh (elf_objpfx): Remove variable.
24873 (rtld_installed_name): Likewise.
24874 (library_path): Likewise.
24875 (run_program_prefix): New variable. Use for running globtest
24876 binary.
24877
24878 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24879 Joseph Myers <joseph@codesourcery.com>
24880
24881 * Makeconfig (host-built-program-cmd): New variable.
24882 * elf/Makefile (tst-stackguard1-ARGS): Use
24883 $(host-built-program-cmd).
24884 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24885 (tst-spawn-ARGS): Likewise.
24886 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24887
24888 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24889 Jim Blandy <jimb@codesourcery.com>
24890
24891 * Makeconfig (run-via-rtld-prefix): New variable.
24892 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24893 (built-program-cmd): Likewise.
24894
24895 2012-10-22 Andreas Jaeger <aj@suse.de>
24896
24897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24898 __O_RSYNC if it exists, otherwise to O_SYNC.
24899
24900 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24901 Joseph Myers <joseph@codesourcery.com>
24902
24903 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24904 /dev/null.
24905 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24906 from /dev/null
24907 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24908 /dev/null.
24909
24910 2012-10-22 Andreas Jaeger <aj@suse.de>
24911
24912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24913 Define always.
24914 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24915
24916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24917 bits/fcntl-linux.h.
24918
24919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24920 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24921
24922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24923 to __O_LARGEFILE.
24924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24925 to __O_LARGEFILE.
24926
24927 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24928 Joseph Myers <joseph@codesourcery.com>
24929
24930 * config.make.in (NM): New variable.
24931
24932 2012-10-21 Andreas Jaeger <aj@suse.de>
24933
24934 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24935 definitions and declarations that are provided by
24936 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24937
24938 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24939
24940 [BZ #14683]
24941 * elf/Makefile (tests-static): Add tst-leaks1-static.
24942 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24943 ($(objpfx)tst-leaks1-static): New rule.
24944 ($(objpfx)tst-leaks1-static-mem): Likewise.
24945 (tst-leaks1-static-ENV): New macro.
24946 * elf/dl-open.c (dl_open_worker): Check the main application
24947 only if SHARED is defined.
24948 * elf/tst-leaks1-static.c: New file.
24949
24950 2012-10-20 Andreas Jaeger <aj@suse.de>
24951
24952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24953 generic values for Linux.
24954 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24955 and declarations that are provided by <bits/fcntl-linux.h> and
24956 include <bits/fcntl-linux.h>.
24957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24959
24960 2012-10-20 Roland McGrath <roland@hack.frob.com>
24961
24962 * io/fcntl.h: Move include of <bits/types.h> to the top and
24963 include it unconditionally.
24964
24965 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24966
24967 * wcsmbs/Makefile (tests-ifunc): New variable.
24968 (tests): Add $(tests-ifunc).
24969 * wcsmbs/test-wcschr-ifunc.c: New file.
24970 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24971 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24972 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24973 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24974 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24975
24976 * string/Makefile (tests-ifunc): New variable.
24977 (tests): Add $(tests-ifunc).
24978 * string/test-memccpy.c (TEST_NAME): New macro.
24979 * string/test-memchr.c (TEST_NAME): Likewise.
24980 * string/test-memcmp.c (TEST_NAME): Likewise.
24981 * string/test-memcpy.c (TEST_NAME): Likewise.
24982 * string/test-memmem.c (TEST_NAME): Likewise.
24983 * string/test-memmove.c (TEST_NAME): Likewise.
24984 * string/test-memset.c (TEST_NAME): Likewise.
24985 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24986 * string/test-stpcpy.c (TEST_NAME): Likewise.
24987 * string/test-stpncpy.c (TEST_NAME): Likewise.
24988 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24989 * string/test-strcasestr.c (TEST_NAME): Likewise.
24990 * string/test-strcat.c (TEST_NAME): Likewise.
24991 * string/test-strchr.c (TEST_NAME): Likewise.
24992 * string/test-strcmp.c(TEST_NAME): Likewise.
24993 * string/test-strcpy.c (TEST_NAME): Likewise.
24994 * string/test-strcspn.c (TEST_NAME): Likewise.
24995 * string/test-strlen.c (TEST_NAME): Likewise.
24996 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24997 * string/test-strncmp.c (TEST_NAME): Likewise.
24998 * string/test-strncpy.c (TEST_NAME): Likewise.
24999 * string/test-strnlen.c (TEST_NAME): Likewise.
25000 * string/test-strpbrk.c (TEST_NAME): Likewise.
25001 * string/test-strrchr.c (TEST_NAME): Likewise.
25002 * string/test-strspn.c (TEST_NAME): Likewise.
25003 * string/test-strstr.c (TEST_NAME): Likewise.
25004 * string/test-bcopy-ifunc.c: New file.
25005 * string/test-bzero-ifunc.c: Likewise.
25006 * string/test-memccpy-ifunc.c: Likewise.
25007 * string/test-memchr-ifunc.c: Likewise.
25008 * string/test-memcmp-ifunc.c: Likewise.
25009 * string/test-memcpy-ifunc.c: Likewise.
25010 * string/test-memmem-ifunc.c: Likewise.
25011 * string/test-memmove-ifunc.c: Likewise.
25012 * string/test-mempcpy-ifunc.c: Likewise.
25013 * string/test-memset-ifunc.c: Likewise.
25014 * string/test-rawmemchr-ifunc.c: Likewise.
25015 * string/test-stpcpy-ifunc.c: Likewise.
25016 * string/test-stpncpy-ifunc.c: Likewise.
25017 * string/test-strcasecmp-ifunc.c: Likewise.
25018 * string/test-strcasestr-ifunc.c: Likewise.
25019 * string/test-strcat-ifunc.c: Likewise.
25020 * string/test-strchr-ifunc.c: Likewise.
25021 * string/test-strchrnul-ifunc.c: Likewise.
25022 * string/test-strcmp-ifunc.c: Likewise.
25023 * string/test-strcpy-ifunc.c: Likewise.
25024 * string/test-strcspn-ifunc.c: Likewise.
25025 * string/test-strlen-ifunc.c: Likewise.
25026 * string/test-strncasecmp-ifunc.c: Likewise.
25027 * string/test-strncat-ifunc.c: Likewise.
25028 * string/test-strncmp-ifunc.c: Likewise.
25029 * string/test-strncpy-ifunc.c: Likewise.
25030 * string/test-strnlen-ifunc.c: Likewise.
25031 * string/test-strpbrk-ifunc.c: Likewise.
25032 * string/test-strrchr-ifunc.c: Likewise.
25033 * string/test-strspn-ifunc.c: Likewise.
25034 * string/test-strstr-ifunc.c: Likewise.
25035
25036 * debug/Makefile (tests-ifunc): New variable.
25037 (tests): Add $(tests-ifunc).
25038 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25039 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25040 * debug/test-stpcpy_chk-ifunc.c: New file.
25041 * debug/test-strcpy_chk-ifunc.c: Likewise.
25042
25043 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25044
25045 [BZ #13601]
25046 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25047 header is not read in.
25048
25049 2012-10-19 Joseph Myers <joseph@codesourcery.com>
25050
25051 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25052 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25053 directly. Pass built executable to script as
25054 $(built-program-cmd).
25055 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25056 $testprogram without using LD_LIBRARY_PATH and $ldso.
25057
25058 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25059 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25060 $(rtld-installed-name).
25061 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25062 (rtld_installed_name): Likewise.
25063 (library_path): Likewise.
25064 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25065 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25066 $(run-program-prefix) to tst-tables.sh.
25067 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25068 it to run tst-table-from and tst-table-to.
25069 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25070 Pass it to tst-table.sh.
25071 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25072 $(run-program-prefix) to tst-gettext.sh.
25073 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25074 tst-translit.sh.
25075 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25076 tst-gettext2.sh.
25077 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25078 to run tst-gettext.
25079 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25080 to run tst-gettext2.
25081 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25082 to run tst-translit.
25083 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25084 $(run-program-prefix) to tst-mtrace.sh.
25085 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25086 to run tst-mtrace.
25087 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25088 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25089 $(rtld-installed-name).
25090 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25091 (rtld_installed_name): Likewise.
25092 (run_program_prefix): New variable. Use it to run wordexp-test.
25093
25094 * Makeconfig (ARCH): Remove all definitions.
25095 (machine): Likewise.
25096 [ARCH]: Remove conditional code.
25097 [!objdir]: Give error.
25098 [!objdir] (objpfx): Remove.
25099 [!objdir] (common-objpfx): Likewise.
25100 [!objdir] (common-objdir): Likewise.
25101 * configure.in (config_makefile): Remove. Hardcode Makefile in
25102 AC_CONFIG_FILES call.
25103 * configure: Regenerated.
25104
25105 [BZ #13888]
25106 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25107 or TMPDIR.
25108 (testout): Likewise.
25109
25110 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25111 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25112 $(rtld-installed-name).
25113 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25114 (rtld_installed_name): Likwise.
25115 (runit): Remove function.
25116 (run_getconf): New variable, Use it for running getconf binary.
25117
25118 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25119
25120 [BZ #14716]
25121 * string/test-memmem.c (check_result): New function.
25122 (do_one_test): Use it.
25123 (check1): New function.
25124 (test_main): Use it.
25125
25126 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25127
25128 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25129
25130 2012-10-18 Joseph Myers <joseph@codesourcery.com>
25131
25132 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25133 (_G_LSEEK64): Likewise.
25134 (_G_MMAP64): Likewise.
25135 (_G_FSTAT64): Likewise.
25136 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25137 (_G_LSEEK64): Likewise.
25138 (_G_MMAP64): Likewise.
25139 (_G_FSTAT64): Likewise.
25140 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25141 unconditional. Call __mmap64 directly.
25142 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25143 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25144 __lseek64 directly.
25145 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25146 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25147 __mmap64 directly.
25148 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25149 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25150 __lseek64 directly.
25151 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25152 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25153 __lseek64 directly.
25154 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25155 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25156 __lseek64 directly.
25157 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25158 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25159 __fxstat64 directly.
25160 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25161 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25162 unconditional.
25163 (freopen64) [!_G_OPEN64]: Remove conditional code.
25164 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25165 unconditional.
25166 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25167 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25168 unconditional.
25169 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25170 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25171 unconditional.
25172 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25173 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25174 unconditional.
25175 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25176 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25177 unconditional.
25178 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25179 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25180 unconditional.
25181 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25182 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25183 unconditional.
25184 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25185
25186 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25187
25188 [BZ #12140]
25189 * manual/memory.texi (Malloc Tunable Parameters): Add note
25190 about free list pointers overwriting some perturb bytes.
25191 Wording suggested by Roland McGrath.
25192
25193 2012-10-17 Joseph Myers <joseph@codesourcery.com>
25194
25195 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25196 (lgamma_test): Likewise.
25197 (tgamma_test): Likewise.
25198
25199 2012-10-16 Florian Weimer <fweimer@redhat.com>
25200
25201 [BZ #14700]
25202 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25203 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25204
25205 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25206
25207 * NEWS: Mention BZ #14716.
25208 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25209 when removing AVAILABLE1_USES_J macro.
25210
25211 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25212
25213 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25214 (__bswap_64): __uint64_t for unsigned 64-bit int.
25215
25216 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25217
25218 * include/string.h (memmem): Declare libc hidden alias.
25219 * string/memmem.c (memmem): Define libc hidden alias.
25220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25221 __read, __close instead of open, read, close.
25222
25223 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25224
25225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25226 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25227 global and hidden.
25228 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25229 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25230 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25231 Likewise.
25232 (__rawmemchr_sse2): Likewise.
25233 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25234 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25235 (__strchr_sse2): Likewise.
25236 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25237 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25238 (__strcasecmp_sse2): Likewise.
25239 (__strncasecmp_sse2): Likewise.
25240 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25241 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25242 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25243 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25244 (__strrchr_sse2): Likewise.
25245 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25246 ifunc-impl-list.c.
25247 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25248 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25249 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25250 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25251 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25252 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25253 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25254 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25255 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25256 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25257 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25258 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25259 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25260 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25261 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25262 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25263 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25264 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25265 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25266 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25267 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25268 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25269 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25270 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25271 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25272 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25273 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25274 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25275 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25276 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25277
25278 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25279 global and hidden.
25280 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25281 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25282 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25283 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25284 Likewise.
25285 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25286 Likewise.
25287 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25288 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25289 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25290 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25291 ifunc-impl-list.c.
25292 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25293 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25294 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25295 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25296 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25297 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25298 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25299 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25300 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25301 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25302 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25303 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25304 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25305 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25306 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25308 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25309 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25310 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25311 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25312 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25313 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25314 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25315 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25316 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25317 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25318 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25319 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25320 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25321 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25322 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25323 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25324 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25325 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25326 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25327 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25328 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25329 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25330 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25331 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25332 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25333
25334 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25335 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25336 * include/ifunc-impl-list.h: New file.
25337 * misc/ifunc-impl-list.c: Likewise.
25338 * misc/Makefile (routines): Add ifunc-impl-list.
25339 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25340 * string/test-string.h: Include <ifunc-impl-list.h>.
25341 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25342 TEST_NAME]: New variables.
25343 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25344 are defined.
25345 (test_init): Call __libc_ifunc_impl_list to initialize
25346 func_list if TEST_IFUNC and TEST_NAME are defined.
25347
25348 * string/Makefile (strop-tests): Add bcopy and bzero.
25349 * string/test-bcopy.c: New file.
25350 * string/test-bzero.c: Likewise.
25351 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25352 defined.
25353 * string/test-memset.c: Support bzero test if TEST_BZERO is
25354 defined.
25355 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25356 __libc_memmove.
25357 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25358 __libc_memset.
25359 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25360 of memset.
25361
25362 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25363
25364 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25365 * configure: Regenerated.
25366
25367 * Makeconfig (+link-static-before-libc): Don't include
25368 $(link-static-libc).
25369
25370 * libio/libio.h (_IO_pos_t): Remove.
25371
25372 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25373
25374 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25375 McGrath.
25376
25377 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25378
25379 * crypt/crypt-entry.c: Include fips-private.h.
25380 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25381 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25382 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25383 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25384
25385 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25386
25387 * crypt/crypt-private.h: Include stdbool.h.
25388 (_ufc_setup_salt_r): Return bool.
25389 * crypt/crypt-entry.c: Include errno.h.
25390 (__crypt_r): Return NULL with EINVAL for bad salt.
25391 * crypt/crypt_util.c (bad_for_salt): New.
25392 (_ufc_setup_salt_r): Check that salt is long enough and within
25393 the specified alphabet.
25394 * crypt/badsalttest.c: New file.
25395 * crypt/Makefile (tests): Add it.
25396 ($(objpfx)badsalttest): New.
25397
25398 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25399
25400 * NEWS: Add entry for BZ #14602.
25401
25402 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25403
25404 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25405 type-generic.
25406 * math/libm-test.inc: Update comment listing what functions and
25407 macros are tested.
25408 (isgreater_test): New function.
25409 (isgreaterequal_test): Likewise.
25410 (isless_test): Likewise.
25411 (islessequal_test): Likewise.
25412 (islessgreater_test): Likewise.
25413 (isunordered_test): Likewise.
25414 (main): Call the new functions.
25415
25416 2012-10-09 Roland McGrath <roland@hack.frob.com>
25417
25418 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25419 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25420 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25421 * sysdeps/i386/configure: Regenerated.
25422 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25423 * sysdeps/mach/configure: Regenerated.
25424 * sysdeps/mach/hurd/configure: Regenerated.
25425 * sysdeps/powerpc/configure: Regenerated.
25426 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25427 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25428 * sysdeps/s390/s390-32/configure: Regenerated.
25429 * sysdeps/s390/s390-64/configure: Regenerated.
25430 * sysdeps/sh/configure: Regenerated.
25431 * sysdeps/sparc/configure: Regenerated.
25432 * sysdeps/unix/sysv/linux/configure: Regenerated.
25433 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25434 * sysdeps/x86_64/configure: Regenerated.
25435
25436 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25437 defined. Don't check if MAP is NULL.
25438
25439 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25440
25441 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25442 (_G_stat64): Likewise.
25443 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25444 (_G_stat64): Likewise.
25445 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25446 instead of struct _G_stat64.
25447 * libio/fileops.c (mmap_remap_check): Likewise.
25448 (decide_maybe_mmap): Likewise.
25449 (_IO_new_file_seekoff): Likewise.
25450 (_IO_file_stat): Likewise.
25451 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25452 _G_off64_t.
25453 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25454 instead of struct _G_stat64.
25455 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25456
25457 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25458
25459 [BZ #14602]
25460 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25461 Replace with ...
25462 (CHECK_EOL): New macro.
25463 (two_way_short_needle): Check beginning of haystack for EOL. Use
25464 CHECK_EOL.
25465 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25466 Replace with CHECK_EOL.
25467 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25468 Replace with CHECK_EOL.
25469
25470 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25471
25472 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25473 type-generic.
25474 * math/libm-test.inc: Update comment listing what functions and
25475 macros are tested.
25476 (finite_test): New function.
25477 (isinf_test): Likewise.
25478 (isnan_test): Likewise.
25479 (fpclassify_test): Test subnormal input.
25480 (isfinite_test): Likewise.
25481 (isnormal_test): Likewise.
25482 (main): Call the new functions.
25483
25484 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25485
25486 [BZ #14660]
25487 * Makerules (%.dynsym): Force C locale when running
25488 $(OBJDUMP) --dynamic-syms.
25489
25490 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25491
25492 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25493 <stdint.h>.
25494
25495 2012-10-06 David S. Miller <davem@davemloft.net>
25496
25497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25498 upper 32-bits of the length value in %o2 since we use branch-on-register
25499 tests which consider the entire 64-bit register.
25500
25501 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25502
25503 * string/test-strstr.c (check2): Add a test for page boundary.
25504
25505 2012-10-05 David S. Miller <davem@davemloft.net>
25506
25507 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25508 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25509 file.
25510 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25511 sysdep_routines.
25512 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25513 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25514 and bzero when HWCAP_SPARC_CRYPTO is present.
25515
25516 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25517
25518 [BZ #14602]
25519 * string/test-strstr.c (check2): New function.
25520 (test_main): Call check2.
25521
25522 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25523 and bug-strchr1.
25524 * string/bug-strcasestr1.c (do_test): Moved to ...
25525 * string/test-strcasestr.c (check1): Here. New function.
25526 (do_one_test): Break out result checking code into ...
25527 (check_result): This. New function.
25528 (do_one_test): Call check_result.
25529 (test_main): Call check1.
25530 * string/bug-strchr1.c (do_test): Moved to ...
25531 * string/test-strchr.c (check1): Here. New function.
25532 (do_one_test): Break out result checking code into ...
25533 (check_result): This. New function.
25534 (do_one_test): Call check_result.
25535 (test_main): Call check1.
25536 * string/bug-strstr1.c (main): Moved to ...
25537 * string/test-strstr.c (check1): Here. New function.
25538 (do_one_test): Break out result checking code into ...
25539 (check_result): This. New function.
25540 (do_one_test): Call check_result.
25541 (test_main): Call check1.
25542 * string/bug-strcasestr1.c: Removed.
25543 * string/bug-strchr1.c: Likewise.
25544 * string/bug-strstr1.c: Likewise.
25545
25546 * elf/Makefile (dl-routines): Add hwcaps.
25547 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25548 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25549 (_dl_important_hwcaps): Moved to ...
25550 * elf/dl-hwcaps.c: Here. New file.
25551 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25552
25553 [BZ #14557]
25554 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25555 if IS_IN_rtld isn't defined.
25556
25557 * elf/dl-support.c (_dl_sysinfo_map): New.
25558 Include "get-dynamic-info.h" and "setup-vdso.h".
25559 (_dl_non_dynamic_init): Call setup_vdso.
25560 * elf/dynamic-link.h: Don't include <assert.h>.
25561 (elf_get_dynamic_info): Moved to ...
25562 * elf/get-dynamic-info.h: Here. New file.
25563 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25564 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25565 * elf/setup-vdso.h: Here. New file.
25566 * elf/rtld.c: Include "setup-vdso.h".
25567 (dl_main): Call setup_vdso.
25568
25569 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25570
25571 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25572 creal in comment listing functions tested. List finite, isinf,
25573 isnan, isless, islessequal, isgreater, isgreaterequal,
25574 islessgreater, isunordered, lgamma_r and pow10 as functions and
25575 macros not tested. Mention which functions not tested are aliases
25576 for other functions. Fix typo. Note that signs of NaNs are not
25577 tested.
25578
25579 * scripts/config.guess: Update from config.git.
25580 * scripts/config.sub: Likewise.
25581
25582 2012-10-04 Roland McGrath <roland@hack.frob.com>
25583
25584 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25585 * misc/madvise.c (madvise): Renamed to __madvise.
25586 Make madvise a weak alias.
25587 * include/sys/mman.h: Declare __madvise.
25588 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25589 * sysdeps/unix/syscalls.list
25590 (madvise): Make __madvise the strong name, and madvise a weak alias.
25591 * sysdeps/unix/sysv/linux/syscalls.list
25592 (madvise, mmap): Remove redundant entries.
25593 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25594 * malloc/malloc.c (mtrim): Likewise.
25595 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25596
25597 2012-10-03 Roland McGrath <roland@hack.frob.com>
25598
25599 * sysdeps/mach/hurd/dl-cache.c: File removed.
25600 * config.h.in (USE_LDCONFIG): New #undef.
25601 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25602 * configure: Regenerated.
25603 * elf/Makefile (dl-routines): Add dl-cache only under
25604 [$(use-ldconfig) = yes].
25605 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25606 cache on [USE_LDCONFIG].
25607 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25608 [USE_LDCONFIG].
25609 * elf/rtld.c (dl_main): Likewise.
25610
25611 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25612
25613 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25614 _SC_LEVEL4_CACHE_LINESIZE.
25615
25616 2012-10-03 Roland McGrath <roland@hack.frob.com>
25617
25618 * sysdeps/unix/bsd/confstr.h: File removed.
25619
25620 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25621
25622 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25623 sys/sdt-config.h.
25624
25625 2012-10-02 Roland McGrath <roland@hack.frob.com>
25626
25627 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25628 Make 'mapoff' field ElfW(Off) rather than off_t.
25629
25630 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25631
25632 * nscd/Makefile: Remove nscd-cflags and all its users.
25633 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25634 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25635
25636 [BZ #10631]
25637 * malloc.c (malloc_printerr): Clarify error message.
25638
25639 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25640
25641 [BZ #14648]
25642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25643 Set bit_FMA_Usable if FMA is supported.
25644 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25645 macro.
25646 (bit_FMA4_Usable): Updated.
25647 (index_FMA_Usable): New macro.
25648 (CPUID_FMA): Likewise
25649 (HAS_FMA): Defined with bit_FMA_Usable.
25650
25651 2012-10-01 Roland McGrath <roland@hack.frob.com>
25652
25653 * bits/types.h (__swblk_t): Type removed.
25654 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25655 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25657 (__SWBLK_T_TYPE): Likewise.
25658 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25659 (__SWBLK_T_TYPE): Likewise.
25660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25661 (__SWBLK_T_TYPE): Likewise.
25662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25663 (__SWBLK_T_TYPE): Likewise.
25664
25665 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25666 Honza Horak <hhorak@redhat.com>
25667
25668 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25669 (xdr_mapname): Use YPMAXMAP as maxsize.
25670 (xdr_peername): Use YPMAXPEER as maxsize.
25671 (xdr_keydat): Use YPAXRECORD as maxsize.
25672 (xdr_valdat): Use YPMAXRECORD as maxsize.
25673
25674 2012-10-01 Roland McGrath <roland@hack.frob.com>
25675
25676 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25677
25678 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25679 * csu/init-first.c: ... here.
25680 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25681 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25682 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25683 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25684 * sysdeps/i386/init-first.c: File removed.
25685 * sysdeps/sh/init-first.c: File removed.
25686
25687 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25688
25689 [BZ #14645]
25690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25691 if x * y might underflow to zero and z is zero.
25692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25693 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25694 * math/libm-test.inc (min_subnorm_value): New variable.
25695 (fma_test): Add more tests.
25696 (fma_test_towardzero): Likewise.
25697 (fma_test_downward): Likewise
25698 (fma_test_upward): Likewise.
25699 (initialize): Set min_subnorm_value.
25700
25701 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25702
25703 [BZ #14638]
25704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25705 0 + 0.
25706 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25707 mode for addition resulting in exact zero.
25708 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25710 exact 0 + 0.
25711 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25713 * math/libm-test.inc (fma_test): Add more tests.
25714 (fma_test_towardzero): New function.
25715 (fma_test_downward): Likewise.
25716 (fma_test_upward): Likewise.
25717 (main): Call the new functions.
25718
25719 2012-09-28 David S. Miller <davem@davemloft.net>
25720
25721 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25722
25723 2012-09-28 Roland McGrath <roland@hack.frob.com>
25724
25725 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25726 instead of SIGALRM.
25727
25728 * sysdeps/gnu/_G_config.h: Moved to ...
25729 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25730 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25731 * sysdeps/generic/_G_config.h: ... here.
25732
25733 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25734
25735 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25736
25737 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25738 Conditionalize target on [libnss_test1.so-version].
25739
25740 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25741
25742 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25743 (elfobjdir): Move out of conditionals.
25744
25745 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25746 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25747 (__nss_lookup_function): Conditionalize label remove_from_tree on
25748 [!DO_STATIC_NSS || SHARED], matching its only use.
25749
25750 2012-09-28 David S. Miller <davem@davemloft.net>
25751
25752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25753 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25754 file.
25755 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25756 sysdep_routines.
25757 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25759 when HWCAP_SPARC_CRYPTO is present.
25760
25761 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25762
25763 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25764
25765 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25766
25767 [BZ #6530]
25768 * stdio-common/vfprintf.c (process_string_arg): Revert
25769 2000-07-22 change.
25770
25771 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25772
25773 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25774 for testcase.
25775 * stdio-common/tst-sprintf.c: Include <locale.h>
25776 (main): Test sprintf's handling of incomplete multibyte
25777 characters.
25778
25779 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25780
25781 * elf/dl-runtime.c (VERSYMIDX): Removed.
25782 * elf/dl-version.c (VERSYMIDX): Likewise.
25783 * elf/do-rel.h (VERSYMIDX): Likewise.
25784 (VALIDX): Likewise.
25785 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25786 * elf/rtld.c (VALIDX): Likewise.
25787 (ADDRIDX): Likewise.
25788 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25789 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25790 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25791 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25792 (VALIDX): Likewise.
25793 (ADDRIDX): Likewise.
25794
25795 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25796
25797 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25798
25799 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25800
25801 [BZ #11438]
25802 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25803 to global scope.
25804 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25805 addresses are in the same scope as 192.0.2/24.
25806 * posix/gai.conf: Document new scope table defaults.
25807
25808 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25809
25810 [BZ #5298]
25811 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25812 for ftell. Compute offsets from write pointers instead.
25813 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25814
25815 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25816
25817 [BZ #14543]
25818 * libio/Makefile (tests): New test case tst-fseek.
25819 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25820 combination works in wide mode.
25821 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25822 state when the external buffer state changes.
25823
25824 2012-09-27 David S. Miller <davem@davemloft.net>
25825
25826 [BZ #14376]
25827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25828 pass reloc->r_addend in as the 'high' argument to
25829 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25830
25831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25832
25833 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25834
25835 * rt/tst-aio2.c: Include <pthread.h>.
25836 * rt/tst-aio3.c: Likewise.
25837
25838 2012-09-27 Steve Ellcey <sellcey@mips.com>
25839
25840 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25841
25842 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25843
25844 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25845 contents on [SHARED].
25846
25847 2012-09-26 Marek Polacek <polacek@redhat.com>
25848
25849 [BZ #14530]
25850 [BZ #13741]
25851 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25852 for C++ and GCC <4.3 as well as for non GCC compilers.
25853
25854 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25855
25856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25857
25858 2012-09-25 Roland McGrath <roland@hack.frob.com>
25859
25860 * Makefile.in (all, install): Declare with .PHONY.
25861 Reported by Michael Hope <michael.hope@linaro.org>.
25862
25863 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25864
25865 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25866 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25867 system header.
25868 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25869 Likewise.
25870 (sydep_routines): Add the new and the internal functions.
25871 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25872 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25874 (GLIBC_2.17): Add the new function.
25875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25876 (GLIBC_2.17): Likewise.
25877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25878 (GLIBC_2.17): Likewise.
25879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25880 (GLIBC_2.17): Likewise.
25881 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25882
25883 2012-09-25 Alan Modra <amodra@gmail.com>
25884
25885 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25886 Add release barrier before setting once_control to say
25887 initialisation is done. Add hints on lwarx. Use macro in
25888 place of isync.
25889 (clear_once_control): Add release barrier.
25890
25891 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25892
25893 [BZ #13629]
25894 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25895 specially.
25896 * math/s_clog10.c (__clog10): Likewise.
25897 * math/s_clog10f.c (__clog10f): Likewise.
25898 * math/s_clog10l.c (__clog10l): Likewise.
25899 * math/s_clogf.c (__clogf): Likewise.
25900 * math/s_clogl.c (__clogl): Likewise.
25901 * math/Makefile (libm-calls): Add x2y2m1.
25902 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25903 (__x2y2m1): Likewise.
25904 (__x2y2m1l): Likewise.
25905 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25906 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25909 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25910 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25911 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25912 * sysdeps/i386/fpu/libm-test-ulps: Update.
25913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25914
25915 [BZ #14621]
25916 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25917 int as type of variable DEPTH.
25918 (glob): Use size_t instead of int as type of variables NEWCOUNT
25919 and OLD_PATHC.
25920
25921 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25922
25923 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25924 Add s_sincosf-sse2.
25925 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25926 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25927 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25928 macros for using routine as __sincosf_ia32.
25929 Use macro for function declaration and weak_alias.
25930 * sysdeps/i386/fpu/libm-test-ulps: Update.
25931
25932 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25934
25935 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25936 subnormal argument.
25937 * math/s_cexpf.c (__cexpf): Likewise.
25938 * math/s_csinf.c (__csinf): Likewise.
25939 * math/s_csinhf.c (__csinhf): Likewise.
25940 * math/s_ctanf.c (__ctanf): Likewise.
25941 * math/s_ctanhf.c (__ctanhf): Likewise.
25942 * math/s_ccosh.c (__ccoshf): Likewise.
25943 * math/s_cexp.c (__cexpl): Likewise.
25944 * math/s_csin.c (__csin): Likewise.
25945 * math/s_csinh.c (__csinh): Likewise.
25946 * math/s_ctan.c (__ctan): Likewise.
25947 * math/s_ctanh.c (ctanh): Likewise.
25948 * math/s_ccoshl.c (__ccoshl): Likewise.
25949 * math/s_cexpl.c (__cexpl): Likewise.
25950 * math/s_csinl.c (__csinl): Likewise.
25951 * math/s_csinhl.c (__csinhl): Likewise.
25952 * math/s_ctanl.c (__ctanl): Likewise.
25953 * math/s_ctanhl.c (__ctanhl): Likewise.
25954
25955 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25956
25957 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25958 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25959 (_IO_off_t): Define to __off_t, not _G_off_t.
25960 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25961 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25962 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25963 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25964 type of __dummy and __dummy2 fields.
25965 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25966 (_G_ssize_t): Likewise.
25967 (_G_off_t): Likewise.
25968 (_G_pid_t): Likewise.
25969 (_G_uid_t): Likewise.
25970 (_G_wchar_t): Likewise.
25971 (_G_wint_t): Likewise.
25972 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25973 (_G_ssize_t): Likewise.
25974 (_G_off_t): Likewise.
25975 (_G_pid_t): Likewise.
25976 (_G_uid_t): Likewise.
25977 (_G_wchar_t): Likewise.
25978 (_G_wint_t): Likewise.
25979 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25980 (_G_ssize_t): Likewise.
25981 (_G_off_t): Likewise.
25982 (_G_pid_t): Likewise.
25983 (_G_uid_t): Likewise.
25984 (_G_wchar_t): Likewise.
25985 (_G_wint_t): Likewise.
25986
25987 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25988
25989 * malloc/arena.c: Include malloc-sysdep.h.
25990 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25991 is sufficient to shrink the heap or an unmap is needed.
25992 * sysdeps/generic/malloc-sysdep.h: New file. Define
25993 new function check_may_shrink_heap.
25994 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25995 new function check_may_shrink_heap.
25996
25997 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25998
25999 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26000 comments.
26001
26002 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26003
26004 * catgets/test-gencat.sh: Add "set -e".
26005 * elf/tst-pathopt.sh: Likewise.
26006 * grp/tst_fgetgrent.sh: Likewise.
26007 * iconvdata/run-iconv-test.sh: Likewise.
26008 * intl/tst-gettext.sh: Likewise.
26009 * intl/tst-gettext2.sh: Likewise.
26010 * intl/tst-gettext4.sh: Likewise.
26011 * intl/tst-gettext6.sh: Likewise.
26012 * intl/tst-translit.sh: Likewise.
26013 * io/ftwtest-sh: Likewise.
26014 * libio/test-freopen.sh: Likewise.
26015 * malloc/tst-mtrace.sh: Likewise.
26016 * posix/globtest.sh: Likewise.
26017 * posix/tst-getconf.sh: Likewise.
26018 * posix/wordexp-tst.sh: Likewise.
26019 * stdio-common/tst-printf.sh: Likewise.
26020 * stdio-common/tst-unbputc.sh: Likewise.
26021 * stdlib/tst-fmtmsg.sh: Likewise.
26022 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26023 * catgets/Makefile: Do not specify -e option when running
26024 testsuite shell scripts.
26025 * elf/Makefile: Likewise.
26026 * grp/Makefile: Likewise.
26027 * iconvdata/Makefile: Likewise.
26028 * intl/Makefile: Likewise.
26029 * io/Makefile: Likewise.
26030 * libio/Makefile: Likewise.
26031 * malloc/Makefile: Likewise.
26032 * posix/Makefile: Likewise.
26033 * stdio-common/Makefile: Likewise.
26034 * stdlib/Makefile: Likewise.
26035 * sysdeps/x86_64/Makefile: Likewise.
26036
26037 * io/ftwtest-sh: Add copyright header.
26038 * posix/globtest.sh: Likewise.
26039 * posix/tst-getconf.sh: Likewise.
26040 * posix/wordexp-tst.sh: Likewise.
26041 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26042
26043 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26044
26045 [BZ #13679]
26046 * Makeconfig (+link): Defined as $(+link-static) if
26047 $(build-shared) isn't yes.
26048 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26049 isn't yes.
26050 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26051
26052 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26053
26054 [BZ #14562]
26055 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26056 new chunk size with MALLOC_ALIGN_MASK.
26057
26058 2012-09-24 Joseph Myers <joseph@codesourcery.com>
26059
26060 [BZ #5044]
26061 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26062 <rounding-mode.h>.
26063 (__printf_fphex): Determine rounding using get_rounding_mode and
26064 round_away.
26065 * stdio-common/tst-printf-round.c (struct hex_test): New
26066 structure.
26067 (hex_tests): New variable.
26068 (test_hex_in_one_mode): New function.
26069 (do_test): Also run tests for hex float output.
26070
26071 2012-09-21 Joseph Myers <joseph@codesourcery.com>
26072
26073 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26074 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26075 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26076 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26077 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26078 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26079 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26080 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26081
26082 2012-09-20 Joseph Myers <joseph@codesourcery.com>
26083
26084 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26085 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26086 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26087 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26088
26089 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26090
26091 [BZ #14579]
26092 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26093 mode only.
26094 * elf/tst-rtld-load-self.sh: New test.
26095 * elf/Makefile: Run it.
26096
26097 2012-09-18 Joseph Myers <joseph@codesourcery.com>
26098
26099 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26100 (tst-writev-ENV): Remove.
26101 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26102
26103 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26104
26105 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26106
26107 2012-09-17 Joseph Myers <joseph@codesourcery.com>
26108
26109 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26110 unconditional.
26111 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26112 Likewise.
26113 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26114 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26115 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26116 Likewise.
26117
26118 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26119
26120 [BZ #14587]
26121 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26122 * config.make.in (have-cpp-asm-debuginfo): Removed.
26123 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26124 * configure: Regenerated.
26125
26126 2012-09-14 Joseph Myers <joseph@codesourcery.com>
26127
26128 [BZ #5044]
26129 * stdio-common/printf_fp.c: Include <stdbool.h> and
26130 <rounding-mode.h>.
26131 (___printf_fp): Determine rounding using get_rounding_mode and
26132 round_away.
26133 * stdio-common/tst-printf-round.c: New file.
26134 * stdio-common/Makefile (tests): Add tst-printf-round.
26135 (link-libm): New variable.
26136 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26137
26138 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26139
26140 [BZ #14576]
26141 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26142 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26143 Likewise.
26144 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26145 Likewise.
26146
26147 2012-09-13 Joseph Myers <joseph@codesourcery.com>
26148
26149 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26150 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26151 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26152 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26153
26154 2012-09-12 Joseph Myers <joseph@codesourcery.com>
26155
26156 [BZ #14518]
26157 * include/rounding-mode.h: New file.
26158 * sysdeps/generic/get-rounding-mode.h: Likewise.
26159 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26160 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26161 (MAX_VALUE): New macro.
26162 (MIN_VALUE): Likewise.
26163 (overflow_value): New function.
26164 (underflow_value): Likewise.
26165 (round_and_return): Use overflow_value and underflow_value to
26166 determine return values in overflow and underflow cases. Use
26167 round_away to determine rounding depending on rounding mode.
26168 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26169 determine return values in overflow and underflow cases.
26170 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26171 (struct test_results): New structure.
26172 (struct test): Use struct test_results to store expected results
26173 for all rounding modes.
26174 (TEST): Include expected results for all rounding modes.
26175 (test_in_one_mode): New function.
26176 (do_test): Use test_in_one_mode to compute and check results.
26177 Check results for all rounding modes.
26178 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26179 $(link-libm).
26180
26181 2012-12-09 Allan McRae <allan@archlinux.org>
26182
26183 * sysdeps/i386/fpu/libm-test-ulps: Update
26184
26185 2012-09-11 Joseph Myers <joseph@codesourcery.com>
26186
26187 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26188 (_G_int32_t): Likewise.
26189 (_G_uint16_t): Likewise.
26190 (_G_uint32_t): Likewise.
26191 (_G_HAVE_BOOL): Likewise.
26192 (_G_HAVE_ATEXIT): Likewise.
26193 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26194 (_G_HAVE_IO_FILE_OPEN): Likewise.
26195 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26196 (_G_int32_t): Likewise.
26197 (_G_uint16_t): Likewise.
26198 (_G_uint32_t): Likewise.
26199 (_G_HAVE_BOOL): Likewise.
26200 (_G_HAVE_ATEXIT): Likewise.
26201 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26202 (_G_HAVE_IO_FILE_OPEN): Likewise.
26203 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26204 (_G_int32_t): Likewise.
26205 (_G_uint16_t): Likewise.
26206 (_G_uint32_t): Likewise.
26207 (_G_HAVE_BOOL): Likewise.
26208 (_G_HAVE_ATEXIT): Likewise.
26209 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26210 (_G_HAVE_IO_FILE_OPEN): Likewise.
26211
26212 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26213
26214 * csu/libc-tls.c: Update copyright years.
26215
26216 2012-09-10 Joseph Myers <joseph@codesourcery.com>
26217
26218 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26219 [!_G_USING_THUNKS]: Remove conditional code.
26220 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26221 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26222
26223 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26224 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26225 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26226 (_G_VTABLE_LABEL_PREFIX): Likewise.
26227 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26228 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26229 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26230 (_G_VTABLE_LABEL_PREFIX): Likewise.
26231 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26232 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26233 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26234 (_G_VTABLE_LABEL_PREFIX): Likewise.
26235 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26236
26237 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26238
26239 * libio/Makefile: Include ../Makeconfig before tests.
26240 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26241 only if $(build-shared) is yes.
26242
26243 * iconv/gconv_db.c: Update copyright years.
26244
26245 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26246
26247 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26248 unwind info if defined PIC. Fix special cases description.
26249 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26250
26251 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26252 DP_HI_MASK entry.
26253 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26254
26255 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26256
26257 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26258
26259 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26260 is NULL.
26261
26262 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26263 (LDLIBS-tst-chk4): This.
26264 (LDFLAGS-tst-chk5): Renamed to ...
26265 (LDLIBS-tst-chk5): This.
26266 (LDFLAGS-tst-chk6): Renamed to ...
26267 (LDLIBS-tst-chk6): This.
26268 (LDFLAGS-tst-lfschk4): Renamed to ...
26269 (LDLIBS-tst-lfschk4): This.
26270 (LDFLAGS-tst-lfschk5): Renamed to ...
26271 (LDLIBS-tst-lfschk5): This.
26272 (LDFLAGS-tst-lfschk6): Renamed to ...
26273 (LDLIBS-tst-lfschk6): This.
26274
26275 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26276 on $(common-objpfx)soversions.mk.
26277
26278 2012-09-07 Joseph Myers <joseph@codesourcery.com>
26279
26280 [BZ #10014]
26281 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26282 example host name.
26283
26284 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26285
26286 * malloc/arena.c (arena_get_retry): New function that gets
26287 another arena for the caller to try its request on.
26288 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26289 current arena cannot fulfill the request.
26290 (__libc_memalign): Likewise.
26291 (__libc_memalign): Likewise.
26292 (__libc_pvalloc): Likewise.
26293 (__libc_calloc): Likewise.
26294
26295 2012-09-05 John Tobey <john.tobey@gmail.com>
26296
26297 [BZ #13542]
26298 * manual/arith.texi (Operations on Complex): Fix description
26299 of carg branch cut.
26300
26301 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26302
26303 [BZ #10014]
26304 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26305 host name.
26306
26307 [BZ #10038]
26308 * manual/memory.texi (Memory): Make order of menu items match
26309 order of sections.
26310
26311 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26312
26313 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26314 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26315 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26316
26317 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26318
26319 * csu/libc-tls.c (static_dtv): Renamed to ...
26320 (_dl_static_dtv): This. Make it global.
26321 (_dl_initial_dtv): Removed.
26322 (__libc_setup_tls): Updated.
26323 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26324 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26325 DL_INITIAL_DTV.
26326
26327 2012-09-06 Petr Machata <pmachata@redhat.com>
26328
26329 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26330 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26331 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26332 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26333
26334 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26335
26336 [BZ #14545]
26337 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26338 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26339 freeing dtv[-1].
26340
26341 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26342
26343 [BZ #14544]
26344 * Makeconfig (link-static-before-libc): Replace $(+prector)
26345 with $(+prectorT).
26346 (link-static-after-libc): Replace $(+postctor) with
26347 $(+postctorT).
26348 (link-bounded): Replace $(+prector)/$(+postctor) with
26349 $(+prectorT)/$(+postctorT).
26350 (+prectorT): New macro.
26351 (+postctorT): Likewise.
26352
26353 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26354
26355 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26356 (round_str): Handle values above the maximum for IBM long double
26357 as inexact.
26358 * stdlib/tst-strtod-round.c (tests): Regenerated.
26359
26360 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26361
26362 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26363 assembler flag.
26364 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26365 zarch_nohighgprs around the zarch optimized routines.
26366 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26367 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26368 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26369 for zarch.
26370
26371 2012-09-05 David S. Miller <davem@davemloft.net>
26372
26373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26374
26375 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26376 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26377 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26378 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26379 entries.
26380
26381 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26382
26383 * malloc/arena.c: Fold copyright years.
26384 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26385
26386 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26387
26388 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26389
26390 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26391
26392 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26393
26394 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26395
26396 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26397 change internal state upon failure.
26398
26399 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26400
26401 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26402 * malloc/memusage.c (mmap): Likewise.
26403 (mmap64, mremap): Likewise. Adjust name in comment.
26404
26405 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26406
26407 * libio/fileops.c: Fix typos in comments.
26408 * libio/oldfileops.c: Likewise.
26409 * libio/wfileops.c: Likewise.
26410
26411 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26412
26413 [BZ #1349]
26414 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26415 (tst-malloc-usable-ENV): Set environment for test case.
26416 * malloc/hooks.c (malloc_check_get_size): New function to get
26417 requested size.
26418 * malloc/malloc.c (musable): Use malloc_check_get_size.
26419 * malloc/tst-malloc-usable.c: New test case.
26420
26421 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26422
26423 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26424
26425 2012-09-05 Allan McRae <allan@archlinux.org>
26426
26427 [BZ #13966]
26428 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26429 determine header location.
26430 * configure: Regenerated.
26431
26432 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26433
26434 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26435 float format.
26436 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26437 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26438 format.
26439 (test): Regenerate.
26440
26441 2012-09-04 David S. Miller <davem@davemloft.net>
26442
26443 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26444 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26445 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26446
26447 2012-09-04 Florian Weimer <fweimer@redhat.com>
26448
26449 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26450 failures.
26451
26452 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26453
26454 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26455
26456 [BZ #9914]
26457 * libio/iogetdelim.c: Include <limits.h>.
26458 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26459 + len + 1 would overflow.
26460
26461 2012-09-03 Andreas Jaeger <aj@suse.de>
26462
26463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26464 * sysdeps/i386/fpu/libm-test-ulps: Update.
26465
26466 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26467
26468 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26469 Add s_sinf-sse2, s_conf-sse2.
26470
26471 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26472 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26473 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26474 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26475
26476 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26477 for using routine as __sinf_ia32.
26478 Use macro for function declaration and weak_alias.
26479 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26480 for using routine as __cosf_ia32.
26481 Use macro for function declaration and weak_alias.
26482
26483 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26484 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26485
26486 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26487 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26489
26490 * math/libm-test.inc (cos_test): Add more test cases.
26491 (sin_test): Likewise.
26492 (sincos_test): Likewise.
26493
26494 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26495
26496 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26497 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26498 hidden.
26499 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26500
26501 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26502
26503 [BZ #14538]
26504 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26505 first element of the GOT.
26506 (elf_machine_load_address): Return the difference between
26507 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26508
26509 2012-09-01 Allan McRae <allan@archlinux.org>
26510
26511 [BZ #13412]
26512 * configure.in (AWK): Require gawk version 3.0 or later.
26513 * configure: Regenerated.
26514
26515 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26516
26517 * sysdeps/unix/sysv/linux/kernel-features.h
26518 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26519 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26520 [__NR_clock_getres]: Make code unconditional.
26521 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26522 (clock_getcpuclockid): Remove code left unreachable by removal of
26523 conditionals.
26524 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26525 code unconditional.
26526 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26527 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26528 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26529 Make code unconditional.
26530 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26531 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26532 * sysdeps/unix/sysv/linux/clock_settime.c
26533 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26534 conditional code.
26535 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26536 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26537
26538 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26539
26540 [BZ #14476]
26541 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26542 scripts/test-installation.pl.
26543
26544 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26545 and $ld_so_version if it is set.
26546
26547 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26548
26549 [BZ #14516]
26550 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26551 failure if reading from procfs failed.
26552 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26553
26554 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26555
26556 * sysdeps/unix/sysv/linux/kernel-features.h
26557 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26558 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26559 Remove conditional code.
26560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26561 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26562 Remove conditional code.
26563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26564 * sysdeps/unix/sysv/linux/i386/fxstat.c
26565 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26567 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26568 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26570 * sysdeps/unix/sysv/linux/i386/lxstat.c
26571 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26573 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26574 Remove conditional code.
26575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26576 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26577 Remove conditional code.
26578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26579 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26580 <kernel-features.h>.
26581 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26582 Remove.
26583 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26584 Remove conditional code.
26585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26586 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26587 Remove conditional.
26588
26589 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26590
26591 [BZ #5400]
26592 * NEWS: Add fixed bug number.
26593
26594 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26595
26596 [BZ #14519]
26597 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26598 underflowing exponent in case of negative sign.
26599 * stdlib/tst-strtod-round-data: Add more tests.
26600 * stdlib/tst-strtod-round.c (tests): Regenerated.
26601
26602 [BZ #3479]
26603 * stdlib/strtod_l.c (NDIG): Remove.
26604 (HEXNDIG): Likewise.
26605 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26606 smallest representable value.
26607 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26608 lie within an exact representation of 1/2 ulp of the result.
26609 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26610 unconditionally.
26611 (TENS_P9_IDX): Define unconditionally.
26612 (TENS_P9_SIZE): Likewise.
26613 (TENS_P10_IDX): Likewise.
26614 (TENS_P10_SIZE): Likewise.
26615 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26616 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26617 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26618 entries for 10^2^13 and 10^2^14.
26619 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26620 (TENS_P13_IDX): Define.
26621 (TENS_P13_SIZE): Likewise.
26622 (TENS_P14_IDX): Likewise.
26623 (TENS_P14_SIZE): Likewise.
26624 (_fpioconst_pow10): Change array size to
26625 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26626 unconditional.
26627 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26628 1024]: Add entries for 10^2^13 and 10^2^14.
26629 [LAST_POW10 > _LAST_POW10]: Remove #error.
26630 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26631 (_fpioconst_pow10): Change array size to
26632 FPIOCONST_POW10_ARRAY_SIZE.
26633 * stdlib/gen-fpioconst.c: New file.
26634 * stdlib/gen-tst-strtod-round.c: Likewise.
26635 * stdlib/tst-strtod-round-data: Likewise.
26636 * stdlib/tst-strtod-round.c: Likewise.
26637 * stdlib/Makefile (tests): Add tst-strtod-round.
26638
26639 [BZ #14459]
26640 * stdlib/strtod_l.c: Include <stdint.h>.
26641 (NDEBUG): Do not define.
26642 (round_and_return): Change EXPONENT parameter to type intmax_t.
26643 Rearrange calculations to avoid internal overflow possibilities.
26644 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26645 Rearrange calculations to avoid internal overflow possibilities.
26646 Assert that number fits inside MPNSIZE limbs.
26647 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26648 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26649 calculations and add assertions to avoid internal overflow
26650 possibilities. Add casts to avoid signed/unsigned operations.
26651 * stdlib/tst-strtod-overflow.c: New file.
26652 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26653
26654 2012-08-25 Marek Polacek <polacek@redhat.com>
26655
26656 * time/time.h: Fix some typos in comments.
26657
26658 2012-08-23 Roland McGrath <roland@hack.frob.com>
26659
26660 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26661 * posix/tst-rfc3484-2.c: Likewise.
26662 * posix/tst-rfc3484-3.c: Likewise.
26663
26664 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26665
26666 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26667 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26668
26669 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26670
26671 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26672 #include of fxstatat64.c.
26673
26674 2012-08-22 Roland McGrath <roland@hack.frob.com>
26675
26676 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26677 * shadow/getspent_r.c: Likewise.
26678 * shadow/getspnam.c: Likewise.
26679 * shadow/getspnam_r.c: Likewise.
26680 * gshadow/getsgent.c: Likewise.
26681 * gshadow/getsgent_r.c: Likewise.
26682 * gshadow/getsgnam.c: Likewise.
26683 * gshadow/getsgnam_r.c: Likewise.
26684 * inet/getnetbyad.c: Likewise.
26685 * inet/getnetbyad_r.c: Likewise.
26686 * inet/getnetbynm.c: Likewise.
26687 * inet/getnetbynm_r.c: Likewise.
26688 * inet/getnetent.c: Likewise.
26689 * inet/getnetent_r.c: Likewise.
26690 * inet/getproto.c: Likewise.
26691 * inet/getproto_r.c: Likewise.
26692 * inet/getprtent.c: Likewise.
26693 * inet/getprtent_r.c: Likewise.
26694 * inet/getprtname.c: Likewise.
26695 * inet/getprtname_r.c: Likewise.
26696 * inet/getrpcbyname.c: Likewise.
26697 * inet/getrpcbyname_r.c: Likewise.
26698 * inet/getrpcbynumber.c: Likewise.
26699 * inet/getrpcbynumber_r.c: Likewise.
26700 * inet/getrpcent.c: Likewise.
26701 * inet/getrpcent_r.c: Likewise.
26702 * inet/getaliasent.c: Likewise.
26703 * inet/getaliasent_r.c: Likewise.
26704 * inet/getaliasname.c: Likewise.
26705 * inet/getaliasname_r.c: Likewise.
26706 * nscd/getgrgid_r.c: Likewise.
26707 * nscd/getgrnam_r.c: Likewise.
26708 * nscd/gethstbyad_r.c: Likewise.
26709 * nscd/gethstbynm3_r.c: Likewise.
26710 * nscd/getpwnam_r.c: Likewise.
26711 * nscd/getpwuid_r.c: Likewise.
26712 * nscd/getsrvbynm_r.c: Likewise.
26713 * nscd/getsrvbypt_r.c: Likewise.
26714 * nscd/gai.c: Likewise.
26715
26716 * configure.in (build_nscd): New substituted variable, set
26717 by --disable-build-nscd and defaults to $use_nscd.
26718 * configure: Regenerated.
26719 * config.make.in (build-nscd): New substituted variable.
26720 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26721 Change conditional to require [$(build-nscd) = yes] as well.
26722 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26723
26724 [BZ# 13696]
26725 * configure.in (use_nscd): New substituted variable, set by
26726 --disable-nscd. If enabled, define USE_NSCD.
26727 * configure: Regenerated.
26728 * config.h.in: Add USE_NSCD.
26729 * config.make.in (use-nscd): New substituted variable.
26730 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26731 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26732 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26733 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26734 (CFLAGS-getgrnam_r.c): Likewise.
26735 (CFLAGS-initgroups.c): Likewise.
26736 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26737 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26738 Variables removed.
26739 * inet/getnetgrent_r.c
26740 (nscd_setnetgrent): New function, broken out of ...
26741 (setnetgrent): ... here. Call it.
26742 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26743 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26744 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26745 * nscd/Makefile (routines, aux): Move definitions after include of
26746 Makeconfig. Conditionalize on [$(use-nscd) != no].
26747 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26748 Conditionalize on [USE_NSCD].
26749 (is_nscd, nscd_init_cb): Likewise.
26750 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26751 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26752 * nss/nss_db/db-init.c: Likewise.
26753 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26754 [USE_NSCD].
26755 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26756 (make_request): Use it.
26757 (cache_valid_p): New function.
26758 (__check_pf): Use it.
26759 * NEWS: Add item for --disable-nscd.
26760
26761 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26762
26763 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26764 to support sed >= 4.2.1-20-ga9bf076.
26765 * configure: Regenerated.
26766
26767 2012-08-22 Roland McGrath <roland@hack.frob.com>
26768
26769 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26770 Conditionalize whole body on [IREL].
26771
26772 2012-08-22 Jeff Law <law@redhat.com>
26773
26774 [BZ #14505]
26775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26776 if the family is PF_UNSPEC.
26777
26778 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26779
26780 * Makerules (lib-version): Rename from V.
26781 (install-lib-nosubdir): Change V to lib-version.
26782
26783 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26784
26785 [BZ #14252]
26786 * powerpc32/power6/wcschr.c: New file.
26787 * powerpc32/power6/wcscpy.c: New file.
26788 * powerpc32/power6/wcsrchr.c: New file.
26789 * powerpc64/power6/wcschr.c: New file.
26790 * powerpc64/power6/wcscpy.c: New file.
26791 * powerpc64/power6/wcsrchr.c: New file.
26792
26793 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26794
26795 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26796 (two_way_short_needle): Use it.
26797 * string/strstr.c (AVAILABLE1_USES_J): Define.
26798 * string/strcasestr.c: Likewise.
26799
26800 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26801 array references.
26802 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26803
26804 [BZ #11607]
26805 * NEWS: Add an entry.
26806 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26807 define their defaults.
26808 (two_way_short_needle): Detect end-of-string on-the-fly.
26809 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26810 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26811 * string/bug-strcasestr1.c: New test.
26812 * string/Makefile: Run it.
26813
26814 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26815
26816 [BZ #11607]
26817 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26818 the first character.
26819
26820 2012-08-21 Roland McGrath <roland@hack.frob.com>
26821
26822 * csu/elf-init.c (__libc_csu_irel): Function removed.
26823 * csu/libc-start.c (apply_irel): New function.
26824 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26825
26826 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26827
26828 * sysdeps/unix/sysv/linux/kernel-features.h
26829 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26830 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26831 <kernel-features.h>.
26832 [__NR_fadvise64_64]: Make code unconditional.
26833 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26834 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26835 !__NR_fadvise64_64)]: Likewise.
26836 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26837 !__NR_fadvise64_64))]: Likewise.
26838 [__NR_fadvise64]: Make code unconditional.
26839 [!__NR_fadvise64]: Remove conditional code.
26840 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26841 <kernel-features.h>.
26842 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26843 unconditional.
26844 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26845 conditional code.
26846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26847 not include <kernel-features.h>.
26848 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26849 unconditional.
26850 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26851 conditional code.
26852 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26853 include <kernel-features.h>.
26854 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26855 unconditional.
26856 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26857 conditional code.
26858
26859 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26860
26861 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26862 slight instruction rearrangements per scrollpipe analysis.
26863 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26864
26865 2012-08-20 Roland McGrath <roland@hack.frob.com>
26866
26867 * manual/syslog.texi (syslog; vsyslog, closelog):
26868 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26869 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26870
26871 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26872 DSOCAPS to match condition on defining it.
26873
26874 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26875
26876 * sysdeps/unix/sysv/linux/kernel-features.h
26877 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26879 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26880 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26882 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26883 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26885 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26886 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26887
26888 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26889 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26890
26891 * sysdeps/unix/sysv/linux/kernel-features.h
26892 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26893 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26894 unconditional.
26895 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26896 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26897 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26898 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26899 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26900 Make code unconditional.
26901 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26902 (__mmap64) [!__NR_mmap2]: Likewise.
26903 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26904 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26905 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26906 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26907 [__NR_mmap2]: Make code unconditional.
26908 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26909 (__mmap64) [!__NR_mmap2]: Likewise.
26910
26911 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26912
26913 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26914
26915 2012-08-18 Andreas Jaeger <aj@suse.de>
26916
26917 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26918
26919 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26920
26921 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26922 * include/unistd.h (__have_sock_cloexec): Likewise.
26923 (__have_pipe2): Likewise.
26924 (__have_dup3): Likewise.
26925
26926 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26927
26928 [BZ #9685]
26929 * include/unistd.h (__have_pipe2): Change define into an extern int.
26930 (__have_dup3): Likewise.
26931 * socket/have_sock_cloexec.c: Include fcntl.h.
26932 (__have_pipe2): New variable.
26933 (__have_dup3): Likewise.
26934
26935 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26936
26937 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26938
26939 2012-08-17 Marek Polacek <polacek@redhat.com>
26940
26941 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26942 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26943
26944 2012-08-17 Roland McGrath <roland@hack.frob.com>
26945
26946 * configure.in: Add AC_SUBST for sysheaders.
26947 * configure: Regenerated.
26948 * config.make.in (sysheaders): New substituted variable.
26949
26950 * sysdeps/unix/mkfifo.c: Moved ...
26951 * sysdeps/posix/mkfifo.c: ... here.
26952 * sysdeps/unix/mkfifoat.c: Moved ...
26953 * sysdeps/posix/mkfifoat.c: ... here.
26954
26955 * sysdeps/unix/utime.c: Moved ...
26956 * sysdeps/posix/utime.c: ... here.
26957
26958 * sysdeps/unix/time.c: Moved ...
26959 * sysdeps/posix/time.c: ... here.
26960 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26961 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26962
26963 * sysdeps/unix/nice.c: Moved ...
26964 * sysdeps/posix/nice.c: ... here.
26965
26966 * sysdeps/unix/alarm.c: Moved ...
26967 * sysdeps/posix/alarm.c: ... here.
26968
26969 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26970
26971 2012-08-17 Jeff Law <law@redhat.com>
26972
26973 * intl/Makefile (codeset_mo): New variable.
26974 ($(codeset_mo)): New target.
26975 (tst-codeset.out): Depend on that. Remove explicit rule.
26976 (tst-gettext3.out, tst-gettext5.out): Likewise.
26977 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26978 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26979 * intl/tst-codeset.sh: Remove.
26980 * intl/tst-gettext3.sh: Likewise.
26981 * intl/tst-gettext5.sh: Likewise.
26982
26983 2012-08-17 Roland McGrath <roland@hack.frob.com>
26984
26985 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26986 * sysdeps/unix/syscalls.list: ... here.
26987
26988 * sysdeps/posix/getaddrinfo.c
26989 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26990 (gaiconf_init, gaiconf_reload): Use them.
26991 [!_STATBUF_ST_NSEC]
26992 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26993 Define using time_t rather than struct timespec.
26994
26995 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26996 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26997 Macros removed.
26998 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26999 [!NO_THREADS].
27000 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27001 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27002 Likewise.
27003
27004 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27005 __libc_cleanup_push argument.
27006
27007 * bits/param.h: New file.
27008 * misc/sys/param.h: New file.
27009 * include/sys/param.h: New file.
27010 * misc/Makefile (headers): Add bits/param.h.
27011 * sysdeps/generic/sys/param.h: File removed.
27012 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27013 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27014 * sysdeps/mach/hurd/bits/param.h: New file.
27015 * sysdeps/mach/hurd/sys/param.h: File removed.
27016
27017 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27018 last change.
27019
27020 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27021 [_IO_MTSAFE_IO].
27022 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27023 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27024 New macros.
27025
27026 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27027 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27028 rather than -D_IO_MTSAFE_IO conditionally.
27029 * stdio-common/Makefile (CPPFLAGS): Likewise.
27030 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27031 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27032 Use $(libio-mtsafe).
27033 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27034 of -D_IO_MTSAFE_IO.
27035 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27036 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27037 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27038 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27039 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27040 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27041 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27042 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27043 (CFLAGS-fread_u_chk.c): Likewise.
27044 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27045 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27046 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27047 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27048 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27049 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27050 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27051 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27052 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27053
27054 * libio/Makefile: Test [$(libc-reentrant) = yes]
27055 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27056
27057 * Makeconfig
27058 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27059 * sysdeps/pthread/configure: File removed.
27060 * sysdeps/pthread/Makeconfig: New file.
27061 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27062 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27063
27064 2012-08-16 Gary Benson <gbenson@redhat.com>
27065
27066 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27067 unmapping the first object in a namespace.
27068
27069 2012-08-16 Roland McGrath <roland@hack.frob.com>
27070
27071 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27072 (__internal_setnetgrent): ... this. Add internal_function to
27073 definition. Add libc_hidden_def.
27074 (setnetgrent): Update caller.
27075 (internal_endnetgrent): Renamed to ...
27076 (__internal_endnetgrent): ... this. Add internal_function to
27077 definition. Add libc_hidden_def.
27078 (endnetgrent): Update caller.
27079 (internal_getnetgrent_r): Renamed to ...
27080 (__internal_getnetgrent_r): ... this. Add internal_function to
27081 definition. Add libc_hidden_def.
27082 (__getnetgrent_r): Update caller.
27083 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27084
27085 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27086
27087 * stdlib/longlong.h: Update from GCC.
27088
27089 2012-08-16 Roland McGrath <roland@hack.frob.com>
27090
27091 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27092 on _QL, which is set by umul_ppmm but never used.
27093 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27094 variables, which are set by GMP macros but never used.
27095 * stdio-common/_itowa.c (_itowa): Likewise.
27096 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27097 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27098
27099 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27100
27101 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27102 struct La_sh_regs is not constant.
27103 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27104 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27105 and struct La_sparc64_regs are not constant.
27106
27107 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27108
27109 * sysdeps/unix/sysv/linux/kernel-features.h
27110 (__ASSUME_POSIX_TIMERS): Remove.
27111 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27112 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27113 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27114 Make code unconditional.
27115 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27116 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27117 Make code unconditional.
27118 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27119 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27120 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27121 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27122 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27123 Make code unconditional.
27124 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27125 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27126 (__libc_missing_posix_timers): Remove.
27127
27128 2012-08-15 Roland McGrath <roland@hack.frob.com>
27129
27130 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27131 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27132
27133 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27134
27135 * elf/dl-sym.c: Include <stdlib.h>.
27136
27137 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27138 constants, which avoids warnings in 32-bit builds.
27139
27140 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27141 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27142
27143 * misc/lseek.c: File moved to ...
27144 * io/lseek.c: ... here.
27145
27146 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27147
27148 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27149 shifting LEN more than 31 bits at once.
27150
27151 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27152
27153 [BZ #14195]
27154 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27155 segmentation fault for a case of two empty input strings.
27156 * string/test-strncasecmp.c (check1): Renamed to...
27157 (bz12205): ...this.
27158 (bz14195): Add new testcase for two empty input strings and N > 0.
27159 (test_main): Call new testcase, adapt for renamed function.
27160
27161 2012-08-15 Andreas Jaeger <aj@suse.de>
27162
27163 [BZ #14090]
27164 * crypt/md5test2.c: New test, based on test supplied by Serge
27165 Belyshev <belyshev@depni.sinp.msu.ru>.
27166 * crypt/Makefile (xtests): Add md5test-giant..
27167 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27168
27169 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27170
27171 [BZ #14090]
27172 * crypt/md5.c (md5_process_block): Don't assume the buffer
27173 length is less than 2**32.
27174 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27175 length is less than 2**64.
27176
27177 2012-08-15 Roland McGrath <roland@hack.frob.com>
27178
27179 * string/str-two-way.h: Include <sys/param.h>.
27180 (MAX): Macro removed.
27181
27182 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27183 Move #define and #undef of memmove to just before and after
27184 including <string.h>.
27185
27186 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27187 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27188 and after including <string.h>. Move declarations of
27189 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27190 to before #include "string/memmove.c".
27191
27192 * include/dirent.h: Declare __getdirentries.
27193
27194 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27195 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27196
27197 2012-08-14 Mike Frysinger <vapier@gentoo.org>
27198
27199 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27200 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27201 * sysdeps/i386/configure: Regenerated.
27202 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27203 STABS_CURRENT_FILE, and STABS_FUN.
27204 (END): Remove call to STABS_FUN_END.
27205 (STABS_CURRENT_FILE1): Delete.
27206 (STABS_CURRENT_FILE): Likewise.
27207 (STABS_FUN): Likewise.
27208 (STABS_FUN_END): Likewise.
27209 (STABS_FUN2): Likewise.
27210 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27211 * sysdeps/x86_64/configure: Regenerated.
27212
27213 2012-08-14 Roland McGrath <roland@hack.frob.com>
27214
27215 * elf/dl-open.c: Include <atomic.h>.
27216 * elf/dl-lookup.c: Likewise.
27217
27218 2012-08-14 Joseph Myers <joseph@codesourcery.com>
27219
27220 * sysdeps/unix/sysv/linux/kernel-features.h
27221 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27222 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27223 unconditionally.
27224 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27225 unconditionally.
27226 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27227 condition on __ASSUME_CLONE_THREAD_FLAGS.
27228
27229 2012-08-14 Andreas Jaeger <aj@suse.de>
27230
27231 * sysdeps/i386/fpu/libm-test-ulps: Update.
27232
27233 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27234
27235 * include/atomic.h (atomic_exchange_and_add): Split into ...
27236 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27237 New atomic macros.
27238
27239 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27240
27241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27242
27243 2012-08-13 Jeff Law <law@redhat.com>
27244
27245 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27246 null byte in the output string.
27247
27248 2012-08-10 Joseph Myers <joseph@codesourcery.com>
27249
27250 * sysdeps/unix/sysv/linux/kernel-features.h
27251 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27252 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27253 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27254 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27255 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27256 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27257 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27258
27259 2012-08-09 Jeff Law <law@redhat.com>
27260
27261 [BZ #13939]
27262 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27263 When avoid_arena is set, don't retry in the that arena. Pick the
27264 next one, whatever it might be.
27265 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27266 (arena_lock): Pass in new parameter to arena_get2.
27267 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27268 arena_get2.
27269 (__libc_malloc): Unify retrying after main arena failure with
27270 __libc_memalign version.
27271 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27272
27273 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27274
27275 [BZ #14166]
27276 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27277 to __redirect_strstr.
27278 (__strstr_sse42): Use typeof __redirect_strstr.
27279 (__strstr_ia32): Likewise.
27280 (__libc_strstr): New prototype.
27281 (strstr): Renamed to ...
27282 (__libc_strstr): This.
27283 (strstr): New strong alias of __libc_strstr.
27284 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27285 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27286 __redirect_time.
27287 Include <time.h>.
27288 (__libc_time): New prototype.
27289 (time_ifunc): Replace time with __libc_time.
27290 (time): New strong alias and hidden definition of __libc_time.
27291 (__GI_time): Remove strong alias.
27292 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27293 Include <stddef.h>.
27294 (memmove): Redefined to __redirect_memmove.
27295 (__memmove_sse2): Use typeof __redirect_memmove.
27296 (__memmove_ssse3): Likewise.
27297 (__memmove_ssse3_back): Likewise.
27298 (__libc_memmove): New prototype.
27299 (memmove): Renamed to ...
27300 (__libc_memmove): This.
27301 (memmove): New strong alias of __libc_memmove.
27302
27303 2012-08-08 Mark Salter <msalter@redhat.com>
27304
27305 * elf/elf.h
27306 (R_MN10300_TLS_GD): Define.
27307 (R_MN10300_TLS_LD): Likewise.
27308 (R_MN10300_TLS_LDO): Likewise.
27309 (R_MN10300_TLS_GOTIE): Likewise.
27310 (R_MN10300_TLS_IE): Likewise.
27311 (R_MN10300_TLS_LE): Likewise.
27312 (R_MN10300_TLS_DTPMOD): Likewise.
27313 (R_MN10300_TLS_DTPOFF): Likewise.
27314 (R_MN10300_TLS_TPOFF): Likewise.
27315 (R_MN10300_SYM_DIFF): Likewise.
27316 (R_MN10300_ALIGN): Likewise.
27317 (R_MN10300_NUM): Update.
27318
27319 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27320
27321 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27322 Remove.
27323
27324 2012-08-08 Roland McGrath <roland@hack.frob.com>
27325
27326 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27327
27328 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27329 sysdeps/unix -> sysdeps/posix move.
27330 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27331
27332 2012-08-07 Allan McRae <allan@archlinux.org>
27333
27334 [BZ #14303]
27335 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27336 (SUNOS_CPP): Likewise.
27337 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27338 not found.
27339 (open_input): Call CPP using execvp.
27340
27341 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27342
27343 * sysdeps/unix/sysv/linux/kernel-features.h
27344 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27345 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27346 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27347 (__ASSUME_WAITID_SYSCALL): Likewise.
27348 * sysdeps/unix/sysv/linux/dl-execstack.c
27349 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27350 code unconditional.
27351 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27352 conditional code.
27353 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27354 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27355 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27356 code.
27357 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27358 unconditional.
27359 [__ASSUME_WAITID_SYSCALL]: Likewise.
27360 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27361
27362 2012-08-07 Roland McGrath <roland@hack.frob.com>
27363
27364 * sysdeps/unix/closedir.c: Renamed to ...
27365 * sysdeps/posix/closedir.c: ... here.
27366 * sysdeps/unix/dirfd.c: Renamed to ...
27367 * sysdeps/posix/dirfd.c: ... here.
27368 * sysdeps/unix/dirstream.h: Renamed to ...
27369 * sysdeps/posix/dirstream.h: ... here.
27370 * sysdeps/unix/fdopendir.c: Renamed to ...
27371 * sysdeps/posix/fdopendir.c: ... here.
27372 * sysdeps/unix/opendir.c: Renamed to ...
27373 * sysdeps/posix/opendir.c: ... here.
27374 * sysdeps/unix/readdir.c: Renamed to ...
27375 * sysdeps/posix/readdir.c: ... here.
27376 * sysdeps/unix/readdir_r.c: Renamed to ...
27377 * sysdeps/posix/readdir_r.c: ... here.
27378 * sysdeps/unix/rewinddir.c: Renamed to ...
27379 * sysdeps/posix/rewinddir.c: ... here.
27380 * sysdeps/unix/seekdir.c: Renamed to ...
27381 * sysdeps/posix/seekdir.c: ... here.
27382 * sysdeps/unix/telldir.c: Renamed to ...
27383 * sysdeps/posix/telldir.c: ... here.
27384 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27385 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27386 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27387 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27388
27389 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27390 * bits/fcntl.h: ... here.
27391
27392 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27393 not 0.
27394 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27395 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27396 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27397 (struct flock): Move l_start, l_len to the beginning.
27398 Use __pid_t for l_pid.
27399 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27400 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27401 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27402 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27403 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27404 [__USE_LARGEFILE64] (struct flock64): New type.
27405 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27406
27407 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27408 * bits/dirent.h: ... here.
27409
27410 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27411 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27412
27413 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27414
27415 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27416 Change from 2.6.0 to 2.6.16.
27417 * sysdeps/unix/sysv/linux/configure: Regenerated.
27418 * sysdeps/unix/sysv/linux/kernel-features.h
27419 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27420 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27421 version.
27422 (__ASSUME_UTIMES): Likewise.
27423 (__ASSUME_CLONE_STOPPED): Remove.
27424 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27425 architectures, not kernel version.
27426 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27427 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27428 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27429 (__ASSUME_WAITID_SYSCALL): Likewise.
27430 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27431 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27432 * README: State 2.6.16 as minimum Linux kernel version. Do not
27433 refer to older versions.
27434
27435 2012-08-06 Roland McGrath <roland@hack.frob.com>
27436
27437 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27438 Define alphasort64 as an alias.
27439 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27440 Define versionsort64 as an alias.
27441 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27442 Define scandir64 as an alias.
27443 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27444 Define scandirat64 as an alias.
27445 * dirent/alphasort64.c (alphasort64):
27446 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27447 * dirent/versionsort64.c: Likewise.
27448 * dirent/scandir64.c: Likewise.
27449 * dirent/scandirat64.c: Likewise.
27450 * sysdeps/wordsize-64/alphasort.c: File removed.
27451 * sysdeps/wordsize-64/alphasort64.c: File removed.
27452 * sysdeps/wordsize-64/scandir.c: File removed.
27453 * sysdeps/wordsize-64/scandir64.c: File removed.
27454 * sysdeps/wordsize-64/scandirat.c: File removed.
27455 * sysdeps/wordsize-64/scandirat64.c: File removed.
27456 * sysdeps/wordsize-64/versionsort.c: File removed.
27457 * sysdeps/wordsize-64/versionsort64.c: File removed.
27458 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27459 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27460 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27461 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27462 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27463 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27464 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27465 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27466
27467 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27469 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27471 [defined __arch64__ || defined __sparcv9]
27472 (__INO_T_MATCHES_INO64_T): New macro.
27473 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27474 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27475 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27476 * sysdeps/unix/sysv/linux/bits/dirent.h
27477 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27478 (_DIRENT_MATCHES_DIRENT64): New macro.
27479
27480 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27481 Define lockf64 as an alias.
27482 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27483 Define fseeko64 as an alias.
27484 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27485 Define ftello64 as an alias.
27486 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27487 Define _IO_fgetpos64 and fgetpos64 as aliases.
27488 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27489 Define _IO_fsetpos64 and fsetpos64 as aliases.
27490 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27491 Conditionalize body on this.
27492 * libio/fseeko64.c: Likewise.
27493 * libio/ftello64.c: Likewise.
27494 * libio/iofgetpos64.c: Likewise.
27495 * libio/iofsetpos64.c: Likewise.
27496 * sysdeps/wordsize-64/lockf.c: File removed.
27497 * sysdeps/wordsize-64/lockf64.c: File removed.
27498 * sysdeps/wordsize-64/fseeko.c: File removed.
27499 * sysdeps/wordsize-64/fseeko64.c: File removed.
27500 * sysdeps/wordsize-64/ftello.c: File removed.
27501 * sysdeps/wordsize-64/ftello64.c: File removed.
27502 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27503 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27504 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27505 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27506 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27507 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27508 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27509 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27510 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27511 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27512 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27513 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27514 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27515 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27516
27517 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27518 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27519 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27520 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27521 [defined __arch64__ || defined __sparcv9]
27522 (__OFF_T_MATCHES_OFF64_T): New macro.
27523 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27524 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27526 (__OFF_T_MATCHES_OFF64_T): New macro.
27527
27528 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27529
27530 * stdlib/secure-getenv.c (__secure_getenv): Replace
27531 GLIBC_2_16 with GLIBC_2_17.
27532
27533 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27534
27535 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27536 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27537
27538 2012-08-03 David S. Miller <davem@davemloft.net>
27539
27540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27541
27542 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27543
27544 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27545 Remove.
27546 (__ASSUME_CORRECT_SI_PID): Likewise.
27547 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27548 (__ASSUME_TMPFS_NAME): Likewise.
27549 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27550 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27551 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27552 (HAVE_AUX_SECURE): Make definition unconditional.
27553 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27554 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27555
27556 2012-08-03 Roland McGrath <roland@hack.frob.com>
27557
27558 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27559 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27560 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27561 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27562 __eloop_threshold instead of SYMLOOP_MAX.
27563
27564 * sysdeps/generic/eloop-threshold.h: New file.
27565 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27566 of MAXSYMLINKS.
27567 * elf/chroot_canon.c (chroot_canon): Likewise.
27568
27569 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27570
27571 [BZ #13717]
27572 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27573 Change to 2.6.0 everywhere.
27574 * sysdeps/unix/sysv/linux/configure: Regenerated.
27575 * sysdeps/unix/sysv/linux/kernel-features.h
27576 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27577 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27578 kernel versions.
27579 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27580 (__ASSUME_FUTEX_REQUEUE): Remove.
27581 (__ASSUME_STATFS64): Define unconditionally.
27582 (__ASSUME_AT_SECURE): Likewise.
27583 (__ASSUME_CORRECT_SI_PID): Likewise.
27584 (__ASSUME_TGKILL): Define without depending on kernel version for
27585 i386.
27586 (__ASSUME_UTIMES): Likewise.
27587 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27588 kernel version.
27589 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27590 (__ASSUME_TMPFS_NAME): Likewise.
27591 * README: Update reference to Linux kernel versions.
27592
27593 2012-08-02 Marek Polacek <polacek@redhat.com>
27594
27595 [BZ# 14150]
27596 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27597 libc_cv_asm_type_prefix with %.
27598 * configure: Regenerated.
27599 * include/libc-symbols.h: Remove comment about
27600 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27601 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27602 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27603 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27604 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27605 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27606 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27607 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27608 * elf/tst-unique2mod1.c: Likewise.
27609 * elf/tst-unique1mod2.c: Likewise.
27610 * elf/tst-unique1mod1.c: Likewise.
27611 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27612 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27613 Replace ASM_TYPE_DIRECTIVE with .type.
27614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27615 * sysdeps/i386/sysdep.h: Likewise.
27616 * sysdeps/x86_64/sysdep.h: Likewise.
27617 * sysdeps/sh/sysdep.h: Likewise.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27619 Do not define ASM_TYPE_DIRECTIVE.
27620 * sysdeps/powerpc/sysdep.h: Likewise.
27621 * sysdeps/powerpc/powerpc32/sysdep.h:
27622 Replace ASM_TYPE_DIRECTIVE with .type.
27623 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27624 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27625 * sysdeps/i386/fpu/e_powf.S: Likewise.
27626 * sysdeps/i386/fpu/e_expl.S: Likewise.
27627 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27628 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27629 * sysdeps/i386/fpu/e_pow.S: Likewise.
27630 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27631 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27632 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27633 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27634 * sysdeps/i386/fpu/e_log2.S: Likewise.
27635 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27636 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27637 * sysdeps/i386/fpu/e_powl.S: Likewise.
27638 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27639 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27640 * sysdeps/i386/fpu/e_logl.S: Likewise.
27641 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27642 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27643 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27644 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27645 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27646 * sysdeps/i386/fpu/e_log.S: Likewise.
27647 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27648 * sysdeps/i386/fpu/e_logf.S: Likewise.
27649 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27650 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27651 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27652 * sysdeps/i386/fpu/e_log10.S: Likewise.
27653 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27654 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27655 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27656 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27657 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27658 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27659 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27660 * sysdeps/i386/i686/strtok.S: Likewise.
27661 * sysdeps/i386/i386-mcount.S: Likewise.
27662 * sysdeps/i386/strtok.S: Likewise.
27663 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27664 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27665 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27666 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27667 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27668 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27669 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27670 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27671 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27672 * sysdeps/x86_64/_mcount.S: Likewise.
27673 * sysdeps/x86_64/strtok.S: Likewise.
27674 * sysdeps/sh/_mcount.S: Likewise.
27675
27676 2012-08-01 Roland McGrath <roland@hack.frob.com>
27677
27678 * libio/iofopen.c: Include <fcntl.h>.
27679 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27680 (_IO_fopen64, fopen64): Define as aliases.
27681 * libio/iofopen64.c: Include <fcntl.h>.
27682 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27683 Conditionalize body on this.
27684 * sysdeps/wordsize-64/iofopen.c: File removed.
27685 * sysdeps/wordsize-64/iofopen64.c: File removed.
27686
27687 2012-08-01 Marek Polacek <polacek@redhat.com>
27688
27689 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27690 Use dlfcn directly instead of a variable.
27691 (binfmt-subdir): Do not define.
27692 (dlfcn): Likewise.
27693
27694 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27695
27696 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27697 Remove all definitions.
27698 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27699 <kernel-features.h>.
27700 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27701 (miss_F_GETOWN_EX): Remove all definitions.
27702 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27703 macro definition.
27704 [!__ASSUME_FCNTL64]: Remove conditional code.
27705 [__ASSUME_FCNTL64]: Make code unconditional.
27706 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27707 <kernel-features.h>.
27708 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27709 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27710 (lockf64) [__NR_fcntl64]: Make code unconditional.
27711 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27712
27713 * sysdeps/unix/sysv/linux/kernel-features.h
27714 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27715 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27716 Make code unconditional.
27717 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27718 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27720 [__NR_vfork]: Make code unconditional.
27721 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27722 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27724 [__NR_vfork]: Make code unconditional.
27725 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27726 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27727
27728 2012-08-01 Roland McGrath <roland@hack.frob.com>
27729
27730 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27731 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27732
27733 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27734 Define mkstemp64 as an alias.
27735 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27736 Define mkstemps64 as an alias.
27737 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27738 Define mkostemp64 as an alias.
27739 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27740 Define mkostemps64 as an alias.
27741 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27742 Conditionalize body on this.
27743 * misc/mkostemp64.c: Likewise.
27744 * misc/mkostemps64.c: Likewise.
27745 * misc/mkstemps64.c: Likewise.
27746 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27747 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27748 * sysdeps/wordsize-64/mkostemp.c: File removed.
27749 * sysdeps/wordsize-64/mkstemp.c: File removed.
27750 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27751 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27752 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27753 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27754
27755 [BZ #14138]
27756 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27757 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27758 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27759 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27760
27761 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27762 compat_symbol macros from <shlib-compat.h> rather than the underlying
27763 default_symbol_version and symbol_version macros, so that DEFAULT
27764 lines in shlib-versions are respected.
27765 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27766
27767 2012-08-01 Florian Weimer <fweimer@redhat.com>
27768
27769 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27770 Declare with warn_unused_result.
27771 (setgid, setregid, setegid, setresgid): Likewise.
27772 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27773 Likewise.
27774 * WUR-REPORT: Remove set*id functions.
27775
27776 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27777
27778 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27779
27780 2012-07-31 Roland McGrath <roland@hack.frob.com>
27781
27782 [BZ #10191]
27783 * include/sys/socket.h (__libc_accept, __libc_accept4):
27784 Add attribute_hidden.
27785 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27786
27787 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27788 use of PTR_MANGLE.
27789 * inet/getnetgrent_r.c (setup): Likewise.
27790
27791 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27792
27793 2012-07-31 David S. Miller <davem@davemloft.net>
27794
27795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27796
27797 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27798
27799 [BZ #13629]
27800 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27801 value between 1.0 and 2.0 and smaller part has absolute value less
27802 than 1.0.
27803 * math/s_clog10.c (__clog10): Likewise.
27804 * math/s_clog10f.c (__clog10f): Likewise.
27805 * math/s_clog10l.c (__clog10l): Likewise.
27806 * math/s_clogf.c (__clogf): Likewise.
27807 * math/s_clogl.c (__clogl): Likewise.
27808 * math/libm-test.inc (clog_test): Add more tests.
27809 (clog10_test): Likewise.
27810 * sysdeps/i386/fpu/libm-test-ulps: Update.
27811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27812
27813 2012-07-31 Florian Weimer <fweimer@redhat.com>
27814
27815 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27816 Exit with zero in case no suitable GID is found, and write a
27817 message to standard error.
27818
27819 2012-07-30 Roland McGrath <roland@hack.frob.com>
27820
27821 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27822 rather than to 1.
27823 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27824 (MAXPATHLEN): Removed.
27825 (NOGROUP, NODEV): New macros.
27826 (setbit, clrbit, isset, isclr): New macros.
27827 (howmany, roundup, powerof2): New macros.
27828 (DEV_BSIZE): New macro.
27829
27830 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27831 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27832
27833 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27834 definition on [!__NO_LONG_DOUBLE_MATH].
27835
27836 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27837 PTR_MANGLE and PTR_DEMANGLE.
27838
27839 * socket/accept4.c (accept4): Rename to __libc_accept4.
27840 Define accept4 as a weak alias.
27841
27842 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27843 on [_DIRENT_HAVE_D_TYPE].
27844 * io/ftw.c (ftw_dir): Likewise.
27845
27846 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27847
27848 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27849
27850 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27851 Use the BSD numbers rather than the arbitrary ones we had.
27852 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27853 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27854 (SIGXCPU, SIGXFSZ): New macros.
27855 (_NSIG): Now 32.
27856
27857 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27858 initializer on [_LIBC_REENTRANT].
27859
27860 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27861 definitions inside [_POSIX_MAPPED_FILES].
27862
27863 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27864
27865 * dirent/opendir.c: Include <fcntl.h>.
27866
27867 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27868 (__libc_getspecific): Likewise.
27869 (__libc_key_create): Likewise.
27870
27871 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27872 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27873 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27874 (tmpfile64): Define as alias.
27875 * sysdeps/wordsize-64/tmpfile.c: File removed.
27876 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27877 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27878 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27879
27880 * stdio-common/vfscanf.c: Include <stdbool.h>.
27881 * nss/makedb.c: Likewise.
27882 * stdio-common/_i18n_number.h: Likewise.
27883 * argp/argp-help.c: Likewise.
27884 * posix/wordexp.c: Likewise.
27885 * sysdeps/posix/spawni.c: Likewise.
27886 * nss/nss_files/files-initgroups.c: Likewise.
27887 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27888 * nss/nss_files/files-initgroups.c: Likewise.
27889 * nss/nss_db/db-netgrp.c: Likewise.
27890 * nss/nss_db/db-initgroups.c: Likewise.
27891 * io/fchmodat.c: Include <sys/stat.h>.
27892
27893 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27894 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27895
27896 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27897 [HAVE_MMAP].
27898
27899 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27900 Add multiple inclusion protection.
27901
27902 2012-07-27 David S. Miller <davem@davemloft.net>
27903
27904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27905
27906 2012-07-27 Gary Benson <gbenson@redhat.com>
27907
27908 [BZ #14298]
27909 * elf/rtld.c: Include <stap-probe.h>.
27910 (dl_main): Added static probes "init_start" and "init_complete".
27911 * elf/dl-load.c: Include <stap-probe.h>.
27912 (lose): Take new parameter "nsid".
27913 Added static probe "map_failed".
27914 (_dl_map_object_from_fd): Pass namespace id to lose.
27915 Added static probe "map_start".
27916 (open_verify): Pass namespace id to lose.
27917 * elf/dl-open.c: Include <stap-probe.h>.
27918 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27919 and "reloc_complete".
27920 * elf/dl-close.c: Include <stap-probe.h>.
27921 (_dl_close_worker): Added static probes "unmap_start" and
27922 "unmap_complete".
27923 * elf/rtld-debugger-interface.txt: New file documenting the above.
27924
27925 2012-07-26 Roland McGrath <roland@hack.frob.com>
27926
27927 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27928 rather than a string variable.
27929 * sunrpc/rpc_main.c (h_output): Likewise.
27930 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27931
27932 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27933
27934 * inet/check_native.c: New file.
27935
27936 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27937
27938 [BZ #13629]
27939 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27940 if larger part has absolute value 1.0.
27941 * math/s_clog10.c (__clog10): Likewise.
27942 * math/s_clog10f.c (__clog10f): Likewise.
27943 * math/s_clog10l.c (__clog10l): Likewise.
27944 * math/s_clogf.c (__clogf): Likewise.
27945 * math/s_clogl.c (__clogl): Likewise.
27946 * math/libm-test.inc (clog_test): Add more tests.
27947 (clog10_test): Likewise.
27948 * sysdeps/i386/fpu/libm-test-ulps: Update.
27949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27950
27951 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27952 (pltexit): Likewise.
27953 (La_regs): Likewise.
27954 (La_retval): Likewise.
27955 (int_retval): Likewise.
27956 Update #error for removed macros to refer only to definitions in
27957 tst-audit.h.
27958 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27959 macro.
27960 (pltexit): Likewise.
27961 (La_regs): Likewise.
27962 (La_retval): Likewise.
27963 (int_retval): Likewise.
27964 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27965 macro.
27966 (pltexit): Likewise.
27967 (La_regs): Likewise.
27968 (La_retval): Likewise.
27969 (int_retval): Likewise.
27970 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27971 macro.
27972 (pltexit): Likewise.
27973 (La_regs): Likewise.
27974 (La_retval): Likewise.
27975 (int_retval): Likewise.
27976 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27977 macro.
27978 (pltexit): Likewise.
27979 (La_regs): Likewise.
27980 (La_retval): Likewise.
27981 (int_retval): Likewise.
27982 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27983 macro.
27984 (pltexit): Likewise.
27985 (La_regs): Likewise.
27986 (La_retval): Likewise.
27987 (int_retval): Likewise.
27988 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27989 macro.
27990 (pltexit): Likewise.
27991 (La_regs): Likewise.
27992 (La_retval): Likewise.
27993 (int_retval): Likewise.
27994 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27995 macro definitions in tst-audit.h.
27996 * sysdeps/i386/tst-audit.h: New file.
27997 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27998 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27999 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28000 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28001 * sysdeps/sh/tst-audit.h: Likewise.
28002 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28003 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28004 * sysdeps/x86_64/tst-audit.h: Likewise.
28005
28006 2012-07-26 Andreas Jaeger <aj@suse.de>
28007
28008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28009 ptrace.
28010
28011 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28012 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28013 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28014 PTRACE_O_MASK.
28015 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28016 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28017 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28018
28019 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28020 value.
28021
28022 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28023 _sigsys.
28024 (si_call_addr, si_syscall, si_arch): Define new macro.
28025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28026 _sigsys.
28027 (si_call_addr, si_syscall, si_arch): Define new marcro.
28028 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28029 _sigsys.
28030 (si_call_addr, si_syscall, si_arch): Define new macro.
28031 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28032 _sigsys.
28033 (si_call_addr, si_syscall, si_arch): Define new macro.
28034
28035 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28036
28037 [BZ #13717]
28038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28039 Change to 2.4.21 where previously 2.4.1.
28040 * sysdeps/unix/sysv/linux/configure: Regenerated.
28041 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28042 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28043 Linux kernel version.
28044 (__ASSUME_STD_AUXV): Remove.
28045 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28046 kernel version.
28047 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28048 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28049 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28050 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28051 (__ASSUME_NETLINK_SUPPORT): Likewise.
28052 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28053 (__no_netlink_support): Remove conditional definition.
28054 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28055 Remove.
28056 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28057 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28058 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28059 (if_nameindex_ioctl): Remove.
28060 (if_nameindex_netlink): Do not handle __no_netlink_support.
28061 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28062 code.
28063 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28064 Remove conditional code.
28065 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28066 code.
28067 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28068 unconditional.
28069 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28070 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28071 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28072 Remove.
28073 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28074 [!__ASSUME_STD_AUXV]: Remove conditional code.
28075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28076 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28077 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28079 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28080 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28081 code.
28082 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28084 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28085 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28086 conditional code.
28087 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28089 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28090 code.
28091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28092 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28093 conditional code.
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28095 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28096 code unconditional.
28097 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28098 conditional code.
28099 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28100 unconditional.
28101 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28102 conditional code.
28103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28104 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28105 unconditional.
28106 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28107 conditional code.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28109 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28110 code unconditional.
28111 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28112 conditional code.
28113 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28114 unconditional.
28115 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28116 conditional code.
28117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28118 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28119 code unconditional.
28120 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28121 conditional code.
28122 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28123 unconditional.
28124 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28125 conditional code.
28126
28127 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28128
28129 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28130 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28131 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28132 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28133 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28134 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28135 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28136 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28137 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28138 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28139 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28140 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28141 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28142 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28143 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28144 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28145 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28147 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28149 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28150 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28152
28153 2012-07-25 Florian Weimer <fweimer@redhat.com>
28154
28155 * Versions.def: Add GLIBC_2.17.
28156 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28157 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28158 Introduce __libc_secure_getenv.
28159 * stdlib/Versions (2.17): Add secure_getenv
28160 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28161 * stdlib/secure-getenv.c: Rename __secure_getenv to
28162 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28163 symbol __secure_getenv for GLIBC_2.0.
28164 * stdlib/tst-secure-getenv.c: New.
28165 * stdlib/Makefile (tests): Add testcase.
28166 * manual/startup.texi (Environment Access): Document
28167 secure_getenv.
28168 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28169 __libc_secure_getenv.
28170 * inet/ruserpass.c (ruserpass): Likewise.
28171 * malloc/mtrace.c (mtrace): Likewise.
28172 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28173 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28174 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28175 * sysdeps/posix/tempname.c: Likewise. Evaluate
28176 HAVE_SECURE_GETENV.
28177 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28178 __secure_getenv to __libc_secure_getenv.
28179 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28181 Likewise.
28182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28183 Likewise.
28184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28191
28192 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28193
28194 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28195 (struct La_i86_retval): Likewise.
28196 (struct La_x86_64_regs): Likewise.
28197 (struct La_x86_64_retval): Likewise.
28198 (struct La_x32_regs): Likewise.
28199 (struct La_x32_retval): Likewise.
28200 (struct La_ppc32_regs): Likewise.
28201 (struct La_ppc32_retval): Likewise.
28202 (struct La_ppc64_regs): Likewise.
28203 (struct La_ppc64_retval): Likewise.
28204 (struct La_sh_regs): Likewise.
28205 (struct La_sh_retval): Likewise.
28206 (struct La_s390_32_regs): Likewise.
28207 (struct La_s390_32_retval): Likewise.
28208 (struct La_s390_64_regs): Likewise.
28209 (struct La_s390_64_retval): Likewise.
28210 (struct La_sparc32_regs): Likewise.
28211 (struct La_sparc32_retval): Likewise.
28212 (struct La_sparc64_regs): Likewise.
28213 (struct La_sparc64_retval): Likewise.
28214 (struct audit_ifaces): Remove architecture-specific pltenter and
28215 pltexit members.
28216 * sysdeps/i386/ldsodefs.h: New file.
28217 * sysdeps/powerpc/ldsodefs.h: Likewise.
28218 * sysdeps/s390/ldsodefs.h: Likewise.
28219 * sysdeps/sh/ldsodefs.h: Likewise.
28220 * sysdeps/sparc/ldsodefs.h: Likewise.
28221 * sysdeps/x86_64/ldsodefs.h: Likewise.
28222
28223 2012-07-25 Marek Polacek <polacek@redhat.com>
28224
28225 [BZ #6808]
28226 * math/libm-test.inc (yn_test): Add another test.
28227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28228 to ERANGE when the result is +-Inf.
28229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28230 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28231 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28232 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28233
28234 2012-07-24 Joseph Myers <joseph@codesourcery.com>
28235
28236 * conform/data/time.h-data (NULL): Use macro-constant. Require
28237 equal to 0.
28238 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28239 clock_t.
28240 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28241
28242 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28243
28244 * configure.in <sysdeps resolving>: Correct printing
28245 Implies_before.
28246 * configure: Regenerate.
28247
28248 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28249
28250 * math/w_ilogb.c: Include <limits.h>.
28251 * math/w_ilogbl.c: Likewise.
28252
28253 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28254
28255 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28256 va_copy. Document allowing for unavailable va_copy only as
28257 pre-C99 compatibility.
28258 * manual/string.texi (Copying and Concatenation): Use va_copy
28259 instead of __va_copy in concat example.
28260
28261 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28262
28263 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28264 (__sendto): Use create_address_port. Initialize APORT and deallocate
28265 it if not null.
28266
28267 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28268 with O_NOLINK passed to __file_name_lookup.
28269
28270 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28271 with O_NOLINK passed to __file_name_lookup.
28272
28273 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28274 negative N or less than NGIDS.
28275
28276 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28277 type to string_t. Set ERANGE as errno and return it if NAME is not big
28278 enough. Use memcpy instead of strncpy.
28279
28280 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28281
28282 * elf/Makefile (check-data): Remove.
28283 (localplt.data): New vpath directive.
28284 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28285 instead of $(check-data).
28286 * scripts/data/localplt-generic.data: Move to ...
28287 * sysdeps/generic/localplt.data: ... here.
28288 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28289 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28290 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28292 ... here.
28293 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28295 ... here.
28296 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28298 ... here.
28299 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28301 ... here.
28302 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28304 ... here.
28305 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28307 ... here.
28308
28309 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28310
28311 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28312 PPC32 and PPC64 files.
28313 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28314 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28315
28316 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28317
28318 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28319 __makecontext_ret to ...
28320 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28321 ... here and call exit if uc_link is NULL. New file.
28322 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28323 __makecontext_ret.S.
28324 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28325 __makecontext_ret to ...
28326 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28327 ... here and call exit if uc_link is NULL. New file.
28328 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28329 __makecontext_ret.S.
28330
28331 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28332
28333 * elf/elf.h (R_390_IRELATIVE): New definition.
28334 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28335 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28336 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28337 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28338 (elf_machine_lazy_rel): Likewise.
28339 * sysdeps/s390/dl-irel.h: New file.
28340 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28341 * sysdeps/s390/s390-64/memset.S: New asm code.
28342 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28343 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28344 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28345 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28346 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28347 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28349 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28350 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28351 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28352 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28353 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28354 * sysdeps/s390/s390-32/memset.S: New asm code.
28355 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28356
28357 2012-07-17 Marek Polacek <polacek@redhat.com>
28358
28359 [BZ #14349]
28360 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28361 * sysdeps/s390/s390-64/configure.in: Likewise.
28362 * sysdeps/sparc/configure.in: Likewise.
28363 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28364 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28365 * sysdeps/i386/configure.in: Likewise.
28366 * sysdeps/x86_64/configure.in: Likewise.
28367 * sysdeps/sh/configure.in: Likewise.
28368 * sysdeps/s390/s390-32/configure: Regenerated.
28369 * sysdeps/s390/s390-64/configure: Likewise.
28370 * sysdeps/x86_64/configure: Likewise.
28371 * sysdeps/sh/configure: Likewise.
28372 * sysdeps/powerpc/powerpc64/configure: Likewise.
28373 * sysdeps/powerpc/powerpc32/configure: Likewise.
28374 * sysdeps/sparc/configure: Likwise.
28375 * sysdeps/i386/configure: Likewise.
28376
28377 * elf/dl-open.c: Comment fixes.
28378
28379 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28380
28381 * Makefile [CXX] (check-data): Remove.
28382 [CXX] (c++-types.data): New vpath directive.
28383 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28384 vpath. Do not allow for C++ type data being missing.
28385 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28386 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28387 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28388 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28389 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28390 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28391 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28393 ... here.
28394 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28396 ... here.
28397 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28399 ... here.
28400 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28402 ... here.
28403 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28405 ... here.
28406 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28408 ... here.
28409 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28411 ... here.
28412 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28414
28415 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28416 definitions to architecture-specific files.
28417 (TLS_IE): Likewise.
28418 (TLS_LD): Likewise.
28419 (TLS_GD): Likewise.
28420 * sysdeps/i386/tls-macros.h: New file.
28421 * sysdeps/powerpc/tls-macros.h: Likewise.
28422 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28423 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28424 * sysdeps/sh/tls-macros.h: Likewise.
28425 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28426 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28427 * sysdeps/x86_64/tls-macros.h: Likewise.
28428
28429 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28430
28431 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28432 zero value for regular exit case.
28433
28434 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28435 (__start_context): Preserve zero value for regular exit case.
28436
28437 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28438 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28439
28440 * manual/setjmp.texi (setcontext): Clarify normal process
28441 termination when uc_link is the null pointer.
28442 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28443 exit call.
28444
28445 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28446
28447 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28448 preprocessor. Test for each exception mask separately.
28449
28450 2012-07-16 Andreas Jaeger <aj@suse.de>
28451
28452 * po/ru.po: Update from translation team.
28453
28454 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28455
28456 * conform/data/string.h-data (NULL): Use macro-constant. Require
28457 equal to 0.
28458 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28459 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28460 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28461 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28463
28464 2012-07-13 Andreas Jaeger <aj@suse.de>
28465
28466 * po/fr.po: Update from translation team.
28467
28468 2012-07-12 Marek Polacek <polacek@redhat.com>
28469
28470 [BZ #14173]
28471 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28472 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28473 loop condition.
28474
28475 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28476
28477 [BZ #13717]
28478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28479 Change to 2.4.1 where previously 2.4.0.
28480 * sysdeps/unix/sysv/linux/configure: Regenerated.
28481 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28482 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28483 version.
28484 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28485 (__ASSUME_AT_CLKTCK): Remove.
28486 (__ASSUME_AT_PAGESIZE): Likewise.
28487 (__ASSUME_AT_XID): Likewise.
28488 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28489 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28490 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28491 unconditionally.
28492 (HAVE_AUX_PAGESIZE): Likewise.
28493 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28494 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28495 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28496
28497 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28498
28499 [BZ #14307]
28500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28501 the temporary buffer used to invoke __gethostbyname2_r,
28502 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28503 host_data / struct gaih_addrtuple.
28504 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28505 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28506 header file nss/nsswitch.h.
28507 * nss/nsswitch.h (global scope): Add definition of implementation
28508 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28509 resolv/nss_dns/dns-host.c).
28510
28511 2012-07-11 Andreas Jaeger <aj@suse.de>
28512
28513 * po/fr.po: Update from translation team.
28514
28515 * po/sv.po: Update from translation team
28516 * po/fr.po: Another update from translation team.
28517
28518 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28519
28520 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28521 for subnormals or multiply small sinh result by itself.
28522 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28524
28525 2012-07-11 David S. Miller <davem@davemloft.net>
28526
28527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28528
28529 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28530
28531 [BZ #14347]
28532 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28533 (INTERNAL_MARK): Shift it here.
28534
28535 2012-07-10 Marek Polacek <polacek@redhat.com>
28536
28537 [BZ #14151]
28538 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28539 libc_cv_asm_global_directive with .globl.
28540 * configure: Regenerated.
28541 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28542 with .globl.
28543 * sysdeps/i386/configure: Regenerated.
28544 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28545 with .globl.
28546 * sysdeps/x86_64/configure: Regenerated.
28547 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28548 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28549 * elf/tst-unique2mod2.c: Likewise.
28550 * elf/tst-unique2mod1.c: Likewise.
28551 * elf/tst-unique1mod2.c: Likewise.
28552 * elf/tst-unique1mod1.c: Likewise.
28553 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28554 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28556 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28557 * sysdeps/mach/sysdep.h: Likewise.
28558 * sysdeps/i386/sysdep.h: Likewise.
28559 * sysdeps/i386/i386-mcount.S: Likewise.
28560 * sysdeps/x86_64/_mcount.S: Likewise.
28561 * sysdeps/x86_64/sysdep.h: Likewise.
28562 * sysdeps/sh/_mcount.S: Likewise.
28563 * sysdeps/sh/sysdep.h: Likewise.
28564 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28565 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28566 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28567 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28568 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28569 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28570 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28571 * locale/localeinfo.h: Likewise.
28572 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28573 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28574
28575 2012-07-09 Roland McGrath <roland@hack.frob.com>
28576
28577 [BZ #14336]
28578 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28579 system".
28580 * manual/message.texi (The Uniforum approach): Likewise.
28581 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28582 (glibc iconv Implementation): Likewise.
28583
28584 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28585
28586 [BZ #14337]
28587 * math/s_clog.c (__clog): Avoid scaling a value down where that
28588 could result in underflow.
28589 * math/s_clog10.c (__clog10): Likewise.
28590 * math/s_clog10f.c (__clog10f): Likewise.
28591 * math/s_clog10l.c (__clog10l): Likewise.
28592 * math/s_clogf.c (__clogf): Likewise.
28593 * math/s_clogl.c (__clogl): Likewise.
28594 * math/libm-test.inc (clog_test): Add more tests.
28595 (clog10_test): Likewise.
28596 * sysdeps/i386/fpu/libm-test-ulps: Update.
28597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28598
28599 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28600
28601 [BZ #14283]
28602 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28603 by 7 not 8 to examine high bit of fractional part.
28604
28605 [BZ #14042]
28606 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28607 for call to __mcount_internal.
28608 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28609 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28610 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28611
28612 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28613
28614 [BZ #14154]
28615 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28616 approximation for values within 0x1p-13f of an odd multiple of
28617 pi/4.
28618 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28619 exception. Add more tests.
28620 * sysdeps/i386/fpu/libm-test-ulps: Update.
28621
28622 [BZ #6778]
28623 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28624 inputs and return -1 for them. Do not check for +Inf in case not
28625 reachable for +Inf.
28626 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28627 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28628 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28629 and return -1 for them. Do not check for +Inf in case not
28630 reachable for +Inf.
28631 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28632 define.
28633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28634 and return -1 for them. Do not check for +Inf in case not
28635 reachable for +Inf.
28636 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28637 spurious underflow.
28638 * sysdeps/i386/fpu/libm-test-ulps: Update.
28639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28640
28641 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28642
28643 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28644
28645 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28646
28647 [BZ #14157]
28648 [BZ #14331]
28649 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28650 could result in spurious underflow. Scale down values above
28651 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28652 * math/s_csqrtf.c (__csqrtf): Likewise.
28653 * math/s_csqrtl.c (__csqrtl): Likewise.
28654 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28655 spurious underflow.
28656 * sysdeps/i386/fpu/libm-test-ulps: Update.
28657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28658
28659 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28660
28661 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28662 xopen-msg.sed.
28663 * catgets/xopen-msg.awk: New file.
28664 * catgets/xopen-msg.sed: Removed.
28665
28666 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28667 po2text.sed.
28668 * intl/po2test.awk: New file.
28669 * intl/po2test.sed: Removed.
28670
28671 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28672
28673 [BZ #14328]
28674 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28675 or multiply small sinh result by itself.
28676 * math/s_ctanf.c (__ctanf): Likewise.
28677 * math/s_ctanh.c (__ctanh): Likewise.
28678 * math/s_ctanhf.c (__ctanhf): Likewise.
28679 * math/s_ctanhl.c (__ctanhl): Likewise.
28680 * math/s_ctanl.c (__ctanl): Likewise.
28681 * math/libm-test.inc (ctan_test_tonearest): New function.
28682 (ctan_test_towardzero): Likewise.
28683 (ctan_test_downward): Likewise.
28684 (ctan_test_upward): Likewise.
28685 (ctanh_test_tonearest): Likewise.
28686 (ctanh_test_towardzero): Likewise.
28687 (ctanh_test_downward): Likewise.
28688 (ctanh_test_upward): Likewise.
28689 (main): Call these new functions.
28690 * sysdeps/i386/fpu/libm-test-ulps: Update.
28691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28692
28693 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28694
28695 * .gitignore: Delete /ports entry.
28696
28697 2012-07-03 Andreas Jaeger <aj@suse.de>
28698
28699 * po/bg.po: Update from translation team.
28700 * po/cs.po: Likewise.
28701 * po/de.po: Likewise.
28702 * po/hr.po: Likewise.
28703 * po/nl.pl: Likewise.
28704 * po/pl.po: Likewise.
28705 * po/vi.po: Likewise.
28706
28707 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28708
28709 * Makeconfig [!+link] (+link-before-libc): New variable.
28710 [!+link] (+link-after-libc): Likewise.
28711 [!+link] (+link-tests): Likewise.
28712 [!+link] (+link): Define in terms of $(+link-before-libc) and
28713 $(+link-after-libc).
28714 [!+link-static] (+link-static-before-libc): New variable.
28715 [!+link-static] (+link-static-after-libc): Likewise.
28716 [!+link-static] (+link-static-tests): Likewise.
28717 [!+link-static] (+link-static): Define in terms of
28718 $(+link-static-before-libc) and $(+link-static-after-libc).
28719 [build-shared] (link-libc-before-gnulib): New variable.
28720 [build-shared] (link-libc-tests): Likewise.
28721 [build-shared] (link-libc): Define in terms of
28722 $(link-libc-before-gnulib).
28723 [!build-shared] (link-libc-tests): New variable.
28724 (link-libc-static-tests): New variable.
28725 [!gnulib] (gnulib-arch): New variable.
28726 [!gnulib] (gnulib-tests): Likewise.
28727 [!gnulib] (static-gnulib-arch): Likewise.
28728 [!gnulib] (static-gnulib-tests): Likewise.
28729 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28730 Define with "=" instead of ":=".
28731 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28732 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28733 * Rules (binaries-all-notests): New variable.
28734 (binaries-all-tests): Likewise.
28735 (binaries-static-notests): Likewise.
28736 (binaries-static-tests): Likewise.
28737 (binaries-all): Define using $(binaries-all-notests) and
28738 $(binaries-all-tests).
28739 (binaries-static): Define using $(binaries-static-notests) and
28740 $(binaries-static-tests).
28741 (binaries-shared-tests): New variable.
28742 (binaries-shared-notests): Likewise.
28743 (binaries-shared): Remove variable.
28744 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28745 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28746 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28747 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28748 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28749 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28750 * elf/Makefile (sln-modules): New variable.
28751 (extra-objs): Add $(sln-modules:=.o).
28752 (ldconfig-modules): Add static-stubs.
28753 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28754 * elf/static-stubs.c: New file.
28755
28756 [BZ #14283]
28757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28758 by 7 not 8 to examine high bit of fractional part. Use volatile
28759 variables when splitting into final array of floats if
28760 __FLT_EVAL_METHOD__ != 0.
28761 * math/libm-test.inc (cos_test): Add another test.
28762 (sin_test): Likewise.
28763 * sysdeps/i386/fpu/libm-test-ulps: Update.
28764
28765 [BZ #14273]
28766 * math/libm-test.inc (cosh_test): Add more tests.
28767
28768 * version.h (RELEASE): Set to "development".
28769 (VERSION): Set to "2.16.90".
28770
28771 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28772
28773 * NEWS: Update copyright. Remove last-updated date.
28774 Mention math library bug fixes and timezone data changes.
28775 * README: Mention GNU/Hurd, x32, and HPPA support status.
28776
28777 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28778
28779 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28780
28781 2012-06-27 Andreas Jaeger <aj@suse.de>
28782
28783 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28784
28785 2012-06-25 Andreas Jaeger <aj@suse.de>
28786
28787 * sysdeps/s390/fpu/libm-test-ulps: Update.
28788
28789 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28790 Thomas Schwinge <thomas@codesourcery.com>
28791
28792 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28793 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28794 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28795 fanotify_mark.
28796
28797 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28798
28799 * sysdeps/mach/start.c: Remove file.
28800 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28801 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28802 * sysdeps/sh/init-first.c: Likewise.
28803
28804 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28805 registers for frame unwinding purposes, add CFI directives.
28806 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28807 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28808 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28809 Likewise.
28810
28811 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28812 __fortify_fail returning.
28813 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28814
28815 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28816 sysdeps/sh/____longjmp_chk.S.
28817 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28818 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28819 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28820 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28821
28822 * sysdeps/sh/abort-instr.h: New file.
28823 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28824 process in case exit returns.
28825
28826 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28827 initialize the GOT register before use.
28828
28829 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28830 calculation of ARGC > 4.
28831
28832 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28833 meaningful names to some local labels.
28834
28835 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28836 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28837
28838 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28839 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28840 (__arch_compare_and_exchange_val_16_acq): Likewise.
28841 (__arch_compare_and_exchange_val_32_acq): Likewise.
28842 (atomic_exchange_and_add): Fix gUSA sequence.
28843 (atomic_add): Likewise.
28844 (atomic_add_negative): Likewise.
28845 (atomic_add_zero): Likewise.
28846 (atomic_bit_test_set): Likewise.
28847
28848 2012-06-22 Andreas Schwab <schwab@redhat.com>
28849
28850 [BZ #13579]
28851 * include/link.h (struct link_map): Add l_free_initfini.
28852 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28853 l_initfini.
28854 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28855 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28856 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28857 set.
28858
28859 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28860
28861 * configure.in: Use AC_LANG_SOURCE.
28862 * configure: Regenerate.
28863
28864 2012-06-22 Roland McGrath <roland@hack.frob.com>
28865
28866 * configure.in (libc_cv_localstatedir): New substituted variable.
28867 * configure: Regenerated.
28868 * config.make.in (localstatedir): New variable, substituted from
28869 libc_cv_localstatedir.
28870 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28871 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28872 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28873 * sysdeps/gnu/configure: Regenerated.
28874
28875 2012-06-21 Jeff Law <law@redhat.com>
28876
28877 [BZ #14277]
28878 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28879 free. Simplify list management for _LIBC case.
28880
28881 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28882
28883 [BZ #14273]
28884 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28885 Clear sign bit of 64-bit integer value before comparing against
28886 overflow value.
28887
28888 * sysdeps/mach/configure: Regenerated.
28889
28890 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28891
28892 [BZ #14278]
28893 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28894
28895 2012-06-21 Jeff Law <law@redhat.com>
28896
28897 [BZ #13882]
28898 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28899 uint16_t for elements in the "seen" array to avoid char overflows.
28900 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28901 * elf/dl-open.c (dl_open_worker): Likewise.
28902
28903 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28904
28905 * scripts/list-sources.sh: Scan PORTS for translations.
28906 * po/libc.pot: Regenerated.
28907
28908 2012-06-21 Andreas Jaeger <aj@suse.de>
28909
28910 [BZ #12194]
28911 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28912 warning.
28913 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28914 * bits/byteswap-16.h (__bswap_16): Likewise.
28915 * bits/byteswap.h (__bswap_constant_16): Likewise.
28916
28917 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28918
28919 [BZ #14117]
28920 * sysdeps/i386/fpu_control.h: Removed.
28921 * sysdeps/x86_64/fpu_control.h: Moved to ...
28922 * sysdeps/x86/fpu_control.h: Here.
28923
28924 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28925 (_FPU_SETCW): Likewise.
28926
28927 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28928
28929 [BZ #14117]
28930 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28931 * sysdeps/x86/fpu/bits/mathinline.h: This.
28932 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28933
28934 [BZ #14050]
28935 [BZ #14117]
28936 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28937 functions if __x86_64__ is defined.
28938
28939 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28940
28941 * string/endian.h: Add !__ASSEMBLER__ condition for including
28942 conversion interfaces.
28943
28944 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28945
28946 [BZ #14241]
28947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28948 of ABS(x) in calculating zero to negative powers other than odd
28949 integers.
28950 * math/libm-test.inc (pow_test): Add more tests.
28951
28952 2012-06-15 Andreas Jaeger <aj@suse.de>
28953
28954 * manual/contrib.texi (Contributors): Update entry of Liubov
28955 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28956 Machado Filho.
28957
28958 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28959
28960 * string/string.h: Add __wur to GNU version of strerror_r.
28961
28962 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28963
28964 [BZ #14229]
28965 * string/Makefile (tests): Add tst-strtok_r.
28966 * string/tst-strtok_r.c: New file.
28967 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28968 RAX_LP/RDX_LP on SAVE_PTR.
28969
28970 2012-06-14 Roland McGrath <roland@hack.frob.com>
28971
28972 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28973
28974 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28975
28976 * libm_test.inc (csqrt_test): Allow more spurious underflow
28977 exceptions.
28978 (j0_test): Likewise.
28979 (j1_test): Likewise.
28980 (y0_test): Likewise.
28981 (y1_test): Likewise.
28982
28983 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28984
28985 * po/Makefile (libc.pot): Use UTF-8 charset.
28986
28987 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28988
28989 [BZ #14210]
28990 Suppress sign-conversion warning from FD_SET.
28991 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28992 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28993 not unsigned long int.
28994 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28995
28996 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28997
28998 [BZ #14050]
28999 [BZ #14117]
29000 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29001 __extern_always_inline instead of __extern_inline.
29002 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29003 (__signbit): Likewise.
29004 (__signbitl): Support C++ namespace.
29005 (lrintf): New inline function.
29006 (lrint): Likewise.
29007 (llrintf): Likewise.
29008 (llrint): Likewise.
29009 (fmaxf): Likewise.
29010 (fmax): Likewise.
29011 (fminf): Likewise.
29012 (fmin): Likewise.
29013 (rint): Likewise.
29014 (rintf): Likewise.
29015 (ceil): Likewise.
29016 (ceilf): Likewise.
29017 (floor): Likewise.
29018 (floorf): Likewise.
29019 (nearbyint): Likewise.
29020 (nearbyintf): Likewise.
29021
29022 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29023
29024 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29025 non-default versions.
29026
29027 2012-06-11 Roland McGrath <roland@hack.frob.com>
29028
29029 [BZ #14218]
29030 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29031
29032 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29033
29034 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29035 (FE_UPWARD, FE_DOWNWARD): Don't define.
29036 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29037 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29038
29039 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29040 reading it.
29041 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29042 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29043
29044 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29045
29046 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29047 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29048 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29049 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29050
29051 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29052
29053 [BZ #14117]
29054 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29055 * sysdeps/i386/fpu/Implies: New file.
29056 * sysdeps/x86_64/fpu/Implies: Likewise.
29057 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29058 * sysdeps/x86/fpu/bits/fenv.h: This.
29059
29060 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29061 __SSE_MATH__.
29062
29063 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29064
29065 [BZ #14134]
29066 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29067 character 0xffff that matches the last element of the
29068 conversion table.
29069
29070 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29071
29072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29073 fmodl commit.
29074
29075 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29076
29077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29078 values higher than 25.6283.
29079
29080 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29081
29082 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29083 subnormal exponent extraction and add some __builtin_expect.
29084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29085 Fix for subnormal mantissa calculation.
29086
29087 2012-06-04 Mike Frysinger <vapier@gentoo.org>
29088
29089 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29090 cpu2 is -1 and errno is not ENOSYS.
29091
29092 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29093
29094 [BZ #14117]
29095 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29096 * sysdeps/x86/bits/string.h: This.
29097 * sysdeps/x86_64/bits/string.h: Removed.
29098
29099 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29100 if not compiling for x86-64, but compiling for >= i486.
29101
29102 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29103 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29104
29105 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29106 New macro from Linux kernel 3.4.0.
29107 (FP_XSTATE_MAGIC2): Likewise.
29108 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29109 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29110 (struct _fpx_sw_bytes): New struct.
29111 (struct _xsave_hdr): Likewise.
29112 (struct _ymmh_state): Likewise.
29113 (struct _xstate): Likewise.
29114
29115 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29116 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29118 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29120 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29121
29122 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29123 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29124 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29125 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29126 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29127 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29128
29129 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29130
29131 [BZ #13743]
29132 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29133 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29134 (sysdep_headers): Include sys/platform/ppc.h.
29135 * sysdeps/powerpc/test-gettimebase.c: Test for
29136 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29137 * manual/Makefile (appendices): Include platform.texi.
29138 * manual/contrib.texi (Contributors): Update @node pointers.
29139 * manual/maint.texi (Maintenance): Likewise.
29140 (Platform): New node.
29141 * manual/platform.texi: New file. Document the new features.
29142
29143 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29144 Jakub Jelinek <jakub@redhat.com>
29145
29146 [BZ #14188]
29147 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29148 where __builtin_expect is unavailable.
29149
29150 2012-06-03 David S. Miller <davem@davemloft.net>
29151
29152 * stdlib/longlong.h: Updated from GCC.
29153
29154 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29155
29156 [BZ #14042]
29157 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29158 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29159 __mcount_internal.
29160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29161 (GLIBC_2.16): Likewise.
29162
29163 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29164
29165 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29166
29167 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29168
29169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29170 (default-abi): New variable.
29171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29172 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29173 variable.
29174 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29175 Likewise.
29176 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29177 Likewise.
29178 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29179 Likewise.
29180
29181 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29182 definition. Document in comment.
29183
29184 2012-06-01 David S. Miller <davem@davemloft.net>
29185
29186 * stdlib/longlong.h: Updated from GCC.
29187
29188 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29189
29190 [BZ #14117]
29191 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29192 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29193 sys/debugreg.h sys/io.h here.
29194 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29195 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29196 sys/io.h.
29197 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29198 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29199 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29200 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29201 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29202 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29203
29204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29205 Define only if __x86_64__ is defined.
29206
29207 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29208
29209 [BZ #14048]
29210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29211 Use int64_t for variable i.
29212 * math/libm-test.inc (fmod_test): Add more tests.
29213
29214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29215 z computation is not scheduled after fetestexcept.
29216 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29217 Use math_force_eval instead of asm to ensure calculation scheduled
29218 before exception test.
29219 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29220 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29221
29222 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29223
29224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29225 computation is not scheduled after fetestexcept.
29226
29227 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29228
29229 [BZ #14117]
29230 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29231 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29232
29233 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29234
29235 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29236 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29237
29238 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29239
29240 [BZ #14117]
29241 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29242 <bits/wordsize.h>.
29243 (__WCHAR_MIN): Support __WORDSIZE == 64.
29244 (__WCHAR_MAX): Likewise.
29245
29246 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29248
29249 [BZ #14183]
29250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29251 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29252
29253 [BZ #14117]
29254 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29255 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29256
29257 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29258 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29259
29260 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29261 Defined to 1 if __x86_64__ isn't defined.
29262 (_STAT_VER_LINUX_OLD): New.
29263 (st_atime): Remove duplicate.
29264 (st_mtime): Likewise.
29265 (st_ctime): Likewise.
29266
29267 2012-05-31 David S. Miller <davem@davemloft.net>
29268
29269 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29270 entries.
29271
29272 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29273
29274 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29275 gen-libm-test.pl.
29276
29277 [BZ #14132]
29278 * elf/dl-reloc.c: Include <_itoa.h>.
29279 (_dl_reloc_bad_type): Remove use of INTUSE.
29280 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29281 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29282 * stdio-common/psiginfo.c (psiginfo): Likewise.
29283 * stdio-common/psignal.c (psignal): Likewise.
29284 * string/strsignal.c (strsignal): Likewise.
29285 * include/signal.h (_sys_siglist): Declare hidden proto.
29286 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29287 INTVARDEF with libc_hidden_data_def.
29288 * stdio-common/itoa-udigits.c: Likewise.
29289 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29290 (_itoa_lower_digits_internal): Remove declaration.
29291 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29292 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29293 (_sys_sigabbrev_internal): Remove aliases.
29294 (_sys_siglist): Define hidden alias.
29295
29296 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29297
29298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29299 bits/sysctl.h.
29300
29301 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29302
29303 [BZ #14117]
29304 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29305 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29306
29307 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29308 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29309 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29310 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29311 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29312 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29313
29314 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29315 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29316 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29317
29318 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29319 with __addr.
29320 (insw): Likewise.
29321 (insl): Likewise.
29322 (outsb): Likewise.
29323 (outsw): Likewise.
29324 (outsl): Likewise.
29325
29326 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29327 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29328 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29329
29330 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29331 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29332 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29333 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29334 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29335 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29336
29337 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29338 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29339
29340 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29341 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29342
29343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29345 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29346
29347 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29348 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29349 to ...
29350 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29351
29352 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29353 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29354 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29355
29356 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29357 for x86-64.
29358 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29359
29360 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29361
29362 * math/math.h (M_El): Use two more decimal places.
29363 (M_LOG2El): Likewise.
29364 (M_LOG10El): Likewise.
29365 (M_LN2l): Likewise.
29366 (M_LN10l): Likewise.
29367 (M_PIl): Likewise.
29368 (M_PI_2l): Likewise.
29369 (M_PI_4l): Likewise.
29370 (M_1_PIl): Likewise.
29371 (M_2_PIl): Likewise.
29372 (M_2_SQRTPIl): Likewise.
29373 (M_SQRT2l): Likewise.
29374 (M_SQRT1_2l): Likewise.
29375
29376 2012-05-31 David S. Miller <davem@davemloft.net>
29377
29378 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29379 values between float registers.
29380 * sysdeps/sparc/sparc64/memset.S: Likewise.
29381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29382
29383 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29384
29385 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29386 -D_FORTIFY_SOURCE=1.
29387 (CPPFLAGS-tst-longjmp_chk.c): Define.
29388 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29389 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29390 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29391 CFLAGS-tst-wchar-h.c.
29392
29393 2012-05-31 Marek Polacek <polacek@redhat.com>
29394
29395 [BZ #14132]
29396 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29397 __endmntent_internal): Remove declaration.
29398 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29399 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29400 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29401
29402 2012-05-30 David S. Miller <davem@davemloft.net>
29403
29404 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29405 (___Q_simulate_exceptions): Use real FP ops rather than writing
29406 into the %fsr.
29407 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29408 Likewise.
29409
29410 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29411
29412 [BZ #14117]
29413 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29414 * sysdeps/x86/bits/xtitypes.h: This.
29415
29416 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29417 * sysdeps/x86/bits/wordsize.h: This.
29418
29419 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29420 * sysdeps/x86/bits/huge_vall.h: This.
29421
29422 * sysdeps/i386/bits/select.h: Removed.
29423 * sysdeps/x86_64/bits/select.h: Renamed to ...
29424 * sysdeps/x86/bits/select.h: This.
29425
29426 * sysdeps/i386/bits/setjmp.h: Removed.
29427 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29428 * sysdeps/x86/bits/setjmp.h: This.
29429
29430 * sysdeps/i386/bits/mathdef.h: Removed.
29431 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29432 * sysdeps/x86/bits/mathdef.h: This.
29433
29434 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29435
29436 [BZ #14132]
29437 * include/sys/socket.h (__connect_internal)
29438 (__libc_sa_len_internal): Remove declaration.
29439 (__connect, __libc_sa_len): Declare hidden_proto.
29440 (SA_LEN): Remove use of INTUSE.
29441 * socket/connect.c: Add libc_hidden_def.
29442 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29443 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29444 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29445 alias.
29446 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29447 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29448 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29449 of adding _internal alias.
29450
29451 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29452
29453 [BZ #14117]
29454 * sysdeps/i386/bits/link.h: Removed.
29455 * sysdeps/i386/bits/linkmap.h: Likewise.
29456 * sysdeps/x86_64/bits/link.h: Renamed to ...
29457 * sysdeps/x86/bits/link.h: This.
29458 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29459 * sysdeps/x86/bits/linkmap.h: This.
29460
29461 * sysdeps/i386/bits/endian.h: Removed.
29462 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29463 * sysdeps/x86/bits/endian.h: This.
29464
29465 * sysdeps/i386/bits/byteswap.h: Removed.
29466 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29467 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29468 * sysdeps/x86/bits/byteswap.h: This.
29469 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29470 * sysdeps/x86/bits/byteswap-16.h: This.
29471 * sysdeps/i386/Implies: Add x86.
29472 * sysdeps/x86_64/Implies: Likewise.
29473
29474 2012-05-30 David S. Miller <davem@davemloft.net>
29475
29476 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29477 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29478 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29479 (FP_TRAPPING_EXCEPTIONS): Define.
29480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29481 (FP_TRAPPING_EXCEPTIONS): Define.
29482 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29483 subnormals only when inexact has been signalled or underflow
29484 exceptions are enabled.
29485 (_FP_PACK_CANONICAL): Likewise.
29486
29487 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29488
29489 [BZ #14183]
29490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29491 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29492
29493 2012-05-30 Richard Henderson <rth@twiddle.net>
29494
29495 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29496 with #ifndef NOT_IN_libc.
29497
29498 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29499 marked to avoid plt entry.
29500
29501 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29502
29503 [BZ #14112]
29504 * Makeconfig (default-abi): New macro.
29505 (abi-includes): Likewise.
29506 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29507 $(abi-$(default-abi)-lib-soname) for soname if defined.
29508 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29509 abi-variants.
29510 * Makefile (installed-stubs): Likewise.
29511 * include/stubs-biarch.h: Removed.
29512 * scripts/lib-names.awk: Only handle one library at a time.
29513 * scripts/soversions.awk: Remove WORDSIZE support.
29514 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29515 entries.
29516 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29517 Removed.
29518 (syscall-list-default-condition): Likewise.
29519 (syscall-list-default-condition): Likewise.
29520 (syscall-list-includes): Likewise.
29521 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29522 syscall-list-* with abi-*. Handle undefined abi-variants.
29523 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29524 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29525 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29526 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29527 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29528 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29529 Removed.
29530 (syscall-list-32-options): Likewise.
29531 (syscall-list-32-condition): Likewise.
29532 (syscall-list-64-options): Likewise.
29533 (syscall-list-64-condition): Likewise.
29534 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29535 macro.
29536 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29537 Renamed to ...
29538 (abi-*): This.
29539 (abi-64-ld-soname): New macro.
29540 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29541 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29542 Renamed to ...
29543 (abi-*): This.
29544 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29545 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29546
29547 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29548
29549 * sysdeps/unix/sysv/linux/kernel-features.h
29550 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29551 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29552 include <kernel-features.h>.
29553 [!__NR_ftruncate64]: Remove conditional code.
29554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29555 [__NR_ftruncate64]: Make code unconditional.
29556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29557 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29558 include <kernel-features.h>.
29559 [!__NR_ftruncate64]: Remove conditional code.
29560 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29561 [__NR_ftruncate64]: Make code unconditional.
29562 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29564 include <kernel-features.h>.
29565 [!__NR_ftruncate64]: Remove conditional code.
29566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29567 [__NR_ftruncate64]: Make code unconditional.
29568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29570 include <kernel-features.h>.
29571 [!__NR_ftruncate64]: Remove conditional code.
29572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29573 [__NR_ftruncate64]: Make code unconditional.
29574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29575
29576 * configure.in (libc_cv_fpie): Weaken to a compile test using
29577 LIBC_TRY_CC_OPTION.
29578 * configure: Regenerated.
29579
29580 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29581
29582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29586 Refreshed.
29587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29593 Refreshed.
29594
29595 2012-05-27 David S. Miller <davem@davemloft.net>
29596
29597 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29598 (___Q_zero): New.
29599 (__Q_simulate_exceptions): Return void. Change to simulate
29600 exceptions by writing into the %fsr.
29601 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29602 (__Qp_handle_exceptions): Likewise.
29603 (numbers): Delete.
29604 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29605 __Qp_handle_exceptions.
29606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29607 __Qp_handle_exceptions.
29608 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29609 as unused and give dummy FP_RND_NEAREST initializer.
29610 (FP_INHIBIT_RESULTS): Define.
29611 (___Q_simulate_exceptions): Update declaration.
29612 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29613 formatting.
29614 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29615 as unused and give dummy FP_RND_NEAREST initializer.
29616 (__Qp_handle_exceptions): Update declaration.
29617 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29618 formatting.
29619
29620 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29621
29622 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29623 the temporary FPU control word.
29624 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29625 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29626 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29627 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29628 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29629 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29630 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29631 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29632 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29633 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29634 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29635
29636 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29637
29638 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29639 fields.
29640
29641 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29642
29643 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29644 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29645 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29646 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29647 Likewise.
29648 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29649 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29650 Likewise.
29651
29652 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29653
29654 * po/h.po: Update from translation team.
29655
29656 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29657
29658 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29659
29660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29661 handling of denormals.
29662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29663 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29664 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29665 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29669 Likewise.
29670
29671 2012-05-26 Marek Polacek <polacek@redhat.com>
29672
29673 [BZ #14152]
29674 * math/libm-test.inc (fma_test): Don't always expect underflow
29675 exception.
29676
29677 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29678
29679 [BZ #12416]
29680 * elf/tst-execstack.c: Include stackinfo.h.
29681 (do_test): Adjust test case to ensure that pthread_getattr_np
29682 behaviour remains the same after marking stack executable.
29683
29684 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29685
29686 * sysdeps/unix/sysv/linux/kernel-features.h
29687 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29688 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29689 kernel-features.h.
29690 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29691 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29692 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29693 kernel-features.h.
29694 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29695 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29696
29697 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29698
29699 * configure.in: Define the default includes to being none.
29700 * configure: Regenerated.
29701
29702 2012-05-25 Roland McGrath <roland@hack.frob.com>
29703
29704 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29705 * sysdeps/x86_64/setjmp.S: Likewise.
29706 * sysdeps/i386/bsd-setjmp.S: Likewise.
29707 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29708 * sysdeps/i386/setjmp.S: Likewise.
29709 * sysdeps/i386/__longjmp.S: Likewise.
29710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29711 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29712
29713 * include/stap-probe.h: New file.
29714 * configure.in: Handle --enable-systemtap.
29715 * configure: Regenerated.
29716 * config.h.in (USE_STAP_PROBE): New #undef.
29717 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29718 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29719 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29720
29721 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29722
29723 [BZ #13717]
29724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29725 to 2.4.0 where earlier.
29726 * sysdeps/unix/sysv/linux/configure: Regenerated.
29727 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29728 <kernel-features.h>.
29729 [__ASSUME_32BITUIDS]: Make code unconditional.
29730 [!__ASSUME_32BITUIDS]: Remove conditional code.
29731 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29732 <kernel-features.h>.
29733 [__ASSUME_32BITUIDS]: Make code unconditional.
29734 [!__ASSUME_32BITUIDS]: Remove conditional code.
29735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29736 [__ASSUME_32BITUIDS]: Make code unconditional.
29737 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29738 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29739 <kernel-features.h>.
29740 [__ASSUME_32BITUIDS]: Make code unconditional.
29741 [!__ASSUME_32BITUIDS]: Remove conditional code.
29742 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29743 <kernel-features.h>.
29744 [__ASSUME_32BITUIDS]: Make code unconditional.
29745 [!__ASSUME_32BITUIDS]: Remove conditional code.
29746 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29747 <kernel-features.h>.
29748 [__ASSUME_32BITUIDS]: Make code unconditional.
29749 [!__ASSUME_32BITUIDS]: Remove conditional code.
29750 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29751 <kernel-features.h>.
29752 [__ASSUME_32BITUIDS]: Make code unconditional.
29753 [!__ASSUME_32BITUIDS]: Remove conditional code.
29754 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29755 <kernel-features.h>.
29756 [__ASSUME_32BITUIDS]: Make code unconditional.
29757 [!__ASSUME_32BITUIDS]: Remove conditional code.
29758 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29759 <kernel-features.h>.
29760 [__ASSUME_32BITUIDS]: Make code unconditional.
29761 [!__ASSUME_32BITUIDS]: Remove conditional code.
29762 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29763 <kernel-features.h>.
29764 [__ASSUME_32BITUIDS]: Make code unconditional.
29765 [!__ASSUME_32BITUIDS]: Remove conditional code.
29766 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29767 <kernel-features.h>.
29768 [__ASSUME_32BITUIDS]: Make code unconditional.
29769 [!__ASSUME_32BITUIDS]: Remove conditional code.
29770 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29771 <kernel-features.h>.
29772 [__ASSUME_32BITUIDS]: Make code unconditional.
29773 [!__ASSUME_32BITUIDS]: Remove conditional code.
29774 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29775 <kernel-features.h>.
29776 [__ASSUME_32BITUIDS]: Make code unconditional.
29777 [!__ASSUME_32BITUIDS]: Remove conditional code.
29778 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29779 <kernel-features.h>.
29780 [__NR_setresgid] (__setresgid): Do not declare.
29781 [__ASSUME_32BITUIDS]: Make code unconditional.
29782 [!__ASSUME_32BITUIDS]: Remove conditional code.
29783 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29784 <kernel-features.h>.
29785 [__NR_setresuid] (__setresuid): Do not declare.
29786 [__ASSUME_32BITUIDS]: Make code unconditional.
29787 [!__ASSUME_32BITUIDS]: Remove conditional code.
29788 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29789 <kernel-features.h>.
29790 [__ASSUME_32BITUIDS]: Make code unconditional.
29791 [!__ASSUME_32BITUIDS]: Remove conditional code.
29792 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29793 <kernel-features.h>.
29794 [__ASSUME_32BITUIDS]: Make code unconditional.
29795 [!__ASSUME_32BITUIDS]: Remove conditional code.
29796 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29797 <kernel-features.h>.
29798 [__ASSUME_32BITUIDS]: Make code unconditional.
29799 [!__ASSUME_32BITUIDS]: Remove conditional code.
29800 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29801 <kernel-features.h>.
29802 [__ASSUME_32BITUIDS]: Make code unconditional.
29803 [!__ASSUME_32BITUIDS]: Remove conditional code.
29804 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29805 <kernel-features.h>.
29806 [__ASSUME_32BITUIDS]: Make code unconditional.
29807 [!__ASSUME_32BITUIDS]: Remove conditional code.
29808 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29809 <kernel-features.h>.
29810 [__ASSUME_32BITUIDS]: Make code unconditional.
29811 [!__ASSUME_32BITUIDS]: Remove conditional code.
29812 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29813 <kernel-features.h>.
29814 [__ASSUME_32BITUIDS]: Make code unconditional.
29815 [!__ASSUME_32BITUIDS]: Remove conditional code.
29816 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29817 <kernel-features.h>.
29818 [__ASSUME_32BITUIDS]: Make code unconditional.
29819 [!__ASSUME_32BITUIDS]: Remove conditional code.
29820 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29821 <kernel-features.h>.
29822 [__ASSUME_32BITUIDS]: Make code unconditional.
29823 [!__ASSUME_32BITUIDS]: Remove conditional code.
29824 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29825 <kernel-features.h>.
29826 [__ASSUME_32BITUIDS]: Make code unconditional.
29827 [!__ASSUME_32BITUIDS]: Remove conditional code.
29828 * sysdeps/unix/sysv/linux/kernel-features.h
29829 (__ASSUME_SETRESUID_SYSCALL): Remove.
29830 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29831 (__ASSUME_32BITUIDS): Likewise.
29832 (__ASSUME_LDT_WORKS): Likewise.
29833 (__ASSUME_O_DIRECTORY): Likewise.
29834 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29835 architecture but not kernel version.
29836 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29837 (__ASSUME_MMAP2_SYSCALL): Likewise.
29838 (__ASSUME_STAT64_SYSCALL): Likewise.
29839 (__ASSUME_IPC64): Likewise.
29840 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29841 <kernel-features.h>.
29842 [__ASSUME_32BITUIDS]: Make code unconditional.
29843 [!__ASSUME_32BITUIDS]: Remove conditional code.
29844 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29845 <kernel-features.h>.
29846 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29847 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29848 132096]: Remove conditional code.
29849 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29850 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29851 <kernel-features.h>.
29852 [__ASSUME_32BITUIDS]: Make code unconditional.
29853 [!__ASSUME_32BITUIDS]: Remove conditional code.
29854 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29855 <kernel-features.h>.
29856 [__ASSUME_32BITUIDS]: Make code unconditional.
29857 [!__ASSUME_32BITUIDS]: Remove conditional code.
29858 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29859 <kernel-features.h>.
29860 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29861 unconditional.
29862 (__setresgid): Do not declare.
29863 [__ASSUME_32BITUIDS]: Make code unconditional.
29864 [!__ASSUME_32BITUIDS]: Remove conditional code.
29865 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29866 <kernel-features.h>.
29867 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29868 unconditional.
29869 (__setresuid): Do not declare.
29870 [__ASSUME_32BITUIDS]: Make code unconditional.
29871 [!__ASSUME_32BITUIDS]: Remove conditional code.
29872 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29873 <kernel-features.h>.
29874 [__ASSUME_32BITUIDS]: Make code unconditional.
29875 [!__ASSUME_32BITUIDS]: Remove conditional code.
29876 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29877 <kernel-features.h>.
29878 [__ASSUME_32BITUIDS]: Make code unconditional.
29879 [!__ASSUME_32BITUIDS]: Remove conditional code.
29880
29881 2012-05-25 Richard Henderson <rth@twiddle.net>
29882
29883 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29884 dl_hwcap to ifunc resolver.
29885 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29886 elf_ifunc_invoke.
29887 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29888 dl_hwcap to ifunc resolver.
29889 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29890
29891 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29892
29893 [BZ #14153]
29894 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29895 for |x| <= 2**-26, not 2**-57.
29896 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29897 exception.
29898
29899 2012-05-24 Jeff Law <law@redhat.com>
29900
29901 * stdio-common/Makefile (tests): Add bug25.
29902 * stdio-common/bug25.c: New test.
29903
29904 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29905
29906 [BZ #13576]
29907 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29908 multiple of MALLOC_ALIGNMENT in size.
29909 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29910
29911 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29912
29913 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29914 Require >= 256.
29915 (FILENAME_MAX): Use macro-int-constant.
29916 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29917 (_IOFBF): Use macro-int-constant.
29918 (_IOLBF): Likewise.
29919 (_IONBF): Likewise.
29920 (SEEK_CUR): Likewise.
29921 (SEEK_END): Likewise.
29922 (SEEK_SET): Likewise.
29923 (TMP_MAX): Likewise.
29924 (EOF): Use macro-int-constant. Require < 0.
29925 (NULL): Use macro-constant. Require == 0.
29926 (stdin): Require type to be FILE *.
29927 (stdout): Likewise.
29928 (stderr): Likewise.
29929 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29930 macro-int-constant.
29931 (EXIT_SUCCESS): Likewise.
29932 (NULL): Use macro-constant. Require == 0.
29933 (RAND_MAX): Use macro-int-constant.
29934 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29935 [C99-based standards] (strtof): Require function.
29936 [C99-based standards] (strtold): Likewise.
29937 [C99-based standards] (strtoll): Likewise.
29938 [C99-based standards] (strtoull): Likewise.
29939 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29940 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29941 [ISO || ISO99 || ISO11] (math.h): Likewise.
29942 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29943 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29945
29946 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29947
29948 [BZ #14132]
29949 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29950 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29951 * intl/dgettext.c (DCGETTEXT): Likewise.
29952 * intl/gettext.c (DCGETTEXT): Likewise.
29953 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29954 * posix/regex_internal.h (gettext): Likewise.
29955 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29956 Remove declaration.
29957 * include/argz.h (__argz_count_internal)
29958 (__argz_stringify_internal): Remove declaration.
29959 (__argz_count, __argz_stringify): Declare hidden proto.
29960 * intl/dcgettext.c: Remove use of INTDEF.
29961 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29962 * string/argz-stringify.c: Likewise.
29963 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29964 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29965 Declare hidden proto.
29966 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29967 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29968 Declare hidden proto.
29969 * include/stdio.h (__asprintf_internal): Don't declare.
29970 (__asprintf): Don't define as macro. Declare hidden proto.
29971 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29972 (__fsetlocking): Declare hidden proto.
29973 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29974 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29975 hidden proto.
29976 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29977 (_IO_setlinebuf): Remove use of INTUSE.
29978 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29979 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29980 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29981 Remove declaration.
29982 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29983 (_IO_do_flush): Remove use of INTUSE.
29984 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29985 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29986 (_IO_adjust_column, _IO_least_wmarker)
29987 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29988 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29989 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29990 (_IO_default_doallocate, _IO_wdefault_doallocate)
29991 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29992 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29993 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29994 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29995 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29996 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29997 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29998 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29999 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30000 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30001 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30002 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30003 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30004 proto.
30005 (_IO_flush_all_internal, _IO_adjust_column_internal)
30006 (_IO_default_uflow_internal, _IO_default_finish_internal)
30007 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30008 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30009 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30010 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30011 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30012 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30013 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30014 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30015 (_IO_file_close_internal, _IO_file_close_it_internal)
30016 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30017 (_IO_file_init_internal, _IO_file_attach_internal)
30018 (_IO_file_fopen_internal, _IO_file_read_internal)
30019 (_IO_file_sync_internal, _IO_file_seek_internal)
30020 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30021 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30022 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30023 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30024 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30025 (_IO_list_all_internal, _IO_link_in_internal)
30026 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30027 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30028 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30029 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30030 (_IO_do_write_internal, _IO_padn_internal)
30031 (_IO_getline_info_internal, _IO_getline_internal)
30032 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30033 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30034 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30035 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30036 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30037 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30038 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30039 with libc_hidden_ver, remove use of INTUSE.
30040 * libio/genops.c: Likewise.
30041 * libio/freopen.c: Likewise.
30042 * libio/freopen64.c: Likewise.
30043 * libio/iofclose.c: Likewise.
30044 * libio/iofdopen.c: Likewise.
30045 * libio/iofflush.c: Likewise.
30046 * libio/iofflush_u.c: Likewise.
30047 * libio/iofgets.c: Likewise.
30048 * libio/iofgets_u.c: Likewise.
30049 * libio/iofopen.c: Likewise.
30050 * libio/iofopncook.c: Likewise.
30051 * libio/iofread.c: Likewise.
30052 * libio/iofread_u.c: Likewise.
30053 * libio/ioftell.c: Likewise.
30054 * libio/iofwrite.c: Likewise.
30055 * libio/iogetline.c: Likewise.
30056 * libio/iogets.c: Likewise.
30057 * libio/iogetwline.c: Likewise.
30058 * libio/iopadn.c: Likewise.
30059 * libio/iopopen.c: Likewise.
30060 * libio/ioseekoff.c: Likewise.
30061 * libio/ioseekpos.c: Likewise.
30062 * libio/iosetbuffer.c: Likewise.
30063 * libio/iosetvbuf.c: Likewise.
30064 * libio/ioungetc.c: Likewise.
30065 * libio/ioungetwc.c: Likewise.
30066 * libio/iovdprintf.c: Likewise.
30067 * libio/iovsprintf.c: Likewise.
30068 * libio/iovsscanf.c: Likewise.
30069 * libio/memstream.c: Likewise.
30070 * libio/obprintf.c: Likewise.
30071 * libio/oldfileops.c: Likewise.
30072 * libio/oldiofclose.c: Likewise.
30073 * libio/oldiofdopen.c: Likewise.
30074 * libio/oldiofopen.c: Likewise.
30075 * libio/oldiopopen.c: Likewise.
30076 * libio/oldstdfiles.c: Likewise.
30077 * libio/putc.c: Likewise.
30078 * libio/setbuf.c: Likewise.
30079 * libio/setlinebuf.c: Likewise.
30080 * libio/stdfiles.c: Likewise.
30081 * libio/strops.c: Likewise.
30082 * libio/vasprintf.c: Likewise.
30083 * libio/vscanf.c: Likewise.
30084 * libio/vsnprintf.c: Likewise.
30085 * libio/vswprintf.c: Likewise.
30086 * libio/wfiledoalloc.c: Likewise.
30087 * libio/wfileops.c: Likewise.
30088 * libio/wgenops.c: Likewise.
30089 * libio/wmemstream.c: Likewise.
30090 * libio/wstrops.c: Likewise.
30091 * libio/__fpurge.c: Likewise.
30092 * libio/__fsetlocking.c: Likewise.
30093 * assert/assert.c: Likewise.
30094 * debug/fgets_chk.c: Likewise.
30095 * debug/fgets_u_chk.c: Likewise.
30096 * debug/fread_chk.c: Likewise.
30097 * debug/fread_u_chk.c: Likewise.
30098 * debug/gets_chk.c: Likewise.
30099 * debug/obprintf_chk.c: Likewise.
30100 * debug/vasprintf_chk.c: Likewise.
30101 * debug/vdprintf_chk.c: Likewise.
30102 * debug/vsnprintf_chk.c: Likewise.
30103 * debug/vsprintf_chk.c: Likewise.
30104 * malloc/mtrace.c: Likewise.
30105 * misc/error.c: Likewise.
30106 * misc/syslog.c: Likewise.
30107 * stdio-common/asprintf.c: Likewise.
30108 * stdio-common/fxprintf.c: Likewise.
30109 * stdio-common/getw.c: Likewise.
30110 * stdio-common/isoc99_fscanf.c: Likewise.
30111 * stdio-common/isoc99_scanf.c: Likewise.
30112 * stdio-common/isoc99_vfscanf.c: Likewise.
30113 * stdio-common/isoc99_vscanf.c: Likewise.
30114 * stdio-common/isoc99_vsscanf.c: Likewise.
30115 * stdio-common/printf-prs.c: Likewise.
30116 * stdio-common/printf_fp.c: Likewise.
30117 * stdio-common/printf_fphex.c: Likewise.
30118 * stdio-common/printf_size.c: Likewise.
30119 * stdio-common/putw.c: Likewise.
30120 * stdio-common/scanf.c: Likewise.
30121 * stdio-common/sprintf.c: Likewise.
30122 * stdio-common/tmpfile.c: Likewise.
30123 * stdio-common/vfprintf.c: Likewise.
30124 * stdio-common/vfscanf.c: Likewise.
30125 * stdlib/strfmon_l.c: Likewise.
30126 * sunrpc/openchild.c: Likewise.
30127 * sunrpc/xdr_stdio.c: Likewise.
30128 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30129 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30130
30131 2012-05-24 Roland McGrath <roland@hack.frob.com>
30132
30133 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30134
30135 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30136 in the third column, to generate for the shared library an IFUNC
30137 that uses _dl_vdso_vsym.
30138 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30139 * Makeconfig (object-suffixes-noshared): New variable.
30140
30141 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30142 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30143 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30144 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30145
30146 [BZ #14132]
30147 * include/sys/time.h (__gettimeofday): Remove macro.
30148 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30149 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30150 Remove INTDEF.
30151 (__gettimeofday): Add libc_hidden_def.
30152 (gettimeofday): Add libc_hidden_weak.
30153 * sysdeps/mach/gettimeofday.c: Likewise.
30154 * sysdeps/posix/gettimeofday.c: Likewise.
30155 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30156 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30158 (__gettimeofday_internal): Remove strong_alias.
30159 (__gettimeofday): Add libc_hidden_def.
30160 (gettimeofday): Add libc_hidden_weak.
30161 * sysdeps/unix/syscalls.list (gettimeofday):
30162 Remove __gettimeofday_internal alias.
30163
30164 2012-05-24 Daniel Jacobowitz <drow@false.org>
30165 H.J. Lu <hongjiu.lu@intel.com>
30166
30167 [BZ #12495]
30168 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30169 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30170 (largebin_index_32_big): New.
30171 (largebin_index): Use it for 16-byte alignment.
30172 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30173 correction with front_misalign.
30174
30175 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30176
30177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30179 Likewise.
30180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30181 Likewise.
30182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30183 Likewise.
30184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30185 Likewise.
30186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30187 Likewise.
30188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30189 Likewise.
30190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30191 Likewise.
30192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30193 Likewise.
30194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30195 Likewise.
30196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30197 Likewise.
30198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30199 Likewise.
30200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30201 Likewise.
30202
30203 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30204 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30205
30206 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30207
30208 [BZ #10846]
30209 [BZ #14036]
30210 * math/libm-test.inc (exp_test): Add test from bug 14036.
30211 (pow_test): Add test from bug 10846.
30212
30213 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30214 and other flags.
30215 (special_function): Do not include flags in test name.
30216 (parse_args): Likewise.
30217 * sysdeps/i386/fpu/libm-test-ulps: Update.
30218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30219 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30220 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30222
30223 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30224 exceptions.
30225 * math/libm-test.inc ("Philosophy"): Update comment about
30226 exception testing.
30227 (UNDERFLOW_EXCEPTION): New macro.
30228 (UNDERFLOW_EXCEPTION_OK): Likewise.
30229 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30230 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30231 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30232 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30233 (INVALID_EXCEPTION_OK): Update value.
30234 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30235 (OVERFLOW_EXCEPTION_OK): Likewise.
30236 (IGNORE_ZERO_INF_SIGN): Likewise.
30237 (test_exceptions): Handle underflow exceptions.
30238 (acos_test): Update for underflow exception expectations.
30239 (cexp_test): Likewise.
30240 (clog_test): Likewise.
30241 (clog10_test): Likewise.
30242 (csqrt_test): Likewise.
30243 (ctan_test): Likewise.
30244 (ctanh_test): Likewise.
30245 (exp_test): Likewise.
30246 (exp10_test): Likewise.
30247 (exp2_test): Likewise.
30248 (expm1_test): Likewise.
30249 (fma_test): Likewise.
30250 (j0_test): Likewise.
30251 (jn_test): Likewise.
30252 (nexttoward_test): Likewise.
30253 (pow_test): Likewise.
30254 (scalbn_test): Likewise.
30255 (scalbln_test): Likewise.
30256 (tan_test): Likewise.
30257 (y1_test): Likewise.
30258 * sysdeps/i386/fpu/libm-test-ulps: Update.
30259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30260
30261 2012-05-23 David S. Miller <davem@davemloft.net>
30262
30263 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30264 (__libc_sigaction): Remove unused local variables.
30265
30266 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30267
30268 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30269
30270 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30271
30272 mktime: avoid signed integer overflow
30273 * time/mktime.c (__mktime_internal): Do not mishandle the case
30274 where diff == INT_MIN.
30275
30276 mktime: simplify computation of average
30277 * time/mktime.c (ranged_convert): Use new time_t_avg function
30278 instead of rolling our own (probably-slower) code.
30279
30280 mktime: do not assume signed right shift propagates sign bit
30281 * time/mktime.c (isdst_differ): New static function.
30282 (__mktime_internal): No need to normalize tm_isdst now.
30283 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30284 tm_isdst values.
30285
30286 mktime: merge another wrapv change from gnulib
30287 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30288 from some compilers.
30289
30290 mktime: remove incorrect attempt at unusual arithmetics
30291 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30292 The code didn't really work on such machines anyway.
30293 (TYPE_MINIMUM): Assume two's complement.
30294 (twos_complement_arithmetic): Verify that long_int and time_t
30295 are two's complement (or unsigned, in the latter case).
30296
30297 mktime: check signed shifts on long_int and time_t, too
30298 * time/mktime.c (SHR): Check that shifts work as desired
30299 on the types long_int and time_t too, as SHR is used on
30300 such types.
30301
30302 mktime: do not assume 'long' is wide enough
30303 * time/mktime.c (verify): Move decl up.
30304 (long_int): New type.
30305 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30306 to remove assumption in the code that 'long' is wide enough to
30307 store year values. This assumption is not true on x32 and on
30308 some non-glibc platforms.
30309
30310 mktime: merge wrapv change from gnulib
30311 * time/mktime.c (WRAPV): New macro.
30312 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30313 (guess_time_tm, __mktime_internal): Do not assume that signed
30314 integer overflow wraps around; modern compilers generate code
30315 where this assumption is no longer valid.
30316
30317 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30318
30319 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30320 Replace "jmp L(pseudo_end)" with "ret".
30321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30322 Likewise.
30323
30324 2012-05-23 Andreas Jaeger <aj@suse.de>
30325
30326 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30327 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30328
30329 2012-05-23 Andreas Jaeger <aj@suse.de>
30330 Maximilian Attems <max@stro.at>
30331
30332 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30333 New macros.
30334
30335 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30336
30337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30338 code so that pseudo_end is just ret and the stack pointer is
30339 correct also for static library in error case.
30340
30341 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30342
30343 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30344 move to syscalls.list.
30345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30349
30350 * manual/install.texi (Running make install): Do not mention Linux
30351 kernel version for which pt_chown is not needed.
30352 (Linux): Do not mention problems with nscd with 2.0 kernels.
30353 * INSTALL: Regenerated.
30354
30355 2012-05-23 Andreas Jaeger <aj@suse.de>
30356
30357 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30358 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30359 macro.
30360 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30361 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30362 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30363 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30364 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30365 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30366 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30367 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30368 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30369 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30370 * sysdeps/unix/sysv/linux/bits/in.h
30371 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30372
30373 2012-05-22 Roland McGrath <roland@hack.frob.com>
30374
30375 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30376 (PREPARE_VERSION): Just use assert instead, it will be elided
30377 under [NDEBUG] anyway.
30378
30379 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30380
30381 * sysdeps/unix/sysv/linux/Makefile: Include
30382 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30383 (sysdep_routines): Remove sysctl.
30384 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30385 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30386 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30387 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30388 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30389
30390 2012-05-22 Andreas Jaeger <aj@suse.de>
30391
30392 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30393 that pseudo_end is just ret and the stack pointer is correct also
30394 for static library in error case.
30395
30396 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30397
30398 [BZ #14122]
30399 * nss/nsswitch.c (defconfig_entries): New variable.
30400 (__nss_database_lookup): Don't leak defconfig entries.
30401 (nss_parse_service_list): Don't leak on error paths.
30402 (free_database_entries): New function.
30403 (free_defconfig): New function.
30404 (free_mem): Move common code to free_database_entries.
30405
30406 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30407
30408 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30409 Add arch_prctl.
30410 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30411
30412 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30413 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30415 New macro.
30416 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30417 (INTERNAL_SYSCALL_TYPES): Likewise.
30418 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30419 (LOAD_REGS_TYPES_[1-6]): Likewise.
30420 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30421 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30422
30423 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30424
30425 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30426 copysignl for GLIBC_2_0.
30427 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30428 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30430 logbl for GLIBC_2_0.
30431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30432 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30433
30434 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30435
30436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30437 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30438
30439 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30440 Use "neg %eax".
30441
30442 * time/mktime.c: Update copyright years.
30443
30444 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30445
30446 mktime: merge comment-quoting-style change from gnulib
30447 * time/mktime.c: Quote 'like this' in comments.
30448 The GNU coding standards suggest that we no longer quote `like this',
30449 as "`" and "'" are typically rendered asymmetrically nowadays.
30450 The typical gnulib style is to quote 'like this' when quoting
30451 code, and "like this" when quoting English.
30452
30453 * time/mktime.c (compile-command): Add "-I.".
30454
30455 mktime: merge mktime-internal.h change from gnulib
30456 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30457
30458 mktime: merge time_r change from gnulib
30459 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30460
30461 mktime: merge DEBUG change from gnulib
30462 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30463 case system <time.h> has a #define.
30464
30465 mktime: merge <sys/types.h> change from gnulib
30466 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30467 since <time.t> is now guaranteed to define time_t.
30468
30469 mktime: merge HAVE_CONFIG_H change from gnulib
30470 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30471
30472 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30473
30474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30475 Use "neg %eax".
30476
30477 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30478 __rlim_t cast.
30479 (struct rusage): Use anonymous union to pad each field to
30480 __syscall_slong_t.
30481
30482 2012-05-21 David S. Miller <davem@davemloft.net>
30483
30484 * Makefules (o-iterator): Remove .s cases.
30485 (compile-command.s): Delete.
30486 (COMPILE.s): Delete.
30487 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30488
30489 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30490
30491 * configure.in (libc_cv_predef_stack_protector): Only consider
30492 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30493 * configure: Regenerated.
30494
30495 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30496
30497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30498 New macro. Use R*LP on int and pointer.
30499 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30500 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30501 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30502 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30503
30504 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30505 [__WORDSIZE_TIME64_COMPAT32] instead of
30506 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30507 (struct utmp): Likewise.
30508 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30509 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30510 Renamed to ...
30511 (__WORDSIZE_TIME64_COMPAT32): This.
30512 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30513 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30514 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30515 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30516 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30517 (__WORDSIZE_TIME64_COMPAT32): New macro.
30518
30519 2012-05-21 Andreas Jaeger <aj@suse.de>
30520
30521 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30522 only if [SHARED]. Add prototype for __wcschr_ia32.
30523
30524 2012-05-21 Roland McGrath <roland@hack.frob.com>
30525
30526 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30527 of %rbp unmolested in the jmp_buf while mangling the low bits.
30528 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30529 unmolested high bits of %rbp while demangling the low bits.
30530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30531
30532 2012-05-21 Andreas Jaeger <aj@suse.de>
30533
30534 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30535 * sunrpc/svc_simple.c: Use it for registerrpc.
30536 * sunrpc/xcrypt.c: Use it for passwd2des.
30537
30538 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30539
30540 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30541
30542 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30543 Don't define if [__SYSCALL_WORDSIZE != 32].
30544 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30545 New macro.
30546
30547 2012-05-21 Bruno Haible <bruno@clisp.org>
30548 Andreas Jaeger <aj@suse.de>
30549
30550 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30551 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30552 inptr and inend for must_buffer_ch.
30553 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30554 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30555 * stdio-common/Makefile (tests): Remove bug15.
30556 (bug15-ENV): Remove macro.
30557 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30558 anymore.
30559
30560 2012-05-19 Andreas Jaeger <aj@suse.de>
30561 Roland McGrath <roland@hack.frob.com>
30562
30563 * manual/contrib.texi: Completely rewritten. It contains now an
30564 alphabetical list of contributors and their contributions.
30565
30566 2012-05-21 Richard Henderson <rth@twiddle.net>
30567
30568 * misc/getauxval.c (__getauxval): Use unsigned long int.
30569 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30570 (getauxval): Use unsigned long int.
30571
30572 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30573
30574 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30575
30576 2012-05-21 Roland McGrath <roland@hack.frob.com>
30577
30578 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30579 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30580 __alignof__ (long double).
30581
30582 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30583
30584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30585
30586 2012-05-20 Richard Henderson <rth@twiddle.net>
30587
30588 * misc/getauxval.c: New file.
30589 * misc/sys/auxv.h: New file.
30590 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30591 (routines): Add getauxval.
30592 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30593 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30594 * elf/dl-sysdep.c (_dl_auxv): Remove.
30595 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30596 * elf/dl-support.c (_dl_auxv): New variable.
30597 (_dl_aux_init): Initialize it.
30598 * manual/startup.texi (Auxiliary Vector): New node.
30599 * sysdeps/generic/bits/hwcap.h: New file.
30600 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30601 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30602 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30603 * sysdeps/sparc/sysdep.h: ... here. Include it.
30604 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30605 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30607 Update.
30608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30616
30617 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30618
30619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30620
30621 2012-05-19 David S. Miller <davem@davemloft.net>
30622
30623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30624
30625 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30626
30627 [BZ #14123]
30628 * math/s_ccosh.c: Include <float.h>
30629 (__ccosh): Avoid internal overflow calculating sinh and cosh
30630 values before multiplying by sin and cos values.
30631 * math/s_ccoshf.c: Likewise.
30632 * math/s_ccoshl.c: Likewise.
30633 * math/s_csin.c: Likewise.
30634 * math/s_csinf.c: Likewise.
30635 * math/s_csinl.c: Likewise.
30636 * math/s_csinh.c: Likewise.
30637 * math/s_csinhf.c: Likewise.
30638 * math/s_csinhl.c: Likewise.
30639 * math/libm-test.inc (ccos_test): Add more tests.
30640 (ccosh_test): Likewise.
30641 (csin_test): Likewise.
30642 (csinh_test): Likewise.
30643 * sysdeps/i386/fpu/libm-test-ulps: Update.
30644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30645
30646 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30647
30648 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30649 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30650
30651 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30652
30653 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30654
30655 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30656 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30657 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30658 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30659 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30660 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30661 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30662 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30663 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30664 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30665 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30666 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30667 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30668 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30669 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30670 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30671 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30672 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30673 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30674 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30675 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30676 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30677 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30678 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30679 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30680 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30681 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30682 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30683 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30684 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30685 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30686
30687 2012-05-18 Andreas Jaeger <aj@suse.de>
30688
30689 * csu/.gitignore: Delete.
30690
30691 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30692
30693 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30694 (timex): Use __syscall_slong_t.
30695
30696 2012-05-18 Andreas Jaeger <aj@suse.de>
30697 Carlos O'Donell <carlos_odonell@mentor.com>
30698
30699 * manual/install.texi (Configuring and compiling): Update
30700 description about files modified in the source directory.
30701 * INSTALL: Regenerated.
30702
30703 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30704
30705 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30706 value. Use "or" to set return value to -1.
30707 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30708 negate return value.
30709
30710 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30711
30712 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30713 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30714 failure if the compiler has Graphite support disabled.
30715 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30716 Likewise.
30717 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30718 (CFLAGS-memmove.c): Likewise.
30719 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30720 Likewise.
30721
30722 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30723
30724 * sysdeps/x86_64/x32/_itoa.h: New file.
30725
30726 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30727 getdents system call only if kernel and user dirents have the
30728 same d_ino and d_off.
30729
30730 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30731 LLONG_MAX != LONG_MAX.
30732 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30733 (_fitoa_word): Likewise.
30734
30735 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30736 years.
30737 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30738 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30739 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30740
30741 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30742 include <bits/wordsize.h>. Check __x86_64__ instead of
30743 __WORDSIZE.
30744 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30745 if __x86_64__ is defined. Use anonymous union on fpstate.
30746
30747 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30748 anonymous union.
30749
30750 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30751
30752 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30753 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30754 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30755 Refer to _rtld_local_ro instead of _rtld_global_ro.
30756 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30757 Likewise.
30758 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30759 Likewise.
30760 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30761 Likewise.
30762 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30763 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30764 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30765
30766 * sysdeps/powerpc/powerpc32/dl-machine.c
30767 (__elf_machine_runtime_setup) [PROF]: Don't reference
30768 _dl_prof_resolve.
30769
30770 2012-05-18 Andreas Jaeger <aj@suse.de>
30771
30772 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30773 function only available for GCCs before 3.4 since GCC 3.4
30774 introduced a builtin.
30775 (lrint): Likewise.
30776 (llrintf): Likewise.
30777 (llrint): Likewise.
30778 (fmaxf): Likewise.
30779 (fmax): Likewise.
30780 (fminf): Likewise.
30781 (fmin): Likewise.
30782 (rint): Likewise.
30783 (rintf): Likewise.
30784 (nearbyint): Likewise.
30785 (nearbyintf): Likewise.
30786 (ceil): Likewise.
30787 (ceilf): Likewise.
30788 (floor): Likewise.
30789 (floorf): Likewise.
30790
30791 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30792
30793 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30794 on both fields and cast pointer to __syscall_ulong_t.
30795
30796 * bits/types.h (__fsword_t): New type.
30797 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30798 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30800 (__FSWORD_T_TYPE): Likewise.
30801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30802 (__FSWORD_T_TYPE): Likewise.
30803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30804 (__FSWORD_T_TYPE): Likewise.
30805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30806 (__FSWORD_T_TYPE): Likewise.
30807 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30808 __SWORD_TYPE with __fsword_t.
30809 (statfs64): Likewise.
30810
30811 2012-05-17 David S. Miller <davem@davemloft.net>
30812
30813 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30814
30815 2012-05-17 Andreas Jaeger <aj@suse.de>
30816
30817 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30818 warning.
30819
30820 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30821
30822 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30823
30824 2012-05-17 Andreas Jaeger <aj@suse.de>
30825
30826 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30827 when it is used.
30828
30829 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30830
30831 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30832
30833 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30834
30835 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30836 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30837
30838 2012-05-17 Andreas Jaeger <aj@suse.de>
30839 Carlos O'Donell <carlos_odonell@mentor.com>
30840
30841 [BZ #14059]
30842 * sysdeps/x86_64/multiarch/init-arch.h
30843 (bit_YMM_Usable): Rename to...
30844 (bit_AVX_Usable): ... this.
30845 (bit_FMA4_Usable): New macro.
30846 (bit_XMM_state): New macro.
30847 (bit_YMM_state): New macro.
30848 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30849 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30850 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30851 (CPUID_OSXSAVE): New macro.
30852 (CPUID_AVX): New macro.
30853 (CPUID_FMA4): New macro.
30854 (index_YMM_Usable): Rename to...
30855 (index_AVX_Usable): ... this.
30856 (HAS_AVX): Use HAS_ARCH_FEATURE.
30857 (HAS_FMA4): Likewise.
30858 (HAS_YMM_USABLE): Remove.
30859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30860 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30861 are present.
30862 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30863 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30864 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30865 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30866 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30867
30868 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30869
30870 * math/libm-test.c: Support platforms without multiple rounding modes.
30871 * math/bug-nextafter.c: Support platforms without FP exceptions.
30872 * math/bug-nexttoward.c: Likewise.
30873 * math/test-fenv.c: Likewise.
30874 * math/test-misc.c: Likewise.
30875 * stdlib/bug-getcontext.c: Likewise.
30876
30877 2012-05-17 Andreas Jaeger <aj@suse.de>
30878
30879 * manual/examples/search.c (critter_cmp): Change signature to
30880 avoid warnings.
30881 * manual/string.texi (Collation Functions): Likewise.
30882
30883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30884
30885 * bits/types.h: Fold copyright years.
30886 * bits/typesizes.h: Likewise.
30887 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30891 * time/time.h: Likewise.
30892
30893 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30894
30895 [BZ #208]
30896 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30897 in instead of returning them. Return void.
30898 (__libc_mallinfo): Accumulate over all arenas.
30899 (__malloc_stats): Adjust for change in int_mallinfo interface.
30900
30901 2012-05-16 Roland McGrath <roland@hack.frob.com>
30902
30903 [BZ #10375]
30904 * configure.in (NM): Add AC_CHECK_TOOL for it.
30905 (libc_extra_cflags): New substituted variable.
30906 Check for -fstack-protector being used implicitly.
30907 * configure: Regenerated.
30908 * config.make.in (config-extra-cflags): New variable,
30909 gets @libc_extra_cflags@.
30910 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30911
30912 [BZ #10375]
30913 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30914 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30915 * configure: Regenerated.
30916 * config.make.in (CPPUNDEFS): New substituted variable.
30917 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30918 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30919 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30920
30921 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30922
30923 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30924 (mq_attr): Use __syscall_slong_t.
30925
30926 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30927
30928 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30929 Check __x86_64__ instead of __WORDSIZE.
30930 (_STAT_VER_LINUX): Likewise.
30931 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30932 __syscall_ulong_t and __syscall_slong_t.
30933 (stat64): Likewise.
30934
30935 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30936
30937 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30938
30939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30940
30941 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30942
30943 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30944
30945 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30946 __syscall_ulong_t.
30947
30948 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30949 include <bits/wordsize.h>. Check __x86_64__ instead of
30950 __WORDSIZE.
30951 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30952 defined.
30953 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30954
30955 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30956 include <bits/wordsize.h>. Check __x86_64__ instead of
30957 __WORDSIZE.
30958 (user_regs_struct): Use "__extension__ unsigned long long"
30959 instead of "unsigned long" if __x86_64__ is defined.
30960 (user): Likewise. Pad after pointer field if __ILP32__ is
30961 defined.
30962
30963 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30964
30965 * configure.in (makeinfo): Require version 4.5 or later. Allow
30966 versions 5 to 9.
30967 * configure: Regenerated.
30968 * manual/install.texi (texinfo): Increase version requirement to
30969 4.5 or later.
30970 * INSTALL: Regenerated.
30971
30972 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30973
30974 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30975
30976 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30977
30978 * sysdeps/x86_64/x32/ffs.c: New file.
30979
30980 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30981 __syscall_ulong_t.
30982 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30983 defined. Use __syscall_ulong_t.
30984 (shminfo): Use __syscall_ulong_t.
30985 (shm_info): Likewise.
30986
30987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30988 __syscall_ulong_t.
30989
30990 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30991 <bits/wordsize.h>.
30992 (msgqnum_t): Use __syscall_ulong_t.
30993 (msglen_t): Likewise.
30994 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30995 __syscall_ulong_t.
30996
30997 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30998 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30999
31000 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31001
31002 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31003 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31004
31005 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31006 __syscall_slong_t.
31007
31008 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31009 include <bits/wordsize.h>. Check __x86_64__ instead of
31010 __WORDSIZE.
31011
31012 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31013 "unsigned long long int" if __x86_64__ is defined.
31014 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31015
31016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31017 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31018 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31019
31020 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31021 <stdint.h>.
31022 (GET_PC): Cast to uintptr_t first.
31023 (GET_FRAME): Likewise.
31024 (GET_STACK): Likewise.
31025
31026 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31028 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31029 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31030 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31031 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31032 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31033 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31034 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31035 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31037 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31038 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31039 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31041 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31043 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31044 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31045 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31046 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31047 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31049 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31053 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31054 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31055
31056 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31057
31058 * Makerules (+depfiles): Also collect depfiles from .oS in
31059 $(extra-objs).
31060 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31061 .oS, $(libnldbl-routines)).
31062
31063 * Makerules (native-compile-mkdep-flags): Define.
31064 * sunrpc/Makefile (extra-objs): Add $(addprefix
31065 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31066 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31067 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31068 calling $(make-target-directory).
31069
31070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31071
31072 * bits/types.h (__snseconds_t): Removed.
31073 * time/time.h (struct timespec): Replace __snseconds_t with
31074 __syscall_slong_t.
31075 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31076 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31077 Likewise.
31078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31079 (__SNSECONDS_T_TYPE): Likewise.
31080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31081 (__SNSECONDS_T_TYPE): Likewise.
31082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31083 (__SNSECONDS_T_TYPE): Likewise.
31084
31085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31086
31087 * sysdeps/mach/hurd/bits/typesizes.h
31088 (__SYSCALL_SLONG_TYPE): New macro.
31089 (__SYSCALL_ULONG_TYPE): Likewise.
31090
31091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31092
31093 * bits/types.h (__syscall_slong_t): New type.
31094 (__syscall_ulong_t): Likewise.
31095
31096 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31097 (__SYSCALL_ULONG_TYPE): Likewise.
31098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31099 (__SYSCALL_SLONG_TYPE): Likewise.
31100 (__SYSCALL_ULONG_TYPE): Likewise.
31101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31102 (__SYSCALL_SLONG_TYPE): Likewise.
31103 (__SYSCALL_ULONG_TYPE): Likewise.
31104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31105 (__SYSCALL_SLONG_TYPE): Likewise.
31106 (__SYSCALL_ULONG_TYPE): Likewise.
31107
31108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31109
31110 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31111 Add sigaltstack-offsets.sym.
31112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31113 <sigaltstack-offsets.h>.
31114 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31115 longjmp_msg pointer.
31116 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31117 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31118 signal stack.
31119 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31120
31121 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31122
31123 * elf/stackguard-macros.h: Remove file.
31124 * sysdeps/generic/stackguard-macros.h: New file.
31125 * sysdeps/i386/stackguard-macros.h: Likewise.
31126 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31127 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31128 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31129 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31130 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31131 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31132 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31133 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31134 <elf/stackguard-macros.h>.
31135
31136 [BZ #14109]
31137 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31138 __aligned__ in attribute.
31139 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31140 (gregset_t): Likewise.
31141
31142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31143
31144 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31145 * sysdeps/x86_64/64/Implies-after: Here. New file.
31146 * sysdeps/x86_64/x32/Implies-after: New file.
31147
31148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31149
31150 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31151 and access return value for _dl_profile_fixup. Use R10_LP to
31152 load frame size.
31153
31154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31155
31156 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31157
31158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31159
31160 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31161 * sysdeps/x86_64/x32/sysdep.h: New file.
31162
31163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31164
31165 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31166 * sysdeps/x86_64/setjmp.S: Likewise.
31167
31168 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31169
31170 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31171 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31172 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31174 remove unused global constant.
31175
31176 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31177
31178 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31179 include of <not-cancel.h>.
31180
31181 2012-05-15 Roland McGrath <roland@hack.frob.com>
31182
31183 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31184
31185 2012-05-15 Jeff Law <law@redhat.com>
31186 Andreas Jaeger <aj@suse.de>
31187
31188 [BZ #13594]
31189 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31190 out from...
31191 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31192 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31193 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31194 code changing __hst_map_handle.map.
31195
31196 2012-05-15 Roland McGrath <roland@hack.frob.com>
31197
31198 * configure.in (sysnames): Look for Implies-before and Implies-after
31199 files.
31200 * configure: Regenerated.
31201
31202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31203
31204 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31205 8-byte data alignment with LP_SIZE alignment.
31206
31207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31208
31209 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31210 into R10_LP.
31211
31212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31213
31214 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31215
31216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31217
31218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31219 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31220 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31221 Likewise.
31222 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31223
31224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31225
31226 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31227 (stackinfo_sub_sp): Likewise.
31228
31229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31230
31231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31232 RAX_LP.
31233
31234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31235
31236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31237 into R*_LP.
31238
31239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31240
31241 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31242 sizes into R*_LP.
31243
31244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31245
31246 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31247
31248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31249
31250 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31251 into R11_LP and load __x86_64_shared_cache_size_half into
31252 R8_LP.
31253
31254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31255
31256 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31257 R8_LP.
31258
31259 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31260
31261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31262 logb for POWER7.
31263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31264 logbf for POWER7.
31265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31266 logbl for POWER7.
31267 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31268 powerpc32/power7/fpu/s_logb.c via #include.
31269 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31270 powerpc32/power7/fpu/s_logbf.c via #include.
31271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31272 powerpc32/power7/fpu/s_logbl.c via #include.
31273
31274 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31275
31276 * README.libm: Remove file.
31277
31278 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31279
31280 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31281 count for x32. Use R*_LP and omit operand-size suffix.
31282
31283 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31284
31285 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31286 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31287 * sysdeps/x86_64/x32/shlib-versions: New file.
31288
31289 2012-05-14 Roland McGrath <roland@hack.frob.com>
31290
31291 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31292 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31293 Use _dl_fatal_printf instead.
31294
31295 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31296
31297 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31298 set if not set by the user. Do not allow for being unset.
31299 * sysdeps/unix/sysv/linux/configure: Regenerated.
31300
31301 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31302
31303 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31304 the `q' suffix from lea and replace .quad with ASM_ADDR.
31305
31306 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31307
31308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31309 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31310 instead of $17.
31311 (PTR_DEMANGLE): Likewise.
31312
31313 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31314
31315 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31316 (LP_OP): Likewise.
31317 (ASM_ADDR): Likewise.
31318 (RAX_LP): Likewise.
31319 (RBP_LP): Likewise.
31320 (RBX_LP): Likewise.
31321 (RCX_LP): Likewise.
31322 (RDI_LP): Likewise.
31323 (RSI_LP): Likewise.
31324 (RSP_LP): Likewise.
31325 (R8_LP): Likewise.
31326 (R9_LP): Likewise.
31327 (R10_LP): Likewise.
31328 (R10_LP): Likewise.
31329 (R11_LP): Likewise.
31330 (R12_LP): Likewise.
31331 (R13_LP): Likewise.
31332 (R14_LP): Likewise.
31333 (R15_LP): Likewise.
31334
31335 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31336
31337 * sysdeps/x86_64/x32/dl-machine.h: New file.
31338
31339 2012-05-14 Andreas Jaeger <aj@suse.de>
31340
31341 * manual/Makefile (subdir): Remove export of subdir.
31342 (all): Remove target.
31343 (.PHONY): Remove all from list.
31344 (mkinstalldirs): Remove.
31345 (.PHONY): Remove installdirs from list.
31346 ($(inst_infodir)/libc.info): Use make-target-directory.
31347 (installdirs): Remove.
31348 (subdir_%): Remove.
31349 (glibc-targets): Remove.
31350 (lib): Remove.
31351 (stubs): Remove.
31352 ($(objpfx)stubs ../po/manual.pot): Remove.
31353 ($(objpfx)stamp%): Remove.
31354 (make-target-directory): Remove.
31355 (subdir_install): Remove.
31356 (routines): Remove.
31357 (aux): Remove.
31358 (sources): Remove.
31359 (objects): Remove.
31360 (headers): Remove.
31361
31362 [BZ #13750]
31363 * manual/.gitignore: Remove, it's not needed anymore.
31364 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31365 all files in it.
31366 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31367 directory.
31368 (texis): Renamed to $(objpfx)texis.
31369 (texis-path): New, contains path to generated files.
31370 (chapters.%): Use texis-path for complete path, add extra argument
31371 libc-texinfo.sh.
31372 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31373 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31374 (summary,texi, stamp-summary): Use complete path of
31375 files. Generate files in build dir.
31376 (dir-add.texi): Build in build dir.
31377 (libm-err.texi,stamp-libm-err): Likewise.
31378 (version.texi, stamp-version): Likewise.
31379 (.%c.texi): Likewise.
31380 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31381 (mostlyclean): Remove target.
31382 (realclean): Remove target.
31383 (generated): Add new variable with contents from mostlyclean and
31384 realclean, remove entries duplicated in common-mostlyclean, add
31385 stamp-libm-err and stamp-version.
31386 (generated-dirs): Add libc directory.
31387 ($(inst_infodir)/libc.info): Install files from build dir.
31388
31389 * manual/install.texi (Configuring and compiling): Adjust since
31390 the info files are not part of the tar ball anymore.
31391
31392 2012-05-14 Andreas Jaeger <aj@suse.de>
31393
31394 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31395 variable.
31396
31397 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31398
31399 [BZ #13717]
31400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31401 to 2.2.0 where earlier.
31402 * sysdeps/unix/sysv/linux/configure: Regenerated.
31403 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31404 Remove conditional code.
31405 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31406 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31407 Remove conditional code.
31408 [!__NR_lchown]: Likewise.
31409 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31410 [__NR_lchown]: Likewise.
31411 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31412 comment referencing __ASSUME_LCHOWN_SYSCALL.
31413 * sysdeps/unix/sysv/linux/i386/sigaction.c
31414 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31415 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31416 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31417 Remove conditional code.
31418 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31419 (__protocol_available): Remove #if 0 code.
31420 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31421 conditional code.
31422 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31423 * sysdeps/unix/sysv/linux/kernel-features.h
31424 (__ASSUME_GETCWD_SYSCALL): Don't define.
31425 (__ASSUME_REALTIME_SIGNALS): Likewise.
31426 (__ASSUME_PREAD_SYSCALL): Likewise.
31427 (__ASSUME_PWRITE_SYSCALL): Likewise.
31428 (__ASSUME_POLL_SYSCALL): Likewise.
31429 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31430 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31431 non-SPARC.
31432 (__ASSUME_SIOCGIFNAME): Don't define.
31433 (__ASSUME_MSG_NOSIGNAL): Likewise.
31434 (__ASSUME_SENDFILE): Define unconditionally.
31435 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31436 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31437 conditional code.
31438 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31439 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31440 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31441 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31442 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31443 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31444 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31446 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31449 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31452 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31461 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31467 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31469 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31470 Remove conditional code.
31471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31472 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31473 Remove conditional code.
31474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31475 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31476 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31477 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31478 Remove conditional code.
31479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31480 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31481 Remove conditional code.
31482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31483 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31484 Remove conditional code.
31485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31486 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31487 Remove conditional code.
31488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31489 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31490 Remove conditional code.
31491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31492 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31495 * sysdeps/unix/sysv/linux/sigaction.c
31496 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31497 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31498 * sysdeps/unix/sysv/linux/sigpending.c
31499 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31500 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31501 * sysdeps/unix/sysv/linux/sigprocmask.c
31502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31504 * sysdeps/unix/sysv/linux/sigsuspend.c
31505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31507 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31508 (__libc_missing_rt_sigs): Remove.
31509 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31510 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31511 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31512 Remove conditional code.
31513 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31514 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31515 return 1.
31516 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31517 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31518 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31519 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31520
31521 2012-05-14 Andreas Jaeger <aj@suse.de>
31522
31523 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31524 it's not used in glibc.
31525 (__coshm1): Likewise.
31526 (__acosh1p): Likewise.
31527 (__sgn): Likewise.
31528
31529 * manual/string.texi (Copying and Concatenation): Add missing
31530 variable in concat example.
31531 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31532
31533 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31534
31535 [BZ #14103]
31536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31537 __builtin_clzl with __builtin_clzll.
31538
31539 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31540
31541 [BZ #14104]
31542 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31543 libc_freeres_ptr.
31544
31545 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31546
31547 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31548 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31549 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31550 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31551
31552 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31553
31554 * NEWS: Update ia64 info.
31555
31556 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31557
31558 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31559 used as bcopy.
31560
31561 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31562
31563 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31564 * sysdeps/unix/syscalls.list (dup3): Likewise.
31565 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31566 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31567
31568 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31569
31570 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31571 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31572
31573 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31574
31575 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31576 thread pointer.
31577 (TLS_IE): Use mov/add instead of movq/addq to load thread
31578 pointer.
31579 (TLS_GD_PREFIX): New.
31580 (TLS_GD): Use it.
31581
31582 2012-05-11 David S. Miller <davem@davemloft.net>
31583
31584 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31585 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31586 (_FPU_SETCW): Likewise.
31587
31588 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31589
31590 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31591 is 32-byte aligned.
31592
31593 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31594
31595 [BZ #11837]
31596 * iconvdata/gb18030.c: Update tables.
31597 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31598 characters specially.
31599 (BODY for TO_LOOP): Add encoding of missing ranges.
31600
31601 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31602
31603 [BZ #13673]
31604 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31605 * sysdeps/mach/hurd/dup3.c: Likewise.
31606 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31607 * sysdeps/powerpc/memmove.c:: Likewise.
31608
31609 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31610
31611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31612 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31613
31614 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31615
31616 * elf/elf.h (R_X86_64_RELATIVE64): New.
31617 (R_X86_64_NUM): Updated.
31618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31619 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31620 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31621 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31622 tst-quad1pie tst-quad2pie
31623 (modules-names): Add tst-quadmod1 tst-quadmod2.
31624 ($(objpfx)tst-quad1): New dependency.
31625 ($(objpfx)tst-quad2): Likewise.
31626 ($(objpfx)tst-quad1pie): Likewise.
31627 ($(objpfx)tst-quad2pie): Likewise.
31628 * sysdeps/x86_64/tst-quad1.c: New file.
31629 * sysdeps/x86_64/tst-quad1pie.c: New file.
31630 * sysdeps/x86_64/tst-quad2.c: Likewise.
31631 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31632 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31633 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31634 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31635 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31636
31637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31638
31639 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31640 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31641 * streams/stropts.h (t_scalar_t): Define type.
31642
31643 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31644 (_PATH_PRESERVE): Set to "/var/lib".
31645 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31646
31647 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31648 instead of int.
31649
31650 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31651 if __dir_mkfile succeeded.
31652
31653 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31654 checking for _hurd_dtablesize. Unlock it right after having
31655 finished _hurd_dtable allocation.
31656
31657 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31658
31659 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31660 * sysdeps/mach/hurd/configure: Regenerated.
31661 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31662 special-casing to...
31663 * sysdeps/gnu/configure.in: ... this new file.
31664 * sysdeps/unix/sysv/linux/configure: Regenerated.
31665 * sysdeps/gnu/configure: New generated file.
31666
31667 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31668 for Linux: use nsec instead of usec, as well as:
31669 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31670 members of type struct timespec.
31671 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31672 New macros.
31673 (struct stat64): Likewise.
31674 (_STATBUF_ST_NSEC): New macro.
31675 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31676
31677 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31678 __strtoul_internal rather than strtoul.
31679
31680 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31681
31682 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31683 and reject them.
31684
31685 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31686
31687 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31688 which preserves existing values.
31689 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31690
31691 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31692
31693 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31694 TIMEOUT values. Return EINVAL for NFDS values either negative or
31695 greater than FD_SETSIZE.
31696
31697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31698
31699 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31700 allocated, call __vm_protect to finish enabling the existing space, and
31701 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31702 allocate the remainder.
31703
31704 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31705
31706 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31707 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31708
31709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31710
31711 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31712 sysdeps/mach/hurd/readlink.c.
31713
31714 * posix/tst-sysconf.c (posix_options): Only use
31715 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31716 _POSIX_SYNCHRONIZED_IO when they are defined
31717 * sysdeps/mach/hurd/bits/posix_opt.h:
31718 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31719 (_XOPEN_REALTIME): Undefine macro.
31720 (_XOPEN_REALTIME_THREADS): Undefine macro.
31721 (_XOPEN_SHM): Undefine macro.
31722 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31723 macro to -1.
31724 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31725 macro to -1.
31726 (_POSIX_ASYNC_IO): Undefine macro.
31727 (_POSIX_PRIORITIZED_IO): Undefine macro.
31728 (_POSIX_SPIN_LOCKS): Define macro to -1.
31729
31730 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31731 SA_NODEFER, SA_RESETHAND.
31732 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31733 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31734 F_DUPFD_CLOEXEC.
31735
31736 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31737
31738 * elf/Makefile (pldd-modules): Define unconditionally.
31739
31740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31741
31742 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31743
31744 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31745
31746 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31747 Return ENOENT when name is empty.
31748 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31749
31750 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31751
31752 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31753
31754 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31755
31756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31757
31758 Fix mlock in all cases except non-readable pages.
31759 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31760 instead of VM_PROT_ALL as parameter to __vm_wire function.
31761
31762 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31763 (__mkdir): When path is `/', just fail with EEXIST.
31764 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31765
31766 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31767
31768 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31769 <sys/uio.h> (for writev).
31770 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31771 and <sys/param.h> (for MIN).
31772
31773 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31774
31775 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31776 REQUESTED_TIME. Properly set the remaining time and return EINTR
31777 if interrupted.
31778
31779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31780
31781 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31782 Depend on against $(link-rpcuserlibs).
31783
31784 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31785
31786 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31787 (__libc_stack_end): Do not use attribute_relro.
31788 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31789 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31790 to libthread-provided value.
31791 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31792 attribute_relro.
31793
31794 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31795
31796 [BZ #3748]
31797 * bits/libc-lock.h (__libc_once_get): New macro.
31798 * sysdeps/mach/bits/libc-lock.h: Likewise.
31799 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31800 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31801 instead of using implementation details.
31802
31803 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31804 * libio/freopen.c: Likewise.
31805 * libio/freopen64.c: Likewise.
31806 * misc/syslog.c: Likewise.
31807 * nscd/connections.c: Likewise.
31808 * nscd/netgroupcache.c: Likewise.
31809 * sysdeps/posix/getcwd.c: Likewise.
31810
31811 2012-05-10 Roland McGrath <roland@hack.frob.com>
31812
31813 * math/w_ilogbf.c: Add #include <limits.h>.
31814
31815 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31816
31817 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31818 path instead of returning without unlocking.
31819
31820 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31821 immediate-write ioctls.
31822 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31823
31824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31825
31826 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31827 __builtin_frame_address instead of making assumptions about the
31828 location of the return address relative to DATA. Force early load of
31829 the return address.
31830 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31831 __builtin_frame_address.
31832
31833 dup3 for GNU Hurd.
31834 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31835 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31836 implement dup3 and do some further code clean-ups.
31837 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31838 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31839
31840 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31841
31842 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31843
31844 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31845 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31846 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31847 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31848 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31849 d->port.lock.
31850
31851 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31852 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31853 when handler == SIG_ERR, not when handler != SIG_ERR.
31854
31855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31856
31857 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31858 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31859 definitions.
31860
31861 accept4 for GNU Hurd.
31862 * include/sys/socket.h (__libc_accept4): New prototype.
31863 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31864 to implement __libc_accept4.
31865 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31866 __libc_accept4.
31867 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31868
31869 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31870 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31871 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31872 signal-defines.sym.
31873
31874 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31875
31876 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31877
31878 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31879
31880 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31881 assertion on O_CLOEXEC flag.
31882 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31883 * hurd/intern-fd.c: Likewise.
31884 * hurd/port2fd.c: Likewise.
31885
31886 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31887
31888 [BZ #3906]
31889 * bits/in.h (IPV6_PKTINFO): Define new macro.
31890 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31891
31892 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31893
31894 [BZ #13954]
31895 [BZ #13955]
31896 [BZ #13956]
31897 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31899 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31900 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31902 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31903 * math/libm-test.inc (logb_test) : Additional logb tests.
31904
31905 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31906 Andreas Jaeger <aj@suse.de>
31907
31908 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31909 * configure: Regenerated.
31910 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31911 * config.make.in (link-obsolete-rpc): New substituted variable.
31912 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31913 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31914 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31915 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31916 so that libc.a contains the symbols.
31917 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31918 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31919 * sunrpc/auth_none.c: Likewise.
31920 * sunrpc/auth_unix.c: Likewise.
31921 * sunrpc/authdes_prot.c: Likewise.
31922 * sunrpc/authuxprot.c: Likewise.
31923 * sunrpc/clnt_gen.c: Likewise.
31924 * sunrpc/clnt_perr.c: Likewise.
31925 * sunrpc/clnt_raw.c: Likewise.
31926 * sunrpc/clnt_simp.c: Likewise.
31927 * sunrpc/clnt_tcp.c: Likewise.
31928 * sunrpc/clnt_udp.c: Likewise.
31929 * sunrpc/clnt_unix.c: Likewise.
31930 * sunrpc/des_crypt.c: Likewise.
31931 * sunrpc/des_soft.c: Likewise.
31932 * sunrpc/get_myaddr.c: Likewise.
31933 * sunrpc/key_call.c: Likewise.
31934 * sunrpc/key_prot.c: Likewise.
31935 * sunrpc/netname.c: Likewise.
31936 * sunrpc/pm_getmaps.c: Likewise.
31937 * sunrpc/pm_getport.c: Likewise.
31938 * sunrpc/pmap_clnt.c: Likewise.
31939 * sunrpc/pmap_prot.c: Likewise.
31940 * sunrpc/pmap_prot2.c: Likewise.
31941 * sunrpc/pmap_rmt.c: Likewise.
31942 * sunrpc/publickey.c: Likewise.
31943 * sunrpc/rpc_cmsg.c: Likewise.
31944 * sunrpc/rpc_common.c: Likewise.
31945 * sunrpc/rpc_dtable.c: Likewise.
31946 * sunrpc/rpc_prot.c: Likewise.
31947 * sunrpc/rpc_thread.c: Likewise.
31948 * sunrpc/rtime.c: Likewise.
31949 * sunrpc/svc.c: Likewise.
31950 * sunrpc/svc_auth.c: Likewise.
31951 * sunrpc/svc_raw.c: Likewise.
31952 * sunrpc/svc_run.c: Likewise.
31953 * sunrpc/svc_tcp.c: Likewise.
31954 * sunrpc/svc_udp.c: Likewise.
31955 * sunrpc/svc_unix.c: Likewise.
31956 * sunrpc/svcauth_des.c: Likewise.
31957 * sunrpc/xcrypt.c: Likewise.
31958 * sunrpc/xdr.c: Likewise.
31959 * sunrpc/xdr_array.c: Likewise.
31960 * sunrpc/xdr_float.c: Likewise.
31961 * sunrpc/xdr_intXX_t.c: Likewise.
31962 * sunrpc/xdr_mem.c: Likewise.
31963 * sunrpc/xdr_rec.c: Likewise.
31964 * sunrpc/xdr_ref.c: Likewise.
31965 * sunrpc/xdr_sizeof.c: Likewise.
31966 * sunrpc/xdr_stdio.c: Likewise.
31967
31968 2012-05-10 Roland McGrath <roland@hack.frob.com>
31969
31970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31971 change. Update copyright years.
31972
31973 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31974
31975 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31976
31977 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31978 Joseph Myers <joseph@codesourcery.com>
31979 Paul Pluzhnikov <ppluzhnikov@google.com>
31980
31981 [BZ #14012]
31982 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31983 requiring rpcgen.
31984 [cross-compiling] (extra-libs): Likewise.
31985 [cross-compiling] (extra-libs-others): Likewise.
31986 [cross-compiling] (librpcsvc-routines): Likewise.
31987 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31988 [cross-compiling] (omit-deps): Likewise.
31989 (sunrpc-CPPFLAGS): New variable.
31990 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31991 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31992 (cross-rpcgen-objs): New variable.
31993 (extra-objs): Append $(cross-rpcgen-objs).
31994 ($(cross-rpcgen-objs)): New rule.
31995 ($(objpfx)cross-rpcgen): Likewise.
31996 (rpcgen-cmd): Define to use $(built-program-file). Expand
31997 comment.
31998 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31999 ($(objpfx)x%.stmp): Likewise.
32000 * sunrpc/proto.h [IS_IN_build] (_): Define.
32001 [IS_IN_build] (_libc_intl_domainname): Likewise.
32002
32003 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32004
32005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32006 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32007 and R_X86_64_TPOFF64.
32008
32009 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32010
32011 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32012 sysdeps/unix/sysv/syscalls.list.
32013 (stime): Likewise.
32014 (utime): Likewise.
32015 * sysdeps/unix/sysv/syscalls.list: Remove file.
32016
32017 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32018
32019 [BZ #3440]
32020 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32021 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32022 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32023 (__LC_IDENTIFICATION): Make these macros useful in #if
32024 expressions, as required by C99.
32025
32026 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32027
32028 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32029 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32030 after this.
32031
32032 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32033
32034 * stdlib/longlong.h: Updated from GCC.
32035
32036 2012-05-09 Andreas Jaeger <aj@suse.de>
32037
32038 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32039 default is first entry.
32040 (run_mode): Set type.
32041 (main): Remove informal message about syslog.
32042 (options): Fix typo.
32043
32044 [BZ #14053]
32045 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32046 to asm.
32047 (lrint): Likewise.
32048 (llrintf): Likewise.
32049 (llrint): Likewise.
32050 (rint): Likewise.
32051 (rintf): Likewise.
32052 (nearbyint): Likewise.
32053 (nearbyintf): Likewise.
32054
32055 2012-05-09 Andreas Jaeger <aj@suse.de>
32056 Pedro Alves <palves@redhat.com>
32057
32058 * nscd/nscd.c (run_mode): Use enum.
32059 (main): Cleanup coding style issue.
32060
32061 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
32062 Andreas Jaeger <aj@suse.de>
32063
32064 * nscd/nscd.c (go_background): Replaced with...
32065 (run_mode): ... this.
32066 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32067 (options): Add -F --foreground.
32068 (main): Implement it.
32069 (parse_opt): Parse it.
32070
32071 2012-05-09 Andreas Jaeger <aj@suse.de>
32072
32073 [BZ #14083]
32074 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32075 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32076 -Wconversion warning.
32077 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32078 Likewise.
32079
32080 2012-05-09 Joseph Myers <joseph@codesourcery.com>
32081
32082 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32083 == 0.
32084 (LC_ALL): Use macro-int-constant.
32085 (LC_COLLATE): Likewise.
32086 (LC_CTYPE): Likewise.
32087 (LC_MESSAGES): Likewise.
32088 (LC_MONETARY): Likewise.
32089 (LC_NUMERIC): Likewise.
32090 (LC_TIME): Likewise.
32091 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32092 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32094 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32095 Specify type.
32096 [C99-based standards] (float_t): Expect type.
32097 [C99-based standards] (double_t): Expect type.
32098 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32099 type.
32100 [C99-based standards] (HUGE_VALL): Likewise.
32101 [C99-based standards] (INFINITY): Likewise.
32102 [C99-based standards] (NAN): Likewise.
32103 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32104 [C99-based standards] (FP_NAN): Likewise.
32105 [C99-based standards] (FP_NORMAL): Likewise.
32106 [C99-based standards] (FP_SUBNORMAL): Likewise.
32107 [C99-based standards] (FP_ZERO): Likewise.
32108 [C99-based standards] (FP_FAST_FMA): Use
32109 optional-macro-int-constant. Specify type. Require == 1.
32110 [C99-based standards] (FP_FAST_FMAF): Likewise.
32111 [C99-based standards] (FP_FAST_FMAL): Likewise.
32112 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32113 [C99-based standards] (FP_ILOGBNAN): Likewise.
32114 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32115 Specify type.
32116 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32117 [C99-based standards] (math_errhandling): Specify type.
32118 [ISO99 || ISO11] (signgam): Do not allow.
32119 [non-C99-based standards] (copysignf): Do not allow.
32120 [non-C99-based standards] (exp2f): Likewise.
32121 [non-C99-based standards] (log2f): Likewise.
32122 [non-C99-based standards] (modff): Allow.
32123 [non-C99-based standards] (erff): Do not allow.
32124 [non-C99-based standards] (erfcf): Likewise.
32125 [non-C99-based standards] (gammaf): Likewise.
32126 [non-C99-based standards] (hypotf): Likewise.
32127 [non-C99-based standards] (j0f): Likewise.
32128 [non-C99-based standards] (j1f): Likewise.
32129 [non-C99-based standards] (jnf): Likewise.
32130 [non-C99-based standards] (lgammaf): Likewise.
32131 [non-C99-based standards] (tgammaf): Likewise.
32132 [non-C99-based standards] (y0f): Likewise.
32133 [non-C99-based standards] (y1f): Likewise.
32134 [non-C99-based standards] (ynf): Likewise.
32135 [non-C99-based standards] (isnanf): Likewise.
32136 [non-C99-based standards] (acoshf): Likewise.
32137 [non-C99-based standards] (asinhf): Likewise.
32138 [non-C99-based standards] (atanhf): Likewise.
32139 [non-C99-based standards] (cbrtf): Likewise.
32140 [non-C99-based standards] (expm1f): Likewise.
32141 [non-C99-based standards] (ilogbf): Likewise.
32142 [non-C99-based standards] (log1pf): Likewise.
32143 [non-C99-based standards] (logbf): Likewise.
32144 [non-C99-based standards] (nextafterf): Likewise.
32145 [non-C99-based standards] (remainderf): Likewise.
32146 [non-C99-based standards] (rintf): Likewise.
32147 [non-C99-based standards] (scalbf): Likewise.
32148 [non-C99-based standards] (copysignl): Likewise.
32149 [non-C99-based standards] (exp2l): Likewise.
32150 [non-C99-based standards] (log2l): Likewise.
32151 [non-C99-based standards] (modfl): Allow.
32152 [non-C99-based standards] (erfl): Do not allow.
32153 [non-C99-based standards] (erfcl): Likewise.
32154 [non-C99-based standards] (gammal): Likewise.
32155 [non-C99-based standards] (hypotl): Likewise.
32156 [non-C99-based standards] (j0l): Likewise.
32157 [non-C99-based standards] (j1l): Likewise.
32158 [non-C99-based standards] (jnl): Likewise.
32159 [non-C99-based standards] (lgammal): Likewise.
32160 [non-C99-based standards] (tgammal): Likewise.
32161 [non-C99-based standards] (y0l): Likewise.
32162 [non-C99-based standards] (y1l): Likewise.
32163 [non-C99-based standards] (ynl): Likewise.
32164 [non-C99-based standards] (isnanl): Likewise.
32165 [non-C99-based standards] (acoshl): Likewise.
32166 [non-C99-based standards] (asinhl): Likewise.
32167 [non-C99-based standards] (atanhl): Likewise.
32168 [non-C99-based standards] (cbrtl): Likewise.
32169 [non-C99-based standards] (expm1l): Likewise.
32170 [non-C99-based standards] (ilogbl): Likewise.
32171 [non-C99-based standards] (log1pl): Likewise.
32172 [non-C99-based standards] (logbl): Likewise.
32173 [non-C99-based standards] (nextafterl): Likewise.
32174 [non-C99-based standards] (remainderl): Likewise.
32175 [non-C99-based standards] (rintl): Likewise.
32176 [non-C99-based standards] (scalbl): Likewise.
32177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32178 [non-C99-based standards] (FP_*): Do not allow.
32179 [C99-based standards] (FP_*): Change to
32180 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32181 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32182 allow.
32183 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32184 (SIG_ERR): Likewise.
32185 [X/Open-based standards] (SIG_HOLD): Likewise.
32186 (SIG_IGN): Likewise.
32187 (SIGABRT): Use macro-int-constant. Specify type. Require
32188 positive value.
32189 (SIGFPE): Likewise.
32190 (SIGILL): Likewise.
32191 (SIGINT): Likewise.
32192 (SIGSEGV): Likewise.
32193 (SIGTER): Likewise.
32194 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32195 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32196 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32197 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32198 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32199 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32200 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32201 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32202 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32203 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32204 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32205 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32206 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32207 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32208 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32209 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32210 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32211 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32212 [X/Open-based standards] (SIGTRAP): Likewise.
32213 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32214 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32215 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32216 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32217 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32218 allow.
32219
32220 2012-05-08 Ian Wienand <ianw@vmware.com>
32221
32222 [BZ #14080]
32223 * time/tzset.c (__tzset_parse_tz): Update default rules for
32224 daylight time changes in the Energy Policy Act of 2005.
32225
32226 2012-05-09 Andreas Jaeger <aj@suse.de>
32227
32228 [BZ #13983]
32229 * elf/ldconfig.c (parse_conf): Change string to make clear that
32230 ldconfig only issued a warning if ld.so.conf does not exist.
32231
32232 2012-05-08 David S. Miller <davem@davemloft.net>
32233
32234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32235 movxtod instead of popping the value on the stack.
32236
32237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32238
32239 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32240
32241 * config.h.in: Add HAVE_ARM_PCS_VFP.
32242
32243 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
32244
32245 [BZ #13979]
32246 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32247 checking but the checks are disabled for any reason.
32248
32249 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32250
32251 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32252 and ELF64_R_TYPE with ELFW(R_TYPE).
32253
32254 2012-05-08 Joseph Myers <joseph@codesourcery.com>
32255
32256 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32257 (ulimit): Likewise.
32258
32259 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32260 (settimeofday): Likewise.
32261
32262 2012-05-08 Mike Frysinger <vapier@gentoo.org>
32263
32264 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32265 a struct th_u2 inside the union, and move tu_block/tu_code into
32266 a new th_u3 union of tu_block/tu_code inside of that. Move
32267 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32268 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32269 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32270 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32271 (th_stuff): Change to th_u1.tu_stuff.
32272 (th_data): Define.
32273 (th_msg): Change to th_u1.th_u2.tu_data.
32274
32275 2012-05-07 David S. Miller <davem@davemloft.net>
32276
32277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32278
32279 [BZ #14074]
32280 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32281 (SETUP_PIC_REG): Use it.
32282 (SETUP_PIC_REG_LEAF): Use it.
32283
32284 2012-05-07 Joseph Myers <joseph@codesourcery.com>
32285
32286 [BZ #13885]
32287 [BZ #13923]
32288 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32289 USE_AS_EXPM1L.
32290 (EXPL_FINITE): Likewise.
32291 (FLDLOG): Likewise.
32292 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32293 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32294 e_expl.S.
32295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32296 USE_AS_EXPM1L.
32297 (EXPL_FINITE): Likewise.
32298 (FLDLOG): Likewise.
32299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32300 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32301 e_expl.S.
32302 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32303 test of -max_value argument for long double.
32304 * sysdeps/i386/fpu/libm-test-ulps: Update.
32305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32306
32307 2012-05-06 David S. Miller <davem@davemloft.net>
32308
32309 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32310 quad soft-float symbols whose references which are compiler
32311 generated.
32312 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32313
32314 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32315
32316 [BZ #13884]
32317 [BZ #13914]
32318 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32319 USE_AS_EXP10L.
32320 (EXPL_FINITE): Likewise.
32321 (FLDLOG): Likewise.
32322 (c0): Likewise.
32323 (c1): Likewise.
32324 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32325 Adjust comments for base varying.
32326 (__expl_finite): Change alias to EXPL_FINITE.
32327 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32328 e_expl.S.
32329 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32330 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32331 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32332 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32333 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32334 USE_AS_EXP10L.
32335 (EXPL_FINITE): Likewise.
32336 (FLDLOG): Likewise.
32337 (c0): Likewise.
32338 (c1): Likewise.
32339 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32340 Adjust comments for base varying.
32341 (__expl_finite): Change alias to EXPL_FINITE.
32342 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32343 tests for bugs.
32344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32345
32346 [BZ #14064]
32347 * math/libm-test.inc (check_float_internal): Correct ulp
32348 calculation for subnormal expected results.
32349
32350 2012-05-06 Andreas Jaeger <aj@suse.de>
32351
32352 * Makeconfig (+math-flags): New, set to -frounding-math.
32353 (+cflags): Add +math-flags so that all of glibc gets compiled with
32354 it.
32355
32356 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32357
32358 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32359
32360 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32361 Disable one test.
32362
32363 [BZ #13787]
32364 [BZ #13922]
32365 [BZ #14036]
32366 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32367 (__ieee754_expl): Allow for and saturate large arguments.
32368 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32369 (u_threshold): Likewise.
32370 (__exp): Call __ieee754_exp before checking for overflow and
32371 underflow.
32372 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32373 (u_threshold): Likewise.
32374 (__expf): Call __ieee754_expf before checking for overflow and
32375 underflow.
32376 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32377 (u_threshold): Likewise.
32378 (__expl): Call __ieee754_expl before checking for overflow and
32379 underflow.
32380 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32381 (__ieee754_expl): Allow for and saturate large arguments.
32382 * math/libm-test.inc (exp_test): Add another test. Do not allow
32383 missing overflow exception on overflow.
32384 (expm1_test): Do not allow missing overflow exception on overflow.
32385
32386 * sysdeps/i386/fpu/e_expl.c: Move to ...
32387 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32388 rather than using inline asm.
32389 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32390 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32391 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32392
32393 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32394 (nice): Likewise.
32395 (poll): Likewise.
32396 (signal): Likewise.
32397 (time): Likewise.
32398 (times): Likewise.
32399
32400 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32401
32402 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32403 sysdeps/unix/common/syscalls.list.
32404 (fchmod): Likewise.
32405 (fchown): Likewise.
32406 (ftruncate): Likewise.
32407 (getrusage): Likewise.
32408 (gettimeofday): Likewise.
32409 (setpgid): Likewise.
32410 (setregid): Likewise.
32411 (setreuid): Likewise.
32412 (sigaction): Likewise.
32413 (truncate): Likewise.
32414 (vhangup): Likewise.
32415 * sysdeps/unix/common/syscalls.list: Remove file.
32416 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32417 * sysdeps/unix/sysv/linux/Implies: Likewise.
32418
32419 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32420
32421 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32423 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32424 Moved to ...
32425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32426 Here.
32427 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32428 to ...
32429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32430 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32431 to ...
32432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32433 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32434 to ...
32435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32436 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32437 to ...
32438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32439 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32440 to ...
32441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32442 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32443 to ...
32444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32445 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32446 to ...
32447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32448 Here.
32449 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32450 to ...
32451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32452 Here.
32453 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32454 to ...
32455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32456 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32457 Moved to ...
32458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32459 Here.
32460 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32461 to ...
32462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32463
32464 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32465
32466 * sysdeps/unix/common/bits/dirent.h: Remove file.
32467 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32468
32469 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32470 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32471 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32472 * sysdeps/unix/bsd/isatty.c: Likewise.
32473 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32474 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32475 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32476
32477 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32478
32479 [BZ #13563]
32480 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32481 long double comparison inaccuracies.
32482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32484
32485 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32486
32487 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32489
32490 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32491
32492 [BZ #14049]
32493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32494 nonzero digits before rounding a hex value.
32495 * stdlib/tst-strtod.c (tests): Add another test.
32496
32497 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32498
32499 * sysdeps/s390/fpu/libm-test-ulps: Update.
32500
32501 2012-05-03 Andreas Jaeger <aj@suse.de>
32502
32503 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32504 does not get optimized out.
32505 (malloc_opt_barrier): New.
32506
32507 2012-05-03 Andreas Jaeger <aj@suse.de>
32508 Roland McGrath <roland@hack.frob.com>
32509
32510 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32511 intermediate file deletion.
32512 (generated): Add .symlist files.
32513
32514 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32515
32516 [BZ #13775]
32517 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32518 Redirect under this condition.
32519 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32520 [__USE_GNU] (__dprintf_chk): Not under this condition.
32521 [__USE_GNU] (__vdprintf_chk): Likewise.
32522 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32523 under this condition.
32524 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32525 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32526 [__USE_XOPEN2K8] (vdprintf): Likewise.
32527 [__USE_GNU] (__dprintf_chk): Not under this condition.
32528 [__USE_GNU] (__vdprintf_chk): Likewise.
32529 [__USE_GNU] (dprintf): Likewise.
32530 [__USE_GNU] (vdprintf): Likewise.
32531
32532 2012-05-03 Roland McGrath <roland@hack.frob.com>
32533
32534 * elf/Makefile (common-generated): Set this instead of generated for
32535 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32536 $(all-built-dso)-derived lists.
32537
32538 2012-05-03 Andreas Jaeger <aj@suse.de>
32539
32540 * sysdeps/i386/fpu/libm-test-ulps: Update.
32541
32542 * FAQ: Removed.
32543 * FAQ.in: Likewise.
32544 * scripts/gen-FAQ.pl: Likewise.
32545 * manual/install.texi (Installation): Point to online location of
32546 FAQ.
32547 * Makefile (files-for-dist): Remove FAQ.
32548 (FAQ): Remove.
32549
32550 2012-05-02 Allan McRae <allan@archlinux.org>
32551
32552 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32553 (LDFLAGS-reldepmod5.so): Likewise.
32554 (LDFLAGS-reldep6mod1.so): Likewise.
32555 (LDFLAGS-reldep6mod4.so): Likewise.
32556 (LDFLAGS-reldep8mod3.so): Likewise.
32557 (LDFLAGS-unload4mod1.so): Likewise.
32558 (LDFLAGS-unload4mod2.so): Likewise.
32559 (LDFLAGS-tst-initorder): Likewise.
32560 (LDFLAGS-tst-initordera2.so): Likewise.
32561 (LDFLAGS-tst-initordera3.so): Likewise.
32562 (LDFLAGS-tst-initordera4.so): Likewise.
32563 (LDFLAGS-tst-initorderb2.so): Likewise.
32564 (LDFLAGS-noload): Likewise.
32565 (LDFLAGS-next): Likewise.
32566 (LDFLAGS-order2mod1.so): Likewise.
32567 (LDFLAGS-order2mod2.so): Likewise.
32568 (LDFLAGS-tst-initorder2): Likewise.
32569 (LDFLAGS-tst-initorder2a.so): Likewise.
32570 (LDFLAGS-tst-initorder2b.so): Likewise.
32571 (LDFLAGS-tst-initorder2c.so): Likewise.
32572 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32573
32574 2012-05-02 David S. Miller <davem@davemloft.net>
32575
32576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32577
32578 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32579
32580 [BZ #14055]
32581 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32582
32583 2012-05-02 Andreas Jaeger <aj@suse.de>
32584
32585 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32586 since we manipulate rounding mode.
32587 (CPPFLAGS-test-idouble.c): Likewise.
32588 (CPPFLAGS-test-ifloat.c): Likewise.
32589 (CFLAGS-test-ldouble.c): Likewise.
32590 (CFLAGS-test-double.c): Likewise.
32591 (CFLAGS-test-float.c): Likewise.
32592 (CFLAGS-test-misc.c): Likewise.
32593 (CFLAGS-test-test-fenv.c): Likewise.
32594
32595 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32596
32597 [BZ #2550]
32598 [BZ #2570]
32599 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32600 comparisons to determine direction to adjust input.
32601
32602 2012-05-01 Roland McGrath <roland@hack.frob.com>
32603
32604 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32605 output to the target.
32606
32607 * scripts/localplt.awk: New file.
32608 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32609 (check-localplt-CFLAGS): Variable removed.
32610 ($(all-built-dso:=.jmprel)): New static pattern rule.
32611 (generated): Add those targets.
32612 (localplt-built-dso): New variable.
32613 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32614
32615 * elf/check-localplt.c: File removed.
32616
32617 * scripts/check-execstack.awk: New file.
32618 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32619 (check-execstack-CFLAGS): Variable removed.
32620 ($(objpfx)check-execstack.h): Target removed.
32621 ($(objpfx)execstack-default): New target.
32622 (generated): Add that instead of check-execstack.h.
32623 ($(all-built-dso:=.phdr)): New static pattern rule.
32624 (generated): Add those targets.
32625 * elf/check-execstack.c: File removed.
32626
32627 * scripts/check-textrel.awk: New file.
32628 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32629 (check-textrel-CFLAGS): Variable removed.
32630 (all-built-dso): Use := to define.o
32631 ($(all-built-dso:=.dyn)): New static pattern rule.
32632 (generated): Add those targets.
32633 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32634 * config.make.in (READELF): New substituted variable.
32635 * elf/check-textrel.c: File removed.
32636
32637 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32638
32639 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32640 allow.
32641 * conform/data/ctype.h-data [C99-based standards] (isblank):
32642 Expect function.
32643 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32644 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32646 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32647 Specify type. Require positive value.
32648 (EILSEQ): Likewise.
32649 (ERANGE): Likewise.
32650 [ISO || POSIX] (EILSEQ): Do not expect.
32651 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32652 Specify type. Require positive value.
32653 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32654 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32655 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32656 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32657 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32658 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32659 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32660 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32661 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32662 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32663 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32664 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32665 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32666 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32667 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32668 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32669 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32670 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32671 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32672 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32673 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32674 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32675 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32676 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32677 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32678 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32679 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32680 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32681 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32682 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32683 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32684 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32685 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32686 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32687 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32688 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32689 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32690 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32691 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32692 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32693 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32694 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32695 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32696 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32697 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32698 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32699 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32700 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32701 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32702 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32703 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32704 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32705 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32706 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32707 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32708 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32709 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32710 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32711 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32712 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32713 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32714 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32715 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32716 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32717 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32718 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32719 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32720 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32721 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32722 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32723 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32724 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32725 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32726 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32727 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32728 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32729 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32730 Require >= 2.
32731 (FLT_ROUNDS): Expect as macro, not constant.
32732 (FLT_MANT_DIG): Use macro-int-constant.
32733 (DBL_MANT_DIG): Likewise.
32734 (LDBL_MANT_DIG): Likewise.
32735 (FLT_DIG): Likewise.
32736 (DBL_DIG): Likewise.
32737 (LDBL_DIG): Likewise.
32738 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32739 (DBL_MIN_EXP): Likewise.
32740 (LDBL_MIN_EXP): Likewise.
32741 (FLT_MAX_EXP): Use macro-int-constant.
32742 (DBL_MAX_EXP): Likewise.
32743 (LDBL_MAX_EXP): Likewise.
32744 (FLT_MAX_10_EXP): Likewise.
32745 (DBL_MAX_10_EXP): Likewise.
32746 (LDBL_MAX_10_EXP): Likewise.
32747 (FLT_MAX): Use macro-constant.
32748 (DBL_MAX): Likewise.
32749 (LDBL_MAX): Likewise.
32750 (FLT_EPSILON): Use macro-constant. Give upper bound.
32751 (DBL_EPSILON): Likewise.
32752 (LDBL_EPSILON): Likewise.
32753 (FLT_MIN): Likewise.
32754 (DBL_MIN): Likewise.
32755 (LDBL_MIN): Likewise.
32756 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32757 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32758 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32759 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32760 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32761 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32762 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32763 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32764 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32765 [ISO11] (FLT_TRUE_MIN): Likewise.
32766 [ISO11] (LDBL_TRUE_MIN): Likewise.
32767 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32768 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32769 (SCHAR_MIN): Use macro-int-constant. Specify type.
32770 (SCHAR_MAX): Likewise.
32771 (UCHAR_MAX): Likewise.
32772 (CHAR_MIN): Likewise.
32773 (CHAR_MAX): Likewise.
32774 (MB_LEN_MAX): Use macro-int-constant.
32775 (SHRT_MIN): Use macro-int-constant. Specify type.
32776 (SHRT_MAX): Likewise.
32777 (USHRT_MAX): Likewise.
32778 (INT_MAX): Likewise.
32779 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32780 bound negative.
32781 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32782 bound with "U".
32783 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32784 bound with "L".
32785 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32786 bound negative. Suffix upper bound with "L".
32787 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32788 bound with "UL".
32789 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32790 Specify type.
32791 [C99-based standards] (LLONG_MAX): Likewise.
32792 [C99-based standards] (ULLONG_MAX): Likewise.
32793 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32794 == 0.
32795 [ISO11] (max_align_t): Require type.
32796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32797
32798 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32799 from $CFLAGS, without defining away __attribute__ calls.
32800 (checknamespace): Use $CFLAGS_namespace.
32801
32802 * conform/conformtest.pl (@keywords): Only include C99 keywords
32803 for standards based on C99 or C11.
32804
32805 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32806 Disable tests.
32807 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32808 UNIX98]: Likewise.
32809
32810 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32811 usability of symbols in #if.
32812
32813 * conform/conformtest.pl: If macro or constant types start
32814 "promoted:", expect the symbol to be of the following type
32815 promoted by the integer promotions.
32816
32817 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32818 in one place. Also handle "macro-constant".
32819
32820 * conform/conformtest.pl: Only accept expected macro values with
32821 "==". Parse all "macro" lines in one place.
32822 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32823
32824 * conform/conformtest.pl: Handle braced types on "constant" lines
32825 instead of handling "typed-constant".
32826 * conform/data/signal.h-data: Use "constant" instead of
32827 "typed-constant".
32828
32829 * conform/conformtest.pl: Handle "optional-" at start of lines in
32830 one place rather than duplicating several cases. Handle each
32831 format of "macro" line with initial "optional-".
32832
32833 * conform/conformtest.pl: Only accept expected constant or
32834 optional-constant values with "==". Parse all "constant" lines in
32835 one place. Parse all "optional-constant" lines in one place.
32836 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32837 * conform/data/fmtmsg.h-data: Likewise.
32838 * conform/data/netinet/in.h-data: Likewise.
32839 * conform/data/tar.h-data: Likewise.
32840 * conform/data/limits.h-data: Use "==" form on "constant" and
32841 "optional-constant" lines.
32842
32843 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32844 Use -std=c99 for XOPEN2K.
32845 (@knownproblems): Remove.
32846 (newtoken): Don't check %isknown.
32847
32848 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32849 Do not expect macro.
32850 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32851 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32852 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32853 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32854 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32855 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32856 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32857 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32858 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32859 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32860 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32861 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32862 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32863 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32864 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32865 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32866 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32867 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32868 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32869 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32870 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32871 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32872 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32873 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32874 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32875 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32876 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32877 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32878 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32879 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32880 [XPG3] (acosh): Likewise.
32881 [XPG3] (asinh): Likewise.
32882 [XPG3] (atanh): Likewise.
32883 [XPG3] (cbrt): Likewise.
32884 [XPG3] (expm1): Likewise.
32885 [XPG3] (ilogb): Likewise.
32886 [XPG3] (log1p): Likewise.
32887 [XPG3] (logb): Likewise.
32888 [XPG3] (nextafter): Likewise.
32889 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32890 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32891 [XPG3] (remainder): Likewise.
32892 [XPG3] (rint): Likewise.
32893 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32894 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32895 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32896 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32897 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32898 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32899 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32900 [UNIX98 || XOPEN2K] (scalb): Expect.
32901 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32902 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32903 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32904 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32905 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32906 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32907 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32908 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32909 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32910 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32911 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32912 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32913 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32914 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32915 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32916 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32917 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32918 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32919 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32920 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32921 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32922 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32923 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32924 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32925 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32926 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32927 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32928 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32929 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32930 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32931 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32932 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32933 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32934 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32935 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32936 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32937 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32938 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32939 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32940 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32941 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32942 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32943 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32944 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32945 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32946 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32947 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32948 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32949 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32950 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32951 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32952 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32953 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32954 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32955 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32956 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32957 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32958 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32959 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32960 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32961 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32962 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32963 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32964 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32965 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32966 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32967 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32968 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32969 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32970 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32971 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32972 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32973 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32974 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32975 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32976 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32977 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32978 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32979 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32980 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32981 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32982 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32983 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32984 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32985 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32986 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32987 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32988 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32989 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32990 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32991 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32992 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32993 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32994 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32995 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32996 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32997 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32998 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32999 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33000 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33001 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33002 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33003 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33004 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33005 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33006 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33007 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33008 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33009 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33010 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33011 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33012 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33013 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33014 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33015 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33016 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33017 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33018 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33019 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33020 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33021 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33022 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33023 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33024 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33025 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33026 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33027 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33028 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33029 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33030 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33031 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33032 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33033 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33034 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33035 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33036 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33037 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33038
33039 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33040 _XOPEN_SOURCE_EXTENDED for XPG4.
33041
33042 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33043
33044 * Makeconfig (localtime): Remove variable.
33045 (inst_localtime-file): Likewise.
33046
33047 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33048
33049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33050 Update.
33051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33052 Update.
33053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33054 Update.
33055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33056 Update.
33057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33058 Update.
33059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33060 Update.
33061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33062 Update.
33063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33064 Update.
33065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33066 Update.
33067
33068 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33069
33070 [BZ #2550]
33071 [BZ #2570]
33072 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33073 comparisons to determine direction to adjust input.
33074 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33075 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33077 Likewise.
33078 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33079 Likewise.
33080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33081 Likewise.
33082 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33083 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33084 Likewise.
33085 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33086 Likewise.
33087 * math/libm-test.inc (nexttoward_test): Add more tests.
33088
33089 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33090
33091 [BZ #14040]
33092 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33093 in version GLIBC_2.1, not GLIBC_2.0.
33094 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33095 Likewise.
33096
33097 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33098
33099 [BZ #13942]
33100 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33101 (1 - x) * (1 + x).
33102 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33103 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33104 * math/libm-test.inc (acos_test): Add more tests.
33105 (asin_test): Likewise.
33106 * sysdeps/i386/fpu/libm-test-ulps: Update.
33107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33108
33109 [BZ #14034]
33110 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33111 of square root.
33112 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33113 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33114 * math/libm-test.inc (acos_test_tonearest): New function.
33115 (acos_test_towardzero): Likewise.
33116 (acos_test_downward): Likewise.
33117 (acos_test_upward): Likewise.
33118 (asin_test_tonearest): Likewise.
33119 (asin_test_towardzero): Likewise.
33120 (asin_test_downward): Likewise.
33121 (asin_test_upward): Likewise.
33122 (main): Call the new functions.
33123 * sysdeps/i386/fpu/libm-test-ulps: Update.
33124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33125
33126 [BZ #13884]
33127 [BZ #13924]
33128 * math/e_exp10.c: Include <float.h>.
33129 (__ieee754_exp10): Handle underflow here rather than multiplying
33130 large negative argument by M_LN10.
33131 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33132 of __ieee754_expf.
33133 * math/e_exp10l.c: Include <float.h>.
33134 (__ieee754_exp10l): Handle underflow here rather than multiplying
33135 large negative argument by M_LN10l.
33136 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33137 spurious overflow exception on underflow.
33138
33139 2012-04-29 Marek Polacek <polacek@redhat.com>
33140
33141 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33142 (__fortify_function): New macro.
33143 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33144 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33145 __extern_always_inline.
33146 * libio/bits/stdio2.h: Likewise.
33147 * libio/bits/stdio.h: Likewise.
33148 * string/string.h: Likewise.
33149 * string/bits/string3.h: Likewise.
33150 * include/stdio.h: Likewise.
33151 * stdlib/bits/stdlib.h: Likewise.
33152 * stdlib/stdlib.h: Likewise.
33153 * rt/bits/mqueue2.h: Likewise.
33154 * rt/mqueue.h: Likewise.
33155 * posix/bits/unistd.h: Likewise.
33156 * posix/unistd.h: Likewise.
33157 * io/bits/poll2.h: Likewise.
33158 * io/bits/fcntl2.h: Likewise.
33159 * io/fcntl.h: Likewise.
33160 * io/sys/poll.h: Likewise.
33161 * misc/bits/syslog.h: Likewise.
33162 * misc/bits/syslog-ldbl.h: Likewise.
33163 * misc/sys/syslog.h: Likewise.
33164 * socket/bits/socket2.h: Likewise.
33165 * socket/sys/socket.h: Likewise.
33166 * debug/tst-chk1.c: Likewise.
33167 * wcsmbs/bits/wchar2.h: Likewise.
33168 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33169 * wcsmbs/wchar.h: Likewise.
33170
33171 2012-04-29 Andreas Jaeger <aj@suse.de>
33172
33173 * Makerules (tests): Remove enable-check-abi protection.
33174 (check-abi-warn): Remove.
33175 (check-abi-%): Remove check-abi-warn usage.
33176
33177 * configure.in: Remove check-abi configure option.
33178 * configure: Regenerated.
33179 * config.make.in (enable-check-abi): Remove.
33180
33181 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33182
33183 [BZ #14033]
33184 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33185 double functions to double *_finite functions.
33186
33187 [BZ #13941]
33188 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33189 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33190 LDBL_MIN_EXP.
33191 * stdio-common/Makefile (tests): Add tst-sprintf3.
33192 * stdio-common/tst-sprintf3.c: New file.
33193
33194 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33195 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33196
33197 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33198
33199 * conform/conformtest.pl: Remove duplicate typed-constant
33200 handling.
33201
33202 2012-04-28 David S. Miller <davem@davemloft.net>
33203
33204 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33205 (check-abi-%): Remove AWK script prerequisite and explicit
33206 abilist directory.
33207 (check-abi): Rewrite to just diff the symlist with the abilist.
33208 (config-tls, config-abi-config): Delete, no longer used.
33209 (update-abi-%): Remove AWK script and explicit abilist directory.
33210 (update-abi): Rewrite to simply compare and conditionally copy the
33211 symlist and the sysdep abilist file. Remove update-abi-config
33212 checks.
33213 * abilist/ld.abilist: Remove.
33214 * abilist/libBrokenLocale.abilist: Remove.
33215 * abilist/libanl.abilist: Remove.
33216 * abilist/libcrypt.abilist: Remove.
33217 * abilist/libdl.abilist: Remove.
33218 * abilist/librt.abilist: Remove.
33219 * abilist/libthread_db.abilist: Remove.
33220 * abilist/libutil.abilist: Remove.
33221 * scripts/extract-abilist.awk: Remove.
33222 * scripts/merge-abilist.awk: Remove.
33223 * sysdeps/generic/libcidn.abilist: New file.
33224 * sysdeps/generic/libnss_compat.abilist: New file.
33225 * sysdeps/generic/libnss_db.abilist: New file.
33226 * sysdeps/generic/libnss_dns.abilist: New file.
33227 * sysdeps/generic/libnss_files.abilist: New file.
33228 * sysdeps/generic/libnss_hesiod.abilist: New file.
33229 * sysdeps/generic/libnss_nis.abilist: New file.
33230 * sysdeps/generic/libnss_nisplus.abilist: New file.
33231 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33232 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33233 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33234 file.
33235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33236 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33237 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33238 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33239 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33240 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33241 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33242 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33243 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33244 file.
33245 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33246 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33247 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33248 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33249 file.
33250 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33251 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33252 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33253 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33254 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33255 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33256 file.
33257 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33258 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33259 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33260 file.
33261 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33263 New file.
33264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33265 New file.
33266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33267 New file.
33268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33269 New file.
33270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33271 New file.
33272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33273 New file.
33274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33275 New file.
33276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33277 New file.
33278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33279 New file.
33280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33281 New file.
33282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33283 New file.
33284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33285 New file.
33286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33287 New file.
33288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33289 file.
33290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33291 New file.
33292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33293 New file.
33294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33295 file.
33296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33297 New file.
33298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33299 New file.
33300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33301 file.
33302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33303 New file.
33304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33305 New file.
33306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33307 New file.
33308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33309 New file.
33310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33311 New file.
33312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33313 New file.
33314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33316 file.
33317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33318 New file.
33319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33320 file.
33321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33322 file.
33323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33324 file.
33325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33326 file.
33327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33328 file.
33329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33330 New file.
33331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33332 file.
33333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33334 file.
33335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33336 New file.
33337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33338 file.
33339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33341 file.
33342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33343 New file.
33344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33345 file.
33346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33347 file.
33348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33349 file.
33350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33351 file.
33352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33353 file.
33354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33355 New file.
33356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33357 file.
33358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33359 file.
33360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33361 New file.
33362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33363 file.
33364 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33365 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33366 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33367 file.
33368 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33369 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33370 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33371 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33372 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33373 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33374 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33375 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33376 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33377 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33380 file.
33381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33382 New file.
33383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33384 file.
33385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33386 file.
33387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33388 file.
33389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33390 file.
33391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33392 file.
33393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33394 New file.
33395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33396 New file.
33397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33398 file.
33399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33400 New file.
33401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33402 file.
33403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33405 file.
33406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33407 New file.
33408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33409 file.
33410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33411 file.
33412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33413 file.
33414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33415 file.
33416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33417 file.
33418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33419 New file.
33420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33421 New file.
33422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33423 file.
33424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33425 New file.
33426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33427 file.
33428
33429 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33430
33431 * conform/conformtest.pl: Fix typo in handling typed-constant from
33432 allow-header.
33433
33434 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33435
33436 * README: Cut down references to pre-2.6 Linux kernels and
33437 Linuxthreads. Update lists of configurations in libc and ports
33438 and sort alphabetically. Say "or newer" with Linux kernel version
33439 requirements.
33440
33441 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33442
33443 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33444
33445 [BZ #887]
33446 * math/libm-test.inc (logb_test_downward): New test to expose
33447 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33448 rounding mode.
33449
33450 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33451
33452 [BZ #14027]
33453 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33454 to be done.
33455 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33456 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33457
33458 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33459
33460 * sysdeps/unix/i386/brk.S: Remove file.
33461 * sysdeps/unix/i386/dl-brk.S: Likewise.
33462 * sysdeps/unix/i386/pipe.S: Likewise.
33463 * sysdeps/unix/i386/sigreturn.S: Likewise.
33464 * sysdeps/unix/i386/syscall.S: Likewise.
33465 * sysdeps/unix/i386/vfork.S: Likewise.
33466 * sysdeps/unix/i386/wait.S: Likewise.
33467
33468 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33469 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33470
33471 * configure.in (arm*-none*): Do not allow without
33472 --enable-hacker-mode.
33473 (netbsd*): Remove case setting base_os.
33474 (386bsd*): Likewise.
33475 (freebsd*): Likewise.
33476 (bsdi*): Likewise.
33477 (osf*): Likewise.
33478 (sunos*): Likewise.
33479 (ultrix*): Likewise.
33480 (newsos*): Likewise.
33481 (dynix*): Likewise.
33482 (*bsd*): Likewise.
33483 (sysv*): Likewise.
33484 (isc*): Likewise.
33485 (esix*): Likewise.
33486 (sco*): Likewise.
33487 (minix*): Likewise.
33488 (irix4*): Likewise.
33489 (irix6*): Likewise.
33490 (solaris[2-9]*): Likewise.
33491 (none): Likewise.
33492 * configure: Regenerated.
33493
33494 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33495
33496 [BZ #11521]
33497 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33498 overflow or cancellation in calculating denominator.
33499 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33500 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33501 down expression to avoid unexpected rounding in newer GCCs.
33502 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33503
33504 2012-04-26 David S. Miller <davem@davemloft.net>
33505
33506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33507 long-double compat symbols.
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33521
33522 2012-04-25 David S. Miller <davem@davemloft.net>
33523
33524 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33525 HWCAP_* values only after the memory barriers have been defined.
33526 (atomic_full_barrier): Define.
33527 (atomic_read_barrier): Define.
33528 (atomic_write_barrier): Define.
33529
33530 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33531
33532 * shlib-versions: Add libgcc_s version information.
33533 * sysdeps/generic/libgcc_s.h: Remove.
33534 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33535 libgcc_s.h.
33536 * sysdeps/gnu/unwind-resume.c: Likewise.
33537 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33538
33539 2012-04-25 David S. Miller <davem@davemloft.net>
33540
33541 * sysdeps/unix/sparc/brk.S: Delete.
33542 * sysdeps/unix/sparc/dl-brk.S: Delete.
33543 * sysdeps/unix/sparc/pipe.S: Delete.
33544 * sysdeps/unix/sparc/sysdep.S: Delete.
33545 * sysdeps/unix/sparc/sysdep.h: Delete.
33546 * sysdeps/unix/sparc/vfork.S: Delete.
33547 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33548 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33550 (ret_ERRVAL, r0, r1, MOVE): Define.
33551 (JUMPTARGET): Remove.
33552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33553 sysdeps/unix/sparc/sysdep.h
33554 (ENTRY, END): Remove.
33555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33556
33557 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33558
33559 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33560 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33561 -DIS_IN_build.
33562
33563 * timezone/README: Update upstream location and email address for
33564 tzcode and tzdata.
33565 * timezone/zdump.c: Update from tzcode 2012b.
33566 * timezone/zic.c: Likewise.
33567
33568 * configure.in (libc_cv_as_needed): Remove test.
33569 * configure: Regenerated.
33570 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33571 conditional definition.
33572 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33573 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33574 * config.make.in (have-as-needed): Remove variable.
33575
33576 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33577 Paul Pluzhnikov <ppluzhnikov@google.com>
33578
33579 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33580 strings correctly.
33581
33582 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33583
33584 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33585 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33586 * sysdeps/sh/strlen.S: Likewise.
33587
33588 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33589
33590 * sysdeps/unix/fork.S: Remove file.
33591 * sysdeps/unix/i386/fork.S: Likewise.
33592 * sysdeps/unix/sparc/fork.S: Likewise.
33593
33594 * sysdeps/unix/system.c: Remove file.
33595 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33596
33597 * sysdeps/unix/getegid.S: Remove file.
33598 * sysdeps/unix/geteuid.S: Likewise.
33599
33600 2012-04-24 Roland McGrath <roland@hack.frob.com>
33601
33602 * scripts/check-localplt.awk: New file.
33603 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33604 of diff.
33605 * scripts/data/localplt-generic.data: Add a comment.
33606
33607 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33608 NODE when __dir_mkfile failed.
33609 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33610 Reported by Ludovic Courtès <ludo@gnu.org>.
33611
33612 2012-04-24 Andreas Jaeger <aj@suse.de>
33613
33614 * Makerules (common-clean): Also remove gen-as-const-headers
33615 files.
33616
33617 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33618
33619 * Makerules (native-compile): Do not change working directory for
33620 build. Use $(OUTPUT_OPTION) in command.
33621 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33622
33623 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33624
33625 [BZ #13886]
33626 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33627 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33628 * math/libm-test.inc (floor_test): Add more tests.
33629 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33630
33631 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33632
33633 * sysdeps/unix/getdents.c: Remove file.
33634 * sysdeps/unix/sysv/getdents.c: Likewise.
33635 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33636
33637 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33638 sysdeps/unix/mman/syscalls.list.
33639 (mmap): Likewise.
33640 (mprotect): Likewise.
33641 (msync): Likewise.
33642 (munmap): Likewise.
33643 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33644 * sysdeps/unix/mman/syscalls.list: Remove.
33645 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33646
33647 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33648 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33649 * configure: Regenerated.
33650 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33651 $(libgcc_s_suffix).
33652 * config.make.in (libgcc_s_suffix): Remove variable.
33653
33654 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33655
33656 * sysdeps/unix/sysv/gethostname.c: Move to ...
33657 * sysdeps/posix/gethostname.c: ... here.
33658
33659 * sysdeps/unix/execve.S: Remove file.
33660
33661 * sysdeps/unix/_exit.S: Remove file.
33662
33663 2012-04-23 Andreas Jaeger <aj@suse.de>
33664
33665 [BZ #13739]
33666 * manual/Makefile: Remove make dist support, there's no
33667 need for a stand-alone documentation tar ball.
33668 (TEXI2DVI): Define always, it's not in Makeconfig.
33669 (dist): Removed.
33670 (tar-it): Removed.
33671 (edition): Removed.
33672 (glibc-doc-$(edition).tar): Removed
33673 (%.Z): Removed.
33674 (%.gz): Removed.
33675 (%.uu): Removed.
33676 (ETAGS): Remove, it's in Makeconfig.
33677 (move-if-change): Remove, it's in Makeconfig.
33678
33679 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33680
33681 [BZ #13970]
33682 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33683 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33684 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33685 (strtod_l, strtof_l, strtold_l): Remove __wur.
33686 It is not necessarily an error to ignore strtol's return value.
33687 One can reliably look at the stored endptr to decide whether
33688 the number had valid syntax.
33689
33690 2012-04-21 Andreas Jaeger <aj@suse.de>
33691
33692 [BZ #13739]
33693 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33694
33695 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33696
33697 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33698 * sysdeps/unix/sysv/Versions: Remove file.
33699
33700 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33701
33702 [BZ #13927]
33703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33704
33705 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33706
33707 [BZ #7064]
33708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33709 version from __vm86.
33710
33711 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33712
33713 * sysdeps/unix/common/lxstat.c: Remove file.
33714 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33715
33716 * sysdeps/unix/sysv/Makefile: Remove file.
33717
33718 * sysdeps/unix/sysv/direct.h: Remove file.
33719
33720 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33721 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33722 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33723 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33724 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33725 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33726 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33727
33728 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33729
33730 * sysdeps/unix/xmknod.c: Remove file.
33731 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33732
33733 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33734
33735 * sysdeps/unix/sysv/i386/time.S: Remove file.
33736
33737 * sysdeps/unix/fxstat.c: Remove file.
33738 * sysdeps/unix/xstat.c: Likewise.
33739 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33740
33741 * sysdeps/unix/sysv/sigaction.c: Remove file.
33742
33743 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33744 (sysdep_headers): Remove variable.
33745 [termio.h not in sysdep_headers] (generated): Likewise.
33746 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33747 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33748 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33749 * sysdeps/unix/sysv/tcflow.c: Likewise.
33750 * sysdeps/unix/sysv/tcflush.c: Likewise.
33751 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33752 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33753 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33754 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33755 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33756
33757 * sysdeps/unix/siglist.c: Remove file.
33758
33759 * sysdeps/unix/getppid.S: Remove file.
33760
33761 * sysdeps/unix/mkdir.c: Remove file.
33762 * sysdeps/unix/rmdir.c: Likewise.
33763
33764 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33765
33766 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33767 ERR_MAX value.
33768 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33769 errlist-compat value.
33770
33771 2012-04-18 David S. Miller <davem@davemloft.net>
33772
33773 * sysdeps/generic/memcopy.h (reg_char): Delete.
33774 * debug/strcat_chk.c: Use char, not reg_char.
33775 * debug/strcpy_chk.c: Likewise.
33776 * debug/strncat_chk.c: Likewise.
33777 * debug/strncpy_chk.c: Likewise.
33778 * string/memchr.c: Likewise.
33779 * string/memrchr.c: Likewise.
33780 * string/rawmemchr.c: Likewise.
33781 * string/strcat.c: Likewise.
33782 * string/strchr.c: Likewise.
33783 * string/strchrnul.c: Likewise.
33784 * string/strcmp.c: Likewise.
33785 * string/strcpy.c: Likewise.
33786 * string/strncat.c: Likewise.
33787 * string/strncmp.c: Likewise.
33788 * string/strncpy.c: Likewise.
33789
33790 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33791
33792 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33793 __builtin_memcopy is called when src and dest ranges are known to not
33794 overlap.
33795
33796 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33797
33798 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33799 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33800 fwd_align_merge macro call.
33801 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33802 bwd_align_merge macro call.
33803 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33804
33805 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33806
33807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33808 bwd_align_merge macros.
33809 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33810 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33811 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33812
33813 2012-04-18 David S. Miller <davem@davemloft.net>
33814
33815 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33816
33817 2012-04-18 Andreas Jaeger <aj@suse.de>
33818
33819 [BZ# 6794]
33820 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33821 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33822 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33823
33824 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33825 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33826 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33827
33828 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33829 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33830 Adjust for changed ldbl-128 files.
33831
33832 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33833 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33834 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33835
33836 2012-04-17 David S. Miller <davem@davemloft.net>
33837
33838 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33839
33840 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33841
33842 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33843 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33844 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33845 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33846 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33847 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33848
33849 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33850
33851 [BZ #6794]
33852 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33853 * math/libm-test.inc: Add ilogb errno and exception tests.
33854 * math/w_ilogb.c: New file: ilogb wrapper.
33855 * math/w_ilogbf.c: New file: ilogbf wrapper.
33856 * math/w_ilogbl.c: New file: ilogbl wrapper.
33857 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33858 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33859 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33860 exception being thrown with 0.0 as argument.
33861 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33862 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33863 exception being thrown with 0.0 as argument.
33864 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33865 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33866 exception being thrown with 0.0 as argument.
33867 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33868 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33869 exception being thrown with 0.0 as argument.
33870 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33871 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33872 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33873 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33874 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33875 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33876 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33877 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33878 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33879
33880 2012-04-17 Petr Baudis <pasky@ucw.cz>
33881
33882 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33883 with altivec.
33884
33885 2012-04-16 Marek Polacek <polacek@redhat.com>
33886
33887 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33888
33889 2012-04-16 Marek Polacek <polacek@redhat.com>
33890
33891 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33892 operands of fdivp instruction.
33893
33894 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33895
33896 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33897 * elf/tst-auditmod3b.c: Likewise.
33898 * elf/tst-auditmod4b.c: Likewise.
33899 * elf/tst-auditmod5b.c: Likewise.
33900 * elf/tst-auditmod6b.c: Likewise.
33901 * elf/tst-auditmod6c.c: Likewise.
33902 * elf/tst-auditmod7b.c: Likewise.
33903 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33904 * sysdeps/x86_64/preconfigure.in: Likewise.
33905 * sysdeps/x86_64/preconfigure: Regenerated.
33906
33907 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33908
33909 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33910 __ILP32__.
33911
33912 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33913
33914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33915 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33916
33917 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33918
33919 [BZ #13973]
33920 * locale/iso-639.def: Fix gl language name. Spotted by
33921 Yaron Shahrabani.
33922
33923 2012-04-12 Roland McGrath <roland@hack.frob.com>
33924
33925 [BZ #2074]
33926 * libio/libio.h (__io_write_fn): Update comment.
33927
33928 2012-04-12 Petr Baudis <pasky@ucw.cz>
33929
33930 [BZ #2074]
33931 * stdio.texi (Hook Functions): The user provided writer function
33932 is not allowed to return -1.
33933
33934 2012-04-11 David S. Miller <davem@davemloft.net>
33935
33936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33937
33938 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33939
33940 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33941 Add a leading slash to rtkaio.
33942
33943 2012-04-11 Jim Meyering <meyering@redhat.com>
33944
33945 [BZ #11959]
33946 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33947 It is not necessarily an error to ignore fwrite's return
33948 value. One can reliably use ferror to test for errors after
33949 the fact.
33950
33951 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33952
33953 * bits/types.h (__snseconds_t): New type.
33954 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33955
33956 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33958 (__SNSECONDS_T_TYPE): Likewise.
33959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33960 (__SNSECONDS_T_TYPE): Likewise.
33961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33962 (__SNSECONDS_T_TYPE): Likewise.
33963
33964 2012-04-10 Andreas Jaeger <aj@suse.de>
33965
33966 [BZ #2636]
33967 * manual/time.texi (Processor Time): Return type of times is
33968 elapsed real time since an arbitrary point in the past.
33969 (CPU Time): Move CLK_TCK from here...
33970 (Processor Time): ...to here. Correct description.
33971 * manual/conf.texi (Constants for Sysconf): Correct description of
33972 _SC_CLK_TCK.
33973
33974 2012-04-10 David S. Miller <davem@davemloft.net>
33975
33976 [BZ #13967]
33977 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33978 where the is a gap between DT_REL(A) and DT_JMPREL.
33979
33980 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33981
33982 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33983 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33984 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33985
33986 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33987
33988 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33989 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33990 (dl_main): Handle --inhibit-cache.
33991 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33992 _dl_inhibit_cache.
33993 * elf/dl-load.c (_dl_map_object): Use it.
33994 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33995
33996 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33997
33998 [BZ #13872]
33999 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34000 (__ieee754_powl): Saturate large exponents rather than testing for
34001 overflow of y*log2(x).
34002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34003 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34004 exceptions.
34005
34006 [BZ #11521]
34007 * math/s_ctan.c: Include <float.h>.
34008 (__ctan): Avoid internal overflow or cancellation in calculating
34009 denominator.
34010 * math/s_ctanf.c: Likewise.
34011 * math/s_ctanl.c: Likewise.
34012 * math/s_ctanh.c: Likewise.
34013 * math/s_ctanhf.c: Likewise.
34014 * math/s_ctanhl.c: Likewise.
34015 * math/libm-test.inc (ctan_test): Add more tests.
34016 (ctanh_test): Likewise.
34017 * sysdeps/i386/fpu/libm-test-ulps: Update.
34018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34019
34020 2012-04-09 Andreas Jaeger <aj@suse.de>
34021
34022 [BZ #6894]
34023 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34024 is an optional BSD extension.
34025
34026 [BZ #10254]
34027 * manual/stdio.texi (Opening Streams): Document additional fopen
34028 parameters.
34029
34030 2012-04-09 Roland McGrath <roland@hack.frob.com>
34031
34032 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34033 %eax without telling the compiler.
34034
34035 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34036
34037 [BZ # 13963]
34038 * manual/install.texi: Use sourceware.org.
34039
34040 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34041
34042 [BZ #13873]
34043 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34044 (__ieee754_pow): Generate overflow and underflow using huge*huge
34045 and tiny*tiny rather than just returning constant infinity or zero
34046 for large exponents.
34047 * math/libm-test.inc (pow_test): Require overflow exceptions for
34048 applicable cases of large exponents.
34049
34050 [BZ #706]
34051 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34052 (__ieee754_pow): Use iterative multiplication algorithm only for
34053 integer exponents with absolute value below 1024. Check for odd
34054 integer exponents when using algorithm for real exponents.
34055 * math/libm-test.inc (pow_test): Add more tests.
34056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34057
34058 2012-04-08 Joseph Myers <joseph@codesourcery.com>
34059
34060 [BZ #13705]
34061 * math/libm-test.inc (exp_test): Do not allow overflow exception
34062 on underflow test.
34063
34064 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34065
34066 [BZ #13705]
34067 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34068 instead of __kernel_standard_f.
34069
34070 2012-04-08 Mike Frysinger <vapier@gentoo.org>
34071
34072 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34073 * sysdeps/x86_64/memset_chk.S: Likewise.
34074
34075 2012-04-08 Andreas Jaeger <aj@suse.de>
34076
34077 [BZ #10153]
34078 * manual/startup.texi (Environment Access): Describe return value
34079 for putenv and setenv.
34080
34081 [BZ #6895]
34082 * manual/filesys.texi (Directory Entries): Add description for
34083 DT_LNK.
34084
34085 [BZ #6890]
34086 * manual/filesys.texi (Directory Entries): Clarify that it's file
34087 system not operating system in the description of DT_UNKNOWN.
34088
34089 [BZ #6578]
34090 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34091
34092 2012-04-08 Stephen Compall <s11@member.fsf.org>
34093
34094 [BZ #6649]
34095 * manual/llio.texi (Opening and Closing Files): Add cross
34096 reference to explain mode argument.
34097
34098 2012-04-07 Mike Frysinger <vapier@gentoo.org>
34099
34100 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34101 * sysdeps/x86_64/memset_chk.S: Likewise.
34102
34103 2012-04-07 David S. Miller <davem@davemloft.net>
34104
34105 * elf/elf.h (R_SPARC_WDISP10): Define.
34106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34107 R_SPARC_SIZE32.
34108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34109 R_SPARC_SIZE64 and R_SPARC_H34.
34110
34111 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34112
34113 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34114 conditions and remove no longer applicable assertion.
34115
34116 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34117
34118 * bits/byteswap.h: Include <features.h>.
34119 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34120 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34121
34122 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34123
34124 * bits/byteswap.h (__bswap_16): Removed.
34125 Include <bits/byteswap-16.h> to get __bswap_16.
34126 * sysdeps/i386/bits/byteswap.h: Likewise.
34127 * sysdeps/s390/bits/byteswap.h: Likewise.
34128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34129 * bits/byteswap-16.h: New file.
34130 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34131 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34132 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34133 * string/Makefile (headers): Add bits/byteswap-16.h.
34134
34135 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34136
34137 [BZ #13895]
34138 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34139 extra indirection.
34140 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34141 * nss/tst-nss-static.c: New.
34142
34143 2012-04-06 Robert Millan <rmh@gnu.org>
34144
34145 [BZ #6486]
34146 * manual/llio.texi (File Position Primitive): lseek
34147 refers to WHENCE when it really means OFFSET.
34148
34149 2012-04-06 Andreas Jaeger <aj@suse.de>
34150
34151 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34152 strncmp declarations.
34153
34154 * abilist/libc.abilist: Add __poll and __ppoll.
34155
34156 2012-04-05 David S. Miller <davem@davemloft.net>
34157
34158 * scripts/check-local-headers.sh: Accept a host triplet in the
34159 path matched by the exclude regexp.
34160
34161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34162 definition.
34163 * sysdeps/powerpc/powerpc32/dl-machine.h
34164 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34165 * sysdeps/s390/s390-32/dl-machine.h
34166 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34167 * sysdeps/sparc/sparc32/dl-machine.h
34168 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34169 * sysdeps/sparc/sparc64/dl-machine.h
34170 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34171
34172 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34173 lazy binding.
34174 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34175 undefined symbol errors.
34176
34177 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34178 DT_NEEDED entries.
34179
34180 2012-04-05 Michael Matz <matz@suse.de>
34181
34182 [BZ #13592]
34183 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34184
34185 2012-04-05 Andreas Jaeger <aj@suse.de>
34186
34187 [BZ #13908]
34188 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34189 comment.
34190
34191 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34192
34193 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34194 which ROUND is no valid rounding mode.
34195
34196 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34197
34198 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34199 read again.
34200 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34201
34202 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34203
34204 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34205 an exception using FPU order intentionally.
34206
34207 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34208
34209 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34210 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34211 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34212 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34213
34214 2012-04-05 Simon Josefsson <simon@josefsson.org>
34215
34216 [BZ #12340]
34217 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34218 EINVAL when BUFLEN is too smal.
34219
34220 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34221
34222 [BZ #13553]
34223 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34224 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34225
34226 2012-04-03 Andreas Jaeger <aj@suse.de>
34227
34228 [BZ #13938]
34229 * manual/setjmp.texi (System V contexts): Fix sentence.
34230
34231 [BZ #13926]
34232 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34233 New macro for this case.
34234 [!__GNUC__] (__bswap_64): New inline function for this case.
34235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34236 * bits/byteswap.h: Likewise.
34237 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34238 ull, guard with __GLIBC_HAVE_LONG_LONG.
34239
34240 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34241 __GLIBC_HAVE_LONG_LONG.
34242
34243 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34244 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34245
34246 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34247
34248 [BZ #13691]
34249 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34250 inptr and inend, rather than using last_ch.
34251
34252 2012-04-02 David S. Miller <davem@davemloft.net>
34253
34254 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34255 * stdio-common/printf-parse.h (read_int): Change return type to
34256 'int', return -1 on INT_MAX overflow.
34257 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34258 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34259 overflows INT_MAX. Check for overflow of in-format-string precision
34260 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34261 SIZE_MAX not INT_MAX for integer overflow test.
34262 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34263 skip the construct in the format string but do not record anything.
34264 * stdio-common/bug22.c: Adjust to test both width/prevision
34265 INT_MAX overflow as well as total length INT_MAX overflow. Check
34266 explicitly for proper errno values.
34267
34268 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34269
34270 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34271 CHAR_MAX.
34272 * string/test-strcmp.c [! WIDE]: Likewise.
34273 * time/tst-mktime2.c: Likewise for INT_MAX.
34274 * string/test-string.h: #include <sys/param.h> for MIN.
34275
34276 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34277 * sysdeps/i386/init-first.c (init): Likewise.
34278 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34279 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34280 * sysdeps/sh/init-first.c (init): Likewise.
34281
34282 2012-04-01 Ulrich Drepper <drepper@gmail.com>
34283
34284 * po/ru.po: Update from translation team.
34285 * po/vi.po: Likewise.
34286
34287 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34288
34289 * resolv/nss_dns/dns-host.c: Merge copyright years.
34290
34291 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34292
34293 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34294 Optimize memcpy with prefetch if
34295 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34296 src, dst pointers have unequal 16 byte alignments.
34297
34298 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34299
34300 [BZ #13928]
34301 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34302 from a CNAME entry and return the minimum ttl for the query.
34303 (gaih_getanswer_slice): Likewise.
34304
34305 2012-03-30 Jeff Law <law@redhat.com>
34306
34307 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34308 due to long keys.
34309 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34310 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34311
34312 * resolv/nss_dns/dns-host.c: Update copyright year.
34313
34314 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34315
34316 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34317 requests to save a system call. Fix check that all bytes are sent.
34318
34319 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34320 comments for sendmmsg.
34321
34322 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34323
34324 [BZ #13691]
34325 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34326 with only 1 character between 0x0041 and 0x01b0.
34327 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34328 * wcsmbs/tst-mbsnrtowcs.c: New file.
34329
34330 2012-03-29 David S. Miller <davem@davemloft.net>
34331
34332 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34333 small copies by hand.
34334
34335 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34336
34337 [BZ #13761]
34338 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34339 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34340 group memberships.
34341
34342 2012-03-28 David S. Miller <davem@davemloft.net>
34343
34344 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34345 that branches into memcpy.
34346 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34349 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34351 bits.
34352 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34353 implementation too.
34354 * sysdeps/sparc/mempcpy.S: New file.
34355
34356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34357 the IFUNC routine in the libc case.
34358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34359
34360 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34361 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34362 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34363 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34364 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34365 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34366 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34367 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34368
34369 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34370 loop to 256 bytes instead of 64 bytes and fix test signedness.
34371
34372 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34373 * sysdeps/sparc/sparc32/Makefile: rather than here...
34374 * sysdeps/sparc/sparc64/Makefile: and here.
34375
34376 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34377
34378 * malloc/mallocbug.c: Avoid warnings about unused variables.
34379
34380 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34381
34382 [BZ #13760]
34383 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34384 in the right place. Discard and retry query if response is
34385 larger than input buffer size.
34386
34387 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34388
34389 [BZ #369]
34390 [BZ #2678]
34391 [BZ #3866]
34392 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34393 x for large integer exponent.
34394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34395 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34396 sign of result as needed afterwards.
34397 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34398 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34399 result for underflowing pow the same as for overflow.
34400 (__kernel_standard_l): Handle powl overflow and underflow here
34401 rather than calling __kernel_standard.
34402 * math/libm-test.inc (pow_test): Add more tests.
34403
34404 [BZ #3868]
34405 [BZ #13879]
34406 [BZ #13910]
34407 [BZ #13911]
34408 [BZ #13912]
34409 [BZ #13913]
34410 [BZ #13915]
34411 [BZ #13916]
34412 [BZ #13917]
34413 [BZ #13918]
34414 [BZ #13919]
34415 [BZ #13920]
34416 [BZ #13921]
34417 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34418 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34419 (__kernel_standard_l): New function.
34420 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34421 __kernel_standard.
34422 * math/w_acosl.c (__acosl): Likewise.
34423 * math/w_asinl.c (__asinl): Likewise.
34424 * math/w_atan2l.c (__atan2l): Likewise.
34425 * math/w_atanhl.c (__atanhl): Likewise.
34426 * math/w_coshl.c (__coshl): Likewise.
34427 * math/w_exp10l.c (__exp10l): Likewise.
34428 * math/w_exp2l.c (__exp2l): Likewise.
34429 * math/w_fmodl.c (__fmodl): Likewise.
34430 * math/w_hypotl.c (__hypotl): Likewise.
34431 * math/w_j0l.c (__j0l, __y0l): Likewise.
34432 * math/w_j1l.c (__j1l, __y1l): Likewise.
34433 * math/w_jnl.c (__jnl, __ynl): Likewise.
34434 * math/w_lgammal.c (__lgammal): Likewise.
34435 * math/w_log10l.c (__log10l): Likewise.
34436 * math/w_log2l.c (__log2l): Likewise.
34437 * math/w_logl.c (__logl): Likewise.
34438 * math/w_powl.c (__powl): Likewise.
34439 * math/w_remainderl.c (__remainderl): Likewise.
34440 * math/w_scalbl.c (sysv_scalbl): Likewise.
34441 * math/w_sinhl.c (__sinhl): Likewise.
34442 * math/w_sqrtl.c (__sqrtl): Likewise.
34443 * math/w_tgammal.c (__tgammal): Likewise.
34444 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34445 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34446 * math/libm-test.inc (acos_test): Add more tests.
34447 (acosh_test): Likewise.
34448 (asin_test): Likewise.
34449 (atanh_test): Likewise.
34450 (exp_test): Likewise.
34451 (exp10_test): Likewise.
34452 (exp2_test): Likewise.
34453 (expm1_test): Likewise.
34454 (lgamma_test): Likewise.
34455 (log_test): Likewise.
34456 (log10_test): Likewise.
34457 (log1p_test): Likewise.
34458 (log2_test): Likewise.
34459 (pow_test): Do not allow some spurious overflow exceptions.
34460 (sqrt_test): Add more tests.
34461 (tgamma_test): Likewise.
34462 (y0_test): Likewise.
34463 (y1_test): Likewise.
34464 (yn_test): Likewise.
34465
34466 2012-03-27 Anton Blanchard <anton@samba.org>
34467
34468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34469 MAP_HUGETLB.
34470 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34471 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34472 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34473
34474 2012-03-27 David S. Miller <davem@davemloft.net>
34475
34476 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34477
34478 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34479 have-as-vis3 check.
34480
34481 2012-03-27 Andreas Jaeger <aj@suse.de>
34482
34483 * sysdeps/x86_64/elf/configure.in: Moved to ...
34484 * sysdeps/x86_64/configure.in: ... here.
34485 * sysdeps/x86_64/elf/start.S: Moved to ...
34486 * sysdeps/x86_64/start.S: ... here.
34487 * sysdeps/x86_64/elf/configure: Delete.
34488
34489 * sysdeps/x86_64/configure.in: Merge contents from
34490 sysdeps/i386/configure.in (without i686 check).
34491
34492 * sysdeps/i386/elf/Versions: Merge into ...
34493 * sysdeps/i386/Versions: ... this.
34494 * sysdeps/i386/elf/Versions: Delete file.
34495 * sysdeps/i386/elf/start.S: Moved to ...
34496 * sysdeps/i386/start.S: ...here.
34497 * sysdeps/i386/elf/configure.in: Merge into...
34498 * sysdeps/i386/configure.in: ...here.
34499 * sysdeps/i386/elf/configure.in: Delete file.
34500 * sysdeps/i386/elf/configure: Delete file.
34501
34502 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34503 * debug/backtracesyms.c: ... here.
34504 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34505 * debug/backtracesymsfd.c: ... here.
34506 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34507 * sysdeps/generic/ifunc-sel.h: ... here.
34508
34509 * sysdeps/unix/i386/start.c: Delete file.
34510 * sysdeps/unix/sparc/start.c: Delete file.
34511 * sysdeps/unix/start.c: Delete file.
34512
34513 * sysdeps/sh/elf/configure.in: Moved to ...
34514 * sysdeps/sh/configure.in: ... here.
34515 * sysdeps/sh/elf/start.S: Moved to ...
34516 * sysdeps/sh/start.S: ... here.
34517 * sysdeps/sh/elf/configure: Delete file.
34518
34519 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34520 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34521 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34522 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34523 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34524 * sysdeps/powerpc/powerpc64/start.S: here.
34525 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34526 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34527 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34528 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34529 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34530
34531 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34532 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34533 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34534 * sysdeps/powerpc/powerpc32/start.S: ... here.
34535 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34536 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34537 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34538
34539 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34540 * sysdeps/powerpc/ifunc-sel.h: ... here.
34541 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34542 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34543
34544 * sysdeps/sparc/elf/configure.in: Moved to ...
34545 * sysdeps/sparc/configure.in: ... here.
34546 * sysdeps/sparc/elf/configure: Delete file.
34547 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34548 * sysdeps/sparc/sparc32/start.S: ... here.
34549 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34550 * sysdeps/sparc/sparc64/start.S: ... here.
34551 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34552 * sysdeps/sparc/sparc32/Makefile: ... this.
34553 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34554 * sysdeps/sparc/sparc64/Makefile: ... this.
34555
34556 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34557 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34558 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34559 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34560 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34561 * sysdeps/s390/s390-32/setjmp.S: ... here.
34562 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34563 * sysdeps/s390/s390-32/configure.in: ... here.
34564 * sysdeps/s390/s390-32/elf/configure: Delete file.
34565 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34566 * sysdeps/s390/s390-32/start.S: ... here.
34567
34568 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34569 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34570 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34571 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34572 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34573 * sysdeps/s390/s390-64/setjmp.S: ... here.
34574 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34575 * sysdeps/s390/s390-64/configure.in: ... here
34576 * sysdeps/s390/s390-64/elf/configure: Delete file.
34577 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34578 * sysdeps/s390/s390-64/start.S: ... here.
34579 * sysdeps/s390/s390-64/elf/configure: Delete.
34580
34581 * configure.in: Remove support for elf directories in sysdeps.
34582
34583 * configure: Regenerated.
34584 * sysdeps/i386/configure: Regenerated.
34585 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34586 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34587 * sysdeps/s390/s390-32/configure: Regenerated.
34588 * sysdeps/s390/s390-64/configure: Regenerated.
34589 * sysdeps/sh/configure: Regenerated.
34590 * sysdeps/sparc/configure: Regenerated.
34591 * sysdeps/x86_64/configure: Regenerated.
34592
34593 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34594
34595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34596
34597 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34598 denormal result into account.
34599
34600 2012-03-25 Roland McGrath <roland@hack.frob.com>
34601
34602 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34603 Reported by Allan McRae <allan@archlinux.org>.
34604
34605 2012-03-23 Jeff Law <law@redhat.com>
34606
34607 * nss/getnssent.c (__nss_getent): Fix typo.
34608
34609 2012-03-23 David S. Miller <davem@davemloft.net>
34610
34611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34612
34613 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34614
34615 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34616 to pad to uint64_t for each field.
34617 (dl_tls_index): Replace unsigned long with uint64_t.
34618
34619 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34620 Paul Pluzhnikov <ppluzhnikov@google.com>
34621
34622 [BZ #6528]
34623 * grp/Makefile (otherlibs): Don't set it.
34624 * inet/Makefile (otherlibs): Likewise.
34625 * login/Makefile (otherlibs): Likewise.
34626 * nscd/Makefile (otherlibs): Likewise.
34627 * posix/Makefile (otherlibs): Likewise.
34628 * pwd/Makefile (otherlibs): Likewise.
34629 * rt/Makefile (otherlibs): Likewise.
34630 * sunrpc/Makefile (otherlibs): Likewise.
34631 * nss/Makefile (otherlibs): Likewise.
34632 Add libnss_files to routines and static-only-routines.
34633 ($(objpfx)getent): Remove rule.
34634 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34635 static-only-routines.
34636
34637 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34638
34639 [BZ #13892]
34640 * math/s_cexp.c: Include <float.h>.
34641 (__cexp): Handle exp result overflowing not necessarily
34642 overflowing both real and imaginary parts of result.
34643 * math/s_cexpf.c: Likewise.
34644 * math/s_cexpl.c: Likewise.
34645 * math/libm-test.inc (cexp_test): Add more tests.
34646 * sysdeps/i386/fpu/libm-test-ulps: Update.
34647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34648
34649 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34650
34651 * include/link.h (ELFW): New macro.
34652 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34653 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34654
34655 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34656
34657 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34658 with uint64_t.
34659
34660 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34661
34662 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34663 declaration.
34664 (struct La_x32_retval): Likewise.
34665
34666 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34667
34668 * sysdeps/x86_64/preconfigure.in: New file.
34669 * sysdeps/x86_64/preconfigure: New generated file.
34670
34671 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34672
34673 [BZ #13824]
34674 * math/e_exp2l.c: Include <float.h>.
34675 (__ieee754_exp2l): Handle overflow and underflow cases
34676 separately. Only pass fractional part of argument to
34677 __ieee754_expl.
34678 * math/libm-test.inc (exp2_test): Add more tests.
34679
34680 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34681 negating x to take absolute value.
34682 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34683 Likewise.
34684 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34685 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34686 Likewise.
34687 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34688 computing low part if x was negated.
34689 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34690
34691 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34692
34693 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34694 la_x32_gnu_pltexit.
34695 (pltexit): Cast int_retval to ptrdiff_t.
34696 * elf/tst-auditmod3b.c: Likewise.
34697 * elf/tst-auditmod4b.c: Likewise.
34698 * elf/tst-auditmod5b.c: Likewise.
34699 * elf/tst-auditmod6b.c: Likewise.
34700 * elf/tst-auditmod6c.c: Likewise.
34701 * elf/tst-auditmod7b.c: Likewise.
34702
34703 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34704 and x32_gnu_pltexit.
34705
34706 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34707 __ELF_NATIVE_CLASS.
34708 (La_x32_regs): New macro.
34709 (La_x32_retval): Likewise.
34710 (la_x32_gnu_pltenter): New function prototype.
34711 (la_x32_gnu_pltexit): Likewise.
34712
34713 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34714
34715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34716 exponent.
34717
34718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34719
34720 * configure.in (libc_cv_cc_nofma): Check for option to disable
34721 generation of FMA instructions.
34722 * configure: Regenerate.
34723 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34724 * sysdeps/ieee754/dbl-64/Makefile: New file.
34725 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34726 Remove brandred-fma4.
34727 (CFLAGS-brandred-fma4.c): Remove.
34728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34729 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34730 define.
34731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34732 define.
34733
34734 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34735
34736 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34737 LLONG_MAX != LONG_MAX.
34738 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34739 (_fitoa_word): Likewise.
34740 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34741 LLONG_MAX != LONG_MAX.
34742 * stdio-common/_itowa.h: Include <_itoa.h>.
34743 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34744 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34745 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34746 only if not defined.
34747 (_ITOA_WORD_TYPE): Likewise.
34748 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34749 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34750
34751 2012-03-21 David S. Miller <davem@davemloft.net>
34752
34753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34754
34755 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34756
34757 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34758 of x86_64 when setting libc_cv_slibdir, libdir and
34759 libc_cv_localedir.
34760 * sysdeps/unix/sysv/linux/configure: Regenerated.
34761
34762 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34763
34764 * manual/lang.texi (Old Varargs): Remove section.
34765 (How Variadic): Update menu.
34766 (va_start): Do not mention varargs.h.
34767
34768 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34769 Joseph Myers <joseph@codesourcery.com>
34770
34771 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34772 link test.
34773 * configure: Regenerated.
34774
34775 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34776
34777 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34778 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34779 conformtest.pl
34780
34781 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34782
34783 * NOTES: Remove.
34784 * Makefile (files-for-dist): Remove NOTES.
34785 (NOTES): Remove rule.
34786 * README: Don't refer to NOTES.
34787 * manual/creature.texi: Don't include macros.texi.
34788 * manual/intro.texi (creature.texi): Remove comment referring to
34789 NOTES.
34790
34791 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34792 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34793 * configure: Regenerated.
34794 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34795 LIBC_TRY_CC_OPTION.
34796 (libc_cv_as_i686): Likewise.
34797 (libc_cv_cc_avx): Likewise.
34798 (libc_cv_cc_sse2avx): Likewise.
34799 (libc_cv_cc_fma4): Likewise.
34800 (libc_cv_cc_novzeroupper): Likewise.
34801 * sysdeps/i386/configure: Regenerated.
34802
34803 [BZ #13883]
34804 * sysdeps/i386/fpu/s_cexp.S: Remove.
34805 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34806 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34807 * math/libm-test.inc (cexp_test): Add more tests.
34808 * sysdeps/i386/fpu/libm-test-ulps: Update.
34809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34810
34811 2012-03-21 Allan McRae <allan@archlinux.org>
34812
34813 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34814
34815 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34816
34817 [BZ #13871]
34818 * math/w_exp2.c: Do not include <float.h>.
34819 (o_threshold, u_threshold): Remove.
34820 (__exp2): Calculate result before checking finiteness and calling
34821 __kernel_standard.
34822 * math/w_exp2f.c: Likewise.
34823 * math/w_exp2l.c: Likewise.
34824 * math/libm-test.inc (exp2_test): Require overflow exception for
34825 1e6 input.
34826
34827 [BZ #3866]
34828 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34829 range of signed 64-bit integers before using fistpll. Remove
34830 checks for whether integers fit in mantissa bits.
34831 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34832 the range of signed 32-bit integers before using fistpl. Remove
34833 checks for whether integers fit in mantissa bits.
34834 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34835 (__ieee754_powl): Test for y outside the range of signed 64-bit
34836 integers before using fistpll. Reduce 64-bit values to 63-bit
34837 ones as needed.
34838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34839 divide-by-zero is raised for zero to large negative powers.
34840 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34841 (__ieee754_powl): Test for y outside the range of signed 64-bit
34842 integers before using fistpll. Reduce 64-bit values to 63-bit
34843 ones as needed.
34844 * math/libm-test.inc (pow_test): Add more tests.
34845
34846 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34847
34848 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34849 <stdio-common/_itoa.h>.
34850 * debug/segfault.c: Likewise.
34851 * elf/dl-cache.c: Likewise.
34852 * elf/dl-minimal.c: Likewise.
34853 * elf/dl-misc.c: Likewise.
34854 * elf/dl-sysdep.c: Likewise.
34855 * elf/dl-version.c: Likewise.
34856 * elf/rtld.c: Likewise.
34857 * hurd/hurdsock.c: Likewise.
34858 * hurd/lookup-retry.c: Likewise.
34859 * malloc/malloc.c: Likewise.
34860 * malloc/mtrace.c: Likewise.
34861 * nscd/nscd_getgr_r.c: Likewise.
34862 * nscd/nscd_getpw_r.c: Likewise.
34863 * nscd/nscd_getserv_r.c: Likewise.
34864 * posix/getopt_init.c: Likewise.
34865 * posix/wordexp.c: Likewise.
34866 * stdio-common/_itoa.c: Likewise.
34867 * stdio-common/printf_fphex.c: Likewise.
34868 * stdio-common/vfprintf.c: Likewise.
34869 * string/_strerror.c: Likewise.
34870 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34871 * sysdeps/i386/i686/hp-timing.h: Likewise.
34872 * sysdeps/mach/_strerror.c: Likewise.
34873 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34874 * sysdeps/mach/hurd/sethostid.c: Likewise.
34875 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34876 * sysdeps/mach/xpg-strerror.c: Likewise.
34877 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34879 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34880 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34881 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34882 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34883 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34884 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34885 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34886 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34887 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34888 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34889 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34890 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34891 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34892 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34893 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34894 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34895 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34896 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34897 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34898
34899 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34900
34901 * stdio-common/_itoa.h: Moved to ...
34902 * sysdeps/generic/_itoa.h: Here.
34903
34904 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34905
34906 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34907 instead of "_itoa.h" and "_itowa.h".
34908 * stdio-common/vfprintf.: Likewise.
34909
34910 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34911
34912 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34913 <bits/wordsize.h>.
34914 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34915 (__signbit): Likwise.
34916 (llrintf): Likwise.
34917 (llrint): Likwise.
34918
34919 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34920
34921 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34922 __WORDSIZE != 64.
34923
34924 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34925
34926 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34927 OVERFLOW_EXCEPTION_OK.
34928 * math/libm-test.inc ("Philosophy"): Update comment about
34929 exception testing.
34930 (OVERFLOW_EXCEPTION): Define.
34931 (OVERFLOW_EXCEPTION_OK): Likewise.
34932 (INVALID_EXCEPTION_OK): Renumber.
34933 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34934 (IGNORE_ZERO_INF_SIGN): Likewise.
34935 (test_exceptions): Handle FE_OVERFLOW.
34936 (exp10_test): Expect overflow exceptions.
34937 (exp2_test): Likewise.
34938 (expm1_test): Likewise.
34939 (nextafter_test): Likewise.
34940 (pow_test): Likewise.
34941 (scalbn_test): Likewise.
34942 (scalbln_test): Likewise.
34943
34944 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34945
34946 * sysdeps/x86_64/bits/atomic.h
34947 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34948 64bit integer.
34949 (atomic_exchange_acq): Likewise.
34950 (__arch_exchange_and_add_body): Likewise.
34951 (__arch_add_body): Likewise.
34952 (atomic_add_negative): Likewise.
34953 (atomic_add_zero): Likewise.
34954
34955 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34956
34957 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34958 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34959
34960 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34961
34962 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34963 Check __x86_64__ instead of __WORDSIZE.
34964
34965 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34966
34967 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34968
34969 2012-03-19 David S. Miller <davem@davemloft.net>
34970
34971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34972
34973 * sysdeps/sparc/fpu/fenv_private.h: New file.
34974 * sysdeps/sparc/fpu/math_private.h: Use it.
34975 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34976 Remove.
34977 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34978 (libc_feholdexcept_setroundl): Remove.
34979 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34980 Remove.
34981 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34982 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34983
34984 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34985
34986 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34987 int64_t instead of long int.
34988 (INSERT_WORDS64): Likwise.
34989
34990 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34991
34992 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34993 _Unwind_GetCFA return to _Unwind_Ptr first.
34994
34995 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34996
34997 [BZ #13629]
34998 * math/s_clog.c: Include <float.h>.
34999 (__clog): Scale large or subnormal inputs.
35000 * math/s_clogf.c: Likewise.
35001 * math/s_clogl.c: Likewise.
35002 * math/s_clog10.c: Include <float.h>.
35003 (M_LOG10_2): Define.
35004 (__clog10): Scale large or subnormal inputs.
35005 * math/s_clog10f.c: Likewise.
35006 * math/s_clog10l.c: Likewise.
35007 * math/libm-test.inc (clog_test): Add more tests.
35008 (clog10_test): Likewise.
35009 * sysdeps/i386/fpu/libm-test-ulps: Update.
35010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35011
35012 [BZ #11451]
35013 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35014 x and y.
35015 * math/libm-test.inc (atan2_test): Add another test.
35016
35017 * Makerules (common-objdir-compile): Remove.
35018 * sysdeps/unix/Makefile (config-generated): Do not add
35019 $(unix-generated) to variable.
35020 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35021 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35022 Remove rule.
35023 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35024 Likewise.
35025 [generic bits/local_lim.h] (before-compile): Do not append to
35026 variable.
35027 [generic bits/local_lim.h] (common-generated): Likewise.
35028 [generic sys/param.h] (before-compile): Do not append to variable.
35029 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35030 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35031 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35032 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35033 include.
35034 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35035 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35036 [generic sys/param.h] ($(addprefix
35037 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35038 [generic sys/param.h] (common-generated): Do not append to
35039 variable.
35040 [generic sys/param.h] (sysdep_headers): Likewise.
35041 [generic bits/errno.h] (before-compile): Do not append to
35042 variable.
35043 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35044 rule.
35045 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35046 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35047 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35048 [generic bits/errno.h] (common-generated): Do not append to
35049 variable.
35050 [generic bits/ioctls.h] (before-compile): Do not append to
35051 variable.
35052 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35053 rule.
35054 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35055 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35056 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35057 rule.
35058 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35059 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35060 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35061 [generic bits/ioctls.h] (common-generated): Do not append to
35062 variable.
35063 [generic sys/syscall.h] (syscall.h): Remove variable.
35064 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35065 rule.
35066 [generic sys/syscall.h] (before-compile): Do not append to
35067 variable.
35068 [generic sys/syscall.h] (common-generated): Likewise.
35069 * sysdeps/unix/errnos-tmpl.c: Remove file.
35070 * sysdeps/unix/errnos.awk: Likewise.
35071 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35072 * sysdeps/unix/ioctls.awk: Likewise.
35073 * sysdeps/unix/mk-local_lim.c: Likewise.
35074 * sysdeps/unix/snarf-ioctls: Likewise.
35075
35076 2012-03-19 Richard Henderson <rth@twiddle.net>
35077
35078 * sysdeps/i386/fpu/fenv_private.h: New file.
35079 * sysdeps/i386/fpu/math_private.h: Use it.
35080 (math_opt_barrier, math_force_eval): Remove.
35081 (libc_feholdexcept_setround_53bit): Remove.
35082 (libc_feupdateenv_53bit): Remove.
35083 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35084 (math_opt_barrier, math_force_eval): Remove.
35085 (libc_feholdexcept): Remove.
35086 (libc_feholdexcept_setround): Remove.
35087 (libc_fetestexcept, libc_fesetenv): Remove.
35088 (libc_feupdateenv_test): Remove.
35089 (libc_feupdateenv, libc_feholdsetround): Remove.
35090 (libc_feresetround): Remove.
35091
35092 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35093 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35094
35095 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35096 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35097 (libc_feupdateenv_testl): New.
35098 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35099 (libc_feupdateenv_testf): New.
35100 (libc_feupdateenv): Use libc_feupdateenv_test.
35101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35102 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35103
35104 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35105 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35106 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35107 (libc_feresetround_noex): New.
35108 (libc_feresetround_noexf): New.
35109 (libc_feresetround_noexl): New.
35110 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35111 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35112 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35113 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35114 SET_RESTORE_ROUND.
35115 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35117 (__cos): Likewise.
35118 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35119 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35120 SET_RESTORE_ROUND_NOEX.
35121 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35122 SET_RESTORE_ROUND_NOEXF.
35123 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35124 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35125 (libc_feholdsetroundf): New.
35126 (libc_feresetround, libc_feresetroundf): New.
35127
35128 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35129 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35130 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35131
35132 * sysdeps/generic/math_private.h: Include <fenv.h>.
35133 (default_libc_feholdexcept): New.
35134 (default_libc_feholdexcept_setround): New.
35135 (default_libc_fesetenv, default_libc_feupdateenv): New.
35136 (libc_feholdexcept): Only define if undefined.
35137 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35138 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35139 (libc_feholdexcept_setroundl): Likewise.
35140 (libc_feholdexcept_setround_53bit): Likewise.
35141 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35142 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35143 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35144 (libc_feupdateenv_53bit): Likewise.
35145 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35146 (libc_feholdexcept): Convert from macro to inline function.
35147 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35148 (libc_fesetenv, libc_feupdateenv): Likewise.
35149
35150 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35151 not previously defined.
35152 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35153 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35154 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35155 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35156 * sysdeps/ieee754/flt-32/math_private.h: New file.
35157 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35158 math_private.h below SET_FLOAT_WORD.
35159 (__isnan, __isinf_ns, __finite): Remove.
35160 (__isnanf, __isinf_nsf, __finitef): Remove.
35161
35162 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35163
35164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35165
35166 2012-03-17 David S. Miller <davem@davemloft.net>
35167
35168 [BZ #6471]
35169 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35170 for 2.16.
35171
35172 2012-03-16 David S. Miller <davem@davemloft.net>
35173
35174 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35175 warnings.
35176
35177 [BZ #6471]
35178 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35179 properly.
35180 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35181 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35182 sysdep_routines when subdir is sysvipc.
35183 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35184 __getshmlba helper.
35185
35186 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35187
35188 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35189
35190 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35191 [__LP64__].
35192
35193 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35194
35195 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35196 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35197 (__lround): Renamed to ...
35198 (__llround): This. Replace long int with long long int.
35199 Define lround functions as aliases of llround functions.
35200 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35201
35202 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35203
35204 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35205 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35206 adresses to uintptr_t. Replace "long int" and "unsigned long
35207 int" with "greg_t" on va_arg.
35208
35209 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35210
35211 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35212 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35213
35214 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35215 Move e_machine check before EI_CLASS check. Handle x32
35216 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35217 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35218 SKIP_EM_IA_64 and include
35219 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35220
35221 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35222 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35223 (add_system_dir): New macro.
35224
35225 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35226 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35227
35228 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35229
35230 [BZ #2551]
35231 [BZ #2552]
35232 [BZ #2553]
35233 [BZ #2554]
35234 [BZ #2562]
35235 [BZ #2563]
35236 [BZ #2565]
35237 [BZ #2566]
35238 [BZ #2576]
35239 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35240 (y0): Likewise.
35241 * math/w_j0f.c (j0f): Likewise.
35242 (y0f): Likewise.
35243 * math/w_j0l.c (__j0l): Likewise.
35244 (__y0l): Likewise.
35245 * math/w_j1.c (j1): Likewise.
35246 (y1): Likewise.
35247 * math/w_j1f.c (j1f): Likewise.
35248 (y1f): Likewise.
35249 * math/w_j1l.c (__j1l): Likewise.
35250 (__y1l): Likewise.
35251 * math/w_jn.c (jn): Likewise.
35252 (yn): Likewise.
35253 * math/w_jnf.c (jnf): Likewise.
35254 (ynf): Likewise.
35255 * math/w_jnl.c (__jnl): Likewise.
35256 (__ynl): Likewise.
35257 * math/libm-test.inc (j0_test): Add more tests.
35258 (j1_test): Likewise.
35259 (jn_test): Likewise. Add trailing semicolon to existing test.
35260 (y0_test): Likewise.
35261 (y1_test): Likewise.
35262 * sysdeps/i386/fpu/libm-test-ulps: Update.
35263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35264
35265 [BZ #13851]
35266 [BZ #13854]
35267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35268 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35269 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35270 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35271 (__tanl): Set errno for infinite argument.
35272 * sysdeps/i386/fpu/mptan.c: Remove.
35273 * sysdeps/i386/fpu/s_tan.S: Likewise.
35274 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35275 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35276 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35277 * math/libm-test.inc (tan_test): Add more tests and enable more
35278 tests for double and long double.
35279 * sysdeps/i386/fpu/libm-test-ulps: Update.
35280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35281
35282 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35283
35284 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35285 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35286
35287 2012-03-16 Roland McGrath <roland@hack.frob.com>
35288
35289 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35290 * configure.in: Use it for both main tree and add-ons.
35291 * configure: Regenerated.
35292
35293 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35294
35295 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35296
35297 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35298
35299 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35300 in comment.
35301
35302 [BZ #13851]
35303 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35304 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35305 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35306 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35307 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35308 infinite argument.
35309 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35311 != 0 for prec == 2.
35312 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35313 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35314 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35315 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35316 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35317 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35318 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35319 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35320 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35321 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35322 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35323 * math/libm-test.inc (cos_test): Add more tests and enable more
35324 tests for long double.
35325 (sin_test): Likewise.
35326 (sincos_test): Likewise.
35327 * sysdeps/i386/fpu/libm-test-ulps: Update.
35328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35329
35330 2012-03-16 David S. Miller <davem@davemloft.net>
35331
35332 * sysdeps/sparc/fpu/math_private.h: New file.
35333
35334 2012-03-15 David S. Miller <davem@davemloft.net>
35335
35336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35337 file.
35338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35340 file.
35341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35347 sysdep routines.
35348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35349
35350 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35351 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35352
35353 * sysdeps/sparc/sparc-ifunc.h: New file.
35354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35355 sparc-ifunc.h
35356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35358 Likewise.
35359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35360 Likewise.
35361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35365 Likewise.
35366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35371 Likewise.
35372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35373 Likewise.
35374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35380 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35398
35399 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35400
35401 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35402 scaling.
35403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35404
35405 2012-03-15 Andreas Jaeger <aj@suse.de>
35406
35407 [BZ #13852]
35408 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35409 ieee754/flt-32 implementation for sin, cos and sincos.
35410 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35411 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35412 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35413 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35414 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35415 ieee754/flt-32 implementation for tan.
35416
35417 * math/libm-test.inc (cos_test): Enable some large input tests for
35418 float as well
35419 (sin_test): Likewise.
35420 (sincos_test): Likewise.
35421 (tan_test): Add tests for large input.
35422
35423 * sysdeps/i386/fpu/libm-test-ulps: Update.
35424
35425 2012-03-15 Andreas Jaeger <aj@suse.de>
35426
35427 [BZ #13658]
35428 * math/libm-test.inc (cos_test): Add more test cases.
35429 (sin_test): Likewise.
35430 (sincos_test): Likewise.
35431
35432 2012-03-15 Andreas Jaeger <aj@suse.de>
35433
35434 [BZ #13837]
35435 * math/libm-test.inc (cos_test): Add a test case for large input
35436 value.
35437 (sin_test): Likewise.
35438 (sincos_test): Likewise.
35439
35440 2012-03-15 Andreas Jaeger <aj@suse.de>
35441 Joseph Myers <joseph@codesourcery.com>
35442
35443 [BZ #13658]
35444 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35445 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35446 * sysdeps/i386/fpu/branred.c: Likewise.
35447 * sysdeps/i386/fpu/dosincos.c: Likewise.
35448 * sysdeps/i386/fpu/mpa.c: Likewise.
35449 * sysdeps/i386/fpu/s_cos.S: Likewise.
35450 * sysdeps/i386/fpu/s_sin.S: Likewise.
35451 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35452 * sysdeps/i386/fpu/sincos32.c: Likewise.
35453
35454 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35455 Define.
35456 (libc_feupdateenv_53bit): Define.
35457 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35458 Define.
35459 (libc_feupdateenv_53bit): Define.
35460
35461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35462 53 bit (without extend i386 double precision).
35463
35464 * math/libm-test.inc (sincos_test): Add tests for large input.
35465 (sin): Likewise.
35466 (cos): Likewise.
35467
35468 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35469
35470 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35471
35472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35473
35474 2012-03-15 David S. Miller <davem@davemloft.net>
35475
35476 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35477 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35478 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35479 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35492 file.
35493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35495 file.
35496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35498 file.
35499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35501 file.
35502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35504 fmin/fmax sysdep routines.
35505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35506
35507 2012-03-14 David S. Miller <davem@davemloft.net>
35508
35509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35532 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35538 routines.
35539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35540 file.
35541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35543 file.
35544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35546 file.
35547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35549 file.
35550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35552 file.
35553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35555 file.
35556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35557 file.
35558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35559 file.
35560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35561 file.
35562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35563 New file.
35564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35565 file.
35566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35567 file.
35568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35570 file.
35571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35573 file.
35574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35576 file.
35577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35579 VIS3 routines.
35580
35581 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35582 New file.
35583
35584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35585
35586 * sysdeps/sparc/configure.in: New file.
35587 * sysdeps/sparc/configure: Generate.
35588 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35589 * configure: Regenerate.
35590 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35591 * config.make.in (have-as-vis3): New.
35592 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35593 available use -Av9d instead of -Av9a.
35594 * sysdeps/sparc/sparc64/Makefile: Likewise.
35595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35597 New file.
35598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35599 file.
35600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35601 New file.
35602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35603 file.
35604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35605 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35609
35610 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35611 fzeros/fnegs to load 0x80000000 into a float register instead of
35612 using the stack.
35613 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35614
35615 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35616
35617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35618 bits/syscall.h.
35619 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35620 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35621 ($(inst_includedir)/bits/syscall.h): Remove rule.
35622 ($(objpfx)bits/syscall.d): Include instead of
35623 $(objpfx)syscall-list.d.
35624 (generated): Change syscall-list.h and syscall-list.d to
35625 bits/syscall.h and bits/syscall.d.
35626
35627 2012-03-14 Roland McGrath <roland@hack.frob.com>
35628
35629 [BZ #13846]
35630 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35631
35632 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35633
35634 [BZ #13841]
35635 * math/s_csqrt.c: Include <float.h>.
35636 (__csqrt): Scale large or subnormal inputs.
35637 * math/s_csqrtf.c: Likewise.
35638 * math/s_csqrtl.c: Likewise.
35639 * math/libm-test.inc (csqrt_test): Add more tests.
35640 * sysdeps/i386/fpu/libm-test-ulps: Update.
35641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35642
35643 [BZ #13840]
35644 * math/libm-test.inc (hypot_test): Add more tests.
35645
35646 2012-03-13 David S. Miller <davem@davemloft.net>
35647
35648 [BZ #13840]
35649 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35650 double-precision for the calculation instead of scaling.
35651
35652 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35653
35654 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35655 manipulate bits before adding and subtracting TWO52[sx].
35656 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35658 Likewise.
35659 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35660
35661 2012-03-13 David S. Miller <davem@davemloft.net>
35662
35663 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35664 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35666 rtld-global-offsets.h
35667 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35668
35669 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35670 large parameters.
35671
35672 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35673
35674 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35675 'err' in the ifdef scope in which it is actually used.
35676
35677 * nss/nss_db/db-init.c: Include string.h
35678
35679 2012-03-12 David S. Miller <davem@davemloft.net>
35680
35681 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35682 masking out of the most significant byte of random value used.
35683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35684 Fix coding style in previous change.
35685
35686 * sysdeps/unix/sysv/linux/kernel-features.h
35687 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35688 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35689 expression.
35690 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35691 later.
35692
35693 2012-03-11 David S. Miller <davem@davemloft.net>
35694
35695 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35696 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35697 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35698 for 'resultvar' otherwise things get truncated on 64-bit.
35699
35700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35701 Fix masking out of the most significant byte of random value used.
35702
35703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35704
35705 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35706
35707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35708
35709 2012-03-09 David S. Miller <davem@davemloft.net>
35710
35711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35712 variables with appropriate CPP guards.
35713 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35714 from the frame pointer, not the stack pointer. Correct layout
35715 comments. Fix test on resulting framesize and the management of
35716 the outregs buffer for pltexit. Preserve floating point return
35717 values across _dl_call_pltexit call.
35718 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35719 framesize and the management of the outregs buffer for pltexit.
35720 Preserve floating point return values across _dl_call_pltexit
35721 call.
35722 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35723 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35724 (la_sparc64_gnu_pltexit): New functions.
35725 (print_exit): Fix format string for return register value.
35726
35727 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35728
35729 * sunrpc/Makefile (others): Add rpcgen.
35730 ($(objpfx)rpcgen): Remove special build rule and dependency on
35731 libc.
35732 * sunrpc/rpcgen.c: New file.
35733
35734 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35735
35736 [BZ #13673]
35737 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35738 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35739 * sysdeps/i386/crti.S: Likewise.
35740 * sysdeps/i386/crtn.S: Likewise.
35741 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35742 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35743 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35744 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35745 * sysdeps/sh/crti.S: Likewise.
35746 * sysdeps/sh/crtn.S: Likewise.
35747 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35748
35749 [BZ #13673]
35750 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35751 with URL.
35752 * locale/programs/locfile-kw.gperf: Likewise.
35753 * locale/programs/charmap-kw.h: Regenerated.
35754 * locale/programs/locfile-kw.h: Likewise.
35755
35756 [BZ #13673]
35757 * intl/plural.y: Replace FSF snail mail address with URL.
35758 * intl/plural.c: Regenerated.
35759
35760 2012-03-09 Richard Henderson <rth@twiddle.net>
35761
35762 * include/math_private.h: Remove file.
35763 * math/math_private.h: Move file ...
35764 * sysdeps/generic/math_private.h: ... here.
35765
35766 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35767 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35768 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35769
35770 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35771 and <math_private.h>.
35772 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35773 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35774 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35775 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35776 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35777 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35778 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35780 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35781 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35783 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35784 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35786 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35787 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35788 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35789 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35790 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35791 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35793 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35794 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35795 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35796 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35797 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35798 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35799 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35800 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35802 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35804 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35805 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35806 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35807 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35808 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35809 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35810 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35811 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35812 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35813 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35814 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35815 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35816 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35817 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35818 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35819 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35820 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35821 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35822 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35823 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35824 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35825 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35826 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35827 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35828 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35829 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35830 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35831 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35832 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35833 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35835 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35836 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35837 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35838 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35839 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35840 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35841 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35842 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35843 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35846 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35850 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35851 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35852 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35853 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35854 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35855 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35856 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35859 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35860 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35861 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35862 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35863 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35864 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35865 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35866 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35867 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35868 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35869 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35870 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35871 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35872 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35873 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35874 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35875 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35876 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35877 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35878 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35879 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35880 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35881 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35882 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35883 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35884 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35885 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35886 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35887 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35888 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35889 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35890 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35891 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35892 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35893 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35894 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35895 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35896 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35897 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35898 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35899 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35900 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35901 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35902 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35903 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35904 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35905 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35906 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35907 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35908 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35909 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35910 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35911 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35912 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35913 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35914 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35915 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35916 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35917 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35918 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35919 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35920 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35921 * sysdeps/ieee754/k_standard.c: Likewise.
35922 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35936 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35949 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35950 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35952 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35953 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35955 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35957 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35962 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35963 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35964 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35965 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35966 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35967 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35968 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35969 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35970 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35971 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35972 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35973 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35974 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35976 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35977 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35978 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35979 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35980 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35981 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35982 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35983 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35984 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35985 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35986 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35987 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35988 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35989 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35990 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35991 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35995 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35996 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35997 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35998 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35999 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36000 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36002 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36003 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36004 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36005 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36006 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36007 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36008 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36009 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36010 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36012 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36013 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36014 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36015 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36016 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36017 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36018 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36019 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36020 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36021 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36022 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36023 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36025 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36026 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36027 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36028 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36029 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36030 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36031 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36032 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36033 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36034 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36035 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36036 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36037 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36038 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36039 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36040 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36041 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36042 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36044 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36047 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36049 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36051 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36052 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36053 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36054 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36055 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36057 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36058 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36059 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36068 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36070 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36071 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36072 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36073 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36075 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36077 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36078 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36080 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36081 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36082 * sysdeps/ieee754/s_lib_version.c: Likewise.
36083 * sysdeps/ieee754/s_matherr.c: Likewise.
36084 * sysdeps/ieee754/s_signgam.c: Likewise.
36085 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36086 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36087 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36088 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36089 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36090 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36091 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36092 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36093 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36094 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36095 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36096 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36097 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36098 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36099 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36100 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36101 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36102 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36103 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36104 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36106
36107 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36108
36109 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36110 * sunrpc/rpc_main.c: Likewise.
36111 * sunrpc/rpc_svcout.c: Likewise.
36112
36113 2012-03-09 David S. Miller <davem@davemloft.net>
36114
36115 * include/math_private.h: New file.
36116
36117 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36118
36119 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36120 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36121 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36122 from <bits/socket_type.h>.
36123 (enum __socket_type): Don't define here.
36124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36126 bits/socket_type.h.
36127
36128 [BZ #13566]
36129 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36130 checking __USE_GNU.
36131
36132 * Makerules ($(inst_includedir)/%.h): New rule.
36133 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36134 (install-others): Remove variable setting.
36135 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36136
36137 2012-03-08 Richard Henderson <rth@twiddle.net>
36138
36139 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36140 from macro to inline function; merge with the
36141 !__LIBC_INTERNAL_MATH_INLINES version.
36142 (__ieee754_sqrtf): Likewise.
36143
36144 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36145 to inline function.
36146 (__rintf, __floor, __floorf): Likewise.
36147
36148 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36149 macro to inline function.
36150 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36151
36152 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36153 not <math/math_private.h>.
36154
36155 2012-03-08 David S. Miller <davem@davemloft.net>
36156
36157 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36158 copyright year.
36159 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36160
36161 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36162
36163 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36164 normalization.
36165 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36166 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36167
36168 2012-03-08 Ulrich Drepper <drepper@gmail.com>
36169
36170 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36171 be defined individually, they must be defined as a block. Define
36172 S for printing a string instead of hidint the different by using a
36173 macro for adding the 'l'.
36174 * stdio-common/tst-fphex-wide.c: Adjust.
36175
36176 2012-03-07 Marek Polacek <polacek@redhat.com>
36177
36178 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36179
36180 2012-03-08 Marek Polacek <polacek@redhat.com>
36181
36182 [BZ #13806]
36183 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36184 * stdio-common/tst-fphex.c: Define a few macros to make the
36185 test reusable. Use them.
36186 * stdio-common/tst-fphex-wide.c: New file.
36187
36188 2012-03-08 Joseph Myers <joseph@codesourcery.com>
36189
36190 [BZ #6911]
36191 * manual/macros.texi (gnusystems): New macro.
36192 (nongnusystems): Likewise.
36193 (gnulinuxhurdsystems): Likewise.
36194 (gnuhurdsystems): Likewise..
36195 (gnulinuxsystems): Likewise.
36196 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36197 variants of the GNU system, not "GNU system".
36198 * manual/conf.texi: Likewise.
36199 * manual/errno.texi: Likewise. Update example of errno macro
36200 expansion.
36201 * manual/filesys.texi: Likewise.
36202 (getumask): Document as specific to GNU/Hurd.
36203 * manual/install.texi: Likewise. Reword some references to
36204 GNU/Linux.
36205 * manual/intro.texi: Likewise.
36206 * manual/io.texi: Likewise.
36207 (File Name Portability): Detail which constraints are inapplicable
36208 to all GNU systems and which are only inapplicable to GNU/Hurd.
36209 * manual/job.texi: Likewise.
36210 * manual/llio.texi: Likewise.
36211 (O_NOCTTY): Document as present on GNU/Linux.
36212 * manual/maint.texi: Likewise.
36213 * manual/memory.texi: Likewise.
36214 * manual/pattern.texi: Likewise.
36215 * manual/pipe.texi: Likewise.
36216 * manual/process.texi: Likewise.
36217 * manual/resource.texi: Likewise.
36218 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36219 child on GNU/Hurd.
36220 * manual/setjmp.texi: Likewise.
36221 * manual/signal.texi: Likewise.
36222 * manual/startup.texi: Likewise.
36223 * manual/stdio.texi: Likewise.
36224 * manual/terminal.texi: Likewise.
36225 (ONLCR): Document as POSIX.
36226 (OXTABS): Document availability on GNU/Linux as XTABS.
36227 (ONOEOT): Document availability separately from other bits.
36228 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36229 * manual/time.texi: Likewise.
36230 * manual/users.texi: Likewise.
36231 * INSTALL: Regenerated.
36232 * sysdeps/gnu/errlist.c: Regenerated.
36233
36234 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36235 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36236 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36237 puts.
36238 * configure: Regenerated.
36239
36240 2012-03-07 Joseph Myers <joseph@codesourcery.com>
36241
36242 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36243 default includes instead of AC_HEADER_CHECK.
36244 * sysdeps/i386/configure: Regenerated.
36245
36246 [BZ #10716]
36247 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36248 * math/s_cacoshf.c (__cacoshf): Likewise.
36249 * math/s_cacoshl.c (__cacoshl): Likewise.
36250 * math/s_casinh.c (__casinh): Set signs of result from argument.
36251 * math/s_casinhf.c (__casinhf): Likewise.
36252 * math/s_casinhl.c (__casinhl): Likewise.
36253 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36254 (casinh_test): Add more tests.
36255 * sysdeps/i386/fpu/libm-test-ulps: Update.
36256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36257
36258 2012-03-07 Ulrich Drepper <drepper@gmail.com>
36259
36260 * po/zh_TW.po: Update from translation team.
36261
36262 * login/Makefile (distribute): Remove variable.
36263 * catgets/Makefile: Likewise.
36264 * mach/Makefile: Likewise.
36265 * malloc/Makefile: Likewise.
36266 * misc/Makefile: Likewise.
36267 * iconv/Makefile: Likewise.
36268 * nscd/Makefile: Likewise.
36269 * hurd/Makefile: Likewise.
36270 * manual/Makefile: Likewise.
36271 * locale/Makefile: Likewise.
36272 * intl/Makefile: Likewise.
36273 * conform/Makefile: Likewise.
36274 * nss/Makefile: Likewise.
36275 * time/Makefile: Likewise.
36276 * soft-fp/Makefile: Likewise.
36277 * dirent/Makefile: Likewise.
36278 * gmon/Makefile: Likewise.
36279 * po/Makefile: Likewise.
36280 * rt/Makefile: Likewise.
36281 * socket/Makefile: Likewise.
36282 * math/Makefile: Likewise.
36283 * signal/Makefile: Likewise.
36284 * debug/Makefile: Likewise.
36285 * elf/Makefile: Likewise.
36286 * timezone/Makefile: Likewise.
36287 * stdlib/Makefile: Likewise.
36288 * iconvdata/Makefile: Likewise.
36289 * sunrpc/Makefile: Likewise.
36290 * io/Makefile: Likewise.
36291 * argp/Makefile: Likewise.
36292 * inet/Makefile: Likewise.
36293 * hesiod/Makefile: Likewise.
36294 * grp/Makefile: Likewise.
36295 * csu/Makefile: Likewise.
36296 * wctype/Makefile: Likewise.
36297 * crypt/Makefile: Likewise.
36298 * libio/Makefile: Likewise.
36299 * string/Makefile: Likewise.
36300 * nis/Makefile: Likewise.
36301 * resolv/Makefile: Likewise.
36302 * stdio-common/Makefile: Likewise.
36303 * wcsmbs/Makefile: Likewise.
36304 * dlfcn/Makefile: Likewise.
36305 * posix/Makefile: Likewise.
36306
36307 [BZ #6959]
36308 * timezone/Makefile: Don't install timezone files, just the programs
36309 and scripts.
36310
36311 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36312
36313 * nss/databases.def: Add missing gshadow entry.
36314
36315 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36316
36317 2012-03-06 Marek Polacek <polacek@redhat.com>
36318
36319 [BZ #13726]
36320 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36321 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36322 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36323 * stdio-common/tst-long-dbl-fphex.c: New file.
36324
36325 2012-03-06 David S. Miller <davem@davemloft.net>
36326
36327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36328 (set_obp_int): New function.
36329 (get_obp_int): New function.
36330 (__get_clockfreq_via_dev_openprom): Likewise.
36331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36332 Avoid unused variable warnings on 'val' and use builtin_expect.
36333 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36334 __builtin_expect.
36335 (INLINE_CLONE_SYSCALL): Likewise.
36336
36337 2012-03-05 David S. Miller <davem@davemloft.net>
36338
36339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36340
36341 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36342
36343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36344
36345 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36346 only for |x| >= 40.
36347 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36348
36349 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36350
36351 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36352 Replace gettimeofday with __vdso_gettimeofday.
36353
36354 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36355 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36356 __vdso_clock_gettime and __vdso_getcpu.
36357
36358 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36359 time with __vdso_time.
36360
36361 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36362
36363 * manual/lang.texi (size_t): Note types to which size_t may be
36364 equivalent with the GNU C Library, but do not describe when
36365 differences between them are significant.
36366
36367 2012-03-05 Andreas Jaeger <aj@suse.de>
36368
36369 * sysdeps/i386/fpu/libm-test-ulps: Update.
36370
36371 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36372
36373 [BZ #3976]
36374 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36375 (__ieee754_pow): Save and restore rounding mode and use
36376 round-to-nearest for main computations.
36377 * math/libm-test.inc (pow_test_tonearest): New function.
36378 (pow_test_towardzero): Likewise.
36379 (pow_test_downward): Likewise.
36380 (pow_test_upward): Likewise.
36381 (main): Call the new functions.
36382 * sysdeps/i386/fpu/libm-test-ulps: Update.
36383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36384
36385 [BZ #3976]
36386 * math/libm-test.inc (cosh_test_tonearest): New function.
36387 (cosh_test_towardzero): Likewise.
36388 (cosh_test_downward): Likewise.
36389 (cosh_test_upward): Likewise.
36390 (sinh_test_tonearest): Likewise.
36391 (sinh_test_towardzero): Likewise.
36392 (sinh_test_downward): Likewise.
36393 (sinh_test_upward): Likewise.
36394 (main): Call the new functions.
36395 * sysdeps/i386/fpu/libm-test-ulps: Update.
36396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36397
36398 2012-03-05 Tom de Vries <tom@codesourcery.com>
36399
36400 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36401 default stack guard is set in last bytes.
36402 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36403
36404 2012-03-05 Kees Cook <keescook@chromium.org>
36405
36406 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36407
36408 [BZ #13656]
36409 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36410 possibly allocate from heap instead of stack.
36411 * stdio-common/bug-vfprintf-nargs.c: New file.
36412 * stdio-common/Makefile (tests): Add nargs overflow test.
36413
36414 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36415
36416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36417
36418 2012-03-03 Marek Polacek <polacek@redhat.com>
36419
36420 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36421 * math/math_private.h: Likewise.
36422 * stdlib/tst-strtod.c: Likewise.
36423 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36424 * sysdeps/x86_64/bits/atomic.h: Likewise.
36425
36426 2012-03-02 David S. Miller <davem@davemloft.net>
36427
36428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36432 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36433 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36434 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36435 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36436
36437 2012-03-02 Roland McGrath <roland@hack.frob.com>
36438
36439 [BZ #13792]
36440 * manual/examples/README: New file, says the example source files
36441 can be used under GPL>=2.
36442 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36443 line containing just "*/".
36444 * manual/examples/add.c: Add copyright header (GPL>=2).
36445 * manual/examples/argp-ex1.c: Likewise.
36446 * manual/examples/argp-ex2.c: Likewise.
36447 * manual/examples/argp-ex3.c: Likewise.
36448 * manual/examples/argp-ex4.c: Likewise.
36449 * manual/examples/atexit.c: Likewise.
36450 * manual/examples/db.c: Likewise.
36451 * manual/examples/dir.c: Likewise.
36452 * manual/examples/dir2.c: Likewise.
36453 * manual/examples/execinfo.c: Likewise.
36454 * manual/examples/filecli.c: Likewise.
36455 * manual/examples/filesrv.c: Likewise.
36456 * manual/examples/fmtmsgexpl.c: Likewise.
36457 * manual/examples/genpass.c: Likewise.
36458 * manual/examples/inetcli.c: Likewise.
36459 * manual/examples/inetsrv.c: Likewise.
36460 * manual/examples/isockad.c: Likewise.
36461 * manual/examples/longopt.c: Likewise.
36462 * manual/examples/memopen.c: Likewise.
36463 * manual/examples/memstrm.c: Likewise.
36464 * manual/examples/mkfsock.c: Likewise.
36465 * manual/examples/mkisock.c: Likewise.
36466 * manual/examples/mygetpass.c: Likewise.
36467 * manual/examples/pipe.c: Likewise.
36468 * manual/examples/popen.c: Likewise.
36469 * manual/examples/rprintf.c: Likewise.
36470 * manual/examples/search.c: Likewise.
36471 * manual/examples/select.c: Likewise.
36472 * manual/examples/setjmp.c: Likewise.
36473 * manual/examples/sigh1.c: Likewise.
36474 * manual/examples/sigusr.c: Likewise.
36475 * manual/examples/stpcpy.c: Likewise.
36476 * manual/examples/strdupa.c: Likewise.
36477 * manual/examples/strftim.c: Likewise.
36478 * manual/examples/strncat.c: Likewise.
36479 * manual/examples/subopt.c: Likewise.
36480 * manual/examples/swapcontext.c: Likewise.
36481 * manual/examples/termios.c: Likewise.
36482 * manual/examples/testopt.c: Likewise.
36483 * manual/examples/testpass.c: Likewise.
36484 * manual/examples/timeval_subtract.c: Likewise.
36485
36486 [BZ #13792]
36487 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36488 function to ...
36489 * manual/timeval_subtract.c.texi: ... here, new file.
36490
36491 2012-03-02 David S. Miller <davem@davemloft.net>
36492
36493 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36494
36495 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36496
36497 [BZ #3976]
36498 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36499 (__sin): Save and restore rounding mode and use round-to-nearest
36500 for all computations.
36501 (__cos): Save and restore rounding mode and use round-to-nearest
36502 for all computations.
36503 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36504 <fenv.h>.
36505 (tan): Save and restore rounding mode and use round-to-nearest for
36506 all computations.
36507 * math/libm-test.inc (cos_test_tonearest): New function.
36508 (cos_test_towardzero): Likewise.
36509 (cos_test_downward): Likewise.
36510 (cos_test_upward): Likewise.
36511 (sin_test_tonearest): Likewise.
36512 (sin_test_towardzero): Likewise.
36513 (sin_test_downward): Likewise.
36514 (sin_test_upward): Likewise.
36515 (tan_test_tonearest): Likewise.
36516 (tan_test_towardzero): Likewise.
36517 (tan_test_downward): Likewise.
36518 (tan_test_upward): Likewise.
36519 (main): Call the new functions.
36520 * sysdeps/i386/fpu/libm-test-ulps: Update.
36521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36522
36523 [BZ #10135]
36524 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36525 small n, then large n, before computing and testing k+n.
36526 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36528 Likewise.
36529 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36530 Likewise.
36531 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36532 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36533 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36534 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36535 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36536 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36537 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36538 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36539 * math/libm-test.inc (scalbn_test): Add more tests.
36540 (scalbln_test): Likewise.
36541
36542 * manual/filesys.texi (mode_t): Describe constraints on size and
36543 signedness, not exact equivalence to a particular type.
36544 (ino_t): Likewise.
36545 (ino64_t): Likewise.
36546 (dev_t): Likewise.
36547 (nlink_t): Likewise.
36548 (blkcnt_t): Likewise.
36549 (blkcnt64_t): Likewise.
36550 * manual/llio.texi (off_t): Likewise.
36551
36552 [BZ #3976]
36553 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36554 (__ieee754_exp): Save and restore rounding mode and use
36555 round-to-nearest for all computations.
36556 * math/libm-test.inc (exp_test_tonearest): New function.
36557 (exp_test_towardzero): Likewise.
36558 (exp_test_downward): Likewise.
36559 (exp_test_upward): Likewise.
36560 (main): Call the new functions.
36561 * sysdeps/i386/fpu/libm-test-ulps: Update.
36562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36563
36564 2012-03-01 Chris Demetriou <cgd@google.com>
36565
36566 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36567 have predictable order.
36568
36569 2012-03-01 David S. Miller <davem@davemloft.net>
36570
36571 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36572
36573 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36574 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36575 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36576 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36577
36578 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36579 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36580 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36582 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36583 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36584 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36585 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36586 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36587
36588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36589
36590 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36591 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36592 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36593
36594 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36595 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36596 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36597 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36598 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36599 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36600 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36601 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36602 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36603 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36604 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36605 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36606 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36607 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36608 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36610 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36611 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36612 * sysdeps/sparc/elf/configure: Regenerated.
36613
36614 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36615
36616 * configure.in (AS, LD): Require binutils 2.20 or later.
36617 * configure: Regenerated.
36618 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36619 as required minimum version.
36620 * INSTALL: Regenerated.
36621
36622 [BZ #2541]
36623 [BZ #4108]
36624 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36625 before squaring exponent.
36626 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36627 bottom long double and 27 bits of top long double before squaring
36628 exponent.
36629 * math/libm-test.inc (erfc_test): Add more tests.
36630 * sysdeps/i386/fpu/libm-test-ulps: Update.
36631 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36633
36634 2012-03-01 Kai Tietz <ktietz@redhat.com>
36635
36636 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36637 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36638 containing bit-fields.
36639 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36640 * soft-fp/single.h (_FP_UNION_S): Likewise.
36641 * soft-fp/double.h (_FP_UNION_D): Likewise.
36642
36643 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36644
36645 [BZ #13786]
36646 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36647 not include ../strcmp.S.
36648 [USE_AS_STRNCASECMP_L]: Likewise.
36649 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36650 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36651 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36652 (__strncasecmp_l_ia32): Define as alias to
36653 __strncasecmp_l_nonascii.
36654
36655 [BZ #5794]
36656 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36657 * sysdeps/i386/fpu/libm-test-ulps: Update.
36658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36659
36660 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36662
36663 2012-02-29 Jeff Law <law@redhat.com>
36664
36665 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36666 out of bounds read.
36667
36668 2012-02-29 Marek Polacek <polacek@redhat.com>
36669
36670 [BZ #13706]
36671 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36672 * elf/Makefile: Add rules to run tst-unused-dep.out.
36673
36674 2012-02-28 David S. Miller <davem@davemloft.net>
36675
36676 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36677 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36678 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36679 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36680 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36681 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36682
36683 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36684
36685 * math/libm-test.inc (llround_test): Move one test from
36686 lround_test. Use TEST_f_L in moved test.
36687 (lround_test): Move misplaced test to llround_test. Add testcase
36688 from bug 2561.
36689
36690 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36691
36692 * sysdeps/x86_64/fpu/e_expf.S: New file.
36693 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36694
36695 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36696
36697 [BZ #13637]
36698 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36699 of remain_len that may cause incomplete multi-byte character and
36700 false match.
36701 * posix/bug-regex33.c: New file.
36702 * posix/Makefile (tests): Add bug-regex33.
36703
36704 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36705
36706 * manual/macros.texi: New file.
36707 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36708 * manual/libc.texinfo: Include macros.texi.
36709 * manual/creatute.texi: Likewise.
36710 * manual/install.texi: Likewise.
36711 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36712 @glibcadj{} in references to the GNU C Library.
36713 * manual/charset.texi: Likewise.
36714 * manual/conf.texi: Likewise.
36715 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36716 when not using those macros.
36717 * manual/creature.texi: Likewise.
36718 * manual/crypt.texi: Likewise.
36719 * manual/errno.texi: Likewise.
36720 * manual/filesys.texi: Likewise.
36721 * manual/header.texi: Likewise.
36722 * manual/install.texi: Likewise.
36723 * manual/intro.texi: Likewise.
36724 * manual/io.texi: Likewise.
36725 * manual/job.texi: Likewise.
36726 * manual/lang.texi: Likewise.
36727 * manual/libc.texiinfo: Likewise.
36728 * manual/llio.texi: Likewise.
36729 * manual/locale.texi: Likewise.
36730 * manual/maint.texi: Likewise.
36731 * manual/math.texi: Likewise.
36732 * manual/memory.texi: Likewise.
36733 * manual/message.texi: Likewise.
36734 * manual/nss.texi: Likewise.
36735 * manual/pattern.texi: Likewise.
36736 * manual/process.texi: Likewise.
36737 * manual/resource.texi: Likewise.
36738 * manual/search.texi: Likewise.
36739 * manual/setjmp.texi: Likewise.
36740 * manual/signal.texi: Likewise.
36741 * manual/socket.texi: Likewise.
36742 * manual/startup.texi: Likewise.
36743 * manual/stdio.texi: Likewise.
36744 * manual/string.texi: Likewise.
36745 * manual/sysinfo.texi: Likewise.
36746 * manual/syslog.texi: Likewise.
36747 * manual/terminal.texi: Likewise.
36748 * manual/time.texi: Likewise.
36749 * manual/users.texi: Likewise.
36750 * INSTALL: Regenerated.
36751 * NOTES: Regenerated.
36752 * sysdeps/gnu/errlist.c: Regenerated.
36753
36754 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36755
36756 * include/dirent.h: Include <dirstream.h> before
36757 <dirent/dirent.h>.
36758
36759 2012-02-28 David S. Miller <davem@davemloft.net>
36760
36761 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36762 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36763 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36764 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36765
36766 2012-02-27 David S. Miller <davem@davemloft.net>
36767
36768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36770 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36771 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36772
36773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36774 frame pointer instead of stack pointer relative arg slot.
36775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36776 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36777 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36778
36779 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36780
36781 [BZ #3992]
36782 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36783
36784 2012-02-27 David S. Miller <davem@davemloft.net>
36785
36786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36790 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36791 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36792 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36793 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36794
36795 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36796
36797 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36798 later. Allow versions 5-9.
36799 * configure: Regenerated.
36800 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36801 required minimum version and 4.6 as recommended version. Do not
36802 mention bugs in GCC 2.7 and 2.8.
36803 * INSTALL: Regenerated.
36804
36805 2012-02-27 David S. Miller <davem@davemloft.net>
36806
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36811 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36812 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36813 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36814 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36815
36816 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36817 manipulate bits before adding and subtracting TWO112[sx].
36818 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36819
36820 2012-02-27 Roland McGrath <roland@hack.frob.com>
36821
36822 [BZ #13775]
36823 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36824 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36825 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36826 being in POSIX, because they are in 1003.1-2008.
36827
36828 * rt/tst-aio.c: Include <fcntl.h>.
36829 * rt/tst-aio7.c: Likewise.
36830 * rt/tst-aio64.c: Likewise.
36831
36832 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36833
36834 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36835
36836 * manual/install.texi (--with-headers): Describe headers as
36837 interface headers, not private headers.
36838 (Specific advice for GNU/Linux systems): Describe use of headers
36839 from "make headers_install", not private headers from older
36840 kernels.
36841 * INSTALL: Regenerated.
36842 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36843 Change to 2.6.19.
36844 * sysdeps/unix/sysv/linux/configure: Regenerated.
36845
36846 * manual/llio.texi (fclean): Remove documentation.
36847
36848 * manual/Makefile (libc-texi-generated): New variable. Include
36849 version.texi.
36850 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36851 $(libc-texi-generated), not duplicated list of files.
36852 (version.texi, stamp-version): New rules.
36853 (realclean): Remove $(libc-texi-generated), not individual files
36854 from that list. Do not remove dir-add.texinfo.
36855 * manual/libc.texinfo: Comment out uses of edition numbers and
36856 references to printed manual. Remove last-updated dates.
36857 (EDITION): Comment out.
36858 (ISBN): Likewise.
36859 (VERSION, UPDATED): Remove.
36860 (version.texi): Include.
36861
36862 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36863
36864 * sysdeps/posix/spawni.c: Include <signal.h>.
36865 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36866 * sysdeps/pthread/aio_fsync.c: Likewise.
36867
36868 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36869
36870 * conform/Makefile (tests): Run only when not cross-compiling and
36871 when fast-check is not defined.
36872
36873 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36874 * conform/data/limits.h-data: Fixes for POSIX2008.
36875 * conform/run-conformtest.sh: Run all tests.
36876 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36877 headers.
36878 * include/bits/dlfcn.h: Likewise.
36879 * include/langinfo.h: Likewise.
36880 * include/monetary.h: Likewise.
36881 * include/sys/poll.h: Likewise.
36882
36883 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36884 for __USE_GNU.
36885 * posix/spawn.h: Define __need_sigset_t.
36886 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36887 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36888 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36889 to get sigevent_t only.
36890 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36891 only for __USE_GNU.
36892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36893 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36894 process_vm_writev only for __USE_GNU.
36895 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36896
36897 * conform/Makefile: For now ignore errors from run-conformtest.
36898 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36899 POSIX to avoid namespace pollution. Don't prepend headers.
36900 * conform/data/aio.h-data: Fixes for POSIX testing.
36901 * conform/data/fcntl.h-data: Likewise.
36902 * conform/data/glob.h-data: Likewise.
36903 * conform/data/grp.h-data: Likewise.
36904 * conform/data/pthread.h-data: Likewise.
36905 * conform/data/pwd.h-data: Likewise.
36906 * conform/data/signal.h-data: Likewise.
36907 * conform/data/spawn.h-data: Likewise.
36908 * conform/data/stdio.h-data: Likewise.
36909 * conform/data/stdlib.h-data: Likewise.
36910 * conform/data/stropts.h-data: Likewise.
36911 * conform/data/sys/mman.h-data: Likewise.
36912 * conform/data/sys/stat.h-data: Likewise.
36913 * conform/data/sys/types.h-data: Likewise.
36914 * conform/data/sys/wait.h-data: Likewise.
36915 * conform/data/time.h-data: Likewise.
36916 * conform/data/unistd.h-data: Likewise.
36917 * conform/data/utime.h-data: Likewise.
36918
36919 * io/sys/stat.h: fchmod was always in POSIX.
36920 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36921 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36922 * rt/aio.h: Define __need_timespec before including <time.h>.
36923 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36924 struct. Add forward declaration of pthread_attr_t and use it in
36925 sigevent.
36926 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36928 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36929 always remove CLK_TCK definition.
36930
36931 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36932
36933 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36934
36935 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36936
36937 * conform/run-conformtest.sh: New file.
36938 * conform/Makefile: Run run-conformtest for tests.
36939 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36940 support.
36941
36942 * conform/data/uchar.h-data: New file.
36943 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36944 * conform/data/arpa/inet.h-data: Likewise.
36945 * conform/data/assert.h-data: Likewise.
36946 * conform/data/complex.h-data: Likewise.
36947 * conform/data/cpio.h-data: Likewise.
36948 * conform/data/ctype.h-data: Likewise.
36949 * conform/data/dirent.h-data: Likewise.
36950 * conform/data/dlfcn.h-data: Likewise.
36951 * conform/data/errno.h-data: Likewise.
36952 * conform/data/fcntl.h-data: Likewise.
36953 * conform/data/float.h-data: Likewise.
36954 * conform/data/fmtmsg.h-data: Likewise.
36955 * conform/data/fnmatch.h-data: Likewise.
36956 * conform/data/ftw.h-data: Likewise.
36957 * conform/data/glob.h-data: Likewise.
36958 * conform/data/grp.h-data: Likewise.
36959 * conform/data/iconv.h-data: Likewise.
36960 * conform/data/inttypes.h-data: Likewise.
36961 * conform/data/langinfo.h-data: Likewise.
36962 * conform/data/libgen.h-data: Likewise.
36963 * conform/data/limits.h-data: Likewise.
36964 * conform/data/locale.h-data: Likewise.
36965 * conform/data/math.h-data: Likewise.
36966 * conform/data/monetary.h-data: Likewise.
36967 * conform/data/mqueue.h-data: Likewise.
36968 * conform/data/ndbm.h-data: Likewise.
36969 * conform/data/net/if.h-data: Likewise.
36970 * conform/data/netdb.h-data: Likewise.
36971 * conform/data/netinet/in.h-data: Likewise.
36972 * conform/data/nl_types.h-data: Likewise.
36973 * conform/data/poll.h-data: Likewise.
36974 * conform/data/pthread.h-data: Likewise.
36975 * conform/data/pwd.h-data: Likewise.
36976 * conform/data/regex.h-data: Likewise.
36977 * conform/data/sched.h-data: Likewise.
36978 * conform/data/search.h-data: Likewise.
36979 * conform/data/semaphore.h-data: Likewise.
36980 * conform/data/setjmp.h-data: Likewise.
36981 * conform/data/signal.h-data: Likewise.
36982 * conform/data/spawn.h-data: Likewise.
36983 * conform/data/stdarg.h-data: Likewise.
36984 * conform/data/stdio.h-data: Likewise.
36985 * conform/data/stdlib.h-data: Likewise.
36986 * conform/data/string.h-data: Likewise.
36987 * conform/data/strings.h-data: Likewise.
36988 * conform/data/stropts.h-data: Likewise.
36989 * conform/data/sys/ipc.h-data: Likewise.
36990 * conform/data/sys/mman.h-data: Likewise.
36991 * conform/data/sys/msg.h-data: Likewise.
36992 * conform/data/sys/resource.h-data: Likewise.
36993 * conform/data/sys/select.h-data: Likewise.
36994 * conform/data/sys/sem.h-data: Likewise.
36995 * conform/data/sys/shm.h-data: Likewise.
36996 * conform/data/sys/socket.h-data: Likewise.
36997 * conform/data/sys/stat.h-data: Likewise.
36998 * conform/data/sys/statvfs.h-data: Likewise.
36999 * conform/data/sys/time.h-data: Likewise.
37000 * conform/data/sys/timeb.h-data: Likewise.
37001 * conform/data/sys/times.h-data: Likewise.
37002 * conform/data/sys/types.h-data: Likewise.
37003 * conform/data/sys/uio.h-data: Likewise.
37004 * conform/data/sys/un.h-data: Likewise.
37005 * conform/data/sys/utsname.h-data: Likewise.
37006 * conform/data/sys/wait.h-data: Likewise.
37007 * conform/data/syslog.h-data: Likewise.
37008 * conform/data/tar.h-data: Likewise.
37009 * conform/data/termios.h-data: Likewise.
37010 * conform/data/utime.h-data: Likewise.
37011 * conform/data/utmpx.h-data: Likewise.
37012 * conform/data/varargs.h-data: Likewise.
37013 * conform/data/wchar.h-data: Likewise.
37014 * conform/data/wctype.h-data: Likewise.
37015 * conform/data/wordexp.h-data: Likewise.
37016
37017 * include/stropts.h: New file.
37018 * include/uchar.h: New file.
37019 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37020 * include/assert.h: Likewise.
37021 * include/ctype.h: Likewise.
37022 * include/dirent.h: Likewise.
37023 * include/dlfcn.h: Likewise.
37024 * include/fcntl.h: Likewise.
37025 * include/fnmatch.h: Likewise.
37026 * include/glob.h: Likewise.
37027 * include/grp.h: Likewise.
37028 * include/libio.h: Likewise.
37029 * include/locale.h: Likewise.
37030 * include/math.h: Likewise.
37031 * include/net/if.h: Likewise.
37032 * include/netdb.h: Likewise.
37033 * include/netinet/in.h: Likewise.
37034 * include/pthread.h: Likewise.
37035 * include/pwd.h: Likewise.
37036 * include/regex.h: Likewise.
37037 * include/sched.h: Likewise.
37038 * include/search.h: Likewise.
37039 * include/setjmp.h: Likewise.
37040 * include/signal.h: Likewise.
37041 * include/stdio.h: Likewise.
37042 * include/stdlib.h: Likewise.
37043 * include/string.h: Likewise.
37044 * include/sys/cdefs.h: Likewise.
37045 * include/sys/mman.h: Likewise.
37046 * include/sys/msg.h: Likewise.
37047 * include/sys/resource.h: Likewise.
37048 * include/sys/select.h: Likewise.
37049 * include/sys/socket.h: Likewise.
37050 * include/sys/stat.h: Likewise.
37051 * include/sys/statvfs.h: Likewise.
37052 * include/sys/time.h: Likewise.
37053 * include/sys/times.h: Likewise.
37054 * include/sys/uio.h: Likewise.
37055 * include/sys/utsname.h: Likewise.
37056 * include/sys/wait.h: Likewise.
37057 * include/termios.h: Likewise.
37058 * include/time.h: Likewise.
37059 * include/ulimit.h: Likewise.
37060 * include/unistd.h: Likewise.
37061 * include/utime.h: Likewise.
37062 * include/wchar.h: Likewise.
37063 * include/wctype.h: Likewise.
37064 * include/wordexp.h: Likewise.
37065
37066 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37067
37068 * time/time.h: TIME_UTC must be a macro.
37069 Make timespec_get available for ISO C11 only as well.
37070
37071 2012-02-24 Ulrich Drepper <drepper@gmail.com>
37072
37073 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37074 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37075
37076 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37077
37078 * configure.in: Use -o not -a in test for unsupported multi-arch.
37079
37080 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37081
37082 * manual/texinfo.tex: Update to version 2012-01-19.16.
37083
37084 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37085
37086 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37087
37088 2012-02-24 Roland McGrath <roland@hack.frob.com>
37089
37090 [BZ #13738]
37091 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37092 * manual/fdl-1.3.texi: New file.
37093 * manual/fdl-1.1.texi: File removed.
37094
37095 [BZ #13738]
37096 * manual/libc.texinfo (FDL_VERSION): New @set.
37097 Use it for mention of FDL in cover text.
37098 (Documentation License): Use it in @include file name.
37099
37100 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37101 Roland McGrath <roland@hack.frob.com>
37102
37103 [BZ #5461]
37104 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37105 (not LONG_LONG_MAX and LONG_LONG_MIN.
37106 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37107 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37108 name.
37109 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37110
37111 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37112
37113 [BZ #2547]
37114 [BZ #11365]
37115 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37116 manipulate bits before adding and subtracting TWO23[sx].
37117 * math/libm-test.inc (nearbyint_test): Add more tests.
37118
37119 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37120
37121 [BZ #2548]
37122 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37123 bits before adding and subtracting TWO23[sx].
37124 * math/libm-test.inc (rint_test): Add more tests.
37125 (rint_test_tonearest): Likewise.
37126 (rint_test_towardzero): Likewise.
37127 (rint_test_downward): Likewise.
37128 (rint_test_upward: Likewise.
37129
37130 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37131
37132 [BZ #10110]
37133 * include/stdc-predef.h: New file. Extracted from features.h.
37134 * include/features.h: Include stdc-predef.h.
37135 * Makefile (headers): Add stdc-predef.h.
37136 * CONFORMANCE (Compiler limitations): Update.
37137
37138 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37139
37140 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37141
37142 2012-02-21 David S. Miller <davem@davemloft.net>
37143
37144 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37145 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37146
37147 2012-02-20 David S. Miller <davem@davemloft.net>
37148
37149 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37150 using a normal save/restore sequence, rather than allocating a
37151 dummy stack frame just to store a frame pointer and restore.
37152 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37153
37154 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37155
37156 * manual/install.texi: Fix stray word in line-wrapped comment.
37157
37158 2012-02-20 David S. Miller <davem@davemloft.net>
37159
37160 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37161 both binutils and gcc support GOTDATA.
37162
37163 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37164 "rd %pc" in the PIC register setup sequences.
37165
37166 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37167 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37168 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37169 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37170 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37172 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37173 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37175 (SYSCALL_ERROR_HANDLER): Likewise.
37176 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37177 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37179 (SYSCALL_ERROR_HANDLER): Likewise.
37180
37181 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37182 (HAVE_GCC_GOTDATA): New.
37183 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37184 relocation support in both binutils and gcc.
37185 * sysdeps/sparc/elf/configure: Regenerate.
37186
37187 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37188 * sysdeps/sparc/sparc32/elf/configure: Delete.
37189 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37190 * sysdeps/sparc/sparc64/elf/configure: Delete.
37191 * sysdeps/sparc/elf/configure.in: New file.
37192 * sysdeps/sparc/elf/configure: Generate.
37193
37194 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37195 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37196 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37197 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37198 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37199
37200 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37201
37202 * manual/install.texi: Do not mention specific glibc version
37203 numbers.
37204 * manual/libc.texinfo (VERSION, UPDATED): Update.
37205 (@copying): Use @copyright{} and range of years.
37206
37207 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37208
37209 [BZ #13695]
37210 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37211 [crti.S not in sysdirs] (generated): Do not append.
37212 [crti.S not in sysdirs] (omit-deps): Likewise.
37213 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37214 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37215 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37216 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37217 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37218 Likewise.
37219 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37220 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37221 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37222 * csu/defs.awk: Remove file.
37223 * sysdeps/generic/initfini.c: Likewise.
37224 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37225 variable.
37226 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37227 Likewise.
37228
37229 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37230
37231 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37232 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37233 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37234 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37235 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37236 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37237 <bits/epoll.h>.
37238 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37239 (__EPOLL_PACKED): Define to empty if not defined by
37240 <bits/epoll.h>.
37241 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37243 bits/epoll.h.
37244
37245 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37246
37247 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37248 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37250 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37251 <bits/timerfd.h>.
37252 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37254 bits/timerfd.h.
37255
37256 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37257
37258 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37259 in C locale.
37260 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37261 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37262 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37264
37265 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37266
37267 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37268 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37269
37270 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37271
37272 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37273 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37274 defined.
37275 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37276 Likewise.
37277 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37278 entry for 2.16.
37279
37280 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37281
37282 * math/w_acos.c: Use non-signaling floating-point comparisons.
37283 * math/w_acosf.c: Likewise.
37284 * math/w_acosh.c: Likewise.
37285 * math/w_acoshf.c: Likewise.
37286 * math/w_acoshl.c: Likewise.
37287 * math/w_acosl.c: Likewise.
37288 * math/w_asin.c: Likewise.
37289 * math/w_asinf.c: Likewise.
37290 * math/w_asinl.c: Likewise.
37291 * math/w_atanh.c: Likewise.
37292 * math/w_atanhf.c: Likewise.
37293 * math/w_atanhl.c: Likewise.
37294 * math/w_exp2.c: Likewise.
37295 * math/w_exp2f.c: Likewise.
37296 * math/w_exp2l.c: Likewise.
37297 * math/w_j0.c: Likewise.
37298 * math/w_j0f.c: Likewise.
37299 * math/w_j0l.c: Likewise.
37300 * math/w_j1.c: Likewise.
37301 * math/w_j1f.c: Likewise.
37302 * math/w_j1l.c: Likewise.
37303 * math/w_jn.c: Likewise.
37304 * math/w_jnf.c: Likewise.
37305 * math/w_log.c: Likewise.
37306 * math/w_log10.c: Likewise.
37307 * math/w_log10f.c: Likewise.
37308 * math/w_log10l.c: Likewise.
37309 * math/w_log2.c: Likewise.
37310 * math/w_log2f.c: Likewise.
37311 * math/w_log2l.c: Likewise.
37312 * math/w_logf.c: Likewise.
37313 * math/w_logl.c: Likewise.
37314 * math/w_sqrt.c: Likewise.
37315 * math/w_sqrtf.c: Likewise.
37316 * math/w_sqrtl.c: Likewise.
37317 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37318 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37319 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37320 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37321 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37322
37323 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37324
37325 [BZ #9739]
37326 * manual/string.texi (strnlen): Use correct parameter name in
37327 equivalent expression.
37328
37329 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37330
37331 [BZ #11174]
37332 * manual/users.texi (seteuid): Consistently use neweuid for
37333 argument name.
37334
37335 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37336
37337 [BZ #13704]
37338 * manual/nss.texi (Services in the NSS configuration): Correct
37339 list of services in example configuration file.
37340
37341 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37342
37343 [BZ #11322]
37344 * manual/arith.texi: Remove statements about negative zero
37345 behaving identically to zero.
37346
37347 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37348
37349 [BZ #5993]
37350 * manual/install.texi: Do not document upgrading from libc5.
37351
37352 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37353
37354 [BZ #4596]
37355 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37356
37357 2012-02-18 David S. Miller <davem@davemloft.net>
37358
37359 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37360 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37361 %o7 across the call.
37362 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37363 instead.
37364 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37365 SETUP_PIC_REG_LEAF.
37366 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37367 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37368 * sysdeps/sparc/crtn.S: Likewise.
37369
37370 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37371
37372 * aout/Makefile: Remove.
37373
37374 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37375
37376 [BZ #13058]
37377 * manual/examples/argp-ex1.c (main): Format definition in GNU
37378 style.
37379 * manual/examples/argp-ex2.c (main): Likewise.
37380 * manual/examples/argp-ex3.c (main): Likewise.
37381 * manual/examples/argp-ex4.c (main): Likewise.
37382 * manual/examples/longopt.c (main): Use new-style prototype
37383 definition.
37384 * manual/examples/strncat.c (main): Specify return type and use
37385 (void) for arguments.
37386 * manual/examples/subopt.c (main): Use char **argv argument.
37387
37388 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37389
37390 [BZ #5077]
37391 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37392 rounding modes.
37393
37394 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37395
37396 [BZ #6907]
37397 * manual/string.texi (strchr): Change when strchrnul is
37398 recommended.
37399
37400 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37401
37402 [BZ #174]
37403 * manual/locale.texi (setlocale): Document LOCPATH.
37404
37405 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37406
37407 [BZ #10210]
37408 * manual/process.texi (execle): Move @dots{} before last argument.
37409
37410 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37411
37412 [BZ #12047]
37413 * manual/charset.texi (Generic Charset Conversion): Fix typo
37414 (LC_TYPE -> LC_CTYPE).
37415
37416 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37417
37418 [BZ #5805]
37419 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37420 (scalbnf): Likewise.
37421 (scalbnl): Likewise.
37422 (scalbln): Likewise.
37423 (scalblnf): Likewise.
37424 (scalblnl): Likewise.
37425 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37426 (vwarnx): Likewise.
37427 (verr): Likewise.
37428 (verrx): Likewise.
37429 * manual/filesys.texi (telldir): Use braces around return type.
37430 * manual/llio.texi (mmap): Add space after comma.
37431 (mmap64): Likewise.
37432 * manual/math.texi (jn): Use @var{} on parameter names.
37433 (jnf): Likewise.
37434 (jnl): Likewise.
37435 (yn): Likewise.
37436 (ynf): Likewise.
37437 (ynl): Likewise.
37438 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37439 line.
37440 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37441 "...".
37442 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37443 (sched_get_priority_max): Likewise.
37444 * manual/signal.texi (sigvec): Add space after comma.
37445 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37446 names.
37447 (if_indextoname): Likewise.
37448 (if_freenameindex): Likewise.
37449 (sendto): Use ',' instead of '.' in prototype.
37450 * manual/startup.texi (syscall): Use @dots{} instead of literal
37451 "...".
37452 * manual/stdio.texi (__fpending): Separate initial words of
37453 paragraph from @deftypefun line.
37454 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37455 "...".
37456 (vsyslog): Use @var{} on parameter names.
37457 * manual/terminal.texi (stty): Use @var{} on parameter names.
37458 * manual/users.texi (getutmp): Use @var{} on parameter names.
37459 (getutmpx): Likewise.
37460
37461 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37462
37463 [BZ #6884]
37464 * manual/stdio.texi (fopen): Fix typos in description of
37465 ",ccs=STRING".
37466
37467 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37468
37469 [BZ #4026]
37470 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37471 get clock_id definition.
37472
37473 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37474
37475 [BZ #4822]
37476 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37477 (madvise): Cast every argument to void on its own.
37478
37479 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37480
37481 [BZ #9902]
37482 * manual/startup.texi (Exit Status): Fix typo.
37483
37484 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37485
37486 [BZ #10140]
37487 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37488 * manual/examples/argp-ex2.c: Likewise.
37489 * manual/examples/argp-ex3.c: Likewise.
37490
37491 2012-02-16 Richard Henderson <rth@redhat.com>
37492
37493 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37494 * sysdeps/s390/s390-32/initfini.c: Remove.
37495 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37496 * sysdeps/s390/s390-64/initfini.c: Remove.
37497
37498 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37499
37500 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37501 compiler output for sysdeps/generic/initfini.c.
37502 * sysdeps/sh/elf/initfini.c: Remove file.
37503
37504 2012-02-16 David S. Miller <davem@davemloft.net>
37505
37506 [BZ #11494]
37507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37508
37509 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37510 * sysdeps/sparc/crti.S: New file.
37511 * sysdeps/sparc/crtn.S: New file.
37512 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37513 * sysdeps/sparc/sparc64/Makefile: Likewise.
37514
37515 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37516
37517 [BZ #3335]
37518 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37519
37520 2012-02-15 Roland McGrath <roland@hack.frob.com>
37521
37522 [BZ #4822]
37523 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37524
37525 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37526 (write, read, close): Likewise.
37527 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37528
37529 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37530
37531 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37532 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37533 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37534 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37535 <bits/signalfd.h>.
37536 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37538 bits/signalfd.h.
37539
37540 2012-02-14 Marek Polacek <polacek@redhat.com>
37541
37542 * sysdeps/x86_64/crti.S: New file.
37543 * sysdeps/x86_64/crtn.S: New file.
37544 * sysdeps/x86_64/elf/initfini.c: Remove file.
37545
37546 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37547
37548 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37549 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37550 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37551 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37552 <bits/inotify.h>.
37553 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37555 bits/inotify.h.
37556
37557 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37558
37559 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37560 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37561 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37562 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37563 <bits/eventfd.h>.
37564 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37566 bits/eventfd.h.
37567
37568 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37569
37570 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37571 __feraiseexcept instead of feraiseexcept.
37572
37573 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37574 nanosleep invocations.
37575 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37576 strings, and add error checking for a nanosleep invocations.
37577
37578 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37579
37580 Replace FSF snail mail address with URLs, as per GNU coding standards.
37581 Most of the snail mail addresses were wrong anyway, and omitting
37582 them makes the source code easier to maintain. Almost all of the
37583 changes are to license notices and to locale LC_IDENTIFICATION
37584 addresses, except for this one:
37585 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37586 not its snail mail address.
37587
37588 2012-02-09 Richard Henderson <rth@twiddle.net>
37589
37590 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37591 of kernel-features.h.
37592
37593 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37594
37595 2012-02-08 Marek Polacek <polacek@redhat.com>
37596
37597 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37598 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37599 * sysdeps/gnu/_G_config.h: Likewise.
37600 * sysdeps/generic/_G_config.h: Likewise.
37601
37602 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37603
37604 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37605 tests.
37606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37607
37608 * sysdeps/powerpc/powerpc32/crti.S: New file.
37609 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37610 * sysdeps/powerpc/powerpc64/crti.S: New file.
37611 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37612
37613 * Makeconfig (have-initfini): Don't set.
37614 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37615 * configure.in (nopic_initfini): Don't substitute.
37616 * config.h.in (HAVE_INITFINI): Don't #undef.
37617 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37618 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37619
37620 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37621
37622 Support crti.S and crtn.S provided directly by architectures.
37623 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37624 [crti.S in sysdirs] (omit-deps): Likewise.
37625 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37626 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37627 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37628 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37629 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37630 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37631 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37632 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37633 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37634 compiler output for sysdeps/generic/initfini.c.
37635 * sysdeps/i386/elf/Makefile: Remove file.
37636 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37637
37638 2012-02-07 Marek Polacek <polacek@redhat.com>
37639
37640 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37641 * sysdeps/gnu/_G_config.h: Likewise.
37642 * sysdeps/mach/hurd/_G_config.h: Likewise.
37643
37644 2012-02-07 Marek Polacek <polacek@redhat.com>
37645
37646 * math/Makefile (tests): Add tst-CMPLX2.
37647 * math/tst-CMPLX2.c: New file.
37648
37649 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37650
37651 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37652
37653 * math/libm-test.inc (jn_test): Add missing L suffix.
37654
37655 2012-02-06 Marek Polacek <polacek@redhat.com>
37656
37657 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37658 * sysdeps/i386/fpu/e_powf.S: Likewise.
37659 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37660 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37661 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37662 * sysdeps/i386/fpu/e_pow.S: Likewise.
37663 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37664 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37665 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37666 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37667 * sysdeps/i386/fpu/e_log2.S: Likewise.
37668 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37669 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37670 * sysdeps/i386/fpu/e_powl.S: Likewise.
37671 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37672 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37673 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37674 * sysdeps/i386/fpu/e_logl.S: Likewise.
37675 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37676 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37677 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37678 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37679 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37680 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37681 * sysdeps/i386/fpu/e_log.S: Likewise.
37682 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37684 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37685 * sysdeps/i386/fpu/e_logf.S: Likewise.
37686 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37687 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37688 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37689 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37690 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37691 * sysdeps/i386/fpu/e_log10.S: Likewise.
37692 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37693 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37694 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37695 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37696 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37697 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37698 * sysdeps/i386/asm-syntax.h: Likewise.
37699 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37700 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37701 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37702 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37703 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37704 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37705 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37706 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37707 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37708 * sysdeps/powerpc/sysdep.h: Likewise.
37709 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37710 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37711
37712 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37713
37714 [BZ #411]
37715 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37716
37717 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37718
37719 * sysdeps/i386/sysdep.h: Include <features.h>.
37720 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37721 version.
37722
37723 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37724
37725 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37726 Define.
37727 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37728 LOAD_PIC_REG_STR.
37729
37730 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37731
37732 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37733 (SETUP_PIC_REG): Use GET_PC_THUNK.
37734 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37735 macro.
37736
37737 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37738
37739 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37740 for non-PIC compilation.
37741 (SETUP_PIC_REG): Add .p2align directive.
37742 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37743 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37744 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37745 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37746 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37747 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37748 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37749 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37750 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37751 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37752 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37753 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37754 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37755 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37756 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37757 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37758 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37759 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37760 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37761 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37762 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37763 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37764 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37765 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37766 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37768 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37769 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37770 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37771 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37772 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37773 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37774 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37775 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37776 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37777 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37778 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37779 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37780 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37781 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37782 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37783
37784 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37785
37786 * math/tst-CMPLX.c: Include <stdio.h>.
37787
37788 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37789
37790 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37791 float.
37792 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37793 * sysdeps/sparc/bits/mathdef.h: Likewise.
37794
37795 2012-01-31 Marek Polacek <polacek@redhat.com>
37796
37797 * libio/libio.h: Don't define _PARAMS.
37798 * locale/programs/config.h: Don't define PARAMS.
37799 * stdlib/strtol_l.c: Likewise.
37800 (__strtol_l): Remove PARAMS from the prototype.
37801
37802 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37803
37804 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37805 names. Just use the correct names. Remove unnecessary wrapper
37806 functions.
37807 * malloc/arena.c: Likewise.
37808 * malloc/hooks.c: Likewise.
37809
37810 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37811 ARENA_TEST says not to. Simplify test for creation of a new arena.
37812 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37813
37814 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37815
37816 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37817 into tail calls.
37818 (update_get_addr): New function.
37819 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37820 GET_ADDR_MODULE parameter.
37821
37822 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37823
37824 * crypt/cert.c: Remove __STDC__ conditionals.
37825 * crypt/crypt-entry.c: Likewise.
37826 * crypt/crypt_util.c: Likewise.
37827 * libio/filedoalloc.c: Likewise.
37828 * libio/fileops.c: Likewise.
37829 * libio/genops.c: Likewise.
37830 * libio/iofclose.c: Likewise.
37831 * libio/iofdopen.c: Likewise.
37832 * libio/iofopen.c: Likewise.
37833 * libio/iofopen64.c: Likewise.
37834 * libio/iogetdelim.c: Likewise.
37835 * libio/iopopen.c: Likewise.
37836 * libio/obprintf.c: Likewise.
37837 * libio/oldfileops.c: Likewise.
37838 * libio/oldiofclose.c: Likewise.
37839 * libio/oldiofdopen.c: Likewise.
37840 * libio/oldiofopen.c: Likewise.
37841 * libio/oldiopopen.c: Likewise.
37842 * libio/wfiledoalloc.c: Likewise.
37843 * libio/wgenops.c: Likewise.
37844 * locale/programs/xmalloc.c: Likewise.
37845 * misc/syslog.c: Likewise.
37846 * stdio-common/xbug.c: Likewise.
37847 * string/memchr.c: Likewise.
37848 * string/memcmp.c: Likewise.
37849 * string/memrchr.c: Likewise.
37850 * string/rawmemchr.c: Likewise.
37851 * sysdeps/posix/getcwd.c: Likewise.
37852 * time/strftime_l.c: Likewise.
37853
37854 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37855
37856 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37857 * config.make.in (config-cflags-sse2avx): Define.
37858 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37859 Fix typo.
37860
37861 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37862
37863 * scripts/config.guess: Update from upstream config git repository.
37864 * scripts/config.sub: Likewise.
37865
37866 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37867
37868 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37869 (EM_NUM): Update.
37870 (R_TILEPRO_*, R_TILEGX_*): New macros.
37871
37872 * scripts/firstversions.awk: Fix bug in version range handling.
37873
37874 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37875
37876 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37877
37878 * include/sys/epoll.h: New file.
37879 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37880 libc_hidden_def.
37881
37882 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37883
37884 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37885 Avoid unnecessary __WORDSIZE == 64 test.
37886 (fmaxf): Use VEX format if possible.
37887 (fmax): Likewise.
37888 (fminf): Likewise.
37889 (fmin): Likewise.
37890
37891 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37892 * math/math_private.h: Remove libc_fegetround* and
37893 libc_fesetround*.
37894 * sysdeps/i386/configure.in: Check for -msse2avx.
37895 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37896 also if SSE2AVX is defined.
37897 Remove libc_fegetround* and libc_fesetround*.
37898 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37899 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37900 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37901 of HAS_YMM_USABLE.
37902 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37903 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37904 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37905 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37906 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37907
37908 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37909
37910 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37911
37912 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37913 size is not set.
37914 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37915
37916 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37917
37918 [BZ #13618]
37919 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37920 relocation.
37921 * Makeconfig (libm): Define.
37922 * elf/Makefile: Add rules to build and run tst-relsort1.
37923 * elf/tst-relsort1.c: New file.
37924 * elf/tst-relsort1mod1.c: New file.
37925 * elf/tst-relsort1mod2.c: New file.
37926
37927 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37928
37929 * math/s_ldexp.c: Remove __STDC__ conditionals.
37930 * math/s_ldexpf.c: Likewise.
37931 * math/s_ldexpl.c: Likewise.
37932 * math/s_nextafter.c: Likewise.
37933 * math/s_nexttowardf.c: Likewise.
37934 * math/s_significand.c: Likewise.
37935 * math/s_significandf.c: Likewise.
37936 * math/s_significandl.c: Likewise.
37937 * math/w_jnl.c: Likewise.
37938 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37939 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37940 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37941 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37942 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37943 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37944 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37945 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37946 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37947 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37948 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37949 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37950 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37951 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37952 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37953 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37954 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37955 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37957 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37958 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37959 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37960 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37962 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37963 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37964 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37965 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37966 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37967 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37968 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37969 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37970 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37971 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37972 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37973 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37974 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37975 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37976 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37977 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37978 * sysdeps/ieee754/k_standard.c: Likewise.
37979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37980 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37981 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37982 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37983 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37984 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37985 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37986 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37987 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37988 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37989 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37990 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37991 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37992 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37993 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37994 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37995 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37996 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37997 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37998 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37999 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38000 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38001 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38002 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38003 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38004 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38008 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38009 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38010 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38011 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38012 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38013 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38014 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38015 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38016 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38017 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38018 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38019 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38021 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38022 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38023 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38024 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38025 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38026 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38027 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38028 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38029 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38030 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38031 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38032 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38033 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38034 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38035 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38036 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38037 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38038 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38039 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38040 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38041 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38042 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38043 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38044 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38045 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38046 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38047 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38048 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38049 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38050 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38051 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38052 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38053 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38054 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38055 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38056 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38057 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38058 * sysdeps/ieee754/s_matherr.c: Likewise.
38059 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38063
38064 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38065
38066 * crypt/md5.h: Remove __STDC__ conditionals.
38067 * libio/libioP.h: Likewise.
38068 * locale/programs/config.h: Likewise.
38069 * sysdeps/generic/sysdep.h: Likewise.
38070 * sysdeps/i386/asm-syntax.h: Likewise.
38071 * sysdeps/s390/asm-syntax.h: Likewise.
38072 * sysdeps/unix/sysdep.h: Likewise.
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38075
38076 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38077
38078 * libio/libio.h: Remove __STDC__ conditionals.
38079 * malloc/obstack.h: Likewise.
38080 * math/complex.h: Likewise.
38081 * math/math.h: Likewise.
38082 * sysdeps/generic/_G_config.h: Likewise.
38083 * sysdeps/gnu/_G_config.h: Likewise.
38084 * sysdeps/mach/hurd/_G_config.h: Likewise.
38085 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38086 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38087 * sysdeps/sparc/bits/mathdef.h: Likewise.
38088
38089 2012-01-26 Ulrich Drepper <drepper@gmail.com>
38090
38091 [BZ #13583]
38092 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38093 Clean up HAS_* macros.
38094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38095 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38096 possible.
38097 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38098 HAS_AVX.
38099 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38100 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38101 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38102 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38103 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38104
38105 2012-01-25 Joseph Myers <joseph@codesourcery.com>
38106
38107 * elf/tst-unique3.cc (gets): Remove declaration.
38108 * elf/tst-unique3lib.cc (gets): Likewise.
38109 * elf/tst-unique3lib2.cc (gets): Likewise.
38110 * elf/tst-unique4.cc (gets): Likewise.
38111
38112 2012-01-24 Ulrich Drepper <drepper@gmail.com>
38113
38114 * include/stdio.h: Add C++ protection. Add gets declarations and
38115 definitions.
38116 * debug/tst-chk1.c: Don't declare gets here.
38117 * stdio-common/tst-gets.c: Likewise.
38118
38119 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38120
38121 * posix/glob: Remove directory.
38122
38123 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38124
38125 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38126
38127 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38128
38129 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38130 of the non-standard EPFNOSUPPORT.
38131
38132 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38133
38134 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38135 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38136 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38137
38138 2012-01-21 Ulrich Drepper <drepper@gmail.com>
38139
38140 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38141
38142 2012-01-20 Ulrich Drepper <drepper@gmail.com>
38143
38144 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38145 transient errors.
38146 * nscd/grpcache.c (cache_addgr): Likewise.
38147 * nscd/hstcache.c (cache_addhst): Likewise.
38148 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38149 * nscd/pwdcache.c (cache_addpw): Likewise.
38150 * nscd/servicescache.c (cache_addserv): Likewise.
38151
38152 2012-01-16 Ulrich Drepper <drepper@gmail.com>
38153
38154 * malloc/malloc.c: Various cleanups.
38155 * malloc/hooks.c: Likewise.
38156
38157 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38158 * stdlib/bug-fmtmsg1.c: New file.
38159
38160 * stdlib/fmtmsg.c (init): Add missing unlock.
38161 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38162
38163 2012-01-12 Marek Polacek <polacek@redhat.com>
38164
38165 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38166 and _GNU_SOURCE.
38167
38168 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38169
38170 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38171 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38172 macro to ensure uniqueness of label name.
38173 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38174 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38175
38176 2012-01-11 Ulrich Drepper <drepper@gmail.com>
38177
38178 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38179
38180 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38181 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38182 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38184
38185 2012-01-10 Ulrich Drepper <drepper@gmail.com>
38186
38187 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38188
38189 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38190 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38191 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38192
38193 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38194
38195 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38196 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38197 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38198 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38199
38200 * math/bits/math-finite.h: Add ldexp support.
38201
38202 2012-01-10 Marek Polacek <polacek@redhat.com>
38203
38204 * locale/programs/localedef.h (show_archive_content): Add noreturn
38205 attribute.
38206
38207 2012-01-09 Ulrich Drepper <drepper@gmail.com>
38208
38209 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38210
38211 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38212
38213 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38214
38215 * io/Makefile (headers): Add bits/poll2.h.
38216
38217 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38218
38219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38220 typo #include statement.
38221
38222 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38223
38224 * include/sys/cdefs.h: Define __attribute_alloc_size.
38225 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38226 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38227 * elf/pldd.c: Likewise.
38228 * iconv/iconv_charmap.c: Likewise.
38229 * iconv/iconvconfig.c: Likewise.
38230 * iconv/strtab.c: Likewise.
38231 * locale/programs/locale.c: Likewise.
38232 * locale/programs/localedef.h: Likewise.
38233 * locale/programs/simple-hash.c: Likewise.
38234 * nscd/nscd.h: Likewise.
38235 * nss/makedb.c: Likewise.
38236 * sysdeps/generic/ldconfig.h: Likewise.
38237 * locale/programs/localedef.c: Remove xmalloc prototype.
38238 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38239
38240 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38241
38242 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38243 appropriate.
38244
38245 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38246
38247 * math/Makefile (tests): Add tst-CMPLX.
38248 * math/tst-CMPLX.c: New file.
38249
38250 * math/complex.h (CMPLXL): Fix typo.
38251
38252 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38253 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38254 GLIBC_2.16.
38255 * debug/tst-chk1.c: Add poll and ppoll tests.
38256 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38257 * include/sys/poll.h: Add hidden proto for ppoll.
38258 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38259 * sysdeps/mach/hurd/ppoll.c: Likewise.
38260 * io/ppoll.c: Likewise.
38261 * debug/poll_chk.c: New file.
38262 * debug/ppoll_chk.c: New file.
38263 * include/bits/poll2.h: New file.
38264 * io/bits/poll2.h: New file.
38265
38266 [BZ #1350]
38267 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38268
38269 * configure.in: static is always set to yes. Remove.
38270 * config.make.in: Don't set build-static.
38271 * Makeconfig: Remove use of build-static.
38272 * dlfcn/Makefile: Likewise.
38273 * elf/Makefile: Likewise.
38274 * math/Makefile: Likewise.
38275 * misc/Makefile: Likewise.
38276 * nptl/Makefile: Likewise.
38277 * sysdeps/mach/hurd/Makefile: Likewise.
38278
38279 * configure.in: PWD_P is not used anymore.
38280 * config.make.in: Remove PWD_P entry.
38281
38282 * configure.in: Remove last remnants of RANLIB.
38283 No need to check for signed size_t anymore.
38284 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38285 and IA-64.
38286 Remove __builtin_expect test because we require at least gcc 3.4.
38287 * aclocal.m4: Likewise.
38288
38289 * wcsmbs/mbrtoc16.c: Implement using towc function.
38290 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38291 * wcsmbs/wcsmbsload.c: Likewise.
38292 * iconv/gconv_simple.c: Likewise.
38293 * iconv/gconv_int.h: Likewise.
38294 * iconv/gconv_builtin.h: Likewise.
38295 * iconv/iconv_prog.c: Remove CHAR16 handling.
38296
38297 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38298
38299 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38300
38301 * configure.in: Remove --with-elf and --enable-bounded options.
38302 Dont set base_machine for ia64. More non-ELF conditions removed.
38303 Remove testing and setting of leading underscore information.
38304 * config.make.in (build-bounded): Set to no.
38305 * config.h.in: Remove NO_UNDERSCORES entry.
38306 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38307 them.
38308 * csu/start.c: Remove !NO_UNDERSCORE code.
38309 * locale/localeinfo.h: Likewise.
38310 * sysdeps/generic/machine-gmon.h: Likewise.
38311 * sysdeps/generic/sysdep.h: Likewise.
38312 * sysdeps/i386/sysdep.h: Likewise.
38313 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38314 * sysdeps/mach/sysdep.h: Likewise.
38315 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38316 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38317 * sysdeps/sh/sysdep.h: Likewise.
38318 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38319 * sysdeps/unix/i386/sysdep.S: Likewise.
38320 * sysdeps/unix/sparc/start.c: Likewise.
38321 * sysdeps/unix/sparc/sysdep.S: Likewise.
38322 * sysdeps/unix/sparc/sysdep.h: Likewise.
38323 * sysdeps/unix/start.c: Likewise.
38324 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38325 * sysdeps/x86_64/sysdep.h: Likewise.
38326
38327 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38328
38329 [BZ #13553]
38330 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38331 for non-gcc.
38332 * argp/argp-fmtstream.h: Use const instead __const.
38333 * argp/argp.h: Likewise.
38334 * assert/assert.h: Likewise.
38335 * bits/fenv.h: Likewise.
38336 * bits/sched.h: Likewise.
38337 * bits/sigset.h: Likewise.
38338 * bits/sigthread.h: Likewise.
38339 * catgets/nl_types.h: Likewise.
38340 * conform/data/pthread.h-data: Likewise.
38341 * crypt/crypt-private.h: Likewise.
38342 * crypt/crypt.h: Likewise.
38343 * crypt/crypt_util.c: Likewise.
38344 * ctype/ctype.h: Likewise.
38345 * debug/execinfo.h: Likewise.
38346 * debug/mbsnrtowcs_chk.c: Likewise.
38347 * debug/mbsrtowcs_chk.c: Likewise.
38348 * debug/wcsnrtombs_chk.c: Likewise.
38349 * debug/wcsrtombs_chk.c: Likewise.
38350 * debug/wcstombs_chk.c: Likewise.
38351 * dirent/dirent.h: Likewise.
38352 * dlfcn/dlfcn.h: Likewise.
38353 * elf/neededtest4.c: Likewise.
38354 * grp/grp.h: Likewise.
38355 * gshadow/gshadow.h: Likewise.
38356 * iconv/gconv.h: Likewise.
38357 * iconv/gconv_int.h: Likewise.
38358 * iconv/gconv_simple.c: Likewise.
38359 * iconv/iconv.h: Likewise.
38360 * iconv/loop.c: Likewise.
38361 * iconv/skeleton.c: Likewise.
38362 * include/aio.h: Likewise.
38363 * include/aliases.h: Likewise.
38364 * include/argz.h: Likewise.
38365 * include/arpa/inet.h: Likewise.
38366 * include/assert.h: Likewise.
38367 * include/dirent.h: Likewise.
38368 * include/dlfcn.h: Likewise.
38369 * include/execinfo.h: Likewise.
38370 * include/fcntl.h: Likewise.
38371 * include/fenv.h: Likewise.
38372 * include/glob.h: Likewise.
38373 * include/grp.h: Likewise.
38374 * include/libintl.h: Likewise.
38375 * include/mntent.h: Likewise.
38376 * include/netdb.h: Likewise.
38377 * include/pwd.h: Likewise.
38378 * include/rpc/netdb.h: Likewise.
38379 * include/sched.h: Likewise.
38380 * include/search.h: Likewise.
38381 * include/shadow.h: Likewise.
38382 * include/signal.h: Likewise.
38383 * include/stdio.h: Likewise.
38384 * include/stdlib.h: Likewise.
38385 * include/string.h: Likewise.
38386 * include/sys/socket.h: Likewise.
38387 * include/sys/stat.h: Likewise.
38388 * include/sys/statfs.h: Likewise.
38389 * include/sys/statvfs.h: Likewise.
38390 * include/sys/syslog.h: Likewise.
38391 * include/sys/time.h: Likewise.
38392 * include/sys/uio.h: Likewise.
38393 * include/time.h: Likewise.
38394 * include/unistd.h: Likewise.
38395 * include/utmp.h: Likewise.
38396 * include/wchar.h: Likewise.
38397 * include/wctype.h: Likewise.
38398 * inet/aliases.h: Likewise.
38399 * inet/arpa/inet.h: Likewise.
38400 * inet/netinet/ether.h: Likewise.
38401 * inet/netinet/in.h: Likewise.
38402 * intl/libintl.h: Likewise.
38403 * io/bits/fcntl2.h: Likewise.
38404 * io/fcntl.h: Likewise.
38405 * io/ftw.h: Likewise.
38406 * io/sys/poll.h: Likewise.
38407 * io/sys/stat.h: Likewise.
38408 * io/sys/statfs.h: Likewise.
38409 * io/sys/statvfs.h: Likewise.
38410 * io/utime.h: Likewise.
38411 * libio/bits/stdio.h: Likewise.
38412 * libio/bits/stdio2.h: Likewise.
38413 * libio/libio.h: Likewise.
38414 * libio/libioP.h: Likewise.
38415 * libio/stdio.h: Likewise.
38416 * locale/lc-ctype.c: Likewise.
38417 * locale/locale.h: Likewise.
38418 * login/utmp.h: Likewise.
38419 * malloc/arena.c: Likewise.
38420 * malloc/malloc.c: Likewise.
38421 * malloc/malloc.h: Likewise.
38422 * malloc/mcheck.c: Likewise.
38423 * malloc/mtrace.c: Likewise.
38424 * math/bits/mathcalls.h: Likewise.
38425 * math/fenv.h: Likewise.
38426 * math/math_private.h: Likewise.
38427 * misc/bits/error.h: Likewise.
38428 * misc/bits/syslog.h: Likewise.
38429 * misc/err.h: Likewise.
38430 * misc/error.h: Likewise.
38431 * misc/fstab.h: Likewise.
38432 * misc/mntent.h: Likewise.
38433 * misc/regexp.h: Likewise.
38434 * misc/search.h: Likewise.
38435 * misc/sgtty.h: Likewise.
38436 * misc/sys/mman.h: Likewise.
38437 * misc/sys/syslog.h: Likewise.
38438 * misc/sys/uio.h: Likewise.
38439 * misc/sys/xattr.h: Likewise.
38440 * misc/ttyent.h: Likewise.
38441 * nis/rpcsvc/ypclnt.h: Likewise.
38442 * nss/nss.h: Likewise.
38443 * posix/bits/unistd.h: Likewise.
38444 * posix/fnmatch.h: Likewise.
38445 * posix/glob.h: Likewise.
38446 * posix/sched.h: Likewise.
38447 * posix/spawn.h: Likewise.
38448 * posix/sys/wait.h: Likewise.
38449 * posix/unistd.h: Likewise.
38450 * posix/wordexp.h: Likewise.
38451 * pwd/pwd.h: Likewise.
38452 * resolv/netdb.h: Likewise.
38453 * resource/sys/resource.h: Likewise.
38454 * rt/aio.h: Likewise.
38455 * rt/bits/mqueue2.h: Likewise.
38456 * rt/mqueue.h: Likewise.
38457 * shadow/shadow.h: Likewise.
38458 * signal/signal.h: Likewise.
38459 * socket/send.c: Likewise.
38460 * socket/sendto.c: Likewise.
38461 * socket/sys/socket.h: Likewise.
38462 * stdio-common/printf.h: Likewise.
38463 * stdlib/bits/stdlib.h: Likewise.
38464 * stdlib/fmtmsg.h: Likewise.
38465 * stdlib/monetary.h: Likewise.
38466 * stdlib/stdlib.h: Likewise.
38467 * stdlib/ucontext.h: Likewise.
38468 * streams/stropts.h: Likewise.
38469 * string/argz.h: Likewise.
38470 * string/bits/string2.h: Likewise.
38471 * string/string.h: Likewise.
38472 * string/strings.h: Likewise.
38473 * sunrpc/rpc/auth.h: Likewise.
38474 * sunrpc/rpc/auth_des.h: Likewise.
38475 * sunrpc/rpc/clnt.h: Likewise.
38476 * sunrpc/rpc/netdb.h: Likewise.
38477 * sunrpc/rpc/pmap_clnt.h: Likewise.
38478 * sunrpc/rpc/xdr.h: Likewise.
38479 * sysdeps/generic/inttypes.h: Likewise.
38480 * sysdeps/generic/net/if.h: Likewise.
38481 * sysdeps/generic/sys/swap.h: Likewise.
38482 * sysdeps/gnu/net/if.h: Likewise.
38483 * sysdeps/gnu/utmpx.h: Likewise.
38484 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38485 * sysdeps/i386/i486/bits/string.h: Likewise.
38486 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38487 * sysdeps/s390/bits/string.h: Likewise.
38488 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38489 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38490 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38491 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38492 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38493 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38494 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38495 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38496 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38497 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38498 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38499 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38500 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38501 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38502 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38503 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38504 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38506 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38509 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38510 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38511 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38512 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38513 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38514 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38516 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38517 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38518 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38519 * sysvipc/sys/ipc.h: Likewise.
38520 * sysvipc/sys/msg.h: Likewise.
38521 * sysvipc/sys/sem.h: Likewise.
38522 * sysvipc/sys/shm.h: Likewise.
38523 * termios/termios.h: Likewise.
38524 * time/sys/time.h: Likewise.
38525 * time/time.h: Likewise.
38526 * wcsmbs/bits/wchar2.h: Likewise.
38527 * wcsmbs/uchar.h: Likewise.
38528 * wcsmbs/wchar.h: Likewise.
38529 * wctype/wctype.h: Likewise.
38530
38531 [BZ #13551]
38532 * Makeconfig: Remove all but ELF support including AIX support.
38533 * Makerules: Likewise.
38534 * config.h.in: Likewise.
38535 * config.make.in: Likewise.
38536 * configure: Likewise.
38537 * configure.in: Likewise.
38538 * csu/Makefile: Likewise.
38539 * csu/version.c: Likewise.
38540 * debug/Makefile: Likewise.
38541 * dlfcn/Makefile: Likewise.
38542 * elf/Makefile: Likewise.
38543 * extra-lib.mk: Likewise.
38544 * iconv/Makefile: Likewise.
38545 * include/libc-symbols.h: Likewise.
38546 * include/shlib-compat.h: Likewise.
38547 * resolv/Makefile: Likewise.
38548 * resolv/res_libc.c: Likewise.
38549 * rt/Makefile: Likewise.
38550 * sysdeps/i386/asm-syntax.h: Likewise.
38551 * sysdeps/i386/sysdep.h: Likewise.
38552 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38553 * sysdeps/mach/sysdep.h: Likewise.
38554 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38555 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38556 * sysdeps/s390/asm-syntax.h: Likewise.
38557 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38558 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38559 * sysdeps/sh/sysdep.h: Likewise.
38560 * sysdeps/unix/sparc/sysdep.h: Likewise.
38561 * sysdeps/wordsize-32/divdi3.c: Likewise.
38562 * sysdeps/x86_64/sysdep.h: Likewise.
38563
38564 * argp/Versions: Remove _argp_unlock_xxx.
38565
38566 [BZ #13559]
38567 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38568 * abilist/libBrokenLocale.abilist: Likewise.
38569 * abilist/libanl.abilist: Likewise.
38570 * abilist/libc.abilist: Likewise.
38571 * abilist/libcrypt.abilist: Likewise.
38572 * abilist/libdl.abilist: Likewise.
38573 * abilist/libm.abilist: Likewise.
38574 * abilist/libnsl.abilist: Likewise.
38575 * abilist/libpthread.abilist: Likewise.
38576 * abilist/libresolv.abilist: Likewise.
38577 * abilist/librt.abilist: Likewise.
38578 * abilist/libthread_db.abilist: Likewise.
38579 * abilist/libutil.abilist: Likewise.
38580 * abilist/libnss_db.abilist: New file.
38581
38582 * scripts/abilist.awk: Add support for indirect functions.
38583
38584 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38585
38586 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38587
38588 * shlib-versions: Remove entries for ports architectures.
38589
38590 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38591 files in ports.
38592 * elf/stackguard-macros.h: Remove support for IA-64.
38593 * elf/tst-auditmod1.c: Likewise.
38594 * sysdeps/generic/ldsodefs.h: Likewise.
38595
38596 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38597 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38598 configure files.
38599
38600 [BZ #13552]
38601 * configure.in: Remove --enable-omitfp support.
38602 * FAQ.in: Adjust.
38603 * config.make.in: Likewise.
38604 * Makeconfig: Likewise.
38605 * manual/install.texi: Likewise.
38606
38607 In case anyone cares, the IA-64 architecture could move to ports.
38608 * sysdeps/ia64/*: Removed.
38609 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38610 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38611
38612 [BZ #13555]
38613 * configure.in: Remove entries for unsupported architectures.
38614
38615 [BZ #13533]
38616 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38617 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38618 routines.
38619 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38620 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38621 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38622 fall back to using wcrtomb.
38623 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38624 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38625 renaming.
38626 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38627 * wcsmbs/tst-c16c32-1.c: New file.
38628
38629 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38630 local variable.
38631
38632 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38633
38634 * elf/tst-unique3.cc: Add explicit declaration of gets.
38635 * elf/tst-unique3lib.cc: Likewise.
38636 * elf/tst-unique3lib2.cc: Likewise.
38637 * elf/tst-unique4.cc: Likewise.
38638
38639 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38640
38641 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38642
38643 [BZ #13566]
38644 * assert/assert.h (static_assert): Don't define for C++.
38645 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38646 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38647
38648 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38649
38650 * iconv/loop.c (single loop): Fix assertion in storing of
38651 remaining bytes.
38652
38653 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38654
38655 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38656
38657 * posix/getconf.c: Update copyright year.
38658 * nss/getent.c: Likewise.
38659 * nss/makedb.c: Likewise.
38660 * iconv/iconvconfig.c: Likewise.
38661 * iconv/iconv_prog.c: Likewise.
38662 * elf/ldconfig.c: Likewise.
38663 * elf/pldd.c: Likewise.
38664 * elf/sotruss.ksh: Likewise.
38665 * catgets/gencat.c: Likewise.
38666 * csu/version.c: Likewise.
38667 * elf/ldd.bash.in: Likewise.
38668 * elf/sprof.c (print_version): Likewise.
38669 * locale/programs/locale.c: Likewise.
38670 * locale/programs/localedef.c: Likewise.
38671 * login/programs/pt_chown.c: Likewise.
38672 * nscd/nscd.c (print_version): Likewise.
38673 * debug/xtrace.sh: Likewise.
38674 * malloc/memusage.sh: Likewise.
38675 * malloc/mtrace.pl: Likewise.
38676 * debug/catchsegv.sh: Likewise.
38677
38678 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38679
38680 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38681 pure attribute.
38682
38683 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38684
38685 [BZ #13533]
38686 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38687 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38688 transformations.
38689 * iconv/gconv_int.h: Likewise.
38690 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38691 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38692 from libc for GLIBC_2.16.
38693 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38694 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38695 * wcsmbs/uchar.h: Really define mbstate_t.
38696 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38697 * wcsmbs/c16rtomb.c: New file.
38698 * wcsmbs/mbrtoc16.c: New file.
38699 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38700 for C/POSIX locale.
38701 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38702 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38703
38704 * wcsmbs/wchar.h: Add missing __restrict.
38705
38706 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38707
38708 [BZ #13532]
38709 * time/Makefile (routines): Add timespec_get.
38710 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38711 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38712 timespec for ISO C11.
38713 * time/timespec_get.c: New file.
38714 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38715 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38716
38717 [BZ #13531]
38718 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38719 * stdlib/stdlib.h: Declare aligned_alloc.
38720 * Versions.def: Add GLIBC_2.16 for libc.
38721 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38722
38723 [BZ 13527]
38724 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38725 ISO C11.
38726
38727 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38728 code.
38729
38730 [BZ #13528]
38731 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38732
38733 [BZ #13529]
38734 * assert/assert.h (static_assert): Define.
38735
38736 * version.h: Update for 2.16 development version.
38737
38738 [BZ #13526]
38739 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38740 _ISOC11_SOURCE.
38741
38742 * version.h (RELEASE): Bump for 2.15 release.
38743 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38744
38745 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38746 Patch by Marek Polacek <mpolacek@redhat.com>.
38747
38748 * bits/byteswap.h: Protect long long constants with __extension__.
38749 * sysdeps/i386/bits/byteswap.h: Likewise.
38750 * sysdeps/ia64/bits/byteswap.h: Likewise.
38751 * sysdeps/s390/bits/byteswap.h: Likewise.
38752 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38753
38754 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38755
38756 [BZ #13540]
38757 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38758 destination buffer.
38759 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38760
38761 2011-12-23 Marek Polacek <polacek@redhat.com>
38762
38763 * elf/dl-addr.c (determine_info): Add inline keyword.
38764 * elf/tst-auditmod4b.c (check_avx): Likewise.
38765 * elf/tst-auditmod6b.c (check_avx): Likewise.
38766 * elf/tst-auditmod6c.c (check_avx): Likewise.
38767 * elf/tst-auditmod7b.c (check_avx): Likewise.
38768
38769 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38770
38771 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38772 !__SSE_MATH__.
38773
38774 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38775
38776 [BZ #13540]
38777 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38778 processing for last bytes.
38779
38780 2011-08-06 Bruno Haible <bruno@clisp.org>
38781
38782 [BZ #13061]
38783 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38784 U+0385, not to U+1FEE.
38785
38786 [BZ #13062]
38787 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38788 entry for U+00A5 U+0301.
38789
38790 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38791
38792 [BZ #13166]
38793 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38794 buffer for the output is too small.
38795
38796 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38797 optimization.
38798
38799 [BZ #13185]
38800 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38801 SSE flags if possible.
38802
38803 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38804
38805 [BZ #13540]
38806 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38807 processing for last bytes.
38808
38809 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38810
38811 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38812 (syscall-list-default-options, syscall-list-default-condition)
38813 (syscall-list-includes): Define.
38814 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38815 list of ABIs and options and #if conditions for each ABI. Do not
38816 handle common syscalls between ABIs specially.
38817 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38818 Remove.
38819 (syscall-list-variants, syscall-list-32bit-options)
38820 (syscall-list-32bit-condition, syscall-list-64bit-options)
38821 (syscall-list-64bit-condition): Define.
38822 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38823 (syscall-list-variants, syscall-list-32bit-options)
38824 (syscall-list-32bit-condition, syscall-list-64bit-options)
38825 (syscall-list-64bit-condition): Define.
38826 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38827 Remove.
38828 (syscall-list-variants, syscall-list-32bit-options)
38829 (syscall-list-32bit-condition, syscall-list-64bit-options)
38830 (syscall-list-64bit-condition): Define.
38831 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38832 Remove.
38833 (syscall-list-variants, syscall-list-32bit-options)
38834 (syscall-list-32bit-condition, syscall-list-64bit-options)
38835 (syscall-list-64bit-condition): Define.
38836
38837 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38838
38839 * locale/iso-639.def: Add brx entry.
38840
38841 [BZ #13328]
38842 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38843 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38844
38845 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38846 __feraiseexcept_renamed.
38847
38848 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38849
38850 [BZ #13538]
38851 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38852 EPOLLET with unsigned values.
38853 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38854 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38855
38856 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38857 to large cancellation.
38858 * math/s_cacoshf.c: Likewise.
38859 * math/s_cacoshl.c: Likewise.
38860
38861 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38862
38863 [BZ #13305]
38864 [BZ #12786]
38865 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38866 * math/s_cacoshf.c: Likewise.
38867 * math/s_cacoshl.c: Likewise.
38868
38869 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38870
38871 [BZ #13439]
38872 * iconv/gconv.h: Define __GCONV_SWAP.
38873 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38874 * iconvdata/utf-16.c: Likewise.
38875 * iconvdata/utf-32.c: Likewise.
38876
38877 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38878
38879 [BZ #13524]
38880 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38881 numerator after shifting it by one limb.
38882
38883 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38884
38885 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38886 under [__USE_EXTERN_INLINES].
38887
38888 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38889
38890 [BZ #13446]
38891 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38892
38893 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38894
38895 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38896 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38897 optimized code.
38898 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38899 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38900 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38901 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38902 for strncasecmp/strncasecmp_l compilation.
38903 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38904 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38905
38906 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38907
38908 [BZ #13484]
38909 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38910 of __asm__.
38911
38912 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38913
38914 [BZ #13506]
38915 * time/tzfile.c (__tzfile_read): Check values from file header.
38916
38917 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38918
38919 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38920 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38921 * powerpc/powerpc32/dl-start.S: Likewise.
38922 * powerpc/powerpc32/elf/start.S: Likewise.
38923 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38924 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38925 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38926 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38927 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38928 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38929 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38930 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38931 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38932 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38933 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38934 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38935 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38936 * powerpc/powerpc32/memset.S: Likewise.
38937 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38938 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38939 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38940 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38941 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38942 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38943 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38944 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38945 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38946 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38947 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38948 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38949 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38950
38951 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38952
38953 * math/libm-test.inc: Added more nearbyint tests.
38954 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38955 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38957 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38958
38959 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38960
38961 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38962 FD_CLOEXEC.
38963
38964 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38965
38966 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38967 Add wcscpy-ssse3 wcscpy-c.
38968 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38969 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38970 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38971 * sysdeps/x86_64/wcschr.S: New file.
38972 * sysdeps/x86_64/wcsrchr.S: New file.
38973 * string/test-strcmp.c: Remove checking of wcscmp function for
38974 wrong alignments.
38975 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38976 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38977 wcsrchr-sse2 wcsrchr-c.
38978 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38979 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38980 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38981 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38982 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38983 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38984 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38985 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38986 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38987 * wcsmbc/wcschr.c (WCSCHR): New macro.
38988
38989 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38990
38991 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38992 * wcsmbs/test-wcsrchr.c: New file.
38993 * string/test-strrchr.c: Add wcsrchr support.
38994 (WIDE): New macro.
38995 * wcsmbs/test-wcscpy.c: New file.
38996 * string/test-strcpy.c: Add wcscpy support.
38997 (WIDE): New macro.
38998
38999 2011-12-10 Ulrich Drepper <drepper@gmail.com>
39000
39001 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39002 the inner loop.
39003
39004 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39005
39006 [BZ #13472]
39007 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39008
39009 2011-12-04 Ulrich Drepper <drepper@gmail.com>
39010
39011 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39012 Minor optimizations.
39013
39014 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39015 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39016 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39017
39018 2011-12-03 Ulrich Drepper <drepper@gmail.com>
39019
39020 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39021 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39022 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39023 for gcc to avoid warnings.
39024 * inet/Makefile (tests): Add tst-checks.
39025 * inet/tst-checks.c: New file.
39026
39027 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39028 warning.
39029
39030 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39031 __wmemcmp_sse2.
39032
39033 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39034 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39035
39036 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39037
39038 2011-12-02 Ulrich Drepper <drepper@gmail.com>
39039
39040 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39041 problem.
39042
39043 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39044
39045 2011-11-29 Joseph Myers <joseph@codesourcery.com>
39046
39047 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39048 conditional on GCC version.
39049 (__arch_compare_and_exchange_val_8_acq)
39050 (__arch_compare_and_exchange_val_16_acq)
39051 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39052 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39053 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39054
39055 2011-12-02 Joseph Myers <joseph@codesourcery.com>
39056
39057 * sysdeps/sh/backtrace.c: New file.
39058
39059 2011-12-02 Andreas Schwab <schwab@redhat.com>
39060
39061 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39062 parenthesis.
39063
39064 2011-12-01 Andreas Schwab <schwab@redhat.com>
39065
39066 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39067 falling back to utime.
39068
39069 2011-11-30 Andreas Schwab <schwab@redhat.com>
39070
39071 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39072 expectations for float.
39073
39074 2011-11-29 Andreas Schwab <schwab@redhat.com>
39075
39076 * locale/weight.h (findidx): Add parameter len.
39077 * locale/weightwc.h (findidx): Likewise.
39078 * posix/fnmatch_loop.c (FCT): Adjust caller.
39079 * posix/regcomp.c (build_equiv_class): Likewise.
39080 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39081 * posix/regexec.c (check_node_accept_bytes): Likewise.
39082 * string/strcoll_l.c (STRCOLL): Likewise.
39083 * string/strxfrm_l.c (STRXFRM): Likewise.
39084
39085 2011-11-17 Ulrich Drepper <drepper@gmail.com>
39086
39087 * Makefile.in: Remove CVSOPT handling.
39088 * configure.in: Remove use of AC_REVISION.
39089 * iconvdata/Makefile (distribute): No need to filter out CVS.
39090 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39091 handling.
39092
39093 2011-11-16 Andreas Schwab <schwab@redhat.com>
39094
39095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39096 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39097 [USE_AS_STRNCASECMP_L]: Likewise.
39098 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39099 NO_TLS_DIRECT_SEG_REFS.
39100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39101 Fix argument offsets for non-PIC.
39102 [USE_AS_STRNCASECMP_L]: Likewise.
39103 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39104 NO_TLS_DIRECT_SEG_REFS.
39105
39106 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39107
39108 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39109 O_CLOEXEC.
39110 * locale/loadlocale.c (_nl_load_locale): Likewise.
39111
39112 2011-11-15 Andreas Schwab <schwab@redhat.com>
39113
39114 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39115 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39116 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39117 (SYSCALL_GETTIME): Set errno on error.
39118
39119 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39120 count references to noai6ai_cached.
39121
39122 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39123
39124 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39125
39126 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39127 FD_CLOEXEC for /proc/self/maps.
39128
39129 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39130 FD_CLOEXEC for /proc/meminfo.
39131
39132 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39133 gai.conf.
39134
39135 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39136 FD_CLOEXEC for given file.
39137
39138 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39139
39140 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39141 FD_CLOEXEC for /etc/hosts.
39142 (_gethtent): Likewise.
39143
39144 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39145
39146 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39147 cancellation and set FD_CLOEXEC for /etc/netgroup.
39148
39149 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39150 reading /etc/publickey.
39151
39152 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39153 allow cancellation when reading /etc/group.
39154
39155 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39156 cancellation.
39157 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39158
39159 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39160 when using data file.
39161
39162 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39163
39164 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39165 (write_nis_obj): Use "c" and "e" in fopen.
39166
39167 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39168
39169 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39170
39171 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39172
39173 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39174
39175 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39176 locale.alias.
39177
39178 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39179
39180 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39181
39182 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39183
39184 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39185 file parsing and set FD_CLOEXEC.
39186
39187 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39188
39189 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39190
39191 2011-11-14 Andreas Schwab <schwab@redhat.com>
39192
39193 * malloc/arena.c (arena_get2): Don't call reused_arena when
39194 _int_new_arena failed.
39195
39196 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39197
39198 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39199 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39200 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39201 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39202 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39203 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39204 to compile strcasecmp and strncasecmp.
39205 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39206 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39207
39208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39209
39210 2011-11-13 Ulrich Drepper <drepper@gmail.com>
39211
39212 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39213 locale-defines.sym to gen-as-const-headers.
39214 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39215 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39217 to compile strcasecmp and strncasecmp.
39218 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39219 strcasecmp_l and strncasecmp_l.
39220 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39221 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39222 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39223 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39224 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39225 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39226 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39227 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39228 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39229 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39230 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39231
39232 2011-11-12 Ulrich Drepper <drepper@gmail.com>
39233
39234 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39235 result of SYSDEP_GETTIME_CPU to retval.
39236 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39237 parameter list to macro. Remove trailing semicolon. Adjust users.
39238
39239 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39240 variable.
39241
39242 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39243 mantissa words.
39244 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39245
39246 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39247 from unused variable.
39248
39249 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39250 DWARF definitions.
39251 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39252 for assembling.
39253
39254 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39255 over namespaces.
39256
39257 * sunrpc/rpc_prot.c (rejected): Fix case value.
39258
39259 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39260 unsigned long long int to avoid warnings in shift.
39261
39262 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39263 of use of trans.
39264 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39265 variable tmp.
39266
39267 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39268 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39269 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39270
39271 * nis/nis_table.c (nis_list): Use variable of correct type for
39272 result of __follow_path call.
39273
39274 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39275
39276 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39277 of math functions ceil, trunc, floor, round, and sqrt, when
39278 avaliable on the platform.
39279 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39280 name clash.
39281 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39282 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39283 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39284
39285 2011-10-30 Marek Polacek <mpolacek@redhat.com>
39286
39287 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39288 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39289
39290 2011-11-11 Roland McGrath <roland@hack.frob.com>
39291
39292 * include/unistd.h: Fix __readlink return type.
39293 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39294
39295 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39296
39297 * stdlib/ucontext.h: Undo last change for makecontext.
39298
39299 2011-11-11 Andreas Schwab <schwab@redhat.com>
39300
39301 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39302
39303 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39304 * setjmp/setjmp.h: Mark functions as non-leaf.
39305 * setjmp/bits/setjmp2.h: Likewise.
39306 * stdlib/ucontext.h: Likewise.
39307
39308 2011-11-10 Andreas Schwab <schwab@redhat.com>
39309
39310 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39311 (reused_arena): Don't check arena limit.
39312 (arena_get2): Atomically check arena limit.
39313
39314 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39315
39316 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39317 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39318
39319 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39320 instructions.
39321
39322 2011-11-07 Andreas Schwab <schwab@redhat.com>
39323
39324 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39325 handler when locking.
39326
39327 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39328 Fix size of allocated buffer.
39329
39330 2011-11-04 Andreas Schwab <schwab@redhat.com>
39331
39332 [BZ #10103]
39333 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39334 declarations for long double functions.
39335 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39336
39337 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39338
39339 2011-11-03 Andreas Schwab <schwab@redhat.com>
39340
39341 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39342 installed.
39343
39344 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39345 is disabled.
39346
39347 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39348
39349 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39350
39351 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39352
39353 * include/alloca.h (stackinfo_alloca_round): Define.
39354 (extend_alloca): Use it.
39355 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39356 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39357 here.
39358
39359 * scripts/check-local-headers.sh: Ignore libaudit.h.
39360
39361 * nscd/Makefile (extra-objs): Make recursively expanded.
39362
39363 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39364
39365 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39367
39368 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39369 * posix/tst-rfc3484-2.c: Likewise.
39370 * posix/tst-rfc3484-3.c: Likewise.
39371
39372 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39373 process_vm_writev.
39374 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39375 process_vm_writev.
39376 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39377 process_vm_writev from libc using GLIBC_2.15 version.
39378
39379 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39380
39381 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39382
39383 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39384 stack usage.
39385
39386 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39387
39388 [BZ #13367]
39389 * nss/getent.c (initgroups_keys): Show error message in case no group
39390 names are given.
39391
39392 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39393 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39394 __bump_nl_timestamp.
39395 * nscd/connections (nscd_init): When host database is served open
39396 netlink socket and request notification about configuration changes.
39397 (main_loop_poll): Track netlink file descriptor and bump timestamp
39398 in case data becomes available.
39399 (main_loop_epoll): Likewise.
39400 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39401 (database_pers_head): Add extra_data fileds.
39402 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39403 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39404 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39405 Adjust caller.
39406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39407 in6ai data, call __free_in6ai.
39408 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39409 Add -DHAVE_NETLINK.
39410 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39411 interface information. Reuse previous data if netlink timestamp
39412 is not changed.
39413 (__bump_nl_timestamp): New function.
39414 (__free_in6ai): New function.
39415
39416 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39417
39418 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39419 close_not_cancel_no_status here.
39420 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39421
39422 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39423
39424 [BZ #13276]
39425 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39426 return value.
39427
39428 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39429 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39430 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39431
39432 2011-07-03 Andreas Jaeger <aj@suse.de>
39433
39434 [BZ #10709]
39435 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39436 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39437 * math/libm-test.inc (sin_test): Add test case.
39438
39439 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39440
39441 [BZ #13337]
39442 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39443 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39444
39445 * elf/chroot_canon.c (chroot_canon): Cleanups.
39446
39447 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39448
39449 [BZ #13335]
39450 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39451 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39452
39453 * string/test-strchr.c: Make usable for strchrnul testing.
39454 * string/test-strchrnul.c: New file.
39455 * string/Makefile (strop-tests): Add strchrnul.
39456
39457 * po/it.po: Update from translation team.
39458 * po/es.po: Likewise.
39459
39460 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39461
39462 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39463 the three constants needed as parameters. Drop the others.
39464 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39465 __m128i_strloadu_tolower.
39466 Create and initialize variable zero and use it in all the places
39467 where _mm_setzero_si128 was used.
39468
39469 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39470 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39471 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39472 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39473 anymore.
39474 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39475 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39476 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39477 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39478 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39479 __mpranred, __mptan.
39480 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39481 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39482 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39483 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39484 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39485 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39486 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39487 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39488 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39489
39490 2011-10-28 Andreas Schwab <schwab@redhat.com>
39491
39492 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39493 redefine if SHARED.
39494 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39495
39496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39497 wide char related routines to wcsmbs subdir.
39498
39499 2011-10-27 Andreas Schwab <schwab@redhat.com>
39500
39501 [BZ #13344]
39502 * misc/sys/cdefs.h (__THROWNL): Define.
39503 * posix/unistd.h: Use __THREADNL instead of __THREAD
39504 for memory synchronization functions.
39505
39506 2011-10-26 Roland McGrath <roland@hack.frob.com>
39507
39508 [BZ #13349]
39509 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39510 doesn't exist.
39511 * manual/stdio.texi (Obstack Streams): Node removed.
39512
39513 2011-10-26 Andreas Schwab <schwab@redhat.com>
39514
39515 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39516 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39517 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39518
39519 * math/math_private.h (math_force_eval): Allow non-addressable
39520 arguments.
39521 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39522
39523 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39524
39525 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39526 file is not needed.
39527
39528 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39529 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39530 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39531 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39532 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39533 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39534 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39535 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39536 Add AVX variants.
39537 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39538 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39539 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39540 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39541 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39542 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39543 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39544 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39545 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39546 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39547 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39548 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39550 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39551 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39552 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39553 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39554 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39555 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39556
39557 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39558 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39559
39560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39561 place. Use VEX encoding when compiling for AVX.
39562
39563 2011-10-25 Andreas Schwab <schwab@redhat.com>
39564
39565 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39566 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39567
39568 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39569
39570 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39571
39572 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39573 useless if() expression.
39574 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39575 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39576 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39577 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39578 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39579 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39580 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39582 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39583 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39584 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39585 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39586 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39587 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39588 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39589 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39590 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39592 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39593
39594 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39595
39596 2011-10-25 Andreas Schwab <schwab@redhat.com>
39597
39598 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39599 condition.
39600 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39601
39602 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39603
39604 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39605 .text section. Avoid duplicate constants.
39606 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39607 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39610 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39614 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39615 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39616 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39617 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39618 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39619 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39620 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39621 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39622 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39623 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39624 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39626 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39627 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39628 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39629 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39630 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39631 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39632 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39633 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39634 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39635 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39636 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39637 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39638 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39639 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39640 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39641 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39642 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39643 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39644 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39645 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39646 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39647 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39648 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39649 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39650 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39651
39652 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39653
39654 * sysdeps/x86_64/dla.h: Move to ...
39655 * sysdeps/x86_64/fpu/dla.h: ...here.
39656 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39657 situations. Use __builtin_fma only for gcc 4.6 and up.
39658
39659 * config.make.in: Add have-mfma4 entry.
39660 * configure.in: Substitute libc_cv_cc_fma4.
39661 * math/Makefile (dbl-only-routines): Add sincostab.
39662 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39663 Use __sincostab not sincos.
39664 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39665 name is a macro.
39666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39670 using __copysign.
39671 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39672 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39673 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39674 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39675 and __inv.
39676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39677 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39678 __copysign.
39679 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39680 define aliases when function name is a macro.
39681 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39682 sysdeps/ieee754/dbl-64/sincos.tbl.
39683 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39684 fma4-enabled routines.
39685 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39686 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39687 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39688 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39689 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39690 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39691 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39692 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39693 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39694 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39695 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39696 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39697 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39698 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39699 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39700 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39701 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39702 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39703 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39704 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39705 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39706 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39708 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39709 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39710 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39711 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39712 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39713 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39714 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39715
39716 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39717 rename.
39718 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39724 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39726
39727 2011-10-24 Andreas Schwab <schwab@redhat.com>
39728
39729 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39730
39731 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39732
39733 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39734
39735 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39736 prediction.
39737 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39738
39739 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39740 Remove unused variable magic_bits.
39741 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39742
39743 * string/strnlen.c: Define and use STRNLEN macro.
39744 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39745 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39746 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39747 * wcsmbs/wcslen.c: Define and use WCSLEN.
39748 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39749 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39750 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39751 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39752 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39753 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39754 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39755
39756 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39757
39758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39759 strnlen-sse2-no-bsf.
39760 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39762 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39763 Add strnlen support.
39764 (USE_AS_STRNLEN): New macro.
39765 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39766 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39767 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39768 * sysdeps/x86_64/wcslen.S: New file.
39769
39770 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39771
39772 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39773 XMM-moves are used for copying on small sizes.
39774
39775 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39776
39777 * wcsmbs/Makefile (strop-tests): Add wcschr.
39778 * wcsmbs/test-wcschr.c: New file.
39779 * string/test-strchr.c: Update.
39780 Add wcschr support.
39781 (WIDE): New macro.
39782
39783 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39784
39785 * wcsmbs/Makefile (strop-tests): Add wcslen.
39786 * wcsmbs/test-wcslen.c: New file.
39787 * string/test-strlen.c: Update.
39788 Add wcslen support.
39789 (WIDE): New macro.
39790
39791 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39792
39793 * po/it.po: Update from translation team.
39794
39795 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39796
39797 * sysdeps/x86_64/wcscmp.S: Update.
39798 Fix wrong comparison semantics.
39799 wcscmp shall use signed comparison not unsigned.
39800 Don't use substraction to avoid overflow bug.
39801 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39802 * wcsmbc/wcscmp.c: Likewise.
39803 * string/test-strcmp.c: Likewise.
39804 Add new tests to check cases with negative values.
39805
39806 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39807
39808 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39809 * sysdeps/x86_64/dla.h: ...here. New file.
39810 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39811 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39817 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39819
39820 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39821
39822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39823 __ynl_finite aliases.
39824
39825 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39826
39827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39828
39829 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39830 define DLA_FMA.
39831 [DLA_FMA] (EMULV): Use DLA_FMA.
39832 [DLA_FMA] (MUL12): Use EMULV.
39833 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39834 that are not needed.
39835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39839 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39840 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39841 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39842
39843 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39844
39845 * math/s_nan.c: Undef __nan.
39846 * math/s_nanf.c: Undef __nanf.
39847 * math/s_nanl.c: Undef __nanl.
39848 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39849 "math_private.h".
39850
39851 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39852
39853 * math/s_catan.c: Add branch predictions.
39854 * math/s_catanf.c: Likewise.
39855 * math/s_catanh.c: Likewise.
39856 * math/s_catanhf.c: Likewise.
39857 * math/s_catanhl.c: Likewise.
39858 * math/s_catanl.c: Likewise.
39859 * math/s_cexp.c: Likewise.
39860 * math/s_cexpf.c: Likewise.
39861 * math/s_cexpl.c: Likewise.
39862 * math/s_clog.c: Likewise.
39863 * math/s_clog10.c: Likewise.
39864 * math/s_clog10f.c: Likewise.
39865 * math/s_clog10l.c: Likewise.
39866 * math/s_clogf.c: Likewise.
39867 * math/s_clogl.c: Likewise.
39868 * math/s_csqrt.c: Likewise.
39869 * math/s_csqrtf.c: Likewise.
39870 * math/s_csqrtl.c: Likewise.
39871 * math/s_ctanf.c: Likewise.
39872 * math/s_ctanh.c: Likewise.
39873 * math/s_ctanhf.c: Likewise.
39874 * math/s_ctanhl.c: Likewise.
39875 * math/s_ctanl.c: Likewise.
39876
39877 * math/math_private.h: Define __nan, __nanf, __nanl.
39878 * math/s_cacosh.c: Include <math_private.h>.
39879 * math/s_cacoshl.c: Likewise.
39880 * math/s_casinh.c: Likewise.
39881 * math/s_casinhf.c: Likewise.
39882 * math/s_casinhl.c: Likewise.
39883 * math/s_ccos.c: Rely entire on ccosh.
39884 * math/s_ccosf.c: Rely entire on ccoshf.
39885 * math/s_ccosl.c: Rely entirely on ccoshl.
39886 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39887 Remove tests for FE_INVALID.
39888 * math/s_ccoshf.c: Likewise.
39889 * math/s_ccoshl.c: Likewise.
39890 * math/s_csin.c: Likewise.
39891 * math/s_csinf.c: Likewise.
39892 * math/s_csinh.c Likewise.
39893 * math/s_csinhf.c: Likewise.
39894 * math/s_csinhl.c: Likewise.
39895 * math/s_csinl.c: Likewise.
39896 * math/s_ctan.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39898 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39899 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39900
39901 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39902
39903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39904 compilation problems.
39905
39906 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39907 __builtin_expect.
39908
39909 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39910
39911 * sysdeps/i386/configure.in: Test for -mfma4 option.
39912 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39913 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39914 COMMON_CPUID_INDEX_80000001.
39915 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39916 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39917 use it if FMA3 is not supported.
39918 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39919
39920 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39921 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39922
39923 2011-10-20 Andreas Schwab <schwab@redhat.com>
39924
39925 [BZ #12892]
39926 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39927 it would create a cycle with a link time dependency.
39928
39929 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39930
39931 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39932 instruction.
39933 * string/Makefile (strop-tests): Add rawmemchr.
39934 * string/test-rawmemchr.c: New file.
39935
39936 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39937 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39938 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39939 when compiling str{,n}casecmp and when AVX is available. Hook up
39940 new optimized code in initializers.
39941
39942 2011-10-19 Andreas Schwab <schwab@redhat.com>
39943
39944 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39945 __feraiseexcept instead of feraiseexcept.
39946
39947 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39948
39949 * math/math_private.h: Define defaults for libc_fetestexcept and
39950 libc_feupdateenv.
39951 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39952 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39953 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39954 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39955 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39956 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39957 libc_fetestexcept and libc_feupdateenv.
39958
39959 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39960 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39961 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39962 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39963 libc_feholdexcept_setround.
39964
39965 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39966 Add s_nearbyint-c and s_nearbyintf-c.
39967 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39968 nearbyintf inlines.
39969 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39970 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39971 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39972 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39973
39974 * math/math_private.h: Define defaults for libc_fegetround,
39975 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39976 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39977 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39978 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39979 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39980 standard functions.
39981 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39982 Remove comments and hacks for old compiler versions.
39983 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39984 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39985 libc_feholdexceptl.
39986
39987 2011-10-18 Andreas Schwab <schwab@redhat.com>
39988
39989 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39990 (__feraiseexcept_renamed): Add __NTH.
39991 (feraiseexcept): Add __NTH. Rename local variables to fix
39992 namespace violations.
39993
39994 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39995
39996 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39997
39998 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39999
40000 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40001 recently added interfaces.
40002 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40003
40004 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40005 about macro parameter expansion.
40006
40007 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40008 __NO_MATH_INLINES is defined. Cleanups.
40009
40010 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40011 and __floorf is target has SSE4.1.
40012 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40013 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40014 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40015 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40016
40017 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40018 name.
40019 (floorf): Likewise.
40020
40021 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40022
40023 2011-10-17 Andreas Schwab <schwab@redhat.com>
40024
40025 * misc/sys/cdefs.h: Fix last change.
40026
40027 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40028 database lookup.
40029
40030 2011-10-16 Ulrich Drepper <drepper@gmail.com>
40031
40032 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40033
40034 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40035 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40040 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40041 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40042 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40043 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40044 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40045 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40046 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40047 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40048 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40049 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40050 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40051 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40052 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40053 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40054 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40055 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40056
40057 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40058 ceil, ceilf, floor, floorf.
40059
40060 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40061 Perform IRELATIVE relocations last.
40062
40063 * elf/do-rel.h: Add another parameter nrelative, replacing the
40064 local variable with the same name. Change name of the function
40065 to end in Rel or Rela (uppercase).
40066 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40067 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40068 elf_dynamic_do_##reloc function.
40069
40070 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40071
40072 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40073 is sufficient, at least on modern CPUs.
40074
40075 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40076
40077 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40078 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40079
40080 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40081 __expl_finite.
40082 * math/bits/math-finite.h: Add entries for exp.
40083 * math/e_expl.c: Add __*_finite alias.
40084 * sysdeps/i386/fpu/e_exp.S: Likewise.
40085 * sysdeps/i386/fpu/e_expf.S: Likewise.
40086 * sysdeps/i386/fpu/e_expl.c: Likewise.
40087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40088 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40091 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40092 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40093 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40094
40095 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40096 is sufficient, at least on modern CPUs.
40097
40098 * ctype/ctype-info.c (__ctype_init): Define.
40099 * include/ctype.h (__ctype_init): Declare.
40100 (__ctype_b_loc): The variable is always initialized.
40101 (__ctype_toupper_loc): Likewise.
40102 (__ctype_tolower_loc): Likewise.
40103 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40104 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40105
40106 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40107
40108 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40109
40110 * configure.in: Also look in $cxxmachine/include for C++ system
40111 headers.
40112
40113 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40114
40115 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40116 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40117 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40118 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40119 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40120 (USE_AS_WMEMCMP): New macro.
40121 Fixing indents.
40122 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40123 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40124 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40125 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40126 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40127 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40128 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40129 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40130 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40131 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40132 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40133 (USE_AS_WMEMCMP): New macro.
40134 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40135 * sysdeps/string/test-memcmp.c: Update.
40136 Fix simple_wmemcmp.
40137 Add new tests.
40138 * wcsmbs/wmemcmp.c: Update.
40139 (WMEMCMP): New macro.
40140 Fix overflow bug.
40141
40142 2011-10-12 Andreas Jaeger <aj@suse.de>
40143
40144 [BZ #13268]
40145 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40146
40147 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40148
40149 * libio/iofwide.c (do_length): Avoid warning.
40150
40151 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40152
40153 2011-10-14 Ulrich Drepper <drepper@gmail.com>
40154
40155 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40156
40157 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40158 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40159 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40160 * sysdeps/i386/i686/fpu/e_log.S: New file.
40161 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40162 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40163
40164 * ctype/ctype.h: Add support for inlined isXXX functions when
40165 compiling C++ code.
40166
40167 2011-10-14 Andreas Schwab <schwab@redhat.com>
40168
40169 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40170
40171 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40172
40173 2011-10-13 Roland McGrath <roland@hack.frob.com>
40174
40175 [BZ #13291]
40176 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40177
40178 2011-10-13 Andreas Schwab <schwab@redhat.com>
40179
40180 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40181 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40182 feraiseexcept.
40183
40184 * sysdeps/x86_64/memrchr.S: Check for zero size.
40185
40186 * string/stratcliff.c: Add memrchr tests.
40187
40188 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40189
40190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40191 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40192 rawmemchr-sse2 rawmemchr-sse2-bsf.
40193 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40194 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40195 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40196 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40197 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40198 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40199 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40200 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40201 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40202 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40203 * string/memrchr.c (MEMRCHR): New macro.
40204
40205 2011-10-12 Ulrich Drepper <drepper@gmail.com>
40206
40207 Add integration with gcc's -ffinite-math-only and optimize wrapper
40208 functions in libm.
40209 * Versions.def: Define GLIBC_2.15 version for libm.
40210 * math/Makefile (headers): Add bits/math-finite.h.
40211 * math/bits/math-finite.h: New file.
40212 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40213 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40214 * math/e_acoshl.c: Add __*_finite alias.
40215 * math/e_acosl.c: Likewise.
40216 * math/e_asinl.c: Likewise.
40217 * math/e_atan2l.c: Likewise.
40218 * math/e_atanhl.c: Likewise.
40219 * math/e_coshl.c: Likewise.
40220 * math/e_exp10.c: Likewise.
40221 * math/e_exp10f.c: Likewise.
40222 * math/e_exp10l.c: Likewise.
40223 * math/e_exp2l.c: Likewise.
40224 * math/e_fmodl.c: Likewise.
40225 * math/e_gammal_r.c: Likewise.
40226 * math/e_hypotl.c: Likewise.
40227 * math/e_j0l.c: Likewise.
40228 * math/e_j1l.c: Likewise.
40229 * math/e_jnl.c: Likewise.
40230 * math/e_lgammal_r.c: Likewise.
40231 * math/e_log10l.c: Likewise.
40232 * math/e_log2l.c: Likewise.
40233 * math/e_logl.c: Likewise.
40234 * math/e_powl.c: Likewise.
40235 * math/e_sinhl.c: Likewise.
40236 * math/e_sqrtl.c: Likewise.
40237 * math/e_scalb.c: Completely rewritten and optimized.
40238 * math/e_scalbf.c: Likewise.
40239 * math/e_scalbl.c: Likewise.
40240 * math/w_acos.c: Likewise.
40241 * math/w_acosf.c: Likewise.
40242 * math/w_acosl.c: Likewise.
40243 * math/w_acosh.c: Likewise.
40244 * math/w_acoshf.c: Likewise.
40245 * math/w_acoshl.c: Likewise.
40246 * math/w_asin.c: Likewise.
40247 * math/w_asinf.c: Likewise.
40248 * math/w_asinl.c: Likewise.
40249 * math/w_atan2.c: Likewise.
40250 * math/w_atan2f.c: Likewise.
40251 * math/w_atan2l.c: Likewise.
40252 * math/w_atanh.c: Likewise.
40253 * math/w_atanhf.c: Likewise.
40254 * math/w_atanhl.c: Likewise.
40255 * math/w_exp10.c: Likewise.
40256 * math/w_exp10f.c: Likewise.
40257 * math/w_exp10l.c: Likewise.
40258 * math/w_fmod.c: Likewise.
40259 * math/w_fmodf.c: Likewise.
40260 * math/w_fmodl.c: Likewise.
40261 * math/w_j0.c: Likewise.
40262 * math/w_j0f.c: Likewise.
40263 * math/w_j0l.c: Likewise.
40264 * math/w_j1.c: Likewise.
40265 * math/w_j1f.c: Likewise.
40266 * math/w_j1l.c: Likewise.
40267 * math/w_jn.c: Likewise.
40268 * math/w_jnf.c: Likewise.
40269 * math/w_log.c: Likewise.
40270 * math/w_logf.c: Likewise.
40271 * math/w_logl.c: Likewise.
40272 * math/w_log10.c: Likewise.
40273 * math/w_log10f.c: Likewise.
40274 * math/w_log10l.c: Likewise.
40275 * math/w_log2.c: Likewise.
40276 * math/w_log2f.c: Likewise.
40277 * math/w_log2l.c: Likewise.
40278 * math/w_pow.c: Likewise.
40279 * math/w_powf.c: Likewise.
40280 * math/w_powl.c: Likewise.
40281 * math/w_remainder.c: Likewise.
40282 * math/w_remainderf.c: Likewise.
40283 * math/w_remainderl.c: Likewise.
40284 * math/w_scalb.c: Likewise.
40285 * math/w_scalbf.c: Likewise.
40286 * math/w_scalbl.c: Likewise.
40287 * math/w_sqrt.c: Likewise.
40288 * math/w_sqrtf.c: Likewise.
40289 * math/w_sqrtl.c: Likewise.
40290 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40291 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40292 used.
40293 * math/math_private.h: Declare __kernel_standard_f.
40294 * math/w_cosh.c: Remove cruft and optimize a bit.
40295 * math/w_coshf.c: Likewise.
40296 * math/w_coshl.c: Likewise.
40297 * math/w_exp2.c: Likewise.
40298 * math/w_exp2f.c: Likewise.
40299 * math/w_exp2l.c: Likewise.
40300 * math/w_hypot.c: Likewise.
40301 * math/w_hypotf.c: Likewise.
40302 * math/w_hypotl.c: Likewise.
40303 * math/w_lgamma.c: Likewise.
40304 * math/w_lgamma_r.c: Likewise.
40305 * math/w_lgammaf.c: Likewise.
40306 * math/w_lgammaf_r.c: Likewise.
40307 * math/w_lgammal.c: Likewise.
40308 * math/w_lgammal_r.c: Likewise.
40309 * math/w_sinh.c: Likewise.
40310 * math/w_sinhf.c: Likewise.
40311 * math/w_sinhl.c: Likewise.
40312 * math/w_tgamma.c: Likewise.
40313 * math/w_tgammaf.c: Likewise.
40314 * math/w_tgammal.c: Likewise.
40315 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40316 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40317 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40318 Minor optimizations. Pretty printing. Remove cruft.
40319 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40320 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40321 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40322 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40323 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40324 * sysdeps/i386/fpu/e_asin.S: Likewise.
40325 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40326 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40327 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40328 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40329 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40330 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40331 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40332 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40333 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40334 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40335 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40336 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40337 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40338 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40339 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40340 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40341 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40342 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40343 * sysdeps/i386/fpu/e_log.S: Likewise.
40344 * sysdeps/i386/fpu/e_log10.S: Likewise.
40345 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40346 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40347 * sysdeps/i386/fpu/e_log2.S: Likewise.
40348 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40349 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40350 * sysdeps/i386/fpu/e_logf.S: Likewise.
40351 * sysdeps/i386/fpu/e_logl.S: Likewise.
40352 * sysdeps/i386/fpu/e_pow.S: Likewise.
40353 * sysdeps/i386/fpu/e_powf.S: Likewise.
40354 * sysdeps/i386/fpu/e_powl.S: Likewise.
40355 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40356 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40357 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40358 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40359 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40360 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40361 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40362 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40363 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40364 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40365 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40367 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40368 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40369 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40370 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40371 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40372 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40373 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40374 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40375 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40378 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40380 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40381 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40382 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40383 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40384 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40385 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40386 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40387 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40388 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40389 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40390 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40391 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40392 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40393 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40394 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40395 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40396 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40397 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40398 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40399 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40400 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40401 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40402 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40403 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40404 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40405 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40406 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40409 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40410 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40411 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40412 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40413 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40414 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40415 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40416 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40417 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40418 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40419 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40420 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40421 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40422 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40423 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40424 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40425 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40426 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40427 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40428 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40429 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40430 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40431 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40432 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40433 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40434 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40435 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40436 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40437 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40438 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40439 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40440 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40441 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40442 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40443 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40444 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40445 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40446 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40447 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40448 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40449 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40450 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40451 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40452 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40453 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40454 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40455 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40456 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40457 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40458 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40459 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40460 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40461 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40462 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40463 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40464 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40465 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40466 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40467 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40468 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40469 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40470 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40471 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40472 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40473 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40474 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40475 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40476 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40477 (__isnanf): Likewise.
40478 (__isinf_ns): Likewise.
40479 (__isinf_nsf): Likewise.
40480 (__finite): Likewise.
40481 (__finitef): Likewise.
40482 (__ieee754_sqrt): Define as macro.
40483 (__ieee754_sqrtf): Define as macro.
40484 (__ieee754_sqrtl): Define as macro.
40485 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40486 inlined copy.
40487 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40488 __FINITE_MATH_ONLY__ consistent.
40489 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40490
40491 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40492
40493 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40494 of rawmemchr.
40495
40496 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40497
40498 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40499
40500 * po/ja.po: Update from translation team.
40501
40502 2011-10-08 Roland McGrath <roland@hack.frob.com>
40503
40504 * locale/programs/locarchive.c (prepare_address_space): New function.
40505 (create_archive, enlarge_archive, open_archive): Use it.
40506
40507 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40508 inside [SHARED], where it is used.
40509
40510 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40511
40512 * nss/getent.c (netgroup_keys): Remove unused variable.
40513 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40514
40515 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40516
40517 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40518 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40519 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40520 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40521 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40522 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40523 * math/Makefile (libm-calls): Add s_isinf_ns.
40524 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40525 * math/multc3.c: Likewise.
40526 * math/s_casin.c: Likewise.
40527 * math/s_casinf.c: Likewise.
40528 * math/s_casinl.c: Likewise.
40529 * math/s_ccos.c: Likewise.
40530 * math/s_ccosf.c: Likewise.
40531 * math/s_ccosl.c: Likewise.
40532 * math/s_ctan.c: Likewise.
40533 * math/s_ctanf.c: Likewise.
40534 * math/s_ctanh.c: Likewise.
40535 * math/s_ctanhf.c: Likewise.
40536 * math/s_ctanhl.c: Likewise.
40537 * math/s_ctanl.c: Likewise.
40538 * math/w_fmod.c: Likewise.
40539 * math/w_fmodf.c: Likewise.
40540 * math/w_fmodl.c: Likewise.
40541 * math/w_remainder.c: Likewise.
40542 * math/w_remainderf.c: Likewise.
40543 * math/w_remainderl.c: Likewise.
40544 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40545 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40546 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40548 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40549 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40550 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40551 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40552
40553 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40554 of the number.
40555 * stdio-common/printf_fphex.c: Likewise.
40556 * stdio-common/printf_size.c: Likewise.
40557
40558 * math/e_exp10.c: Include math_private.h using <...> not "...".
40559 * math/e_exp10f.c: Likewise.
40560 * math/e_exp10l.c: Likewise.
40561 * math/e_exp2l.c: Likewise.
40562 * math/e_j0l.c: Likewise.
40563 * math/e_j1l.c: Likewise.
40564 * math/e_jnl.c: Likewise.
40565 * math/e_lgammal_r.c: Likewise.
40566 * math/e_rem_pio2l.c: Likewise.
40567 * math/e_scalb.c: Likewise.
40568 * math/e_scalbf.c: Likewise.
40569 * math/e_scalbl.c: Likewise.
40570 * math/k_cosl.c: Likewise.
40571 * math/k_sinl.c: Likewise.
40572 * math/k_tanl.c: Likewise.
40573 * math/s_cacoshf.c: Likewise.
40574 * math/s_catan.c: Likewise.
40575 * math/s_catanf.c: Likewise.
40576 * math/s_catanh.c: Likewise.
40577 * math/s_catanhf.c: Likewise.
40578 * math/s_catanhl.c: Likewise.
40579 * math/s_catanl.c: Likewise.
40580 * math/s_ccosh.c: Likewise.
40581 * math/s_ccoshf.c: Likewise.
40582 * math/s_ccoshl.c: Likewise.
40583 * math/s_cexp.c: Likewise.
40584 * math/s_cexpf.c: Likewise.
40585 * math/s_cexpl.c: Likewise.
40586 * math/s_clog.c: Likewise.
40587 * math/s_clog10.c: Likewise.
40588 * math/s_clog10f.c: Likewise.
40589 * math/s_clog10l.c: Likewise.
40590 * math/s_clogf.c: Likewise.
40591 * math/s_clogl.c: Likewise.
40592 * math/s_csin.c: Likewise.
40593 * math/s_csinf.c: Likewise.
40594 * math/s_csinh.c: Likewise.
40595 * math/s_csinhf.c: Likewise.
40596 * math/s_csinhl.c: Likewise.
40597 * math/s_csinl.c: Likewise.
40598 * math/s_csqrt.c: Likewise.
40599 * math/s_csqrtf.c: Likewise.
40600 * math/s_csqrtl.c: Likewise.
40601 * math/s_ctan.c: Likewise.
40602 * math/s_ctanf.c: Likewise.
40603 * math/s_ctanh.c: Likewise.
40604 * math/s_ctanhf.c: Likewise.
40605 * math/s_ctanhl.c: Likewise.
40606 * math/s_ctanl.c: Likewise.
40607 * math/s_ldexp.c: Likewise.
40608 * math/s_ldexpf.c: Likewise.
40609 * math/s_ldexpl.c: Likewise.
40610 * math/s_significand.c: Likewise.
40611 * math/s_significandf.c: Likewise.
40612 * math/s_significandl.c: Likewise.
40613 * math/w_acos.c: Likewise.
40614 * math/w_acosf.c: Likewise.
40615 * math/w_acosh.c: Likewise.
40616 * math/w_acoshf.c: Likewise.
40617 * math/w_acoshl.c: Likewise.
40618 * math/w_acosl.c: Likewise.
40619 * math/w_asin.c: Likewise.
40620 * math/w_asinf.c: Likewise.
40621 * math/w_asinl.c: Likewise.
40622 * math/w_atan2.c: Likewise.
40623 * math/w_atan2f.c: Likewise.
40624 * math/w_atan2l.c: Likewise.
40625 * math/w_atanh.c: Likewise.
40626 * math/w_atanhf.c: Likewise.
40627 * math/w_atanhl.c: Likewise.
40628 * math/w_cosh.c: Likewise.
40629 * math/w_coshf.c: Likewise.
40630 * math/w_coshl.c: Likewise.
40631 * math/w_dremf.c: Likewise.
40632 * math/w_exp10.c: Likewise.
40633 * math/w_exp10f.c: Likewise.
40634 * math/w_exp10l.c: Likewise.
40635 * math/w_exp2.c: Likewise.
40636 * math/w_exp2f.c: Likewise.
40637 * math/w_fmod.c: Likewise.
40638 * math/w_fmodf.c: Likewise.
40639 * math/w_fmodl.c: Likewise.
40640 * math/w_hypot.c: Likewise.
40641 * math/w_hypotf.c: Likewise.
40642 * math/w_hypotl.c: Likewise.
40643 * math/w_j0.c: Likewise.
40644 * math/w_j0f.c: Likewise.
40645 * math/w_j0l.c: Likewise.
40646 * math/w_j1.c: Likewise.
40647 * math/w_j1f.c: Likewise.
40648 * math/w_j1l.c: Likewise.
40649 * math/w_jn.c: Likewise.
40650 * math/w_jnf.c: Likewise.
40651 * math/w_jnl.c: Likewise.
40652 * math/w_lgamma.c: Likewise.
40653 * math/w_lgamma_r.c: Likewise.
40654 * math/w_lgammaf.c: Likewise.
40655 * math/w_lgammaf_r.c: Likewise.
40656 * math/w_lgammal.c: Likewise.
40657 * math/w_lgammal_r.c: Likewise.
40658 * math/w_log.c: Likewise.
40659 * math/w_log10.c: Likewise.
40660 * math/w_log10f.c: Likewise.
40661 * math/w_log10l.c: Likewise.
40662 * math/w_log2.c: Likewise.
40663 * math/w_log2f.c: Likewise.
40664 * math/w_log2l.c: Likewise.
40665 * math/w_logf.c: Likewise.
40666 * math/w_logl.c: Likewise.
40667 * math/w_pow.c: Likewise.
40668 * math/w_powf.c: Likewise.
40669 * math/w_powl.c: Likewise.
40670 * math/w_remainder.c: Likewise.
40671 * math/w_remainderf.c: Likewise.
40672 * math/w_remainderl.c: Likewise.
40673 * math/w_scalb.c: Likewise.
40674 * math/w_scalbf.c: Likewise.
40675 * math/w_scalbl.c: Likewise.
40676 * math/w_sinh.c: Likewise.
40677 * math/w_sinhf.c: Likewise.
40678 * math/w_sinhl.c: Likewise.
40679 * math/w_sqrt.c: Likewise.
40680 * math/w_sqrtf.c: Likewise.
40681 * math/w_sqrtl.c: Likewise.
40682 * math/w_tgamma.c: Likewise.
40683 * math/w_tgammaf.c: Likewise.
40684 * math/w_tgammal.c: Likewise.
40685
40686 * po/ja.po: Update from translation team.
40687
40688 2011-09-29 Andreas Jaeger <aj@suse.de>
40689
40690 [BZ #13179]
40691 * sunrpc/netname.c (netname2host): Fix logic.
40692
40693 [BZ #6779]
40694 [BZ #6783]
40695 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40696 correctly.
40697 * math/w_remainder.c (__remainder): Likewise.
40698 * math/w_remainderf.c (__remainderf): Likewise.
40699 * math/libm-test.inc (remainder_test): Add test cases.
40700
40701 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40702
40703 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40704 sdiv_qrnnd.
40705
40706 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40707
40708 * string/test-memcmp.c: Avoid unncessary #defines.
40709 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40710
40711 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40712
40713 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40714 Use new sse2 version for core i3 - i7 as it's faster
40715 than sse42 version.
40716 (bit_Prefer_PMINUB_for_stringop): New.
40717 * sysdeps/x86_64/rawmemchr.S: Update.
40718 Replace with faster SSE2 version.
40719 * sysdeps/x86_64/memrchr.S: New file.
40720 * sysdeps/x86_64/memchr.S: Update.
40721 Replace with faster SSE2 version.
40722
40723 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40724
40725 * elf/dl-load.c (lose): Add cast to avoid warning.
40726
40727 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40728
40729 * po/ca.po: Update from translation team.
40730
40731 * inet/getnetgrent_r.c: Hook up nscd.
40732 * nscd/Makefile (routines): Add nscd_netgroup.
40733 (nscd-modules): Add netgroupcache.
40734 (CFLAGS-netgroupcache.c): Define.
40735 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40736 (cache_search): Add const to second parameter.
40737 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40738 INNETGR.
40739 (dbs): Add netgrdb entry.
40740 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40741 (verify_persistent_db): Handle netgrdb.
40742 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40743 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40744 GETFDNETGR.
40745 (netgroup_response_header): Define.
40746 (innetgroup_response_header): Define.
40747 (datahead): Add netgroup_response_header and innetgroup_response_header
40748 elements.
40749 * nscd/nscd.conf: Add entries for netgroup cache.
40750 * nscd/nscd.h (dbtype): Add netgrdb.
40751 (_PATH_NSCD_NETGROUP_DB): Define.
40752 (netgroup_iov_disabled): Declare.
40753 (xmalloc, xcalloc, xrealloc): Move declarations here.
40754 (cache_search): Adjust prototype.
40755 Add netgroup-related prototypes.
40756 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40757 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40758 (__nscd_innetgr): Declare.
40759 * nscd/selinux.c (perms): Use access_vector_t as element type and
40760 add netgroup-related initializers.
40761 * nscd/netgroupcache.c: New file.
40762 * nscd/nscd_netgroup.c: New file.
40763 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40764 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40765 For four parameters use innetgr.
40766 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40767 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40768 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40769 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40770
40771 * nscd/connections.c (register_traced_file): Don't register file
40772 for disabled databases.
40773
40774 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40775
40776 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40777
40778 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40779 from tree and freeing node.
40780
40781 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40782
40783 * nss/nsswitch.c (__nss_database_lookup): Handle
40784 nss_parse_service_list out of memory case.
40785
40786 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40787
40788 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40789 out of memory case.
40790
40791 2011-10-04 Andreas Schwab <schwab@redhat.com>
40792
40793 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40794 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40795 pass it down.
40796 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40797 elf_machine_rela, elf_machine_lazy_rel.
40798 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40799 (ELF_DYNAMIC_DO_REL): Likewise.
40800 (ELF_DYNAMIC_DO_RELA): Likewise.
40801 (ELF_DYNAMIC_RELOCATE): Likewise.
40802 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40803 to ELF_DYNAMIC_DO_REL.
40804 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40805 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40806 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40807 elf_machine_rela.
40808 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40809 skip_ifunc, don't call ifunc function if non-zero.
40810 (elf_machine_rela): Likewise.
40811 (elf_machine_lazy_rel): Likewise.
40812 (elf_machine_lazy_rela): Likewise.
40813 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40814 (elf_machine_lazy_rel): Likewise.
40815 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40816 Likewise.
40817 (elf_machine_lazy_rel): Likewise.
40818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40819 Likewise.
40820 (elf_machine_lazy_rel): Likewise.
40821 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40822 (elf_machine_lazy_rel): Likewise.
40823 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40824 (elf_machine_lazy_rel): Likewise.
40825 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40826 (elf_machine_lazy_rel): Likewise.
40827 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40828 (elf_machine_lazy_rel): Likewise.
40829 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40830 (elf_machine_lazy_rel): Likewise.
40831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40832 (elf_machine_lazy_rel): Likewise.
40833
40834 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40835
40836 * nss/nss_files/files-init.c (_nss_files_init): Use static
40837 initialization for all the *_traced_file variables.
40838
40839 2011-09-28 Andreas Schwab <schwab@redhat.com>
40840
40841 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40842
40843 2011-09-27 Roland McGrath <roland@hack.frob.com>
40844
40845 [BZ #13226]
40846 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40847
40848 2011-09-27 Andreas Schwab <schwab@redhat.com>
40849
40850 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40851 Reread the line before reparsing it.
40852
40853 2011-09-26 Andreas Schwab <schwab@redhat.com>
40854
40855 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40856
40857 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40858 Maxim Kuvyrkov <maxim@codesourcery.com>
40859 Joseph Myers <joseph@codesourcery.com>
40860
40861 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40862 if needed for __stack_chk_guard.
40863
40864 2011-09-19 Roland McGrath <roland@hack.frob.com>
40865
40866 * sysdeps/posix/spawni.c (script_execute): Always define it.
40867 It will be optimized away if unused.
40868 (maybe_script_execute): New function.
40869 (__spawni): Call it.
40870
40871 * Makerules: Don't include tls.make.
40872 (config-tls): Always set to thread.
40873 * tls.make.c: File removed.
40874
40875 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40876
40877 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40878 * config.make.in (CPPFLAGS-config): New substituted variable.
40879
40880 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40881
40882 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40883
40884 [BZ #13192]
40885 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40886 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40887
40888 2011-09-15 Roland McGrath <roland@hack.frob.com>
40889
40890 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40891 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40893 (CALL_FAIL): Likewise.
40894 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40895 (CALL_FAIL): Macro removed.
40896 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40897
40898 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40899
40900 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40901 for __FINITE_MATH_ONLY__ == 1.
40902
40903 2011-09-15 Andreas Schwab <schwab@redhat.com>
40904
40905 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40906 __ieee754_sqrt instead of sqrt.
40907 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40908 __ieee754_sqrtf instead of sqrtf.
40909 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40910 __floorf instead of floorf.
40911 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40912 __floorf, __truncf instead of floorf, truncf.
40913
40914 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40915
40916 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40917
40918 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40919 __extern_always_inline.
40920 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40921 32-bit.
40922
40923 2011-09-14 Andreas Schwab <schwab@redhat.com>
40924
40925 * elf/rtld.c (dl_main): Also relocate in dependency order when
40926 doing symbol dependency testing.
40927
40928 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40929
40930 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40931 Always define `refsym'.
40932
40933 2011-09-13 Andreas Schwab <schwab@redhat.com>
40934
40935 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40936 (__FD_ELT): Renamed from __FDELT.
40937 * misc/bits/select2.h (__FD_ELT): Likewise.
40938 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40939 __FD_MASK instead of __FDELT, __FDMASK.
40940 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40941 Likewise.
40942 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40943 Likewise.
40944
40945 * elf/Makefile (gen-ldd): Fix pattern.
40946
40947 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40948 (init_tls): Likewise.
40949
40950 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40951
40952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40953
40954 2011-09-12 Andreas Schwab <schwab@redhat.com>
40955
40956 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40957 `struct cmsghdr *' instead of `void *'.
40958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40959 Likewise.
40960
40961 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40962
40963 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40964 if non-absolute.
40965 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40966 ldd_rewrite_script.
40967
40968 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40969
40970 * configure.in: Remove --with-tls option.
40971 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40972 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40973 out in case it is missing.
40974 * sysdeps/ia64/elf/configure.in: Likewise.
40975 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40976 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40977 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40978 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40979 * sysdeps/sh/elf/configure.in: Likewise.
40980 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40981 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40982 * sysdeps/x86_64/elf/configure.in: Likewise.
40983 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40984 * sysdeps/mach/hurd/tls.h: Likewise.
40985
40986 [BZ #13067]
40987 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40988
40989 [BZ #13090]
40990 * configure.in: Fix use of AC_INIT.
40991
40992 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40993
40994 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40995
40996 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40997 __set_errno.
40998 * malloc/hooks.c: Likewise.
40999
41000 [BZ #11929]
41001 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41002 variables statically.
41003 (narenas): Initialize.
41004 (list_lock): Initialize.
41005 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41006 initializtion of main_arena and list_lock. Small cleanups.
41007 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41008 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41009 Add initializers to main_arena and mp_.
41010 (malloc_state): Remove pagesize member. Change all users to use
41011 GLRO(dl_pagesize).
41012
41013 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41014 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41015 is always initialized.
41016
41017 * malloc/malloc.c: Removed unused configurations and dead code.
41018 * malloc/arena.c: Likewise.
41019 * malloc/hooks.c: Likewise.
41020 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41021
41022 * include/tls.h: Removed. USE___THREAD must always be defined.
41023 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41024 * elf/dl-libc.c: Likewise.
41025 * elf/dl-tsd.c: Likewise.
41026 * include/errno.h: Likewise.
41027 * include/netdb.h: Likewise.
41028 * include/resolv.h: Likewise.
41029 * inet/herrno-loc.c: Likewise.
41030 * inet/herrno.c: Likewise.
41031 * malloc/arena.c: Likewise.
41032 * malloc/hooks.c: Likewise.
41033 * malloc/malloc.c: Likewise.
41034 * resolv/res-state.c: Likewise.
41035 * resolv/res_libc.c: Likewise.
41036 * sysdeps/i386/dl-machine.h: Likewise.
41037 * sysdeps/ia64/dl-machine.h: Likewise.
41038 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41039 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41040 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41041 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41042 * sysdeps/sh/dl-machine.h: Likewise.
41043 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41044 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41045 * sysdeps/unix/i386/sysdep.S: Likewise.
41046 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41047 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41048 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41049 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41050 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41051 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41052 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41056 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41057 * sysdeps/x86_64/dl-machine.h: Likewise.
41058 * tls.make.c: Likewise.
41059
41060 * configure.in: Remove --with-__thread option. Make tests for
41061 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41062 tls_model attribute fail if no support is available. Remove
41063 USE_IN_LIBIO.
41064 * Makeconfig: Adjust for dropped configure option. All features are
41065 now mandatory.
41066 * Makerules: Likewise.
41067 * Versions.def: Likewise.
41068 * argp/argp-fmtstream.c: Likewise.
41069 * argp/argp-fmtstream.h: Likewise.
41070 * argp/argp-help.c: Likewise.
41071 * assert/assert.c: Likewise.
41072 * config.h.in: Likewise.
41073 * config.make.in: Likewise.
41074 * configure: Likewise.
41075 * configure.in: Likewise.
41076 * csu/Versions: Likewise.
41077 * csu/init.c: Likewise.
41078 * elf/tst-audit2.c: Likewise.
41079 * elf/tst-tls10.c: Likewise.
41080 * elf/tst-tls10.h: Likewise.
41081 * elf/tst-tls11.c: Likewise.
41082 * elf/tst-tls12.c: Likewise.
41083 * elf/tst-tls14.c: Likewise.
41084 * elf/tst-tlsmod11.c: Likewise.
41085 * elf/tst-tlsmod12.c: Likewise.
41086 * elf/tst-tlsmod13.c: Likewise.
41087 * elf/tst-tlsmod13a.c: Likewise.
41088 * elf/tst-tlsmod14a.c: Likewise.
41089 * elf/tst-tlsmod15b.c: Likewise.
41090 * elf/tst-tlsmod16a.c: Likewise.
41091 * elf/tst-tlsmod16b.c: Likewise.
41092 * elf/tst-tlsmod7.c: Likewise.
41093 * elf/tst-tlsmod8.c: Likewise.
41094 * elf/tst-tlsmod9.c: Likewise.
41095 * gmon/gmon.c: Likewise.
41096 * grp/fgetgrent_r.c: Likewise.
41097 * grp/putgrent.c: Likewise.
41098 * hurd/fopenport.c: Likewise.
41099 * include/libc-symbols.h: Likewise.
41100 * include/tls.h: Likewise.
41101 * intl/gettextP.h: Likewise.
41102 * intl/loadinfo.h: Likewise.
41103 * locale/global-locale.c: Likewise.
41104 * locale/localeinfo.h: Likewise.
41105 * mach/devstream.c: Likewise.
41106 * malloc/arena.c: Likewise.
41107 * malloc/set-freeres.c: Likewise.
41108 * misc/err.c: Likewise.
41109 * misc/getttyent.c: Likewise.
41110 * misc/mntent_r.c: Likewise.
41111 * posix/getopt.c: Likewise.
41112 * posix/wordexp.c: Likewise.
41113 * pwd/fgetpwent_r.c: Likewise.
41114 * resolv/Versions: Likewise.
41115 * resolv/res_hconf.c: Likewise.
41116 * shadow/fgetspent_r.c: Likewise.
41117 * shadow/putspent.c: Likewise.
41118 * stdio-common/printf_fphex.c: Likewise.
41119 * stdio-common/tmpfile.c: Likewise.
41120 * stdlib/abort.c: Likewise.
41121 * stdlib/fmtmsg.c: Likewise.
41122 * sunrpc/auth_unix.c: Likewise.
41123 * sunrpc/clnt_perr.c: Likewise.
41124 * sunrpc/clnt_tcp.c: Likewise.
41125 * sunrpc/clnt_udp.c: Likewise.
41126 * sunrpc/clnt_unix.c: Likewise.
41127 * sunrpc/openchild.c: Likewise.
41128 * sunrpc/svc_simple.c: Likewise.
41129 * sunrpc/svc_tcp.c: Likewise.
41130 * sunrpc/svc_udp.c: Likewise.
41131 * sunrpc/svc_unix.c: Likewise.
41132 * sunrpc/xdr.c: Likewise.
41133 * sunrpc/xdr_array.c: Likewise.
41134 * sunrpc/xdr_rec.c: Likewise.
41135 * sunrpc/xdr_ref.c: Likewise.
41136 * sunrpc/xdr_stdio.c: Likewise.
41137
41138 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41139
41140 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41141
41142 2011-07-03 Andreas Jaeger <aj@suse.de>
41143
41144 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41145 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41146 regenerate with gen-libm-tests.pl.
41147
41148 2010-05-12 Petr Baudis <pasky@suse.cz>
41149
41150 [BZ #11589]
41151 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41152 around j0() zero points by switching to j1().
41153 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41154 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41155 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41156 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41157
41158 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41159
41160 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41161 instead of 0.
41162 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41163 instead of 0.
41164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41165 Patch in part by Pavel Roskin <proski@gnu.org>.
41166
41167 [BZ #13138]
41168 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41169 realloc.
41170 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41171 Free memory block if necessary.
41172
41173 [BZ #12847]
41174 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41175 be NULL. Don't lock in this case.
41176
41177 2011-09-09 Roland McGrath <roland@hack.frob.com>
41178
41179 * elf/elf.h (ELFOSABI_GNU): New macro.
41180 (ELFOSABI_LINUX): Define to that.
41181
41182 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41183
41184 * string/strncat.c (strncat): Undef the symbol in case it has been
41185 defined in bits/string.h.
41186
41187 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41188
41189 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41190
41191 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41192 link map.
41193
41194 2011-08-17 Andreas Jaeger <aj@suse.de>
41195
41196 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41197
41198 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41199 Ian Lance Taylor <iant@google.com>
41200
41201 * math/libm-test.inc (lround_test): New testcase.
41202 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41203
41204 2011-09-08 Ulrich Drepper <drepper@gmail.com>
41205
41206 * Makefile: Remove support for automatic cvs check-ins.
41207 * Makerules: Likewise.
41208 * config.make.in: Likewise.
41209 * configure.in: Likewise.
41210 * intl/Makefile: Likewise.
41211 * locale/Makefile: Likewise.
41212 * po/Makefile: Likewise.
41213 * posix/Makefile: Likewise.
41214 * sysdeps/gnu/Makefile: Likewise.
41215 * sysdeps/mach/hurd/Makefile: Likewise.
41216 * sysdeps/sparc/sparc32/Makefile: Likewise.
41217
41218 [BZ #13118]
41219 * posix/Makefile (bug-regex32-ENV): Define.
41220 Patch by John Stanley <jpsinthemix@verizon.net>.
41221
41222 * misc/Makefile (headers): Add bits/select2.h.
41223 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41224 * misc/bits/select2.h: New file.
41225 * include/bits/select2.h: New file.
41226 * debug/Makefile (routines): Add fdelt_chk.
41227 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41228 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41229 FD_ISSET.
41230 * debug/fdelt_chk.c: New file.
41231
41232 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41233 * wcsmbs/test-wmemcmp.c: Likewise.
41234 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41235 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41236
41237 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41238
41239 * string/Makefile (strop-tests): Add memcmp.
41240 * string/test-wmemcmp.c: New file.
41241 * string/test-memcmp.c: Add wmemcmp support.
41242
41243 2011-09-08 Roland McGrath <roland@hack.frob.com>
41244
41245 [BZ #13153]
41246 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41247 2011-07-19 change.
41248
41249 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41250 garbage value in a __mach_port_mod_refs call in the cases of the
41251 task-self and thread-self ports.
41252
41253 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41254
41255 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41256
41257 2011-09-08 Andreas Schwab <schwab@redhat.com>
41258
41259 * elf/dl-load.c (lose): Check for non-null L.
41260
41261 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41262
41263 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41264
41265 * elf/dl-libc.c (dlerror_run): Pass back error code from
41266 dl_catch_error.
41267
41268 [BZ #13123]
41269 * elf/dl-load.c (lose): Free l_origin if it is valid.
41270
41271 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41272 names.
41273 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41274 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41275 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41276 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41277 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41278 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41279
41280 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41281
41282 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41283 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41284 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41285 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41286 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41287 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41288 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41289 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41290 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41291 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41292
41293 2011-08-15 Alan Modra <amodra@gmail.com>
41294
41295 [BZ #13092]
41296 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41297 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41298 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41299 ppc_mcount to static-only-routines.
41300 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41301 __mcount_internal.
41302 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41303 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41304
41305 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41306
41307 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41308 for finite and infinity parameters.
41309
41310 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41311
41312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41313 and add nop instructions for throughput optimization.
41314 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41315
41316 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41317
41318 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41319 aligned copy for power7 with vector-scalar instructions.
41320 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41321
41322 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41323
41324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41325 AVX check.
41326
41327 2011-09-07 Andreas Schwab <schwab@redhat.com>
41328
41329 [BZ #13144]
41330 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41331 last change.
41332
41333 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41334
41335 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41336 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41337 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41338 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41339 clock_gettime.
41340
41341 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41342
41343 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41344 Forgot to demangle the pointer.
41345
41346 * sysdeps/i386/sysdep.h: Define atom_text_section.
41347 * sysdeps/x86_64/sysdep.h: Likewise.
41348 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41349 section with atom_text_section.
41350 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41351 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41352 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41353 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41354 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41355
41356 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41357 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41358 already be defined. Change to take two parameters and don't assign
41359 result to variable. Adjust all users.
41360 Define INTERNAL_GETTIME if not already defined.
41361 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41362 call.
41363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41364 HAVE_CLOCK_GETTIME_VSYSCALL.
41365 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41366
41367 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41368 gettimeofday vsyscall, just use time.
41369
41370 2011-09-06 Andreas Schwab <schwab@redhat.com>
41371
41372 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41373 <errno.h>.
41374
41375 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41376
41377 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41378 syscall on x86-64.
41379 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41380 syscall.
41381 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41382 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41383 syscall if possible.
41384
41385 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41386
41387 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41388 e_ident. Don't pass to find_mapsXX.
41389 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41390
41391 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41392
41393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41394 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41395 * sysdeps/x86_64/multiarch/strchr.S: Update.
41396 Check bit_slow_BSF bit.
41397 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41398 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41399 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41400
41401 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41402
41403 [BZ #13134]
41404 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41405 before glibc 2.15.
41406 (tryshell): Define.
41407 (__spawni): Change last parameter to be flag. Test
41408 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41409 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41410 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41411 * posix/spawni.c: Likewise.
41412 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41413 * posix/spawnp.c: Likewise. Change normal version to use
41414 SPAWN_XFLAGS_USE_PATH.
41415 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41416 SPAWN_XFLAGS_TRY_SHELL.
41417
41418 [BZ #13150]
41419 * posix/glob.h: Remove gcc 1.x support.
41420
41421 [BZ #13068]
41422 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41423
41424 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41425
41426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41427 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41428 strrchr-sse2-bsf
41429 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41430 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41431 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41432 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41433 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41434 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41435
41436 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41437
41438 * sysdeps/x86_64/wcscmp.S: New file.
41439
41440 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41441 wcscmp-c wcscmp-sse2
41442 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41443 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41444 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41445 * wcsmbs/wcscmp.c: Allow renaming.
41446
41447 2011-09-05 David S. Miller <davem@davemloft.net>
41448
41449 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41450 stack slot, rather than the struct return pointer slot.
41451 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41452 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41454 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41455
41456 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41457
41458 * po/ja.po: Update from translation team.
41459
41460 [BZ #13144]
41461 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41462 kernel in 64-bit binaries.
41463
41464 2011-09-01 David S. Miller <davem@davemloft.net>
41465
41466 * elf/elf.h (HWCAP_SPARC_*): Move to..
41467 * sysdeps/sparc/sysdep.h: this new file and add new values.
41468 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41469 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41470 _DL_HWCAP_COUNT to 24.
41471 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41472 entries.
41473 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41474 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41475 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41477 instead of magic constants.
41478 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41479
41480 2011-08-31 David S. Miller <davem@davemloft.net>
41481
41482 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41484 Reimplement to do errno handling inline.
41485 (SYSCALL_ERROR_HANDLER): New macro.
41486 (__SYSCALL_STRING): Do not do errno handling in asm.
41487 (__CLONE_SYSCALL_STRING): Delete.
41488 (__INTERNAL_SYSCALL_STRING): Delete.
41489 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41490 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41491 (PSEUDO): Reimplement to do errno handling inline.
41492 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41493 (SYSCALL_ERROR_HANDLER): New macro.
41494 (__SYSCALL_STRING): Do not do errno handling in asm.
41495 (__CLONE_SYSCALL_STRING): Delete.
41496 (__INTERNAL_SYSCALL_STRING): Delete.
41497 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41498 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41499 i386.
41500 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41501 (inline_syscall*): Add 'err' argument.
41502 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41503 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41504 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41505 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41506
41507 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41508 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41509
41510 2011-08-30 Andreas Schwab <schwab@redhat.com>
41511
41512 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41513
41514 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41515
41516 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41517 directive.
41518
41519 2011-08-24 David S. Miller <davem@davemloft.net>
41520
41521 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41522
41523 2011-08-24 Andreas Schwab <schwab@redhat.com>
41524
41525 * elf/Makefile: Add rules to build and run unload8 test.
41526 * elf/unload8.c: New file.
41527 * elf/unload8mod1.c: New file.
41528 * elf/unload8mod1x.c: New file.
41529 * elf/unload8mod2.c: New file.
41530 * elf/unload8mod3.c: New file.
41531
41532 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41533 it wasn't used.
41534
41535 2011-08-23 David S. Miller <davem@davemloft.net>
41536
41537 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41538 subtract stack bias.
41539 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41540 %sp not %fp in calculations.
41541 (_JMPBUF_UNWINDS_ADJ): Likewise.
41542
41543 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41544 (aio_suspend): Call it to force an exception region around the
41545 AIO_MISC_WAIT() invocation.
41546
41547 2011-08-23 Andreas Schwab <schwab@redhat.com>
41548
41549 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41550 backslash.
41551
41552 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41553
41554 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41555 protection macro.
41556 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41557 and <dl-machine.h>.
41558 (Elf64_FuncDesc): Remove.
41559
41560 2011-08-22 David S. Miller <davem@davemloft.net>
41561
41562 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41563 sigaltstack check, add missing cfi directives.
41564 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41565 missing cfi directives, and sigaltstack handling.
41566
41567 2011-08-16 Andreas Schwab <schwab@redhat.com>
41568
41569 [BZ #11724]
41570 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41571 object is seen twice.
41572 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41573
41574 * elf/Makefile (distribute): Add tst-initorder2.c.
41575 (tests): Add tst-initorder2.
41576 (modules-names): Add tst-initorder2a tst-initorder2b
41577 tst-initorder2c tst-initorder2d. Add rules to build them.
41578 ($(objpfx)tst-initorder2.out): New rule.
41579 * elf/tst-initorder2.c: New file.
41580 * elf/tst-initorder2.exp: New file.
41581
41582 2011-08-22 Andreas Schwab <schwab@redhat.com>
41583
41584 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41585
41586 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41587 dependencies back to end of function.
41588
41589 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41590 $(elfobjdir)/ld.so.
41591
41592 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41593
41594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41595 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41596 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41597 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41598 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41599 of __vdso_gettimeofday.
41600 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41601 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41602 attribute_hidden.
41603 (_libc_vdso_platform_setup): Remove initialization of
41604 __vdso_gettimeofday and __vdso_time.
41605
41606 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41607
41608 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41609 and fgetc_unlocked.
41610 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41611 getc_unlocked.
41612
41613 * elf/dl-open.c (add_to_global): Report additions to the global scope
41614 for LD_DEBUG=scopes.
41615 (dl_open_worker): Also print scope of newly loaded dependencies.
41616 (_dl_show_scope): Indicate if there is no scope.
41617
41618 [BZ #13114]
41619 * stdio-common/Makefile (tests): Add bug24.
41620 * stdio-common/bug24.c: New file.
41621
41622 2011-08-19 Andreas Jaeger <aj@suse.de>
41623
41624 [BZ #13114]
41625 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41626 non-existant file when using close-on-exec mode.
41627
41628 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41629
41630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41631 the very first instruction.
41632
41633 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41634 the CFI state in the end.
41635 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41636 inclusion of dl-trampoline.h.
41637 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41638
41639 2011-08-19 Andreas Schwab <schwab@redhat.com>
41640
41641 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41642 expectations for long double.
41643
41644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41645 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41646
41647 2011-08-14 David S. Miller <davem@davemloft.net>
41648
41649 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41650 artificual limit depends upon the system page size.
41651
41652 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41653
41654 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41655 * resolv/Makefile: Define CFLAGS-libresolv.
41656
41657 2011-08-17 Andreas Schwab <schwab@redhat.com>
41658
41659 * nss/makedb.c (compute_tables): Make variables used in nested
41660 function static.
41661
41662 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41663
41664 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41665 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41666 if buffer was too small.
41667
41668 * elf/pldd.c (main): Attach to all threads in the process.
41669 Rewrite /proc handling to use *at functions.
41670
41671 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41672
41673 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41674 specifies first scope to show.
41675 (dl_open_worker): Update callers. Move printing scope of new
41676 object to before the relocation.
41677 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41678 * sysdeps/generic/ldsodefs.h: Update declaration.
41679
41680 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41681 string for the scope number.
41682
41683 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41684
41685 * nscd/servicescache.c (cache_addserv): Make sure written is always
41686 initialized.
41687
41688 2011-08-14 Roland McGrath <roland@hack.frob.com>
41689
41690 * sysdeps/i386/i486/bits/atomic.h
41691 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41692 statement expression, so as to suppress "set but not used" warning.
41693 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41694
41695 * string/strncat.c (STRNCAT): Use prototype definition.
41696
41697 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41698 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41699 -Iprograms here.
41700 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41701 (localedef-modules): Add localedef.
41702 (locale-modules): Add locale.
41703
41704 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41705 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41706 to avoid a warning.
41707
41708 2011-08-14 David S. Miller <davem@davemloft.net>
41709
41710 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41711 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41712
41713 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41714
41715 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41716 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41717 * elf/rtld.c (dl_main): Set l_name of vDSO.
41718 Call _dl_show_scope when DL_DEBUG_SCOPES.
41719 (process_dl_debug): Recognize scopes flag and also set it for all.
41720 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41721 Declare _dl_show_scope.
41722
41723 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41724 (do_dlopen): Pass caller_dlopen to dl_open.
41725 (__libc_dlopen_mode): Initialize caller_dlopen.
41726
41727 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41728 of libc. Make tolower call locale-independent. Optimize a bit by
41729 using isdigit instead of isalnum.
41730 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41731
41732 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41733
41734 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41735 was a dependency or dynamically loaded.
41736
41737 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41738
41739 * intl/l10nflist.c: Allow architecture-specific pop function.
41740 * sysdeps/x86_64/l10nflist.c: New file.
41741
41742 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41743 classification.
41744
41745 2011-08-10 Andreas Schwab <schwab@redhat.com>
41746
41747 * include/dirent.h: Add libc_hidden_proto for scandirat and
41748 scandirat64. Don't declare __scandirat64.
41749 * dirent/scandirat.c: Add libc_hidden_def.
41750 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41751 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41752
41753 2011-08-10 David S. Miller <davem@davemloft.net>
41754
41755 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41756 enum.
41757 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41758 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41759 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41760
41761 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41762
41763 * Versions.def [libc]: Add GLIBC_2.15.
41764 * dirent/Makefile (routines): Add scandirat and scandirat64.
41765 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41766 GLIBC_2.15.
41767 * dirent/dirent.h: Declare scandirat and scandirat64.
41768 * dirent/scandirat.c: New file.
41769 * dirent/scandirat64.c: New file.
41770 * sysdeps/wordsize-64/scandirat.c: New file.
41771 * sysdeps/wordsize-64/scandirat64.c: New file.
41772 * dirent/opendir.c: Define opendirat.
41773 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41774 using scandirat.
41775 * dirent/scandir64.c: Adjust for scandir.c change.
41776 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41777 __scandirat64, and __scandir_cancel_handler.
41778 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41779 additional parameter and use openat instead of open (outside of ld.so).
41780 Add new __opendir as wrapper around __opendirat.
41781 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41782 here without requiring old scandirat implementation.
41783
41784 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41785
41786 * dirent/scandir.c (cancel_handler): Renamed to
41787 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41788 defined. Adjust users.
41789 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41790 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41791
41792 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41793
41794 * string/test-string.h (IMPL): Use __STRING to expand name and then
41795 stringify it.
41796
41797 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41798 of cleanups.
41799
41800 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41801
41802 * string/Makefile: Update.
41803 (strop-tests): Append strncat.
41804 * string/test-wcscmp.c: New file.
41805 New comprehensive test for wcscmp.
41806 * string/test-strcmp.c: Update.
41807 (WIDE): New define.
41808
41809 2011-07-22 Andreas Schwab <schwab@redhat.com>
41810
41811 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41812 line.
41813
41814 2011-07-26 Andreas Schwab <schwab@redhat.com>
41815
41816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41817 encoding to ACE if AI_IDN.
41818
41819 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41820
41821 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41822 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41823
41824 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41825
41826 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41827 Fix overflow bug in strncat.
41828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41829
41830 * string/test-strncat.c: Update.
41831 Add new tests for checking overflow bugs.
41832
41833 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41834
41835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41836 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41837 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41838 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41839 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41840 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41841 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41842 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41843 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41844
41845 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41846 (USE_AS_STRCAT): Define.
41847 Add strcat and strncat support.
41848 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41849
41850 2011-07-25 Andreas Schwab <schwab@redhat.com>
41851
41852 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41853 __n bigger than INT_MAX+1.
41854 (__strncmp_g): Likewise.
41855
41856 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41857
41858 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41859 * libio/stido.h: Likewise.
41860
41861 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41862 (AF_NFC): Define.
41863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41864 (AF_NFC): Define.
41865
41866 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41867 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41868 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41869 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41870 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41871
41872 [BZ #13021]
41873 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41874 installed.
41875
41876 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41877 typo.
41878 (_dl_x86_64_save_sse): Likewise.
41879
41880 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41881
41882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41883 OSXSAVE.
41884 (_dl_x86_64_save_sse): Likewise.
41885
41886 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41887
41888 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41889
41890 2011-07-21 Andreas Schwab <schwab@redhat.com>
41891
41892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41893 change.
41894 (_dl_x86_64_save_sse): Use correct AVX check.
41895
41896 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41897
41898 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41899 bug in strncpy/strncat.
41900 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41901
41902 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41903
41904 * string/tester.c (test_strcat): Add tests for different alignments
41905 of source and destination.
41906 (test_strncat): Likewise.
41907
41908 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41909
41910 [BZ #12852]
41911 * posix/glob.c (glob): Check passed in values before using them in
41912 expressions to avoid some overflows.
41913 (glob_in_dir): Likewise.
41914
41915 [BZ #13007]
41916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41917 check for AVX enablement so that we don't crash with old kernels and
41918 new hardware.
41919 * elf/tst-audit4.c: Add same checks here.
41920 * elf/tst-audit6.c: Likewise.
41921
41922 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41923
41924 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41925
41926 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41927
41928 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41929
41930 * po/cs.po: Update from translation team.
41931 * po/bg.po: Likewise.
41932
41933 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41934
41935 * misc/sys/cdefs.h: Add support for const attribute.
41936 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41937 to gnu_dev_{major,minor,makedev} functions.
41938
41939 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41940
41941 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41942
41943 2011-07-20 Andreas Schwab <schwab@redhat.com>
41944
41945 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41946 strlen results.
41947
41948 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41949
41950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41951 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41952 register in order to avoid conflicts with the soft frame pointer
41953 being held in r11 when necessary.
41954 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41955 (INTERNAL_VSYSCALL_NCS): Likewise.
41956
41957 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41958
41959 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41960 * elf/dl-fini.c (_dl_fini): Adjust caller.
41961 * elf/dl-close.c (_dl_close_worker): Likewise.
41962 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41963
41964 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41965
41966 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41967 "aux_cache->nlibs < 0".
41968
41969 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41970 in the reload-count case.
41971
41972 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41973
41974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41975 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41976 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41977 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41978 * sysdeps/x86_64/multiarch/strcat.S: New file.
41979 * sysdeps/x86_64/multiarch/strncat.S: New file.
41980 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41981 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41982 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41983 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41985 (USE_AS_STRCAT): Define.
41986 Add strcat and strncat support.
41987 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41988 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41989 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41990 * string/strncat.c: Update.
41991 (USE_AS_STRNCAT): Define.
41992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41993 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41994 and i7.
41995 * sysdeps/x86_64/multiarch/init-arch.h
41996 (bit_Prefer_PMINUB_for_stringop): New.
41997 (index_Prefer_PMINUB_for_stringop): Likewise.
41998 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41999 bit_Prefer_PMINUB_for_stringop.
42000
42001 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42002
42003 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42004 buffer64.
42005 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42006 of casting of buffer.
42007 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42008 buffer32 and buffer64.
42009 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42010 writes instead of casting of buffer.
42011 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42012 buffer32.
42013 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42014 casting of buffer.
42015
42016 2011-07-19 Andreas Schwab <schwab@redhat.com>
42017
42018 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42019
42020 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42021
42022 * nscd/nscd.c (termination_handler): Don't do anything for a database
42023 if it has not yet been initialized.
42024
42025 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42026
42027 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42028
42029 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42030
42031 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42032
42033 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42034
42035 * po/nl.po: Update from translation team.
42036 * po/sv.po: Likewise.
42037
42038 2011-07-16 Roland McGrath <roland@hack.frob.com>
42039
42040 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42041 now disallowed by GCC.
42042
42043 * configure.in (use-default-link): Default to yes if a test -shared
42044 link meets our qualifications.
42045 * configure: Regenerated.
42046
42047 * config.make.in (output-format): New variable.
42048 * configure.in: Check for ld --print-output-format support.
42049 * configure: Regenerated.
42050 * Makerules ($(common-objpfx)format.lds)
42051 [$(output-format) != unknown]: Just use $(output-format),
42052 instead of the linker-script munging.
42053
42054 2011-07-14 Roland McGrath <roland@hack.frob.com>
42055
42056 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42057 of $(common-objpfx)shlib.lds.
42058 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42059
42060 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42061 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42062
42063 * configure.in (-z relro check): Adjust test code to add a large
42064 writable data section after it.
42065 * configure: Regenerated.
42066
42067 2011-07-11 Roland McGrath <roland@hack.frob.com>
42068
42069 * configure.in (-z relro check): Fix test code to make the variable
42070 truly const.
42071 * configure: Regenerated.
42072
42073 2011-07-11 Ulrich Drepper <drepper@gmail.com>
42074
42075 * nscd/nscd.h (struct traced_file): Define.
42076 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42077 elements. Add traced_files.
42078 (inotify_fd): Declare.
42079 (register_traced_file): Declare.
42080 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42081 (inotify_fd): Export.
42082 (resolv_conf_descr): Remove.
42083 (nscd_init): Move inotify descriptor creation to main.
42084 Don't register files for notification here.
42085 (register_traced_file): New function.
42086 (invalidate_cache): Don't use reset_res to determine whether to call
42087 res_init, go through the list of registered files.
42088 (main_loop_poll): The inotify descriptors are now stored in the
42089 structures for the traced files.
42090 (main_loop_epoll): Likewise
42091 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42092 to __nss_disable_nscd.
42093 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42094 for a database anymore. Check the records for all the registered
42095 files instead.
42096 * nss/Makefile (libnss_files-routines): Add files-init.
42097 (libnss_db-routines): Add db-init.
42098 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42099 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42100 * nss/nss_db/db-init.c: New file.
42101 * nss/nss_files/files-init.c: New file.
42102 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42103 __nss_lookup_function.
42104 (__nss_lookup_function): Call nss_load_library.
42105 (nss_load_all_libraries): New function.
42106 (__nss_disable_nscd): Take parameter with callback function for files
42107 to register. Set is_nscd. Load all the DSOs for the NSS modules
42108 used for the cached services.
42109 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42110 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42111 options for features to all the files in nscd.
42112
42113 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42114
42115 2011-07-10 Roland McGrath <roland@hack.frob.com>
42116
42117 * csu/elf-init.c (__libc_csu_init): Comment typo.
42118
42119 2011-07-09 Ulrich Drepper <drepper@gmail.com>
42120
42121 * po/pl.po: Update from translation team.
42122 * po/ja.po: Likewise.
42123 * po/ru.po: Likewise.
42124 * po/ko.po: Likewise.
42125 * po/fr.po: Likewise.
42126
42127 2011-07-09 Roland McGrath <roland@hack.frob.com>
42128
42129 * configure.in (.ctors/.dtors header and trailer check):
42130 Use an empirical test on a built program.
42131 * configure: Regenerated.
42132
42133 * configure.in (-z relro check): Use an empirical test on a built DSO.
42134 Detect, but do not require, on ia64.
42135 * configure: Regenerated.
42136
42137 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42138 Update tests that use readelf to use $READELF instead.
42139 * configure: Regenerated.
42140
42141 2011-07-08 Ulrich Drepper <drepper@gmail.com>
42142
42143 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42144 if the result is not used.
42145
42146 2011-07-05 Andreas Jaeger <aj@suse.de>
42147
42148 [BZ#9696]
42149 * stdlib/tst-strtod.c: Add testcase.
42150
42151 2011-07-07 Ulrich Drepper <drepper@gmail.com>
42152
42153 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42154 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42155 The latter has a higher limit. Take additional parameter to pass to
42156 the new function.
42157 (__pathconf): Pass file to __statfs_link_max.
42158 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42159 __statfs_link_max.
42160 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42161 __statfs_link_max.
42162
42163 [BZ #12868]
42164 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42165 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42166 Handle Lustre.
42167 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42168 (__statfs_filesize_max): Likewise.
42169 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42170
42171 2011-07-05 Andreas Jaeger <aj@suse.de>
42172
42173 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42174
42175 2011-07-06 Marek Polacek <mpolacek@redhat.com>
42176
42177 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42178 `status' variable.
42179 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42180 Likewise.
42181
42182 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42183
42184 * Makefile (strop-tests): Add strncat.
42185 * string/test-strncat.c: New file.
42186
42187 2011-06-30 Marek Polacek <mpolacek@redhat.com>
42188
42189 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42190
42191 2011-06-21 Andreas Jaeger <aj@suse.de>
42192
42193 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42194 Copy rule from iconvdata/Makefile.
42195
42196 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42197
42198 [BZ #12922]
42199 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42200 but no long options are defined, just return 'W'.
42201
42202 2011-06-22 Marek Polacek <mpolacek@redhat.com>
42203
42204 [BZ #9696]
42205 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42206
42207 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42208
42209 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42210 netgroups to read.
42211 (innetgr): Likewise.
42212
42213 2011-07-05 Roland McGrath <roland@hack.frob.com>
42214
42215 * config.make.in (install_root): Default to $(DESTDIR).
42216
42217 2011-07-05 Ulrich Drepper <drepper@gmail.com>
42218
42219 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42220
42221 2011-07-02 Roland McGrath <roland@hack.frob.com>
42222
42223 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42224
42225 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42226 containing directory rather than embedding absolute directory names.
42227
42228 * scripts/check-local-headers.sh: Rewritten using awk.
42229 Match by word, not by line. Print error messages for matches.
42230 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42231
42232 * Makerules [shlib-lds-flags empty]:
42233 ($(common-objpfx)libc_pic.opts): New target.
42234 ($(common-objpfx)libc_pic.os.clean): New target.
42235 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42236
42237 * config.make.in (OBJCOPY): New variable.
42238 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42239 * configure: Regenerated.
42240
42241 * config.make.in (use-default-link): New variable.
42242 * configure.in (use_default_link): Grok --with-default-link to set it.
42243 * configure: Regenerated.
42244 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42245 (shlib-lds, shlib-lds-flags): Define to empty.
42246
42247 * Makerules (shlib-lds): New variable.
42248 (shlib-lds-flags): New variable.
42249 (build-shlib, build-moduile, build-module-asneeded): Use it.
42250 ($(common-objpfx)libc.so): Use $(shlib-lds).
42251 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42252 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42253
42254 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42255 DT_FLAGS/DT_FLAGS_1 with zero flags.
42256
42257 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42258 linker script munging.
42259
42260 2011-07-02 Ulrich Drepper <drepper@gmail.com>
42261
42262 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42263 as 128-bit value.
42264 * crypt/sha512.c (sha512_process_block): Perform total addition using
42265 128-bit if possible.
42266 (__sha512_finish_ctx): Likewise.
42267 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42268 as 64-bit value.
42269 * crypt/sha256.c (SWAP64): Define.
42270 (sha256_process_block): Perform total addition using 64-bit if
42271 possible.
42272 (__sha256_finish_ctx): Likewise.
42273
42274 2011-07-01 Ulrich Drepper <drepper@gmail.com>
42275
42276 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42278 * nscd/hstcache.c (cache_addhst): Likewise.
42279 * nscd/grpcache.c (cache_addgr): Likewise.
42280 * nscd/aicache.c (addhstaiX): Likewise
42281 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42282
42283 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
42284
42285 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42286 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42287 * nscd/hstcache.c (cache_addhst): Likewise.
42288 * nscd/grpcache.c (cache_addgr): Likewise.
42289 * nscd/aicache.c (addhstaiX): Likewise
42290
42291 2011-07-01 Andreas Schwab <schwab@redhat.com>
42292
42293 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42294 domain only when needed.
42295
42296 2011-06-30 Andreas Schwab <schwab@redhat.com>
42297
42298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42299 is always restored.
42300
42301 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42302
42303 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42304 are re-adding the entry.
42305 * nscd/servicescache.c (cache_addserv): Likewise.
42306
42307 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42308
42309 * sysdeps/generic/dl-irel.h: fix protection against multiple
42310 inclusions.
42311 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42312
42313 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42314
42315 [BZ #12935]
42316 * malloc/memusage.sh: Fix quoting in message.
42317 * debug/xtrace.sh: Likewise.
42318
42319 * configure.in: Remove support for --experimental-malloc option, make
42320 it the default.
42321 * config.make.in: Likewise.
42322 * malloc/Makefile: Likewise.
42323
42324 2011-06-27 Andreas Schwab <schwab@redhat.com>
42325
42326 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42327 two-byte characters.
42328
42329 2011-06-27 Roland McGrath <roland@hack.frob.com>
42330
42331 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42332 AC_CACHE_CHECK invocation.
42333 * configure: Regenerated.
42334
42335 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42336
42337 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42338
42339 [BZ #12350]
42340 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42341 bit from old_res_options.
42342
42343 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42344
42345 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42346 value type for setfct.
42347
42348 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42349
42350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42351 __gettimeofday instead of gettimeofday.
42352
42353 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42354
42355 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42356
42357 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42358
42359 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42360
42361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42362 info.
42363
42364 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42365
42366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42367 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42368 strcpy-sse2-unaligned strncpy-sse2-unaligned
42369 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42370 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42371 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42372 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42373 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42374 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42375 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42376 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42377 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42378 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42379 (STRCPY): Support SSE2 and SSSE3 versions.
42380
42381 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42382
42383 [BZ #12874]
42384 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42385 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42386 kernels which artificially limit size of requests.
42387
42388 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42389
42390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42391 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42392 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42393 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42394 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42395 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42396 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42397 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42398 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42399 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42400 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42401 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42402 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42403 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42404 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42406 Enable unaligned load optimization for Intel Core i3, i5 and i7
42407 processors.
42408 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42409 Define.
42410 (index_Fast_Unaligned_Load): Define.
42411 (HAS_FAST_UNALIGNED_LOAD): Define.
42412
42413 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42414
42415 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42416
42417 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42418
42419 [BZ #12907]
42420 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42421 until it is clear that the information is realy needed.
42422 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42423
42424 2011-06-22 Andreas Schwab <schwab@redhat.com>
42425
42426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42427
42428 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42429
42430 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42431 /sys/devices/system/cpu/online if it is usable.
42432
42433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42434 reading the information from the /proc filesystem to once a second.
42435
42436 2011-06-21 Andreas Jaeger <aj@suse.de>
42437
42438 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42439 NULL after inclusion of kernel headers.
42440
42441 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42442
42443 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42444 calls to internal_setent.
42445
42446 [BZ #12885]
42447 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42448 addresses using gethostbyname4_r ignore IPv4 addresses.
42449
42450 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42451 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42452
42453 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42454
42455 2011-06-20 David S. Miller <davem@davemloft.net>
42456
42457 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42458 inclusions.
42459 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42460
42461 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42462 (elf_irel): Use it.
42463 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42464 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42465 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42466 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42467 * sysdeps/x86_64/dl-irel.h: Likewise.
42468
42469 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42470 * elf/dl-sym.c: Likewise.
42471
42472 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42473
42474 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42475 need to dereference resplen2.
42476
42477 2011-06-14 Andreas Schwab <schwab@redhat.com>
42478
42479 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42480
42481 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42482
42483 * Makeconfig: Define vardbdir and inst_vardbdir.
42484 * nss/Makefile: Add rules to install db-Makefile.
42485
42486 * nss/nss_db/db-XXX.c: Cleanup.
42487
42488 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42489 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42490 GLIBC_PRIVATE.
42491 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42492 * nss/makedb.c: Implement -g option to specify that value strings
42493 are generated and should not be added to table iterated over for
42494 get*ent calls.
42495 * nss/nss_db/db-initgroups.c: New file.
42496
42497 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42498 interface.
42499
42500 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42501 (internal_getgrouplist): Adjust to name change.
42502 Update use_initgroups_entry if this is not the first call.
42503 * nss/databases.def: Add initgroups entry.
42504
42505 * nss/makedb.c (compute_tables): Check result of multiple hash table
42506 sizes to minimize maximum chain length.
42507
42508 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42509
42510 * Versions.def: Add entry for libnss_db.
42511 * shlib-versions: Likewise.
42512 * nss/Makefile: Add rules to build libnss_db.
42513 * nss/Versions: Add libnss_db information. Organize libnss_files
42514 entries better.
42515 * nss/db-Makefile: Add gshadow support. Change rules for the new
42516 makedb progra. Some minor improvements to generate smaller files.
42517 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42518 here from...
42519 * nss/makedb.c: ...here.
42520 Improve database format to be smaller and require less memory at
42521 runtime.
42522 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42523 db anymore.
42524 * nss/nss_db/db-netgrp.c: Likewise.
42525 * nss/nss_db/db-open.c: Likewise.
42526 * nss/nss_files/flies-XXX.x: Adjust comments.
42527 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42528 * nss/nss_files/files-grp.c: Likewise.
42529 * nss/nss_files/files-hosts.c: Likewise.
42530 * nss/nss_files/files-network.c: Likewise.
42531 * nss/nss_files/files-proto.c: Likewise.
42532 * nss/nss_files/files-pwd.c: Likewise.
42533 * nss/nss_files/files-rpc.c: Likewise.
42534 * nss/nss_files/files-service.c: Likewise.
42535 * nss/nss_files/files-sgrp.c: Likewise.
42536 * nss/nss_files/files-spwd.c: Likewise.
42537 * nss/nss_db/db-alias.c: Removed.
42538 * nss/nss_db/dummy-db.h: Removed.
42539
42540 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42541
42542 * nss/makedb.c: Rewritten to not use database library.
42543 * nss/Makefile: Update to build new makedb program.
42544
42545 2011-06-14 Andreas Jaeger <aj@suse.de>
42546
42547 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42548 memset declaration.
42549
42550 2011-06-10 Andreas Schwab <schwab@redhat.com>
42551
42552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42553 tmpbuf.
42554
42555 2011-06-10 Roland McGrath <roland@hack.frob.com>
42556
42557 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42558 * elf/Makefile ($(objpfx)ld.so): Likewise.
42559
42560 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42561 Don't list ld.so twice in dependencies.
42562
42563 * posix/bug-regex31.c: Include <stdlib.h>.
42564
42565 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42566
42567 * nis/nss_compat/compat-spwd.c
42568 (getspent_next_nss_netgr): Remove unused variable.
42569 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42570
42571 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42572 nonmembers" output to use the right array.
42573
42574 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42575
42576 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42577
42578 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42579 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42580 * catgets/gencat.c (read_input_file): Likewise.
42581 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42582
42583 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42584 variable definition inside #if's controlling its use.
42585
42586 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42587
42588 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42589
42590 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42591
42592 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42593 unreachable code.
42594
42595 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42596
42597 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42598 * configure: Regenerated.
42599
42600 * Makerules: Revert last change.
42601 * elf/Makefile: Likewise.
42602
42603 2011-06-09 Roland McGrath <roland@hack.frob.com>
42604
42605 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42606 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42607 (reloc-link): Likewise.
42608
42609 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42610
42611 * elf/Makefile: Add rules to build pldd.
42612 * elf/pldd.c: New file.
42613 * elf/pldd-xx.c: New file.
42614
42615 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42616
42617 * version.h: Update for 2.15 development version.
42618
42619 2011-06-07 David S. Miller <davem@davemloft.net>
42620
42621 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42622 ifuncs.
42623 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42624 elf_machine_lazy_rel): Likewise.
42625 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42626 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42627 elf_machine_lazy_rel): Likewise.
42628 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42629 dl_hwcap via passed in argument.
42630 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42631 Likewise.
42632
42633 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42634
42635 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42636
42637 2011-06-06 Roland McGrath <roland@hack.frob.com>
42638
42639 [BZ #12849]
42640 * manual/fdl-1.1.texi: New file, verbatim from:
42641 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42642 * manual/lgpl-2.1.texi: New file, verbatim from:
42643 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42644 * manual/Makefile (licenses): New variable, list those new file names.
42645 (texis): Use it.
42646 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42647
42648 * manual/fdl.texi: File removed.
42649 * manual/lesser.texi: File removed.
42650 * manual/libc.texinfo (Copying, Documentation License):
42651 Use new @include file names, put @appendix directive before @include.
42652
42653 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42654
42655 [BZ #12841]
42656 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42657 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42658 (mq_open): Add __NTH.
42659
42660 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42661
42662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42663 Assume Intel Core i3/i5/i7 processor if AVX is available.
42664
42665 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42666
42667 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42668 typo.
42669
42670 2011-05-31 Andreas Schwab <schwab@redhat.com>
42671
42672 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42673 memory. Use alloca_account. Fix memory leak when retrying.
42674
42675 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42676
42677 * version.h (RELEASE): Bump for 2.14 release.
42678 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42679
42680 * config.make.in (RANLIB): Remove entry.
42681
42682 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42683
42684 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42685 (libc.pot): Work around missing support for .ksh extension in xgettext.
42686
42687 [BZ #12684]
42688 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42689 if both request failed.
42690 (send_dg): In case of server errors clear resplen or *resplen2.
42691
42692 [BZ #12454]
42693 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42694 when there are multiple maps.
42695 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42696 (_dl_fini): Remove test here.
42697
42698 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42699
42700 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42701
42702 [BZ #12350]
42703 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42704 bit from old_res_options.
42705 (gaih_inet): Likewise.
42706
42707 [BZ #11099]
42708 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42709 as signed.
42710
42711 * resolv/res_init.c (res_setoptions): Make the code more compact.
42712
42713 [BZ #11558]
42714 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42715 set RES_USEVC.
42716
42717 [BZ #11634]
42718 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42719
42720 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42721
42722 [BZ #11781]
42723 * malloc/malloc.h: Declare malloc hook variables as volatile.
42724
42725 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42726 in last patch.
42727
42728 [BZ #11799]
42729 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42730 raise in the comment.
42731 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42732 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42733 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42734
42735 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42736
42737 [BZ #12811]
42738 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42739 grow the buffers more if it already has to be sufficient.
42740 (build_wcs_upper_buffer): Likewise.
42741 * posix/regexec.c (check_matching): Likewise.
42742 (clean_state_log_if_needed): Likewise.
42743 (extend_buffers): Don't enlarge buffers beyond size of the input
42744 buffer.
42745 Patches mostly by Emil Wojak <emil@wojak.eu>.
42746 * posix/bug-regex32.c: New file.
42747 * posix/Makefile (tests): Add bug-regex32.
42748
42749 * locale/findlocale.c (_nl_find_locale): Return right away if
42750 _nl_explode_name failed.
42751 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42752
42753 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42754
42755 * debug/xtrace.sh: Unify messages.
42756 * malloc/memusage.sh: Likewise.
42757
42758 [BZ #12813]
42759 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42760 time symbol from vDSO. Substitute with vsyscall if not available.
42761 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42762 __vdso_time.
42763
42764 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42765 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42766 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42767 Add sendmmsg and internal_sendmmsg.
42768 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42769 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42770 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42771
42772 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42773 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42774 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42775
42776 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42777
42778 [BZ #12813]
42779 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42780 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42781 available.
42782 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42783 __vdso_getcpu.
42784
42785 [BZ #12814]
42786 * iconvdata/Makefile (tests): Add bug-iconv9.
42787 * iconvdata/bug-iconv9.c: New file.
42788
42789 2011-05-27 Andreas Schwab <schwab@redhat.com>
42790
42791 [BZ #12814]
42792 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42793
42794 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42795
42796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42797 (struct user_regs_struct): Change intcs field back to cs.
42798
42799 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42800
42801 * po/ja.po: Update from translation team.
42802
42803 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42804
42805 [BZ #12795]
42806 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42807 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42808
42809 2011-05-20 Andreas Schwab <schwab@redhat.com>
42810
42811 * stdlib/longlong.h: Update from GCC.
42812
42813 2011-05-23 Andreas Schwab <schwab@redhat.com>
42814
42815 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42816 parameter name.
42817 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42818 Add parameter name.
42819 (__sysconf): Pass it down.
42820
42821 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42822
42823 [BZ #12671]
42824 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42825 some situations.
42826 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42827 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42828 add in in __libc_use_alloca calls. Adjust callers.
42829 (glob): Use malloc in some situations.
42830
42831 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42832 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42833 pltexit.
42834
42835 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42836
42837 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42838 and CLOCK_BOOTTIME_ALARM.
42839
42840 [BZ #12782]
42841 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42842 is returned.
42843
42844 * string/_strerror.c (__strerror_r): Print negative errors as signed
42845 numbers.
42846
42847 [BZ #12777]
42848 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42849 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42850 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42851
42852 * configure.in: Fix typo in redirection and correct removal of test
42853 files in two cases.
42854
42855 [BZ #12788]
42856 * locale/setlocale.c (new_composite_name): Fix test to check for
42857 identical name of all categories.
42858
42859 [BZ #12792]
42860 * libio/filedoalloc.c (local_isatty): New function.
42861 (_IO_file_doallocate): Use local_isatty.
42862 * stdio-common/perror.c (perror): In case a new stream is used
42863 forward the stream error.
42864 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42865 error flag.
42866
42867 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42868
42869 [BZ #11869]
42870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42871 alloca.
42872 * include/alloca.h (extend_alloca_account): Define.
42873
42874 [BZ #11857]
42875 * posix/regex.h: Fix comments with documentation of user-accessible
42876 fields after compilation and describe correct free'ing of pattern
42877 after re_compile_pattern.
42878 Patch by Reuben Thomas <rrt@sc3d.org>.
42879
42880 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42881
42882 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42883 and -mno-altivec to prevent the compiler from using Altivec and/or
42884 VSX instructions when the corresponding registers are not available.
42885
42886 2011-05-19 Andreas Schwab <schwab@redhat.com>
42887
42888 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42889
42890 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42891
42892 * libio/freopen.c (freopen): Use __dup2, not dup2.
42893 * libio/freopen64.c (freopen64): Likewise.
42894
42895 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42896
42897 [BZ #12775]
42898 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42899 * math/Makefile (tests): Add test-powl.
42900 (CFLAGS-test-powl.c): Define.
42901 * math/test-powl.c: New file.
42902
42903 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42904
42905 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42906
42907 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42908
42909 [BZ #11837]
42910 * iconvdata/gb18030.c: Update to GB18020-2005.
42911
42912 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42913
42914 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42915 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42916 Patch by Aharon Robbins <arnold@skeeve.com>.
42917
42918 [BZ #11892]
42919 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42920 on the stack.
42921
42922 [BZ #11895]
42923 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42924 through underflows.
42925
42926 [BZ #12766]
42927 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42928 point to strings before performing equality test for error_one_per_line
42929 mode.
42930
42931 [BZ #11697]
42932 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42933
42934 [BZ #11820]
42935 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42936 (struct user_fpregs_struct): Avoid __uint*_t types.
42937
42938 [BZ #6420]
42939 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42940 symbol info. Use it instead of calling _dl_addr locally.
42941 (lock_and_info): New function.
42942 (tr_freehook): Call lock_and_info and pass symbol info as additional
42943 parameter to tr_where.
42944 (tr_mallochook): Likewise.
42945 (tr_reallochook): Likewise.
42946 (tr_memalignhook): Likewise.
42947
42948 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42949 used and couldn't be at all thread-safe.
42950
42951 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42952
42953 * libio/freopen.c (freopen): Don't close old file descriptor
42954 before the new one is opened. Instead dup the new file descriptor
42955 to the old one after the new stream is created.
42956 * libio/freopen64.c (freopen64): Likewise.
42957 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42958 * libio/fileops.c (_IO_new_file_close_it): Handle new
42959 _IO_FLAGS2_NOCLOSE flag.
42960 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42961 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42962 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42963 _IO_FLAGS2_NOCLOSE flag.
42964 * include/unistd.h: Add hidden_proto for dup3.
42965 Define __have_dup3.
42966 * io/dup3.c: Define hidden symbol.
42967 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42968
42969 [BZ #7101]
42970 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42971 when an incomplete long option is used.
42972 * posix/tst-getopt_long1.c: New file.
42973 * posix/Makefile (tests): Add tst-getopt_long1.
42974
42975 [BZ #10138]
42976 * scripts/config.guess: Update from autoconf-2.68.
42977 * scripts/config.sub: Likewise.
42978
42979 [BZ #10157]
42980 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42981 tests into ...
42982 (has_cpuclock): ...this. New function.
42983 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42984 macro here based on has_cpuclock code.
42985
42986 [BZ #10149]
42987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42988 First byte (not low byte) is now always NUL.
42989 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42990
42991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42992 Use non-cancelable interfaces.
42993
42994 [BZ #9809]
42995 * locale/iso-639.def: Add entry for Sorani.
42996
42997 [BZ #11901]
42998 * include/stdlib.h: Move include protection to the right place.
42999 Define abort_msg_s. Declare __abort_msg with it.
43000 * stdlib/abort.c (__abort_msg): Adjust type.
43001 * assert/assert.c (__assert_fail_base): New function. Majority
43002 of code from __assert_fail. Allocate memory for __abort_msg with
43003 mmap.
43004 (__assert_fail): Now call __assert_fail_base.
43005 * assert/assert-perr.c: Remove bulk of implementation. Use
43006 __assert_fail_base.
43007 * include/assert.hL Declare __assert_fail_base.
43008 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43009 mmap.
43010 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43011
43012 2011-05-14 Ulrich Drepper <drepper@gmail.com>
43013
43014 [BZ #11952]
43015 [BZ #12453]
43016 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43017 until all modules are registered in the DTV.
43018 * elf/Makefile: Add rules to build and run tst-tls19.
43019 * elf/tst-tls19.c: New file.
43020 * elf/tst-tls19mod1.c: New file.
43021 * elf/tst-tls19mod2.c: New file.
43022 * elf/tst-tls19mod3.c: New file.
43023 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43024
43025 [BZ #12083]
43026 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43027 correctly.
43028
43029 [BZ #12601]
43030 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43031 two-byte sequence errors.
43032 * iconvdata/Makefile (tests): Add bug-iconv8.
43033 * iconvdata/bug-iconv8.c: New file.
43034
43035 [BZ #12626]
43036 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43037 buf2 definition.
43038
43039 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43040
43041 [BZ #12432]
43042 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43043 (dummy_getcfa): New function.
43044 (init): Get _Unwind_GetCFA address, use dummy if not found.
43045 (backtrace_helper): In recursion check, also check whether CFA changes.
43046 (__backtrace): Completely initialize arg.
43047
43048 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43049 storing incomplete byte sequence in state object. Avoid testing for
43050 guaranteed too small input if we know there is enough data available.
43051
43052 2011-05-11 Andreas Schwab <schwab@redhat.com>
43053
43054 * Makeconfig (+link-pie): Indent.
43055 * Rules (binaries-pie): Define if $(have-fpie) and
43056 $(build-shared).
43057 (binaries-shared): Also filter out $(binaries-pie).
43058 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43059 * nscd/Makefile (others-pie): Add nscd.
43060 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43061 ($(objpfx)nscd): Remove command override.
43062 * login/Makefile (others-pie): Add pt_chown.
43063 ($(objpfx)pt_chown): Remove command override.
43064 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43065 remove command overrides.
43066
43067 2011-05-13 Ulrich Drepper <drepper@gmail.com>
43068
43069 * libio/tst_putwc.c: Fix error messages.
43070
43071 [BZ #12724]
43072 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43073 currently writing and seek to current position when not.
43074 * libio/Makefile (tests): Add bug-fclose1.
43075 * libio/bug-fclose1.c: New file.
43076
43077 2011-05-12 Ulrich Drepper <drepper@gmail.com>
43078
43079 [BZ #12511]
43080 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43081 don't set DF_1_NODELETE here.
43082 (do_lookup_x): When entering new entry test for copy relocation
43083 and if necessary set DF_1_NODELETE flag.
43084 * elf/tst-unique4.cc: New file.
43085 * elf/tst-unique4.h: New file.
43086 * elf/tst-unique4lib.cc: New file.
43087 * elf/Makefile: Add rules to build and run tst-unique4.
43088 Patch by Piotr Bury <pbury@goahead.com>.
43089
43090 2011-05-11 Ulrich Drepper <drepper@gmail.com>
43091
43092 [BZ #12052]
43093 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43094
43095 [BZ #12625]
43096 * misc/mntent_r.c (addmntent): Flush the stream after the output
43097
43098 [BZ #12393]
43099 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43100 (is_trusted_path_normalize): Skip initial colon. Append slash
43101 to empty buffer. Duplicate is_trusted_path code but allow
43102 constructed patch to be prefix.
43103 (is_dst): Allow $ORIGIN followed by /.
43104 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43105 Correct testing of result of is_trusted_path_normalize
43106 (decompose_rpath): Fix warning.
43107
43108 2011-05-10 Ulrich Drepper <drepper@gmail.com>
43109
43110 [BZ #11257]
43111 * grp/initgroups.c (internal_getgrouplist): When we found the service
43112 list through the initgroups entry in nsswitch.conf do not always
43113 continue on a successful lookup. Don't always use the
43114 __nss_group_database value if it is set.
43115 * nss/nsswitch.conf (initgroups): Change action for successful db
43116 lookup to continue for compatibility.
43117
43118 2011-05-09 Ulrich Drepper <drepper@gmail.com>
43119
43120 [BZ #11532]
43121 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43122 and CP774 modules.
43123 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43124 and CP774 modules.
43125 * iconvdata/tst-tables.sh: Likewise.
43126 * iconvdata/cp770.c: New file.
43127 * iconvdata/cp771.c: New file.
43128 * iconvdata/cp772.c: New file.
43129 * iconvdata/cp773.c: New file.
43130 * iconvdata/cp774.c: New file.
43131 * iconvdata/testdata/CP770: New file.
43132 * iconvdata/testdata/CP770..UTF8: New file.
43133 * iconvdata/testdata/CP771: New file.
43134 * iconvdata/testdata/CP771..UTF8: New file.
43135 * iconvdata/testdata/CP772: New file.
43136 * iconvdata/testdata/CP772..UTF8: New file.
43137 * iconvdata/testdata/CP773: New file.
43138 * iconvdata/testdata/CP773..UTF8: New file.
43139 * iconvdata/testdata/CP774: New file.
43140 * iconvdata/testdata/CP774..UTF8: New file.
43141
43142 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43143 END CHARMAP line.
43144 * iconvdata/gen-8bit-gap.sh: Likewise.
43145 * iconvdata/gen-8bit.sh: Likewise.
43146
43147 * locale/iso-639.def: Add ary entry.
43148
43149 [BZ #11258]
43150 * locale/C-translit.h.in: Add U20A1 transliteration.
43151
43152 [BZ #12178]
43153 * locale/iso-639.def: Add wae entry.
43154 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43155
43156 [BZ #12545]
43157 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43158 for n.
43159
43160 [BZ #12711]
43161 * locale/C-translit.h.in: Add entry for U20B9.
43162 Patch by pravin.d.s@gmail.com.
43163
43164 2011-05-08 Ulrich Drepper <drepper@gmail.com>
43165
43166 [BZ #12713]
43167 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43168 ENAMETOOLONG use generic getcwd.
43169 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43170 in rtld. Use *stat64.
43171 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43172 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43173 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43174 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43175 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43176 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43177 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43178 __fstatat64 macros.
43179 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43180 * dirent/rewinddir.c: Add libc_hidden_def.
43181 * sysdeps/mach/hurd/rewinddir.c: Likewise.
43182 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
43183
43184 * include/dirent.h (__alloc_dir): Add flags parameter.
43185 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43186 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43187 __alloc_dir.
43188 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43189 from fdopendir if O_CLOEXEC is already set.
43190
43191 2011-03-15 Alan Modra <amodra@gmail.com>
43192
43193 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43194 l_tls_firstbyte_offset non-zero. Save padding offset in
43195 l_tls_firstbyte_offset for later use.
43196 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43197 freeing static tls block.
43198
43199 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43200
43201 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43202 where #ifdef was intended. The intent is to prevent ARG_MAX from
43203 being defined by the kernel headers.
43204
43205 2011-05-07 Ulrich Drepper <drepper@gmail.com>
43206
43207 [BZ #12734]
43208 * resolv/resolv.h: Define RES_NOTLDQUERY.
43209 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43210 no-tld-query and set RES_NOTLDQUERY.
43211 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43212 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43213 modern BIND to search name as TLD unless forbidden.
43214
43215 2011-05-07 Petr Baudis <pasky@suse.cz>
43216 Ulrich Drepper <drepper@gmail.com>
43217
43218 [BZ #12393]
43219 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43220 (is_trusted_path): ...to here.
43221 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43222 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43223 using is_trusted_path_normalize() in setuid scripts.
43224
43225 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43226
43227 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43228 __BEGIN/__END_DECLS.
43229
43230 2011-05-06 Ulrich Drepper <drepper@gmail.com>
43231
43232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43233 NSS_STATUS_NOTFOUND if no record was found.
43234
43235 2011-05-05 Andreas Schwab <schwab@redhat.com>
43236
43237 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43238 (headers-not-in-tirpc): Remove rpc/netdb.h
43239 * resolv/netdb.h: Revert last change.
43240
43241 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43242
43243 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43244 circular dependency between libgcc.a and libc.a.
43245
43246 2011-05-05 Andreas Schwab <schwab@redhat.com>
43247
43248 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43249 * nis/Makefile: Don't install rpcsvc/*.
43250 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43251 instead of <rpc/types.h>.
43252 (MAXHOSTNAMELEN): Define.
43253
43254 2011-05-03 Andreas Schwab <schwab@redhat.com>
43255
43256 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43257
43258 2011-04-28 Maciej Babinski <mbabinski@google.com>
43259
43260 [BZ #12714]
43261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43262 gethostbyname4_r when IPv6 results are possible.
43263
43264 2011-05-02 Ulrich Drepper <drepper@gmail.com>
43265
43266 [BZ #12723]
43267 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43268 _PC_PIPE_BUF handling.
43269
43270 2011-04-30 Bruno Haible <bruno@clisp.org>
43271
43272 [BZ #12717]
43273 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43274 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43275 to 'int'.
43276 * inet/getnameinfo.c (getnameinfo): Likewise.
43277
43278 2011-04-29 Ulrich Drepper <drepper@gmail.com>
43279
43280 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43281 to groups setting in database lookup.
43282 * nss/nsswitch.conf: Add initgroups entry.
43283
43284 2011-04-22 Ulrich Drepper <drepper@gmail.com>
43285
43286 [BZ #12685]
43287 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43288 mode string.
43289 Patch by Eric Blake <eblake@redhat.com>.
43290
43291 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43292
43293 * sunrpc/Makefile (need-export-routines): Add svc_run.
43294 (routines): Remove svc_run.
43295 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43296 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43297 * sunrpc/svc_run.c (svc_run): Likewise.
43298 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43299
43300 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43301
43302 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43303 problem in reallocation in last patch.
43304
43305 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43306
43307 * sunrpc/Makefile: Move inclusion of Rules.
43308
43309 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43310
43311 * nss/nss_files/files-initgroups.c: New file.
43312 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43313 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43314 _nss_files_initgroups_dyn.
43315
43316 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43317
43318 * elf/elf.h (R_ARM_IRELATIVE): Define.
43319
43320 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43321
43322 * po/ru.po: Update from translation team.
43323
43324 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43325
43326 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43327 dependencies.
43328
43329 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43330
43331 [BZ #12653]
43332 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43333 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43334 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43335 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43336 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43337
43338 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43339
43340 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43341 differing bytes.
43342 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43343 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43344 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43345
43346 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43347
43348 [BZ #12420]
43349 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43350 storing it.
43351 * stdlib/bug-getcontext.c: New file.
43352 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43353
43354 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43355
43356 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43357 instructions into .machine "z9-109".
43358 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43359 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43360
43361 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43362
43363 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43364 between environment variables and auxiliary vector.
43365
43366 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43367
43368 * Makefile: Add rules to build linkobj/libc.so.
43369 * include/libc-symbols.h: Define libc_hidden_nolink.
43370 * include/rpc/auth.h: Mark functions which are to be hidden.
43371 * include/rpc/auth_des.h: Likewise.
43372 * include/rpc/auth_unix.h: Likewise.
43373 * include/rpc/clnt.h: Likewise.
43374 * include/rpc/des_crypt.h: Likewise.
43375 * include/rpc/key_prot.h: Likewise.
43376 * include/rpc/pmap_clnt.h: Likewise.
43377 * include/rpc/pmap_prot.h: Likewise.
43378 * include/rpc/pmap_rmt.h: Likewise.
43379 * include/rpc/rpc_msg.h: Likewise.
43380 * include/rpc/svc.h: Likewise.
43381 * include/rpc/svc_auth.h: Likewise.
43382 * include/rpc/xdr.h: Likewise.
43383 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43384 * nss/Makefile: Likewise.
43385 * sunrpc/Makefile: Don't install headers. Build library with normal
43386 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43387 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43388 for the compat linking library. Remove use of INTDEF/INTUSE.
43389 * sunrpc/auth_none.c: Likewise.
43390 * sunrpc/auth_unix.c: Likewise.
43391 * sunrpc/authdes_prot.c: Likewise.
43392 * sunrpc/authuxprot.c: Likewise.
43393 * sunrpc/clnt_gen.c: Likewise.
43394 * sunrpc/clnt_perr.c: Likewise.
43395 * sunrpc/clnt_raw.c: Likewise.
43396 * sunrpc/clnt_simp.c: Likewise.
43397 * sunrpc/clnt_tcp.c: Likewise.
43398 * sunrpc/clnt_udp.c: Likewise.
43399 * sunrpc/clnt_unix.c: Likewise.
43400 * sunrpc/des_crypt.c: Likewise.
43401 * sunrpc/des_soft.c: Likewise.
43402 * sunrpc/get_myaddr.c: Likewise.
43403 * sunrpc/key_call.c: Likewise.
43404 * sunrpc/key_prot.c: Likewise.
43405 * sunrpc/netname.c: Likewise.
43406 * sunrpc/pm_getmaps.c: Likewise.
43407 * sunrpc/pm_getport.c: Likewise.
43408 * sunrpc/pmap_clnt.c: Likewise.
43409 * sunrpc/pmap_prot.c: Likewise.
43410 * sunrpc/pmap_prot2.c: Likewise.
43411 * sunrpc/pmap_rmt.c: Likewise.
43412 * sunrpc/publickey.c: Likewise.
43413 * sunrpc/rpc_cmsg.c: Likewise.
43414 * sunrpc/rpc_common.c: Likewise.
43415 * sunrpc/rpc_dtable.c: Likewise.
43416 * sunrpc/rpc_prot.c: Likewise.
43417 * sunrpc/rpc_thread.c: Likewise.
43418 * sunrpc/rtime.c: Likewise.
43419 * sunrpc/svc.c: Likewise.
43420 * sunrpc/svc_auth.c: Likewise.
43421 * sunrpc/svc_authux.c: Likewise.
43422 * sunrpc/svc_raw.c: Likewise.
43423 * sunrpc/svc_run.c: Likewise.
43424 * sunrpc/svc_simple.c: Likewise.
43425 * sunrpc/svc_tcp.c: Likewise.
43426 * sunrpc/svc_udp.c: Likewise.
43427 * sunrpc/svc_unix.c: Likewise.
43428 * sunrpc/svcauth_des.c: Likewise.
43429 * sunrpc/xcrypt.c: Likewise.
43430 * sunrpc/xdr.c: Likewise.
43431 * sunrpc/xdr_array.c: Likewise.
43432 * sunrpc/xdr_float.c: Likewise.
43433 * sunrpc/xdr_intXX_t.c: Likewise.
43434 * sunrpc/xdr_mem.c: Likewise.
43435 * sunrpc/xdr_rec.c: Likewise.
43436 * sunrpc/xdr_ref.c: Likewise.
43437 * sunrpc/xdr_sizeof.c: Likewise.
43438 * sunrpc/xdr_stdio.c: Likewise.
43439
43440 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43441
43442 [BZ #12650]
43443 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43444 * sysdeps/ia64/dl-tls.h: Likewise.
43445 * sysdeps/powerpc/dl-tls.h: Likewise.
43446 * sysdeps/s390/dl-tls.h: Likewise.
43447 * sysdeps/sh/dl-tls.h: Likewise.
43448 * sysdeps/sparc/dl-tls.h: Likewise.
43449 * sysdeps/x86_64/dl-tls.h: Likewise.
43450 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43451
43452 2011-03-14 Andreas Schwab <schwab@redhat.com>
43453
43454 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43455 rpath element also skip the following colon.
43456 (expand_dynamic_string_token): Add is_path parameter and pass
43457 down to DL_DST_REQUIRED and _dl_dst_substitute.
43458 (decompose_rpath): Call expand_dynamic_string_token with
43459 non-zero is_path. Ignore empty rpaths.
43460 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43461 with zero is_path.
43462
43463 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43464
43465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43466 Make cancelable.
43467
43468 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43469
43470 [BZ #12655]
43471 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43472 Patch by Filipe David Manana <fdmanana@apache.org>.
43473
43474 2011-04-07 Andreas Schwab <schwab@redhat.com>
43475
43476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43477 Maintain aligned stack.
43478 (CHECK_RSP): Remove unused macro.
43479
43480 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43481
43482 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43483 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43484
43485 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43486
43487 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43488
43489 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43490
43491 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43492
43493 [BZ #12518]
43494 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43495 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43496 * sysdeps/x86_64/memmove.c: New file.
43497 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43498 (memcpy): Renamed to ...
43499 (__new_memcpy): This.
43500 (memcpy): Provide GLIBC_2_14 memcpy.
43501 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43502 (memcpy): Provide GLIBC_2_2_5 memcpy.
43503
43504 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43505
43506 [BZ #12631]
43507 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43508
43509 2011-03-30 Andreas Schwab <schwab@redhat.com>
43510
43511 * misc/syncfs.c: New file.
43512 * misc/Makefile (routines): Add syncfs.
43513 * posix/unistd.h: Declare syncfs.
43514 * sysdeps/unix/syscalls.list: Add syncfs.
43515
43516 2011-04-01 Andreas Schwab <schwab@redhat.com>
43517
43518 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43519 open_by_handle_at.
43520 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43521 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43523 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43525 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43526 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43527
43528 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43529
43530 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43531 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43532 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43534 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43536 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43537
43538 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43539 sync_file_range.c with -fexceptions.
43540 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43541 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43542 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43543 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43544 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43545 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43546 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43547 sync_file_range as cancellation point
43548 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43549 now a wrapper around __call_sync_file_range with cancellation handling.
43550 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43551 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43552 function name to __call_sync_file_range.
43553 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43554 Add call_sync_file_range.
43555
43556 2011-04-01 Andreas Schwab <schwab@redhat.com>
43557
43558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43559 bits/timex.h.
43560
43561 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43562
43563 * iconv/iconv.h: Fix typo in comment.
43564 * io/fcntl.h: Likewise.
43565 * libio/stdio.h: Likewise.
43566 * posix/spawn.h: Likewise.
43567 * posix/unistd.h: Likewise.
43568 * stdlib/stdlib.h: Likewise.
43569 * time/time.h: Likewise.
43570 * wcsmbs/wchar.h: Likewise.
43571
43572 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43573 open_by_handle): Add.
43574 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43575 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43576 Augment a few comments.
43577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43579 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43582 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43583 open_by_handle.
43584
43585 * io/fcntl.h (AT_EMPTY_PATH): Define.
43586
43587 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43588
43589 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43590 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43591 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43592 to...
43593 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43594 * Versions.def: Add GLIBC_2.14.
43595 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43596 Export.
43597
43598 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43599
43600 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43601 round counter.
43602 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43603
43604 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43605
43606 [BZ #12597]
43607 * string/test-strncmp.c (do_page_test): New function.
43608 (check2): Likewise.
43609 (test_main): Call check2.
43610 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43611
43612 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43613
43614 [BZ #12587]
43615 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43616 Handle cache information in CPU leaf 4.
43617 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43618
43619 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43620
43621 [BZ #12583]
43622 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43623 character representation.
43624 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43625
43626 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43627
43628 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43629 END(__isnan) to END(__isnanf) to match function entry point/label
43630 EALIGN(__isnanf,...).
43631
43632 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43633
43634 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43635
43636 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43637
43638 [BZ #12510]
43639 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43640 copy from the symbol referenced in the relocation to initialize the
43641 used variable.
43642 Patch by Piotr Bury <pbury@goahead.com>.
43643 * elf/Makefile: Add rules to build and tst-unique3.
43644 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43645 * elf/tst-unique3.cc: New file.
43646 * elf/tst-unique3.h: New file.
43647 * elf/tst-unique3lib.cc: New file.
43648 * elf/tst-unique3lib2.cc: New file.
43649
43650 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43651
43652 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43653
43654 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43655 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43656 to _start.
43657
43658 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43659
43660 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43661 to-be-loaded object along a path to loader is ld.so.
43662
43663 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43664 Ulrich Drepper <drepper@gmail.com>
43665
43666 * sysdeps/x86_64/memset.S: After aligning destination, code
43667 branches to different locations depending on the value of
43668 misalignment, when multiarch is enabled. Fix this.
43669
43670 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43671
43672 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43673 Set _x86_64_preferred_memory_instruction for AMD processsors.
43674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43675 Set bit_Prefer_SSE_for_memop for AMD processors.
43676
43677 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43678
43679 * libio/fmemopen.c (fmemopen): Optimize a bit.
43680
43681 2011-03-03 Andreas Schwab <schwab@redhat.com>
43682
43683 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43684
43685 2011-03-03 Roland McGrath <roland@redhat.com>
43686
43687 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43688
43689 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43690
43691 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43692 __bzero_ultra1 instead of __memset_ultra1.
43693
43694 2011-02-23 Andreas Schwab <schwab@redhat.com>
43695 Ulrich Drepper <drepper@gmail.com>
43696
43697 [BZ #12509]
43698 * include/link.h (struct link_map): Add l_orig_initfini.
43699 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43700 returning unsuccessfully.
43701 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43702 close of a file loaded at startup, restore the original l_initfini
43703 list.
43704 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43705 list, store the pointer.
43706 * elf/Makefile ($(objpfx)noload-mem): New rule.
43707 (noload-ENV): Define.
43708 (tests): Add $(objpfx)noload-mem.
43709 * elf/noload.c: Include <memcheck.h>.
43710 (main): Call mtrace. Close all opened handles.
43711
43712 2011-02-17 Andreas Schwab <schwab@redhat.com>
43713
43714 [BZ #12454]
43715 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43716 dependencies are missing.
43717
43718 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43719
43720 Fix __if_freereq crash: Unlike the generic version which uses free,
43721 Hurd needs munmap.
43722 * sysdeps/mach/hurd/ifreq.h: New file.
43723
43724 2011-01-27 Petr Baudis <pasky@suse.cz>
43725 Ulrich Drepper <drepper@gmail.com>
43726
43727 [BZ 12445]#
43728 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43729 to extend_alloca().
43730 * stdio-common/bug23.c: New file.
43731 * stdio-common/Makefile (tests): Add bug23.
43732
43733 2010-09-28 Andreas Schwab <schwab@redhat.com>
43734 Ulrich Drepper <drepper@gmail.com>
43735
43736 [BZ #12489]
43737 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43738 before performing relro protection. At old place add assertion
43739 to make sure nothing changed.
43740
43741 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43742 Glauber de Oliveira Costa <glommer@gmail.com>
43743
43744 * elf/elf.h: Add new ARM TLS relocs.
43745
43746 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43747
43748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43749 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43750 cast from r3.
43751 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43752 'tests' variable.
43753 * sysdeps/wordsize-64/tst-writev.c: New file.
43754
43755 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43756
43757 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43758 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43759 insns in _dl_start to prevent a TOC reference before relocs are
43760 resolved.
43761
43762 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43763
43764 [BZ #12469]
43765 * Makeconfig: Remove RANLIB definition.
43766 * Makerules: Don't use RANLIB.
43767 * aclocal.m4: Remove ranlib test.
43768 * configure.in: No need to check for ranlib.
43769 * elf/rtld-Rules: Don't use RANLIB.
43770
43771 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43772
43773 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43774 protection macro.
43775 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43776 inclusion protection macro.
43777
43778 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43779 SIGRTMIN and SIGRTMAX and print information in that case only when
43780 SIGRTMIN is defined.
43781
43782 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43783
43784 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43785 arginfo fn returning -1.
43786
43787 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43788 and thousands string is zero terminated.
43789
43790 2011-02-03 Andreas Schwab <schwab@redhat.com>
43791
43792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43793 sysdeps/unix/sysv/linux/bits/socket.h.
43794
43795 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43796
43797 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43798 (__CPU_COUNT): Remove old macros.
43799 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43800 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43801 (__CPU_ALLOC, __CPU_FREE): Add macros.
43802 (__sched_cpualloc, __sched_cpufree): Add declarations.
43803
43804 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43805
43806 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43807 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43808 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43809 (readdhstai): Return value of addhstaiX call.
43810 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43811 (addgrbyX): Return value returned by cache_addgr.
43812 (readdgrbyname): Return value returned by addgrbyX.
43813 (readdgrbygid): Likewise.
43814 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43815 (addpwbyX): Return value returned by cache_addpw.
43816 (readdpwbyname): Return value returned by addhstbyX.
43817 (readdpwbyuid): Likewise.
43818 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43819 (addservbyX): Return value returned by cache_addserv.
43820 (readdservbyname): Return value returned by addservbyX:
43821 (readdservbyport): Likewise.
43822 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43823 (addhstbyX): Return value returned by cache_addhst.
43824 (readdhstbyname): Return value returned by addhstbyX.
43825 (readdhstbyaddr): Likewise.
43826 (readdhstbynamev6): Likewise.
43827 (readdhstbyaddrv6): Likewise.
43828 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43829 (readdinitgroups): Return value returned by addinitgroupsX.
43830 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43831 (prune_cache): Keep track of timeout value of re-added entries.
43832 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43833 * nscd/nscd.h: Adjust prototypes of readd* functions.
43834
43835 2011-02-04 Roland McGrath <roland@redhat.com>
43836
43837 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43838 (nis_stats): Likewise.
43839 * nis/nis_modify.c (nis_modify): Likewise.
43840 * nis/nis_remove.c (nis_remove): Likewise.
43841 * nis/nis_add.c (nis_add): Likewise.
43842
43843 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43844
43845 * posix/fnmatch_loop.c: Add some consts.
43846
43847 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43848
43849 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43850
43851 [BZ #12460]
43852 * config.make.in (config-cflags-novzeroupper): Define.
43853 * configure.in: Substitute libc_cv_cc_novzeroupper.
43854 * elf/Makefile (AVX-CFLAGS): Define.
43855 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43856 (CFLAGS-tst-auditmod4a.c): Likewise.
43857 (CFLAGS-tst-auditmod4b.c): Likewise.
43858 (CFLAGS-tst-auditmod6b.c): Likewise.
43859 (CFLAGS-tst-auditmod6c.c): Likewise.
43860 (CFLAGS-tst-auditmod7b.c): Likewise.
43861 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43862
43863 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43864
43865 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43866 function to the callback.
43867 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43868
43869 2011-02-02 Andreas Schwab <schwab@redhat.com>
43870
43871 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43872 of errno.
43873
43874 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43875
43876 [BZ #11724]
43877 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43878 of constructors.
43879 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43880 of destructors.
43881 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43882
43883 [BZ #11724]
43884 * elf/Makefile: Add rules to build and run new test.
43885 * elf/tst-initorder.c: New file.
43886 * elf/tst-initorder.exp: New file.
43887 * elf/tst-initordera1.c: New file.
43888 * elf/tst-initordera2.c: New file.
43889 * elf/tst-initordera3.c: New file.
43890 * elf/tst-initordera4.c: New file.
43891 * elf/tst-initorderb1.c: New file.
43892 * elf/tst-initorderb2.c: New file.
43893 * elf/tst-order-a1.c: New file.
43894 * elf/tst-order-a2.c: New file.
43895 * elf/tst-order-a3.c: New file.
43896 * elf/tst-order-a4.c: New file.
43897 * elf/tst-order-b1.c: New file.
43898 * elf/tst-order-b2.c: New file.
43899 * elf/tst-order-main.c: New file.
43900 New test case by George Gensure <werkt0@gmail.com>.
43901
43902 2010-10-01 Andreas Schwab <schwab@redhat.com>
43903
43904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43905 decoding ACE if AI_CANONIDN.
43906
43907 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43908
43909 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43910
43911 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43912
43913 * version.h (RELEASE): Bump for 2.13 release.
43914 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43915
43916 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43917
43918 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43919 MADV_NOHUGEPAGE.
43920 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43921 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43922 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43923 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43924 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43925 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43926
43927 * posix/getconf.c: Update copyright year.
43928 * catgets/gencat.c: Likewise.
43929 * csu/version.c: Likewise.
43930 * debug/catchsegv.sh: Likewise.
43931 * debug/xtrace.sh: Likewise.
43932 * elf/ldconfig.c: Likewise.
43933 * elf/ldd.bash.in: Likewise.
43934 * elf/sprof.c (print_version): Likewise.
43935 * iconv/iconv_prog.c: Likewise.
43936 * iconv/iconvconfig.c: Likewise.
43937 * locale/programs/locale.c: Likewise.
43938 * locale/programs/localedef.c: Likewise.
43939 * malloc/memusage.sh: Likewise.
43940 * malloc/mtrace.pl: Likewise.
43941 * nscd/nscd.c (print_version): Likewise.
43942 * nss/getent.c: Likewise.
43943
43944 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43945 PF_CAIF, and PF_ALG.
43946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43947
43948 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43949
43950 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43951 (modules-names): Use them.
43952 (ifunc-test-modules, ifunc-pie-tests): Define.
43953 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43954 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43955 (test-extras): Likewise.
43956 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43957 $(compile-command.c).
43958 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43959 (all-built-dso): Define.
43960 (check-textrel.out, check-execstack.out): Depend on it.
43961
43962 * configure.in: Don't override --enable-multi-arch.
43963
43964 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43965
43966 [BZ #6812]
43967 * nscd/hstcache.c (tryagain): Define.
43968 (cache_addhst): Return tryagain not notfound for temporary errors.
43969 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43970 failed.
43971
43972 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43973
43974 [BZ #10563]
43975 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43976 to make the syscall.
43977 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43978
43979 [BZ #12378]
43980 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43981 and fall back to matching as normal character if the string ends before
43982 the matching ']' is found. This is what POSIX requires.
43983 * posix/testfnm.c: Adjust test result.
43984 * posix/globtest.sh: Adjust test result. Add new test.
43985 * posix/tst-fnmatch.input: Likewise.
43986 * posix/tst-fnmatch2.c: Add new test.
43987
43988 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43989
43990 * elf/Makefile (check-execstack): Revert last change. Depend on
43991 check-execstack.h.
43992 (check-execstack.h): New target.
43993 (generated): Add check-execstack.h.
43994 * elf/check-execstack.c: Include "check-execstack.h".
43995 (main): Revert last change.
43996 (handle_file): Return zero if GNU_STACK is absent and
43997 DEFAULT_STACK_PERMS doesn't include PF_X.
43998
43999 2011-01-13 Ulrich Drepper <drepper@gmail.com>
44000
44001 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44002 in child fails because the descriptor is already closed.
44003 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44004 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44005 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44006
44007 [BZ #12397]
44008 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44009 syscall.
44010
44011 [BZ #10484]
44012 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44013 temporary buffer used to handle multi lookups locally.
44014 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44015
44016 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44017
44018 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44019 loader is ld.so.
44020
44021 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44022
44023 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44024 alignment for SSE2.
44025
44026 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44027
44028 [BZ #12394]
44029 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44030 characters. When rounding increased number of integer digits recompute
44031 number of groups.
44032 * stdio-common/tst-grouping.c: New file.
44033 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44034
44035 2011-01-09 Ulrich Drepper <drepper@gmail.com>
44036
44037 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44038 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44039
44040 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44041 void.
44042 * bits/select.h: Likewise.
44043
44044 2011-01-08 Ulrich Drepper <drepper@gmail.com>
44045
44046 * po/ja.po: Update from translation team.
44047
44048 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
44049
44050 [BZ #11155]
44051 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44052 implementation just like for lxstat, fxstatat, et al.
44053
44054 2010-12-27 Jim Meyering <meyering@redhat.com>
44055
44056 [BZ #12348]
44057 * posix/regexec.c (build_trtable): Return failure indication upon
44058 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44059
44060 2010-12-25 Ulrich Drepper <drepper@gmail.com>
44061
44062 [BZ #12201]
44063 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44064 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44065 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44066 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44067
44068 [BZ #12207]
44069 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44070
44071 [BZ #12204]
44072 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44073 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44074
44075 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44076
44077 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44078 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44079 script has SORT_BY_INIT_PRIORITY.
44080 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44081 NO_CTORS_DTORS_SECTIONS is defined.
44082 * elf/soinit.c: Likewise.
44083 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44084 NO_CTORS_DTORS_SECTIONS is defined.
44085 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44086 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44087 * sysdeps/sh/init-first.c: Likewise.
44088 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44089
44090 2010-12-24 Ulrich Drepper <drepper@gmail.com>
44091
44092 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44093 always use the slow path.
44094
44095 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44096
44097 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44098 similar rule which adds the sysdep directories to the header search in
44099 order to pick up the correct platform stackinfo.h.
44100 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44101 perform test if it is, otherwise return successfully without testing.
44102 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44103 DEFAULT_STACK_PERMS define in stackinfo.h.
44104 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44105 defined in stackinfo.h.
44106 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44107 DEFAULT_STACK_PERMS defined in stackinfo.h.
44108 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44109 * sysdeps/ia64/stackinfo.h: Likewise.
44110 * sysdeps/s390/stackinfo.h: Likewise.
44111 * sysdeps/sh/stackinfo.h: Likewise.
44112 * sysdeps/sparc/stackinfo.h: Likewise.
44113 * sysdeps/x86_64/stackinfo.h: Likewise.
44114 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44115 PF_X for powerpc64. Retain PF_X for powerpc32.
44116
44117 2010-12-19 Ulrich Drepper <drepper@gmail.com>
44118
44119 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44120 accurately.
44121 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44122 GETDENTS_64BIT_ALIGNED.
44123
44124 2010-12-14 Ulrich Drepper <dreper@gmail.com>
44125
44126 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44127
44128 2010-12-10 Andreas Schwab <schwab@redhat.com>
44129
44130 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44131 _GNU_SOURCE.
44132
44133 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44134 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44135 Remove __restrict.
44136 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44137 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44138
44139 2010-12-09 Ulrich Drepper <drepper@gmail.com>
44140
44141 [BZ #11655]
44142 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44143 are initialized.
44144
44145 2010-12-09 Jakub Jelinek <jakub@redhat.com>
44146
44147 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44148
44149 2010-12-03 Ulrich Drepper <drepper@gmail.com>
44150
44151 * po/it.po: Update from translation team.
44152
44153 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44154
44155 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44156 unused codes.
44157
44158 2010-11-30 Ulrich Drepper <drepper@gmail.com>
44159
44160 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44161
44162 2010-11-24 Andreas Schwab <schwab@redhat.com>
44163
44164 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44165 specially.
44166 (gaih_getanswer_slice): Likewise.
44167
44168 2010-10-20 Jakub Jelinek <jakub@redhat.com>
44169
44170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44171
44172 2010-05-31 Petr Baudis <pasky@suse.cz>
44173
44174 [BZ #11149]
44175 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44176 silently even in the chroot mode.
44177
44178 2010-11-22 Ulrich Drepper <drepper@gmail.com>
44179
44180 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44181 last patch a bit. Pretty printing
44182
44183 2010-05-31 Petr Baudis <pasky@suse.cz>
44184
44185 [BZ #10085]
44186 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44187 initialization of skip_initgroups_dyn.
44188
44189 2010-11-19 Ulrich Drepper <drepper@gmail.com>
44190
44191 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44192 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44193
44194 2010-11-16 Ulrich Drepper <drepper@gmail.com>
44195
44196 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44197
44198 2010-11-11 Andreas Schwab <schwab@redhat.com>
44199
44200 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44201 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44202 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44203 ($(objpfx)tst-fnmatch-mem): New rule.
44204 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44205 * posix/tst-fnmatch.c (main): Call mtrace.
44206
44207 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44208
44209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44210 Support Intel processor model 6 and model 0x2c.
44211
44212 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
44213
44214 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44215 signed comparison.
44216
44217 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44218
44219 [BZ #12205]
44220 * string/test-strncasecmp.c (check_result): New function.
44221 (do_one_test): Use it.
44222 (check1): New function.
44223 (test_main): Use it.
44224 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44225 Support strcasecmp and strncasecmp.
44226
44227 2010-11-08 Ulrich Drepper <drepper@gmail.com>
44228
44229 [BZ #12194]
44230 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44231 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44232
44233 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44234
44235 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44236 IFUNC support.
44237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44238 memset-x86-64.
44239 * sysdeps/x86_64/multiarch/bzero.S: New file.
44240 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44241 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44242 * sysdeps/x86_64/multiarch/memset.S: New file.
44243 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44245 Set bit_Prefer_SSE_for_memop for Intel processors.
44246 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44247 Define.
44248 (index_Prefer_SSE_for_memop): Define.
44249 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44250
44251 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
44252
44253 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44254 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44255
44256 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44257
44258 [BZ #12191]
44259 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44260 (__x86_64_raw_data_cache_size_half): Likewise.
44261 (__x86_64_raw_shared_cache_size): Likewise.
44262 (__x86_64_raw_shared_cache_size_half): Likewise.
44263
44264 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44265 (__x86_64_raw_data_cache_size_half): Likewise.
44266 (__x86_64_raw_shared_cache_size): Likewise.
44267 (__x86_64_raw_shared_cache_size_half): Likewise.
44268 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44269 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44270 and __x86_64_raw_shared_cache_size_half. Round
44271 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44272 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44273 to multiple of 256 bytes.
44274
44275 2010-11-03 Ulrich Drepper <drepper@gmail.com>
44276
44277 [BZ #12167]
44278 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44279 of inacessible symlinks. Verify result of symlink before returning it.
44280 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44281 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44282
44283 2010-10-28 Erich Ritz <erichritz@gmail.com>
44284
44285 * math/math.h (isinf): Fix typo in comment.
44286
44287 2010-11-01 Ulrich Drepper <drepper@gmail.com>
44288
44289 * po/da.po: Update from translation team.
44290
44291 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44292
44293 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44294 is added to the list.
44295
44296 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44297 Ulrich Drepper <drepper@gmail.com>
44298
44299 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44300 the global list here. Move code to...
44301 (_dl_add_to_namespace_list): ...here. New function.
44302 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44303 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44304 * elf/dl-load.c (lose): Don't remove the element from the list.
44305 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44306 (_dl_map_object): Likewise.
44307
44308 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44309
44310 [BZ #12159]
44311 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44312 into all bytes of SSE register.
44313 Patch by Richard Li <richardpku@gmail.com>.
44314
44315 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44316
44317 [BZ #12140]
44318 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44319 perturbing.
44320
44321 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44322
44323 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44324 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44325 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44326 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44328 submachine.
44329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44330
44331 2010-10-22 Andreas Schwab <schwab@redhat.com>
44332
44333 * include/dlfcn.h (__RTLD_SECURE): Define.
44334 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44335 mode & __RTLD_SECURE instead.
44336 (open_path): Rename preloaded parameter to secure.
44337 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44338 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44339 * elf/dl-deps.c (openaux): Likewise.
44340 * elf/rtld.c (struct map_args): Remove is_preloaded.
44341 (map_doit): Don't use it.
44342 (dl_main): Likewise.
44343 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44344 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44345
44346 2010-09-09 Andreas Schwab <schwab@redhat.com>
44347
44348 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44349 (sysd-rules-targets): Remove duplicates.
44350 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44351 rtld-%.$o dependency.
44352
44353 2010-10-18 Andreas Schwab <schwab@redhat.com>
44354
44355 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44356 _dl_map_object do it.
44357
44358 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44359
44360 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44361 fast fma builtins, define the macros in the C99 standard.
44362 (FP_FAST_FMAF): Likewise.
44363 (FP_FAST_FMAL): Likewise.
44364 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44365
44366 * bits/mathdef.h: Update copyright year.
44367 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44368
44369 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44370
44371 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44372 builtins, define the macros in the C99 standard.
44373 (FP_FAST_FMAF): Likewise.
44374 (FP_FAST_FMAL): Likewise.
44375 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44376 multiply/add.
44377 (FP_FAST_FMAF): Likewise.
44378
44379 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44380
44381 [BZ #3268]
44382 * math/libm-test.inc (fma_test): Some new testcases.
44383 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44384 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44385 y and infinite z. Do multiplication by C already in long double.
44386 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44388 y and infinite z. Do bitwise or of inexact bit into u.d.
44389 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44390 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44391 * sysdeps/i386/fpu/s_fma.S: Removed.
44392 * sysdeps/i386/fpu/s_fmal.S: Removed.
44393
44394 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44395
44396 [BZ #3268]
44397 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44399 computation is not scheduled after fetestexcept. Fix value
44400 of minimum denormal long double.
44401
44402 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44403
44404 [BZ #3268]
44405 * math/libm-test.inc (fma_test): Add some more tests.
44406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44407 correctly.
44408
44409 2010-10-15 Andreas Schwab <schwab@redhat.com>
44410
44411 * scripts/data/localplt-s390-linux-gnu.data: New file.
44412 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44413
44414 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44415
44416 [BZ #3268]
44417 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44418 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44419 instead of dbl-64.
44420 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44421 inlines.
44422 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44424 if one of x and y is very large and the other is subnormal.
44425 * sysdeps/s390/fpu/s_fmaf.c: New file.
44426 * sysdeps/s390/fpu/s_fma.c: New file.
44427 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44428 * sysdeps/powerpc/fpu/s_fma.S: New file.
44429 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44430 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44431 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44432
44433 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44434
44435 [BZ #3268]
44436 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44437 fma tests.
44438 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44439 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44440 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44441 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44442 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44443 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44444 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44445
44446 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44447
44448 [BZ #12078]
44449 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44450 * posix/bug-regex31.input: Add test case.
44451
44452 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44453
44454 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44455 * posix/bug-regex31.input: New file.
44456
44457 [BZ #12078]
44458 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44459 (parse_sub_exp): Fix last change, use postorder.
44460
44461 * posix/bug-regex31.c: New file.
44462 * posix/Makefile: Add rules to build and run bug-regex31.
44463
44464 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44465
44466 [BZ #12078]
44467 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44468
44469 [BZ #12108]
44470 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44471 to have entries in sys_siglist.
44472
44473 [BZ #12093]
44474 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44475 be NULL.
44476
44477 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44478
44479 [BZ #3268]
44480 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44481 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44482 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44483 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44484 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44485 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44486 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44487 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44488 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44489 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44490 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44491 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44492 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44493 * math/ftestexcept.c (fetestexcept): Likewise.
44494 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44495 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44496 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44497 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44498 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44499 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44500 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44501
44502 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44503
44504 [BZ #12107]
44505 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44506 newline.
44507
44508 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44509
44510 * string/bug-strstr1.c: New file.
44511 * string/Makefile: Add rules to build and run bug-strstr1.
44512
44513 2010-10-05 Eric Blake <eblake@redhat.com>
44514
44515 [BZ #12092]
44516 * string/str-two-way.h (two_way_long_needle): Always clear memory
44517 when skipping input due to the shift table.
44518
44519 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44520
44521 [BZ #12005]
44522 * malloc/mcheck.c: Handle large requests.
44523
44524 [BZ #12077]
44525 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44526 for strncmp and strncasecmp.
44527 * string/stratcliff.c: Add tests for strcmp and strncmp.
44528 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44529
44530 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44531
44532 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44533 __set_fpscr.
44534
44535 2010-09-30 Andreas Jaeger <aj@suse.de>
44536
44537 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44538 (CGROUP_SUPER_MAGIC): Define.
44539 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44540 Handle btrfs and cgroup file systems.
44541 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44542 Likewise.
44543
44544 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44545
44546 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44547 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44548
44549 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44550
44551 [BZ #12067]
44552 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44553 trying to locate the ELF header.
44554
44555 2010-09-27 Andreas Schwab <schwab@redhat.com>
44556
44557 [BZ #11611]
44558 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44559 Mask out sign-bit copies when constructing f_fsid.
44560
44561 2010-09-24 Petr Baudis <pasky@suse.cz>
44562
44563 * debug/stack_chk_fail_local.c: Add missing licence exception.
44564 * debug/warning-nop.c: Likewise.
44565
44566 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44567
44568 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44569 implementing getdents64 using getdents syscall, set d_type if
44570 __ASSUME_GETDENTS32_D_TYPE.
44571
44572 2010-09-16 Andreas Schwab <schwab@redhat.com>
44573
44574 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44575 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44576
44577 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44578
44579 [BZ #12037]
44580 * posix/unistd.h: Undo change of feature selection for ftruncate from
44581 2010-01-11.
44582
44583 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44584
44585 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44586 detection.
44587
44588 2010-09-20 Andreas Schwab <schwab@redhat.com>
44589
44590 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44591 fanotify_mark.
44592 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44593
44594 2010-09-14 Andreas Schwab <schwab@redhat.com>
44595
44596 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44597 variables after CHECK_SP call.
44598 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44599
44600 2010-09-13 Andreas Schwab <schwab@redhat.com>
44601 Ulrich Drepper <drepper@redhat.com>
44602
44603 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44604 re-relocationg ld.so.
44605 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44606 _dl_init_paths call.
44607 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44608 here anymore.
44609
44610 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44611
44612 * resolv/res_init.c (__res_vinit): Count the default server we added.
44613
44614 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44615 Ulrich Drepper <drepper@redhat.com>
44616
44617 [BZ #11968]
44618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44619 (____longjmp_chk): Use %ebx for saving value across system call.
44620 Add unwind info.
44621
44622 2010-09-06 Andreas Schwab <schwab@redhat.com>
44623
44624 * manual/Makefile: Don't mix pattern rules with normal rules.
44625
44626 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44627
44628 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44629 operation.
44630 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44631 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44632 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44633 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44635 Likewise.
44636
44637 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44638
44639 [BZ #11979]
44640 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44641 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44642
44643 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44644
44645 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44646 * sysdeps/x86_64/addmul_1.S: Likewise.
44647 * sysdeps/x86_64/lshift.S: Likewise.
44648 * sysdeps/x86_64/mul_1.S: Likewise.
44649 * sysdeps/x86_64/rshift.S: Likewise.
44650 * sysdeps/x86_64/sub_n.S: Likewise.
44651 * sysdeps/x86_64/submul_1.S: Likewise.
44652
44653 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44654
44655 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44656 Define __sched_param instead of SCHED_* and sched_param when
44657 <bits/sched.h> is included with __need_schedparam defined.
44658 * bits/sched.h [__need_schedparam]
44659 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44660 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44661 (__defined_schedparam): Define to 1.
44662 (__sched_param): New structure, identical to sched_param.
44663 (__need_schedparam): Undefine.
44664
44665 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44666
44667 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44668 (epoll_create1): Declare.
44669
44670 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44671
44672 2010-08-31 Andreas Schwab <schwab@redhat.com>
44673
44674 [BZ #7066]
44675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44676 shifting retval into place.
44677
44678 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44679
44680 * nis/rpcsvc/nis.h: Update copyright notice.
44681 * nis/rpcsvc/nis.x: Likewise.
44682 * nis/rpcsvc/nis_callback.h: Likewise.
44683 * nis/rpcsvc/nis_callback.x: Likewise.
44684 * nis/rpcsvc/nis_object.x: Likewise.
44685 * nis/rpcsvc/nis_tags.h: Likewise.
44686 * nis/rpcsvc/yp.h: Likewise.
44687 * nis/rpcsvc/yp.x: Likewise.
44688 * nis/rpcsvc/ypupd.h: Likewise.
44689 * nis/yp_xdr.c: Likewise.
44690 * nis/ypupdate_xdr.c: Likewise.
44691
44692 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44693 mainly the body of pmap_getport. Add parameters to specify timeouts.
44694 (pmap_getport): Use __libc_rpc_getport.
44695 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44696 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44697 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44698
44699 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44700
44701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44702 fanotify_mark.
44703
44704 2010-08-27 Roland McGrath <roland@redhat.com>
44705
44706 * sysdeps/i386/i686/multiarch/Makefile
44707 (CFLAGS-varshift.c): New variable.
44708
44709 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44710
44711 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44712 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44713
44714 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44715
44716 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44717
44718 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44719
44720 * sysdeps/x86_64/strlen.S: Unroll the loop.
44721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44722 strlen-sse2 strlen-sse2-bsf.
44723 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44724 __strlen_no_bsf if bit_Slow_BSF is set.
44725 (__strlen_sse42): Removed.
44726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44727 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44728
44729 2010-08-25 Roland McGrath <roland@redhat.com>
44730
44731 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44732 * sysdeps/x86_64/multiarch/varshift.c: New file.
44733 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44734 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44735 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44736 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44737
44738 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44739
44740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44741 strlen-sse2 strlen-sse2-bsf.
44742 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44743 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44744 (__strlen_sse2): Removed.
44745 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44746 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44748 bit_Slow_BSF for Atom.
44749 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44750 (index_Slow_BSF): Define.
44751 (HAS_SLOW_BSF): Define.
44752
44753 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44754
44755 [BZ #10851]
44756 * resolv/res_init.c (__res_vinit): When no server address at all
44757 is given default to loopback.
44758
44759 2010-08-24 Roland McGrath <roland@redhat.com>
44760
44761 * configure.in: Remove config-name.h generation.
44762 * configure: Regenerated.
44763 * config-name.in: File removed.
44764 * scripts/config-uname.sh: New file.
44765 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44766 ($(objdir)config-name.h): New target.
44767
44768 * sunrpc/rpc_parse.h: Avoid nested comment.
44769
44770 2010-08-24 Richard Henderson <rth@redhat.com>
44771 Ulrich Drepper <drepper@redhat.com>
44772 H.J. Lu <hongjiu.lu@intel.com>
44773
44774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44776 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44777 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44778 _mm_alignr_epi8 with _mm_loadu_si128.
44779 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44780 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44781 (__m128i_shift_right): Removed.
44782 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44783 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44784 * sysdeps/x86_64/multiarch/varshift.h: New file.
44785 * sysdeps/x86_64/multiarch/varshift.S: New file.
44786
44787 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44788
44789 * configure.in: Move assembler checks to before sysdep dir checking.
44790
44791 2010-08-20 Petr Baudis <pasky@suse.cz>
44792
44793 * LICENSES: Sync the sunrpc license.
44794
44795 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44796
44797 * sunrpc/auth_des.c: Update copyright notice once again.
44798 * sunrpc/auth_none.c: Likewise.
44799 * sunrpc/auth_unix.c: Likewise.
44800 * sunrpc/authdes_prot.c: Likewise.
44801 * sunrpc/authuxprot.c: Likewise.
44802 * sunrpc/bindrsvprt.c: Likewise.
44803 * sunrpc/clnt_gen.c: Likewise.
44804 * sunrpc/clnt_perr.c: Likewise.
44805 * sunrpc/clnt_raw.c: Likewise.
44806 * sunrpc/clnt_simp.c: Likewise.
44807 * sunrpc/clnt_tcp.c: Likewise.
44808 * sunrpc/clnt_udp.c: Likewise.
44809 * sunrpc/clnt_unix.c: Likewise.
44810 * sunrpc/des_crypt.c: Likewise.
44811 * sunrpc/des_soft.c: Likewise.
44812 * sunrpc/get_myaddr.c: Likewise.
44813 * sunrpc/getrpcport.c: Likewise.
44814 * sunrpc/key_call.c: Likewise.
44815 * sunrpc/key_prot.c: Likewise.
44816 * sunrpc/openchild.c: Likewise.
44817 * sunrpc/pm_getmaps.c: Likewise.
44818 * sunrpc/pm_getport.c: Likewise.
44819 * sunrpc/pmap_clnt.c: Likewise.
44820 * sunrpc/pmap_prot.c: Likewise.
44821 * sunrpc/pmap_prot2.c: Likewise.
44822 * sunrpc/pmap_rmt.c: Likewise.
44823 * sunrpc/rpc/auth.h: Likewise.
44824 * sunrpc/rpc/auth_unix.h: Likewise.
44825 * sunrpc/rpc/clnt.h: Likewise.
44826 * sunrpc/rpc/des_crypt.h: Likewise.
44827 * sunrpc/rpc/key_prot.h: Likewise.
44828 * sunrpc/rpc/netdb.h: Likewise.
44829 * sunrpc/rpc/pmap_clnt.h: Likewise.
44830 * sunrpc/rpc/pmap_prot.h: Likewise.
44831 * sunrpc/rpc/pmap_rmt.h: Likewise.
44832 * sunrpc/rpc/rpc.h: Likewise.
44833 * sunrpc/rpc/rpc_des.h: Likewise.
44834 * sunrpc/rpc/rpc_msg.h: Likewise.
44835 * sunrpc/rpc/svc.h: Likewise.
44836 * sunrpc/rpc/svc_auth.h: Likewise.
44837 * sunrpc/rpc/types.h: Likewise.
44838 * sunrpc/rpc/xdr.h: Likewise.
44839 * sunrpc/rpc_clntout.c: Likewise.
44840 * sunrpc/rpc_cmsg.c: Likewise.
44841 * sunrpc/rpc_common.c: Likewise.
44842 * sunrpc/rpc_cout.c: Likewise.
44843 * sunrpc/rpc_dtable.c: Likewise.
44844 * sunrpc/rpc_hout.c: Likewise.
44845 * sunrpc/rpc_main.c: Likewise.
44846 * sunrpc/rpc_parse.c: Likewise.
44847 * sunrpc/rpc_parse.h: Likewise.
44848 * sunrpc/rpc_prot.c: Likewise.
44849 * sunrpc/rpc_sample.c: Likewise.
44850 * sunrpc/rpc_scan.c: Likewise.
44851 * sunrpc/rpc_scan.h: Likewise.
44852 * sunrpc/rpc_svcout.c: Likewise.
44853 * sunrpc/rpc_tblout.c: Likewise.
44854 * sunrpc/rpc_util.c: Likewise.
44855 * sunrpc/rpc_util.h: Likewise.
44856 * sunrpc/rpcinfo.c: Likewise.
44857 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44858 * sunrpc/rpcsvc/key_prot.x: Likewise.
44859 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44860 * sunrpc/rpcsvc/mount.x: Likewise.
44861 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44862 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44863 * sunrpc/rpcsvc/rex.x: Likewise.
44864 * sunrpc/rpcsvc/rstat.x: Likewise.
44865 * sunrpc/rpcsvc/rusers.x: Likewise.
44866 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44867 * sunrpc/rpcsvc/spray.x: Likewise.
44868 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44869 * sunrpc/rtime.c: Likewise.
44870 * sunrpc/svc.c: Likewise.
44871 * sunrpc/svc_auth.c: Likewise.
44872 * sunrpc/svc_authux.c: Likewise.
44873 * sunrpc/svc_raw.c: Likewise.
44874 * sunrpc/svc_run.c: Likewise.
44875 * sunrpc/svc_simple.c: Likewise.
44876 * sunrpc/svc_tcp.c: Likewise.
44877 * sunrpc/svc_udp.c: Likewise.
44878 * sunrpc/svc_unix.c: Likewise.
44879 * sunrpc/svcauth_des.c: Likewise.
44880 * sunrpc/xcrypt.c: Likewise.
44881 * sunrpc/xdr.c: Likewise.
44882 * sunrpc/xdr_array.c: Likewise.
44883 * sunrpc/xdr_float.c: Likewise.
44884 * sunrpc/xdr_mem.c: Likewise.
44885 * sunrpc/xdr_rec.c: Likewise.
44886 * sunrpc/xdr_ref.c: Likewise.
44887 * sunrpc/xdr_sizeof.c: Likewise.
44888 * sunrpc/xdr_stdio.c: Likewise.
44889
44890 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44891 handling.
44892
44893 2010-08-19 Andreas Schwab <schwab@redhat.com>
44894
44895 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44896
44897 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44898
44899 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44900 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44901 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44902 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44903 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44904 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44905 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44906 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44907 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44908 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44909 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44910 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44911 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44912 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44913
44914 2010-07-26 Anton Blanchard <anton@samba.org>
44915
44916 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44917 * malloc/arena.c (heap_trim): Likewise.
44918
44919 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44920
44921 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44922 here. Not...
44923 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44924 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44925
44926 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44927
44928 * sysdeps/i386/elf/Makefile: New file.
44929
44930 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44931
44932 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44933 from fanotify_init.
44934 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44936
44937 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44938
44939 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44940 of strncasecmp_l.
44941 * sysdeps/multiarch/strcmp.S: Likewise.
44942
44943 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44944
44945 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44946 strncase_l-nonascii.
44947 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44948 Add strncase_l-ssse3.
44949 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44950 * sysdeps/x86_64/strcmp.S: Likewise.
44951 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44952 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44953 * sysdeps/x86_64/strncase.S: New file.
44954 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44955 * sysdeps/x86_64/strncase_l.S: New file.
44956 * string/Makefile (strop-tests): Add strncasecmp.
44957 * string/test-strncasecmp.c: New file.
44958
44959 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44960 warning.
44961
44962 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44963 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44964
44965 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44966
44967 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44968
44969 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44970
44971 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44972 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44973 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44974
44975 2010-05-01 Alan Modra <amodra@gmail.com>
44976
44977 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44978 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44979 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44980 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44981 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44982 tidying. Don't tail-call __sigjmp_save for static lib.
44983 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44984 save location.
44985 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44986 (CALL_MCOUNT): Add eh info, and nop after bl.
44987 (TAIL_CALL_SYSCALL_ERROR): New macro.
44988 (PSEUDO_RET): Use it.
44989 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44990 Correct save location of integer regs and cr.
44991 (_dl_profile_resolve): Correct cr save location. Delete nops
44992 after bl when SHARED. Reduce cfi size a little by better
44993 placement of cfi directives.
44994 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44995 make a stack frame. Instead use parm save area as a temp.
44996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44997 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44999 Don't make a stack frame for parent, use parm save area.
45000 Increase child stack frame to 112 bytes. Don't save unused reg,
45001 and adjust reg usage. Set up cfi on error recovery and
45002 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45004 (__makecontext): Add dummy nop after jump to exit.
45005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45006 Use correct parm save area and cr save, reduce stack frame.
45007 Correct cfi for possible PSEUDO_RET frame setup.
45008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45009 Branch to local label emitted by PSEUDO_RET rather than
45010 __syscall_error.
45011
45012 2010-08-12 Andreas Schwab <schwab@redhat.com>
45013
45014 [BZ #11904]
45015 * locale/programs/locale.c (print_assignment): New function.
45016 (show_locale_vars): Use it.
45017
45018 2010-08-11 Ulrich Drepper <drepper@redhat.com>
45019
45020 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45021 field.
45022 (struct statfs64): Likewise.
45023 (_STATFS_F_FLAGS): Define.
45024 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45025 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45026 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45027 (ST_VALID): Define locally.
45028 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45029 __statvfs_getflags, use the provided value.
45030 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45031 __ASSUME_STATFS_F_FLAGS.
45032
45033 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45034
45035 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45036 Add sys/fanotify.h.
45037 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45038 fanotify_mask for GLIBC_2.13.
45039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45040 fanotify_init and fanotify_mark.
45041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45042 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45043
45044 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45045 Add prlimit.
45046 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45047 prlimit64 for GLIBC_2.13.
45048 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45049 prlimit64.
45050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45051 syscall.
45052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45053 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45054 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45055 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45057 add prlimit alias.
45058 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45059
45060 [BZ #11903]
45061 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45062 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45063
45064 * nss/Makefile: Add rules to build and run tst-nss-test1.
45065 * shlib-versions: Add entry for libnss_test1.
45066 * nss/nss_test1.c: New file.
45067 * nss/tst-nss-test1.c: New file.
45068
45069 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45070 (__nss_configure_lookup): Set appropriate entry in
45071 __nss_configure_lookup to true.
45072 * nss/nsswitch.h: Define enum with indeces of databases in
45073 databases and __nss_database_custom arrays. Declare
45074 __nss_database_custom.
45075 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45076 to avoid using nscd when custom rules are installed.
45077 * nss/getXXbyYY_r.c: Likewise.
45078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45079
45080 * nss/nss_files/files-parse.c: Whitespace fixes.
45081
45082 2010-08-09 Ulrich Drepper <drepper@redhat.com>
45083
45084 [BZ #11883]
45085 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45086 * posix/fnmatch_loop.c: Likewise.
45087
45088 2010-07-17 Andi Kleen <ak@linux.intel.com>
45089
45090 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45091 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45092 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45093 * Versions.def [GLIBC_2.13]: Add.
45094
45095 2010-08-06 Ulrich Drepper <drepper@redhat.com>
45096
45097 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45098 Also fail if tpwd after pwuid call is NULL.
45099
45100 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45101
45102 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45103 when converting to ms.
45104
45105 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45106
45107 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45108 EOPNOTSUPP errors with ENOTTY.
45109 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45110 EOPNOTSUPP errors with ENOTTY.
45111
45112 2010-07-31 Ulrich Drepper <drepper@redhat.com>
45113
45114 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45115 Add strcasecmp_l-ssse3.
45116 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45117 strcasecmp.
45118 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45119 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45120 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45121
45122 2010-07-30 Ulrich Drepper <drepper@redhat.com>
45123
45124 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45125
45126 * string/Makefile (strop-tests): Add strcasecmp.
45127 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45128 strcasecmp_l-nonascii.
45129 (gen-as-const-headers): Add locale-defines.sym.
45130 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45131 * sysdeps/x86_64/strcasecmp.S: New file.
45132 * sysdeps/x86_64/strcasecmp_l.S: New file.
45133 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45134 * sysdeps/x86_64/locale-defines.sym: New file.
45135 * string/test-strcasecmp.c: New file.
45136
45137 * string/test-strcasestr.c: Test both ends of the range of characters.
45138 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45139
45140 2010-07-29 Roland McGrath <roland@redhat.com>
45141
45142 [BZ #11856]
45143 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45144
45145 2010-07-27 Ulrich Drepper <drepper@redhat.com>
45146
45147 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45148 for ld.so.
45149
45150 2010-07-27 Andreas Schwab <schwab@redhat.com>
45151
45152 * manual/memory.texi (Malloc Tunable Parameters): Document
45153 M_PERTURB.
45154
45155 2010-07-26 Roland McGrath <roland@redhat.com>
45156
45157 [BZ #11840]
45158 * configure.in (-fgnu89-inline check): Set and substitute
45159 gnu89_inline, not libc_cv_gnu89_inline.
45160 * configure: Regenerated.
45161 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45162
45163 2010-07-26 Ulrich Drepper <drepper@redhat.com>
45164
45165 * string/test-strnlen.c: New file.
45166 * string/Makefile (strop-tests): Add strnlen.
45167 * string/tester.c (test_strnlen): Add a few more test cases.
45168 * string/tst-strlen.c: Better error reporting.
45169
45170 * sysdeps/x86_64/strnlen.S: New file.
45171
45172 2010-07-24 Ulrich Drepper <drepper@redhat.com>
45173
45174 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45175 lower-latency instructions.
45176
45177 2010-07-23 Ulrich Drepper <drepper@redhat.com>
45178
45179 * string/test-strcasestr.c: New file.
45180 * string/test-strstr.c: New file.
45181 * string/Makefile (strop-tests): Add strstr and strcasestr.
45182 * string/str-two-way.h: Don't undefine MAX.
45183 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45184
45185 2010-07-21 Andreas Schwab <schwab@redhat.com>
45186
45187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45188 strcasestr-nonascii.
45189 (CFLAGS-strcasestr-nonascii.c): Define.
45190 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45191 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45192 Remove unused attribute.
45193
45194 2010-07-20 Roland McGrath <roland@redhat.com>
45195
45196 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45197 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45198 ld.so.cache was broken. With it, there is no way to disable dsocaps
45199 like LD_HWCAP_MASK can disable hwcaps.
45200
45201 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45202
45203 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45204
45205 2010-07-16 Ulrich Drepper <drepper@redhat.com>
45206
45207 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45208 call in strcasestr.
45209 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45210 __strcasestr_sse42_nonascii.
45211 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45212 strcasestr-nonascii.c.
45213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45214
45215 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
45216
45217 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45218 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45219 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45220 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45221
45222 2010-07-09 Ulrich Drepper <drepper@redhat.com>
45223
45224 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45225 fcntl.
45226
45227 2010-07-06 Andreas Schwab <schwab@redhat.com>
45228
45229 [BZ #11577]
45230 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45231 dl_signal_cerror.
45232
45233 2010-07-06 Ulrich Drepper <drepper@redhat.com>
45234
45235 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45236 _PC_PIPE_BUF using F_GETPIPE_SZ.
45237
45238 2010-07-05 Roland McGrath <roland@redhat.com>
45239
45240 * manual/arith.texi (Rounding Functions): Fix rint description
45241 implicit in round description.
45242
45243 2010-07-02 Ulrich Drepper <drepper@redhat.com>
45244
45245 * elf/Makefile: Fix linking for a few tests to make recent linker
45246 happy.
45247
45248 2010-06-30 Andreas Schwab <schwab@redhat.com>
45249
45250 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45251 $(common-objpfx)libc_nonshared.a.
45252
45253 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
45254
45255 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45256 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45257 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45258 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45259 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45260 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45261 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45262 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45277 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45278 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45279 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45280 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45281 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45282 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45283 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45284 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45285 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45286 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45287 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45288 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45303
45304 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45305
45306 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45307 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45308 * string/memmove.c (memmove): Renamed to ...
45309 (MEMMOVE): ...this. Default to memmove.
45310 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45311 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45312 (END_CHK): Define.
45313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45314 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45315 mempcpy-ssse3-back memmove-ssse3-back.
45316 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45317 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45319 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45320 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45321 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45322 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45323 * sysdeps/x86_64/multiarch/memmove.c: New file.
45324 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45325 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45326 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45327 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45328 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45329 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45330 Define.
45331 (index_Fast_Copy_Backward): Define.
45332 (HAS_ARCH_FEATURE): Define.
45333 (HAS_FAST_REP_STRING): Define.
45334 (HAS_FAST_COPY_BACKWARD): Define.
45335
45336 2010-06-21 Andreas Schwab <schwab@redhat.com>
45337
45338 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45339 Restore proper fallback handling.
45340
45341 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45342
45343 [BZ #11701]
45344 * posix/group_member.c (__group_member): Correct checking loop.
45345
45346 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45347 OOM in getpwuid_r correctly. Return error number when the caller
45348 should return, otherwise -1.
45349 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45350 call returning > 0 value.
45351 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45352
45353 2010-06-07 Andreas Schwab <schwab@redhat.com>
45354
45355 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45356 libc_nonshared.a from targets in modules-names.
45357
45358 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45359
45360 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45361 requires it.
45362
45363 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45364
45365 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45366 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45368 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45369
45370 2010-06-02 Andreas Schwab <schwab@redhat.com>
45371
45372 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45373
45374 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45375
45376 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45377 and F_GETPIPE_SZ.
45378 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45379 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45382 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45383 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45384
45385 2010-06-14 Roland McGrath <roland@redhat.com>
45386
45387 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45388
45389 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45390
45391 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45392 __REDIRECT followed by __THROW.
45393 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45394 * posix/getopt.h (getopt): Likewise.
45395
45396 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45397
45398 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45399 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45400 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45401 in AT_FLAGS.
45402 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45403 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45404
45405 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45406
45407 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45408
45409 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45410
45411 [BZ #11640]
45412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45413 Properly check family and model.
45414
45415 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45416
45417 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45418
45419 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45420
45421 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45422
45423 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45424
45425 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45426 symbol reference.
45427
45428 2010-05-19 Andreas Schwab <schwab@redhat.com>
45429
45430 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45431 symbol reference.
45432
45433 2010-05-21 Andreas Schwab <schwab@redhat.com>
45434
45435 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45436 and internal_recvmmsg.
45437 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45438 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45439 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45440 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45441
45442 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45443 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45444 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45445
45446 2010-05-20 Andreas Schwab <schwab@redhat.com>
45447
45448 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45449
45450 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45451
45452 POWER7 optimizations.
45453 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45454 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45455
45456 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45457
45458 * version.h: Update for 2.13 development version.
45459
45460 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45461
45462 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45463 exceptions. Return 0.
45464
45465 2010-05-07 Roland McGrath <roland@redhat.com>
45466
45467 * elf/ldconfig.c (main): Add a const.
45468
45469 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45470
45471 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45472 (args_options): Add no-idn option.
45473 (ahosts_keys_int): Add idn_flags to ai_flags.
45474 (parse_option): Handle 'i' option to clear idn_flags.
45475
45476 * malloc/malloc.c (_int_free): Possible race in the most recently
45477 added check. Only act on the data if no current modification
45478 happened.
45479
45480 See ChangeLog.17 for earlier changes.